diff --git a/linter_exclusions.yml b/linter_exclusions.yml index c27e802c1ae..38a628db181 100644 --- a/linter_exclusions.yml +++ b/linter_exclusions.yml @@ -2009,6 +2009,9 @@ iot dps linked-hub create: apply_allocation_policy: rule_exclusions: - option_length_too_long + hub_resource_group: + rule_exclusions: + - parameter_should_not_end_in_resource_group iot dps linked-hub update: parameters: apply_allocation_policy: @@ -2029,6 +2032,11 @@ iot hub policy list: iot hub route list: rule_exclusions: - no_ids_for_list_commands +iot hub routing-endpoint create: + parameters: + endpoint_resource_group: + rule_exclusions: + - parameter_should_not_end_in_resource_group iot hub routing-endpoint list: rule_exclusions: - no_ids_for_list_commands 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 30567bc95f2..b855b582ba8 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -64,6 +64,7 @@ class ResourceType(Enum): # pylint: disable=too-few-public-methods MGMT_APPSERVICE = ('azure.mgmt.web', 'WebSiteManagementClient') MGMT_IOTCENTRAL = ('azure.mgmt.iotcentral', 'IotCentralClient') MGMT_IOTHUB = ('azure.mgmt.iothub', 'IotHubClient') + MGMT_IOTDPS = ('azure.mgmt.iothubprovisioningservices', 'IotDpsClient') MGMT_ARO = ('azure.mgmt.redhatopenshift', 'AzureRedHatOpenShift4Client') MGMT_DATABOXEDGE = ('azure.mgmt.databoxedge', 'DataBoxEdgeManagementClient') MGMT_CUSTOMLOCATION = ('azure.mgmt.extendedlocation', 'CustomLocations') @@ -227,6 +228,7 @@ def default_api_version(self): }), ResourceType.MGMT_APPSERVICE: '2020-09-01', ResourceType.MGMT_IOTHUB: '2021-07-01', + ResourceType.MGMT_IOTDPS: '2020-03-01', ResourceType.MGMT_IOTCENTRAL: '2018-09-01', ResourceType.MGMT_ARO: '2020-04-30', ResourceType.MGMT_DATABOXEDGE: '2021-02-01-preview', diff --git a/src/azure-cli/azure/cli/command_modules/iot/_client_factory.py b/src/azure-cli/azure/cli/command_modules/iot/_client_factory.py index acc58f15242..501c683b7dc 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/_client_factory.py +++ b/src/azure-cli/azure/cli/command_modules/iot/_client_factory.py @@ -18,8 +18,8 @@ def resource_service_factory(cli_ctx, **_): def iot_service_provisioning_factory(cli_ctx, *_): from azure.cli.core.commands.client_factory import get_mgmt_service_client - from azure.mgmt.iothubprovisioningservices import IotDpsClient - return get_mgmt_service_client(cli_ctx, IotDpsClient) + from azure.cli.core.profiles import ResourceType + return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_IOTDPS) def iot_central_service_factory(cli_ctx, *_): 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 a047de27115..de5600ddfc6 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/_help.py +++ b/src/azure-cli/azure/cli/command_modules/iot/_help.py @@ -20,83 +20,133 @@ helps['iot dps access-policy'] = """ type: group -short-summary: Manage Azure IoT Hub Device Provisioning Service access policies. +short-summary: Manage shared access policies for an Azure IoT Hub Device Provisioning Service instance. """ helps['iot dps access-policy create'] = """ type: command -short-summary: Create a new shared access policy in an Azure IoT Hub device provisioning service. +short-summary: Create a new shared access policy in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Create a new shared access policy in an Azure IoT Hub device provisioning service with EnrollmentRead right + - name: Create a new shared access policy in an Azure IoT Hub Device Provisioning Service instance with EnrollmentRead right text: > az iot dps access-policy create --dps-name MyDps --resource-group MyResourceGroup --name MyPolicy --rights EnrollmentRead """ helps['iot dps access-policy delete'] = """ type: command -short-summary: Delete a shared access policies in an Azure IoT Hub device provisioning service. +short-summary: Delete a shared access policies in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Delete shared access policy 'MyPolicy' in an Azure IoT Hub device provisioning service + - name: Delete shared access policy 'MyPolicy' in the Azure IoT Hub Device Provisioning Service instance 'MyDps' text: > az iot dps access-policy delete --dps-name MyDps --resource-group MyResourceGroup --name MyPolicy """ helps['iot dps access-policy list'] = """ type: command -short-summary: List all shared access policies in an Azure IoT Hub device provisioning service. +short-summary: List all shared access policies in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: List all shared access policies in MyDps + - name: List all shared access policies in the Azure IoT Hub Device Provisioning Service instance 'MyDps' text: > az iot dps access-policy list --dps-name MyDps --resource-group MyResourceGroup """ helps['iot dps access-policy show'] = """ type: command -short-summary: Show details of a shared access policies in an Azure IoT Hub device provisioning service. +short-summary: Show details of a shared access policies in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Show details of shared access policy 'MyPolicy' in an Azure IoT Hub device provisioning service + - name: Show details of shared access policy 'MyPolicy' in the Azure IoT Hub Device Provisioning Service instance 'MyDps' text: > az iot dps access-policy show --dps-name MyDps --resource-group MyResourceGroup --name MyPolicy """ helps['iot dps access-policy update'] = """ type: command -short-summary: Update a shared access policy in an Azure IoT Hub device provisioning service. +short-summary: Update a shared access policy in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Update access policy 'MyPolicy' in an Azure IoT Hub device provisioning service with EnrollmentWrite right + - name: Update shared access policy 'MyPolicy' in an Azure IoT Hub Device Provisioning Service instance with EnrollmentWrite right text: > az iot dps access-policy update --dps-name MyDps --resource-group MyResourceGroup --name MyPolicy --rights EnrollmentWrite """ +helps['iot dps policy'] = """ +type: group +short-summary: Manage shared access policies for an Azure IoT Hub Device Provisioning Service instance. +""" + +helps['iot dps policy create'] = """ +type: command +short-summary: Create a new shared access policy in an Azure IoT Hub Device Provisioning Service instance. +examples: + - name: Create a new shared access policy in an Azure IoT Hub Device Provisioning Service instance with EnrollmentRead right + text: > + az iot dps policy create --dps-name MyDps --resource-group MyResourceGroup --policy-name MyPolicy --rights EnrollmentRead +""" + +helps['iot dps policy delete'] = """ +type: command +short-summary: Delete a shared access policies in an Azure IoT Hub Device Provisioning Service instance. +examples: + - name: Delete shared access policy 'MyPolicy' in the Azure IoT Hub Device Provisioning Service instance 'MyDps' + text: > + az iot dps policy delete --dps-name MyDps --resource-group MyResourceGroup --policy-name MyPolicy +""" + +helps['iot dps policy list'] = """ +type: command +short-summary: List all shared access policies in an Azure IoT Hub Device Provisioning Service instance. +examples: + - name: List all shared access policies in MyDps in the Azure IoT Hub Device Provisioning Service instance 'MyDps' + text: > + az iot dps policy list --dps-name MyDps --resource-group MyResourceGroup +""" + +helps['iot dps policy show'] = """ +type: command +short-summary: Show details of a shared access policies in an Azure IoT Hub Device Provisioning Service instance. +examples: + - name: Show details of shared access policy 'MyPolicy' in the Azure IoT Hub Device Provisioning Service instance 'MyDps' + text: > + az iot dps policy show --dps-name MyDps --resource-group MyResourceGroup --policy-name MyPolicy +""" + +helps['iot dps policy update'] = """ +type: command +short-summary: Update a shared access policy in an Azure IoT Hub Device Provisioning Service instance. +examples: + - name: Update shared access policy 'MyPolicy' in an Azure IoT Hub Device Provisioning Service instance with EnrollmentWrite right + text: > + az iot dps policy update --dps-name MyDps --resource-group MyResourceGroup --policy-name MyPolicy --rights EnrollmentWrite +""" + helps['iot dps certificate'] = """ type: group -short-summary: Manage Azure IoT Hub Device Provisioning Service certificates. +short-summary: Manage certificates for an Azure IoT Hub Device Provisioning Service instance. """ helps['iot dps certificate create'] = """ type: command -short-summary: Create/upload an Azure IoT Hub Device Provisioning Service certificate. +short-summary: Create/upload a certficate to an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Upload a CA certificate PEM file to an Azure IoT Hub device provisioning service. + - name: Upload a CA certificate PEM file to an Azure IoT Hub Device Provisioning Service instance. text: > az iot dps certificate create --dps-name MyDps --resource-group MyResourceGroup --name MyCertificate --path /certificates/Certificate.pem - - name: Upload a verified CA certificate CER file to an Azure IoT Hub device provisioning service. + - name: Upload a verified CA certificate CER file to an Azure IoT Hub Device Provisioning Service.instance text: > az iot dps certificate create --dps-name MyDps --resource-group MyResourceGroup --name MyCertificate --path /certificates/Certificate.cer --verified """ helps['iot dps certificate delete'] = """ type: command -short-summary: Delete an Azure IoT Hub Device Provisioning Service certificate. +short-summary: Delete a certificate in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Delete MyCertificate in an Azure IoT Hub device provisioning service + - name: Delete MyCertificate in an Azure IoT Hub Device Provisioning Service instance text: > az iot dps certificate delete --dps-name MyDps --resource-group MyResourceGroup --name MyCertificate --etag AAAAAAAAAAA= """ helps['iot dps certificate generate-verification-code'] = """ type: command -short-summary: Generate a verification code for an Azure IoT Hub Device Provisioning Service certificate. +short-summary: Generate a verification code for a certificate in an Azure IoT Hub Device Provisioning Service instance. long-summary: This verification code is used to complete the proof of possession step for a certificate. Use this verification code as the CN of a new certificate signed with the root certificates private key. examples: - name: Generate a verification code for MyCertificate @@ -106,7 +156,7 @@ helps['iot dps certificate list'] = """ type: command -short-summary: List all certificates contained within an Azure IoT Hub device provisioning service +short-summary: List all certificates contained within an Azure IoT Hub Device Provisioning Service instance examples: - name: List all certificates in MyDps text: > @@ -115,9 +165,9 @@ helps['iot dps certificate show'] = """ type: command -short-summary: Show information about a particular Azure IoT Hub Device Provisioning Service certificate. +short-summary: Show information about a particular certificate in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Show details about MyCertificate in an Azure IoT Hub device provisioning service + - name: Show details about MyCertificate in an Azure IoT Hub Device Provisioning Service instance text: > az iot dps certificate show --dps-name MyDps --resource-group MyResourceGroup --name MyCertificate - name: Show information about a particular Azure IoT Hub Device Provisioning Service certificate. (autogenerated) @@ -127,20 +177,20 @@ helps['iot dps certificate update'] = """ type: command -short-summary: Update an Azure IoT Hub Device Provisioning Service certificate. +short-summary: Update a certificate in an Azure IoT Hub Device Provisioning Service instance. long-summary: Upload a new certificate to replace the existing certificate with the same name. examples: - - name: Update a CA certificate in an Azure IoT Hub device provisioning service by uploading a new PEM file. + - name: Update a CA certificate in an Azure IoT Hub Device Provisioning Service by uploading a new PEM file. text: > az iot dps certificate update --dps-name MyDps --resource-group MyResourceGroup --name MyCertificate --path /certificates/NewCertificate.pem --etag AAAAAAAAAAA= - - name: Update a CA certificate in an Azure IoT Hub device provisioning service by uploading a new CER file. + - name: Update a CA certificate in an Azure IoT Hub Device Provisioning Service by uploading a new CER file. text: > az iot dps certificate update --dps-name MyDps --resource-group MyResourceGroup --name MyCertificate --path /certificates/NewCertificate.cer --etag AAAAAAAAAAA= """ helps['iot dps certificate verify'] = """ type: command -short-summary: Verify an Azure IoT Hub Device Provisioning Service certificate. +short-summary: Verify a certificate in an Azure IoT Hub Device Provisioning Service instance. long-summary: Verify a certificate by uploading a verification certificate containing the verification code obtained by calling generate-verification-code. This is the last step in the proof of possession process. examples: - name: Verify ownership of the MyCertificate private key. @@ -150,55 +200,55 @@ helps['iot dps create'] = """ type: command -short-summary: Create an Azure IoT Hub device provisioning service. +short-summary: Create an Azure IoT Hub Device Provisioning Service instance. long-summary: For an introduction to Azure IoT Hub Device Provisioning Service, see https://docs.microsoft.com/azure/iot-dps/about-iot-dps examples: - - name: Create an Azure IoT Hub device provisioning service with the standard pricing tier S1, in the region of the resource group. + - name: Create an Azure IoT Hub Device Provisioning Service with the standard pricing tier S1, in the region of the resource group. text: > az iot dps create --name MyDps --resource-group MyResourceGroup - - name: Create an Azure IoT Hub device provisioning service with the standard pricing tier S1, in the 'eastus' region. + - name: Create an Azure IoT Hub Device Provisioning Service with the standard pricing tier S1, in the 'eastus' region. text: > az iot dps create --name MyDps --resource-group MyResourceGroup --location eastus """ helps['iot dps delete'] = """ type: command -short-summary: Delete an Azure IoT Hub device provisioning service. +short-summary: Delete an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Delete an Azure IoT Hub device provisioning service 'MyDps' + - name: Delete an Azure IoT Hub Device Provisioning Service 'MyDps' text: > az iot dps delete --name MyDps --resource-group MyResourceGroup """ helps['iot dps linked-hub'] = """ type: group -short-summary: Manage Azure IoT Hub Device Provisioning Service linked IoT hubs. +short-summary: Manage linked IoT Hubs in an Azure IoT Hub Device Provisioning Service instance. """ helps['iot dps linked-hub create'] = """ type: command -short-summary: Create a linked IoT hub in an Azure IoT Hub device provisioning service. +short-summary: Create a linked IoT hub in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Create a linked IoT hub in an Azure IoT Hub device provisioning service + - name: Create a linked IoT hub in an Azure IoT Hub Device Provisioning Service instance text: > az iot dps linked-hub create --dps-name MyDps --resource-group MyResourceGroup --connection-string HostName=test.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=XNBhoasdfhqRlgGnasdfhivtshcwh4bJwe7c0RIGuWsirW0= --location westus - - name: Create a linked IoT hub in an Azure IoT Hub device provisioning service which applies allocation weight and weight being 10 + - name: Create a linked IoT hub in an Azure IoT Hub Device Provisioning Service which applies allocation weight and weight being 10 text: > az iot dps linked-hub create --dps-name MyDps --resource-group MyResourceGroup --connection-string HostName=test.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=XNBhoasdfhqRlgGnasdfhivtshcwh4bJwe7c0RIGuWsirW0= --location westus --allocation-weight 10 --apply-allocation-policy True """ helps['iot dps linked-hub delete'] = """ type: command -short-summary: Update a linked IoT hub in an Azure IoT Hub device provisioning service. +short-summary: Update a linked IoT hub in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Delete linked IoT hub 'MyLinkedHub' in an Azure IoT Hub device provisioning service + - name: Delete linked IoT hub 'MyLinkedHub' in an Azure IoT Hub Device Provisioning Service instance text: > az iot dps linked-hub delete --dps-name MyDps --resource-group MyResourceGroup --linked-hub MyLinkedHub """ helps['iot dps linked-hub list'] = """ type: command -short-summary: List all linked IoT hubs in an Azure IoT Hub device provisioning service. +short-summary: List all linked IoT hubs in an Azure IoT Hub Device Provisioning Service instance. examples: - name: List all linked IoT hubs in MyDps text: > @@ -207,48 +257,48 @@ helps['iot dps linked-hub show'] = """ type: command -short-summary: Show details of a linked IoT hub in an Azure IoT Hub device provisioning service. +short-summary: Show details of a linked IoT hub in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Show details of linked IoT hub 'MyLinkedHub' in an Azure IoT Hub device provisioning service + - name: Show details of linked IoT hub 'MyLinkedHub' in an Azure IoT Hub Device Provisioning Service text: > az iot dps linked-hub show --dps-name MyDps --resource-group MyResourceGroup --linked-hub MyLinkedHub """ helps['iot dps linked-hub update'] = """ type: command -short-summary: Update a linked IoT hub in an Azure IoT Hub device provisioning service. +short-summary: Update a linked IoT hub in an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Update linked IoT hub 'MyLinkedHub.azure-devices.net' in an Azure IoT Hub device provisioning service + - name: Update linked IoT hub 'MyLinkedHub.azure-devices.net' in an Azure IoT Hub Device Provisioning Service text: > az iot dps linked-hub update --dps-name MyDps --resource-group MyResourceGroup --linked-hub MyLinkedHub.azure-devices.net --allocation-weight 10 --apply-allocation-policy True """ helps['iot dps list'] = """ type: command -short-summary: List Azure IoT Hub device provisioning services. +short-summary: List Azure IoT Hub Device Provisioning Service instances. examples: - - name: List all Azure IoT Hub device provisioning services in a subscription. + - name: List all Azure IoT Hub Device Provisioning Services in a subscription. text: > az iot dps list - - name: List all Azure IoT Hub device provisioning services in the resource group 'MyResourceGroup' + - name: List all Azure IoT Hub Device Provisioning Services in the resource group 'MyResourceGroup' text: > az iot dps list --resource-group MyResourceGroup """ helps['iot dps show'] = """ type: command -short-summary: Get the details of an Azure IoT Hub device provisioning service. +short-summary: Get the details of an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Show details of an Azure IoT Hub device provisioning service 'MyDps' + - name: Show details of an Azure IoT Hub Device Provisioning Service 'MyDps' text: > az iot dps show --name MyDps --resource-group MyResourceGroup """ helps['iot dps update'] = """ type: command -short-summary: Update an Azure IoT Hub device provisioning service. +short-summary: Update an Azure IoT Hub Device Provisioning Service instance. examples: - - name: Update Allocation Policy to 'GeoLatency' of an Azure IoT Hub device provisioning service 'MyDps' + - name: Update Allocation Policy to 'GeoLatency' of an Azure IoT Hub Device Provisioning Service 'MyDps' text: > az iot dps update --name MyDps --resource-group MyResourceGroup --set properties.allocationPolicy="GeoLatency" """ 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 b2b87604c36..1e70ba7861b 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/_params.py +++ b/src/azure-cli/azure/cli/command_modules/iot/_params.py @@ -44,7 +44,7 @@ dps_name_type = CLIArgumentType( options_list=['--dps-name'], completer=get_resource_name_completion_list('Microsoft.Devices/ProvisioningServices'), - help='IoT Provisioning Service name') + help='IoT Hub Device Provisioning Service name') app_name_type = CLIArgumentType( completer=get_resource_name_completion_list('Microsoft.IoTCentral/IoTApps'), @@ -67,30 +67,59 @@ def load_arguments(self, _): # pylint: disable=too-many-statements with self.argument_context('iot dps create') as c: c.argument('location', get_location_type(self.cli_ctx), - help='Location of your IoT Provisioning Service. Default is the location of target resource group.') + help='Location of your IoT Hub Device Provisioning Service. ' + 'Default is the location of target resource group.') c.argument('sku', arg_type=get_enum_type(IotDpsSku), - help='Pricing tier for the IoT provisioning service.') - c.argument('unit', help='Units in your IoT Provisioning Service.', type=int) + help='Pricing tier for the IoT Hub Device Provisioning Service.') + c.argument('unit', help='Units in your IoT Hub Device Provisioning Service.', type=int) + # To deprecate for subgroup in ['access-policy', 'linked-hub', 'certificate']: with self.argument_context('iot dps {}'.format(subgroup)) as c: c.argument('dps_name', options_list=['--dps-name'], id_part=None) + # To replace deprecated + for subgroup in ['policy']: + with self.argument_context('iot dps {}'.format(subgroup)) as c: + c.argument('dps_name', options_list=['--dps-name', '-n'], id_part=None) + with self.argument_context('iot dps access-policy') as c: c.argument('access_policy_name', options_list=['--access-policy-name', '--name', '-n'], - help='A friendly name for DPS access policy.') + help='A friendly name for DPS shared access policy.') with self.argument_context('iot dps access-policy create') as c: c.argument('rights', options_list=['--rights', '-r'], nargs='+', arg_type=get_enum_type(AccessRightsDescription), - help='Access rights for the IoT provisioning service. Use space-separated list for multiple rights.') + help='Access rights for the IoT Hub Device Provisioning Service. ' + 'Use space-separated list for multiple rights.') c.argument('primary_key', help='Primary SAS key value.') c.argument('secondary_key', help='Secondary SAS key value.') with self.argument_context('iot dps access-policy update') as c: c.argument('rights', options_list=['--rights', '-r'], nargs='+', arg_type=get_enum_type(AccessRightsDescription), - help='Access rights for the IoT provisioning service. Use space-separated list for multiple rights.') + help='Access rights for the IoT Hub Device Provisioning Service. ' + 'Use space-separated list for multiple rights.') + c.argument('primary_key', help='Primary SAS key value.') + c.argument('secondary_key', help='Secondary SAS key value.') + + with self.argument_context('iot dps policy') as c: + c.argument('access_policy_name', options_list=['--policy-name', '--pn'], + help='A friendly name for DPS access policy.') + + with self.argument_context('iot dps policy create') as c: + c.argument('rights', options_list=['--rights', '-r'], nargs='+', + arg_type=get_enum_type(AccessRightsDescription), + help='Access rights for the IoT Hub Device Provisioning Service. ' + 'Use space-separated list for multiple rights.') + c.argument('primary_key', help='Primary SAS key value.') + c.argument('secondary_key', help='Secondary SAS key value.') + + with self.argument_context('iot dps policy update') as c: + c.argument('rights', options_list=['--rights', '-r'], nargs='+', + arg_type=get_enum_type(AccessRightsDescription), + help='Access rights for the IoT Hub Device Provisioning Service. ' + 'Use space-separated list for multiple rights.') c.argument('primary_key', help='Primary SAS key value.') c.argument('secondary_key', help='Secondary SAS key value.') @@ -98,9 +127,18 @@ def load_arguments(self, _): # pylint: disable=too-many-statements c.argument('linked_hub', options_list=['--linked-hub'], help='Host name of linked IoT Hub.') with self.argument_context('iot dps linked-hub create') as c: - c.argument('connection_string', help='Connection string of the IoT hub.') + c.argument('connection_string', + help='Connection string of the IoT hub. Required if hub name is not provided using --hub-name.', + arg_group='IoT Hub Identifier') + c.argument('hub_name', help='IoT Hub name.', arg_group='IoT Hub Identifier') + c.argument('hub_resource_group', + options_list=['--hub-resource-group', '--hrg'], + help='IoT Hub resource group name.', + arg_group='IoT Hub Identifier') c.argument('location', get_location_type(self.cli_ctx), - help='Location of the IoT hub.') + help='Location of the IoT hub.', + arg_group='IoT Hub Identifier', + deprecate_info=c.deprecate(hide=True)) c.argument('apply_allocation_policy', help='A boolean indicating whether to apply allocation policy to the IoT hub.', arg_type=get_three_state_flag()) @@ -114,7 +152,7 @@ def load_arguments(self, _): # pylint: disable=too-many-statements with self.argument_context('iot dps allocation-policy update') as c: c.argument('allocation_policy', options_list=['--policy', '-p'], arg_type=get_enum_type(AllocationPolicy), - help='Allocation policy for the IoT provisioning service.') + help='Allocation policy for the IoT Hub Device Provisioning Service.') with self.argument_context('iot dps 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/commands.py b/src/azure-cli/azure/cli/command_modules/iot/commands.py index 703ba1b50b8..f546cb2132a 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/commands.py +++ b/src/azure-cli/azure/cli/command_modules/iot/commands.py @@ -59,13 +59,17 @@ def load_command_table(self, _): # pylint: disable=too-many-statements g.generic_update_command('update', getter_name='iot_dps_get', setter_name='iot_dps_update', command_type=update_custom_util) - # iot dps access-policy commands - with self.command_group('iot dps access-policy', client_factory=iot_service_provisioning_factory) as g: - g.custom_command('list', 'iot_dps_access_policy_list') - g.custom_show_command('show', 'iot_dps_access_policy_get') - g.custom_command('create', 'iot_dps_access_policy_create', supports_no_wait=True) - g.custom_command('update', 'iot_dps_access_policy_update', supports_no_wait=True) - g.custom_command('delete', 'iot_dps_access_policy_delete', supports_no_wait=True) + # iot dps access-policy commands (Deprecated) + with self.command_group('iot dps access-policy', + client_factory=iot_service_provisioning_factory, + deprecate_info=self.deprecate(redirect='iot dps policy', + expiration='2.35.0') + ) as g: + g.custom_command('list', 'iot_dps_policy_list') + g.custom_show_command('show', 'iot_dps_policy_get') + g.custom_command('create', 'iot_dps_policy_create', supports_no_wait=True) + g.custom_command('update', 'iot_dps_policy_update', supports_no_wait=True) + g.custom_command('delete', 'iot_dps_policy_delete', supports_no_wait=True) # iot dps linked-hub commands with self.command_group('iot dps linked-hub', client_factory=iot_service_provisioning_factory) as g: @@ -85,6 +89,14 @@ def load_command_table(self, _): # pylint: disable=too-many-statements g.custom_command('verify', 'iot_dps_certificate_verify') g.custom_command('update', 'iot_dps_certificate_update') + # iot dps policy commands + with self.command_group('iot dps policy', client_factory=iot_service_provisioning_factory) as g: + g.custom_command('list', 'iot_dps_policy_list') + g.custom_show_command('show', 'iot_dps_policy_get') + g.custom_command('create', 'iot_dps_policy_create', supports_no_wait=True) + g.custom_command('update', 'iot_dps_policy_update', supports_no_wait=True) + g.custom_command('delete', 'iot_dps_policy_delete', supports_no_wait=True) + # iot hub certificate commands with self.command_group('iot hub certificate', client_factory=iot_hub_service_factory) as g: g.custom_command('list', 'iot_hub_certificate_list') 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 abb5f1a2b02..9eecb43d06c 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/custom.py +++ b/src/azure-cli/azure/cli/command_modules/iot/custom.py @@ -4,11 +4,19 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=no-self-use,no-member,line-too-long,too-few-public-methods,too-many-lines,too-many-arguments,too-many-locals +import re from enum import Enum from knack.log import get_logger from knack.util import CLIError from msrestazure.azure_exceptions import CloudError -from azure.cli.core.azclierror import UnclassifiedUserFault, RequiredArgumentMissingError, ArgumentUsageError +from azure.cli.core.azclierror import ( + ArgumentUsageError, + BadRequestError, + InvalidArgumentValueError, + RequiredArgumentMissingError, + ResourceNotFoundError, + UnclassifiedUserFault +) from azure.cli.core.commands import LongRunningOperation from azure.cli.core.util import sdk_no_wait @@ -43,12 +51,15 @@ TestAllRoutesInput) -from azure.mgmt.iothubprovisioningservices.models import (ProvisioningServiceDescription, +from azure.mgmt.iothubprovisioningservices.models import (CertificateBodyDescription, + ProvisioningServiceDescription, IotDpsPropertiesDescription, IotHubDefinitionDescription, IotDpsSkuInfo, IotDpsSku, - SharedAccessSignatureAuthorizationRuleAccessRightsDescription) + OperationInputs as DpsOperationInputs, + SharedAccessSignatureAuthorizationRuleAccessRightsDescription, + VerificationCodeRequest) from azure.mgmt.iotcentral.models import (AppSkuInfo, @@ -56,6 +67,7 @@ from azure.cli.command_modules.iot._constants import SYSTEM_ASSIGNED_IDENTITY from azure.cli.command_modules.iot.shared import EndpointType, EncodingFormat, RenewKeyType, AuthenticationType, IdentityType from ._client_factory import resource_service_factory +from ._client_factory import iot_hub_service_factory from ._utils import open_certificate, generate_key @@ -107,58 +119,81 @@ def iot_dps_create(cmd, client, dps_name, resource_group_name, location=None, sk properties=dps_property, sku=IotDpsSkuInfo(name=sku, capacity=unit), tags=tags) - return client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description) + return client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description) -def iot_dps_update(client, dps_name, parameters, resource_group_name, tags=None): +def iot_dps_update(client, dps_name, parameters, resource_group_name=None, tags=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) if tags is not None: parameters.tags = tags - return client.iot_dps_resource.create_or_update(resource_group_name, dps_name, parameters) + return client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, parameters) -def iot_dps_delete(client, dps_name, resource_group_name): - return client.iot_dps_resource.delete(dps_name, resource_group_name) +def iot_dps_delete(client, dps_name, resource_group_name=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) + return client.iot_dps_resource.begin_delete(dps_name, resource_group_name) -# DPS access policy methods -def iot_dps_access_policy_list(client, dps_name, resource_group_name): - iot_dps_get(client, dps_name, resource_group_name) +# DPS policy methods +def iot_dps_policy_list(client, dps_name, resource_group_name=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) return client.iot_dps_resource.list_keys(dps_name, resource_group_name) -def iot_dps_access_policy_get(client, dps_name, resource_group_name, access_policy_name): - iot_dps_get(client, dps_name, resource_group_name) +def iot_dps_policy_get(client, dps_name, access_policy_name, resource_group_name=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) return client.iot_dps_resource.list_keys_for_key_name(dps_name, access_policy_name, resource_group_name) -def iot_dps_access_policy_create(cmd, client, dps_name, resource_group_name, access_policy_name, rights, primary_key=None, secondary_key=None, no_wait=False): +def iot_dps_policy_create( + cmd, + client, + dps_name, + access_policy_name, + rights, + resource_group_name=None, + primary_key=None, + secondary_key=None, + no_wait=False +): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) dps_access_policies = [] - dps_access_policies.extend(iot_dps_access_policy_list(client, dps_name, resource_group_name)) - if _is_policy_existed(dps_access_policies, access_policy_name): - raise CLIError("Access policy {0} already existed.".format(access_policy_name)) + dps_access_policies.extend(iot_dps_policy_list(client, dps_name, resource_group_name)) + if _does_policy_exist(dps_access_policies, access_policy_name): + raise BadRequestError("Access policy {} already exists.".format(access_policy_name)) + dps = iot_dps_get(client, dps_name, resource_group_name) access_policy_rights = _convert_rights_to_access_rights(rights) dps_access_policies.append(SharedAccessSignatureAuthorizationRuleAccessRightsDescription( key_name=access_policy_name, rights=access_policy_rights, primary_key=primary_key, secondary_key=secondary_key)) - - dps = iot_dps_get(client, dps_name, resource_group_name) dps_property = IotDpsPropertiesDescription(iot_hubs=dps.properties.iot_hubs, allocation_policy=dps.properties.allocation_policy, authorization_policies=dps_access_policies) dps_description = ProvisioningServiceDescription(location=dps.location, properties=dps_property, sku=dps.sku) if no_wait: - return client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description) - LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description)) - return iot_dps_access_policy_get(client, dps_name, resource_group_name, access_policy_name) - - -def iot_dps_access_policy_update(cmd, client, dps_name, resource_group_name, access_policy_name, primary_key=None, secondary_key=None, rights=None, no_wait=False): + return client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description) + LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description)) + return iot_dps_policy_get(client, dps_name, access_policy_name, resource_group_name) + + +def iot_dps_policy_update( + cmd, + client, + dps_name, + access_policy_name, + resource_group_name=None, + primary_key=None, + secondary_key=None, + rights=None, + no_wait=False +): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) dps_access_policies = [] - dps_access_policies.extend(iot_dps_access_policy_list(client, dps_name, resource_group_name)) + dps_access_policies.extend(iot_dps_policy_list(client, dps_name, resource_group_name)) - if not _is_policy_existed(dps_access_policies, access_policy_name): - raise CLIError("Access policy {0} doesn't exist.".format(access_policy_name)) + if not _does_policy_exist(dps_access_policies, access_policy_name): + raise ResourceNotFoundError("Access policy {} doesn't exist.".format(access_policy_name)) for policy in dps_access_policies: if policy.key_name == access_policy_name: @@ -176,16 +211,18 @@ def iot_dps_access_policy_update(cmd, client, dps_name, resource_group_name, acc dps_description = ProvisioningServiceDescription(location=dps.location, properties=dps_property, sku=dps.sku) if no_wait: - return client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description) - LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description)) - return iot_dps_access_policy_get(client, dps_name, resource_group_name, access_policy_name) + return client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description) + LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description)) + return iot_dps_policy_get(client, dps_name, access_policy_name, resource_group_name) -def iot_dps_access_policy_delete(cmd, client, dps_name, resource_group_name, access_policy_name, no_wait=False): +def iot_dps_policy_delete(cmd, client, dps_name, access_policy_name, resource_group_name=None, no_wait=False): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) dps_access_policies = [] - dps_access_policies.extend(iot_dps_access_policy_list(client, dps_name, resource_group_name)) - if not _is_policy_existed(dps_access_policies, access_policy_name): - raise CLIError("Access policy {0} doesn't existed.".format(access_policy_name)) + dps_access_policies.extend(iot_dps_policy_list(client, dps_name, resource_group_name)) + + if not _does_policy_exist(dps_access_policies, access_policy_name): + raise ResourceNotFoundError("Access policy {0} doesn't exist.".format(access_policy_name)) updated_policies = [p for p in dps_access_policies if p.key_name.lower() != access_policy_name.lower()] dps = iot_dps_get(client, dps_name, resource_group_name) @@ -195,33 +232,66 @@ def iot_dps_access_policy_delete(cmd, client, dps_name, resource_group_name, acc dps_description = ProvisioningServiceDescription(location=dps.location, properties=dps_property, sku=dps.sku) if no_wait: - return client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description) - LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description)) - return iot_dps_access_policy_list(client, dps_name, resource_group_name) + return client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description) + LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description)) + return iot_dps_policy_list(client, dps_name, resource_group_name) # DPS linked hub methods -def iot_dps_linked_hub_list(client, dps_name, resource_group_name): +def iot_dps_linked_hub_list(client, dps_name, resource_group_name=None): dps = iot_dps_get(client, dps_name, resource_group_name) return dps.properties.iot_hubs -def iot_dps_linked_hub_get(client, dps_name, resource_group_name, linked_hub): +def iot_dps_linked_hub_get(cmd, client, dps_name, linked_hub, resource_group_name=None): + if '.' not in linked_hub: + hub_client = iot_hub_service_factory(cmd.cli_ctx) + linked_hub = _get_iot_hub_hostname(hub_client, linked_hub) + dps = iot_dps_get(client, dps_name, resource_group_name) for hub in dps.properties.iot_hubs: if hub.name == linked_hub: return hub - raise CLIError("Linked hub '{0}' does not exist. Use 'iot dps linked-hub show to see all linked hubs.".format(linked_hub)) - - -def iot_dps_linked_hub_create(cmd, client, dps_name, resource_group_name, connection_string, location, apply_allocation_policy=None, allocation_weight=None, no_wait=False): + raise ResourceNotFoundError("Linked hub '{0}' does not exist. Use 'iot dps linked-hub show to see all linked hubs.".format(linked_hub)) + + +def iot_dps_linked_hub_create( + cmd, + client, + dps_name, + hub_name=None, + hub_resource_group=None, + connection_string=None, + location=None, + resource_group_name=None, + apply_allocation_policy=None, + allocation_weight=None, + no_wait=False +): + if not any([connection_string, hub_name]): + raise RequiredArgumentMissingError("Please provide the IoT Hub name or connection string.") + if not connection_string: + # Get the connection string for the hub + hub_client = iot_hub_service_factory(cmd.cli_ctx) + connection_string = iot_hub_show_connection_string( + hub_client, hub_name=hub_name, resource_group_name=hub_resource_group + )['connectionString'] + + if not location: + # Parse out hub name from connection string if needed + if not hub_name: + try: + hub_name = re.search(r"hostname=(.[^\;\.]+)?", connection_string, re.IGNORECASE).group(1) + except AttributeError: + raise InvalidArgumentValueError("Please provide a valid IoT Hub connection string.") + + hub_client = iot_hub_service_factory(cmd.cli_ctx) + location = iot_hub_get(cmd, hub_client, hub_name=hub_name, resource_group_name=hub_resource_group).location + + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) dps_linked_hubs = [] dps_linked_hubs.extend(iot_dps_linked_hub_list(client, dps_name, resource_group_name)) - # Hack due to DPS Swagger/SDK issue - # In the newer API version the name parameter is required - # however in the SDK name is read-only/assigned to None - client.api_version = '2017-11-15' dps_linked_hubs.append(IotHubDefinitionDescription(connection_string=connection_string, location=location, apply_allocation_policy=apply_allocation_policy, @@ -234,16 +304,22 @@ def iot_dps_linked_hub_create(cmd, client, dps_name, resource_group_name, connec dps_description = ProvisioningServiceDescription(location=dps.location, properties=dps_property, sku=dps.sku) if no_wait: - return client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description) - LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description)) + return client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description) + LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description)) return iot_dps_linked_hub_list(client, dps_name, resource_group_name) -def iot_dps_linked_hub_update(cmd, client, dps_name, resource_group_name, linked_hub, apply_allocation_policy=None, allocation_weight=None, no_wait=False): +def iot_dps_linked_hub_update(cmd, client, dps_name, linked_hub, resource_group_name=None, apply_allocation_policy=None, + allocation_weight=None, no_wait=False): + if '.' not in linked_hub: + hub_client = iot_hub_service_factory(cmd.cli_ctx) + linked_hub = _get_iot_hub_hostname(hub_client, linked_hub) + + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) dps_linked_hubs = [] dps_linked_hubs.extend(iot_dps_linked_hub_list(client, dps_name, resource_group_name)) if not _is_linked_hub_existed(dps_linked_hubs, linked_hub): - raise CLIError("Access policy {0} doesn't existed.".format(linked_hub)) + raise ResourceNotFoundError("Access policy {0} doesn't exist.".format(linked_hub)) for hub in dps_linked_hubs: if hub.name == linked_hub: @@ -259,16 +335,21 @@ def iot_dps_linked_hub_update(cmd, client, dps_name, resource_group_name, linked dps_description = ProvisioningServiceDescription(location=dps.location, properties=dps_property, sku=dps.sku) if no_wait: - return client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description) - LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description)) - return iot_dps_linked_hub_get(client, dps_name, resource_group_name, linked_hub) + return client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description) + LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description)) + return iot_dps_linked_hub_get(cmd, client, dps_name, linked_hub, resource_group_name) -def iot_dps_linked_hub_delete(cmd, client, dps_name, resource_group_name, linked_hub, no_wait=False): +def iot_dps_linked_hub_delete(cmd, client, dps_name, linked_hub, resource_group_name=None, no_wait=False): + if '.' not in linked_hub: + hub_client = iot_hub_service_factory(cmd.cli_ctx) + linked_hub = _get_iot_hub_hostname(hub_client, linked_hub) + + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) dps_linked_hubs = [] dps_linked_hubs.extend(iot_dps_linked_hub_list(client, dps_name, resource_group_name)) if not _is_linked_hub_existed(dps_linked_hubs, linked_hub): - raise CLIError("Linked hub {0} doesn't existed.".format(linked_hub)) + raise ResourceNotFoundError("Linked hub {0} doesn't exist.".format(linked_hub)) updated_hub = [p for p in dps_linked_hubs if p.name.lower() != linked_hub.lower()] dps = iot_dps_get(client, dps_name, resource_group_name) @@ -278,21 +359,24 @@ def iot_dps_linked_hub_delete(cmd, client, dps_name, resource_group_name, linked dps_description = ProvisioningServiceDescription(location=dps.location, properties=dps_property, sku=dps.sku) if no_wait: - return client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description) - LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.create_or_update(resource_group_name, dps_name, dps_description)) + return client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description) + LongRunningOperation(cmd.cli_ctx)(client.iot_dps_resource.begin_create_or_update(resource_group_name, dps_name, dps_description)) return iot_dps_linked_hub_list(client, dps_name, resource_group_name) # DPS certificate methods -def iot_dps_certificate_list(client, dps_name, resource_group_name): +def iot_dps_certificate_list(client, dps_name, resource_group_name=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) return client.dps_certificate.list(resource_group_name, dps_name) -def iot_dps_certificate_get(client, dps_name, resource_group_name, certificate_name): +def iot_dps_certificate_get(client, dps_name, certificate_name, resource_group_name=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) return client.dps_certificate.get(certificate_name, resource_group_name, dps_name) -def iot_dps_certificate_create(client, dps_name, resource_group_name, certificate_name, certificate_path, is_verified=None): +def iot_dps_certificate_create(client, dps_name, certificate_name, certificate_path, resource_group_name=None, is_verified=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) cert_list = client.dps_certificate.list(resource_group_name, dps_name) for cert in cert_list.value: if cert.name == certificate_name: @@ -301,26 +385,31 @@ def iot_dps_certificate_create(client, dps_name, resource_group_name, certificat certificate = open_certificate(certificate_path) if not certificate: raise CLIError("Error uploading certificate '{0}'.".format(certificate_path)) - return client.dps_certificate.create_or_update(resource_group_name, dps_name, certificate_name, None, certificate, is_verified) + cert_description = CertificateBodyDescription(certificate=certificate, is_verified=is_verified) + return client.dps_certificate.create_or_update(resource_group_name, dps_name, certificate_name, cert_description) -def iot_dps_certificate_update(client, dps_name, resource_group_name, certificate_name, certificate_path, etag, is_verified=None): +def iot_dps_certificate_update(client, dps_name, certificate_name, certificate_path, etag, resource_group_name=None, is_verified=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) cert_list = client.dps_certificate.list(resource_group_name, dps_name) for cert in cert_list.value: if cert.name == certificate_name: certificate = open_certificate(certificate_path) if not certificate: raise CLIError("Error uploading certificate '{0}'.".format(certificate_path)) - return client.dps_certificate.create_or_update(resource_group_name, dps_name, certificate_name, etag, certificate, is_verified) + cert_description = CertificateBodyDescription(certificate=certificate, is_verified=is_verified) + return client.dps_certificate.create_or_update(resource_group_name, dps_name, certificate_name, cert_description, etag) raise CLIError("Certificate '{0}' does not exist. Use 'iot dps certificate create' to create a new certificate." .format(certificate_name)) -def iot_dps_certificate_delete(client, dps_name, resource_group_name, certificate_name, etag): +def iot_dps_certificate_delete(client, dps_name, certificate_name, etag, resource_group_name=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) return client.dps_certificate.delete(resource_group_name, etag, dps_name, certificate_name) -def iot_dps_certificate_gen_code(client, dps_name, resource_group_name, certificate_name, etag): +def iot_dps_certificate_gen_code(client, dps_name, certificate_name, etag, resource_group_name=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) response = client.dps_certificate.generate_verification_code(certificate_name, etag, resource_group_name, dps_name) properties = getattr(response, 'properties', {}) cert = getattr(properties, 'certificate', None) @@ -329,27 +418,28 @@ def iot_dps_certificate_gen_code(client, dps_name, resource_group_name, certific return response -def iot_dps_certificate_verify(client, dps_name, resource_group_name, certificate_name, certificate_path, etag): +def iot_dps_certificate_verify(client, dps_name, certificate_name, certificate_path, etag, resource_group_name=None): + resource_group_name = _ensure_dps_resource_group_name(client, resource_group_name, dps_name) certificate = open_certificate(certificate_path) if not certificate: raise CLIError("Error uploading certificate '{0}'.".format(certificate_path)) - return client.dps_certificate.verify_certificate(certificate_name, etag, resource_group_name, dps_name, - None, None, None, None, None, None, None, None, certificate) + request = VerificationCodeRequest(certificate=certificate) + return client.dps_certificate.verify_certificate(certificate_name, etag, resource_group_name, dps_name, request) # CUSTOM METHODS def iot_hub_certificate_list(client, hub_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.certificates.list_by_iot_hub(resource_group_name, hub_name) def iot_hub_certificate_get(client, hub_name, certificate_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.certificates.get(resource_group_name, hub_name, certificate_name) def iot_hub_certificate_create(client, hub_name, certificate_name, certificate_path, resource_group_name=None, is_verified=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) # Get list of certs cert_list = client.certificates.list_by_iot_hub(resource_group_name, hub_name) for cert in cert_list.value: @@ -365,7 +455,7 @@ def iot_hub_certificate_create(client, hub_name, certificate_name, certificate_p def iot_hub_certificate_update(client, hub_name, certificate_name, certificate_path, etag, resource_group_name=None, is_verified=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) cert_list = client.certificates.list_by_iot_hub(resource_group_name, hub_name) for cert in cert_list.value: if cert.name == certificate_name: @@ -380,17 +470,17 @@ def iot_hub_certificate_update(client, hub_name, certificate_name, certificate_p def iot_hub_certificate_delete(client, hub_name, certificate_name, etag, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.certificates.delete(resource_group_name, hub_name, certificate_name, etag) def iot_hub_certificate_gen_code(client, hub_name, certificate_name, etag, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.certificates.generate_verification_code(resource_group_name, hub_name, certificate_name, etag) def iot_hub_certificate_verify(client, hub_name, certificate_name, certificate_path, etag, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) certificate = open_certificate(certificate_path) if not certificate: raise CLIError("Error uploading certificate '{0}'.".format(certificate_path)) @@ -621,12 +711,12 @@ def update_iot_hub_custom(instance, def iot_hub_update(client, hub_name, parameters, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.iot_hub_resource.begin_create_or_update(resource_group_name, hub_name, parameters, {'IF-MATCH': parameters.etag}, polling=True) def iot_hub_delete(client, hub_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.iot_hub_resource.begin_delete(resource_group_name, hub_name, polling=True) @@ -641,7 +731,7 @@ def iot_hub_show_connection_string(client, hub_name=None, resource_group_name=No def conn_str_getter(h): return _get_hub_connection_string(client, h.name, h.additional_properties['resourcegroup'], policy_name, key_type, show_all) return [{'name': h.name, 'connectionString': conn_str_getter(h)} for h in hubs] - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) conn_str = _get_hub_connection_string(client, hub_name, resource_group_name, policy_name, key_type, show_all) return {'connectionString': conn_str if show_all else conn_str[0]} @@ -652,9 +742,7 @@ def _get_hub_connection_string(client, hub_name, resource_group_name, policy_nam policies.extend(iot_hub_policy_list(client, hub_name, resource_group_name)) else: policies.append(iot_hub_policy_get(client, hub_name, policy_name, resource_group_name)) - # Intermediate fix to support domains beyond azure-devices.netproperty - hub = _get_iot_hub_by_name(client, hub_name) - hostname = hub.properties.host_name + hostname = _get_iot_hub_hostname(client, hub_name) conn_str_template = 'HostName={};SharedAccessKeyName={};SharedAccessKey={}' return [conn_str_template.format(hostname, p.key_name, @@ -662,12 +750,12 @@ def _get_hub_connection_string(client, hub_name, resource_group_name, policy_nam def iot_hub_sku_list(client, hub_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.iot_hub_resource.get_valid_skus(resource_group_name, hub_name) def iot_hub_consumer_group_create(client, hub_name, consumer_group_name, resource_group_name=None, event_hub_name='events'): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) consumer_group_body = EventHubConsumerGroupBodyDescription(properties=EventHubConsumerGroupName(name=consumer_group_name)) # Fix for breaking change argument in track 1 SDK method. from azure.cli.core.util import get_arg_list @@ -678,22 +766,22 @@ def iot_hub_consumer_group_create(client, hub_name, consumer_group_name, resourc def iot_hub_consumer_group_list(client, hub_name, resource_group_name=None, event_hub_name='events'): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.iot_hub_resource.list_event_hub_consumer_groups(resource_group_name, hub_name, event_hub_name) def iot_hub_consumer_group_get(client, hub_name, consumer_group_name, resource_group_name=None, event_hub_name='events'): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.iot_hub_resource.get_event_hub_consumer_group(resource_group_name, hub_name, event_hub_name, consumer_group_name) def iot_hub_consumer_group_delete(client, hub_name, consumer_group_name, resource_group_name=None, event_hub_name='events'): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.iot_hub_resource.delete_event_hub_consumer_group(resource_group_name, hub_name, event_hub_name, consumer_group_name) def iot_hub_identity_assign(cmd, client, hub_name, system_identity=None, user_identities=None, identity_role=None, identity_scopes=None, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) def getter(): return iot_hub_get(cmd, client, hub_name, resource_group_name) @@ -730,13 +818,13 @@ def setter(hub): def iot_hub_identity_show(cmd, client, hub_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) return hub.identity def iot_hub_identity_remove(cmd, client, hub_name, system_identity=None, user_identities=None, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) hub_identity = hub.identity @@ -779,12 +867,12 @@ def iot_hub_identity_remove(cmd, client, hub_name, system_identity=None, user_id def iot_hub_policy_list(client, hub_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.iot_hub_resource.list_keys(resource_group_name, hub_name) def iot_hub_policy_get(client, hub_name, policy_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.iot_hub_resource.get_keys_for_key_name(resource_group_name, hub_name, policy_name) @@ -793,7 +881,7 @@ def iot_hub_policy_create(cmd, client, hub_name, policy_name, permissions, resou hub = iot_hub_get(cmd, client, hub_name, resource_group_name) policies = [] policies.extend(iot_hub_policy_list(client, hub_name, hub.additional_properties['resourcegroup'])) - if _is_policy_existed(policies, policy_name): + if _does_policy_exist(policies, policy_name): raise CLIError("Policy {0} already existed.".format(policy_name)) policies.append(SharedAccessSignatureAuthorizationRule(key_name=policy_name, rights=rights)) hub.properties.authorization_policies = policies @@ -804,7 +892,7 @@ def iot_hub_policy_delete(cmd, client, hub_name, policy_name, resource_group_nam import copy hub = iot_hub_get(cmd, client, hub_name, resource_group_name) policies = iot_hub_policy_list(client, hub_name, hub.additional_properties['resourcegroup']) - if not _is_policy_existed(copy.deepcopy(policies), policy_name): + if not _does_policy_exist(copy.deepcopy(policies), policy_name): raise CLIError("Policy {0} not found.".format(policy_name)) updated_policies = [p for p in policies if p.key_name.lower() != policy_name.lower()] hub.properties.authorization_policies = updated_policies @@ -815,7 +903,7 @@ def iot_hub_policy_key_renew(cmd, client, hub_name, policy_name, regenerate_key, hub = iot_hub_get(cmd, client, hub_name, resource_group_name) policies = [] policies.extend(iot_hub_policy_list(client, hub_name, hub.additional_properties['resourcegroup'])) - if not _is_policy_existed(policies, policy_name): + if not _does_policy_exist(policies, policy_name): raise CLIError("Policy {0} not found.".format(policy_name)) updated_policies = [p for p in policies if p.key_name.lower() != policy_name.lower()] requested_policy = [p for p in policies if p.key_name.lower() == policy_name.lower()] @@ -838,13 +926,13 @@ def iot_hub_policy_key_renew(cmd, client, hub_name, policy_name, regenerate_key, return iot_hub_policy_get(client, hub_name, policy_name, resource_group_name) -def _is_policy_existed(policies, policy_name): +def _does_policy_exist(policies, policy_name): policy_set = {p.key_name.lower() for p in policies} return policy_name.lower() in policy_set def iot_hub_get_quota_metrics(client, hub_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) iotHubQuotaMetricCollection = [] iotHubQuotaMetricCollection.extend(client.iot_hub_resource.get_quota_metrics(resource_group_name, hub_name)) for quotaMetric in iotHubQuotaMetricCollection: @@ -854,7 +942,7 @@ def iot_hub_get_quota_metrics(client, hub_name, resource_group_name=None): def iot_hub_get_stats(client, hub_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) return client.iot_hub_resource.get_stats(resource_group_name, hub_name) @@ -879,7 +967,7 @@ def iot_hub_routing_endpoint_create(cmd, client, hub_name, endpoint_name, endpoi file_name_format='{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}', authentication_type=None, endpoint_uri=None, entity_path=None, identity=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) if identity and authentication_type != AuthenticationType.IdentityBased.value: raise ArgumentUsageError("In order to use an identity for authentication, you must select --auth-type as 'identityBased'") @@ -947,7 +1035,7 @@ def iot_hub_routing_endpoint_create(cmd, client, hub_name, endpoint_name, endpoi def iot_hub_routing_endpoint_list(cmd, client, hub_name, endpoint_type=None, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) if not endpoint_type: return hub.properties.routing.endpoints @@ -962,7 +1050,7 @@ def iot_hub_routing_endpoint_list(cmd, client, hub_name, endpoint_type=None, res def iot_hub_routing_endpoint_show(cmd, client, hub_name, endpoint_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) for event_hub in hub.properties.routing.endpoints.event_hubs: if event_hub.name.lower() == endpoint_name.lower(): @@ -980,7 +1068,7 @@ def iot_hub_routing_endpoint_show(cmd, client, hub_name, endpoint_name, resource def iot_hub_routing_endpoint_delete(cmd, client, hub_name, endpoint_name=None, endpoint_type=None, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) hub.properties.routing.endpoints = _delete_routing_endpoints(endpoint_name, endpoint_type, hub.properties.routing.endpoints) return client.iot_hub_resource.begin_create_or_update(resource_group_name, hub_name, hub, {'IF-MATCH': hub.etag}) @@ -988,7 +1076,7 @@ def iot_hub_routing_endpoint_delete(cmd, client, hub_name, endpoint_name=None, e def iot_hub_route_create(cmd, client, hub_name, route_name, source_type, endpoint_name, enabled=None, condition=None, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) hub.properties.routing.routes.append( RouteProperties( @@ -1003,7 +1091,7 @@ def iot_hub_route_create(cmd, client, hub_name, route_name, source_type, endpoin def iot_hub_route_list(cmd, client, hub_name, source_type=None, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) if source_type: return [route for route in hub.properties.routing.routes if route.source.lower() == source_type.lower()] @@ -1011,7 +1099,7 @@ def iot_hub_route_list(cmd, client, hub_name, source_type=None, resource_group_n def iot_hub_route_show(cmd, client, hub_name, route_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) for route in hub.properties.routing.routes: if route.name.lower() == route_name.lower(): @@ -1020,7 +1108,7 @@ def iot_hub_route_show(cmd, client, hub_name, route_name, resource_group_name=No def iot_hub_route_delete(cmd, client, hub_name, route_name=None, source_type=None, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) if not route_name and not source_type: hub.properties.routing.routes = [] @@ -1035,7 +1123,7 @@ def iot_hub_route_delete(cmd, client, hub_name, route_name=None, source_type=Non def iot_hub_route_update(cmd, client, hub_name, route_name, source_type=None, endpoint_name=None, enabled=None, condition=None, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) updated_route = next((route for route in hub.properties.routing.routes if route.name.lower() == route_name.lower()), None) @@ -1051,7 +1139,7 @@ def iot_hub_route_update(cmd, client, hub_name, route_name, source_type=None, en def iot_hub_route_test(cmd, client, hub_name, route_name=None, source_type=None, body=None, app_properties=None, system_properties=None, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) route_message = RoutingMessage( body=body, app_properties=app_properties, @@ -1075,7 +1163,7 @@ def iot_hub_route_test(cmd, client, hub_name, route_name=None, source_type=None, def iot_message_enrichment_create(cmd, client, hub_name, key, value, endpoints, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) if hub.properties.routing.enrichments is None: hub.properties.routing.enrichments = [] @@ -1084,7 +1172,7 @@ def iot_message_enrichment_create(cmd, client, hub_name, key, value, endpoints, def iot_message_enrichment_update(cmd, client, hub_name, key, value, endpoints, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) to_update = next((endpoint for endpoint in hub.properties.routing.enrichments if endpoint.key == key), None) if to_update: @@ -1096,7 +1184,7 @@ def iot_message_enrichment_update(cmd, client, hub_name, key, value, endpoints, def iot_message_enrichment_delete(cmd, client, hub_name, key, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) to_remove = next((endpoint for endpoint in hub.properties.routing.enrichments if endpoint.key == key), None) if to_remove: @@ -1106,14 +1194,14 @@ def iot_message_enrichment_delete(cmd, client, hub_name, key, resource_group_nam def iot_message_enrichment_list(cmd, client, hub_name, resource_group_name=None): - resource_group_name = _ensure_resource_group_name(client, resource_group_name, hub_name) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) hub = iot_hub_get(cmd, client, hub_name, resource_group_name) return hub.properties.routing.enrichments 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) + resource_group_name = _ensure_hub_resource_group_name(client, resource_group_name, hub_name) # DeviceStreams property is still in preview, so until GA we need to use a preview API-version 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) @@ -1142,11 +1230,10 @@ def _get_iot_hub_by_name(client, hub_name): return target_hub -def _ensure_location(cli_ctx, resource_group_name, location): - if location is None: - resource_group_client = resource_service_factory(cli_ctx).resource_groups - return resource_group_client.get(resource_group_name).location - return location +def _get_iot_hub_hostname(client, hub_name): + # Intermediate fix to support domains beyond azure-devices.net properly + hub = _get_iot_hub_by_name(client, hub_name) + return hub.properties.host_name def _ensure_resource_group_existence(cli_ctx, resource_group_name): @@ -1154,7 +1241,7 @@ def _ensure_resource_group_existence(cli_ctx, resource_group_name): return resource_group_client.check_existence(resource_group_name) -def _ensure_resource_group_name(client, resource_group_name, hub_name): +def _ensure_hub_resource_group_name(client, resource_group_name, hub_name): if resource_group_name is None: return _get_iot_hub_by_name(client, hub_name).additional_properties['resourcegroup'] return resource_group_name @@ -1201,8 +1288,14 @@ def _get_iot_dps_by_name(client, dps_name, resource_group=None): return target_dps +def _ensure_dps_resource_group_name(client, resource_group_name, dps_name): + if resource_group_name is None: + return _get_iot_dps_by_name(client, dps_name).additional_properties['resourcegroup'] + return resource_group_name + + def _check_dps_name_availability(iot_dps_resource, dps_name): - name_availability = iot_dps_resource.check_provisioning_service_name_availability(dps_name) + name_availability = iot_dps_resource.check_provisioning_service_name_availability(DpsOperationInputs(name=dps_name)) if name_availability is not None and not name_availability.name_available: raise CLIError(name_availability.message) @@ -1319,8 +1412,7 @@ def _ensure_location(cli_ctx, resource_group_name, location): :param str location: Location to create the resource """ if location is None: - resource_group_client = resource_service_factory( - cli_ctx).resource_groups + resource_group_client = resource_service_factory(cli_ctx).resource_groups return resource_group_client.get(resource_group_name).location return location 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 index e0f6e050d4b..1f255acc3a2 100644 --- 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 @@ -32,6 +32,10 @@ def _replace_string_keys(self, val): if 'secondaryKey' in val: val = re.sub(r'"secondaryKey":( ?)"([^"]+)"', r'"secondaryKey":"{}"' .format(MOCK_KEY), val, flags=re.IGNORECASE) + if any(['SharedAccessKey=' in val, 'sharedaccesskey=' in val]): + # Replaces live key with `mock_key` in `SharedAccessKey=live_key` or `sharedaccesskey=live_key` string response + val = re.sub(r'[S|s]hared[A|a]ccess[K|k]ey=([^\*].+=)', 'SharedAccessKey={}' + .format(MOCK_KEY), val, flags=re.IGNORECASE) return val # pylint: disable=no-self-use @@ -43,4 +47,8 @@ def _replace_byte_keys(self, val): if b'secondaryKey' in val: val = re.sub(b'"secondaryKey":( ?)"([^"]+)"', '"secondaryKey":"{}"' .format(MOCK_KEY).encode(), val, flags=re.IGNORECASE) + if any([b'SharedAccessKey=' in val, b'sharedaccesskey=' in val]): + # Replaces live key with `mock_key` in `SharedAccessKey=live_key` or `sharedaccesskey=live_key` byte response + val = re.sub(br'[S|s]hared[A|a]ccess[K|k]ey=([^\*].+=)', 'SharedAccessKey={}' + .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_dps_certificate_lifecycle.yaml b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_dps_certificate_lifecycle.yaml new file mode 100644 index 00000000000..f2e6c720bf0 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_dps_certificate_lifecycle.yaml @@ -0,0 +1,962 @@ +interactions: +- request: + body: '{"name": "dps000002"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps create + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkProvisioningServiceNameAvailability?api-version=2020-03-01 + response: + body: + string: '{"nameAvailable":true,"reason":"Invalid","message":null}' + headers: + cache-control: + - no-cache + content-length: + - '56' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:49: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 + 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 dps create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-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":"2021-12-10T18:49:51Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:49:54 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: '{"location": "westus", "properties": {}, "sku": {"name": "S1", "capacity": + 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps create + Connection: + - keep-alive + Content-Length: + - '78' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + 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":"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/aWQ9b3NfaWRfOTRkMjgyN2QtMmI1Zi00YjllLWJkZDAtMDI2MDAwMWUxMWU0O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '640' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:49:57 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfOTRkMjgyN2QtMmI1Zi00YjllLWJkZDAtMDI2MDAwMWUxMWU0O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50: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: + - iot dps create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAyzk08=","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":"0ne00457054"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps certificate create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --name -p + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates?api-version=2020-03-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlESFRDQ0FnV2dBd0lCQWdJSWNydFpOMXdkMkxZd0RRWUpLb1pJaHZjTkFRRUxCUUF3SXpFaE1COEdBMVVFDQpBd3dZVkVWVFZFTkZVbFJzZG1kcVltNTNhVzFxWjJGMlptRnZNQjRYRFRJeE1USXdPVEU0TlRBeU4xb1hEVEl4DQpNVEl4TXpFNE5UQXlOMW93SXpFaE1COEdBMVVFQXd3WVZFVlRWRU5GVWxSc2RtZHFZbTUzYVcxcVoyRjJabUZ2DQpNSUlCSVRBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE0QU1JSUJDUUtDQVFBOEUrbHJGY2pQU3UvQ2pyTlpIOE5aDQozKy9UT0ZIRG9sRjE5ZmJPTEZQYmtLZCtDMlVyYWJtNjl3Ulo2SWVEQ080VURkZUVpNzg2S2dhZ25LL1k5NndYDQp4aXJOcDBlc1RrV05VRFFjUFJoS1NJdFAwZkhUcytYek4yb0Q4bUsveVRwZVFudE05c29zYmxTdytaMHhaaWhJDQorTXc4OEo1OXNaOE1GL3Npem85RXU2czAwVzlSbGhweGM3am9Lb0EwcG9hYTd0K0ZOanV0ekxoUDhnZnNRczhvDQpzQWQvUjBhNWxDZEM3WWxJUmFJTmFXU2s4VVNPaW9USGlTUUtVb0k4aEhuRGtuemF6K0NpdUlWajk0T2E3RVM3DQpEaUxTaEFzQzJnQkkrK2haVkVCemh3dyt2Wm9BQ1MrV2hJOFFNWXRaUzBJQVlsUGNQbkprT1ZTOWVUMlhqVS94DQpBZ01CQUFHalZqQlVNQklHQTFVZEV3RUIvd1FJTUFZQkFmOENBUUV3SFFZRFZSME9CQllFRk5vNW8rNWVhMHNODQpNbFcvNzVWZ0dKQ3YyQWNKTUI4R0ExVWRJd1FZTUJhQUZObzVvKzVlYTBzTk1sVy83NVZnR0pDdjJBY0pNQTBHDQpDU3FHU0liM0RRRUJDd1VBQTRJQkFRQW8wUUZoNE56dk11dlFub2NBVW1NNjZxanRlK05ZNC9MSUhCcW1ZakFxDQpORlBmQTJ3RWtVRWVOQ0ZQWW5XVW9Pa0hjVUxqN1p5My84cDlZTGwrNnBEbkNEaUZXV2NMbHE0amhKNVIvOFVtDQprK3lzVE45Mm9MNW1FZTR2cHlybnBlckhjL3VwQllZQUwxekovQUx6anZ3RzZIQWxhU0NPNHhYVy85YUJuc2MxDQpIQW9ybm9SZEVNQkdXQmVzU1dlNWh0aHlKQlJ2ZHdzRXBLMEhVU3hsYndUc3c2dVFjZ3JYdmtZNnBrYndoUlp5DQp1ZlhEdThUanRlbGdIdk9WbXpHWWc3RW5INEJDNXlhdFVxUUI2S2M2ak1UdnlKMDgwNW1tVFRhQ1p6ZmIzdzBvDQpaV21GOGNraVBVMWdUUGkvUWJpRjZ5dUFCeHhibFlCS1h1aFlncng4UU5MVQ0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps certificate create + Connection: + - keep-alive + Content-Length: + - '1563' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --name -p + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003?api-version=2020-03-01 + response: + body: + string: '{"properties":{"subject":"TESTCERT000005","expiry":"Mon, 13 Dec 2021 + 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":false,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:29 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003","name":"certificate000003","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDA4NGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc1MDAwMCI="}' + headers: + cache-control: + - no-cache + content-length: + - '679' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + 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 dps certificate create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --name -p --verified + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates?api-version=2020-03-01 + response: + body: + string: '{"value":[{"properties":{"subject":"TESTCERT000005","expiry":"Mon, + 13 Dec 2021 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":false,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:29 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003","name":"certificate000003","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDA4NGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc1MDAwMCI="}]}' + headers: + cache-control: + - no-cache + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlESFRDQ0FnV2dBd0lCQWdJSWNydFpOMXdkMkxZd0RRWUpLb1pJaHZjTkFRRUxCUUF3SXpFaE1COEdBMVVFDQpBd3dZVkVWVFZFTkZVbFJzZG1kcVltNTNhVzFxWjJGMlptRnZNQjRYRFRJeE1USXdPVEU0TlRBeU4xb1hEVEl4DQpNVEl4TXpFNE5UQXlOMW93SXpFaE1COEdBMVVFQXd3WVZFVlRWRU5GVWxSc2RtZHFZbTUzYVcxcVoyRjJabUZ2DQpNSUlCSVRBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE0QU1JSUJDUUtDQVFBOEUrbHJGY2pQU3UvQ2pyTlpIOE5aDQozKy9UT0ZIRG9sRjE5ZmJPTEZQYmtLZCtDMlVyYWJtNjl3Ulo2SWVEQ080VURkZUVpNzg2S2dhZ25LL1k5NndYDQp4aXJOcDBlc1RrV05VRFFjUFJoS1NJdFAwZkhUcytYek4yb0Q4bUsveVRwZVFudE05c29zYmxTdytaMHhaaWhJDQorTXc4OEo1OXNaOE1GL3Npem85RXU2czAwVzlSbGhweGM3am9Lb0EwcG9hYTd0K0ZOanV0ekxoUDhnZnNRczhvDQpzQWQvUjBhNWxDZEM3WWxJUmFJTmFXU2s4VVNPaW9USGlTUUtVb0k4aEhuRGtuemF6K0NpdUlWajk0T2E3RVM3DQpEaUxTaEFzQzJnQkkrK2haVkVCemh3dyt2Wm9BQ1MrV2hJOFFNWXRaUzBJQVlsUGNQbkprT1ZTOWVUMlhqVS94DQpBZ01CQUFHalZqQlVNQklHQTFVZEV3RUIvd1FJTUFZQkFmOENBUUV3SFFZRFZSME9CQllFRk5vNW8rNWVhMHNODQpNbFcvNzVWZ0dKQ3YyQWNKTUI4R0ExVWRJd1FZTUJhQUZObzVvKzVlYTBzTk1sVy83NVZnR0pDdjJBY0pNQTBHDQpDU3FHU0liM0RRRUJDd1VBQTRJQkFRQW8wUUZoNE56dk11dlFub2NBVW1NNjZxanRlK05ZNC9MSUhCcW1ZakFxDQpORlBmQTJ3RWtVRWVOQ0ZQWW5XVW9Pa0hjVUxqN1p5My84cDlZTGwrNnBEbkNEaUZXV2NMbHE0amhKNVIvOFVtDQprK3lzVE45Mm9MNW1FZTR2cHlybnBlckhjL3VwQllZQUwxekovQUx6anZ3RzZIQWxhU0NPNHhYVy85YUJuc2MxDQpIQW9ybm9SZEVNQkdXQmVzU1dlNWh0aHlKQlJ2ZHdzRXBLMEhVU3hsYndUc3c2dVFjZ3JYdmtZNnBrYndoUlp5DQp1ZlhEdThUanRlbGdIdk9WbXpHWWc3RW5INEJDNXlhdFVxUUI2S2M2ak1UdnlKMDgwNW1tVFRhQ1p6ZmIzdzBvDQpaV21GOGNraVBVMWdUUGkvUWJpRjZ5dUFCeHhibFlCS1h1aFlncng4UU5MVQ0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K", + "isVerified": true}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps certificate create + Connection: + - keep-alive + Content-Length: + - '1583' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --name -p --verified + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/verified-certificate-000004?api-version=2020-03-01 + response: + body: + string: '{"properties":{"subject":"TESTCERT000005","expiry":"Mon, 13 Dec 2021 + 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":true,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:30 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/verified-certificate-000004","name":"verified-certificate-000004","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDBhMGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc2MDAwMCI="}' + headers: + cache-control: + - no-cache + content-length: + - '734' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + 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 dps certificate list + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates?api-version=2020-03-01 + response: + body: + string: '{"value":[{"properties":{"subject":"TESTCERT000005","expiry":"Mon, + 13 Dec 2021 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":false,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:29 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003","name":"certificate000003","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDA4NGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc1MDAwMCI="},{"properties":{"subject":"TESTCERT000005","expiry":"Mon, + 13 Dec 2021 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":true,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:30 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/verified-certificate-000004","name":"verified-certificate-000004","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDBhMGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc2MDAwMCI="}]}' + headers: + cache-control: + - no-cache + content-length: + - '1426' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps certificate show + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003?api-version=2020-03-01 + response: + body: + string: '{"properties":{"subject":"TESTCERT000005","expiry":"Mon, 13 Dec 2021 + 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":false,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:29 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003","name":"certificate000003","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDA4NGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc1MDAwMCI="}' + headers: + cache-control: + - no-cache + content-length: + - '679' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps certificate update + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --name -p --etag + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates?api-version=2020-03-01 + response: + body: + string: '{"value":[{"properties":{"subject":"TESTCERT000005","expiry":"Mon, + 13 Dec 2021 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":false,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:29 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003","name":"certificate000003","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDA4NGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc1MDAwMCI="},{"properties":{"subject":"TESTCERT000005","expiry":"Mon, + 13 Dec 2021 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":true,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:30 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/verified-certificate-000004","name":"verified-certificate-000004","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDBhMGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc2MDAwMCI="}]}' + headers: + cache-control: + - no-cache + content-length: + - '1426' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50: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: '{"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlESFRDQ0FnV2dBd0lCQWdJSWNydFpOMXdkMkxZd0RRWUpLb1pJaHZjTkFRRUxCUUF3SXpFaE1COEdBMVVFDQpBd3dZVkVWVFZFTkZVbFJzZG1kcVltNTNhVzFxWjJGMlptRnZNQjRYRFRJeE1USXdPVEU0TlRBeU4xb1hEVEl4DQpNVEl4TXpFNE5UQXlOMW93SXpFaE1COEdBMVVFQXd3WVZFVlRWRU5GVWxSc2RtZHFZbTUzYVcxcVoyRjJabUZ2DQpNSUlCSVRBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE0QU1JSUJDUUtDQVFBOEUrbHJGY2pQU3UvQ2pyTlpIOE5aDQozKy9UT0ZIRG9sRjE5ZmJPTEZQYmtLZCtDMlVyYWJtNjl3Ulo2SWVEQ080VURkZUVpNzg2S2dhZ25LL1k5NndYDQp4aXJOcDBlc1RrV05VRFFjUFJoS1NJdFAwZkhUcytYek4yb0Q4bUsveVRwZVFudE05c29zYmxTdytaMHhaaWhJDQorTXc4OEo1OXNaOE1GL3Npem85RXU2czAwVzlSbGhweGM3am9Lb0EwcG9hYTd0K0ZOanV0ekxoUDhnZnNRczhvDQpzQWQvUjBhNWxDZEM3WWxJUmFJTmFXU2s4VVNPaW9USGlTUUtVb0k4aEhuRGtuemF6K0NpdUlWajk0T2E3RVM3DQpEaUxTaEFzQzJnQkkrK2haVkVCemh3dyt2Wm9BQ1MrV2hJOFFNWXRaUzBJQVlsUGNQbkprT1ZTOWVUMlhqVS94DQpBZ01CQUFHalZqQlVNQklHQTFVZEV3RUIvd1FJTUFZQkFmOENBUUV3SFFZRFZSME9CQllFRk5vNW8rNWVhMHNODQpNbFcvNzVWZ0dKQ3YyQWNKTUI4R0ExVWRJd1FZTUJhQUZObzVvKzVlYTBzTk1sVy83NVZnR0pDdjJBY0pNQTBHDQpDU3FHU0liM0RRRUJDd1VBQTRJQkFRQW8wUUZoNE56dk11dlFub2NBVW1NNjZxanRlK05ZNC9MSUhCcW1ZakFxDQpORlBmQTJ3RWtVRWVOQ0ZQWW5XVW9Pa0hjVUxqN1p5My84cDlZTGwrNnBEbkNEaUZXV2NMbHE0amhKNVIvOFVtDQprK3lzVE45Mm9MNW1FZTR2cHlybnBlckhjL3VwQllZQUwxekovQUx6anZ3RzZIQWxhU0NPNHhYVy85YUJuc2MxDQpIQW9ybm9SZEVNQkdXQmVzU1dlNWh0aHlKQlJ2ZHdzRXBLMEhVU3hsYndUc3c2dVFjZ3JYdmtZNnBrYndoUlp5DQp1ZlhEdThUanRlbGdIdk9WbXpHWWc3RW5INEJDNXlhdFVxUUI2S2M2ak1UdnlKMDgwNW1tVFRhQ1p6ZmIzdzBvDQpaV21GOGNraVBVMWdUUGkvUWJpRjZ5dUFCeHhibFlCS1h1aFlncng4UU5MVQ0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps certificate update + Connection: + - keep-alive + Content-Length: + - '1563' + Content-Type: + - application/json + If-Match: + - IjA4MDA4NGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc1MDAwMCI= + ParameterSetName: + - --dps-name -g --name -p --etag + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003?api-version=2020-03-01 + response: + body: + string: '{"properties":{"subject":"TESTCERT000005","expiry":"Mon, 13 Dec 2021 + 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":false,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:32 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003","name":"certificate000003","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDBmZGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc4MDAwMCI="}' + headers: + cache-control: + - no-cache + content-length: + - '679' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50: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 + 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 dps certificate generate-verification-code + Connection: + - keep-alive + Content-Length: + - '0' + If-Match: + - IjA4MDBmZGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc4MDAwMCI= + ParameterSetName: + - --dps-name -g -n --etag + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003/generateVerificationCode?api-version=2020-03-01 + response: + body: + string: '{"properties":{"verificationCode":"F929F402E5DAE0C6D7423F5A6F206C92B55C62F206E55C5C","subject":"TESTCERT000005","expiry":"Mon, + 13 Dec 2021 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":false,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:33 GMT","certificate":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlESFRDQ0FnV2dBd0lCQWdJSWNydFpOMXdkMkxZd0RRWUpLb1pJaHZjTkFRRUxCUUF3SXpFaE1COEdBMVVFDQpBd3dZVkVWVFZFTkZVbFJzZG1kcVltNTNhVzFxWjJGMlptRnZNQjRYRFRJeE1USXdPVEU0TlRBeU4xb1hEVEl4DQpNVEl4TXpFNE5UQXlOMW93SXpFaE1COEdBMVVFQXd3WVZFVlRWRU5GVWxSc2RtZHFZbTUzYVcxcVoyRjJabUZ2DQpNSUlCSVRBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE0QU1JSUJDUUtDQVFBOEUrbHJGY2pQU3UvQ2pyTlpIOE5aDQozKy9UT0ZIRG9sRjE5ZmJPTEZQYmtLZCtDMlVyYWJtNjl3Ulo2SWVEQ080VURkZUVpNzg2S2dhZ25LL1k5NndYDQp4aXJOcDBlc1RrV05VRFFjUFJoS1NJdFAwZkhUcytYek4yb0Q4bUsveVRwZVFudE05c29zYmxTdytaMHhaaWhJDQorTXc4OEo1OXNaOE1GL3Npem85RXU2czAwVzlSbGhweGM3am9Lb0EwcG9hYTd0K0ZOanV0ekxoUDhnZnNRczhvDQpzQWQvUjBhNWxDZEM3WWxJUmFJTmFXU2s4VVNPaW9USGlTUUtVb0k4aEhuRGtuemF6K0NpdUlWajk0T2E3RVM3DQpEaUxTaEFzQzJnQkkrK2haVkVCemh3dyt2Wm9BQ1MrV2hJOFFNWXRaUzBJQVlsUGNQbkprT1ZTOWVUMlhqVS94DQpBZ01CQUFHalZqQlVNQklHQTFVZEV3RUIvd1FJTUFZQkFmOENBUUV3SFFZRFZSME9CQllFRk5vNW8rNWVhMHNODQpNbFcvNzVWZ0dKQ3YyQWNKTUI4R0ExVWRJd1FZTUJhQUZObzVvKzVlYTBzTk1sVy83NVZnR0pDdjJBY0pNQTBHDQpDU3FHU0liM0RRRUJDd1VBQTRJQkFRQW8wUUZoNE56dk11dlFub2NBVW1NNjZxanRlK05ZNC9MSUhCcW1ZakFxDQpORlBmQTJ3RWtVRWVOQ0ZQWW5XVW9Pa0hjVUxqN1p5My84cDlZTGwrNnBEbkNEaUZXV2NMbHE0amhKNVIvOFVtDQprK3lzVE45Mm9MNW1FZTR2cHlybnBlckhjL3VwQllZQUwxekovQUx6anZ3RzZIQWxhU0NPNHhYVy85YUJuc2MxDQpIQW9ybm9SZEVNQkdXQmVzU1dlNWh0aHlKQlJ2ZHdzRXBLMEhVU3hsYndUc3c2dVFjZ3JYdmtZNnBrYndoUlp5DQp1ZlhEdThUanRlbGdIdk9WbXpHWWc3RW5INEJDNXlhdFVxUUI2S2M2ak1UdnlKMDgwNW1tVFRhQ1p6ZmIzdzBvDQpaV21GOGNraVBVMWdUUGkvUWJpRjZ5dUFCeHhibFlCS1h1aFlncng4UU5MVQ0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003","name":"certificate000003","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDAxOWM2LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc5MDAwMCI="}' + headers: + cache-control: + - no-cache + content-length: + - '2291' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50: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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: '{"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlEQWpDQ0FlcWdBd0lCQWdJSVlGNmNZalg3ejFFd0RRWUpLb1pJaHZjTkFRRUxCUUF3SXpFaE1COEdBMVVFDQpBd3dZVkVWVFZFTkZVbFJzZG1kcVltNTNhVzFxWjJGMlptRnZNQjRYRFRJeE1USXdPVEU0TlRBek0xb1hEVEl4DQpNVEl4TXpFNE5UQXpNMW93T3pFNU1EY0dBMVVFQXd3d1Jqa3lPVVkwTURKRk5VUkJSVEJETmtRM05ESXpSalZCDQpOa1l5TURaRE9USkNOVFZETmpKR01qQTJSVFUxUXpWRE1JSUJJVEFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUTRBDQpNSUlCQ1FLQ0FRQXcxK0ZHeXJJSWtpZWhaanh5RGViUG0zNTdrRjUwZkxjNXRiNXp5dnpjNStDS0E0QkYyN1ZBDQpCd3YyT0VDUzRJV0hJZnUxU0liaHBpazFvaEpYNWlidWl4Y2JoR0lUKzBPMXlJYzZ3NjkrV3ZVSHlMVzB3TExaDQpKeDNlWmNMQmxGb3cxTEFCQmk5K2V5dUltUDNVUkVYaU85dENvN2svWlJLTGlNNGlSNXFldThvQjFUeHVHQy9MDQpNNmRzaG11ajd2OWNoamNXQjFMZUVUS3E5NkhrVmFtVzU2QTJsWUFGV3hxL1ZOQWNSR1IyWnc4OTYxVG5ibWtWDQp5bzdJYmg1eEN1Q1hkRGRYZTQ3MGVJOUNpUjdkRUhXS1pDT0NYOXpYaTVxYWhTSmllVDNGWUVZbU5PZGRUYXJmDQpRTkY0aEVUK2I3ajFQWWtFdXVVTFJVUnRhZ2E4SDBxM0FnTUJBQUdqSXpBaE1COEdBMVVkSXdRWU1CYUFGTm81DQpvKzVlYTBzTk1sVy83NVZnR0pDdjJBY0pNQTBHQ1NxR1NJYjNEUUVCQ3dVQUE0SUJBUUFxWDJqTGZrdVF0NEhxDQpzTFB0RklsK1M3VWtaUnZKMWt1czZBSjdGQmg4c0p6UVVLT2xnQmpLalZWaVI2Kzl6T3dKeVc1VjVWanBjb0JnDQpha2FWL3NtMkFsa3d6bGp4ZW15eGwxVjVTMHR4Rkw1Z0sxRmJoZTdPdGdEcVo0eW9rUEx0L05kYjNMVGdlTzM2DQpTWE9oSjZYVjhtdWRyc0JOcVN5T0FPaXc4MGVWWnFrYzlIM0xqZ0FTYjlGby9rRnNscWJZSW9aTXlCZ3RNT2FvDQpmdVZkWlJsL1Y3QW01Nk9HQWxJRnhpWE1HQWRuNHQvdndkZkdJTmpDdDZzMjdBWkh2ZEEyemxPa1ZFT09rbnlRDQpSNU9QR3V1UTR3ZmRxc3g5dWZtcFphOENibDNmNVlJWFIrWXl0NUhOd2czZmNUUERmNHJjUFpGZWpUa3Fnd3lCDQo2b2ZQSTJESg0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps certificate verify + Connection: + - keep-alive + Content-Length: + - '1515' + Content-Type: + - application/json + If-Match: + - IjA4MDAxOWM2LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc5MDAwMCI= + ParameterSetName: + - --dps-name -g -n -p --etag + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003/verify?api-version=2020-03-01 + response: + body: + string: '{"properties":{"subject":"TESTCERT000005","expiry":"Mon, 13 Dec 2021 + 18:50:27 GMT","thumbprint":"E4995F36D3F600599684D51EDD11821BEC2F1D94","isVerified":true,"created":"Mon, + 01 Jan 0001 00:00:00 GMT","updated":"Fri, 10 Dec 2021 18:50:34 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003","name":"certificate000003","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjA4MDAyN2M2LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTdhMDAwMCI="}' + headers: + cache-control: + - no-cache + content-length: + - '678' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50: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 + 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 dps certificate delete + Connection: + - keep-alive + Content-Length: + - '0' + If-Match: + - IjA4MDAyN2M2LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTdhMDAwMCI= + ParameterSetName: + - --dps-name -g --name --etag + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000003?api-version=2020-03-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 10 Dec 2021 18:50:35 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-deletes: + - '14999' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps certificate delete + Connection: + - keep-alive + Content-Length: + - '0' + If-Match: + - IjA4MDBhMGM1LTAwMDAtMDcwMC0wMDAwLTYxYjNhMTc2MDAwMCI= + ParameterSetName: + - --dps-name -g --name --etag + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/verified-certificate-000004?api-version=2020-03-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 10 Dec 2021 18:50:36 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-deletes: + - '14999' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfYjBhYTM2OTgtMWY1ZC00OTAwLWE4YjQtM2VjNDFmYWU1M2FkO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50:37 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfYjBhYTM2OTgtMWY1ZC00OTAwLWE4YjQtM2VjNDFmYWU1M2FkO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01 + 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 +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps delete + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfYjBhYTM2OTgtMWY1ZC00OTAwLWE4YjQtM2VjNDFmYWU1M2FkO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 18:50: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 +version: 1 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 5c512ab5796..d163f1390e4 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 @@ -1,2588 +1,38 @@ interactions: - request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot hub create - Connection: - - keep-alive - ParameterSetName: - - -n -g --sku - User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-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":"2021-08-26T15:11:20Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '428' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:11:22 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: '{"location": "westus", "properties": {"eventHubEndpoints": {"events": {"retentionTimeInDays": - 1, "partitionCount": 4}}, "storageEndpoints": {"$default": {"sasTtlAsIso8601": - "PT1H", "connectionString": "", "containerName": ""}}, "messagingEndpoints": - {"fileNotifications": {"lockDurationAsIso8601": "PT5S", "ttlAsIso8601": "PT1H", - "maxDeliveryCount": 10}}, "enableFileUploadNotifications": false, "cloudToDevice": - {"maxDeliveryCount": 10, "defaultTtlAsIso8601": "PT1H", "feedback": {"lockDurationAsIso8601": - "PT5S", "ttlAsIso8601": "PT1H", "maxDeliveryCount": 10}}}, "sku": {"name": "S1", - "capacity": 1}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot hub create - Connection: - - keep-alive - Content-Length: - - '603' - Content-Type: - - application/json - ParameterSetName: - - -n -g --sku - User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2021-07-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":"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":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMjY2NmZhYmItYTg1Mi00MzRiLTkzMTEtNDdhODIyYzY1Mzll?api-version=2021-07-01&operationSource=os_ih&asyncinfo - cache-control: - - no-cache - content-length: - - '1175' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:11:26 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: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - iot hub create - Connection: - - keep-alive - ParameterSetName: - - -n -g --sku - User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMjY2NmZhYmItYTg1Mi00MzRiLTkzMTEtNDdhODIyYzY1Mzll?api-version=2021-07-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: - - Thu, 26 Aug 2021 15:11: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: - - iot hub create - Connection: - - keep-alive - ParameterSetName: - - -n -g --sku - User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMjY2NmZhYmItYTg1Mi00MzRiLTkzMTEtNDdhODIyYzY1Mzll?api-version=2021-07-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: - - Thu, 26 Aug 2021 15:12: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: - - iot hub create - Connection: - - keep-alive - ParameterSetName: - - -n -g --sku - User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMjY2NmZhYmItYTg1Mi00MzRiLTkzMTEtNDdhODIyYzY1Mzll?api-version=2021-07-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: - - Thu, 26 Aug 2021 15:12: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: - - iot hub create - Connection: - - keep-alive - ParameterSetName: - - -n -g --sku - User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfMjY2NmZhYmItYTg1Mi00MzRiLTkzMTEtNDdhODIyYzY1Mzll?api-version=2021-07-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: - - Thu, 26 Aug 2021 15:13: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: - - iot hub create - Connection: - - keep-alive - ParameterSetName: - - -n -g --sku - User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2021-07-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":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAADFdLbzo=","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-iotyhu3u27-14480885-efb72fba0a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}' - headers: - cache-control: - - no-cache - content-length: - - '1706' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:13: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: '{"name": "dps000002"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps create - Connection: - - keep-alive - Content-Length: - - '32' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n --tags - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkProvisioningServiceNameAvailability?api-version=2020-03-01 - response: - body: - string: '{"nameAvailable":true,"reason":"Invalid","message":null}' - headers: - cache-control: - - no-cache - content-length: - - '56' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:13: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 - 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 dps create - Connection: - - keep-alive - ParameterSetName: - - -g -n --tags - User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-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":"2021-08-26T15:11:20Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '428' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:13:27 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: '{"location": "westus", "tags": {"key1": "value1", "key2": "value2"}, "properties": - {}, "sku": {"name": "S1", "capacity": 1}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps create - Connection: - - keep-alive - Content-Length: - - '124' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n --tags - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - 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":"a386d5ea-ea90-441a-8263-d816368c84a1","tags":{"key1":"value1","key2":"value2"},"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/b3NfaWRfMzczZWY5NzEtNDgyMi00ZDBkLWEyODItOWQ3OWFhOGYwOWJj?api-version=2020-03-01&asyncinfo - cache-control: - - no-cache - content-length: - - '671' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:13:30 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 dps create - Connection: - - keep-alive - ParameterSetName: - - -g -n --tags - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfMzczZWY5NzEtNDgyMi00ZDBkLWEyODItOWQ3OWFhOGYwOWJj?api-version=2020-03-01&asyncinfo - response: - body: - string: '{"status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '22' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:14: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps create - Connection: - - keep-alive - ParameterSetName: - - -g -n --tags - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0V1Q=","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":"0ne0038C4BB"},"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":{"key1":"value1","key2":"value2"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' - headers: - cache-control: - - no-cache - content-length: - - '863' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:14: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"value":[{"etag":"AAAAAAr0V1Q=","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":"0ne0038C4BB"},"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":{"key1":"value1","key2":"value2"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' - headers: - cache-control: - - no-cache - content-length: - - '875' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:14: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0V1Q=","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":"0ne0038C4BB"},"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":{"key1":"value1","key2":"value2"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' - headers: - cache-control: - - no-cache - content-length: - - '863' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:14: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps update - Connection: - - keep-alive - ParameterSetName: - - -g -n --tags --set - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0V1Q=","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":"0ne0038C4BB"},"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":{"key1":"value1","key2":"value2"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' - headers: - cache-control: - - no-cache - content-length: - - '863' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:14:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "westus", "tags": {"key3": "value3"}, "etag": "AAAAAAr0V1Q=", - "properties": {"state": "Active", "provisioningState": "Succeeded", "iotHubs": - [], "allocationPolicy": "GeoLatency"}, "sku": {"name": "S1", "capacity": 1}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps update - Connection: - - keep-alive - Content-Length: - - '230' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n --tags --set - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0V1Q=","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":{"key3":"value3"},"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/b3NfaWRfZTk2YzM5MWItNjEwYi00ZDIyLWJjNDctNjdlMTc2Njg4NTQ5?api-version=2020-03-01&asyncinfo - cache-control: - - no-cache - content-length: - - '697' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:14:05 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 dps update - Connection: - - keep-alive - ParameterSetName: - - -g -n --tags --set - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZTk2YzM5MWItNjEwYi00ZDIyLWJjNDctNjdlMTc2Njg4NTQ5?api-version=2020-03-01&asyncinfo - response: - body: - string: '{"status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '22' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:14:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps update - Connection: - - keep-alive - ParameterSetName: - - -g -n --tags --set - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0V64=","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":"0ne0038C4BB"},"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":{"key3":"value3"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' - headers: - cache-control: - - no-cache - content-length: - - '851' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:14:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps update - Connection: - - keep-alive - ParameterSetName: - - -g -n --tags - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0V64=","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":"0ne0038C4BB"},"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":{"key3":"value3"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' - headers: - cache-control: - - no-cache - content-length: - - '851' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:14: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: '{"location": "westus", "tags": {}, "etag": "AAAAAAr0V64=", "properties": - {"state": "Active", "provisioningState": "Succeeded", "iotHubs": [], "allocationPolicy": - "GeoLatency"}, "sku": {"name": "S1", "capacity": 1}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps update - Connection: - - keep-alive - Content-Length: - - '214' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n --tags - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0V64=","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/b3NfaWRfMTgyMmY4NzktNzgwMi00NTcwLWE5MjYtZjQyMDkwYjU2Mjdi?api-version=2020-03-01&asyncinfo - cache-control: - - no-cache - content-length: - - '682' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:14:38 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 dps update - Connection: - - keep-alive - ParameterSetName: - - -g -n --tags - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfMTgyMmY4NzktNzgwMi00NTcwLWE5MjYtZjQyMDkwYjU2Mjdi?api-version=2020-03-01&asyncinfo - response: - body: - string: '{"status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '22' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps update - Connection: - - keep-alive - ParameterSetName: - - -g -n --tags - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0WAc=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy create - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0WAc=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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 dps access-policy create - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=","secondaryKey":"vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"}]}' - headers: - cache-control: - - no-cache - content-length: - - '229' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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 - 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 dps access-policy create - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0WAc=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": - "GeoLatency", "authorizationPolicies": [{"keyName": "provisioningserviceowner", - "primaryKey": "ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=", "secondaryKey": - "vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=", "rights": "ServiceConfig, DeviceConnect, - EnrollmentWrite"}, {"keyName": "policy000004", "rights": "EnrollmentRead"}]}, - "sku": {"name": "S1", "capacity": 1}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy create - Connection: - - keep-alive - Content-Length: - - '443' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null,"authorizationPolicies":[{"keyName":"provisioningserviceowner","primaryKey":"ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=","secondaryKey":"vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"F3DyvZDO2WOC6vvdN5AeMLovRNQBFJ+hBF63J/TAzT4=","secondaryKey":"Ltx1brCdMaiARDmY0DxIKjBeooMDSMjReQuHCrW7Rmc=","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/b3NfaWRfYjJkYzI1NWYtMDU2YS00OGFiLWEzODYtMjYxNmEwODcwNzQ1?api-version=2020-03-01&asyncinfo - cache-control: - - no-cache - content-length: - - '1087' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15:11 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 dps access-policy create - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfYjJkYzI1NWYtMDU2YS00OGFiLWEzODYtMjYxNmEwODcwNzQ1?api-version=2020-03-01&asyncinfo - response: - body: - string: '{"status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '22' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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 dps access-policy create - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0WKg=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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 dps access-policy create - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0WKg=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy create - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"keyName":"policy000004","primaryKey":"F3DyvZDO2WOC6vvdN5AeMLovRNQBFJ+hBF63J/TAzT4=","secondaryKey":"Ltx1brCdMaiARDmY0DxIKjBeooMDSMjReQuHCrW7Rmc=","rights":"EnrollmentRead"}' - headers: - cache-control: - - no-cache - content-length: - - '182' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - 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 dps access-policy list - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0WKg=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy list - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g --dps-name - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=","secondaryKey":"vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"F3DyvZDO2WOC6vvdN5AeMLovRNQBFJ+hBF63J/TAzT4=","secondaryKey":"Ltx1brCdMaiARDmY0DxIKjBeooMDSMjReQuHCrW7Rmc=","rights":"EnrollmentRead"}]}' - headers: - cache-control: - - no-cache - content-length: - - '412' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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 - 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 dps access-policy show - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0WKg=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy show - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g --dps-name -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"keyName":"policy000004","primaryKey":"F3DyvZDO2WOC6vvdN5AeMLovRNQBFJ+hBF63J/TAzT4=","secondaryKey":"Ltx1brCdMaiARDmY0DxIKjBeooMDSMjReQuHCrW7Rmc=","rights":"EnrollmentRead"}' - headers: - cache-control: - - no-cache - content-length: - - '182' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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 - 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 dps access-policy update - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0WKg=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy update - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=","secondaryKey":"vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"F3DyvZDO2WOC6vvdN5AeMLovRNQBFJ+hBF63J/TAzT4=","secondaryKey":"Ltx1brCdMaiARDmY0DxIKjBeooMDSMjReQuHCrW7Rmc=","rights":"EnrollmentRead"}]}' - headers: - cache-control: - - no-cache - content-length: - - '412' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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 - 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 dps access-policy update - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0WKg=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15: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: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": - "GeoLatency", "authorizationPolicies": [{"keyName": "provisioningserviceowner", - "primaryKey": "ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=", "secondaryKey": - "vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=", "rights": "ServiceConfig, DeviceConnect, - EnrollmentWrite"}, {"keyName": "policy000004", "primaryKey": "F3DyvZDO2WOC6vvdN5AeMLovRNQBFJ+hBF63J/TAzT4=", - "secondaryKey": "Ltx1brCdMaiARDmY0DxIKjBeooMDSMjReQuHCrW7Rmc=", "rights": "EnrollmentWrite"}]}, - "sku": {"name": "S1", "capacity": 1}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy update - Connection: - - keep-alive - Content-Length: - - '570' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null,"authorizationPolicies":[{"keyName":"provisioningserviceowner","primaryKey":"ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=","secondaryKey":"vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"F3DyvZDO2WOC6vvdN5AeMLovRNQBFJ+hBF63J/TAzT4=","secondaryKey":"Ltx1brCdMaiARDmY0DxIKjBeooMDSMjReQuHCrW7Rmc=","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/b3NfaWRfNGRlNzc3MzEtYmZhOS00ZWQxLWFlY2ItOGVlYTI0NmYyNjM5?api-version=2020-03-01&asyncinfo - cache-control: - - no-cache - content-length: - - '1088' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:15:47 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 dps access-policy update - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfNGRlNzc3MzEtYmZhOS00ZWQxLWFlY2ItOGVlYTI0NmYyNjM5?api-version=2020-03-01&asyncinfo - response: - body: - string: '{"status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '22' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy update - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0Wx8=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy update - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0Wx8=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy update - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g --dps-name -n -r - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"keyName":"policy000004","primaryKey":"F3DyvZDO2WOC6vvdN5AeMLovRNQBFJ+hBF63J/TAzT4=","secondaryKey":"Ltx1brCdMaiARDmY0DxIKjBeooMDSMjReQuHCrW7Rmc=","rights":"EnrollmentWrite"}' - headers: - cache-control: - - no-cache - content-length: - - '183' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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 - 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 dps access-policy delete - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0Wx8=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g --dps-name -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=","secondaryKey":"vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"},{"keyName":"policy000004","primaryKey":"F3DyvZDO2WOC6vvdN5AeMLovRNQBFJ+hBF63J/TAzT4=","secondaryKey":"Ltx1brCdMaiARDmY0DxIKjBeooMDSMjReQuHCrW7Rmc=","rights":"EnrollmentWrite"}]}' - headers: - cache-control: - - no-cache - content-length: - - '413' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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 - 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 dps access-policy delete - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0Wx8=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": - "GeoLatency", "authorizationPolicies": [{"keyName": "provisioningserviceowner", - "primaryKey": "ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=", "secondaryKey": - "vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=", "rights": "ServiceConfig, DeviceConnect, - EnrollmentWrite"}]}, "sku": {"name": "S1", "capacity": 1}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps access-policy delete - Connection: - - keep-alive - Content-Length: - - '378' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g --dps-name -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null,"authorizationPolicies":[{"keyName":"provisioningserviceowner","primaryKey":"ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=","secondaryKey":"vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=","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/b3NfaWRfODgyNzIxMDItNzE3OC00M2Y1LWI2YmEtOGNmNDU0YjFjNTJm?api-version=2020-03-01&asyncinfo - cache-control: - - no-cache - content-length: - - '904' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16:21 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 dps access-policy delete - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfODgyNzIxMDItNzE3OC00M2Y1LWI2YmEtOGNmNDU0YjFjNTJm?api-version=2020-03-01&asyncinfo - response: - body: - string: '{"status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '22' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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 dps access-policy delete - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0Xag=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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 dps access-policy delete - Connection: - - keep-alive - ParameterSetName: - - -g --dps-name -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0Xag=","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":"0ne0038C4BB"},"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 - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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 dps access-policy delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g --dps-name -n - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"ZcEaNSDujzDvzdwSTcnnLRM2G1Pl5+0q+fDf7830Www=","secondaryKey":"vCOLPnRPX2ci0ULz+BKOzUNUklK3IoIZ3Yk9vSelgNQ=","rights":"ServiceConfig, - DeviceConnect, EnrollmentWrite"}]}' - headers: - cache-control: - - no-cache - content-length: - - '229' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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 - 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 dps certificate create - Connection: - - keep-alive - ParameterSetName: - - --dps-name -g --name -p - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"value":[]}' - headers: - cache-control: - - no-cache - content-length: - - '12' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:16: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: '{"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlESFRDQ0FnV2dBd0lCQWdJSUh3QWpuVDdJREhZd0RRWUpLb1pJaHZjTkFRRUxCUUF3SXpFaE1COEdBMVVFDQpBd3dZVkVWVFZFTkZVbFJ0TTNKbVkyTjRiV2R6ZVhadVlYcHpNQjRYRFRJeE1EZ3lOVEUxTVRZMU1sb1hEVEl4DQpNRGd5T1RFMU1UWTFNbG93SXpFaE1COEdBMVVFQXd3WVZFVlRWRU5GVWxSdE0zSm1ZMk40YldkemVYWnVZWHB6DQpNSUlCSVRBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE0QU1JSUJDUUtDQVFBNDZVaE1SYjgxOW9vYUkyNStvWi9JDQp0VVZ1QS9nVE9OV3NESW1wN0wyeHJuWUsvbU1HYVdTV1FhNnF0V3UyNGdJL3gwV2grUVVmT0hLOTVPTFI1OUNuDQp4TUIxTGs2Y3gxL0lSbFhzMC9VblNaWUsra2RzVkhIQTlkRjgvREFSWWhIWlA3TWN6ZGhYRzNnVVg0MVNyYmJ6DQpVcFR0OFlUdUhuU2VwWUUzNDA2SnNqa3k2UlFudzJDcFB2eWtHckdLNFNYR0hTUlZEWXJXeklVZzl1K0tNdkZ3DQo4RFZnOE00dW1PWUNUYkpPZis2WFIxSzJmWmlPSUN0cWwwSWZHb0pjTEszOVlWN1BzQmttL2x5T2d0T0xEeDJhDQp1N3FTZFczYlNNYytLampQeVFtQUE4UXVDSnQ3Ti8yR2tkNU5uUW04eHdORVdOd0JVWXgveDhIMFRabldPbzY1DQpBZ01CQUFHalZqQlVNQklHQTFVZEV3RUIvd1FJTUFZQkFmOENBUUV3SFFZRFZSME9CQllFRk5vNW8rNWVhMHNODQpNbFcvNzVWZ0dKQ3YyQWNKTUI4R0ExVWRJd1FZTUJhQUZObzVvKzVlYTBzTk1sVy83NVZnR0pDdjJBY0pNQTBHDQpDU3FHU0liM0RRRUJDd1VBQTRJQkFRQVNXaUwwZVVUWjVkbHVhb29UQzMwTDVUZzRPUzZPei9Xc09nVGZDcGxVDQp0Lzk2TWJYU3IzUndPa1lIUEtyTlFiRmNOSWpRa2RIWXMrNWtWUlpqTUpMU29ZY1VUNWM1TU8rcGZDMTlYUjZGDQpwZ1NtbkZ3eWdjRTVGWURqRWJZZlR1T2lpNnJaMkRRTVBUaE9YK0FNZzFKSHBER0taSDlKaFRsT1UvR2MyTWt5DQpaUEhvak1RemI0ZjQ4d0VyR2Z5VzhDZEJsdEI4MzRTdVY4aHNKb3hyVGpOTkZYa0lna3lMUGowSVhaaTJwSHFiDQpPd3Q1SmdHeGRZMUYxMW41c0J5ZkZaT2ExbjBjODNzL3Vqeko3eTBEZVJrU1NFUFZCTE56dkplRmxRcDkwa1hqDQp0c3BTNHlMYlRoRjVNK1I2Sm5vbVA5UzF6NW82MVU2LzZJdldvdk0yK2JBVw0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K", - "isVerified": false}' + body: '{"name": "dps000002"}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - iot dps certificate create + - iot dps create Connection: - keep-alive Content-Length: - - '1584' + - '32' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --dps-name -g --name -p + - -g -n --tags User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkProvisioningServiceNameAvailability?api-version=2020-03-01 response: body: - string: '{"properties":{"subject":"TESTCERT000007","expiry":"Sun, 29 Aug 2021 - 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":false,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:54 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":"IjAwMDA5YzE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY2MDAwMCI="}' + string: '{"nameAvailable":true,"reason":"Invalid","message":null}' headers: cache-control: - no-cache content-length: - - '679' + - '56' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:16:53 GMT + - Fri, 10 Dec 2021 18:52:50 GMT expires: - '-1' pragma: @@ -2610,42 +60,33 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps certificate create + - iot dps create Connection: - keep-alive ParameterSetName: - - --dps-name -g --name -p --verified + - -g -n --tags User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"value":[{"properties":{"subject":"TESTCERT000007","expiry":"Sun, - 29 Aug 2021 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":false,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:54 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":"IjAwMDA5YzE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY2MDAwMCI="}]}' + 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":"2021-12-10T18:52:48Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '691' + - '428' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:16:54 GMT + - Fri, 10 Dec 2021 18:52: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: @@ -2654,44 +95,42 @@ interactions: code: 200 message: OK - request: - body: '{"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlESFRDQ0FnV2dBd0lCQWdJSUh3QWpuVDdJREhZd0RRWUpLb1pJaHZjTkFRRUxCUUF3SXpFaE1COEdBMVVFDQpBd3dZVkVWVFZFTkZVbFJ0TTNKbVkyTjRiV2R6ZVhadVlYcHpNQjRYRFRJeE1EZ3lOVEUxTVRZMU1sb1hEVEl4DQpNRGd5T1RFMU1UWTFNbG93SXpFaE1COEdBMVVFQXd3WVZFVlRWRU5GVWxSdE0zSm1ZMk40YldkemVYWnVZWHB6DQpNSUlCSVRBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE0QU1JSUJDUUtDQVFBNDZVaE1SYjgxOW9vYUkyNStvWi9JDQp0VVZ1QS9nVE9OV3NESW1wN0wyeHJuWUsvbU1HYVdTV1FhNnF0V3UyNGdJL3gwV2grUVVmT0hLOTVPTFI1OUNuDQp4TUIxTGs2Y3gxL0lSbFhzMC9VblNaWUsra2RzVkhIQTlkRjgvREFSWWhIWlA3TWN6ZGhYRzNnVVg0MVNyYmJ6DQpVcFR0OFlUdUhuU2VwWUUzNDA2SnNqa3k2UlFudzJDcFB2eWtHckdLNFNYR0hTUlZEWXJXeklVZzl1K0tNdkZ3DQo4RFZnOE00dW1PWUNUYkpPZis2WFIxSzJmWmlPSUN0cWwwSWZHb0pjTEszOVlWN1BzQmttL2x5T2d0T0xEeDJhDQp1N3FTZFczYlNNYytLampQeVFtQUE4UXVDSnQ3Ti8yR2tkNU5uUW04eHdORVdOd0JVWXgveDhIMFRabldPbzY1DQpBZ01CQUFHalZqQlVNQklHQTFVZEV3RUIvd1FJTUFZQkFmOENBUUV3SFFZRFZSME9CQllFRk5vNW8rNWVhMHNODQpNbFcvNzVWZ0dKQ3YyQWNKTUI4R0ExVWRJd1FZTUJhQUZObzVvKzVlYTBzTk1sVy83NVZnR0pDdjJBY0pNQTBHDQpDU3FHU0liM0RRRUJDd1VBQTRJQkFRQVNXaUwwZVVUWjVkbHVhb29UQzMwTDVUZzRPUzZPei9Xc09nVGZDcGxVDQp0Lzk2TWJYU3IzUndPa1lIUEtyTlFiRmNOSWpRa2RIWXMrNWtWUlpqTUpMU29ZY1VUNWM1TU8rcGZDMTlYUjZGDQpwZ1NtbkZ3eWdjRTVGWURqRWJZZlR1T2lpNnJaMkRRTVBUaE9YK0FNZzFKSHBER0taSDlKaFRsT1UvR2MyTWt5DQpaUEhvak1RemI0ZjQ4d0VyR2Z5VzhDZEJsdEI4MzRTdVY4aHNKb3hyVGpOTkZYa0lna3lMUGowSVhaaTJwSHFiDQpPd3Q1SmdHeGRZMUYxMW41c0J5ZkZaT2ExbjBjODNzL3Vqeko3eTBEZVJrU1NFUFZCTE56dkplRmxRcDkwa1hqDQp0c3BTNHlMYlRoRjVNK1I2Sm5vbVA5UzF6NW82MVU2LzZJdldvdk0yK2JBVw0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K", - "isVerified": true}' + body: '{"location": "westus", "tags": {"key1": "value1", "key2": "value2"}, "properties": + {}, "sku": {"name": "S1", "capacity": 1}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - iot dps certificate create + - iot dps create Connection: - keep-alive Content-Length: - - '1583' + - '124' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --dps-name -g --name -p --verified + - -g -n --tags User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/verified-certificate-000006?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"properties":{"subject":"TESTCERT000007","expiry":"Sun, 29 Aug 2021 - 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":true,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:55 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/verified-certificate-000006","name":"verified-certificate-000006","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjAwMDA5ZDE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY3MDAwMCI="}' + 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":{"key1":"value1","key2":"value2"},"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/aWQ9b3NfaWRfNThjZWZmOTItYTE2Yi00NWY0LTllMzItYWFmZDAzZThkM2NhO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo cache-control: - no-cache content-length: - - '734' + - '671' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:16:55 GMT + - Fri, 10 Dec 2021 18:52:52 GMT expires: - '-1' pragma: @@ -2700,53 +139,43 @@ interactions: - 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' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '4999' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot dps certificate list + - iot dps create Connection: - keep-alive ParameterSetName: - - --dps-name -g + - -g -n --tags User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfNThjZWZmOTItYTE2Yi00NWY0LTllMzItYWFmZDAzZThkM2NhO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo response: body: - string: '{"value":[{"properties":{"subject":"TESTCERT000007","expiry":"Sun, - 29 Aug 2021 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":true,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:55 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/verified-certificate-000006","name":"verified-certificate-000006","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjAwMDA5ZDE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY3MDAwMCI="},{"properties":{"subject":"TESTCERT000007","expiry":"Sun, - 29 Aug 2021 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":false,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:54 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":"IjAwMDA5YzE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY2MDAwMCI="}]}' + string: '{"status":"Succeeded"}' headers: cache-control: - no-cache content-length: - - '1426' + - '22' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:16:55 GMT + - Fri, 10 Dec 2021 18:53:23 GMT expires: - '-1' pragma: @@ -2768,36 +197,32 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot dps certificate show + - iot dps create Connection: - keep-alive ParameterSetName: - - --dps-name -g --name + - -g -n --tags User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) 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=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"properties":{"subject":"TESTCERT000007","expiry":"Sun, 29 Aug 2021 - 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":false,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:54 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":"IjAwMDA5YzE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY2MDAwMCI="}' + string: '{"etag":"AAAAAAyzlJo=","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":"0ne0045705C"},"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":{"key1":"value1","key2":"value2"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache content-length: - - '679' + - '863' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:16:56 GMT + - Fri, 10 Dec 2021 18:53:23 GMT expires: - '-1' pragma: @@ -2823,34 +248,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps certificate update + - iot dps list Connection: - keep-alive ParameterSetName: - - --dps-name -g --name -p --etag + - -g User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices?api-version=2020-03-01 response: body: - string: '{"value":[{"properties":{"subject":"TESTCERT000007","expiry":"Sun, - 29 Aug 2021 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":true,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:55 GMT","certificate":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/verified-certificate-000006","name":"verified-certificate-000006","type":"Microsoft.Devices/provisioningServices/Certificates","etag":"IjAwMDA5ZDE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY3MDAwMCI="},{"properties":{"subject":"TESTCERT000007","expiry":"Sun, - 29 Aug 2021 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":false,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:54 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":"IjAwMDA5YzE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY2MDAwMCI="}]}' + string: '{"value":[{"etag":"AAAAAAyzlJo=","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":"0ne0045705C"},"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":{"key1":"value1","key2":"value2"},"sku":{"name":"S1","tier":"Standard","capacity":1}}]}' headers: cache-control: - no-cache content-length: - - '1426' + - '875' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:16:56 GMT + - Fri, 10 Dec 2021 18:53:24 GMT expires: - '-1' pragma: @@ -2869,46 +288,35 @@ interactions: code: 200 message: OK - request: - body: '{"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlESFRDQ0FnV2dBd0lCQWdJSUh3QWpuVDdJREhZd0RRWUpLb1pJaHZjTkFRRUxCUUF3SXpFaE1COEdBMVVFDQpBd3dZVkVWVFZFTkZVbFJ0TTNKbVkyTjRiV2R6ZVhadVlYcHpNQjRYRFRJeE1EZ3lOVEUxTVRZMU1sb1hEVEl4DQpNRGd5T1RFMU1UWTFNbG93SXpFaE1COEdBMVVFQXd3WVZFVlRWRU5GVWxSdE0zSm1ZMk40YldkemVYWnVZWHB6DQpNSUlCSVRBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE0QU1JSUJDUUtDQVFBNDZVaE1SYjgxOW9vYUkyNStvWi9JDQp0VVZ1QS9nVE9OV3NESW1wN0wyeHJuWUsvbU1HYVdTV1FhNnF0V3UyNGdJL3gwV2grUVVmT0hLOTVPTFI1OUNuDQp4TUIxTGs2Y3gxL0lSbFhzMC9VblNaWUsra2RzVkhIQTlkRjgvREFSWWhIWlA3TWN6ZGhYRzNnVVg0MVNyYmJ6DQpVcFR0OFlUdUhuU2VwWUUzNDA2SnNqa3k2UlFudzJDcFB2eWtHckdLNFNYR0hTUlZEWXJXeklVZzl1K0tNdkZ3DQo4RFZnOE00dW1PWUNUYkpPZis2WFIxSzJmWmlPSUN0cWwwSWZHb0pjTEszOVlWN1BzQmttL2x5T2d0T0xEeDJhDQp1N3FTZFczYlNNYytLampQeVFtQUE4UXVDSnQ3Ti8yR2tkNU5uUW04eHdORVdOd0JVWXgveDhIMFRabldPbzY1DQpBZ01CQUFHalZqQlVNQklHQTFVZEV3RUIvd1FJTUFZQkFmOENBUUV3SFFZRFZSME9CQllFRk5vNW8rNWVhMHNODQpNbFcvNzVWZ0dKQ3YyQWNKTUI4R0ExVWRJd1FZTUJhQUZObzVvKzVlYTBzTk1sVy83NVZnR0pDdjJBY0pNQTBHDQpDU3FHU0liM0RRRUJDd1VBQTRJQkFRQVNXaUwwZVVUWjVkbHVhb29UQzMwTDVUZzRPUzZPei9Xc09nVGZDcGxVDQp0Lzk2TWJYU3IzUndPa1lIUEtyTlFiRmNOSWpRa2RIWXMrNWtWUlpqTUpMU29ZY1VUNWM1TU8rcGZDMTlYUjZGDQpwZ1NtbkZ3eWdjRTVGWURqRWJZZlR1T2lpNnJaMkRRTVBUaE9YK0FNZzFKSHBER0taSDlKaFRsT1UvR2MyTWt5DQpaUEhvak1RemI0ZjQ4d0VyR2Z5VzhDZEJsdEI4MzRTdVY4aHNKb3hyVGpOTkZYa0lna3lMUGowSVhaaTJwSHFiDQpPd3Q1SmdHeGRZMUYxMW41c0J5ZkZaT2ExbjBjODNzL3Vqeko3eTBEZVJrU1NFUFZCTE56dkplRmxRcDkwa1hqDQp0c3BTNHlMYlRoRjVNK1I2Sm5vbVA5UzF6NW82MVU2LzZJdldvdk0yK2JBVw0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K", - "isVerified": false}' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - iot dps certificate update + - iot dps show Connection: - keep-alive - Content-Length: - - '1584' - Content-Type: - - application/json; charset=utf-8 - If-Match: - - IjAwMDA5YzE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY2MDAwMCI= ParameterSetName: - - --dps-name -g --name -p --etag + - -g -n User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"properties":{"subject":"TESTCERT000007","expiry":"Sun, 29 Aug 2021 - 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":false,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:57 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":"IjAwMDA5ZTE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY5MDAwMCI="}' + string: '{"etag":"AAAAAAyzlJo=","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":"0ne0045705C"},"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":{"key1":"value1","key2":"value2"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache content-length: - - '679' + - '863' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:16:57 GMT + - Fri, 10 Dec 2021 18:53:24 GMT expires: - '-1' pragma: @@ -2923,8 +331,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' status: code: 200 message: OK @@ -2936,36 +342,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps certificate generate-verification-code + - iot dps update Connection: - keep-alive - Content-Length: - - '0' - If-Match: - - IjAwMDA5ZTE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY5MDAwMCI= ParameterSetName: - - --dps-name -g -n --etag + - -g -n --tags --set User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"properties":{"verificationCode":"C104C5BC3E4FACF13DB05437237F36C49C6B2734C371AC66","subject":"TESTCERT000007","expiry":"Sun, - 29 Aug 2021 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":false,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:58 GMT","certificate":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlESFRDQ0FnV2dBd0lCQWdJSUh3QWpuVDdJREhZd0RRWUpLb1pJaHZjTkFRRUxCUUF3SXpFaE1COEdBMVVFDQpBd3dZVkVWVFZFTkZVbFJ0TTNKbVkyTjRiV2R6ZVhadVlYcHpNQjRYRFRJeE1EZ3lOVEUxTVRZMU1sb1hEVEl4DQpNRGd5T1RFMU1UWTFNbG93SXpFaE1COEdBMVVFQXd3WVZFVlRWRU5GVWxSdE0zSm1ZMk40YldkemVYWnVZWHB6DQpNSUlCSVRBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE0QU1JSUJDUUtDQVFBNDZVaE1SYjgxOW9vYUkyNStvWi9JDQp0VVZ1QS9nVE9OV3NESW1wN0wyeHJuWUsvbU1HYVdTV1FhNnF0V3UyNGdJL3gwV2grUVVmT0hLOTVPTFI1OUNuDQp4TUIxTGs2Y3gxL0lSbFhzMC9VblNaWUsra2RzVkhIQTlkRjgvREFSWWhIWlA3TWN6ZGhYRzNnVVg0MVNyYmJ6DQpVcFR0OFlUdUhuU2VwWUUzNDA2SnNqa3k2UlFudzJDcFB2eWtHckdLNFNYR0hTUlZEWXJXeklVZzl1K0tNdkZ3DQo4RFZnOE00dW1PWUNUYkpPZis2WFIxSzJmWmlPSUN0cWwwSWZHb0pjTEszOVlWN1BzQmttL2x5T2d0T0xEeDJhDQp1N3FTZFczYlNNYytLampQeVFtQUE4UXVDSnQ3Ti8yR2tkNU5uUW04eHdORVdOd0JVWXgveDhIMFRabldPbzY1DQpBZ01CQUFHalZqQlVNQklHQTFVZEV3RUIvd1FJTUFZQkFmOENBUUV3SFFZRFZSME9CQllFRk5vNW8rNWVhMHNODQpNbFcvNzVWZ0dKQ3YyQWNKTUI4R0ExVWRJd1FZTUJhQUZObzVvKzVlYTBzTk1sVy83NVZnR0pDdjJBY0pNQTBHDQpDU3FHU0liM0RRRUJDd1VBQTRJQkFRQVNXaUwwZVVUWjVkbHVhb29UQzMwTDVUZzRPUzZPei9Xc09nVGZDcGxVDQp0Lzk2TWJYU3IzUndPa1lIUEtyTlFiRmNOSWpRa2RIWXMrNWtWUlpqTUpMU29ZY1VUNWM1TU8rcGZDMTlYUjZGDQpwZ1NtbkZ3eWdjRTVGWURqRWJZZlR1T2lpNnJaMkRRTVBUaE9YK0FNZzFKSHBER0taSDlKaFRsT1UvR2MyTWt5DQpaUEhvak1RemI0ZjQ4d0VyR2Z5VzhDZEJsdEI4MzRTdVY4aHNKb3hyVGpOTkZYa0lna3lMUGowSVhaaTJwSHFiDQpPd3Q1SmdHeGRZMUYxMW41c0J5ZkZaT2ExbjBjODNzL3Vqeko3eTBEZVJrU1NFUFZCTE56dkplRmxRcDkwa1hqDQp0c3BTNHlMYlRoRjVNK1I2Sm5vbVA5UzF6NW82MVU2LzZJdldvdk0yK2JBVw0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K"},"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":"IjAwMDA5ZjE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDZhMDAwMCI="}' + string: '{"etag":"AAAAAAyzlJo=","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":"0ne0045705C"},"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":{"key1":"value1","key2":"value2"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache content-length: - - '2291' + - '863' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:16:57 GMT + - Fri, 10 Dec 2021 18:53:25 GMT expires: - '-1' pragma: @@ -2980,242 +378,47 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' status: code: 200 message: OK - request: - body: '{"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlEQWpDQ0FlcWdBd0lCQWdJSVI4MENNTElJK2Njd0RRWUpLb1pJaHZjTkFRRUxCUUF3SXpFaE1COEdBMVVFDQpBd3dZVkVWVFZFTkZVbFJ0TTNKbVkyTjRiV2R6ZVhadVlYcHpNQjRYRFRJeE1EZ3lOVEUxTVRZMU9Gb1hEVEl4DQpNRGd5T1RFMU1UWTFPRm93T3pFNU1EY0dBMVVFQXd3d1F6RXdORU0xUWtNelJUUkdRVU5HTVRORVFqQTFORE0zDQpNak0zUmpNMlF6UTVRelpDTWpjek5FTXpOekZCUXpZMk1JSUJJVEFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUTRBDQpNSUlCQ1FLQ0FRQXVEVzFhRi84ckNKUTJPZEw2amxmT2k0YjNGeUhTdW9aREhWaXJoaW92dXhxNVZmeFZTQnoyDQpPWVJBcUU0NmdjWmxvRll6cU1KWTdxc1BrRXpId0lnZVZTU0p1WnVtT1Q1WnNJZTQ3ekQ1WEZKK1NiSWZ6VXk1DQpSc1l1TFBvaERjYmZpK013ZTc5OHMzOE9DTjhXT0RETkpiMDdKTzBkU0xJNVhnanFZMlRyQ0d2ZXIxTVBwbGg0DQpkQ0Y1QmJwSm5Pb05XdEx2YkdYRE9BemRSSEdQOEVsSkdRMnhadGc2bFhDNGpmNDdScW9SZzdRcWRvV2ExNGRqDQoydUlBd2pDNlNzTGlDdDI2Ui83VmhBQ3BCbXVDekQ2bDZGdlpYblRZN1pSNUxzcnJYSmlsZmtzdlFVUTVIVlFqDQo4YVZKUlI0cW5XQW15QWRoMThrY3FZUE80VEZ0TXA0bEFnTUJBQUdqSXpBaE1COEdBMVVkSXdRWU1CYUFGTm81DQpvKzVlYTBzTk1sVy83NVZnR0pDdjJBY0pNQTBHQ1NxR1NJYjNEUUVCQ3dVQUE0SUJBUUFVc2RSVW5FTURvU3F0DQpTR2g2Z3o0WjQ3WVliRHJZS25PNTJ6Q2NvV3NKNkdBRmFUTURvMHFKSUw0Qkc2cnJESFl4OHhhVzI2V3YvUGtRDQpSdzFqdU5BY2hGRDk1TFV4N24yZS9aaUU4a283c0FmREFZclZEYnhSRlh0RXRCYWNIOFVQYXh6cmNQaUp3SVVIDQpTa09ISVAyN05XLzBENUIyZkFYVU84ZytLZGx6R0UrQnN5RUh1V1FFUjZVWG44S2h1OFUxZU5qVWxscEdTNFlmDQozcmVaYW02RkpxM213OFFLdHY5MnRRK0FoT2ZTbUpKQXpKeWU4dzR1R2VLRVFyc1Y2Y3RiN2dvaDNBL2lyQjdODQpNU0VidlM0NDExL0tGRUlQemxLN0pQMWNQNjFqS0NxVDZPc0t1ZFdlN0g5ZmJrMCtjTzV3dXMzb3NRaGd0bGJ0DQo4VEhYaGpTMw0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K"}' + body: '{"location": "westus", "tags": {"key3": "value3"}, "etag": "AAAAAAyzlJo=", + "properties": {"state": "Active", "provisioningState": "Succeeded", "iotHubs": + [], "allocationPolicy": "GeoLatency"}, "sku": {"name": "S1", "capacity": 1}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - iot dps certificate verify + - iot dps update Connection: - keep-alive Content-Length: - - '1515' + - '230' Content-Type: - - application/json; charset=utf-8 - If-Match: - - IjAwMDA5ZjE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDZhMDAwMCI= - ParameterSetName: - - --dps-name -g -n -p --etag - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 - response: - body: - string: '{"properties":{"subject":"TESTCERT000007","expiry":"Sun, 29 Aug 2021 - 15:16:52 GMT","thumbprint":"E322C8A4DEF172DE47D00EFFF07DAA49E03EC7AE","isVerified":true,"created":"Mon, - 01 Jan 0001 00:00:00 GMT","updated":"Thu, 26 Aug 2021 15:16:59 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":"IjAwMDBhMDE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDZiMDAwMCI="}' - headers: - cache-control: - - no-cache - content-length: - - '678' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:17: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 - 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 dps certificate delete - Connection: - - keep-alive - Content-Length: - - '0' - If-Match: - - IjAwMDBhMDE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDZiMDAwMCI= - ParameterSetName: - - --dps-name -g --name --etag - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/certificate000005?api-version=2020-03-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Thu, 26 Aug 2021 15:17:00 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-deletes: - - '14999' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot dps certificate delete - Connection: - - keep-alive - Content-Length: - - '0' - If-Match: - - IjAwMDA5ZDE1LTAwMDAtMDcwMC0wMDAwLTYxMjdiMDY3MDAwMCI= - ParameterSetName: - - --dps-name -g --name --etag - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/certificates/verified-certificate-000006?api-version=2020-03-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Thu, 26 Aug 2021 15:17:01 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-deletes: - - '14999' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - iot hub policy create - Connection: - - keep-alive ParameterSetName: - - --hub-name -n --permissions + - -g -n --tags --set User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?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":"AAAADFYz+Fg=","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},"identity":{"type":"None"}},{"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":"AAAADFaIOp8=","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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"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":"AAAADFYz9Zo=","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":{"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":"AAAADFZqMMI=","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":{"!iot-device-group-names":"[\"GameTheory\",\"group\"]"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFZqKmQ=","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","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFc4jNc=","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":"50.35.186.142","action":"Accept","ipMask":"50.35.186.142"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"0.0.0.1"},{"filterName":"50.35.186.142","action":"Allow","ipMask":"50.35.186.142"}]},"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":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"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","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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/az-cli-int-test-hub","name":"az-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFc339I=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"az-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"az-cli-int-test-hub","endpoint":"sb://iothub-ns-az-cli-int-3855542-409b4f955c.servicebus.windows.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=azcliintteststorage;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":"S2","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-int-test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/bebf70379ca0450eae172ba5c35999f8":{"clientId":"608056e3-48e6-45cc-8157-3134f58de32e","principalId":"43f58981-81a8-43a0-9378-4dfa0fab8bc7"}},"principalId":"9b65b924-1c7f-48bd-b167-fa8d1dfee86f"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFYzNUw=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rk-sb-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=queue-1","authenticationType":"keyBased","name":"jkljkljnklnkl","id":"774ab6c7-e9f4-477d-9c2d-94da7f69d3b3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","authenticationType":"keyBased","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFZ2D2Y=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"sjjskjks","id":"eab98a6f-969e-48b2-9551-49e0e16373a6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"endpoint11","id":"97b71269-fb64-4620-9d0d-7297b71042ec","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage1","id":"fd3771c8-eea9-434f-9080-01e326562e3e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType - = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id - = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType - = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Network/privateEndpoints/pe4"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast/PrivateEndpointConnections/rkesslerHubEast.bc9e0f3d-40b9-437e-bad6-4f3c20e8adf3","name":"rkesslerHubEast.bc9e0f3d-40b9-437e-bad6-4f3c20e8adf3","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"},{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Network/privateEndpoints/pe5"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast/PrivateEndpointConnections/rkesslerHubEast.5996b086-b93e-4570-86d8-44ea09534c27","name":"rkesslerHubEast.5996b086-b93e-4570-86d8-44ea09534c27","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"},{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Network/privateEndpoints/pe6"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast/PrivateEndpointConnections/rkesslerHubEast.b59c434a-c8bd-463b-970f-189c121b3fda","name":"rkesslerHubEast.b59c434a-c8bd-463b-970f-189c121b3fda","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFGcVik=","properties":{"locations":[{"location":"East - US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFZ2OVM=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled"},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFYzUX8=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFNzPRE=","properties":{"locations":[{"location":"North - Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFYzTLE=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFXqglE=","properties":{"locations":[{"location":"Central - US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADFc34j4=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFcm4bg=","properties":{"locations":[{"location":"East - US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFZ21mI=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFZ22qw=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADFaJA50=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.118.245.203","action":"Accept","ipMask":"73.118.245.203"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.118.245.203","action":"Allow","ipMask":"73.118.245.203"}]},"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFXpNGI=","properties":{"locations":[{"location":"Central - US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFXpNHs=","properties":{"locations":[{"location":"Central - US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"74cd35be-b1f2-4243-af40-7d157f8854a0"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFXpNGE=","properties":{"locations":[{"location":"Central - US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFaJG/8=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADFZ3WzA=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFYztDU=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFZ4iTQ=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-5fb9c3ad42.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-165fe57450d94ad19c5071981488b42c","name":"test-hub-165fe57450d94ad19c5071981488b42c","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFaOQbE=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-165fe57450d94ad19c5071981488b42c.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-165fe57450d94ad1","endpoint":"sb://iothub-ns-test-hub-1-14275378-d6edc5fe48.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFciK24=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"71.227.232.33","action":"Allow","ipMask":"71.227.232.33"}]},"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"endpointUri":"sb://rk-sb-namespace.servicebus.windows.net","entityPath":"queue-1","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"},"name":"sevicebusqueue","id":"db4f21e3-9efa-425d-848c-ff3cd9b10c2f","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[{"endpointUri":"sb://rk-sb-namespace.servicebus.windows.net","entityPath":"topic-1","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"},"name":"topic1","id":"608e18ca-633f-4940-b36e-587c84c7a9d9","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"},"name":"evnthub1","id":"c54f6a76-90ae-4a6f-9077-68bf62d5fa14","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","endpointUri":"https://rkiotstorage2.blob.core.windows.net/","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"},"name":"storage1","id":"e310b031-f67a-45f0-b87e-da46f31aac47","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;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"}}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test-2":{"clientId":"7ee8a73e-24bd-4681-963b-708239d7c5d9","principalId":"76ee23e0-7ab2-4ec6-99fa-1c9e9fb308a6"}},"principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/rbac-feature-testing","name":"rbac-feature-testing","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFcK1k0=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rbac-feature-testing.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rbac-feature-testing","endpoint":"sb://iothub-ns-rbac-featu-14407722-064fbee0f3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhub1","id":"b0af70f9-b7f4-4dac-8975-05ba907b8bf5","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"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=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"}}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"3cad9900-bae7-4b42-bf59-336a11912ede"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADFcJCo4=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-14408927-ffe1336049.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/rbacwnablehub","name":"rbacwnablehub","type":"Microsoft.Devices/IotHubs","location":"japaneast","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFc35Pg=","properties":{"locations":[{"location":"Japan - East","role":"primary"},{"location":"Japan West","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rbacwnablehub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rbacwnablehub","endpoint":"sb://iothub-ns-rbacwnable-14410608-f567325b3e.servicebus.windows.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=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"}}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test-2":{"clientId":"7ee8a73e-24bd-4681-963b-708239d7c5d9","principalId":"76ee23e0-7ab2-4ec6-99fa-1c9e9fb308a6"}}}},{"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":"AAAADFdLbzo=","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-iotyhu3u27-14480885-efb72fba0a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgw2b3krdiofoktkw2lwkrda2auc5yhphlatcvlp4ofbnfxdhi2pq6yinynmjrk6sme/providers/Microsoft.Devices/IotHubs/cli-file-upload-hubl5626ryj3qjuo","name":"cli-file-upload-hubl5626ryj3qjuo","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgw2b3krdiofoktkw2lwkrda2auc5yhphlatcvlp4ofbnfxdhi2pq6yinynmjrk6sme","etag":"AAAADFdLge0=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"cli-file-upload-hubl5626ryj3qjuo.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"cli-file-upload-hubl5626r","endpoint":"sb://iothub-ns-cli-file-u-14480892-397cdc5ab2.servicebus.windows.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=clitest7mtqgmiamswjdbv4p;AccountKey=****","containerName":"iothubcontainer1uqf533xu","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"51006a28-58e5-45c6-a7b4-c4a69f120468"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgrk4b4iw7nyzcdwt2yfdj4d4ryrhmbjuoqx3zapwcfnwrjlto2kmnzbbnzogvyoifz/providers/Microsoft.Devices/IotHubs/identitytesthubk7jikaw444ivatavt","name":"identitytesthubk7jikaw444ivatavt","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgrk4b4iw7nyzcdwt2yfdj4d4ryrhmbjuoqx3zapwcfnwrjlto2kmnzbbnzogvyoifz","etag":"AAAADFdLgko=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identitytesthubk7jikaw444ivatavt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identitytesthubk7jikaw444","endpoint":"sb://iothub-ns-identityte-14480893-0391b9ed7f.servicebus.windows.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=clitest55tulm7zgyh5sgnrw;AccountKey=****","containerName":"iothubcontainer","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT15S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rgrk4b4iw7nyzcdwt2yfdj4d4ryrhmbjuoqx3zapwcfnwrjlto2kmnzbbnzogvyoifz/providers/Microsoft.ManagedIdentity/userAssignedIdentities/iot-user-identity4trcxvqenyswukq":{"clientId":"3d968703-a761-4844-b5e9-f3228e2e81f2","principalId":"09a863fc-c9ce-42b1-aea9-29e4b13dd063"}},"principalId":"6cb8afa5-3fb6-4314-85c1-df2a49eb8bc9"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rginovwvndnz44wefa3qbo3pjxdxknk33oyhldh4lhstcauz4ujjqashahexwcn3fcu/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11mvy4jelo25iwj","name":"iot-hub-for-test-11mvy4jelo25iwj","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{"e":"f","g":"h"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rginovwvndnz44wefa3qbo3pjxdxknk33oyhldh4lhstcauz4ujjqashahexwcn3fcu","etag":"AAAADFdLg4c=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"iot-hub-for-test-11mvy4jelo25iwj.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11mvy4je","endpoint":"sb://iothub-ns-iot-hub-fo-14480920-1188260533.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=clitestbigk7iczzqr2f5mrr;AccountKey=****","containerName":"iothubcontainer173rtvopc"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT15S","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","disableLocalAuth":true,"disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + string: '{"etag":"AAAAAAyzlJo=","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":{"key3":"value3"},"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/aWQ9b3NfaWRfYTZhZjIwN2UtMzE5OS00MDUxLWFmMTEtMTUzOGRhYzAyYjA1O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo cache-control: - no-cache content-length: - - '76460' + - '697' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:17:07 GMT + - Fri, 10 Dec 2021 18:53:26 GMT expires: - '-1' pragma: @@ -3224,47 +427,43 @@ interactions: - 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: + - '4999' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot hub policy create + - iot dps update Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - - --hub-name -n --permissions + - -g -n --tags --set User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003/listkeys?api-version=2021-07-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfYTZhZjIwN2UtMzE5OS00MDUxLWFmMTEtMTUzOGRhYzAyYjA1O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo response: body: - string: '{"value":[{"keyName":"iothubowner","primaryKey":"dyobhj9kZLUex7dbX5UlQGx6DVm6CuykfrNdlP4EPxY=","secondaryKey":"R/NCTnUfhZSPJcrz21YuOsJgQ3dkpMHW3tg1L8gYnD4=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"N6v5ap7GMEY5Lv4KwyRqmKux03JJxtap2SZxP18rYQ8=","secondaryKey":"ZdG3DRBl4w3R5N4KGe7CBqX/Z4QI0sjSXQWnoKzqpwc=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"Ndoe7zcjuCCD6wFQmU9nZrr+85FocBdTbsF6ROOj3I4=","secondaryKey":"Q3+BLrYdjNDk5oZl09O+hi4sxSOUYYiuooE8WYiHO4w=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"r+zy52W+VQ3a9DxztM2Qa/9S16nO1fCUYnJUmZGqzUo=","secondaryKey":"oxAeRk6HdKBDuZfdz2TirDKBZUUYyLnK5AMl2GJQJ7s=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"xMNs77AaTuMwF0BWTA8uFQz762r11nlLRL7gVt/a8dg=","secondaryKey":"L/C5goY3Aal8H4wJpMbtLPPL57JRSwMHyCw1tcJRB44=","rights":"RegistryWrite"}]}' + string: '{"status":"Succeeded"}' headers: cache-control: - no-cache content-length: - - '905' + - '22' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:17:07 GMT + - Fri, 10 Dec 2021 18:53:56 GMT expires: - '-1' pragma: @@ -3279,76 +478,39 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' status: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "etag": "AAAADFdLbzo=", "properties": - {"authorizationPolicies": [{"keyName": "iothubowner", "primaryKey": "dyobhj9kZLUex7dbX5UlQGx6DVm6CuykfrNdlP4EPxY=", - "secondaryKey": "R/NCTnUfhZSPJcrz21YuOsJgQ3dkpMHW3tg1L8gYnD4=", "rights": "RegistryWrite, - ServiceConnect, DeviceConnect"}, {"keyName": "service", "primaryKey": "N6v5ap7GMEY5Lv4KwyRqmKux03JJxtap2SZxP18rYQ8=", - "secondaryKey": "ZdG3DRBl4w3R5N4KGe7CBqX/Z4QI0sjSXQWnoKzqpwc=", "rights": "ServiceConnect"}, - {"keyName": "device", "primaryKey": "Ndoe7zcjuCCD6wFQmU9nZrr+85FocBdTbsF6ROOj3I4=", - "secondaryKey": "Q3+BLrYdjNDk5oZl09O+hi4sxSOUYYiuooE8WYiHO4w=", "rights": "DeviceConnect"}, - {"keyName": "registryRead", "primaryKey": "r+zy52W+VQ3a9DxztM2Qa/9S16nO1fCUYnJUmZGqzUo=", - "secondaryKey": "oxAeRk6HdKBDuZfdz2TirDKBZUUYyLnK5AMl2GJQJ7s=", "rights": "RegistryRead"}, - {"keyName": "registryReadWrite", "primaryKey": "xMNs77AaTuMwF0BWTA8uFQz762r11nlLRL7gVt/a8dg=", - "secondaryKey": "L/C5goY3Aal8H4wJpMbtLPPL57JRSwMHyCw1tcJRB44=", "rights": "RegistryWrite"}, - {"keyName": "key000008", "rights": "RegistryWrite"}], "allowedFqdnList": [], - "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": - "PT5S", "ttlAsIso8601": "PT1H", "maxDeliveryCount": 10}}, "enableFileUploadNotifications": - false, "cloudToDevice": {"maxDeliveryCount": 10, "defaultTtlAsIso8601": "PT1H", - "feedback": {"lockDurationAsIso8601": "PT5S", "ttlAsIso8601": "PT1H", "maxDeliveryCount": - 10}}, "features": "None"}, "sku": {"name": "S1", "capacity": 1}, "identity": - {"type": "None"}}' + body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot hub policy create + - iot dps update Connection: - keep-alive - Content-Length: - - '2027' - Content-Type: - - application/json - If-Match: - - '{''IF-MATCH'': ''AAAADFdLbzo=''}' ParameterSetName: - - --hub-name -n --permissions + - -g -n --tags --set User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2021-07-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?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":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAADFdLbzo=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","authorizationPolicies":[{"keyName":"iothubowner","primaryKey":"dyobhj9kZLUex7dbX5UlQGx6DVm6CuykfrNdlP4EPxY=","secondaryKey":"R/NCTnUfhZSPJcrz21YuOsJgQ3dkpMHW3tg1L8gYnD4=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"},{"keyName":"service","primaryKey":"N6v5ap7GMEY5Lv4KwyRqmKux03JJxtap2SZxP18rYQ8=","secondaryKey":"ZdG3DRBl4w3R5N4KGe7CBqX/Z4QI0sjSXQWnoKzqpwc=","rights":"ServiceConnect"},{"keyName":"device","primaryKey":"Ndoe7zcjuCCD6wFQmU9nZrr+85FocBdTbsF6ROOj3I4=","secondaryKey":"Q3+BLrYdjNDk5oZl09O+hi4sxSOUYYiuooE8WYiHO4w=","rights":"DeviceConnect"},{"keyName":"registryRead","primaryKey":"r+zy52W+VQ3a9DxztM2Qa/9S16nO1fCUYnJUmZGqzUo=","secondaryKey":"oxAeRk6HdKBDuZfdz2TirDKBZUUYyLnK5AMl2GJQJ7s=","rights":"RegistryRead"},{"keyName":"registryReadWrite","primaryKey":"xMNs77AaTuMwF0BWTA8uFQz762r11nlLRL7gVt/a8dg=","secondaryKey":"L/C5goY3Aal8H4wJpMbtLPPL57JRSwMHyCw1tcJRB44=","rights":"RegistryWrite"},{"keyName":"key000008","primaryKey":"eC/KjilcVsZ2bwNj7UD5mjeA5VXrBHv8jjvpmFpebWc=","secondaryKey":"H7oD7wrv9bqneNvFK1mBRJhfHciQrhheVYbbDlE+9M0=","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-iotyhu3u27-14480885-efb72fba0a.servicebus.windows.net/","internalAuthorizationPolicies":[{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"scaleunitsend-160eb7c0-a1b1-4e8c-ab94-e183fd1bc09a-iothub","PrimaryKey":"WQFMYr7vV9mU0CZRMtXo51EB0NLH7wxAgPJo/6LDYLc=","SecondaryKey":"YN6wcmoW5d5yUVxTjiCUzoI7m5qAXanDQtI/69ZUG4w=","Rights":["Send"],"CreatedTime":"Thu, - 26 Aug 2021 15:12:48 GMT","ModifiedTime":"Thu, 26 Aug 2021 15:12:48 GMT"},{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"owner-f70247b9-7331-456d-acb0-e5247d0cbe84-iothub","PrimaryKey":"Bd2BQoUViHYCaR+gl6K88sJw2bpfOHOdTZccss03slE=","SecondaryKey":"nOKK3CW8Avxgoz9uhscQWcU8RdXrdXwezmcLA4KkVME=","Rights":["Listen","Manage","Send"],"CreatedTime":"Thu, - 26 Aug 2021 15:12:48 GMT","ModifiedTime":"Thu, 26 Aug 2021 15:12:48 GMT"}],"authorizationPolicies":[{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"iothubowner","PrimaryKey":"dyobhj9kZLUex7dbX5UlQGx6DVm6CuykfrNdlP4EPxY=","SecondaryKey":"R/NCTnUfhZSPJcrz21YuOsJgQ3dkpMHW3tg1L8gYnD4=","Rights":["Listen"],"CreatedTime":"Thu, - 26 Aug 2021 15:12:48 GMT","ModifiedTime":"Thu, 26 Aug 2021 15:12:48 GMT"},{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"service","PrimaryKey":"N6v5ap7GMEY5Lv4KwyRqmKux03JJxtap2SZxP18rYQ8=","SecondaryKey":"ZdG3DRBl4w3R5N4KGe7CBqX/Z4QI0sjSXQWnoKzqpwc=","Rights":["Listen"],"CreatedTime":"Thu, - 26 Aug 2021 15:12:48 GMT","ModifiedTime":"Thu, 26 Aug 2021 15:12:48 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[],"cosmosDBSqlCollections":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}' + string: '{"etag":"AAAAAAyzlNI=","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":"0ne0045705C"},"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":{"key3":"value3"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYzc5YmM0YmItNTBjOC00NjM0LTlmZGEtMWE5MGExZDI5ZTA1?api-version=2021-07-01&operationSource=os_ih&asyncinfo cache-control: - no-cache content-length: - - '4369' + - '851' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:17:10 GMT + - Fri, 10 Dec 2021 18:53:56 GMT expires: - '-1' pragma: @@ -3357,42 +519,45 @@ interactions: - 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: - - '4999' status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - iot hub policy create + - iot dps update Connection: - keep-alive ParameterSetName: - - --hub-name -n --permissions + - -g -n --tags User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/operationResults/b3NfaWhfYzc5YmM0YmItNTBjOC00NjM0LTlmZGEtMWE5MGExZDI5ZTA1?api-version=2021-07-01&operationSource=os_ih&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"status":"Succeeded"}' + string: '{"etag":"AAAAAAyzlNI=","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":"0ne0045705C"},"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":{"key3":"value3"},"sku":{"name":"S1","tier":"Standard","capacity":1}}' headers: cache-control: - no-cache content-length: - - '22' + - '851' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:17:40 GMT + - Fri, 10 Dec 2021 18:53:57 GMT expires: - '-1' pragma: @@ -3411,35 +576,43 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"location": "westus", "tags": {}, "etag": "AAAAAAyzlNI=", "properties": + {"state": "Active", "provisioningState": "Succeeded", "iotHubs": [], "allocationPolicy": + "GeoLatency"}, "sku": {"name": "S1", "capacity": 1}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - iot hub policy create + - iot dps update Connection: - keep-alive + Content-Length: + - '214' + Content-Type: + - application/json ParameterSetName: - - --hub-name -n --permissions + - -g -n --tags User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2021-07-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?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":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAADFdLhfY=","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-iotyhu3u27-14480885-efb72fba0a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}' + string: '{"etag":"AAAAAAyzlNI=","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/aWQ9b3NfaWRfNTE5YzlkNWUtZDYzNi00NDA5LTg3MTgtZjFkMjNmZmYyZTc3O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo cache-control: - no-cache content-length: - - '1706' + - '682' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:17:41 GMT + - Fri, 10 Dec 2021 18:53:59 GMT expires: - '-1' pragma: @@ -3448,47 +621,43 @@ interactions: - 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: + - '4999' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot hub show-connection-string + - iot dps update Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - - --name -g + - -g -n --tags User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - 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=2021-07-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfNTE5YzlkNWUtZDYzNi00NDA5LTg3MTgtZjFkMjNmZmYyZTc3O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo response: body: - string: '{"keyName":"iothubowner","primaryKey":"dyobhj9kZLUex7dbX5UlQGx6DVm6CuykfrNdlP4EPxY=","secondaryKey":"R/NCTnUfhZSPJcrz21YuOsJgQ3dkpMHW3tg1L8gYnD4=","rights":"RegistryWrite, - ServiceConnect, DeviceConnect"}' + string: '{"status":"Succeeded"}' headers: cache-control: - no-cache content-length: - - '203' + - '22' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:17:42 GMT + - Fri, 10 Dec 2021 18:54:29 GMT expires: - '-1' pragma: @@ -3503,8 +672,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' status: code: 200 message: OK @@ -3512,76 +679,32 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot hub show-connection-string + - iot dps update Connection: - keep-alive ParameterSetName: - - --name -g + - -g -n --tags User-Agent: - - AZURECLI/2.27.2 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?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":"AAAADFYz+Fg=","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},"identity":{"type":"None"}},{"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":"AAAADFaIOp8=","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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"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":"AAAADFYz9Zo=","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":{"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":"AAAADFZqMMI=","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":{"!iot-device-group-names":"[\"GameTheory\",\"group\"]"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFZqKmQ=","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","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFc4jNc=","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":"50.35.186.142","action":"Accept","ipMask":"50.35.186.142"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"0.0.0.1"},{"filterName":"50.35.186.142","action":"Allow","ipMask":"50.35.186.142"}]},"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":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"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","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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/az-cli-int-test-hub","name":"az-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFc339I=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"az-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"az-cli-int-test-hub","endpoint":"sb://iothub-ns-az-cli-int-3855542-409b4f955c.servicebus.windows.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=azcliintteststorage;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":"S2","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-int-test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/bebf70379ca0450eae172ba5c35999f8":{"clientId":"608056e3-48e6-45cc-8157-3134f58de32e","principalId":"43f58981-81a8-43a0-9378-4dfa0fab8bc7"}},"principalId":"9b65b924-1c7f-48bd-b167-fa8d1dfee86f"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFYzNUw=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://rk-sb-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=queue-1","authenticationType":"keyBased","name":"jkljkljnklnkl","id":"774ab6c7-e9f4-477d-9c2d-94da7f69d3b3","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","authenticationType":"keyBased","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFZ2D2Y=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"sjjskjks","id":"eab98a6f-969e-48b2-9551-49e0e16373a6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"endpoint11","id":"97b71269-fb64-4620-9d0d-7297b71042ec","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage1","id":"fd3771c8-eea9-434f-9080-01e326562e3e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType - = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id - = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType - = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Network/privateEndpoints/pe4"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast/PrivateEndpointConnections/rkesslerHubEast.bc9e0f3d-40b9-437e-bad6-4f3c20e8adf3","name":"rkesslerHubEast.bc9e0f3d-40b9-437e-bad6-4f3c20e8adf3","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"},{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Network/privateEndpoints/pe5"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast/PrivateEndpointConnections/rkesslerHubEast.5996b086-b93e-4570-86d8-44ea09534c27","name":"rkesslerHubEast.5996b086-b93e-4570-86d8-44ea09534c27","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"},{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Network/privateEndpoints/pe6"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast/PrivateEndpointConnections/rkesslerHubEast.b59c434a-c8bd-463b-970f-189c121b3fda","name":"rkesslerHubEast.b59c434a-c8bd-463b-970f-189c121b3fda","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFGcVik=","properties":{"locations":[{"location":"East - US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFZ2OVM=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled"},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFYzUX8=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFNzPRE=","properties":{"locations":[{"location":"North - Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFYzTLE=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFXqglE=","properties":{"locations":[{"location":"Central - US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADFc34j4=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFcm4bg=","properties":{"locations":[{"location":"East - US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFZ21mI=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFZ22qw=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADFaJA50=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.118.245.203","action":"Accept","ipMask":"73.118.245.203"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.118.245.203","action":"Allow","ipMask":"73.118.245.203"}]},"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFXpNGI=","properties":{"locations":[{"location":"Central - US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFXpNHs=","properties":{"locations":[{"location":"Central - US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"74cd35be-b1f2-4243-af40-7d157f8854a0"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFXpNGE=","properties":{"locations":[{"location":"Central - US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFaJG/8=","properties":{"locations":[{"location":"West - US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADFZ3WzA=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFYztDU=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFZ4iTQ=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-5fb9c3ad42.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-165fe57450d94ad19c5071981488b42c","name":"test-hub-165fe57450d94ad19c5071981488b42c","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFaOQbE=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-165fe57450d94ad19c5071981488b42c.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-165fe57450d94ad1","endpoint":"sb://iothub-ns-test-hub-1-14275378-d6edc5fe48.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFciK24=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"71.227.232.33","action":"Allow","ipMask":"71.227.232.33"}]},"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"endpointUri":"sb://rk-sb-namespace.servicebus.windows.net","entityPath":"queue-1","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"},"name":"sevicebusqueue","id":"db4f21e3-9efa-425d-848c-ff3cd9b10c2f","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"serviceBusTopics":[{"endpointUri":"sb://rk-sb-namespace.servicebus.windows.net","entityPath":"topic-1","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"},"name":"topic1","id":"608e18ca-633f-4940-b36e-587c84c7a9d9","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"},"name":"evnthub1","id":"c54f6a76-90ae-4a6f-9077-68bf62d5fa14","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","endpointUri":"https://rkiotstorage2.blob.core.windows.net/","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"},"name":"storage1","id":"e310b031-f67a-45f0-b87e-da46f31aac47","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;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"}}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test-2":{"clientId":"7ee8a73e-24bd-4681-963b-708239d7c5d9","principalId":"76ee23e0-7ab2-4ec6-99fa-1c9e9fb308a6"}},"principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/rbac-feature-testing","name":"rbac-feature-testing","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFcK1k0=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rbac-feature-testing.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rbac-feature-testing","endpoint":"sb://iothub-ns-rbac-featu-14407722-064fbee0f3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhub1","id":"b0af70f9-b7f4-4dac-8975-05ba907b8bf5","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"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=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"}}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"3cad9900-bae7-4b42-bf59-336a11912ede"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADFcJCo4=","properties":{"locations":[{"location":"East - US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-14408927-ffe1336049.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/rbacwnablehub","name":"rbacwnablehub","type":"Microsoft.Devices/IotHubs","location":"japaneast","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFc35Pg=","properties":{"locations":[{"location":"Japan - East","role":"primary"},{"location":"Japan West","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rbacwnablehub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rbacwnablehub","endpoint":"sb://iothub-ns-rbacwnable-14410608-f567325b3e.servicebus.windows.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=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test-2"}}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test-2":{"clientId":"7ee8a73e-24bd-4681-963b-708239d7c5d9","principalId":"76ee23e0-7ab2-4ec6-99fa-1c9e9fb308a6"}}}},{"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":"AAAADFdLhfY=","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-iotyhu3u27-14480885-efb72fba0a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgw2b3krdiofoktkw2lwkrda2auc5yhphlatcvlp4ofbnfxdhi2pq6yinynmjrk6sme/providers/Microsoft.Devices/IotHubs/cli-file-upload-hubl5626ryj3qjuo","name":"cli-file-upload-hubl5626ryj3qjuo","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgw2b3krdiofoktkw2lwkrda2auc5yhphlatcvlp4ofbnfxdhi2pq6yinynmjrk6sme","etag":"AAAADFdLhAY=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"cli-file-upload-hubl5626ryj3qjuo.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"cli-file-upload-hubl5626r","endpoint":"sb://iothub-ns-cli-file-u-14480892-397cdc5ab2.servicebus.windows.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=clitest7mtqgmiamswjdbv4p;AccountKey=****","containerName":"iothubcontainer1uqf533xu","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"51006a28-58e5-45c6-a7b4-c4a69f120468"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgrk4b4iw7nyzcdwt2yfdj4d4ryrhmbjuoqx3zapwcfnwrjlto2kmnzbbnzogvyoifz/providers/Microsoft.Devices/IotHubs/identitytesthubk7jikaw444ivatavt","name":"identitytesthubk7jikaw444ivatavt","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rgrk4b4iw7nyzcdwt2yfdj4d4ryrhmbjuoqx3zapwcfnwrjlto2kmnzbbnzogvyoifz","etag":"AAAADFdLhuQ=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"identitytesthubk7jikaw444ivatavt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"identitytesthubk7jikaw444","endpoint":"sb://iothub-ns-identityte-14480893-0391b9ed7f.servicebus.windows.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=clitest55tulm7zgyh5sgnrw;AccountKey=****","containerName":"iothubcontainer","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT15S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rgrk4b4iw7nyzcdwt2yfdj4d4ryrhmbjuoqx3zapwcfnwrjlto2kmnzbbnzogvyoifz/providers/Microsoft.ManagedIdentity/userAssignedIdentities/iot-user-identity4trcxvqenyswukq":{}},"principalId":"6cb8afa5-3fb6-4314-85c1-df2a49eb8bc9"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rginovwvndnz44wefa3qbo3pjxdxknk33oyhldh4lhstcauz4ujjqashahexwcn3fcu/providers/Microsoft.Devices/IotHubs/iot-hub-for-test-11mvy4jelo25iwj","name":"iot-hub-for-test-11mvy4jelo25iwj","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{"e":"f","g":"h"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rginovwvndnz44wefa3qbo3pjxdxknk33oyhldh4lhstcauz4ujjqashahexwcn3fcu","etag":"AAAADFdLg4c=","properties":{"locations":[{"location":"West - US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Transitioning","provisioningState":"Transitioning","ipFilterRules":[],"hostName":"iot-hub-for-test-11mvy4jelo25iwj.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":4,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-hub-for-test-11mvy4je","endpoint":"sb://iothub-ns-iot-hub-fo-14480920-1188260533.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=clitestbigk7iczzqr2f5mrr;AccountKey=****","containerName":"iothubcontainer173rtvopc"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT15S","ttlAsIso8601":"P1DT8H","maxDeliveryCount":80}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":46,"defaultTtlAsIso8601":"P1DT10H","feedback":{"lockDurationAsIso8601":"PT10S","ttlAsIso8601":"P1DT19H","maxDeliveryCount":76}},"features":"None","minTlsVersion":"1.2","disableLocalAuth":true,"disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + string: '{"etag":"AAAAAAyzlPg=","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":"0ne0045705C"},"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 content-length: - - '76347' + - '836' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:17:47 GMT + - Fri, 10 Dec 2021 18:54:30 GMT expires: - '-1' pragma: @@ -3607,30 +730,31 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub create + - iot dps policy create Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --dps-name -g --connection-string -l + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/listkeys?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0Xag=","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":"0ne0038C4BB"},"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}}' + string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"}]}' headers: cache-control: - no-cache content-length: - - '836' + - '229' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:17:47 GMT + - Fri, 10 Dec 2021 18:54:30 GMT expires: - '-1' pragma: @@ -3645,6 +769,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -3656,21 +782,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub create + - iot dps policy create Connection: - keep-alive ParameterSetName: - - --dps-name -g --connection-string -l + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0Xag=","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":"0ne0038C4BB"},"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}}' + string: '{"etag":"AAAAAAyzlPg=","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":"0ne0045705C"},"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 @@ -3679,7 +803,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:17:48 GMT + - Fri, 10 Dec 2021 18:54:30 GMT expires: - '-1' pragma: @@ -3698,46 +822,46 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"iotHubs": [{"connectionString": - "HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=dyobhj9kZLUex7dbX5UlQGx6DVm6CuykfrNdlP4EPxY=", - "location": "westus"}], "allocationPolicy": "GeoLatency"}, "sku": {"name": "S1", - "capacity": 1}}' + body: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": + "GeoLatency", "authorizationPolicies": [{"keyName": "provisioningserviceowner", + "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": "ServiceConfig, + DeviceConnect, EnrollmentWrite"}, {"keyName": "policy000003", "rights": "EnrollmentRead"}]}, + "sku": {"name": "S1", "capacity": 1}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub create + - iot dps policy create Connection: - keep-alive Content-Length: - - '311' + - '443' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --dps-name -g --connection-string -l + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 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=dyobhj9kZLUex7dbX5UlQGx6DVm6CuykfrNdlP4EPxY=","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}}' + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"allocationPolicy":"GeoLatency","idScope":null,"authorizationPolicies":[{"keyName":"provisioningserviceowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"},{"keyName":"policy000003","primaryKey":"mock_key","secondaryKey":"mock_key","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/b3NfaWRfOGRjMjI1YzAtN2FmZi00YjdjLTk2YjctMmRkZjU0NTMxMWM4?api-version=2020-03-01&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfMjk1NjZkYzktZWYyOC00NDlkLTlhZTQtODA3N2QwNGU5MjNjO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo cache-control: - no-cache content-length: - - '891' + - '1087' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:17:49 GMT + - Fri, 10 Dec 2021 18:54:31 GMT expires: - '-1' pragma: @@ -3757,20 +881,20 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub create + - iot dps policy create Connection: - keep-alive ParameterSetName: - - --dps-name -g --connection-string -l + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfOGRjMjI1YzAtN2FmZi00YjdjLTk2YjctMmRkZjU0NTMxMWM4?api-version=2020-03-01&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfMjk1NjZkYzktZWYyOC00NDlkLTlhZTQtODA3N2QwNGU5MjNjO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -3782,7 +906,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:20 GMT + - Fri, 10 Dec 2021 18:55:02 GMT expires: - '-1' pragma: @@ -3804,32 +928,32 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub create + - iot dps policy create Connection: - keep-alive ParameterSetName: - - --dps-name -g --connection-string -l + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YUc=","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":"0ne0038C4BB"},"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}}' + string: '{"etag":"AAAAAAyzlTE=","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":"0ne0045705C"},"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 content-length: - - '1027' + - '836' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:20 GMT + - Fri, 10 Dec 2021 18:55:03 GMT expires: - '-1' pragma: @@ -3855,30 +979,30 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub create + - iot dps policy create Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --dps-name -g --connection-string -l + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/keys/policy000003/listkeys?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YUc=","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":"0ne0038C4BB"},"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}}' + string: '{"keyName":"policy000003","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"EnrollmentRead"}' headers: cache-control: - no-cache content-length: - - '1027' + - '182' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:20 GMT + - Fri, 10 Dec 2021 18:55:03 GMT expires: - '-1' pragma: @@ -3893,6 +1017,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' status: code: 200 message: OK @@ -3904,30 +1030,31 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub list + - iot dps policy list Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --dps-name -g + - -g --dps-name User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/listkeys?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YUc=","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":"0ne0038C4BB"},"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}}' + string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"},{"keyName":"policy000003","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"EnrollmentRead"}]}' headers: cache-control: - no-cache content-length: - - '1027' + - '412' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:20 GMT + - Fri, 10 Dec 2021 18:55:03 GMT expires: - '-1' pragma: @@ -3942,6 +1069,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -3953,30 +1082,30 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub show + - iot dps policy show Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --dps-name -g --linked-hub + - -g --dps-name --pn User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/keys/policy000003/listkeys?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YUc=","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":"0ne0038C4BB"},"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}}' + string: '{"keyName":"policy000003","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"EnrollmentRead"}' headers: cache-control: - no-cache content-length: - - '1027' + - '182' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:21 GMT + - Fri, 10 Dec 2021 18:55:03 GMT expires: - '-1' pragma: @@ -3991,6 +1120,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -4002,30 +1133,31 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub update + - iot dps policy update Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/listkeys?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YUc=","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":"0ne0038C4BB"},"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}}' + string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"},{"keyName":"policy000003","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"EnrollmentRead"}]}' headers: cache-control: - no-cache content-length: - - '1027' + - '412' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:22 GMT + - Fri, 10 Dec 2021 18:55:04 GMT expires: - '-1' pragma: @@ -4040,6 +1172,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -4051,30 +1185,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub update + - iot dps policy update Connection: - keep-alive ParameterSetName: - - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YUc=","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":"0ne0038C4BB"},"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}}' + string: '{"etag":"AAAAAAyzlTE=","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":"0ne0045705C"},"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 content-length: - - '1027' + - '836' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:22 GMT + - Fri, 10 Dec 2021 18:55:04 GMT expires: - '-1' pragma: @@ -4093,9 +1225,11 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"iotHubs": [{"applyAllocationPolicy": - true, "allocationWeight": 10, "connectionString": "HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****", - "location": "westus"}], "allocationPolicy": "GeoLatency"}, "sku": {"name": "S1", + body: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": + "GeoLatency", "authorizationPolicies": [{"keyName": "provisioningserviceowner", + "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": "ServiceConfig, + DeviceConnect, EnrollmentWrite"}, {"keyName": "policy000003", "primaryKey":"mock_key", + "secondaryKey":"mock_key", "rights": "EnrollmentWrite"}]}, "sku": {"name": "S1", "capacity": 1}}' headers: Accept: @@ -4103,36 +1237,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub update + - iot dps policy update Connection: - keep-alive Content-Length: - - '326' + - '570' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 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":"a386d5ea-ea90-441a-8263-d816368c84a1","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":"mock_key","secondaryKey":"mock_key","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"},{"keyName":"policy000003","primaryKey":"mock_key","secondaryKey":"mock_key","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/b3NfaWRfNDJhYThmOGItNDUyZi00ZTEyLTkzMWYtMDlkYWI5NjdiNGMy?api-version=2020-03-01&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfYzA1Njk4MzItNTgyZC00YjgyLThhMzYtOTQxMjA0OTkwYjNmO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo cache-control: - no-cache content-length: - - '902' + - '1088' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:24 GMT + - Fri, 10 Dec 2021 18:55:06 GMT expires: - '-1' pragma: @@ -4152,20 +1285,20 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub update + - iot dps policy update Connection: - keep-alive ParameterSetName: - - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfNDJhYThmOGItNDUyZi00ZTEyLTkzMWYtMDlkYWI5NjdiNGMy?api-version=2020-03-01&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfYzA1Njk4MzItNTgyZC00YjgyLThhMzYtOTQxMjA0OTkwYjNmO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -4177,54 +1310,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18: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 dps linked-hub update - Connection: - - keep-alive - ParameterSetName: - - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy - User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 - response: - body: - string: '{"etag":"AAAAAAr0YaI=","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":"0ne0038C4BB"},"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 - content-length: - - '1078' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 26 Aug 2021 15:18:54 GMT + - Fri, 10 Dec 2021 18:55:36 GMT expires: - '-1' pragma: @@ -4246,34 +1332,32 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub update + - iot dps policy update Connection: - keep-alive ParameterSetName: - - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YaI=","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":"0ne0038C4BB"},"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}}' + string: '{"etag":"AAAAAAyzlXQ=","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":"0ne0045705C"},"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 content-length: - - '1078' + - '836' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:55 GMT + - Fri, 10 Dec 2021 18:55:36 GMT expires: - '-1' pragma: @@ -4299,30 +1383,30 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub show + - iot dps policy update Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --dps-name -g --linked-hub + - -g --dps-name --pn -r User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/keys/policy000003/listkeys?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YaI=","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":"0ne0038C4BB"},"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}}' + string: '{"keyName":"policy000003","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"EnrollmentWrite"}' headers: cache-control: - no-cache content-length: - - '1078' + - '183' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:56 GMT + - Fri, 10 Dec 2021 18:55:36 GMT expires: - '-1' pragma: @@ -4337,6 +1421,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' status: code: 200 message: OK @@ -4348,30 +1434,31 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub delete + - iot dps policy delete Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --dps-name -g --linked-hub + - -g --dps-name --pn User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/listkeys?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YaI=","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":"0ne0038C4BB"},"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}}' + string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"},{"keyName":"policy000003","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"EnrollmentWrite"}]}' headers: cache-control: - no-cache content-length: - - '1078' + - '413' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:56 GMT + - Fri, 10 Dec 2021 18:55:37 GMT expires: - '-1' pragma: @@ -4386,6 +1473,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -4397,30 +1486,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub delete + - iot dps policy delete Connection: - keep-alive ParameterSetName: - - --dps-name -g --linked-hub + - -g --dps-name --pn User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YaI=","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":"0ne0038C4BB"},"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}}' + string: '{"etag":"AAAAAAyzlXQ=","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":"0ne0045705C"},"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 content-length: - - '1078' + - '836' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:56 GMT + - Fri, 10 Dec 2021 18:55:37 GMT expires: - '-1' pragma: @@ -4440,43 +1527,44 @@ interactions: message: OK - request: body: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": - "GeoLatency"}, "sku": {"name": "S1", "capacity": 1}}' + "GeoLatency", "authorizationPolicies": [{"keyName": "provisioningserviceowner", + "primaryKey":"mock_key", "secondaryKey":"mock_key", "rights": "ServiceConfig, + DeviceConnect, EnrollmentWrite"}]}, "sku": {"name": "S1", "capacity": 1}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub delete + - iot dps policy delete Connection: - keep-alive Content-Length: - - '125' + - '378' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --dps-name -g --linked-hub + - -g --dps-name --pn User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 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":"a386d5ea-ea90-441a-8263-d816368c84a1","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":"mock_key","secondaryKey":"mock_key","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/b3NfaWRfNjFhYmMyZGItNDE1Ni00MjM5LWE5ODEtN2NiNTU2ZTQwMjYz?api-version=2020-03-01&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfNDM3N2E0MTItZjJlZi00YzJhLTkwNGUtNzlkMzU4MzRhM2U3O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo cache-control: - no-cache content-length: - - '660' + - '904' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:18:57 GMT + - Fri, 10 Dec 2021 18:55:39 GMT expires: - '-1' pragma: @@ -4496,20 +1584,20 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub delete + - iot dps policy delete Connection: - keep-alive ParameterSetName: - - --dps-name -g --linked-hub + - -g --dps-name --pn User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfNjFhYmMyZGItNDE1Ni00MjM5LWE5ODEtN2NiNTU2ZTQwMjYz?api-version=2020-03-01&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfNDM3N2E0MTItZjJlZi00YzJhLTkwNGUtNzlkMzU4MzRhM2U3O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -4521,7 +1609,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:19:29 GMT + - Fri, 10 Dec 2021 18:56:09 GMT expires: - '-1' pragma: @@ -4543,23 +1631,23 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub delete + - iot dps policy delete Connection: - keep-alive ParameterSetName: - - --dps-name -g --linked-hub + - -g --dps-name --pn User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YeY=","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":"0ne0038C4BB"},"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}}' + string: '{"etag":"AAAAAAyzlbg=","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":"0ne0045705C"},"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 @@ -4568,7 +1656,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:19:29 GMT + - Fri, 10 Dec 2021 18:56:09 GMT expires: - '-1' pragma: @@ -4594,30 +1682,31 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - iot dps linked-hub delete + - iot dps policy delete Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --dps-name -g --linked-hub + - -g --dps-name --pn User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - 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=2020-03-01 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/listkeys?api-version=2020-03-01 response: body: - string: '{"etag":"AAAAAAr0YeY=","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":"0ne0038C4BB"},"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}}' + string: '{"value":[{"keyName":"provisioningserviceowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"ServiceConfig, + DeviceConnect, EnrollmentWrite"}]}' headers: cache-control: - no-cache content-length: - - '836' + - '229' content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:19:29 GMT + - Fri, 10 Dec 2021 18:56:09 GMT expires: - '-1' pragma: @@ -4632,6 +1721,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' status: code: 200 message: OK @@ -4651,10 +1742,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 - accept-language: - - en-US + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 response: @@ -4662,7 +1751,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/b3NfaWRfZjBhOTZkMTQtZThjOC00ZDJiLWIxNmUtYTIzZGI3ZTFhY2Yw?api-version=2020-03-01&asyncinfo + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfOGJmNmY4MjctYzllMi00ZmYzLWJjZmEtODcwZmMxOTU4ZDY0O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo cache-control: - no-cache content-length: @@ -4670,11 +1759,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:19:30 GMT + - Fri, 10 Dec 2021 18:56:11 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZjBhOTZkMTQtZThjOC00ZDJiLWIxNmUtYTIzZGI3ZTFhY2Yw?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfOGJmNmY4MjctYzllMi00ZmYzLWJjZmEtODcwZmMxOTU4ZDY0O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01 pragma: - no-cache server: @@ -4692,7 +1781,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -4702,10 +1791,10 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-iothubprovisioningservices/0.3.0 Azure-SDK-For-Python AZURECLI/2.27.2 + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/b3NfaWRfZjBhOTZkMTQtZThjOC00ZDJiLWIxNmUtYTIzZGI3ZTFhY2Yw?api-version=2020-03-01&asyncinfo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfOGJmNmY4MjctYzllMi00ZmYzLWJjZmEtODcwZmMxOTU4ZDY0O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo response: body: string: '{"status":"Succeeded"}' @@ -4717,7 +1806,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 Aug 2021 15:19:46 GMT + - Fri, 10 Dec 2021 18:56:26 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_dps_linked_hub_lifecycle.yaml b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_dps_linked_hub_lifecycle.yaml new file mode 100644 index 00000000000..779b28ff61d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_dps_linked_hub_lifecycle.yaml @@ -0,0 +1,5914 @@ +interactions: +- request: + body: '{"name": "dps000002"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps create + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/checkProvisioningServiceNameAvailability?api-version=2020-03-01 + response: + body: + string: '{"nameAvailable":true,"reason":"Invalid","message":null}' + headers: + cache-control: + - no-cache + content-length: + - '56' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:38: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 + 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 dps create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-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":"2021-12-10T23:38:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:38: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: '{"location": "westus", "properties": {}, "sku": {"name": "S1", "capacity": + 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps create + Connection: + - keep-alive + Content-Length: + - '78' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + 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":"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/aWQ9b3NfaWRfYTc1MGI3YmUtZGFkMS00ODA2LTk1MTUtY2E0ZWFkMmJmMDdiO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '640' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:38:42 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfYTc1MGI3YmUtZGFkMS00ODA2LTk1MTUtY2E0ZWFkMmJmMDdiO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:39: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: + - iot dps create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NIs=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:39: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub create + Connection: + - keep-alive + ParameterSetName: + - -n -g --sku + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-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":"2021-12-10T23:38:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:39:12 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: '{"location": "westus", "properties": {"eventHubEndpoints": {"events": {"retentionTimeInDays": + 1, "partitionCount": 4}}, "storageEndpoints": {"$default": {"sasTtlAsIso8601": + "PT1H", "connectionString": "", "containerName": ""}}, "messagingEndpoints": + {"fileNotifications": {"lockDurationAsIso8601": "PT5S", "ttlAsIso8601": "PT1H", + "maxDeliveryCount": 10}}, "enableFileUploadNotifications": false, "cloudToDevice": + {"maxDeliveryCount": 10, "defaultTtlAsIso8601": "PT1H", "feedback": {"lockDurationAsIso8601": + "PT5S", "ttlAsIso8601": "PT1H", "maxDeliveryCount": 10}}}, "sku": {"name": "S1", + "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub create + Connection: + - keep-alive + Content-Length: + - '603' + Content-Type: + - application/json + ParameterSetName: + - -n -g --sku + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2021-07-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":"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":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/locations/westus/operationResults/aWQ9b3NfaWhfNzZmZTZmMmQtNjExMC00YzIyLWI1M2ItNjhiOTEzMzBhYmEyO3JlZ2lvbj13ZXN0dXM=?api-version=2021-07-01&operationSource=other&asyncinfo + cache-control: + - no-cache + content-length: + - '1175' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:39:17 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub create + Connection: + - keep-alive + ParameterSetName: + - -n -g --sku + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/locations/westus/operationResults/aWQ9b3NfaWhfNzZmZTZmMmQtNjExMC00YzIyLWI1M2ItNjhiOTEzMzBhYmEyO3JlZ2lvbj13ZXN0dXM=?api-version=2021-07-01&operationSource=other&asyncinfo + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:39: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: + - iot hub create + Connection: + - keep-alive + ParameterSetName: + - -n -g --sku + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/locations/westus/operationResults/aWQ9b3NfaWhfNzZmZTZmMmQtNjExMC00YzIyLWI1M2ItNjhiOTEzMzBhYmEyO3JlZ2lvbj13ZXN0dXM=?api-version=2021-07-01&operationSource=other&asyncinfo + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:40: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: + - iot hub create + Connection: + - keep-alive + ParameterSetName: + - -n -g --sku + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/locations/westus/operationResults/aWQ9b3NfaWhfNzZmZTZmMmQtNjExMC00YzIyLWI1M2ItNjhiOTEzMzBhYmEyO3JlZ2lvbj13ZXN0dXM=?api-version=2021-07-01&operationSource=other&asyncinfo + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:40:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub create + Connection: + - keep-alive + ParameterSetName: + - -n -g --sku + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/locations/westus/operationResults/aWQ9b3NfaWhfNzZmZTZmMmQtNjExMC00YzIyLWI1M2ItNjhiOTEzMzBhYmEyO3JlZ2lvbj13ZXN0dXM=?api-version=2021-07-01&operationSource=other&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:41: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: + - iot hub create + Connection: + - keep-alive + ParameterSetName: + - -n -g --sku + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2021-07-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":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAADF5VsQo=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}' + headers: + cache-control: + - no-cache + content-length: + - '1706' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:41: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub policy create + Connection: + - keep-alive + ParameterSetName: + - --hub-name -n --permissions + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5VsQo=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:41:22 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub policy create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --hub-name -n --permissions + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003/listkeys?api-version=2021-07-01 + response: + body: + 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 + content-length: + - '905' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:41:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "etag": "AAAADF5VsQo=", "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": "key000004", "rights": "RegistryWrite"}], "allowedFqdnList": [], + "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": + "PT5S", "ttlAsIso8601": "PT1H", "maxDeliveryCount": 10}}, "enableFileUploadNotifications": + false, "cloudToDevice": {"maxDeliveryCount": 10, "defaultTtlAsIso8601": "PT1H", + "feedback": {"lockDurationAsIso8601": "PT5S", "ttlAsIso8601": "PT1H", "maxDeliveryCount": + 10}}, "features": "None"}, "sku": {"name": "S1", "capacity": 1}, "identity": + {"type": "None"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub policy create + Connection: + - keep-alive + Content-Length: + - '2027' + Content-Type: + - application/json + If-Match: + - '{''IF-MATCH'': ''AAAADF5VsQo=''}' + ParameterSetName: + - --hub-name -n --permissions + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2021-07-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":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAADF5VsQo=","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":"key000004","primaryKey":"mock_key","secondaryKey":"mock_key","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/","internalAuthorizationPolicies":[{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"scaleunitsend-a7f4878e-7c11-400c-9d06-b16348447a9a-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","Rights":["Send"],"CreatedTime":"Fri, + 10 Dec 2021 23:40:47 GMT","ModifiedTime":"Fri, 10 Dec 2021 23:40:47 GMT"},{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"owner-4d2fbf0e-863d-4871-8ccc-a538dcc4fa62-iothub","primaryKey":"mock_key","secondaryKey":"mock_key","Rights":["Listen","Manage","Send"],"CreatedTime":"Fri, + 10 Dec 2021 23:40:47 GMT","ModifiedTime":"Fri, 10 Dec 2021 23:40:47 GMT"}],"authorizationPolicies":[{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","Rights":["Listen"],"CreatedTime":"Fri, + 10 Dec 2021 23:40:47 GMT","ModifiedTime":"Fri, 10 Dec 2021 23:40:47 GMT"},{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"service","primaryKey":"mock_key","secondaryKey":"mock_key","Rights":["Listen"],"CreatedTime":"Fri, + 10 Dec 2021 23:40:47 GMT","ModifiedTime":"Fri, 10 Dec 2021 23:40:47 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[],"cosmosDBSqlCollections":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/locations/westus/operationResults/aWQ9b3NfaWhfNjdhYjcwNDQtZjA2Ny00YTY0LWFmOWYtNzAwOTQ5ZmI5MjgyO3JlZ2lvbj13ZXN0dXM=?api-version=2021-07-01&operationSource=other&asyncinfo + cache-control: + - no-cache + content-length: + - '4369' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:41:26 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub policy create + Connection: + - keep-alive + ParameterSetName: + - --hub-name -n --permissions + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/locations/westus/operationResults/aWQ9b3NfaWhfNjdhYjcwNDQtZjA2Ny00YTY0LWFmOWYtNzAwOTQ5ZmI5MjgyO3JlZ2lvbj13ZXN0dXM=?api-version=2021-07-01&operationSource=other&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:41: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: + - iot hub policy create + Connection: + - keep-alive + ParameterSetName: + - --hub-name -n --permissions + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2021-07-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":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"clitest.rg000001","etag":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}' + headers: + cache-control: + - no-cache + content-length: + - '1706' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:41: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42:00 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --dps-name -g --hub-name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + 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=2021-07-01 + response: + body: + string: '{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"}' + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42: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 + 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 dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42:04 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42:08 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NIs=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NIs=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "properties": {"iotHubs": [{"connectionString": + "HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=mock_key", + "location": "westus"}], "allocationPolicy": "Hashed"}, "sku": {"name": "S1", + "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + Content-Length: + - '307' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --hub-name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + 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=mock_key","location":"westus"}],"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/aWQ9b3NfaWRfMmEyZjM1NmMtNGM1Ni00NjRmLTg1NjYtN2VhM2Y5MTZhZjQyO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '887' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42:10 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfMmEyZjM1NmMtNGM1Ni00NjRmLTg1NjYtN2VhM2Y5MTZhZjQyO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42: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: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NbY=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42: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 dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NbY=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NbY=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NbY=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42: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: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": + "Hashed"}, "sku": {"name": "S1", "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + Content-Length: + - '121' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"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/aWQ9b3NfaWRfM2RiZjA3OGUtOTQ1MS00YzJjLTk1ZTAtNDczZTAyZmUyZGFkO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '656' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:42:43 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfM2RiZjA3OGUtOTQ1MS00YzJjLTk1ZTAtNDczZTAyZmUyZGFkO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NdI=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NdI=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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 dps linked-hub create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --dps-name -g --hub-name --hrg --l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + 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=2021-07-01 + response: + body: + string: '{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"}' + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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 + 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 dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name --hrg --l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43:18 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name --hrg --l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NdI=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name --hrg --l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NdI=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "properties": {"iotHubs": [{"connectionString": + "HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=mock_key", + "location": "westus"}], "allocationPolicy": "Hashed"}, "sku": {"name": "S1", + "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + Content-Length: + - '307' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --hub-name --hrg --l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + 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=mock_key","location":"westus"}],"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/aWQ9b3NfaWRfYmY2NmJkNjUtNmMxMS00ZjU5LWE4ZDUtZDI0NjkyZDc1ODZjO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '887' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name --hrg --l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfYmY2NmJkNjUtNmMxMS00ZjU5LWE4ZDUtZDI0NjkyZDc1ODZjO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name --hrg --l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NfU=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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 dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --hub-name --hrg --l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NfU=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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 dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43:54 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NfU=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NfU=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43: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: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": + "Hashed"}, "sku": {"name": "S1", "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + Content-Length: + - '121' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"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/aWQ9b3NfaWRfN2QxMzJjMmUtYzczNS00YmI4LWI1NDgtZjk5ZDZkNjk2MGQwO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '656' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:43:57 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfN2QxMzJjMmUtYzczNS00YmI4LWI1NDgtZjk5ZDZkNjk2MGQwO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:44: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: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NkU=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:44: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NkU=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:44: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub show-connection-string + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name -g + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + 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=2021-07-01 + response: + body: + string: '{"keyName":"iothubowner","primaryKey":"mock_key","secondaryKey":"mock_key","rights":"RegistryWrite, + ServiceConnect, DeviceConnect"}' + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:44:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + 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-string + Connection: + - keep-alive + ParameterSetName: + - --name -g + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:44:31 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:44:35 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NkU=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:44: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NkU=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:44: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: '{"location": "westus", "properties": {"iotHubs": [{"connectionString": + "HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=mock_key", + "location": "westus"}], "allocationPolicy": "Hashed"}, "sku": {"name": "S1", + "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + Content-Length: + - '307' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + 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=mock_key","location":"westus"}],"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/aWQ9b3NfaWRfYTM1NWQ1ZTUtOTgyZS00YjM2LWFlMmUtOTQ2YmEwNTNiYjMxO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '887' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:44:37 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: + - '4998' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfYTM1NWQ1ZTUtOTgyZS00YjM2LWFlMmUtOTQ2YmEwNTNiYjMxO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45: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: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NoM=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NoM=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45:10 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NoM=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0NoM=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45: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: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": + "Hashed"}, "sku": {"name": "S1", "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + Content-Length: + - '121' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"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/aWQ9b3NfaWRfNTczOWQ2ZWQtZTBhZC00ODA2LTk4MDktZDBkM2Q4MjAxYjgyO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '656' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45:13 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfNTczOWQ2ZWQtZTBhZC00ODA2LTk4MDktZDBkM2Q4MjAxYjgyO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45: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: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0Nuk=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0Nuk=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45:47 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0Nuk=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0Nuk=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "properties": {"iotHubs": [{"connectionString": + "hostname=iot000003.azure-devices.net;sharedaccesskeyname=iothubowner;SharedAccessKey=mock_key", + "location": "westus"}], "allocationPolicy": "Hashed"}, "sku": {"name": "S1", + "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + Content-Length: + - '307' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + 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=mock_key","location":"westus"}],"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/aWQ9b3NfaWRfZTE1Yzg1NGEtY2Y4Yy00NTcwLWI0N2UtMzg2Njc5MzQxMjkzO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '887' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:45:50 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfZTE1Yzg1NGEtY2Y4Yy00NTcwLWI0N2UtMzg2Njc5MzQxMjkzO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46: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: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OYI=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OYI=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46:24 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OYI=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OYI=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46: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: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": + "Hashed"}, "sku": {"name": "S1", "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + Content-Length: + - '121' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"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/aWQ9b3NfaWRfYjU3M2M0NzQtYThhOS00YTgyLWJmZjgtZmNjZTM1Njk4YTBhO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '656' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46:26 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfYjU3M2M0NzQtYThhOS00YTgyLWJmZjgtZmNjZTM1Njk4YTBhO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46: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: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0Okw=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0Okw=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string -l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0Okw=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46: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 dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string -l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0Okw=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46: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: '{"location": "westus", "properties": {"iotHubs": [{"connectionString": + "HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=mock_key", + "location": "westus"}], "allocationPolicy": "Hashed"}, "sku": {"name": "S1", + "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + Content-Length: + - '307' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --connection-string -l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + 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=mock_key","location":"westus"}],"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/aWQ9b3NfaWRfZWNiN2JhZDMtYmI1NC00YzFkLWI1OTItOGQ1NDg1ODhiNjY3O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '887' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:46:59 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string -l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfZWNiN2JhZDMtYmI1NC00YzFkLWI1OTItOGQ1NDg1ODhiNjY3O3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:47: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: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string -l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OpA=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:47: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub create + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --connection-string -l + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OpA=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:47: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub list + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OpA=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:47: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub show + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OpA=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:47: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub show + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/IotHubs?api-version=2021-07-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/jiacju-iot-accessibility","name":"jiacju-iot-accessibility","type":"Microsoft.Devices/IotHubs","location":"centralus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF3m/ko=","properties":{"locations":[{"location":"Central + US","role":"primary"},{"location":"East US 2","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"131.107.8.101","action":"Accept","ipMask":"131.107.8.101"}],"networkRuleSets":{"defaultAction":"Deny","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"131.107.8.101","action":"Allow","ipMask":"131.107.8.101"}]},"hostName":"jiacju-iot-accessibility.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"jiacju-iot-accessibility","endpoint":"sb://iothub-ns-jiacju-iot-15951259-e1035b4561.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"testroute","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/eventualC/providers/Microsoft.ManagedIdentity/userAssignedIdentities/drEventualCIdentity":{"clientId":"0b4fcef6-7be3-4265-b4a5-f348cd6cbbdd","principalId":"7b457ed0-2509-43f4-83d9-6d0b1f57732e"}}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerNorthEurope","name":"rkesslerNorthEurope","type":"Microsoft.Devices/IotHubs","location":"northeurope","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFwD1S8=","properties":{"locations":[{"location":"North + Europe","role":"primary"},{"location":"West Europe","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerNorthEurope.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslernortheurope","endpoint":"sb://iothub-ns-rkesslerno-6065260-e40e15a83a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerGWV2","name":"rkesslerGWV2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFq+hyg=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerGWV2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslergwv2","endpoint":"sb://iothub-ns-rkesslergw-6461604-f593ab0244.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","publicNetworkAccess":"Enabled"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rido-validations/providers/Microsoft.Devices/IotHubs/ridouai","name":"ridouai","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rido-validations","etag":"AAAADFr9zGU=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"ridouai.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"ridouai","endpoint":"sb://iothub-ns-ridouai-10068656-2089e0e3d0.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DevUX-Validation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RidoAppsZero":{"clientId":"14dbbbff-b140-4d4d-8e93-342767eccaed","principalId":"a1cba8fb-b87d-4874-9889-ffb0301da996"}},"principalId":"39e4264a-8ec3-4ff4-bbd2-79ce7013d718"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/PaymaunCanaryHub","name":"PaymaunCanaryHub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFrl+gE=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"PaymaunCanaryHub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"paymauncanaryhub","endpoint":"sb://iothub-ns-paymauncan-10310011-6987067cc3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"037b18ad-6223-46a5-8c29-38decf34adb4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerCentralEUAP","name":"rkesslerCentralEUAP","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFr9z3Y=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerCentralEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslercentraleuap","endpoint":"sb://iothub-ns-rkesslerce-11307302-081dd4122e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerCentralEUAP;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"adfasdf","id":"d257224f-c654-4732-8050-5070a3289394","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-hub","name":"askhura-canary-hub","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADF4+OLk=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-hub","endpoint":"sb://iothub-ns-askhura-ca-14484209-edda2c9cc5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"endpointUri":"sb://yingevent.servicebus.windows.net","entityPath":"testevent","authenticationType":"identityBased","identity":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/microsoft.managedidentity/userassignedidentities/rk-identity-test"},"name":"eventhubendpoint","id":"b7b561d4-b013-44b6-8fae-f500a98f8301","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"sfgsdgsdgds","id":"1bd38b37-d87a-4b74-bf7c-55db1cec46ca","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[{"key":"sdfsdsds","value":"asdfasdfsd","endpointNames":["asdfghjkl"]}],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2f1c3c88-510c-4d4a-9952-2b2ff442471a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/askhura-canary-2","name":"askhura-canary-2","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFr9y0E=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"askhura-canary-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"askhura-canary-2","endpoint":"sb://iothub-ns-askhura-ca-14605461-4ef323760e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"GWV2","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"2cee2b73-f50a-46be-877c-5101746daa34"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg-canary/providers/Microsoft.Devices/IotHubs/pamontg-mqtt","name":"pamontg-mqtt","type":"Microsoft.Devices/IotHubs","location":"centraluseuap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg-canary","etag":"AAAADF4p+K0=","properties":{"locations":[{"location":"Central + US EUAP","role":"primary"},{"location":"East US 2 EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg-mqtt.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg-mqtt","endpoint":"sb://iothub-ns-pamontg-mq-16300691-eece1b528b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":"MqttBroker","minTlsVersion":"1.2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ADU/providers/Microsoft.Devices/IotHubs/adu-privatepreview-hub","name":"adu-privatepreview-hub","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ADU","etag":"AAAADFmIPoQ=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"ActivationFailed","provisioningState":"Failed","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"},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerEastEUAP","name":"rkesslerEastEUAP","type":"Microsoft.Devices/IotHubs","location":"eastus2euap","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADFrmLTA=","properties":{"locations":[{"location":"East + US 2 EUAP","role":"primary"},{"location":"Central US EUAP","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerEastEUAP.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslereasteuap","endpoint":"sb://iothub-ns-rkesslerea-8983535-c5e2500f5d.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFxWWss=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"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":[{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_PaymaunHub;SharedAccessKey=****;EntityPath=paymauneventhub","name":"myEventhubEp","id":"c9b7ab5b-7624-44a4-a1ad-f598f0962fd1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"},{"connectionString":"Endpoint=sb://paymauneventhubnamespace.servicebus.windows.net:5671/;SharedAccessKeyName=TestPolicy;SharedAccessKey=****;EntityPath=paymauneventhub","authenticationType":"keyBased","name":"MyEHEndpoint","id":"df3df736-f923-4f92-9d53-32a6ee66a03e","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"TestCLI"}],"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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"4b7391c6-0e52-4226-af5b-bf287993966a"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub","name":"yingworkhub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"ying","etag":"AAAADF5I0ZE=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"1.0.0.0"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"1.0.0.0"}]},"hostName":"yingworkhub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"yingworkhub","endpoint":"sb://iothub-ns-yingworkhu-7810654-bfabd1a47f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","name":"test222","id":"cdd74cb4-e0db-4cf8-8bc7-8f7f4f3345b6","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"},{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_yingworkhub;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test333","id":"7d19929b-0545-4f24-8321-0835e1f0d49b","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"enrichments":[],"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT5H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT5H","maxDeliveryCount":19}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Network/privateEndpoints/yingtestdt1111"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ying/providers/Microsoft.Devices/IotHubs/yingworkhub/PrivateEndpointConnections/yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","name":"yingworkhub.b9c4fabf-1dc6-4527-8b9b-e808eccb98b4","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/iliesrg/providers/Microsoft.Devices/IotHubs/iliestesthub","name":"iliestesthub","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"iliesrg","etag":"AAAADF5JQcQ=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iliestesthub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iliestesthub","endpoint":"sb://iothub-ns-iliestesth-10067252-dcdca313d5.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=andbuctestadu;AccountKey=****","containerName":"test","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storageendpoint","id":"f82ebb49-8708-4d8f-9050-224ff362f456","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ADU"}]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-test-hub-2","name":"rk-cli-test-hub-2","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFsIbbA=","properties":{"locations":[{"location":"West + US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-test-hub-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-test-hub-2","endpoint":"sb://iothub-ns-rk-cli-tes-11309416-1adf0848e3.servicebus.windows.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","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fd6569a835be4335a406a15ddd20da50":{"clientId":"1dca0ae3-37fa-41c3-9912-f73884cb2a71","principalId":"85dcde78-49a7-4d0a-94c3-9a1939a7fca9"}},"principalId":"65660efa-b707-4fab-9012-39c0b7bccbcc"}},{"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":"AAAADF5Vsgw=","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-iot5msii3o-16346554-03e2b4b48f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":{"e":"b","test":"test"},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADF37KZc=","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":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"lifecycle_route","source":"DeviceLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"device_job_lifecycle_events_route","source":"DeviceJobLifecycleEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"connection_state_events_route","source":"DeviceConnectionStateEvents","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{},"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","privateEndpointConnections":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Network/privateEndpoints/rms-core-emu-jpwest-iothub01.3603dbae-2e09-4dfd-a645-c0c254c0fd1"},"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.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","name":"rk-identity-hub.f9c3d75f-9fc5-4e0a-b15f-2e8bc77aed7d","type":"Microsoft.Devices/IotHubs/PrivateEndpointConnections"}],"publicNetworkAccess":"Enabled","disableModuleSAS":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rk-iot-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/rk-identity-test":{"clientId":"9ac12ce2-8398-4c52-94f2-7407c6e73c1c","principalId":"cf0d4fef-1347-4443-a37c-62f8ae417f9e"}},"principalId":"2ec95e8e-45d2-4680-bed8-1fe8433820b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubEast","name":"rkesslerHubEast","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF39VoU=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubEast.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":2,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubeast","endpoint":"sb://iothub-ns-rkesslerhu-4910438-f8efa5cb25.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=testtopic","name":"endpoint1","id":"64774abf-3add-4e83-b0e5-ad6c9a07fd42","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"serviceBusTopics":[{"connectionString":"Endpoint=sb://az-cli-int-test-servicebus-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerTest;SharedAccessKey=****;EntityPath=az-cli-int-test-servicebus","name":"servicebustopic1","id":"89b2c8ba-0ce6-4cf8-959d-1ae596c680a1","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"cli-int-test-rg"}],"eventHubs":[{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"testRoute1","id":"421c6e84-9b92-474a-a4f0-812004ba5409","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","name":"ehubtest2","id":"1322ca79-5ab5-498f-aa42-9bb943a9fd86","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint","id":"f21787f6-3389-4a72-9ce1-9ae01853105a","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"},{"connectionString":"Endpoint=sb://rk-eh-namespace.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_rkesslerHubEast;SharedAccessKey=****;EntityPath=rk-event-hub","authenticationType":"keyBased","name":"testEndpoint2","id":"ced63e9b-9199-4cf6-9cf6-6f296608496c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;AccountName=rkstoragetest;AccountKey=****","containerName":"test3","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","name":"storage","id":"47bb7579-95c8-429e-8fda-8389e10dc90d","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"rk-iot-rg"}]},"enrichments":[],"routes":[{"name":"DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity''","endpointNames":["events"],"isEnabled":true},{"name":"TelemetryModelInformation","source":"DeviceMessages","condition":"$iothub-interface-id + = \"urn:azureiot:ModelDiscovery:ModelInformation:1\"","endpointNames":["events"],"isEnabled":true},{"name":"DeviceTwinEvents","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'')","endpointNames":["events"],"isEnabled":true},{"name":"test","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":"","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT2H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":2},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubBasic","name":"rkesslerHubBasic","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF4uNdI=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"rkesslerHubBasic.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubbasic","endpoint":"sb://iothub-ns-rkesslerhu-5856834-888c890346.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"route1","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"route2","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"B1","tier":"Basic","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/avagraw-iot-hub","name":"avagraw-iot-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9shk=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"avagraw-iot-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"avagraw-iot-hub","endpoint":"sb://iothub-ns-avagraw-io-9684408-600ce25791.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/avagraw_test/providers/Microsoft.Devices/IotHubs/iot-cli-extensions-integration-test-hub","name":"iot-cli-extensions-integration-test-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"avagraw_test","etag":"AAAADFw9ud4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iot-cli-extensions-integration-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iot-cli-extensions-integr","endpoint":"sb://iothub-ns-iot-cli-ex-9730108-95336c2aa2.servicebus.windows.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=azcliintteststorage;AccountKey=****","containerName":"devices","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/raharri-test-1","name":"raharri-test-1","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF4zhsE=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[]},"hostName":"raharri-test-1.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"raharri-test-1","endpoint":"sb://iothub-ns-raharri-te-11679783-1aaeaaee16.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubAu2021","name":"rkesslerHubAu2021","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF2lvbw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rkesslerHubAu2021.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubau2021","endpoint":"sb://iothub-ns-rkesslerhu-14200631-32ee399d59.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":true,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/askhura-test-rg/providers/Microsoft.Devices/IotHubs/fileupload-icm","name":"fileupload-icm","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"askhura-test-rg","etag":"AAAADFxB4m4=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"71.227.232.33","action":"Accept","ipMask":"71.227.232.33"}],"hostName":"fileupload-icm.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"fileupload-icm","endpoint":"sb://iothub-ns-fileupload-14312231-bc8f29349b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://yingevent.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_fileupload-icm;SharedAccessKey=****;EntityPath=testevent","authenticationType":"keyBased","name":"test13","id":"3ac306b4-bb1f-4349-a62c-b95f3b46e91c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"ying"}],"storageContainers":[]},"routes":[{"name":"DeviceUpdate.DeviceTwinChanges","source":"TwinChangeEvents","condition":"(opType + = ''updateTwin'' OR opType = ''replaceTwin'') AND IS_DEFINED($body.tags.ADUGroup)","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DigitalTwinChanges","source":"DigitalTwinChangeEvents","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"DeviceUpdate.DeviceLifeCycle","source":"DeviceLifecycleEvents","condition":"opType + = ''deleteDeviceIdentity'' OR opType = ''deleteModuleIdentity''","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=rkiotstorage2;AccountKey=****","containerName":"container1","authenticationType":"keyBased"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":12}},"enableFileUploadNotifications":true,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"53c9e636-78dc-49a7-8eb9-294314589c04"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestCLI/providers/Microsoft.Devices/IotHubs/vilit-pytest-hub","name":"vilit-pytest-hub","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"TestCLI","etag":"AAAADFxDJsM=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-pytest-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-pytest-hub","endpoint":"sb://iothub-ns-vilit-pyte-14648386-9899ac09c8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/TestCLI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0f1f6d17f7184b1eabf7aa3a0739f247":{"clientId":"6382d1f3-b895-46bf-8ced-f29a25e5c605","principalId":"f23f1a99-1ab4-4fde-979c-0559a872a14d"}},"principalId":"72c1c80d-574e-43cd-8816-67e00e9811b4"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-devices","name":"vilit-hub-devices","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF0XrVs=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-devices.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-devices","endpoint":"sb://iothub-ns-vilit-hub-16011638-7d1affa7c3.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/iottestjiacju","name":"iottestjiacju","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF1YXa0=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"iottestjiacju.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"iottestjiacju","endpoint":"sb://iothub-ns-iottestjia-16080081-1325936af8.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vilit/providers/Microsoft.Devices/IotHubs/vilit-hub-test","name":"vilit-hub-test","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"vilit","etag":"AAAADF5AH4s=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"vilit-hub-test.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"vilit-hub-test","endpoint":"sb://iothub-ns-vilit-hub-16240640-68efd3638f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://viliteventhub.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_vilit-hub-test;SharedAccessKey=****;EntityPath=eventhub2","authenticationType":"keyBased","name":"endpoint","id":"9a207810-9af0-4cb7-831b-ab665c16d6a2","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"vilit"}],"storageContainers":[]},"routes":[{"name":"route","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-3","name":"smoke-test-3","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3waEw=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-3","endpoint":"sb://iothub-ns-smoke-test-16241276-718954597f.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiacjutest/providers/Microsoft.Devices/IotHubs/terstdeleteme","name":"terstdeleteme","type":"Microsoft.Devices/IotHubs","location":"eastus","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"jiacjutest","etag":"AAAADF5Iz6A=","properties":{"locations":[{"location":"East + US","role":"primary"},{"location":"West US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"terstdeleteme.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"terstdeleteme","endpoint":"sb://iothub-ns-terstdelet-16333092-19e08e3222.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"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":"AAAADFv9nug=","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},"identity":{"type":"None"}},{"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":"AAAADFv97l0=","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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg","name":"pamontg","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADF5IzJI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"test","action":"Accept","ipMask":"192.1.1.1"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":false,"ipRules":[{"filterName":"test","action":"Allow","ipMask":"192.1.1.1"}]},"hostName":"pamontg.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg","endpoint":"sb://iothub-ns-pamontg-4056358-fb03bca692.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[{"connectionString":"Endpoint=sb://pamontg-eh.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_pamontg;SharedAccessKey=****;EntityPath=captured","name":"pamontg-eh","id":"50d18bf3-3b04-4b57-b910-315157e6bd44","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.avro","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"avro","authenticationType":"keyBased","name":"store1","id":"e970e1b8-93f0-4b67-8196-25ff6533b44c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"},{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=pamontg;AccountKey=****","containerName":"container1","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}.json","batchFrequencyInSeconds":100,"maxChunkSizeInBytes":104857600,"encoding":"json","authenticationType":"keyBased","name":"store2","id":"5c98782c-15b1-4f24-a086-2e6b4eee191c","subscriptionId":"a386d5ea-ea90-441a-8263-d816368c84a1","resourceGroup":"pamontg"}]},"enrichments":[],"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"DefaultEndpointsProtocol=https;AccountName=pamontgtsi;AccountKey=****","containerName":"hubcontainer"}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","publicNetworkAccess":"Enabled","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"7d0f402c-d032-4a55-a6be-763d4252af10"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rkesslerTest/providers/Microsoft.Devices/IotHubs/rkesslerHubWestUS2","name":"rkesslerHubWestUS2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rkesslerTest","etag":"AAAADF5AJEc=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[{"filterName":"73.97.132.150","action":"Accept","ipMask":"73.97.132.150"}],"networkRuleSets":{"defaultAction":"Allow","applyToBuiltInEventHubEndpoint":true,"ipRules":[{"filterName":"73.97.132.150","action":"Allow","ipMask":"73.97.132.150"}]},"hostName":"rkesslerHubWestUS2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rkesslerhubwestus2","endpoint":"sb://iothub-ns-rkesslerhu-5873664-22a9e08b63.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","privateEndpointConnections":[],"publicNetworkAccess":"Enabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rk-iot-rg/providers/Microsoft.Devices/IotHubs/rk-cli-int-test-hub","name":"rk-cli-int-test-hub","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"rk-iot-rg","etag":"AAAADFwBvv8=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"rk-cli-int-test-hub.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"rk-cli-int-test-hub","endpoint":"sb://iothub-ns-rk-cli-int-6335385-8cf2a6e686.servicebus.windows.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","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned","principalId":"23c984de-d8ee-45f9-83ea-c0930a6a5665"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pamontg/providers/Microsoft.Devices/IotHubs/pamontg2","name":"pamontg2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"pamontg","etag":"AAAADFwGQoA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"pamontg2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"pamontg2","endpoint":"sb://iothub-ns-pamontg2-13844841-cb639165c1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/Test-Hub-Explicit","name":"Test-Hub-Explicit","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADFzhqII=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"Test-Hub-Explicit.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-explicit","endpoint":"sb://iothub-ns-test-hub-e-15954247-662efe71e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/raharri/providers/Microsoft.Devices/IotHubs/smoke-test-2","name":"smoke-test-2","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"raharri","etag":"AAAADF3vliI=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"smoke-test-2.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"smoke-test-2","endpoint":"sb://iothub-ns-smoke-test-16240457-a5759ac96a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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","publicNetworkAccess":"Disabled","disableLocalAuth":false,"allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-37510132c00e488f8cd3968c463f2abe","name":"test-hub-37510132c00e488f8cd3968c463f2abe","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVcA=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-37510132c00e488f8cd3968c463f2abe.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-37510132c00e488f","endpoint":"sb://iothub-ns-test-hub-3-16327241-f367d4099b.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-540641438f694952af0f59b9b247d242","name":"test-hub-540641438f694952af0f59b9b247d242","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DVJM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-540641438f694952af0f59b9b247d242.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-540641438f694952","endpoint":"sb://iothub-ns-test-hub-5-16327249-0dec826a3c.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-497ed42f05c84ca09f27b67c524053d0","name":"test-hub-497ed42f05c84ca09f27b67c524053d0","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5DWvM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-497ed42f05c84ca09f27b67c524053d0.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-497ed42f05c84ca0","endpoint":"sb://iothub-ns-test-hub-4-16327275-1d73aaaba9.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-e34cb199d6514d158627c1c64c67f377","name":"test-hub-e34cb199d6514d158627c1c64c67f377","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5K6ZU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-e34cb199d6514d158627c1c64c67f377.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-e34cb199d6514d15","endpoint":"sb://iothub-ns-test-hub-e-16335313-53b0dae851.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-0927f2f02f3b414883907bc960bfa5f3","name":"test-hub-0927f2f02f3b414883907bc960bfa5f3","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LIuE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-0927f2f02f3b414883907bc960bfa5f3.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-0927f2f02f3b4148","endpoint":"sb://iothub-ns-test-hub-0-16335549-bc418bb16a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-f4bc5e48f14c47598e58542fb7f20557","name":"test-hub-f4bc5e48f14c47598e58542fb7f20557","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5LVNs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-f4bc5e48f14c47598e58542fb7f20557.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-f4bc5e48f14c4759","endpoint":"sb://iothub-ns-test-hub-f-16335765-8059e27b3e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-8945fac565684d2f8d6e9141f1896bce","name":"test-hub-8945fac565684d2f8d6e9141f1896bce","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXtU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-8945fac565684d2f8d6e9141f1896bce.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-8945fac565684d2f","endpoint":"sb://iothub-ns-test-hub-8-16338955-b7d48b6cce.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-b373990998a545edbaedff002294fea8","name":"test-hub-b373990998a545edbaedff002294fea8","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5OXyU=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-b373990998a545edbaedff002294fea8.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-b373990998a545ed","endpoint":"sb://iothub-ns-test-hub-b-16338958-4d4882aa4a.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-a411401b572744d6a2e6925347c17ed9","name":"test-hub-a411401b572744d6a2e6925347c17ed9","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5ObGs=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-a411401b572744d6a2e6925347c17ed9.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-a411401b572744d6","endpoint":"sb://iothub-ns-test-hub-a-16339015-cef822dcb7.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-580162006b7f46d783a6d4bcfa4d2597","name":"test-hub-580162006b7f46d783a6d4bcfa4d2597","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbSM=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-580162006b7f46d783a6d4bcfa4d2597.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-580162006b7f46d7","endpoint":"sb://iothub-ns-test-hub-5-16344214-c6e730667e.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-ba0558370ec14cb7953bc3a81b9fbfee","name":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TbpE=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-ba0558370ec14cb7953bc3a81b9fbfee.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-ba0558370ec14cb7","endpoint":"sb://iothub-ns-test-hub-b-16344221-4a3c763d02.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":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},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-int-test-rg/providers/Microsoft.Devices/IotHubs/test-hub-3dc310c758f047f58e69a7806ac94156","name":"test-hub-3dc310c758f047f58e69a7806ac94156","type":"Microsoft.Devices/IotHubs","location":"westus2","tags":{},"subscriptionid":"a386d5ea-ea90-441a-8263-d816368c84a1","resourcegroup":"cli-int-test-rg","etag":"AAAADF5TdL0=","properties":{"locations":[{"location":"West + US 2","role":"primary"},{"location":"West Central US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"test-hub-3dc310c758f047f58e69a7806ac94156.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"test-hub-3dc310c758f047f5","endpoint":"sb://iothub-ns-test-hub-3-16344259-db885836e6.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[]},"routes":[],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT5S","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"None","allowedFqdnList":[]},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"type":"None"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '98719' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:47:35 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: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub show + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OpA=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:47: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub update + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OpA=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:47:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub update + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OpA=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:47:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "properties": {"iotHubs": [{"applyAllocationPolicy": + true, "allocationWeight": 10, "connectionString": "HostName=iot000003.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=****", + "location": "westus"}], "allocationPolicy": "Hashed"}, "sku": {"name": "S1", + "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub update + Connection: + - keep-alive + Content-Length: + - '322' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + 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":"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/aWQ9b3NfaWRfMDhmMzQ4ODYtN2U4ZS00YjAxLTg0ZmYtMjY1ZGVhZWY1MmMyO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '898' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:47:37 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub update + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfMDhmMzQ4ODYtN2U4ZS00YjAxLTg0ZmYtMjY1ZGVhZWY1MmMyO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48: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: + - iot dps linked-hub update + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OwI=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1074' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub update + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub --allocation-weight --apply-allocation-policy + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OwI=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1074' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub show + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OwI=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1074' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OwI=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1074' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0OwI=","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":"Hashed","serviceOperationsHostName":"dps000002.azure-devices-provisioning.net","deviceProvisioningHostName":"global.azure-devices-provisioning.net","idScope":"0ne004574ED"},"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 + content-length: + - '1074' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "properties": {"iotHubs": [], "allocationPolicy": + "Hashed"}, "sku": {"name": "S1", "capacity": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + Content-Length: + - '121' + Content-Type: + - application/json + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"name":"dps000002","location":"westus","properties":{"state":"Transitioning","provisioningState":"Accepted","iotHubs":[],"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/aWQ9b3NfaWRfNzVmZjNlZmUtODRmYy00Yzc2LWIyZTEtY2QxZDIzMDcyYjhmO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '656' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:10 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfNzVmZjNlZmUtODRmYy00Yzc2LWIyZTEtY2QxZDIzMDcyYjhmO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0O24=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps linked-hub delete + Connection: + - keep-alive + ParameterSetName: + - --dps-name -g --linked-hub + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: '{"etag":"AAAAAAy0O24=","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":"0ne004574ED"},"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 + content-length: + - '832' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002?api-version=2020-03-01 + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfOTU4OGM2NDMtMTE1ZC00Y2UxLWJhMjgtNjVkY2ExODE3ZmIyO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:42 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfOTU4OGM2NDMtMTE1ZC00Y2UxLWJhMjgtNjVkY2ExODE3ZmIyO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01 + 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 +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot dps delete + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.31.0 azsdk-python-mgmt-iothubprovisioningservices/1.0.0 Python/3.8.3 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/provisioningServices/dps000002/operationResults/aWQ9b3NfaWRfOTU4OGM2NDMtMTE1ZC00Y2UxLWJhMjgtNjVkY2ExODE3ZmIyO3JlZ2lvbj13ZXN0dXM=?api-version=2020-03-01&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:48:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/iot000003?api-version=2021-07-01 + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/locations/westus/operationResults/aWQ9b3NfaWhfMzQ3MzJjNGUtYTQzMy00ODIyLTk4YjAtMTkyYjNmMjYxMjA5O3JlZ2lvbj13ZXN0dXM=?api-version=2021-07-01&operationSource=other&asyncinfo + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:49:01 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/locations/westus/operationResults/aWQ9b3NfaWhfMzQ3MzJjNGUtYTQzMy00ODIyLTk4YjAtMTkyYjNmMjYxMjA5O3JlZ2lvbj13ZXN0dXM=?api-version=2021-07-01&operationSource=other + 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 +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - iot hub delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.31.0 azsdk-python-azure-mgmt-iothub/2.1.0 Python/3.8.3 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Devices/locations/westus/operationResults/aWQ9b3NfaWhfMzQ3MzJjNGUtYTQzMy00ODIyLTk4YjAtMTkyYjNmMjYxMjA5O3JlZ2lvbj13ZXN0dXM=?api-version=2021-07-01&operationSource=other&asyncinfo + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Dec 2021 23:49: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 +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/test_iot_dps_commands.py b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/test_iot_dps_commands.py index d3de47854c5..b927e758ac6 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/test_iot_dps_commands.py +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/test_iot_dps_commands.py @@ -7,20 +7,20 @@ from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer from azure.cli.command_modules.iot.tests.latest._test_utils import _create_test_cert, _delete_test_cert, _create_verification_cert +from azure.cli.command_modules.iot.tests.latest.recording_processors import KeyReplacer import random class IoTDpsTest(ScenarioTest): + def __init__(self, method_name): + super(IoTDpsTest, self).__init__( + method_name, recording_processors=[KeyReplacer()] + ) + @ResourceGroupPreparer(parameter_name='group_name', parameter_name_for_location='group_location') def test_dps_lifecycle(self, group_name, group_location): dps_name = self.create_random_name('dps', 20) - hub_name = self.create_random_name('iot', 20) - - self.cmd('iot hub create -n {} -g {} --sku S1'.format(hub_name, group_name), - checks=[self.check('resourcegroup', group_name), - self.check('name', hub_name), - self.check('sku.name', 'S1')]) # Create DPS tags = "key1=value1 key2=value2" @@ -65,33 +65,46 @@ def test_dps_lifecycle(self, group_name, group_location): new_right = 'EnrollmentWrite' # Create access policy - self.cmd('az iot dps access-policy create -g {} --dps-name {} -n {} -r {}'.format(group_name, dps_name, policy_name, right), checks=[ + self.cmd('az iot dps policy create -g {} --dps-name {} --pn {} -r {}'.format(group_name, dps_name, policy_name, right), checks=[ self.check('keyName', policy_name), self.check('rights', right) ]) # List access policy - self.cmd('az iot dps access-policy list -g {} --dps-name {}'.format(group_name, dps_name), checks=[ + self.cmd('az iot dps policy list -g {} --dps-name {}'.format(group_name, dps_name), checks=[ self.check('length([*])', 2), self.check('[1].keyName', policy_name), self.check('[1].rights', right) ]) # Get access policy - self.cmd('az iot dps access-policy show -g {} --dps-name {} -n {}'.format(group_name, dps_name, policy_name), checks=[ + self.cmd('az iot dps policy show -g {} --dps-name {} --pn {}'.format(group_name, dps_name, policy_name), checks=[ self.check('keyName', policy_name), self.check('rights', right) ]) # Create update policy - self.cmd('az iot dps access-policy update -g {} --dps-name {} -n {} -r {}'.format(group_name, dps_name, policy_name, new_right), + self.cmd('az iot dps policy update -g {} --dps-name {} --pn {} -r {}'.format(group_name, dps_name, policy_name, new_right), checks=[ self.check('keyName', policy_name), self.check('rights', new_right) ]) # Delete policy - self.cmd('az iot dps access-policy delete -g {} --dps-name {} -n {}'.format(group_name, dps_name, policy_name)) + self.cmd('az iot dps policy delete -g {} --dps-name {} --pn {}'.format(group_name, dps_name, policy_name)) + + # Delete DPS + self.cmd('az iot dps delete -g {} -n {}'.format(group_name, dps_name)) + + + @ResourceGroupPreparer(parameter_name='group_name', parameter_name_for_location='group_location') + def test_dps_certificate_lifecycle(self, group_name, group_location): + dps_name = self.create_random_name('dps', 20) + + # Create DPS + self.cmd('az iot dps create -g {} -n {}'.format(group_name, dps_name), + checks=[self.check('name', dps_name), + self.check('location', group_location)]) # Test DPS Certificate Lifecycle cert_name = self.create_random_name('certificate', 20) @@ -118,13 +131,14 @@ def test_dps_lifecycle(self, group_name, group_location): ]).get_output_in_json()['etag'] # List certificates - self.cmd('az iot dps certificate list --dps-name {} -g {}'.format(dps_name, group_name), - checks=[ - self.check('length(value)', 2), - self.check('value[0].name', cert_name_verified), - self.check('value[0].properties.isVerified', True), - self.check('value[1].name', cert_name), - self.check('value[1].properties.isVerified', False)]) + cert_list = self.cmd('az iot dps certificate list --dps-name {} -g {}'.format(dps_name, group_name), + checks=[self.check('length(value)', 2)] + ).get_output_in_json()['value'] + + for cert in cert_list: + assert cert['name'] == cert_name_verified if cert['properties']['isVerified'] else cert_name + + assert cert_list[0]['name'] != cert_list[1]['name'] # Get certificate etag = self.cmd('az iot dps certificate show --dps-name {} -g {} --name {}'.format(dps_name, group_name, cert_name), checks=[ @@ -165,17 +179,63 @@ def test_dps_lifecycle(self, group_name, group_location): _delete_test_cert(cert_file, key_file, verification_file) - # Test DPS Linked Hub Lifecycle + # Delete DPS + self.cmd('az iot dps delete -g {} -n {}'.format(group_name, dps_name)) + + + @ResourceGroupPreparer(parameter_name='group_name', parameter_name_for_location='group_location') + def test_dps_linked_hub_lifecycle(self, group_name, group_location): + dps_name = self.create_random_name('dps', 20) + hub_name = self.create_random_name('iot', 20) + hub_host_name = '{}.azure-devices.net'.format(hub_name) key_name = self.create_random_name('key', 20) permission = 'RegistryWrite' - # Set up a hub with a policy to be link - hub_host_name = '{}.azure-devices.net'.format(hub_name) + # Create DPS + self.cmd('az iot dps create -g {} -n {}'.format(group_name, dps_name), + checks=[self.check('name', dps_name), + self.check('location', group_location)]) + + # Create and set up Hub + self.cmd('az iot hub create -n {} -g {} --sku S1'.format(hub_name, group_name), + checks=[self.check('resourcegroup', group_name), + self.check('name', hub_name), + self.check('sku.name', 'S1')]) self.cmd('az iot hub policy create --hub-name {} -n {} --permissions {}'.format(hub_name, key_name, permission)) + # Create linked-hub fails if there is no hub name or connection string + self.cmd('az iot dps linked-hub create --dps-name {} -g {} --l {}' + .format(dps_name, group_name, group_location), + expect_failure=True) + + # Create linked-hub fails with a fake connection string + self.cmd('az iot dps linked-hub create --dps-name {} -g {} --connection-string {}' + .format(dps_name, group_name, "Test"), + expect_failure=True) + + # Create linked-hub with only hub name + self.cmd('az iot dps linked-hub create --dps-name {} -g {} --hub-name {}' + .format(dps_name, group_name, hub_name)) + self.cmd('az iot dps linked-hub delete --dps-name {} -g {} --linked-hub {}'.format(dps_name, group_name, hub_host_name)) + + # Create linked-hub with hub name, resource group, location + self.cmd('az iot dps linked-hub create --dps-name {} -g {} --hub-name {} --hrg {} --l {}' + .format(dps_name, group_name, hub_name, group_name, group_location)) + self.cmd('az iot dps linked-hub delete --dps-name {} -g {} --linked-hub {}'.format(dps_name, group_name, hub_name)) + + # Create linked-hub using only connection string connection_string = self._show_hub_connection_string(hub_name, group_name) + self.cmd('az iot dps linked-hub create --dps-name {} -g {} --connection-string {}' + .format(dps_name, group_name, connection_string)) + self.cmd('az iot dps linked-hub delete --dps-name {} -g {} --linked-hub {}'.format(dps_name, group_name, hub_name)) + + # Create linked-hub using only connection string in lower case + self.cmd('az iot dps linked-hub create --dps-name {} -g {} --connection-string {}' + .format(dps_name, group_name, connection_string.lower())) + self.cmd('az iot dps linked-hub delete --dps-name {} -g {} --linked-hub {}'.format(dps_name, group_name, hub_name)) + # Create linked-hub using connection string and location self.cmd('az iot dps linked-hub create --dps-name {} -g {} --connection-string {} -l {}' .format(dps_name, group_name, connection_string, group_location)) @@ -190,6 +250,12 @@ def test_dps_lifecycle(self, group_name, group_location): self.check('location', group_location) ]) + # Linked hub should support host name and hub name + self.cmd('az iot dps linked-hub show --dps-name {} -g {} --linked-hub {}'.format(dps_name, group_name, hub_name), checks=[ + self.check('name', hub_host_name), + self.check('location', group_location) + ]) + allocationWeight = 10 applyAllocationPolicy = True self.cmd('az iot dps linked-hub update --dps-name {} -g {} --linked-hub {} --allocation-weight {} --apply-allocation-policy {}' @@ -204,8 +270,9 @@ def test_dps_lifecycle(self, group_name, group_location): self.cmd('az iot dps linked-hub delete --dps-name {} -g {} --linked-hub {}'.format(dps_name, group_name, hub_host_name)) - # Delete DPS + # Delete DPS and Hub self.cmd('az iot dps delete -g {} -n {}'.format(group_name, dps_name)) + self.cmd('az iot hub delete -n {} -g {}'.format(hub_name, group_name)) def _get_hub_policy_primary_key(self, hub_name, key_name): output = self.cmd('az iot hub policy show --hub-name {} -n {}'.format(hub_name, key_name)) diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 4c4de8102ba..bae275ba1f3 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -50,7 +50,7 @@ azure-mgmt-hdinsight==9.0.0 azure-mgmt-imagebuilder==1.0.0 azure-mgmt-iotcentral==9.0.0 azure-mgmt-iothub==2.1.0 -azure-mgmt-iothubprovisioningservices==0.3.0 +azure-mgmt-iothubprovisioningservices==1.0.0 azure-mgmt-keyvault==9.3.0 azure-mgmt-kusto==0.3.0 azure-mgmt-loganalytics==12.0.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index ccfde5eec6f..7a479fe2e11 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -50,7 +50,7 @@ azure-mgmt-hdinsight==9.0.0 azure-mgmt-imagebuilder==1.0.0 azure-mgmt-iotcentral==9.0.0 azure-mgmt-iothub==2.1.0 -azure-mgmt-iothubprovisioningservices==0.3.0 +azure-mgmt-iothubprovisioningservices==1.0.0 azure-mgmt-keyvault==9.3.0 azure-mgmt-kusto==0.3.0 azure-mgmt-loganalytics==12.0.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 779d6604b95..2f3d20d48e1 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -50,7 +50,7 @@ azure-mgmt-hdinsight==9.0.0 azure-mgmt-imagebuilder==1.0.0 azure-mgmt-iotcentral==9.0.0 azure-mgmt-iothub==2.1.0 -azure-mgmt-iothubprovisioningservices==0.3.0 +azure-mgmt-iothubprovisioningservices==1.0.0 azure-mgmt-keyvault==9.3.0 azure-mgmt-kusto==0.3.0 azure-mgmt-loganalytics==12.0.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index d1c74b9f200..586a59dca7d 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -94,7 +94,7 @@ 'azure-mgmt-imagebuilder~=1.0.0', 'azure-mgmt-iotcentral~=9.0.0', 'azure-mgmt-iothub==2.1.0', - 'azure-mgmt-iothubprovisioningservices~=0.3.0', + 'azure-mgmt-iothubprovisioningservices~=1.0.0', 'azure-mgmt-keyvault==9.3.0', 'azure-mgmt-kusto~=0.3.0', 'azure-mgmt-loganalytics~=12.0.0',