From 093863f6368cf868ae78ec5bb779be1c0e84db36 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Tue, 23 Nov 2021 18:35:34 -0800 Subject: [PATCH] Updated IoT Central .NET package to 4.0.0 (RP version 2021-06-01) with support for Managed Identities (#16438) * Updated IoT Central DotNet package to 4.0.0 with support for Managed Identities Updated IoT Central Management Plane .Net package to 4.0.0. This version supports Managed Identities, removes support for S1 SKU, and supports only regional locations (not geographic). Related: .NET SDK update PR: https://github.com/Azure/azure-sdk-for-net/pull/24992 Swagger update PR: https://github.com/Azure/azure-rest-api-specs/pull/16139 * Minor updates to tests and changelog Minor updates to tests and changelog * Updated test session records. Updated test session records. * Update ChangeLog.md * Reverting module version Reverting module version and assembly version since they are computed per PR feedback. Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com> --- .../IotCentral.Test/IotCentral.Test.csproj | 2 +- .../ScenarioTests/IotCentralController.cs | 2 +- .../ScenarioTests/IotCentralTests.ps1 | 17 +- .../TestIotCentralAppLifecycleManagement.json | 816 +++++++++--------- src/IotCentral/IotCentral/Az.IotCentral.psd1 | 2 +- src/IotCentral/IotCentral/ChangeLog.md | 2 + .../IotCentral/Common/IotCentralUtils.cs | 6 +- src/IotCentral/IotCentral/IotCentral.csproj | 2 +- .../IotCentral.generated.format.ps1xml | 4 + .../IotCentral/GetAzureRmIotCentralApp.cs | 1 - .../IotCentral/NewAzureRmIotCentralApp.cs | 15 +- .../IotCentral/SetAzureRmIotCentralApp.cs | 19 +- .../IotCentral/Models/PSIotCentralApp.cs | 7 +- .../IotCentral/Models/PSIotCentralAppSku.cs | 1 - .../Models/PSIotCentralAppSkuInfo.cs | 2 +- .../IotCentral/help/Get-AzIotCentralApp.md | 5 + .../IotCentral/help/New-AzIotCentralApp.md | 20 +- .../IotCentral/help/Set-AzIotCentralApp.md | 25 +- 18 files changed, 512 insertions(+), 436 deletions(-) diff --git a/src/IotCentral/IotCentral.Test/IotCentral.Test.csproj b/src/IotCentral/IotCentral.Test/IotCentral.Test.csproj index 5c279b31e733..cdb52106a4ce 100644 --- a/src/IotCentral/IotCentral.Test/IotCentral.Test.csproj +++ b/src/IotCentral/IotCentral.Test/IotCentral.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/IotCentral/IotCentral.Test/ScenarioTests/IotCentralController.cs b/src/IotCentral/IotCentral.Test/ScenarioTests/IotCentralController.cs index 0833f4a0fbd9..d22d1abd8f54 100644 --- a/src/IotCentral/IotCentral.Test/ScenarioTests/IotCentralController.cs +++ b/src/IotCentral/IotCentral.Test/ScenarioTests/IotCentralController.cs @@ -79,7 +79,7 @@ public void RunPsTestWorkflow( }; var providersToIgnore = new Dictionary { - {"Microsoft.Azure.Management.Resources.ResourceManagementClient", "2016-02-01"}, + {"Microsoft.Azure.Management.Resources.ResourceManagementClient", "2021_04_01"}, {"Microsoft.Azure.Management.ResourceManager.ResourceManagementClient", "2017-05-10"}, {"Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient", "2016-09-01"} }; diff --git a/src/IotCentral/IotCentral.Test/ScenarioTests/IotCentralTests.ps1 b/src/IotCentral/IotCentral.Test/ScenarioTests/IotCentralTests.ps1 index e1dc140c83c7..3ebd49ddc154 100644 --- a/src/IotCentral/IotCentral.Test/ScenarioTests/IotCentralTests.ps1 +++ b/src/IotCentral/IotCentral.Test/ScenarioTests/IotCentralTests.ps1 @@ -35,7 +35,8 @@ function Test-IotCentralAppLifecycleManagement{ $tagKey = "key1" $tagValue = "value1" $tags = @{ $tagKey = $tagValue } - + $identity = "SystemAssigned" + try { # Test @@ -43,10 +44,9 @@ function Test-IotCentralAppLifecycleManagement{ # Create Resource Group New-AzResourceGroup -Name $rgname -Location $location - # Create App - $created = New-AzIotCentralApp -ResourceGroupName $rgname -Name $rname -Subdomain $subdomain -Sku $st2Sku -DisplayName $displayName -Tag $tags + # Create and Validate App with System-Assigned Managed Identity + $created = New-AzIotCentralApp -ResourceGroupName $rgname -Name $rname -Subdomain $subdomain -Sku $st2Sku -DisplayName $displayName -Tag $tags -Identity $identity $actual = Get-AzIotCentralApp -ResourceGroupName $rgname -Name $rname - $list = Get-AzIotCentralApp -ResourceGroupName $rgname # Assert @@ -57,11 +57,15 @@ function Test-IotCentralAppLifecycleManagement{ Assert-AreEqual 1 @($list).Count Assert-AreEqual $actual.Name $list[0].Name Assert-AreEqual $actual.Sku.Name $st2Sku + Assert-NotNull $actual.Identity + Assert-NotNull $actual.Identity.Type + Assert-AreEqual $actual.Identity.Type "SystemAssigned" # Get App $rname1 = $rname $rname2 = ($rname1) + "-2" + # Create another app without Managed Identity and validate Get responses. New-AzIotCentralApp $rgname $rname2 $rname2 $list = Get-AzIotCentralApp -ResourceGroupName $rgname $app1 = $list | where {$_.Name -eq $rname1} | Select-Object -First 1 @@ -75,6 +79,8 @@ function Test-IotCentralAppLifecycleManagement{ Assert-AreEqual $rname2 $app2.Subdomain Assert-AreEqual $resourceType $app1.Type Assert-AreEqual $resourceType $app2.Type + Assert-AreEqual $app1.Identity.Type "SystemAssigned" + Assert-AreEqual $app2.Identity.Type "None" # Test getting from empty group $emptyrg = ($rgname) + "empty" @@ -108,6 +114,9 @@ function Test-IotCentralAppLifecycleManagement{ Assert-AreEqual $actual.Subdomain $newSubdomain Assert-AreEqual $actual.Name $rname Assert-AreEqual $actual.Sku.Name $st1Sku + + # Ensure MI is not updated after update (when Identity is not provided as input to patch operation) + Assert-AreEqual $actual.Identity.Type "SystemAssigned" # Delete # $job = Find-AzResource -ResourceType $resourceType -ResourceGroupNameEquals $rgname | Get-AzIotCentralApp | Remove-AzIotCentralApp -AsJob diff --git a/src/IotCentral/IotCentral.Test/SessionRecords/Microsoft.Azure.Commands.IotCentral.Test.ScenarioTests.IotCentralTests/TestIotCentralAppLifecycleManagement.json b/src/IotCentral/IotCentral.Test/SessionRecords/Microsoft.Azure.Commands.IotCentral.Test.ScenarioTests.IotCentralTests/TestIotCentralAppLifecycleManagement.json index af40ebf31161..2b1f4ea9da14 100644 --- a/src/IotCentral/IotCentral.Test/SessionRecords/Microsoft.Azure.Commands.IotCentral.Test.ScenarioTests.IotCentralTests/TestIotCentralAppLifecycleManagement.json +++ b/src/IotCentral/IotCentral.Test/SessionRecords/Microsoft.Azure.Commands.IotCentral.Test.ScenarioTests.IotCentralTests/TestIotCentralAppLifecycleManagement.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/providers/Microsoft.IoTCentral?api-version=2016-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Byb3ZpZGVycy9NaWNyb3NvZnQuSW9UQ2VudHJhbD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/providers/Microsoft.IoTCentral?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Byb3ZpZGVycy9NaWNyb3NvZnQuSW9UQ2VudHJhbD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8471db62-4010-41b2-b06c-7c1225a138ad" + "6d77e5c3-0629-4fb1-b4d1-304b5fe6dee4" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.31" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.53" ] }, "ResponseHeaders": { @@ -30,13 +30,13 @@ "11999" ], "x-ms-request-id": [ - "66b9073b-6d25-4932-860f-733883cc651d" + "a06c16ab-bd90-43ad-824a-36f3f8ab38dc" ], "x-ms-correlation-request-id": [ - "66b9073b-6d25-4932-860f-733883cc651d" + "a06c16ab-bd90-43ad-824a-36f3f8ab38dc" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210222T085546Z:66b9073b-6d25-4932-860f-733883cc651d" + "WESTUS2:20211118T184555Z:a06c16ab-bd90-43ad-824a-36f3f8ab38dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -45,7 +45,7 @@ "nosniff" ], "Date": [ - "Mon, 22 Feb 2021 08:55:45 GMT" + "Thu, 18 Nov 2021 18:45:54 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -54,35 +54,35 @@ "-1" ], "Content-Length": [ - "968" + "1431" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/providers/Microsoft.IoTCentral\",\r\n \"namespace\": \"Microsoft.IoTCentral\",\r\n \"authorizations\": [\r\n {\r\n \"applicationId\": \"9edfcdd9-0bc5-4bd4-b287-c3afc716aac7\"\r\n }\r\n ],\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"IoTApps\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"North Europe\",\r\n \"East US\",\r\n \"Central US\",\r\n \"West Central US\",\r\n \"Australia\",\r\n \"Asia Pacific\",\r\n \"Europe\",\r\n \"Japan\",\r\n \"UK\",\r\n \"United States\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-09-01\",\r\n \"2017-07-01-privatepreview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-09-01\",\r\n \"2017-07-01-privatepreview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkSubdomainAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-09-01\",\r\n \"2017-07-01-privatepreview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"appTemplates\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/providers/Microsoft.IoTCentral\",\r\n \"namespace\": \"Microsoft.IoTCentral\",\r\n \"authorizations\": [\r\n {\r\n \"applicationId\": \"9edfcdd9-0bc5-4bd4-b287-c3afc716aac7\",\r\n \"roleDefinitionId\": \"913c14c1-35ac-45ee-b8f2-05524381b92c\"\r\n }\r\n ],\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"IoTApps\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"UK South\",\r\n \"West Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Asia Pacific\",\r\n \"Australia\",\r\n \"Europe\",\r\n \"Japan\",\r\n \"UK\",\r\n \"United States\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-09-01\",\r\n \"2017-07-01-privatepreview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2021-11-01-preview\",\r\n \"2021-06-01\",\r\n \"2018-09-01\",\r\n \"2017-07-01-privatepreview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkSubdomainAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2021-11-01-preview\",\r\n \"2021-06-01\",\r\n \"2018-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2021-11-01-preview\",\r\n \"2021-06-01\",\r\n \"2018-09-01\",\r\n \"2017-07-01-privatepreview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2021-11-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2021-11-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"appTemplates\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2021-11-01-preview\",\r\n \"2021-06-01\",\r\n \"2018-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourcegroups/ps6164?api-version=2016-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlZ3JvdXBzL3BzNjE2ND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourcegroups/ps32?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlZ3JvdXBzL3BzMzI/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"Australia East\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "84abb3bc-d62c-4102-a038-fe817e0b9ec4" + "c0853782-9ccc-4cfd-b392-1ee2f9b38723" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.31" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.53" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "36" ] }, "ResponseHeaders": { @@ -96,13 +96,13 @@ "1199" ], "x-ms-request-id": [ - "5e39c7ba-ae97-40fa-a864-8494f02a4a32" + "ddb3741a-2def-4691-b6e3-60e2011c5f94" ], "x-ms-correlation-request-id": [ - "5e39c7ba-ae97-40fa-a864-8494f02a4a32" + "ddb3741a-2def-4691-b6e3-60e2011c5f94" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210222T085547Z:5e39c7ba-ae97-40fa-a864-8494f02a4a32" + "WESTUS2:20211118T184557Z:ddb3741a-2def-4691-b6e3-60e2011c5f94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -111,10 +111,10 @@ "nosniff" ], "Date": [ - "Mon, 22 Feb 2021 08:55:47 GMT" + "Thu, 18 Nov 2021 18:45:57 GMT" ], "Content-Length": [ - "169" + "168" ], "Content-Type": [ "application/json; charset=utf-8" @@ -123,26 +123,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164\",\r\n \"name\": \"ps6164\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32\",\r\n \"name\": \"ps32\",\r\n \"location\": \"australiaeast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourcegroups/ps6164?api-version=2016-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlZ3JvdXBzL3BzNjE2ND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourcegroups/ps32?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlZ3JvdXBzL3BzMzI/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6bf838ab-7195-47d7-bc95-2196cd7a20cd" + "4dc861a5-1fb5-4562-b958-4915f6a7407e" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.31" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.53" ] }, "ResponseHeaders": { @@ -156,13 +156,13 @@ "11998" ], "x-ms-request-id": [ - "ea70f85f-0025-4f78-8d5e-eb18ce308501" + "07fde205-8965-48e2-99f2-035fe8c03165" ], "x-ms-correlation-request-id": [ - "ea70f85f-0025-4f78-8d5e-eb18ce308501" + "07fde205-8965-48e2-99f2-035fe8c03165" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210222T085548Z:ea70f85f-0025-4f78-8d5e-eb18ce308501" + "WESTUS2:20211118T184557Z:07fde205-8965-48e2-99f2-035fe8c03165" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -171,7 +171,7 @@ "nosniff" ], "Date": [ - "Mon, 22 Feb 2021 08:55:47 GMT" + "Thu, 18 Nov 2021 18:45:57 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -180,29 +180,29 @@ "-1" ], "Content-Length": [ - "169" + "168" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164\",\r\n \"name\": \"ps6164\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32\",\r\n \"name\": \"ps32\",\r\n \"location\": \"australiaeast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourcegroups/ps6164?api-version=2016-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlZ3JvdXBzL3BzNjE2ND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourcegroups/ps32?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlZ3JvdXBzL3BzMzI/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "58f648f3-5e69-48d1-b0b5-b33a7b8d78c8" + "f7242463-72b1-4e95-bcc1-fb4926c3dbe4" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.31" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.53" ] }, "ResponseHeaders": { @@ -216,13 +216,13 @@ "11997" ], "x-ms-request-id": [ - "ab774c3d-2f5e-44c4-b29d-304e2cc35ea3" + "1162fba7-2d86-4973-8d08-528bf99c7178" ], "x-ms-correlation-request-id": [ - "ab774c3d-2f5e-44c4-b29d-304e2cc35ea3" + "1162fba7-2d86-4973-8d08-528bf99c7178" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210222T085631Z:ab774c3d-2f5e-44c4-b29d-304e2cc35ea3" + "WESTUS2:20211118T184650Z:1162fba7-2d86-4973-8d08-528bf99c7178" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -231,7 +231,7 @@ "nosniff" ], "Date": [ - "Mon, 22 Feb 2021 08:56:31 GMT" + "Thu, 18 Nov 2021 18:46:49 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -240,35 +240,35 @@ "-1" ], "Content-Length": [ - "169" + "168" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164\",\r\n \"name\": \"ps6164\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32\",\r\n \"name\": \"ps32\",\r\n \"location\": \"australiaeast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTk/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDY/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"subdomain\": \"ps7619subdomain\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"subdomain\": \"ps606subdomain\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"australiaeast\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "6bf838ab-7195-47d7-bc95-2196cd7a20cd" + "4dc861a5-1fb5-4562-b958-4915f6a7407e" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "229" + "284" ] }, "ResponseHeaders": { @@ -276,77 +276,78 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "\"3501ee04-0000-0100-0000-6033719a0000\"" + "\"e4005a5d-0000-0100-0000-61969f760000\"" ], "x-ms-request-id": [ - "5a85832f-216b-4f28-a37a-d06174be785d" + "e9f9edcf-f6c1-4859-9675-0d7cbbb15c4f" ], "x-iot-correlation": [ - "5dd25hd3.0" - ], - "x-envoy-upstream-service-time": [ - "4221" + "a80736q6.1.0" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Download-Options": [ + "x-download-options": [ "noopen" ], "X-Frame-Options": [ "deny" ], - "X-XSS-Protection": [ + "x-xss-protection": [ "1; mode=block" ], + "x-cache": [ + "CONFIG_NOCACHE", + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: B30E7D9A6599433E88DA81367BEFA437 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:46:07Z" + ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-MSEdge-Ref": [ - "Ref A: 09537AF799F145738F9C07768D94AFA7 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:55:52Z" - ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "2e0d81a2-27ac-407b-ba5f-dfa05a5b5e09" + "87b49219-2fef-4935-867e-e0e0867984c8" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085558Z:2e0d81a2-27ac-407b-ba5f-dfa05a5b5e09" + "WESTUS2:20211118T184619Z:87b49219-2fef-4935-867e-e0e0867984c8" ], "Date": [ - "Mon, 22 Feb 2021 08:55:58 GMT" + "Thu, 18 Nov 2021 18:46:19 GMT" ], "Content-Length": [ - "694" + "595" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619\",\r\n \"name\": \"ps7619\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce2eee22-510c-46c1-9560-e6102749c6a1\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619subdomain\",\r\n \"createdDate\": \"2021-02-22T08:55:54.314Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"3501ee04-0000-0100-0000-6033719a0000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606\",\r\n \"name\": \"ps606\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce61e0af-1886-4b00-a8c0-18c11451f3a4\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"subdomain\": \"ps606subdomain\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"59048b8c-d387-43f5-9706-7c6e62710257\",\r\n \"principalId\": \"af27d436-e91f-41bb-bce0-c6914d58a6f6\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTk/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDY/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6bf838ab-7195-47d7-bc95-2196cd7a20cd" + "4dc861a5-1fb5-4562-b958-4915f6a7407e" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { @@ -354,7 +355,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"3501ee04-0000-0100-0000-6033719a0000\"" + "W/\"e4005a5d-0000-0100-0000-61969f760000\"" ], "Vary": [ "Accept-Encoding" @@ -363,13 +364,10 @@ "11999" ], "x-ms-request-id": [ - "dc82772c-b263-445d-a3a0-249f8082f8ec" + "07c9567e-f7c1-4384-a3c6-c88349fe2659" ], "x-iot-correlation": [ - "71j4swo9.0" - ], - "x-envoy-upstream-service-time": [ - "576" + "2c3zhsgw.0" ], "X-Content-Type-Options": [ "nosniff" @@ -384,53 +382,56 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: 2FDA378582EB4162980C5E35E9ACC1B8 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:56:28Z" + "Ref A: 1F336F95B92543B3810661EA40530559 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:46:49Z" ], "x-ms-correlation-request-id": [ - "d8b1cb2c-9794-44b2-879d-95b67ddc54c7" + "15584d8d-3ba3-4ff4-b900-676086b59572" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085629Z:d8b1cb2c-9794-44b2-879d-95b67ddc54c7" + "WESTUS2:20211118T184649Z:15584d8d-3ba3-4ff4-b900-676086b59572" ], "Date": [ - "Mon, 22 Feb 2021 08:56:28 GMT" + "Thu, 18 Nov 2021 18:46:49 GMT" ], "Content-Length": [ - "694" + "595" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619\",\r\n \"name\": \"ps7619\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce2eee22-510c-46c1-9560-e6102749c6a1\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619subdomain\",\r\n \"createdDate\": \"2021-02-22T08:55:54.314Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"3501ee04-0000-0100-0000-6033719a0000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606\",\r\n \"name\": \"ps606\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce61e0af-1886-4b00-a8c0-18c11451f3a4\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"subdomain\": \"ps606subdomain\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"59048b8c-d387-43f5-9706-7c6e62710257\",\r\n \"principalId\": \"af27d436-e91f-41bb-bce0-c6914d58a6f6\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTk/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDY/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6bf838ab-7195-47d7-bc95-2196cd7a20cd" + "4dc861a5-1fb5-4562-b958-4915f6a7407e" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { @@ -438,7 +439,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"3501ee04-0000-0100-0000-6033719a0000\"" + "W/\"e4005a5d-0000-0100-0000-61969f760000\"" ], "Vary": [ "Accept-Encoding" @@ -447,13 +448,10 @@ "11998" ], "x-ms-request-id": [ - "f57c3851-e5ca-43db-9d38-85aedfab1bc0" + "87813ed2-8e91-42f3-a4d6-5289b61a2276" ], "x-iot-correlation": [ - "4lxhuh0b.0" - ], - "x-envoy-upstream-service-time": [ - "576" + "akj4xepz.0" ], "X-Content-Type-Options": [ "nosniff" @@ -468,53 +466,56 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: 23D559801BA64874A5C693DF17158AF7 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:56:29Z" + "Ref A: C3F10FC3C83D4F0992F1201CB7D727A2 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:46:49Z" ], "x-ms-correlation-request-id": [ - "98741c30-14ae-4dc7-9600-e55e2fa4c862" + "f0aa4bf0-05ee-483d-8bcd-0d6f5ac737cf" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085630Z:98741c30-14ae-4dc7-9600-e55e2fa4c862" + "WESTUS2:20211118T184649Z:f0aa4bf0-05ee-483d-8bcd-0d6f5ac737cf" ], "Date": [ - "Mon, 22 Feb 2021 08:56:29 GMT" + "Thu, 18 Nov 2021 18:46:49 GMT" ], "Content-Length": [ - "694" + "595" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619\",\r\n \"name\": \"ps7619\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce2eee22-510c-46c1-9560-e6102749c6a1\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619subdomain\",\r\n \"createdDate\": \"2021-02-22T08:55:54.314Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"3501ee04-0000-0100-0000-6033719a0000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606\",\r\n \"name\": \"ps606\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce61e0af-1886-4b00-a8c0-18c11451f3a4\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"subdomain\": \"ps606subdomain\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"59048b8c-d387-43f5-9706-7c6e62710257\",\r\n \"principalId\": \"af27d436-e91f-41bb-bce0-c6914d58a6f6\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTk/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDY/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8178b0ac-6593-44f1-b0f9-a903ca80d360" + "4968aeb7-d5af-49a5-8ce4-7f7e82199868" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { @@ -522,7 +523,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"3501ee04-0000-0100-0000-6033719a0000\"" + "W/\"e4005a5d-0000-0100-0000-61969f760000\"" ], "Vary": [ "Accept-Encoding" @@ -531,13 +532,10 @@ "11997" ], "x-ms-request-id": [ - "113b3c0b-1dad-4081-926e-bed50783f43b" + "95cd132d-8c6b-46e8-b327-a303c0c6d7fb" ], "x-iot-correlation": [ - "boeevwyt.0" - ], - "x-envoy-upstream-service-time": [ - "557" + "2r473kx1.0" ], "X-Content-Type-Options": [ "nosniff" @@ -552,53 +550,56 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: 5604F4D354F945A3A6A7E2EDB2C0F1F2 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:56:30Z" + "Ref A: 2CFDA076DC6046DBBBCF18D56ABD0681 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:46:49Z" ], "x-ms-correlation-request-id": [ - "99cbbe0a-b693-4f2d-8163-cf3c53450c7c" + "3d11b8c9-aea8-427a-ab2e-dd44d603f0b5" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085630Z:99cbbe0a-b693-4f2d-8163-cf3c53450c7c" + "WESTUS2:20211118T184650Z:3d11b8c9-aea8-427a-ab2e-dd44d603f0b5" ], "Date": [ - "Mon, 22 Feb 2021 08:56:29 GMT" + "Thu, 18 Nov 2021 18:46:49 GMT" ], "Content-Length": [ - "694" + "595" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619\",\r\n \"name\": \"ps7619\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce2eee22-510c-46c1-9560-e6102749c6a1\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619subdomain\",\r\n \"createdDate\": \"2021-02-22T08:55:54.314Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"3501ee04-0000-0100-0000-6033719a0000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606\",\r\n \"name\": \"ps606\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce61e0af-1886-4b00-a8c0-18c11451f3a4\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"subdomain\": \"ps606subdomain\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"59048b8c-d387-43f5-9706-7c6e62710257\",\r\n \"principalId\": \"af27d436-e91f-41bb-bce0-c6914d58a6f6\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTk/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDY/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5a6497ba-b9c9-493d-b826-789dc8f05f62" + "3da325b6-e43e-4e80-900b-a60e2bbb6c44" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { @@ -606,7 +607,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"35013709-0000-0100-0000-603371ea0000\"" + "W/\"e400686e-0000-0100-0000-61969fc70000\"" ], "Vary": [ "Accept-Encoding" @@ -615,13 +616,10 @@ "11991" ], "x-ms-request-id": [ - "088eb16d-1852-4f18-ac66-fc0b39a612e2" + "b4243389-2905-4969-83ba-38c2ef953c7d" ], "x-iot-correlation": [ - "97y5w60a.0" - ], - "x-envoy-upstream-service-time": [ - "587" + "3reczz37.0" ], "X-Content-Type-Options": [ "nosniff" @@ -636,62 +634,62 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: D6F4DA0E1B4D4243BB7AA0D79F029BFA Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:57:16Z" + "Ref A: FCBCBDCD25ED4961819FAABB122E6D51 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:47:37Z" ], "x-ms-correlation-request-id": [ - "6471d82b-ca73-4d38-956b-8ebd4bb31f7d" + "34e3f2ab-0b5a-451c-b913-2c22504b7bcd" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085716Z:6471d82b-ca73-4d38-956b-8ebd4bb31f7d" + "WESTUS2:20211118T184737Z:34e3f2ab-0b5a-451c-b913-2c22504b7bcd" ], "Date": [ - "Mon, 22 Feb 2021 08:57:16 GMT" + "Thu, 18 Nov 2021 18:47:36 GMT" ], "Content-Length": [ - "740" + "600" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619\",\r\n \"name\": \"ps7619\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"tt2\": \"tv2\",\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce2eee22-510c-46c1-9560-e6102749c6a1\",\r\n \"state\": \"created\",\r\n \"displayName\": \"New Custom Display Name.\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619subdomainnew\",\r\n \"createdDate\": \"2021-02-22T08:55:54.314Z\",\r\n \"lastUpdated\": \"2021-02-22T08:57:14.55Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"35013709-0000-0100-0000-603371ea0000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606\",\r\n \"name\": \"ps606\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {\r\n \"tt2\": \"tv2\",\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce61e0af-1886-4b00-a8c0-18c11451f3a4\",\r\n \"displayName\": \"New Custom Display Name.\",\r\n \"subdomain\": \"ps606subdomainnew\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"59048b8c-d387-43f5-9706-7c6e62710257\",\r\n \"principalId\": \"af27d436-e91f-41bb-bce0-c6914d58a6f6\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcz9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHM/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9c0b9f86-bfb1-4f58-9c08-2fc8e8cf7d4a" + "4af48ac9-efea-4d08-9ef9-6fe3f120f814" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], - "ETag": [ - "W/\"2c2-5kvRdJGS/dxz0vR5mBGlhfidVvI\"" - ], "Vary": [ "Accept-Encoding" ], @@ -699,13 +697,10 @@ "11996" ], "x-ms-request-id": [ - "5e7744da-df19-4ffa-b716-30fafb3eaf9a" + "41598e63-1813-47e4-9bd9-beada6864e47" ], "x-iot-correlation": [ - "acrmkex7.0" - ], - "x-envoy-upstream-service-time": [ - "284" + "atpphp6y.0" ], "X-Content-Type-Options": [ "nosniff" @@ -720,62 +715,62 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: DB5D2C9306284B9A86CAD961CD9C413F Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:56:30Z" + "Ref A: 5366B8C4B14A48FBB524424B2A62219E Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:46:50Z" ], "x-ms-correlation-request-id": [ - "8d1f1f9a-340c-4bb1-bcd5-3b3806d9d8e0" + "066033e8-058b-46b6-8db5-e775eee4d312" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085631Z:8d1f1f9a-340c-4bb1-bcd5-3b3806d9d8e0" + "WESTUS2:20211118T184650Z:066033e8-058b-46b6-8db5-e775eee4d312" ], "Date": [ - "Mon, 22 Feb 2021 08:56:30 GMT" + "Thu, 18 Nov 2021 18:46:49 GMT" ], "Content-Length": [ - "706" + "607" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619\",\r\n \"name\": \"ps7619\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce2eee22-510c-46c1-9560-e6102749c6a1\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619subdomain\",\r\n \"createdDate\": \"2021-02-22T08:55:54.314Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"3501ee04-0000-0100-0000-6033719a0000\\\"\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606\",\r\n \"name\": \"ps606\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce61e0af-1886-4b00-a8c0-18c11451f3a4\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"subdomain\": \"ps606subdomain\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"59048b8c-d387-43f5-9706-7c6e62710257\",\r\n \"principalId\": \"af27d436-e91f-41bb-bce0-c6914d58a6f6\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcz9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHM/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a78dfe98-a1d6-4a99-b3fd-b38ec00facd7" + "138b1828-8f8f-4dfd-a056-8ec0a2074f81" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], - "ETag": [ - "W/\"54d-Hzof88nGHpuWhVaoTd/nOkQiTvQ\"" - ], "Vary": [ "Accept-Encoding" ], @@ -783,13 +778,10 @@ "11993" ], "x-ms-request-id": [ - "3b51847c-f2cf-4753-aa7c-e69c53f900b6" + "ae44bb04-d303-41eb-b239-911650502eec" ], "x-iot-correlation": [ - "65p7a369.0" - ], - "x-envoy-upstream-service-time": [ - "307" + "cavlr61p.0" ], "X-Content-Type-Options": [ "nosniff" @@ -804,62 +796,62 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: 3E159013C6D34B75B12DF8237139134C Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:57:10Z" + "Ref A: 49C45F932611486382CC2B75EA1E51F4 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:47:31Z" ], "x-ms-correlation-request-id": [ - "e9e18f92-7103-46af-b46a-fd664713ef33" + "53f46a5a-285e-4950-9c2b-f542d83cf98e" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085710Z:e9e18f92-7103-46af-b46a-fd664713ef33" + "WESTUS2:20211118T184731Z:53f46a5a-285e-4950-9c2b-f542d83cf98e" ], "Date": [ - "Mon, 22 Feb 2021 08:57:10 GMT" + "Thu, 18 Nov 2021 18:47:31 GMT" ], "Content-Length": [ - "1357" + "1045" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619\",\r\n \"name\": \"ps7619\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce2eee22-510c-46c1-9560-e6102749c6a1\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619subdomain\",\r\n \"createdDate\": \"2021-02-22T08:55:54.314Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"3501ee04-0000-0100-0000-6033719a0000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619-2\",\r\n \"name\": \"ps7619-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"f63a3773-ba2d-4000-b03e-6924714d1771\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps7619-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619-2\",\r\n \"createdDate\": \"2021-02-22T08:56:35.229Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"120004cd-0000-0100-0000-603371c30000\\\"\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606-2\",\r\n \"name\": \"ps606-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"402f7893-c59c-44b0-b142-5efb7bfca50d\",\r\n \"displayName\": \"ps606-2\",\r\n \"subdomain\": \"ps606-2\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606\",\r\n \"name\": \"ps606\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce61e0af-1886-4b00-a8c0-18c11451f3a4\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"subdomain\": \"ps606subdomain\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"59048b8c-d387-43f5-9706-7c6e62710257\",\r\n \"principalId\": \"af27d436-e91f-41bb-bce0-c6914d58a6f6\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcz9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHM/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "20d088c4-9707-478a-a438-39485d4599cd" + "f91e8934-3be2-48ff-833b-075d2db745ff" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], - "ETag": [ - "W/\"57b-/TxtKpNdTJWHtJ4Azd/ec74ugl4\"" - ], "Vary": [ "Accept-Encoding" ], @@ -867,13 +859,10 @@ "11990" ], "x-ms-request-id": [ - "47a2e1cd-898b-49d5-a46e-74249ef42a35" + "4d72562f-54fa-4520-ab52-b221cc358c05" ], "x-iot-correlation": [ - "25vnknoz.0" - ], - "x-envoy-upstream-service-time": [ - "292" + "1zn3hshs.0" ], "X-Content-Type-Options": [ "nosniff" @@ -888,70 +877,67 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: 7B1F4977C5FE4BD999BD944C0B2F2ED5 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:57:16Z" + "Ref A: BD42368044D649E093902940414F2E9C Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:47:37Z" ], "x-ms-correlation-request-id": [ - "d020b092-52b0-4a47-87cd-dc953eb1baa0" + "55d71d81-7700-42f4-a779-2f7ecd717d3a" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085717Z:d020b092-52b0-4a47-87cd-dc953eb1baa0" + "WESTUS2:20211118T184737Z:55d71d81-7700-42f4-a779-2f7ecd717d3a" ], "Date": [ - "Mon, 22 Feb 2021 08:57:16 GMT" + "Thu, 18 Nov 2021 18:47:37 GMT" ], "Content-Length": [ - "1403" + "1050" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619\",\r\n \"name\": \"ps7619\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"tt2\": \"tv2\",\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce2eee22-510c-46c1-9560-e6102749c6a1\",\r\n \"state\": \"created\",\r\n \"displayName\": \"New Custom Display Name.\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619subdomainnew\",\r\n \"createdDate\": \"2021-02-22T08:55:54.314Z\",\r\n \"lastUpdated\": \"2021-02-22T08:57:14.55Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"35013709-0000-0100-0000-603371ea0000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619-2\",\r\n \"name\": \"ps7619-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"f63a3773-ba2d-4000-b03e-6924714d1771\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps7619-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619-2\",\r\n \"createdDate\": \"2021-02-22T08:56:35.229Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"120004cd-0000-0100-0000-603371c30000\\\"\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606\",\r\n \"name\": \"ps606\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {\r\n \"tt2\": \"tv2\",\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce61e0af-1886-4b00-a8c0-18c11451f3a4\",\r\n \"displayName\": \"New Custom Display Name.\",\r\n \"subdomain\": \"ps606subdomainnew\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"59048b8c-d387-43f5-9706-7c6e62710257\",\r\n \"principalId\": \"af27d436-e91f-41bb-bce0-c6914d58a6f6\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606-2\",\r\n \"name\": \"ps606-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"402f7893-c59c-44b0-b142-5efb7bfca50d\",\r\n \"displayName\": \"ps606-2\",\r\n \"subdomain\": \"ps606-2\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcz9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHM/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bce0fba8-6358-4901-ba66-e7d789bda5d6" + "a1aa16e6-b531-48e7-90b4-d81416d7bd5a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], - "ETag": [ - "W/\"c-ct3goOI+b+kRZv2R9j2fTtMXwkk\"" - ], "x-ms-request-id": [ - "f3de1a97-e9fb-47be-81fa-fa5f8eb2772b" + "58f705a7-a628-40ce-94ba-98718d9b5338" ], "x-iot-correlation": [ - "3g3uu3aq.0" - ], - "x-envoy-upstream-service-time": [ - "287" + "cbg24yji.0" ], "X-Content-Type-Options": [ "nosniff" @@ -966,28 +952,31 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: 46116243DDBB483897CBD3368E5E8042 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:57:23Z" + "Ref A: 65E1C182B6CF43698B804935420F5637 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:47:47Z" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], "x-ms-correlation-request-id": [ - "33beaa30-f2d1-41fb-8422-ea8c41095040" + "bb4abbfb-74a6-4a5c-a144-1581c16a8813" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085723Z:33beaa30-f2d1-41fb-8422-ea8c41095040" + "WESTUS2:20211118T184748Z:bb4abbfb-74a6-4a5c-a144-1581c16a8813" ], "Date": [ - "Mon, 22 Feb 2021 08:57:23 GMT" + "Thu, 18 Nov 2021 18:47:47 GMT" ], "Content-Length": [ "12" @@ -1000,28 +989,28 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619-2?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTktMj9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606-2?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDYtMj9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"ps7619-2\",\r\n \"subdomain\": \"ps7619-2\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"location\": \"westeurope\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"ps606-2\",\r\n \"subdomain\": \"ps606-2\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"location\": \"australiaeast\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "58f648f3-5e69-48d1-b0b5-b33a7b8d78c8" + "f7242463-72b1-4e95-bcc1-fb4926c3dbe4" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "155" + "199" ] }, "ResponseHeaders": { @@ -1029,77 +1018,78 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "\"120004cd-0000-0100-0000-603371c30000\"" + "\"a800a4c1-0000-0100-0000-61969fa10000\"" ], "x-ms-request-id": [ - "d4d40853-60da-427e-be93-39c2f9412863" + "a9a7d9e1-42db-4769-930a-880cb2a704aa" ], "x-iot-correlation": [ - "5mj4allo.0" - ], - "x-envoy-upstream-service-time": [ - "4359" + "4oy6l14h.1.0" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Download-Options": [ + "x-download-options": [ "noopen" ], "X-Frame-Options": [ "deny" ], - "X-XSS-Protection": [ + "x-xss-protection": [ "1; mode=block" ], + "x-cache": [ + "CONFIG_NOCACHE", + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: B89BF4BA358E4E78AA11A8ED54877E48 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:46:52Z" + ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-MSEdge-Ref": [ - "Ref A: 7921E0904C0444A2B1FBBFC09484BC5B Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:56:33Z" - ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "bc548cff-46e1-4b03-bf1d-b333383b9c9e" + "2f13e72b-7c4e-4317-b6b4-f7d6d0e62911" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085639Z:bc548cff-46e1-4b03-bf1d-b333383b9c9e" + "WESTUS2:20211118T184701Z:2f13e72b-7c4e-4317-b6b4-f7d6d0e62911" ], "Date": [ - "Mon, 22 Feb 2021 08:56:38 GMT" + "Thu, 18 Nov 2021 18:47:01 GMT" ], "Content-Length": [ - "650" + "437" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619-2\",\r\n \"name\": \"ps7619-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"f63a3773-ba2d-4000-b03e-6924714d1771\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps7619-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619-2\",\r\n \"createdDate\": \"2021-02-22T08:56:35.229Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"120004cd-0000-0100-0000-603371c30000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606-2\",\r\n \"name\": \"ps606-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"402f7893-c59c-44b0-b142-5efb7bfca50d\",\r\n \"displayName\": \"ps606-2\",\r\n \"subdomain\": \"ps606-2\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619-2?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTktMj9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606-2?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDYtMj9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "58f648f3-5e69-48d1-b0b5-b33a7b8d78c8" + "f7242463-72b1-4e95-bcc1-fb4926c3dbe4" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { @@ -1107,7 +1097,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"120004cd-0000-0100-0000-603371c30000\"" + "W/\"a800a4c1-0000-0100-0000-61969fa10000\"" ], "Vary": [ "Accept-Encoding" @@ -1116,13 +1106,10 @@ "11995" ], "x-ms-request-id": [ - "3ff7fa18-93ae-4166-ad4f-0ca59ac7210b" + "39e242c0-f40c-4174-a518-3eedad4b0f7d" ], "x-iot-correlation": [ - "c2nke8sp.0" - ], - "x-envoy-upstream-service-time": [ - "577" + "2mndtgga.0" ], "X-Content-Type-Options": [ "nosniff" @@ -1137,53 +1124,56 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: 35A4618C1E744DD493809B852C182FF5 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:57:09Z" + "Ref A: AAD43B226D724FDDA7C3FB488E50013F Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:47:31Z" ], "x-ms-correlation-request-id": [ - "dd428319-6f76-46a0-a008-2264f7531d4e" + "acd4db19-40f6-4ae0-8ae8-a99cd40ef8b4" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085709Z:dd428319-6f76-46a0-a008-2264f7531d4e" + "WESTUS2:20211118T184731Z:acd4db19-40f6-4ae0-8ae8-a99cd40ef8b4" ], "Date": [ - "Mon, 22 Feb 2021 08:57:09 GMT" + "Thu, 18 Nov 2021 18:47:31 GMT" ], "Content-Length": [ - "650" + "437" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619-2\",\r\n \"name\": \"ps7619-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"f63a3773-ba2d-4000-b03e-6924714d1771\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps7619-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619-2\",\r\n \"createdDate\": \"2021-02-22T08:56:35.229Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"120004cd-0000-0100-0000-603371c30000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606-2\",\r\n \"name\": \"ps606-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"402f7893-c59c-44b0-b142-5efb7bfca50d\",\r\n \"displayName\": \"ps606-2\",\r\n \"subdomain\": \"ps606-2\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619-2?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTktMj9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606-2?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDYtMj9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "58f648f3-5e69-48d1-b0b5-b33a7b8d78c8" + "f7242463-72b1-4e95-bcc1-fb4926c3dbe4" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { @@ -1191,7 +1181,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"120004cd-0000-0100-0000-603371c30000\"" + "W/\"a800a4c1-0000-0100-0000-61969fa10000\"" ], "Vary": [ "Accept-Encoding" @@ -1200,13 +1190,10 @@ "11994" ], "x-ms-request-id": [ - "bb3312d2-b9e8-447d-966a-17b5816f14f9" + "bf20ff26-ad1b-4be3-b719-eb4cdc8d082e" ], "x-iot-correlation": [ - "4o6ezd0y.0" - ], - "x-envoy-upstream-service-time": [ - "586" + "4jhysqvz.0" ], "X-Content-Type-Options": [ "nosniff" @@ -1221,59 +1208,62 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: BD2A2D4587F44DC0A4A9099A28EDD177 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:57:09Z" + "Ref A: 6FD4B22C56064025B8C13546CD747B23 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:47:31Z" ], "x-ms-correlation-request-id": [ - "a4b0de3d-d5ba-4873-a508-10d8df272fc2" + "681ccd7f-5040-4fad-82e9-cc2081c3d42a" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085710Z:a4b0de3d-d5ba-4873-a508-10d8df272fc2" + "WESTUS2:20211118T184731Z:681ccd7f-5040-4fad-82e9-cc2081c3d42a" ], "Date": [ - "Mon, 22 Feb 2021 08:57:10 GMT" + "Thu, 18 Nov 2021 18:47:31 GMT" ], "Content-Length": [ - "650" + "437" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619-2\",\r\n \"name\": \"ps7619-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"f63a3773-ba2d-4000-b03e-6924714d1771\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps7619-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619-2\",\r\n \"createdDate\": \"2021-02-22T08:56:35.229Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"120004cd-0000-0100-0000-603371c30000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606-2\",\r\n \"name\": \"ps606-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"402f7893-c59c-44b0-b142-5efb7bfca50d\",\r\n \"displayName\": \"ps606-2\",\r\n \"subdomain\": \"ps606-2\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourcegroups/ps6164empty?api-version=2016-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlZ3JvdXBzL3BzNjE2NGVtcHR5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourcegroups/ps32empty?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlZ3JvdXBzL3BzMzJlbXB0eT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"Australia East\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "3d6c33f9-1c1e-4391-b3e6-5ba5498aa7e4" + "89ff6b52-8f2f-4fce-9b5b-d991a60b7aed" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.31" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.53" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "36" ] }, "ResponseHeaders": { @@ -1287,13 +1277,13 @@ "1198" ], "x-ms-request-id": [ - "d44b2079-8922-4eca-97cb-d826014f42fe" + "1c6df663-f5ae-468e-a541-7f45b62edc04" ], "x-ms-correlation-request-id": [ - "d44b2079-8922-4eca-97cb-d826014f42fe" + "1c6df663-f5ae-468e-a541-7f45b62edc04" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210222T085712Z:d44b2079-8922-4eca-97cb-d826014f42fe" + "WESTUS2:20211118T184732Z:1c6df663-f5ae-468e-a541-7f45b62edc04" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1302,10 +1292,10 @@ "nosniff" ], "Date": [ - "Mon, 22 Feb 2021 08:57:11 GMT" + "Thu, 18 Nov 2021 18:47:32 GMT" ], "Content-Length": [ - "179" + "178" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1314,43 +1304,37 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164empty\",\r\n \"name\": \"ps6164empty\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32empty\",\r\n \"name\": \"ps32empty\",\r\n \"location\": \"australiaeast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164empty/providers/Microsoft.IoTCentral/iotApps?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NGVtcHR5L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW9UQ2VudHJhbC9pb3RBcHBzP2FwaS12ZXJzaW9uPTIwMTgtMDktMDE=", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32empty/providers/Microsoft.IoTCentral/iotApps?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzJlbXB0eS9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcz9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4396b009-5249-4e80-9041-b23ea4413567" + "e7a2adfb-700f-43fa-9918-8fe932601a25" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], - "ETag": [ - "W/\"c-ct3goOI+b+kRZv2R9j2fTtMXwkk\"" - ], "x-ms-request-id": [ - "24c3b84c-c9b0-4264-9cc0-02f42a28a117" + "19a1700d-1ca5-44b5-80d6-48d39ec4ceab" ], "x-iot-correlation": [ - "2apm11yu.0" - ], - "x-envoy-upstream-service-time": [ - "289" + "7zaysqb.0" ], "X-Content-Type-Options": [ "nosniff" @@ -1365,28 +1349,31 @@ "1; mode=block" ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], "X-MSEdge-Ref": [ - "Ref A: 3B59B5C23C284FBA8E4007E1B2DAC8C7 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:57:12Z" + "Ref A: F9C03FF6CD7D42FE82FDF8181A96BE26 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:47:32Z" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], "x-ms-correlation-request-id": [ - "83a54b77-436e-41c3-88d4-691b7bccc824" + "6f213ff1-73ae-4278-a841-7b1ad4d48081" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085712Z:83a54b77-436e-41c3-88d4-691b7bccc824" + "WESTUS2:20211118T184732Z:6f213ff1-73ae-4278-a841-7b1ad4d48081" ], "Date": [ - "Mon, 22 Feb 2021 08:57:12 GMT" + "Thu, 18 Nov 2021 18:47:31 GMT" ], "Content-Length": [ "12" @@ -1399,28 +1386,28 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTk/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDY/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"tags\": {\r\n \"tt2\": \"tv2\",\r\n \"key1\": \"value1\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"properties\": {\r\n \"displayName\": \"New Custom Display Name.\",\r\n \"subdomain\": \"ps7619subdomainnew\"\r\n }\r\n}", + "RequestBody": "{\r\n \"tags\": {\r\n \"tt2\": \"tv2\",\r\n \"key1\": \"value1\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"properties\": {\r\n \"displayName\": \"New Custom Display Name.\",\r\n \"subdomain\": \"ps606subdomainnew\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "da0a4d36-7d6f-4383-adff-991422143062" + "5783906f-ef03-4c55-ae9d-832d9552faf5" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "212" + "211" ] }, "ResponseHeaders": { @@ -1428,7 +1415,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"35013709-0000-0100-0000-603371ea0000\"" + "W/\"e400686e-0000-0100-0000-61969fc70000\"" ], "Vary": [ "Accept-Encoding" @@ -1437,74 +1424,75 @@ "1197" ], "x-ms-request-id": [ - "a6085fce-cc91-4e08-aa56-7d08c12edc2c" + "1fbc7e7f-848b-46c9-980a-9ea7607c4658" ], "x-iot-correlation": [ - "2fow2bjn.0" - ], - "x-envoy-upstream-service-time": [ - "1553" + "a5z2aeco.1.0" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Download-Options": [ + "x-download-options": [ "noopen" ], "X-Frame-Options": [ "deny" ], - "X-XSS-Protection": [ + "x-xss-protection": [ "1; mode=block" ], + "x-cache": [ + "CONFIG_NOCACHE", + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: A0048A8ACAFF4017B04CEEF65C5B9039 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:47:32Z" + ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-MSEdge-Ref": [ - "Ref A: 8F88DCC3CEA74C8CB877C269EA0D2A66 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:57:13Z" - ], "x-ms-correlation-request-id": [ - "38eecaeb-690b-47dd-9946-9584ff53fb2c" + "ea169292-6b41-4176-a438-459061a72379" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085716Z:38eecaeb-690b-47dd-9946-9584ff53fb2c" + "WESTUS2:20211118T184737Z:ea169292-6b41-4176-a438-459061a72379" ], "Date": [ - "Mon, 22 Feb 2021 08:57:15 GMT" + "Thu, 18 Nov 2021 18:47:36 GMT" ], "Content-Length": [ - "740" + "600" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619\",\r\n \"name\": \"ps7619\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"tt2\": \"tv2\",\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce2eee22-510c-46c1-9560-e6102749c6a1\",\r\n \"state\": \"created\",\r\n \"displayName\": \"New Custom Display Name.\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"non-wrapped-properties\": true,\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"ps7619subdomainnew\",\r\n \"createdDate\": \"2021-02-22T08:55:54.314Z\",\r\n \"lastUpdated\": \"2021-02-22T08:57:14.55Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"35013709-0000-0100-0000-603371ea0000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606\",\r\n \"name\": \"ps606\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"australiaeast\",\r\n \"tags\": {\r\n \"tt2\": \"tv2\",\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"ce61e0af-1886-4b00-a8c0-18c11451f3a4\",\r\n \"displayName\": \"New Custom Display Name.\",\r\n \"subdomain\": \"ps606subdomainnew\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\",\r\n \"state\": \"created\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"59048b8c-d387-43f5-9706-7c6e62710257\",\r\n \"principalId\": \"af27d436-e91f-41bb-bce0-c6914d58a6f6\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTk/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDY/YXBpLXZlcnNpb249MjAyMS0wNi0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "20d088c4-9707-478a-a438-39485d4599cd" + "f91e8934-3be2-48ff-833b-075d2db745ff" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { @@ -1512,49 +1500,50 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "x-ms-request-id": [ - "959125f8-81dc-4479-925c-9adef34646e0" + "2758542d-4908-4961-ab7e-d70ce981614b" ], "x-iot-correlation": [ - "abggeudz.0" - ], - "x-envoy-upstream-service-time": [ - "996" + "bxnmnzl8.1.0" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Download-Options": [ + "x-download-options": [ "noopen" ], "X-Frame-Options": [ "deny" ], - "X-XSS-Protection": [ + "x-xss-protection": [ "1; mode=block" ], + "x-cache": [ + "CONFIG_NOCACHE", + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: 8B9C9EA21D344E44A8A19138C2DF7984 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:47:37Z" + ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-MSEdge-Ref": [ - "Ref A: D75DF236F72144CBB9D14A714DA617F7 Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:57:17Z" - ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], "x-ms-correlation-request-id": [ - "87194318-c023-4f10-9d6a-8834f892d10d" + "060797ed-5548-4a6d-bc8a-4c368bf3810e" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085720Z:87194318-c023-4f10-9d6a-8834f892d10d" + "WESTUS2:20211118T184741Z:060797ed-5548-4a6d-bc8a-4c368bf3810e" ], "Date": [ - "Mon, 22 Feb 2021 08:57:19 GMT" + "Thu, 18 Nov 2021 18:47:41 GMT" ], "Content-Length": [ "0" @@ -1564,22 +1553,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps6164/providers/Microsoft.IoTCentral/iotApps/ps7619-2?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LklvVENlbnRyYWwvaW90QXBwcy9wczc2MTktMj9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/ce056ca4-e528-41e1-9017-ea357be370b2/resourceGroups/ps32/providers/Microsoft.IoTCentral/iotApps/ps606-2?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2UwNTZjYTQtZTUyOC00MWUxLTkwMTctZWEzNTdiZTM3MGIyL3Jlc291cmNlR3JvdXBzL3BzMzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvcHM2MDYtMj9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "20d088c4-9707-478a-a438-39485d4599cd" + "f91e8934-3be2-48ff-833b-075d2db745ff" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29719.03", + "FxVersion/4.6.30411.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/4.0.0.0" ] }, "ResponseHeaders": { @@ -1587,49 +1576,50 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "x-ms-request-id": [ - "97208cbd-0643-43cc-aa2e-dad2436c3adb" + "3527899a-ebf9-4134-a0ae-5e35c2fcfa13" ], "x-iot-correlation": [ - "5xy6652r.0" - ], - "x-envoy-upstream-service-time": [ - "1599" + "cdyfhw1q.1.0" ], "X-Content-Type-Options": [ "nosniff" ], - "X-Download-Options": [ + "x-download-options": [ "noopen" ], "X-Frame-Options": [ "deny" ], - "X-XSS-Protection": [ + "x-xss-protection": [ "1; mode=block" ], + "x-cache": [ + "CONFIG_NOCACHE", + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: 69C2809ECB4249738025D6B727B68FD7 Ref B: CO1EDGE1518 Ref C: 2021-11-18T18:47:42Z" + ], "X-IoT-Version": [ - "021121.0001-release" + "111721.0002-release" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodwestus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-MSEdge-Ref": [ - "Ref A: D86DF0B70EA34169BF834B96F29469BC Ref B: BY3EDGE0511 Ref C: 2021-02-22T08:57:20Z" - ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], "x-ms-correlation-request-id": [ - "fde63b00-c241-4dbc-9329-ccf24ee9b60c" + "b14f15e4-3155-4a06-9963-731e4be76ba9" ], "x-ms-routing-request-id": [ - "WESTUS:20210222T085723Z:fde63b00-c241-4dbc-9329-ccf24ee9b60c" + "WESTUS2:20211118T184747Z:b14f15e4-3155-4a06-9963-731e4be76ba9" ], "Date": [ - "Mon, 22 Feb 2021 08:57:23 GMT" + "Thu, 18 Nov 2021 18:47:46 GMT" ], "Content-Length": [ "0" @@ -1641,11 +1631,11 @@ ], "Names": { "Test-IotCentralAppLifecycleManagement": [ - "ps6164", - "ps7619" + "ps32", + "ps606" ] }, "Variables": { - "SubscriptionId": "bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b" + "SubscriptionId": "ce056ca4-e528-41e1-9017-ea357be370b2" } } \ No newline at end of file diff --git a/src/IotCentral/IotCentral/Az.IotCentral.psd1 b/src/IotCentral/IotCentral/Az.IotCentral.psd1 index 22e96bb76573..1e5a1cdfe9d3 100644 --- a/src/IotCentral/IotCentral/Az.IotCentral.psd1 +++ b/src/IotCentral/IotCentral/Az.IotCentral.psd1 @@ -110,7 +110,7 @@ PrivateData = @{ # IconUri = '' # ReleaseNotes of this module - ReleaseNotes = '* Update our Azure PowerShell command to use our latest released .NET package with the version of 3.1.0.' + ReleaseNotes = '* Update our Azure PowerShell command to use our latest released .NET package with the version of 4.0.0.' # Prerelease string of this module # Prerelease = '' diff --git a/src/IotCentral/IotCentral/ChangeLog.md b/src/IotCentral/IotCentral/ChangeLog.md index fa2ee3a95daf..92d899fcc9ec 100644 --- a/src/IotCentral/IotCentral/ChangeLog.md +++ b/src/IotCentral/IotCentral/ChangeLog.md @@ -18,6 +18,8 @@ - Additional information about change #1 --> ## Upcoming Release +* Stable release version, updated to IoT Central .NET Management Plane SDK version 4.0.0. +* This change introduces support for System-Assigned Managed Identities, removes support for geographic locations (e.g., 'unitedstates'), and removes support for legacy S1 sku. ## Version 0.9.0 * Update our Azure PowerShell command to use our latest released .NET package with the version of 3.1.0. diff --git a/src/IotCentral/IotCentral/Common/IotCentralUtils.cs b/src/IotCentral/IotCentral/Common/IotCentralUtils.cs index 4652ed97acb4..dfb4cb5bc928 100644 --- a/src/IotCentral/IotCentral/Common/IotCentralUtils.cs +++ b/src/IotCentral/IotCentral/Common/IotCentralUtils.cs @@ -14,10 +14,8 @@ using Microsoft.Azure.Commands.IotCentral.Models; using Microsoft.Azure.Management.IotCentral.Models; -using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; -using System.Management.Automation; namespace Microsoft.Azure.Commands.IotCentral.Common { @@ -35,13 +33,13 @@ public static IEnumerable ToPSIotCentralApps(IEnumerable i public static AppPatch CreateAppPatch(App iotCentralApp) { - var copiedIotCenralApp = new AppPatch() + var copiedIotCentralApp = new AppPatch() { DisplayName = iotCentralApp.DisplayName, Tags = iotCentralApp.Tags, Subdomain = iotCentralApp.Subdomain }; - return copiedIotCenralApp; + return copiedIotCentralApp; } } } \ No newline at end of file diff --git a/src/IotCentral/IotCentral/IotCentral.csproj b/src/IotCentral/IotCentral/IotCentral.csproj index a04df0797fbc..3db332fddb11 100644 --- a/src/IotCentral/IotCentral/IotCentral.csproj +++ b/src/IotCentral/IotCentral/IotCentral.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/IotCentral/IotCentral/IotCentral.generated.format.ps1xml b/src/IotCentral/IotCentral/IotCentral.generated.format.ps1xml index 6048c90ce67f..e8b9b1817e7c 100644 --- a/src/IotCentral/IotCentral/IotCentral.generated.format.ps1xml +++ b/src/IotCentral/IotCentral/IotCentral.generated.format.ps1xml @@ -36,6 +36,10 @@ Left + + Left + + Left diff --git a/src/IotCentral/IotCentral/IotCentral/GetAzureRmIotCentralApp.cs b/src/IotCentral/IotCentral/IotCentral/GetAzureRmIotCentralApp.cs index 2526cc765beb..06f223379c92 100644 --- a/src/IotCentral/IotCentral/IotCentral/GetAzureRmIotCentralApp.cs +++ b/src/IotCentral/IotCentral/IotCentral/GetAzureRmIotCentralApp.cs @@ -19,7 +19,6 @@ using Microsoft.Azure.Management.IotCentral; using Microsoft.Azure.Management.IotCentral.Models; using System.Collections.Generic; -using System.Linq; using System.Management.Automation; namespace Microsoft.Azure.Commands.Management.IotCentral diff --git a/src/IotCentral/IotCentral/IotCentral/NewAzureRmIotCentralApp.cs b/src/IotCentral/IotCentral/IotCentral/NewAzureRmIotCentralApp.cs index 1dc97d3e26d7..e4b99eb35263 100644 --- a/src/IotCentral/IotCentral/IotCentral/NewAzureRmIotCentralApp.cs +++ b/src/IotCentral/IotCentral/IotCentral/NewAzureRmIotCentralApp.cs @@ -80,6 +80,12 @@ public class NewAzureRmIotCentralApp : IotCentralBaseCmdlet [Parameter(Mandatory = false, HelpMessage = "Run cmdlet as a job in the background.")] public SwitchParameter AsJob { get; set; } + [Parameter( + Mandatory = false, + HelpMessage = "Managed Identity Type. Can be SystemAssigned or None.")] + [ValidateNotNullOrEmpty] + public string Identity { get; set; } + public override void ExecuteCmdlet() { if (ShouldProcess(Name, ResourceProperties.Resources.NewIotCentralApp)) @@ -91,14 +97,14 @@ public override void ExecuteCmdlet() Template = this.Template, Sku = new AppSkuInfo() { Name = this.GetAppSkuName() }, Location = this.GetLocation(), - Tags = this.GetTags() + Tags = this.GetTags(), + Identity = new SystemAssignedServiceIdentity(this.GetIdentity()), }; this.IotCentralClient.Apps.CreateOrUpdate(this.ResourceGroupName, this.Name, iotCentralApp); App createdIotCentralApp = this.IotCentralClient.Apps.Get(this.ResourceGroupName, this.Name); this.WriteObject(IotCentralUtils.ToPSIotCentralApp(createdIotCentralApp), false); } - } private IDictionary GetTags() @@ -132,5 +138,10 @@ private string GetLocation() } return this.Location; } + + private string GetIdentity() + { + return this.Identity ?? SystemAssignedServiceIdentityType.None; + } } } \ No newline at end of file diff --git a/src/IotCentral/IotCentral/IotCentral/SetAzureRmIotCentralApp.cs b/src/IotCentral/IotCentral/IotCentral/SetAzureRmIotCentralApp.cs index 2b568c21e985..91cd2f9b1742 100644 --- a/src/IotCentral/IotCentral/IotCentral/SetAzureRmIotCentralApp.cs +++ b/src/IotCentral/IotCentral/IotCentral/SetAzureRmIotCentralApp.cs @@ -54,6 +54,11 @@ public class SetAzureRmIotCentralApp : IotCentralFullParameterSetCmdlet [ValidateNotNullOrEmpty] public string Sku { get; set; } + [Parameter( + Mandatory = false, + HelpMessage = "Managed Identity Type. Can be None or SystemAssigned.")] + public string Identity { get; set; } + public override void ExecuteCmdlet() { this.SetNameAndResourceGroup(); @@ -67,7 +72,19 @@ public override void ExecuteCmdlet() private AppPatch CreateApplicationPatch() { - return new AppPatch(TagsConversionHelper.CreateTagDictionary(this.Tag, true), new AppSkuInfo(this.Sku), null, this.DisplayName, this.Subdomain); + var appPatch = new AppPatch( + tags: TagsConversionHelper.CreateTagDictionary(this.Tag, true), + sku: new AppSkuInfo(this.Sku), + displayName: this.DisplayName, + subdomain: this.Subdomain + ); + + if (!string.IsNullOrEmpty(this.Identity)) + { + appPatch.Identity = new SystemAssignedServiceIdentity(type: this.Identity); + } + + return appPatch; } } } \ No newline at end of file diff --git a/src/IotCentral/IotCentral/Models/PSIotCentralApp.cs b/src/IotCentral/IotCentral/Models/PSIotCentralApp.cs index e9366c9dc768..f42b0fa9122d 100644 --- a/src/IotCentral/IotCentral/Models/PSIotCentralApp.cs +++ b/src/IotCentral/IotCentral/Models/PSIotCentralApp.cs @@ -15,7 +15,6 @@ using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; using Microsoft.Azure.Management.IotCentral.Models; using Microsoft.WindowsAzure.Commands.Common.Attributes; -using Newtonsoft.Json; using System.Collections.Generic; namespace Microsoft.Azure.Commands.IotCentral.Models @@ -51,6 +50,7 @@ public PSIotCentralApp(App iotCentralApp){ this.DisplayName = iotCentralApp.DisplayName; this.Subdomain = iotCentralApp.Subdomain; this.Template = iotCentralApp.Template; + this.Identity = iotCentralApp.Identity; } /// @@ -103,6 +103,11 @@ public PSIotCentralApp(App iotCentralApp){ /// public string Type { get; private set; } + /// + /// The supported Managed Identities. + /// + public SystemAssignedServiceIdentity Identity { get; set; } + /// /// The subscription identifier. /// diff --git a/src/IotCentral/IotCentral/Models/PSIotCentralAppSku.cs b/src/IotCentral/IotCentral/Models/PSIotCentralAppSku.cs index 5aa9e16b0c8e..d2bd715882da 100644 --- a/src/IotCentral/IotCentral/Models/PSIotCentralAppSku.cs +++ b/src/IotCentral/IotCentral/Models/PSIotCentralAppSku.cs @@ -24,7 +24,6 @@ namespace Microsoft.Azure.Commands.IotCentral.Models [JsonConverter(typeof(StringEnumConverter))] public enum PSIotCentralAppSku { - S1 = 1, ST0 = 2, ST1 = 3, ST2 = 4 diff --git a/src/IotCentral/IotCentral/Models/PSIotCentralAppSkuInfo.cs b/src/IotCentral/IotCentral/Models/PSIotCentralAppSkuInfo.cs index 775f37d132e9..e2ccce14fcef 100644 --- a/src/IotCentral/IotCentral/Models/PSIotCentralAppSkuInfo.cs +++ b/src/IotCentral/IotCentral/Models/PSIotCentralAppSkuInfo.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.IotCentral.Models public class PSIotCentralAppSkuInfo { /// - /// Gets or sets the name of the SKU. Possible values include: 'S1', 'ST0', 'ST1', 'ST2' + /// Gets or sets the name of the SKU. Possible values include: 'ST0', 'ST1', 'ST2' /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/IotCentral/IotCentral/help/Get-AzIotCentralApp.md b/src/IotCentral/IotCentral/help/Get-AzIotCentralApp.md index 9aaf26783d9b..882b3898abe8 100644 --- a/src/IotCentral/IotCentral/help/Get-AzIotCentralApp.md +++ b/src/IotCentral/IotCentral/help/Get-AzIotCentralApp.md @@ -56,6 +56,7 @@ Subdomain : MyAppSubdomain Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName +Identity : Microsoft.Azure.Management.IotCentral.Models.SystemAssignedServiceIdentity ### Example 2 Get IoT Central Applications in Subscription. ```powershell @@ -79,6 +80,7 @@ Subdomain : MyAppSubdomain Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName +Identity : Microsoft.Azure.Management.IotCentral.Models.SystemAssignedServiceIdentity ResourceId : /subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/MyResourceGroupName2/providers/Microsoft .IoTCentral/IoTApps/MyAppResourceName2 @@ -93,6 +95,7 @@ Subdomain : MyAppSubdomain2 Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName2 +Identity : Microsoft.Azure.Management.IotCentral.Models.SystemAssignedServiceIdentity ### Example 3 Get IoT Central Applications in Resource Group. ```powershell @@ -116,6 +119,7 @@ Subdomain : MyAppSubdomain Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName +Identity : Microsoft.Azure.Management.IotCentral.Models.SystemAssignedServiceIdentity ResourceId : /subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/MyResourceGroupName/providers/Microsoft .IoTCentral/IoTApps/MyAppResourceName2 @@ -130,6 +134,7 @@ Subdomain : MyAppSubdomain2 Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName +Identity : Microsoft.Azure.Management.IotCentral.Models.SystemAssignedServiceIdentity ## PARAMETERS diff --git a/src/IotCentral/IotCentral/help/New-AzIotCentralApp.md b/src/IotCentral/IotCentral/help/New-AzIotCentralApp.md index ed4239990e6c..6b30032d4912 100644 --- a/src/IotCentral/IotCentral/help/New-AzIotCentralApp.md +++ b/src/IotCentral/IotCentral/help/New-AzIotCentralApp.md @@ -13,7 +13,7 @@ Creates a new IoT Central Application. ## SYNTAX ``` -New-AzIotCentralApp [-Subdomain] [-DisplayName ] [-Template ] [-Sku ] +New-AzIotCentralApp [-Subdomain] [-DisplayName ] [-Template ] [-Sku ] [-Identity ] [-Location ] [-Tag ] [-AsJob] [-ResourceGroupName] [-Name] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -43,6 +43,7 @@ Subdomain : MyAppSubdomain Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName +Identity : Microsoft.Azure.Management.IotCentral.Models.SystemAssignedServiceIdentity Create an IoT Central application in the standard pricing tier ST2, in the region of the resource group. @@ -66,6 +67,7 @@ Subdomain : MyAppSubdomain Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName +Identity : Microsoft.Azure.Management.IotCentral.Models.SystemAssignedServiceIdentity Create an IoT Central application with the standard pricing tier ST2 in the 'westus' region, with a custom display name, based on the iotc-default template. @@ -226,6 +228,22 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -Identity +The type of managed identity for the IoT Central application. +Default value is None. System-assigned managed identities are supported. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/IotCentral/IotCentral/help/Set-AzIotCentralApp.md b/src/IotCentral/IotCentral/help/Set-AzIotCentralApp.md index ddb7939c4a3f..8e726d3afc35 100644 --- a/src/IotCentral/IotCentral/help/Set-AzIotCentralApp.md +++ b/src/IotCentral/IotCentral/help/Set-AzIotCentralApp.md @@ -14,21 +14,21 @@ Updates the metadata for an IoT Central Application. ### ResourceIdParameterSet (Default) ``` -Set-AzIotCentralApp [-DisplayName ] [-Subdomain ] [-Tag ] [-Sku ] +Set-AzIotCentralApp [-DisplayName ] [-Subdomain ] [-Tag ] [-Sku ] [-Identity ] -ResourceId [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### InputObjectParameterSet ``` -Set-AzIotCentralApp [-DisplayName ] [-Subdomain ] [-Tag ] [-Sku ] +Set-AzIotCentralApp [-DisplayName ] [-Subdomain ] [-Tag ] [-Sku ] [-Identity ] -InputObject [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### InteractiveIotCentralParameterSet ``` -Set-AzIotCentralApp [-DisplayName ] [-Subdomain ] [-Tag ] [-Sku ] [-AsJob] +Set-AzIotCentralApp [-DisplayName ] [-Subdomain ] [-Tag ] [-Sku ] [-Identity ] [-AsJob] [-ResourceGroupName] [-Name] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -60,6 +60,7 @@ Subdomain : MyAppSubdomain Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName +Identity : Microsoft.Azure.Management.IotCentral.Models.SystemAssignedServiceIdentity ### Example 2 Update Subdomain ```powershell @@ -83,6 +84,7 @@ Subdomain : new-subdomain Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName +Identity : Microsoft.Azure.Management.IotCentral.Models.SystemAssignedServiceIdentity ### Example 3 Update App Sku Info ```powershell @@ -106,6 +108,7 @@ Subdomain : MyAppSubdomain Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName +Identity : Microsoft.Azure.Management.IotCentral.Models.SystemAssignedServiceIdentity ## PARAMETERS @@ -260,6 +263,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Identity +The type of managed identity for the IoT Central application. +Default value is None. System-assigned managed identities are supported. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet.