From 5268570eb02b8c033b68088d1325f484a88f973e Mon Sep 17 00:00:00 2001 From: Sapan Saxena Date: Fri, 14 Feb 2020 12:12:46 -0800 Subject: [PATCH] Add cmdlet to get module connection string --- .../ScenarioTests/IotHubDPModuleTests.ps1 | 5 + .../TestAzureIotHubModuleLifecycle.json | 612 +++++++++++------- src/IotHub/IotHub/Az.IotHub.psd1 | 5 +- src/IotHub/IotHub/ChangeLog.md | 1 + .../GetAzIotHubDeviceConnectionString.cs | 5 +- .../Models/PSModuleConnectionString.cs | 31 + .../GetAzIotHubModuleConnectionString.cs | 145 +++++ src/IotHub/IotHub/help/Az.IotHub.md | 3 + .../Get-AzIotHubModuleConnectionString.md | 199 ++++++ 9 files changed, 760 insertions(+), 246 deletions(-) create mode 100644 src/IotHub/IotHub/IotHub/DataPlane/Models/PSModuleConnectionString.cs create mode 100644 src/IotHub/IotHub/IotHub/DataPlane/Module/GetAzIotHubModuleConnectionString.cs create mode 100644 src/IotHub/IotHub/help/Get-AzIotHubModuleConnectionString.md diff --git a/src/IotHub/IotHub.Test/ScenarioTests/IotHubDPModuleTests.ps1 b/src/IotHub/IotHub.Test/ScenarioTests/IotHubDPModuleTests.ps1 index 0952952ba646..19dbbd5d6d48 100644 --- a/src/IotHub/IotHub.Test/ScenarioTests/IotHubDPModuleTests.ps1 +++ b/src/IotHub/IotHub.Test/ScenarioTests/IotHubDPModuleTests.ps1 @@ -65,6 +65,11 @@ function Test-AzureRmIotHubModuleLifecycle $modules = Get-AzIotHubModule -ResourceGroupName $ResourceGroupName -IotHubName $IotHubName -DeviceId $device1 Assert-True { $modules.Count -eq 2} + # Get module connection string + $moduleCS = Get-AzIotHubMCS -ResourceGroupName $ResourceGroupName -IotHubName $IotHubName -DeviceId $device1 -ModuleId $module2 + Assert-True { $moduleCS.ModuleId -eq $module2 } + Assert-True { $moduleCS.ConnectionString -eq "HostName=$IotHubName.azure-devices.net;DeviceId=$device1;ModuleId=$module2;x509=true" } + # Get module detail $module = Get-AzIotHubModule -ResourceGroupName $ResourceGroupName -IotHubName $IotHubName -DeviceId $device1 -ModuleId $module2 Assert-True { $module.Id -eq $module2 } diff --git a/src/IotHub/IotHub.Test/SessionRecords/Microsoft.Azure.Commands.IotHub.Test.ScenarioTests.IotHubDPModuleTests/TestAzureIotHubModuleLifecycle.json b/src/IotHub/IotHub.Test/SessionRecords/Microsoft.Azure.Commands.IotHub.Test.ScenarioTests.IotHubDPModuleTests/TestAzureIotHubModuleLifecycle.json index 10597d05b9ba..7a88592835c3 100644 --- a/src/IotHub/IotHub.Test/SessionRecords/Microsoft.Azure.Commands.IotHub.Test.ScenarioTests.IotHubDPModuleTests/TestAzureIotHubModuleLifecycle.json +++ b/src/IotHub/IotHub.Test/SessionRecords/Microsoft.Azure.Commands.IotHub.Test.ScenarioTests.IotHubDPModuleTests/TestAzureIotHubModuleLifecycle.json @@ -7,7 +7,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "91e12dec-acc7-4880-b6cf-e3921d0a8001" + "3d0caaea-3684-4ddc-85c5-4739f17b1c71" ], "Accept-Language": [ "en-US" @@ -27,16 +27,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" + "11998" ], "x-ms-request-id": [ - "aa546915-061d-4d05-bcdc-6c007f48c0ef" + "7e1546db-c8e5-4051-909f-d30d91cf3a14" ], "x-ms-correlation-request-id": [ - "aa546915-061d-4d05-bcdc-6c007f48c0ef" + "7e1546db-c8e5-4051-909f-d30d91cf3a14" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184554Z:aa546915-061d-4d05-bcdc-6c007f48c0ef" + "WESTUS:20200214T231227Z:7e1546db-c8e5-4051-909f-d30d91cf3a14" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -45,7 +45,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:45:54 GMT" + "Fri, 14 Feb 2020 23:12:27 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,13 +61,13 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourcegroups/ps4872?api-version=2016-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlZ3JvdXBzL3BzNDg3Mj9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourcegroups/ps5201?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlZ3JvdXBzL3BzNTIwMT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "623c6bce-4458-4da5-9c60-8c4fa7a2131b" + "45715bd2-010e-4969-8be1-521349dfd90b" ], "Accept-Language": [ "en-US" @@ -96,13 +96,13 @@ "1199" ], "x-ms-request-id": [ - "e117271e-f5bf-4710-82ee-10fbc82a11e0" + "515f2c32-0500-4554-b28f-a44756bf9613" ], "x-ms-correlation-request-id": [ - "e117271e-f5bf-4710-82ee-10fbc82a11e0" + "515f2c32-0500-4554-b28f-a44756bf9613" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184557Z:e117271e-f5bf-4710-82ee-10fbc82a11e0" + "WESTUS:20200214T231228Z:515f2c32-0500-4554-b28f-a44756bf9613" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -111,7 +111,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:45:56 GMT" + "Fri, 14 Feb 2020 23:12:28 GMT" ], "Content-Length": [ "165" @@ -123,17 +123,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872\",\r\n \"name\": \"ps4872\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201\",\r\n \"name\": \"ps5201\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"West US\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "90e6a500-161e-4fcb-9335-4dac8118a77f" + "014fee84-99b8-4443-9a12-da46578d5a63" ], "Accept-Language": [ "en-US" @@ -159,7 +159,7 @@ "no-cache" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfMjg1MGU5ZjMtZDkxYi00OWEwLTk1OTgtMTk5YmNjNTJkZmI4?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo" + "https://management.azure.com/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfZjVmYmU5YzktMWMzZS00ZjY3LTgzZjQtMDBlYzQzNjlkOGIw?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -168,13 +168,13 @@ "4999" ], "x-ms-request-id": [ - "d8e4ba34-e76c-4aaa-9cfa-711073d5f55e" + "604dcadd-ee3d-4fb9-b302-6a670e91695e" ], "x-ms-correlation-request-id": [ - "d8e4ba34-e76c-4aaa-9cfa-711073d5f55e" + "604dcadd-ee3d-4fb9-b302-6a670e91695e" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184616Z:d8e4ba34-e76c-4aaa-9cfa-711073d5f55e" + "WESTUS:20200214T231247Z:604dcadd-ee3d-4fb9-b302-6a670e91695e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -183,7 +183,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:46:15 GMT" + "Fri, 14 Feb 2020 23:12:46 GMT" ], "Content-Length": [ "619" @@ -195,12 +195,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"properties\": {\r\n \"state\": \"Activating\",\r\n \"provisioningState\": \"Accepted\",\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"properties\": {\r\n \"state\": \"Activating\",\r\n \"provisioningState\": \"Accepted\",\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfMjg1MGU5ZjMtZDkxYi00OWEwLTk1OTgtMTk5YmNjNTJkZmI4?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlcy9vcGVyYXRpb25SZXN1bHRzL2IzTmZhV2hmTWpnMU1HVTVaak10WkRreFlpMDBPV0V3TFRrMU9UZ3RNVGs1WW1Oak5USmtabUk0P2FwaS12ZXJzaW9uPTIwMTktMDctMDEtcHJldmlldyZvcGVyYXRpb25Tb3VyY2U9b3NfaWgmYXN5bmNpbmZv", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfZjVmYmU5YzktMWMzZS00ZjY3LTgzZjQtMDBlYzQzNjlkOGIw?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlcy9vcGVyYXRpb25SZXN1bHRzL2IzTmZhV2hmWmpWbVltVTVZemt0TVdNelpTMDBaalkzTFRnelpqUXRNREJsWXpRek5qbGtPR0l3P2FwaS12ZXJzaW9uPTIwMTktMDctMDEtcHJldmlldyZvcGVyYXRpb25Tb3VyY2U9b3NfaWgmYXN5bmNpbmZv", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -225,13 +225,13 @@ "11999" ], "x-ms-request-id": [ - "20372ae8-81e5-49a8-8d97-ed5b171a3884" + "8c104089-fa6d-49fa-b39a-ec0ec7d879ae" ], "x-ms-correlation-request-id": [ - "20372ae8-81e5-49a8-8d97-ed5b171a3884" + "8c104089-fa6d-49fa-b39a-ec0ec7d879ae" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184646Z:20372ae8-81e5-49a8-8d97-ed5b171a3884" + "WESTUS:20200214T231317Z:8c104089-fa6d-49fa-b39a-ec0ec7d879ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -240,7 +240,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:46:46 GMT" + "Fri, 14 Feb 2020 23:13:16 GMT" ], "Content-Length": [ "20" @@ -256,8 +256,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfMjg1MGU5ZjMtZDkxYi00OWEwLTk1OTgtMTk5YmNjNTJkZmI4?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlcy9vcGVyYXRpb25SZXN1bHRzL2IzTmZhV2hmTWpnMU1HVTVaak10WkRreFlpMDBPV0V3TFRrMU9UZ3RNVGs1WW1Oak5USmtabUk0P2FwaS12ZXJzaW9uPTIwMTktMDctMDEtcHJldmlldyZvcGVyYXRpb25Tb3VyY2U9b3NfaWgmYXN5bmNpbmZv", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfZjVmYmU5YzktMWMzZS00ZjY3LTgzZjQtMDBlYzQzNjlkOGIw?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlcy9vcGVyYXRpb25SZXN1bHRzL2IzTmZhV2hmWmpWbVltVTVZemt0TVdNelpTMDBaalkzTFRnelpqUXRNREJsWXpRek5qbGtPR0l3P2FwaS12ZXJzaW9uPTIwMTktMDctMDEtcHJldmlldyZvcGVyYXRpb25Tb3VyY2U9b3NfaWgmYXN5bmNpbmZv", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -282,13 +282,13 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "2ce98e93-020d-4591-ada3-93a3167960e9" + "ba66738f-ca2d-4cb1-86ea-0186d70ed964" ], "x-ms-correlation-request-id": [ - "2ce98e93-020d-4591-ada3-93a3167960e9" + "ba66738f-ca2d-4cb1-86ea-0186d70ed964" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184716Z:2ce98e93-020d-4591-ada3-93a3167960e9" + "WESTUS:20200214T231347Z:ba66738f-ca2d-4cb1-86ea-0186d70ed964" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -297,7 +297,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:47:16 GMT" + "Fri, 14 Feb 2020 23:13:46 GMT" ], "Content-Length": [ "20" @@ -313,8 +313,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfMjg1MGU5ZjMtZDkxYi00OWEwLTk1OTgtMTk5YmNjNTJkZmI4?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlcy9vcGVyYXRpb25SZXN1bHRzL2IzTmZhV2hmTWpnMU1HVTVaak10WkRreFlpMDBPV0V3TFRrMU9UZ3RNVGs1WW1Oak5USmtabUk0P2FwaS12ZXJzaW9uPTIwMTktMDctMDEtcHJldmlldyZvcGVyYXRpb25Tb3VyY2U9b3NfaWgmYXN5bmNpbmZv", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfZjVmYmU5YzktMWMzZS00ZjY3LTgzZjQtMDBlYzQzNjlkOGIw?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlcy9vcGVyYXRpb25SZXN1bHRzL2IzTmZhV2hmWmpWbVltVTVZemt0TVdNelpTMDBaalkzTFRnelpqUXRNREJsWXpRek5qbGtPR0l3P2FwaS12ZXJzaW9uPTIwMTktMDctMDEtcHJldmlldyZvcGVyYXRpb25Tb3VyY2U9b3NfaWgmYXN5bmNpbmZv", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -339,13 +339,13 @@ "11997" ], "x-ms-request-id": [ - "f4b91b1a-0d49-42d8-a672-bad6b581c464" + "a18833c3-d054-4ec6-8d43-6294a1dd8610" ], "x-ms-correlation-request-id": [ - "f4b91b1a-0d49-42d8-a672-bad6b581c464" + "a18833c3-d054-4ec6-8d43-6294a1dd8610" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184747Z:f4b91b1a-0d49-42d8-a672-bad6b581c464" + "WESTUS:20200214T231417Z:a18833c3-d054-4ec6-8d43-6294a1dd8610" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -354,7 +354,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:47:46 GMT" + "Fri, 14 Feb 2020 23:14:17 GMT" ], "Content-Length": [ "20" @@ -370,8 +370,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfMjg1MGU5ZjMtZDkxYi00OWEwLTk1OTgtMTk5YmNjNTJkZmI4?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlcy9vcGVyYXRpb25SZXN1bHRzL2IzTmZhV2hmTWpnMU1HVTVaak10WkRreFlpMDBPV0V3TFRrMU9UZ3RNVGs1WW1Oak5USmtabUk0P2FwaS12ZXJzaW9uPTIwMTktMDctMDEtcHJldmlldyZvcGVyYXRpb25Tb3VyY2U9b3NfaWgmYXN5bmNpbmZv", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfZjVmYmU5YzktMWMzZS00ZjY3LTgzZjQtMDBlYzQzNjlkOGIw?api-version=2019-07-01-preview&operationSource=os_ih&asyncinfo", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2aWNlcy9vcGVyYXRpb25SZXN1bHRzL2IzTmZhV2hmWmpWbVltVTVZemt0TVdNelpTMDBaalkzTFRnelpqUXRNREJsWXpRek5qbGtPR0l3P2FwaS12ZXJzaW9uPTIwMTktMDctMDEtcHJldmlldyZvcGVyYXRpb25Tb3VyY2U9b3NfaWgmYXN5bmNpbmZv", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -396,13 +396,13 @@ "11996" ], "x-ms-request-id": [ - "aab54864-008b-4788-bf64-0ac8e9e2c696" + "12102c4a-6614-4042-8e59-2a4d8b1dbf5b" ], "x-ms-correlation-request-id": [ - "aab54864-008b-4788-bf64-0ac8e9e2c696" + "12102c4a-6614-4042-8e59-2a4d8b1dbf5b" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184817Z:aab54864-008b-4788-bf64-0ac8e9e2c696" + "WESTUS:20200214T231447Z:12102c4a-6614-4042-8e59-2a4d8b1dbf5b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -411,7 +411,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:16 GMT" + "Fri, 14 Feb 2020 23:14:47 GMT" ], "Content-Length": [ "22" @@ -427,8 +427,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -453,13 +453,13 @@ "11995" ], "x-ms-request-id": [ - "bd820822-a1b0-4178-bf9c-d2f2363d6c58" + "732187a0-9428-464e-80fc-0adbc0122eaa" ], "x-ms-correlation-request-id": [ - "bd820822-a1b0-4178-bf9c-d2f2363d6c58" + "732187a0-9428-464e-80fc-0adbc0122eaa" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184817Z:bd820822-a1b0-4178-bf9c-d2f2363d6c58" + "WESTUS:20200214T231448Z:732187a0-9428-464e-80fc-0adbc0122eaa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -468,7 +468,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:16 GMT" + "Fri, 14 Feb 2020 23:14:47 GMT" ], "Content-Length": [ "1460" @@ -480,17 +480,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "737cf0f8-9b65-446b-b664-c0361608ddcc" + "24bc806d-eb3c-42d5-a6ed-79ca511418c0" ], "Accept-Language": [ "en-US" @@ -516,13 +516,13 @@ "11994" ], "x-ms-request-id": [ - "407e3596-2572-4da8-b861-4e9b98e5cdfb" + "142c250b-5698-4f83-8ad4-16e2a5437ab4" ], "x-ms-correlation-request-id": [ - "407e3596-2572-4da8-b861-4e9b98e5cdfb" + "142c250b-5698-4f83-8ad4-16e2a5437ab4" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184818Z:407e3596-2572-4da8-b861-4e9b98e5cdfb" + "WESTUS:20200214T231448Z:142c250b-5698-4f83-8ad4-16e2a5437ab4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -531,7 +531,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:18 GMT" + "Fri, 14 Feb 2020 23:14:48 GMT" ], "Content-Length": [ "1460" @@ -543,17 +543,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cfa47be2-dcb9-42dc-8541-8da7f9fa63b7" + "6939036f-f00b-4cee-ad38-890c84fc7b50" ], "Accept-Language": [ "en-US" @@ -579,13 +579,13 @@ "11993" ], "x-ms-request-id": [ - "48c9b0e4-c991-427e-910c-4ae2ed2167f8" + "b200d601-2e11-4b65-b183-c01fbbdd8b0d" ], "x-ms-correlation-request-id": [ - "48c9b0e4-c991-427e-910c-4ae2ed2167f8" + "b200d601-2e11-4b65-b183-c01fbbdd8b0d" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184819Z:48c9b0e4-c991-427e-910c-4ae2ed2167f8" + "WESTUS:20200214T231449Z:b200d601-2e11-4b65-b183-c01fbbdd8b0d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -594,7 +594,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:18 GMT" + "Fri, 14 Feb 2020 23:14:48 GMT" ], "Content-Length": [ "1460" @@ -606,17 +606,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b8a864c3-0166-4bb9-adc3-0b12587b321e" + "d4a46f26-ac26-4d0d-8e4e-e7cd5699bc23" ], "Accept-Language": [ "en-US" @@ -642,13 +642,13 @@ "11992" ], "x-ms-request-id": [ - "38e4fdd3-2869-4760-8d84-1bf0e48af1c7" + "b80d1699-ec01-464e-a2a8-07baeb77e078" ], "x-ms-correlation-request-id": [ - "38e4fdd3-2869-4760-8d84-1bf0e48af1c7" + "b80d1699-ec01-464e-a2a8-07baeb77e078" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184821Z:38e4fdd3-2869-4760-8d84-1bf0e48af1c7" + "WESTUS:20200214T231450Z:b80d1699-ec01-464e-a2a8-07baeb77e078" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -657,7 +657,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:21 GMT" + "Fri, 14 Feb 2020 23:14:49 GMT" ], "Content-Length": [ "1460" @@ -669,17 +669,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2ecfa54a-faef-4446-8ee8-ce2edd7cf0f7" + "492e728b-8acd-40ff-8592-fc29c3aaef8b" ], "Accept-Language": [ "en-US" @@ -705,13 +705,13 @@ "11991" ], "x-ms-request-id": [ - "81eb1b38-f7e2-4f2b-b3ea-94d88d7ca919" + "d588a7af-7693-4384-b08e-15c01ab57d54" ], "x-ms-correlation-request-id": [ - "81eb1b38-f7e2-4f2b-b3ea-94d88d7ca919" + "d588a7af-7693-4384-b08e-15c01ab57d54" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184822Z:81eb1b38-f7e2-4f2b-b3ea-94d88d7ca919" + "WESTUS:20200214T231451Z:d588a7af-7693-4384-b08e-15c01ab57d54" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -720,7 +720,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:22 GMT" + "Fri, 14 Feb 2020 23:14:50 GMT" ], "Content-Length": [ "1460" @@ -732,17 +732,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "75346c9b-9f41-41b3-bb06-d1e99df9341e" + "dcc40b28-38e2-498b-ab3d-e34a8b5977c2" ], "Accept-Language": [ "en-US" @@ -768,13 +768,13 @@ "11990" ], "x-ms-request-id": [ - "760a3e56-676b-4f20-afd5-7242d1980cfa" + "5db1369c-0564-4e64-90cc-2ccd20084e0d" ], "x-ms-correlation-request-id": [ - "760a3e56-676b-4f20-afd5-7242d1980cfa" + "5db1369c-0564-4e64-90cc-2ccd20084e0d" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184823Z:760a3e56-676b-4f20-afd5-7242d1980cfa" + "WESTUS:20200214T231452Z:5db1369c-0564-4e64-90cc-2ccd20084e0d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -783,7 +783,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:23 GMT" + "Fri, 14 Feb 2020 23:14:51 GMT" ], "Content-Length": [ "1460" @@ -795,17 +795,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8ddbe305-cab5-4144-9ca9-dc6953f2f4b6" + "9af33972-28a4-4419-aae6-763d24d72ab1" ], "Accept-Language": [ "en-US" @@ -831,13 +831,13 @@ "11989" ], "x-ms-request-id": [ - "c3950e1a-151a-4e1d-aa62-a5b6f86d1939" + "97d39879-1444-47f2-8626-bd284975ac93" ], "x-ms-correlation-request-id": [ - "c3950e1a-151a-4e1d-aa62-a5b6f86d1939" + "97d39879-1444-47f2-8626-bd284975ac93" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184824Z:c3950e1a-151a-4e1d-aa62-a5b6f86d1939" + "WESTUS:20200214T231452Z:97d39879-1444-47f2-8626-bd284975ac93" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -846,7 +846,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:23 GMT" + "Fri, 14 Feb 2020 23:14:52 GMT" ], "Content-Length": [ "1460" @@ -858,17 +858,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "330b5554-b750-4371-8ac9-e6906bc72442" + "aa6edcda-3a0b-4485-a78c-b78c4fa7bf40" ], "Accept-Language": [ "en-US" @@ -894,13 +894,13 @@ "11988" ], "x-ms-request-id": [ - "e092d7ac-2276-4d57-b7b2-531eda95c509" + "124ab282-f7cd-4431-9450-35956c8ba03b" ], "x-ms-correlation-request-id": [ - "e092d7ac-2276-4d57-b7b2-531eda95c509" + "124ab282-f7cd-4431-9450-35956c8ba03b" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184825Z:e092d7ac-2276-4d57-b7b2-531eda95c509" + "WESTUS:20200214T231453Z:124ab282-f7cd-4431-9450-35956c8ba03b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -909,7 +909,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:24 GMT" + "Fri, 14 Feb 2020 23:14:53 GMT" ], "Content-Length": [ "1460" @@ -921,17 +921,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "dee0258a-16e0-4b37-bc44-8389a5214d61" + "80aba0b4-1dc3-4f08-90a8-b992dfd36578" ], "Accept-Language": [ "en-US" @@ -957,13 +957,13 @@ "11987" ], "x-ms-request-id": [ - "a218e81d-c759-4f66-9978-a2e5c7f20381" + "4af0e6ce-1b1f-4935-9f36-24ad276e197f" ], "x-ms-correlation-request-id": [ - "a218e81d-c759-4f66-9978-a2e5c7f20381" + "4af0e6ce-1b1f-4935-9f36-24ad276e197f" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184826Z:a218e81d-c759-4f66-9978-a2e5c7f20381" + "WESTUS:20200214T231454Z:4af0e6ce-1b1f-4935-9f36-24ad276e197f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -972,7 +972,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:25 GMT" + "Fri, 14 Feb 2020 23:14:54 GMT" ], "Content-Length": [ "1460" @@ -984,17 +984,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c96b4bec-66db-4a45-a32b-67c4a0997783" + "fd47a1af-6016-4654-b81f-f90d15f264c0" ], "Accept-Language": [ "en-US" @@ -1020,13 +1020,13 @@ "11986" ], "x-ms-request-id": [ - "c4d7f098-3130-4fdf-b446-bc935e0d098c" + "07f6d37e-deb9-4efb-b7c3-0a2376684f2a" ], "x-ms-correlation-request-id": [ - "c4d7f098-3130-4fdf-b446-bc935e0d098c" + "07f6d37e-deb9-4efb-b7c3-0a2376684f2a" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184827Z:c4d7f098-3130-4fdf-b446-bc935e0d098c" + "WESTUS:20200214T231455Z:07f6d37e-deb9-4efb-b7c3-0a2376684f2a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1035,7 +1035,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:26 GMT" + "Fri, 14 Feb 2020 23:14:54 GMT" ], "Content-Length": [ "1460" @@ -1047,17 +1047,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ee5405f8-c6f4-4bc5-9c3b-fe08bdc5bbef" + "4824d18a-b530-448b-9e0d-c378aff01813" ], "Accept-Language": [ "en-US" @@ -1083,13 +1083,13 @@ "11985" ], "x-ms-request-id": [ - "8bc77230-d1cb-4556-a43e-1986b6ee052d" + "ef664aff-fc00-4da6-96af-db29360a682d" ], "x-ms-correlation-request-id": [ - "8bc77230-d1cb-4556-a43e-1986b6ee052d" + "ef664aff-fc00-4da6-96af-db29360a682d" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184827Z:8bc77230-d1cb-4556-a43e-1986b6ee052d" + "WESTUS:20200214T231456Z:ef664aff-fc00-4da6-96af-db29360a682d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1098,7 +1098,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:26 GMT" + "Fri, 14 Feb 2020 23:14:55 GMT" ], "Content-Length": [ "1460" @@ -1110,17 +1110,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "239d00ce-ecba-4b98-8065-b2db0479377d" + "9ff79449-400b-482c-8aca-b803e630d21b" ], "Accept-Language": [ "en-US" @@ -1146,13 +1146,13 @@ "11984" ], "x-ms-request-id": [ - "15d9cff0-7a52-4fcc-ada1-29aa7faeeeb6" + "cf273048-4b23-44e8-a438-20783fd04a93" ], "x-ms-correlation-request-id": [ - "15d9cff0-7a52-4fcc-ada1-29aa7faeeeb6" + "cf273048-4b23-44e8-a438-20783fd04a93" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184828Z:15d9cff0-7a52-4fcc-ada1-29aa7faeeeb6" + "WESTUS:20200214T231456Z:cf273048-4b23-44e8-a438-20783fd04a93" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1161,7 +1161,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:28 GMT" + "Fri, 14 Feb 2020 23:14:56 GMT" ], "Content-Length": [ "1460" @@ -1173,17 +1173,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1be78dd3-79ba-4525-892b-5fbc939ea2ce" + "6ef66fc8-42b3-4a4b-8970-7a6c19b9c668" ], "Accept-Language": [ "en-US" @@ -1209,13 +1209,76 @@ "11983" ], "x-ms-request-id": [ - "fa20d616-93f5-4128-9e13-762c46d063e1" + "aa7816c7-81f7-46f6-b0cd-ca7cf3990f33" + ], + "x-ms-correlation-request-id": [ + "aa7816c7-81f7-46f6-b0cd-ca7cf3990f33" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200214T231457Z:aa7816c7-81f7-46f6-b0cd-ca7cf3990f33" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 14 Feb 2020 23:14:57 GMT" + ], + "Content-Length": [ + "1460" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0Mzc/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4ec2c2f1-5e8b-4ba9-8ac9-93485bc40e3d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.IotHub.IotHubClient/2.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "125be985-dcb0-468c-90c7-3faa4d71a36b" ], "x-ms-correlation-request-id": [ - "fa20d616-93f5-4128-9e13-762c46d063e1" + "125be985-dcb0-468c-90c7-3faa4d71a36b" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184829Z:fa20d616-93f5-4128-9e13-762c46d063e1" + "WESTUS:20200214T231458Z:125be985-dcb0-468c-90c7-3faa4d71a36b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1224,7 +1287,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:29 GMT" + "Fri, 14 Feb 2020 23:14:58 GMT" ], "Content-Length": [ "1460" @@ -1236,17 +1299,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913\",\r\n \"name\": \"ps6913\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps4872\",\r\n \"etag\": \"AAAAAAtZIqw=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps6913.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps6913\",\r\n \"endpoint\": \"sb://iothub-ns-ps6913-2916006-177ce01aa5.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437\",\r\n \"name\": \"ps4437\",\r\n \"type\": \"Microsoft.Devices/IotHubs\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"subscriptionid\": \"91d12660-3dec-467a-be2a-213b5544ddc0\",\r\n \"resourcegroup\": \"ps5201\",\r\n \"etag\": \"AAAAAAttlBE=\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"location\": \"West US\",\r\n \"role\": \"primary\"\r\n },\r\n {\r\n \"location\": \"East US\",\r\n \"role\": \"secondary\"\r\n }\r\n ],\r\n \"state\": \"Active\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipFilterRules\": [],\r\n \"hostName\": \"ps4437.azure-devices.net\",\r\n \"eventHubEndpoints\": {\r\n \"events\": {\r\n \"retentionTimeInDays\": 1,\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ],\r\n \"path\": \"ps4437\",\r\n \"endpoint\": \"sb://iothub-ns-ps4437-2933291-9be205ffd6.servicebus.windows.net/\"\r\n }\r\n },\r\n \"routing\": {\r\n \"endpoints\": {\r\n \"serviceBusQueues\": [],\r\n \"serviceBusTopics\": [],\r\n \"eventHubs\": [],\r\n \"storageContainers\": []\r\n },\r\n \"routes\": [],\r\n \"fallbackRoute\": {\r\n \"name\": \"$fallback\",\r\n \"source\": \"DeviceMessages\",\r\n \"condition\": \"true\",\r\n \"endpointNames\": [\r\n \"events\"\r\n ],\r\n \"isEnabled\": true\r\n }\r\n },\r\n \"storageEndpoints\": {\r\n \"$default\": {\r\n \"sasTtlAsIso8601\": \"PT1H\",\r\n \"connectionString\": \"\",\r\n \"containerName\": \"\"\r\n }\r\n },\r\n \"messagingEndpoints\": {\r\n \"fileNotifications\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"enableFileUploadNotifications\": false,\r\n \"cloudToDevice\": {\r\n \"maxDeliveryCount\": 10,\r\n \"defaultTtlAsIso8601\": \"PT1H\",\r\n \"feedback\": {\r\n \"lockDurationAsIso8601\": \"PT1M\",\r\n \"ttlAsIso8601\": \"PT1H\",\r\n \"maxDeliveryCount\": 10\r\n }\r\n },\r\n \"features\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ed89f7a7-5d04-4ca8-a93a-c2dca51797bb" + "fbb382a6-d33e-45f7-8ff3-d06a50fa0ebd" ], "Accept-Language": [ "en-US" @@ -1272,13 +1335,13 @@ "1199" ], "x-ms-request-id": [ - "8a770517-d5be-4662-83ac-3586f1348906" + "4ad9d6d4-906d-4977-b9f7-9baf43d6a061" ], "x-ms-correlation-request-id": [ - "8a770517-d5be-4662-83ac-3586f1348906" + "4ad9d6d4-906d-4977-b9f7-9baf43d6a061" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184819Z:8a770517-d5be-4662-83ac-3586f1348906" + "WESTUS:20200214T231449Z:4ad9d6d4-906d-4977-b9f7-9baf43d6a061" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1287,7 +1350,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:18 GMT" + "Fri, 14 Feb 2020 23:14:49 GMT" ], "Content-Length": [ "905" @@ -1299,17 +1362,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "54705c71-b599-474e-9b62-b97bd6977751" + "1752b59e-2f42-42e9-bfff-32e724885324" ], "Accept-Language": [ "en-US" @@ -1335,13 +1398,13 @@ "1198" ], "x-ms-request-id": [ - "cb981f1e-923b-487f-b9db-d771f2977beb" + "178ba8db-5c91-4752-8606-71a0220da7a4" ], "x-ms-correlation-request-id": [ - "cb981f1e-923b-487f-b9db-d771f2977beb" + "178ba8db-5c91-4752-8606-71a0220da7a4" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184822Z:cb981f1e-923b-487f-b9db-d771f2977beb" + "WESTUS:20200214T231450Z:178ba8db-5c91-4752-8606-71a0220da7a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1350,7 +1413,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:21 GMT" + "Fri, 14 Feb 2020 23:14:50 GMT" ], "Content-Length": [ "905" @@ -1362,17 +1425,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "764af496-34b7-448d-91e8-23a0968e6c66" + "fd0e64af-56a2-4bd2-b375-442b5c0a3584" ], "Accept-Language": [ "en-US" @@ -1398,13 +1461,13 @@ "1197" ], "x-ms-request-id": [ - "8f1ab4bb-df61-4508-a257-f06939bfcb98" + "de4f07de-dd93-4ada-9bea-3c6c5b8d5f87" ], "x-ms-correlation-request-id": [ - "8f1ab4bb-df61-4508-a257-f06939bfcb98" + "de4f07de-dd93-4ada-9bea-3c6c5b8d5f87" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184823Z:8f1ab4bb-df61-4508-a257-f06939bfcb98" + "WESTUS:20200214T231451Z:de4f07de-dd93-4ada-9bea-3c6c5b8d5f87" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1413,7 +1476,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:22 GMT" + "Fri, 14 Feb 2020 23:14:50 GMT" ], "Content-Length": [ "905" @@ -1425,17 +1488,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8b75f001-e3a2-4f93-b3d7-613887ef556c" + "acc568ed-1c62-4bc6-9f11-a596ec038b2e" ], "Accept-Language": [ "en-US" @@ -1461,13 +1524,13 @@ "1196" ], "x-ms-request-id": [ - "02c7f750-ab04-4dfb-b298-97974f17d370" + "5da2ede2-4e52-4103-9dff-c762847bc11b" ], "x-ms-correlation-request-id": [ - "02c7f750-ab04-4dfb-b298-97974f17d370" + "5da2ede2-4e52-4103-9dff-c762847bc11b" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184824Z:02c7f750-ab04-4dfb-b298-97974f17d370" + "WESTUS:20200214T231452Z:5da2ede2-4e52-4103-9dff-c762847bc11b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1476,7 +1539,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:23 GMT" + "Fri, 14 Feb 2020 23:14:51 GMT" ], "Content-Length": [ "905" @@ -1488,17 +1551,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4c8c1d68-a558-4d98-966a-0f320448b7a7" + "1a4b818f-7cb2-4a8b-8f50-d6678d5c435c" ], "Accept-Language": [ "en-US" @@ -1524,13 +1587,13 @@ "1195" ], "x-ms-request-id": [ - "144c2d12-d67e-458a-9229-95364edc08e1" + "dc73d479-f8ca-4716-98bd-b80da65fd032" ], "x-ms-correlation-request-id": [ - "144c2d12-d67e-458a-9229-95364edc08e1" + "dc73d479-f8ca-4716-98bd-b80da65fd032" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184824Z:144c2d12-d67e-458a-9229-95364edc08e1" + "WESTUS:20200214T231453Z:dc73d479-f8ca-4716-98bd-b80da65fd032" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1539,7 +1602,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:23 GMT" + "Fri, 14 Feb 2020 23:14:52 GMT" ], "Content-Length": [ "905" @@ -1551,17 +1614,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bb001410-63e8-4469-9f01-c6f40bc696c8" + "b3e11afd-6d86-41b5-8236-c96d4a727ec6" ], "Accept-Language": [ "en-US" @@ -1587,13 +1650,13 @@ "1194" ], "x-ms-request-id": [ - "363f0edc-b637-45bf-9fa2-25bfcf150e7b" + "266c23a2-db5b-4b29-9738-286947b107cd" ], "x-ms-correlation-request-id": [ - "363f0edc-b637-45bf-9fa2-25bfcf150e7b" + "266c23a2-db5b-4b29-9738-286947b107cd" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184825Z:363f0edc-b637-45bf-9fa2-25bfcf150e7b" + "WESTUS:20200214T231453Z:266c23a2-db5b-4b29-9738-286947b107cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1602,7 +1665,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:24 GMT" + "Fri, 14 Feb 2020 23:14:53 GMT" ], "Content-Length": [ "905" @@ -1614,17 +1677,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "633a3594-a4c2-4e64-ac32-03f58f7c8ad2" + "4f274c17-333f-480e-9584-47d0a9f337b4" ], "Accept-Language": [ "en-US" @@ -1650,13 +1713,13 @@ "1193" ], "x-ms-request-id": [ - "abb52f27-9164-449b-b26d-14fa58bd6948" + "212e08cd-91cc-490c-ad1a-41e17bdb1c59" ], "x-ms-correlation-request-id": [ - "abb52f27-9164-449b-b26d-14fa58bd6948" + "212e08cd-91cc-490c-ad1a-41e17bdb1c59" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184826Z:abb52f27-9164-449b-b26d-14fa58bd6948" + "WESTUS:20200214T231454Z:212e08cd-91cc-490c-ad1a-41e17bdb1c59" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1665,7 +1728,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:25 GMT" + "Fri, 14 Feb 2020 23:14:54 GMT" ], "Content-Length": [ "905" @@ -1677,17 +1740,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f8f01f24-9c0d-431a-a88d-54213b737243" + "589bfba9-8d41-4ba3-9dd7-2746820cf804" ], "Accept-Language": [ "en-US" @@ -1713,13 +1776,13 @@ "1192" ], "x-ms-request-id": [ - "214f4e4e-5e54-411c-97dc-f56ebccd958c" + "accb24c3-f628-4bf3-8568-b3d2e5e51e80" ], "x-ms-correlation-request-id": [ - "214f4e4e-5e54-411c-97dc-f56ebccd958c" + "accb24c3-f628-4bf3-8568-b3d2e5e51e80" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184827Z:214f4e4e-5e54-411c-97dc-f56ebccd958c" + "WESTUS:20200214T231455Z:accb24c3-f628-4bf3-8568-b3d2e5e51e80" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1728,7 +1791,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:26 GMT" + "Fri, 14 Feb 2020 23:14:55 GMT" ], "Content-Length": [ "905" @@ -1740,17 +1803,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "37518ad2-0609-4983-b963-1b3cd6bf6393" + "9b7d98b0-c8df-41e0-bacf-05d799511a54" ], "Accept-Language": [ "en-US" @@ -1776,13 +1839,13 @@ "1191" ], "x-ms-request-id": [ - "88789f52-d505-4e1c-bd88-7e43bf6b16b5" + "afb4fd7b-a9b7-49b4-bd64-48f37c059110" ], "x-ms-correlation-request-id": [ - "88789f52-d505-4e1c-bd88-7e43bf6b16b5" + "afb4fd7b-a9b7-49b4-bd64-48f37c059110" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184828Z:88789f52-d505-4e1c-bd88-7e43bf6b16b5" + "WESTUS:20200214T231456Z:afb4fd7b-a9b7-49b4-bd64-48f37c059110" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1791,7 +1854,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:28 GMT" + "Fri, 14 Feb 2020 23:14:55 GMT" ], "Content-Length": [ "905" @@ -1803,17 +1866,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "12d84c41-5e10-4949-a37f-ee6bf64c6fa3" + "4d2609c0-63a0-4752-8655-f3dc168063f4" ], "Accept-Language": [ "en-US" @@ -1839,13 +1902,13 @@ "1190" ], "x-ms-request-id": [ - "93b54cfd-643f-464a-99e2-037931255862" + "6a3c70bd-21a6-4fae-9fa6-1311efe502be" ], "x-ms-correlation-request-id": [ - "93b54cfd-643f-464a-99e2-037931255862" + "6a3c70bd-21a6-4fae-9fa6-1311efe502be" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184828Z:93b54cfd-643f-464a-99e2-037931255862" + "WESTUS:20200214T231457Z:6a3c70bd-21a6-4fae-9fa6-1311efe502be" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1854,7 +1917,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:28 GMT" + "Fri, 14 Feb 2020 23:14:56 GMT" ], "Content-Length": [ "905" @@ -1866,17 +1929,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps4872/providers/Microsoft.Devices/IotHubs/ps6913/listkeys?api-version=2019-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNDg3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczY5MTMvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b16dc4b8-4658-44e7-9212-32b9a844523d" + "32a64938-9ae1-4d13-a653-0babe338e2f5" ], "Accept-Language": [ "en-US" @@ -1902,13 +1965,76 @@ "1189" ], "x-ms-request-id": [ - "fc188f64-24e2-4a56-ad52-6d4c92ddfd25" + "a4346371-8326-4b12-89ba-0ea435b1606a" + ], + "x-ms-correlation-request-id": [ + "a4346371-8326-4b12-89ba-0ea435b1606a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200214T231457Z:a4346371-8326-4b12-89ba-0ea435b1606a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 14 Feb 2020 23:14:57 GMT" + ], + "Content-Length": [ + "905" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/ps5201/providers/Microsoft.Devices/IotHubs/ps4437/listkeys?api-version=2019-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTFkMTI2NjAtM2RlYy00NjdhLWJlMmEtMjEzYjU1NDRkZGMwL3Jlc291cmNlR3JvdXBzL3BzNTIwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldmljZXMvSW90SHVicy9wczQ0MzcvbGlzdGtleXM/YXBpLXZlcnNpb249MjAxOS0wNy0wMS1wcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1d2df108-a8f6-4f00-965a-e8a85ed48f0e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.IotHub.IotHubClient/2.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "5cf2db9f-df05-4b92-8d49-d55649695e30" ], "x-ms-correlation-request-id": [ - "fc188f64-24e2-4a56-ad52-6d4c92ddfd25" + "5cf2db9f-df05-4b92-8d49-d55649695e30" ], "x-ms-routing-request-id": [ - "WESTUS2:20200211T184829Z:fc188f64-24e2-4a56-ad52-6d4c92ddfd25" + "WESTUS:20200214T231458Z:5cf2db9f-df05-4b92-8d49-d55649695e30" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1917,7 +2043,7 @@ "nosniff" ], "Date": [ - "Tue, 11 Feb 2020 18:48:29 GMT" + "Fri, 14 Feb 2020 23:14:58 GMT" ], "Content-Length": [ "905" @@ -1929,17 +2055,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"XAa8xSeyp7pLGNqD9+gKL4Rb2BVD6fY7JblS4JwRpPQ=\",\r\n \"secondaryKey\": \"Op0hrVha2jhC13FUFUP0mecUnnWCuZwHhUDz5qDg87U=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"wFEkEUOBCTl8V2kO36AVrfTnxY4rjraBlnUeJS76uG4=\",\r\n \"secondaryKey\": \"VDXUHEw6hLKqAn4+DHQiYSuTRJZM3dsmzxqHkObngNE=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"mPfMFzvKwQ4WwsOA3NEnrv3I40Ll7zxplLefqqDdYUU=\",\r\n \"secondaryKey\": \"3lnODUdfbnkJLl4Nzqcvg1BjQs0ttFAl9jeZ8KOPvKc=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"MJuJGNCvzkEd3i13XLbsQ64Ft391gxihb1tyyYsNv6k=\",\r\n \"secondaryKey\": \"XHetmNrC/vWrLHPSXW0w0Gak3XqIqXC0Hdb3K1APJNw=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"5B4tWp4VNDHFYRo2uhUB18RUhVmJbQE3vFGS2KPP5+w=\",\r\n \"secondaryKey\": \"q3lwigGqO1LF3/DzfDslVK61TYXimJfc7ARmw2G9MaI=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"keyName\": \"iothubowner\",\r\n \"primaryKey\": \"kvFJgizuy51n61yT8Yo3rMETN05dey814GcwCyCiRsw=\",\r\n \"secondaryKey\": \"esgLkYrX3GonMutQ72IMI4OlhTj27wIi21iUSlGBpa0=\",\r\n \"rights\": \"RegistryWrite, ServiceConnect, DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"service\",\r\n \"primaryKey\": \"dezGZ29IB8akVCk7ytHTPP0ea93a8ZUX9IV/M9dSypo=\",\r\n \"secondaryKey\": \"4JuDYngfP/XEmqgFNa9aTUH2cEys3qd0tkuQF9/cy9o=\",\r\n \"rights\": \"ServiceConnect\"\r\n },\r\n {\r\n \"keyName\": \"device\",\r\n \"primaryKey\": \"ixq71KsPZ4c69xDBwMHZBZQbvUOUAikKKwhVoz9c2RU=\",\r\n \"secondaryKey\": \"rcoQzdCSGVpvmTbqaGtzNwZt5HZBMnuu1xXydxFE/tE=\",\r\n \"rights\": \"DeviceConnect\"\r\n },\r\n {\r\n \"keyName\": \"registryRead\",\r\n \"primaryKey\": \"tEC6UMqa6zVMOtYSqL61h+yleXkYM1cSvAa8jFInP78=\",\r\n \"secondaryKey\": \"JO6DPHCS5On0XtY/4L1JIT1/X9NyvYaIW31PeKI5U+U=\",\r\n \"rights\": \"RegistryRead\"\r\n },\r\n {\r\n \"keyName\": \"registryReadWrite\",\r\n \"primaryKey\": \"98ecjPfxo8v8w6U4UA/t6WnFOGYm93VE031XnKdkVnc=\",\r\n \"secondaryKey\": \"UkbCJJtoYUc3eEk/0JodNS1Nl1spSTn2tRKp8/huQfA=\",\r\n \"rights\": \"RegistryWrite\"\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": { "Test-AzureRmIotHubModuleLifecycle": [ - "ps6913", - "ps4872", - "ps1962", - "ps743", - "ps8908" + "ps4437", + "ps5201", + "ps2109", + "ps4868", + "ps3571" ] }, "Variables": { diff --git a/src/IotHub/IotHub/Az.IotHub.psd1 b/src/IotHub/IotHub/Az.IotHub.psd1 index 3fdf26570034..36395541786d 100644 --- a/src/IotHub/IotHub/Az.IotHub.psd1 +++ b/src/IotHub/IotHub/Az.IotHub.psd1 @@ -97,7 +97,8 @@ CmdletsToExport = 'Add-AzIotHubKey', 'Get-AzIotHubEventHubConsumerGroup', 'Get-AzIotHubDevice', 'Remove-AzIotHubDevice', 'Set-AzIotHubDevice', 'Add-AzIotHubModule', 'Get-AzIotHubModule', 'Remove-AzIotHubModule', - 'Set-AzIotHubModule', 'Get-AzIotHubDeviceConnectionString' + 'Set-AzIotHubModule', 'Get-AzIotHubDeviceConnectionString', + 'Get-AzIotHubModuleConnectionString' # Variables to export from this module # VariablesToExport = @() @@ -105,7 +106,7 @@ CmdletsToExport = 'Add-AzIotHubKey', 'Get-AzIotHubEventHubConsumerGroup', AliasesToExport = 'Get-AzIotHubEHCG', 'Add-AzIotHubEHCG', 'Remove-AzIotHubEHCG', 'Set-AzIotHubVC', 'Get-AzIotHubCVC', 'Add-AzIotHubMsgEnrich', 'Get-AzIotHubMsgEnrich', 'Remove-AzIotHubMsgEnrich', - 'Set-AzIotHubMsgEnrich', 'Get-AzIotHubDCS' + 'Set-AzIotHubMsgEnrich', 'Get-AzIotHubDCS', 'Get-AzIotHubMCS' # DSC resources to export from this module # DscResourcesToExport = @() diff --git a/src/IotHub/IotHub/ChangeLog.md b/src/IotHub/IotHub/ChangeLog.md index 59b07d8aede0..a6841031ef59 100644 --- a/src/IotHub/IotHub/ChangeLog.md +++ b/src/IotHub/IotHub/ChangeLog.md @@ -29,6 +29,7 @@ - Remove-AzIotHubModule - Set-AzIotHubModule * Add cmdlet to get the connection string of a target IoT device in an Iot Hub. +* Add cmdlet to get the connection string of a module on a target IoT device in an Iot Hub. ## Version 2.1.0 * Added support to manage devices in an Iot Hub. New Cmdlets are: diff --git a/src/IotHub/IotHub/IotHub/DataPlane/Device/GetAzIotHubDeviceConnectionString.cs b/src/IotHub/IotHub/IotHub/DataPlane/Device/GetAzIotHubDeviceConnectionString.cs index 59a3406ddd86..b0c7f6ae91d2 100644 --- a/src/IotHub/IotHub/IotHub/DataPlane/Device/GetAzIotHubDeviceConnectionString.cs +++ b/src/IotHub/IotHub/IotHub/DataPlane/Device/GetAzIotHubDeviceConnectionString.cs @@ -89,7 +89,10 @@ public override void ExecuteCmdlet() if (this.DeviceId != null) { Device device = registryManager.GetDeviceAsync(this.DeviceId).GetAwaiter().GetResult(); - this.WriteObject(GetDeviceConnectionString(device, iotHubDescription.Properties.HostName)); + if (device != null) + { + this.WriteObject(GetDeviceConnectionString(device, iotHubDescription.Properties.HostName)); + } } else { diff --git a/src/IotHub/IotHub/IotHub/DataPlane/Models/PSModuleConnectionString.cs b/src/IotHub/IotHub/IotHub/DataPlane/Models/PSModuleConnectionString.cs new file mode 100644 index 000000000000..243a88b74a1f --- /dev/null +++ b/src/IotHub/IotHub/IotHub/DataPlane/Models/PSModuleConnectionString.cs @@ -0,0 +1,31 @@ +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Management.IotHub.Models +{ + /// + /// Connection string of the module. + /// + + public class PSModuleConnectionString + { + /// + /// Module ID. + /// + public string ModuleId { get; set; } + + /// + /// Module Connection String. + /// + public string ConnectionString { get; set; } + } +} diff --git a/src/IotHub/IotHub/IotHub/DataPlane/Module/GetAzIotHubModuleConnectionString.cs b/src/IotHub/IotHub/IotHub/DataPlane/Module/GetAzIotHubModuleConnectionString.cs new file mode 100644 index 000000000000..cda41160384d --- /dev/null +++ b/src/IotHub/IotHub/IotHub/DataPlane/Module/GetAzIotHubModuleConnectionString.cs @@ -0,0 +1,145 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Management.IotHub +{ + using System; + using System.Collections.Generic; + using System.Linq; + using System.Management.Automation; + using Microsoft.Azure.Commands.Management.IotHub.Common; + using Microsoft.Azure.Commands.Management.IotHub.Models; + using Microsoft.Azure.Devices; + using Microsoft.Azure.Management.IotHub; + using Microsoft.Azure.Management.IotHub.Models; + using ResourceManager.Common.ArgumentCompleters; + + [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "IotHubModuleConnectionString", DefaultParameterSetName = ResourceParameterSet)] + [Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "IotHubMCS")] + [OutputType(typeof(PSModuleConnectionString))] + public class GetAzIotHubModuleConnectionString : IotHubBaseCmdlet + { + private const string ResourceIdParameterSet = "ResourceIdSet"; + private const string ResourceParameterSet = "ResourceSet"; + private const string InputObjectParameterSet = "InputObjectSet"; + + [Parameter(Position = 0, Mandatory = true, ParameterSetName = InputObjectParameterSet, ValueFromPipeline = true, HelpMessage = "IotHub object")] + [ValidateNotNullOrEmpty] + public PSIotHub InputObject { get; set; } + + [Parameter(Position = 0, Mandatory = true, ParameterSetName = ResourceParameterSet, HelpMessage = "Name of the Resource Group")] + [ValidateNotNullOrEmpty] + [ResourceGroupCompleter] + public string ResourceGroupName { get; set; } + + [Parameter(Position = 0, Mandatory = true, ParameterSetName = ResourceIdParameterSet, ValueFromPipelineByPropertyName = true, HelpMessage = "IotHub Resource Id")] + [ValidateNotNullOrEmpty] + [ResourceIdCompleter("Microsoft.Devices/IotHubs")] + public string ResourceId { get; set; } + + [Parameter(Position = 1, Mandatory = true, ParameterSetName = ResourceParameterSet, HelpMessage = "Name of the Iot Hub")] + [ValidateNotNullOrEmpty] + public string IotHubName { get; set; } + + [Parameter(Position = 1, Mandatory = true, ParameterSetName = InputObjectParameterSet, HelpMessage = "Target Device Id.")] + [Parameter(Position = 1, Mandatory = true, ParameterSetName = ResourceIdParameterSet, HelpMessage = "Target Device Id.")] + [Parameter(Position = 2, Mandatory = true, ParameterSetName = ResourceParameterSet, HelpMessage = "Target Device Id.")] + [ValidateNotNullOrEmpty] + public string DeviceId { get; set; } + + [Parameter(Mandatory = false, ParameterSetName = InputObjectParameterSet, HelpMessage = "Target Module Id.")] + [Parameter(Mandatory = false, ParameterSetName = ResourceIdParameterSet, HelpMessage = "Target Module Id.")] + [Parameter(Mandatory = false, ParameterSetName = ResourceParameterSet, HelpMessage = "Target Module Id.")] + [ValidateNotNullOrEmpty] + public string ModuleId { get; set; } + + [Parameter(Mandatory = false, ParameterSetName = InputObjectParameterSet, HelpMessage = "Shared access policy key type for auth.")] + [Parameter(Mandatory = false, ParameterSetName = ResourceIdParameterSet, HelpMessage = "Shared access policy key type for auth.")] + [Parameter(Mandatory = false, ParameterSetName = ResourceParameterSet, HelpMessage = "Shared access policy key type for auth.")] + public PSKeyType KeyType { get; set; } + + public override void ExecuteCmdlet() + { + IotHubDescription iotHubDescription; + if (ParameterSetName.Equals(InputObjectParameterSet)) + { + this.ResourceGroupName = this.InputObject.Resourcegroup; + this.IotHubName = this.InputObject.Name; + iotHubDescription = IotHubUtils.ConvertObject(this.InputObject); + } + else + { + if (ParameterSetName.Equals(ResourceIdParameterSet)) + { + this.ResourceGroupName = IotHubUtils.GetResourceGroupName(this.ResourceId); + this.IotHubName = IotHubUtils.GetIotHubName(this.ResourceId); + } + + iotHubDescription = this.IotHubClient.IotHubResource.Get(this.ResourceGroupName, this.IotHubName); + } + + IEnumerable authPolicies = this.IotHubClient.IotHubResource.ListKeys(this.ResourceGroupName, this.IotHubName); + SharedAccessSignatureAuthorizationRule policy = IotHubUtils.GetPolicy(authPolicies, PSAccessRights.RegistryRead); + PSIotHubConnectionString psIotHubConnectionString = IotHubUtils.ToPSIotHubConnectionString(policy, iotHubDescription.Properties.HostName); + RegistryManager registryManager = RegistryManager.CreateFromConnectionString(psIotHubConnectionString.PrimaryConnectionString); + Device device = registryManager.GetDeviceAsync(this.DeviceId).GetAwaiter().GetResult(); + if (device != null) + { + List modules = registryManager.GetModulesOnDeviceAsync(this.DeviceId).GetAwaiter().GetResult().ToList(); + if (this.ModuleId != null) + { + if (modules.Any(m => m.Id.Equals(this.ModuleId))) + { + this.WriteObject(GetModuleConnectionString(modules.FirstOrDefault(m => m.Id.Equals(this.ModuleId)), iotHubDescription.Properties.HostName)); + } + } + else + { + IList psModuleConnectionStringCollection = new List(); + foreach (Module module in modules) + { + psModuleConnectionStringCollection.Add(GetModuleConnectionString(module, iotHubDescription.Properties.HostName)); + } + + this.WriteObject(psModuleConnectionStringCollection, true); + } + } + } + + private PSModuleConnectionString GetModuleConnectionString(Module module, string hostName) + { + string key; + switch (module.Authentication.Type) + { + case AuthenticationType.Sas: + key = string.Format("SharedAccessKey={0}", this.KeyType.Equals(PSKeyType.primary) ? module.Authentication.SymmetricKey.PrimaryKey : module.Authentication.SymmetricKey.SecondaryKey); + break; + case AuthenticationType.SelfSigned: + case AuthenticationType.CertificateAuthority: + key = "x509=true"; + break; + default: + throw new ArgumentNullException("Unable to get authentication type of device."); + } + + PSModuleConnectionString psModuleConnectionString = new PSModuleConnectionString + { + ModuleId = module.Id, + ConnectionString = $"HostName={hostName};DeviceId={module.DeviceId};ModuleId={module.Id};{key}" + }; + + return psModuleConnectionString; + } + } +} diff --git a/src/IotHub/IotHub/help/Az.IotHub.md b/src/IotHub/IotHub/help/Az.IotHub.md index 4c4f3dc1809b..0b3990b6ffc9 100644 --- a/src/IotHub/IotHub/help/Az.IotHub.md +++ b/src/IotHub/IotHub/help/Az.IotHub.md @@ -68,6 +68,9 @@ Lists all message enrichments or a particular message enrichment for your IoT Hu ### [Get-AzIotHubModule](Get-AzIotHubModule.md) Get the details of an IoT device module or list modules located on an IoT device in an IoT Hub. +### [Get-AzIotHubModuleConnectionString](Get-AzIotHubModuleConnectionString.md) +Get the connection string of a target IoT device module in an Iot Hub. + ### [Get-AzIotHubQuotaMetric](Get-AzIotHubQuotaMetric.md) Gets the Quota Metrics for an IotHub. diff --git a/src/IotHub/IotHub/help/Get-AzIotHubModuleConnectionString.md b/src/IotHub/IotHub/help/Get-AzIotHubModuleConnectionString.md new file mode 100644 index 000000000000..dd76f5a97b21 --- /dev/null +++ b/src/IotHub/IotHub/help/Get-AzIotHubModuleConnectionString.md @@ -0,0 +1,199 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.IotHub.dll-Help.xml +Module Name: Az.IotHub +online version: https://docs.microsoft.com/en-us/powershell/module/az.iothub/get-aziothubmoduleconnectionstring +schema: 2.0.0 +--- + +# Get-AzIotHubModuleConnectionString + +## SYNOPSIS +Get the connection string of a target IoT device module in an Iot Hub. + +## SYNTAX + +### ResourceSet (Default) +``` +Get-AzIotHubModuleConnectionString [-ResourceGroupName] [-IotHubName] [-DeviceId] + [-ModuleId ] [-KeyType ] [-DefaultProfile ] [] +``` + +### InputObjectSet +``` +Get-AzIotHubModuleConnectionString [-InputObject] [-DeviceId] [-ModuleId ] + [-KeyType ] [-DefaultProfile ] [] +``` + +### ResourceIdSet +``` +Get-AzIotHubModuleConnectionString [-ResourceId] [-DeviceId] [-ModuleId ] + [-KeyType ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +List connection string of all modules or a specified module of a target IoT device contained within an Azure IoT Hub. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Get-AzIotHubModuleConnectionString -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -Deviceid "myDevice1" + +Module Id Connection String +--------- ----------------- +module1 HostName=myiothub.azure-devices.net;DeviceId=myDevice1;ModuleId=module1;SharedAccessKey=/X4yj****** +module2 HostName=myiothub.azure-devices.net;DeviceId=myDevice1;ModuleId=module2;x509=true +``` + +Show all modules connection string of a target IoT device in an Iot Hub. + +### Example 2 +```powershell +PS C:\> Get-AzIotHubMCS -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -DeviceId "myDevice1" -ModuleId "module1" -KeyType secondary + +Module Id Connection String +--------- ----------------- +module1 HostName=myiothub.azure-devices.net;DeviceId=myDevice1;ModuleId=module1;SharedAccessKey=/X4yj****** +``` + +Get the secondary module connection string of a target IoT device in an Iot Hub. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DeviceId +Target Device Id. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: 1 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +IotHub object + +```yaml +Type: Microsoft.Azure.Commands.Management.IotHub.Models.PSIotHub +Parameter Sets: InputObjectSet +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IotHubName +Name of the Iot Hub + +```yaml +Type: System.String +Parameter Sets: ResourceSet +Aliases: + +Required: True +Position: 1 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyType +Shared access policy key type for auth. + +```yaml +Type: Microsoft.Azure.Commands.Management.IotHub.Models.PSKeyType +Parameter Sets: (All) +Aliases: +Accepted values: primary, secondary + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ModuleId +Target Module Id. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Name of the Resource Group + +```yaml +Type: System.String +Parameter Sets: ResourceSet +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +IotHub Resource Id + +```yaml +Type: System.String +Parameter Sets: ResourceIdSet +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.Management.IotHub.Models.PSIotHub + +### System.String + +## OUTPUTS + +### Microsoft.Azure.Commands.Management.IotHub.Models.PSModuleConnectionString + +## NOTES + +## RELATED LINKS