From 4d983a8f5ca8788fce35ba45299fede6f2925d8c Mon Sep 17 00:00:00 2001 From: "PoAn (Baron) Chen" Date: Thu, 4 Feb 2021 13:27:47 -0800 Subject: [PATCH] [IoTCentral] resourceType became camel case, added industry, locations field to appTemplate API, added origin, properties field to operations API (#18415) * include camel case, apptemplateName changes * add industry and locations to appTemplate api * update unit test --- .../iotcentral_resource-manager.txt | 4 +- .../src/Generated/AppsOperations.cs | 12 +- .../src/Generated/Models/AppTemplate.cs | 21 +- .../Generated/Models/AppTemplateLocations.cs | 59 ++++ .../src/Generated/Models/Operation.cs | 20 +- .../src/Generated/SdkInfo_IotCentralClient.cs | 2 +- ...crosoft.Azure.Management.IotCentral.csproj | 6 +- .../src/Properties/AssemblyInfo.cs | 4 +- .../ScenarioTests/IotCentralLifeCycleTests.cs | 39 ++- .../TestAppTemplateNameField.json | 28 +- .../TestIotCentralCreateLifeCycle.json | 310 +++++++----------- .../TestIotCentralOperationsApi.json | 92 ++++++ .../TestIotCentralUpdateLifeCycle.json | 229 ++++++++----- 13 files changed, 515 insertions(+), 311 deletions(-) create mode 100644 sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/AppTemplateLocations.cs create mode 100644 sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralOperationsApi.json diff --git a/eng/mgmt/mgmtmetadata/iotcentral_resource-manager.txt b/eng/mgmt/mgmtmetadata/iotcentral_resource-manager.txt index 04ddc84c34d6..189998183d5a 100644 --- a/eng/mgmt/mgmtmetadata/iotcentral_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/iotcentral_resource-manager.txt @@ -4,11 +4,11 @@ Commencing code generation Generating CSharp code Executing AutoRest command cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/iotcentral/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp.output-folder=C:\Users\pochen\Github\azure-sdk-for-net\sdk\iotcentral\Microsoft.Azure.Management.IotCentral\src\Generated -2021-01-06 01:06:39 UTC +2021-02-04 03:45:38 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: b5851f013e3e954c7356e7d7384ae5188f6944ca +Commit: 42fdd45e761f87132e85ed77caf30d5cac81aee5 AutoRest information Requested version: v2 Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/AppsOperations.cs b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/AppsOperations.cs index a383c6326dad..ad88ea0d746b 100644 --- a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/AppsOperations.cs +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/AppsOperations.cs @@ -112,7 +112,7 @@ internal AppsOperations(IotCentralClient client) } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); @@ -367,7 +367,7 @@ internal AppsOperations(IotCentralClient client) } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.IoTCentral/IoTApps").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.IoTCentral/iotApps").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (Client.ApiVersion != null) @@ -553,7 +553,7 @@ internal AppsOperations(IotCentralClient client) } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); List _queryParameters = new List(); @@ -1335,7 +1335,7 @@ internal AppsOperations(IotCentralClient client) } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); @@ -1563,7 +1563,7 @@ internal AppsOperations(IotCentralClient client) } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); @@ -1762,7 +1762,7 @@ internal AppsOperations(IotCentralClient client) } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/AppTemplate.cs b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/AppTemplate.cs index 94e3c1874e98..3966f005f6ac 100644 --- a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/AppTemplate.cs +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/AppTemplate.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.IotCentral.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -36,7 +38,10 @@ public AppTemplate() /// The order of the template in the templates /// list. /// The description of the template. - public AppTemplate(string manifestId = default(string), string manifestVersion = default(string), string name = default(string), string title = default(string), double? order = default(double?), string description = default(string)) + /// The industry of the template. + /// A list of locations that support the + /// template. + public AppTemplate(string manifestId = default(string), string manifestVersion = default(string), string name = default(string), string title = default(string), double? order = default(double?), string description = default(string), string industry = default(string), IList locations = default(IList)) { ManifestId = manifestId; ManifestVersion = manifestVersion; @@ -44,6 +49,8 @@ public AppTemplate() Title = title; Order = order; Description = description; + Industry = industry; + Locations = locations; CustomInit(); } @@ -88,5 +95,17 @@ public AppTemplate() [JsonProperty(PropertyName = "description")] public string Description { get; private set; } + /// + /// Gets the industry of the template. + /// + [JsonProperty(PropertyName = "industry")] + public string Industry { get; private set; } + + /// + /// Gets a list of locations that support the template. + /// + [JsonProperty(PropertyName = "locations")] + public IList Locations { get; private set; } + } } diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/AppTemplateLocations.cs b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/AppTemplateLocations.cs new file mode 100644 index 000000000000..f2bc882b61f6 --- /dev/null +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/AppTemplateLocations.cs @@ -0,0 +1,59 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.IotCentral.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// IoT Central Application Template Locations. + /// + public partial class AppTemplateLocations + { + /// + /// Initializes a new instance of the AppTemplateLocations class. + /// + public AppTemplateLocations() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AppTemplateLocations class. + /// + /// The ID of the location. + /// The display name of the location. + public AppTemplateLocations(string id = default(string), string displayName = default(string)) + { + Id = id; + DisplayName = displayName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the ID of the location. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets the display name of the location. + /// + [JsonProperty(PropertyName = "displayName")] + public string DisplayName { get; private set; } + + } +} diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/Operation.cs b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/Operation.cs index b36089bfc53c..3ee67f018721 100644 --- a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/Operation.cs +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/Models/Operation.cs @@ -33,10 +33,16 @@ public Operation() /// write | action | delete} /// The object that represents the /// operation. - public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay)) + /// The intended executor of the + /// operation. + /// Additional descriptions for the + /// operation. + public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay), string origin = default(string), object properties = default(object)) { Name = name; Display = display; + Origin = origin; + Properties = properties; CustomInit(); } @@ -58,5 +64,17 @@ public Operation() [JsonProperty(PropertyName = "display")] public OperationDisplay Display { get; set; } + /// + /// Gets the intended executor of the operation. + /// + [JsonProperty(PropertyName = "origin")] + public string Origin { get; private set; } + + /// + /// Gets additional descriptions for the operation. + /// + [JsonProperty(PropertyName = "properties")] + public object Properties { get; private set; } + } } diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/SdkInfo_IotCentralClient.cs b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/SdkInfo_IotCentralClient.cs index f67cada5c841..665b5bf0583a 100644 --- a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/SdkInfo_IotCentralClient.cs +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Generated/SdkInfo_IotCentralClient.cs @@ -30,7 +30,7 @@ public static IEnumerable> ApiInfo_IotCentralClien public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/iotcentral/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp.output-folder=C:\\Users\\pochen\\Github\\azure-sdk-for-net\\sdk\\iotcentral\\Microsoft.Azure.Management.IotCentral\\src\\Generated"; public static readonly String GithubForkName = "Azure"; public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "b5851f013e3e954c7356e7d7384ae5188f6944ca"; + public static readonly String GithubCommidId = "42fdd45e761f87132e85ed77caf30d5cac81aee5"; public static readonly String CodeGenerationErrors = ""; public static readonly String GithubRepoName = "azure-rest-api-specs"; // END: Code Generation Metadata Section diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Microsoft.Azure.Management.IotCentral.csproj b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Microsoft.Azure.Management.IotCentral.csproj index 1e47c694f518..ca8749894ece 100644 --- a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Microsoft.Azure.Management.IotCentral.csproj +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Microsoft.Azure.Management.IotCentral.csproj @@ -8,11 +8,13 @@ Provides management capabilities for Microsoft Azure IotCentral. Microsoft Azure IotCentral Management Microsoft.Azure.Management.IotCentral - 3.0.0 + 3.1.0 Microsoft Azure IotCentral;IotCentral management;IotCentral; diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Properties/AssemblyInfo.cs b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Properties/AssemblyInfo.cs index 6488847894b2..c311fcff1af9 100644 --- a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Properties/AssemblyInfo.cs +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/src/Properties/AssemblyInfo.cs @@ -7,8 +7,8 @@ [assembly: AssemblyTitle("Microsoft Azure IotCentral Management Library")] [assembly: AssemblyDescription("Provides management functionality for Microsoft Azure IotCentral Resources.")] -[assembly: AssemblyVersion("3.0.0.0")] -[assembly: AssemblyFileVersion("3.0.0.0")] +[assembly: AssemblyVersion("3.1.0.0")] +[assembly: AssemblyFileVersion("3.1.0.0")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Microsoft Azure .NET SDK")] diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/ScenarioTests/IotCentralLifeCycleTests.cs b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/ScenarioTests/IotCentralLifeCycleTests.cs index 6ae7d79766b0..e2a3114d957f 100644 --- a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/ScenarioTests/IotCentralLifeCycleTests.cs +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/ScenarioTests/IotCentralLifeCycleTests.cs @@ -66,16 +66,8 @@ public void TestIotCentralCreateLifeCycle() // Get all Iot Apps in a subscription var iotAppsBySubscription = this.iotCentralClient.Apps.ListBySubscription().ToList(); - // Get all of the available IoT Apps REST API operations - var operationList = this.iotCentralClient.Operations.List().ToList(); - - // Get IoT Central Apps REST API read operation - var readOperation = operationList.Where(e => e.Name.Equals("Microsoft.IoTCentral/IotApps/Read", StringComparison.OrdinalIgnoreCase)).ToList(); - Assert.True(iotAppsByResourceGroup.Count > 0); Assert.True(iotAppsBySubscription.Count > 0); - Assert.True(operationList.Count > 0); - Assert.True(readOperation.Count.Equals(1)); } } @@ -216,6 +208,37 @@ public void TestAppTemplateNameField() Assert.True(iotAppsTemplates.Count > 0); Assert.NotNull(iotAppsTemplates[0].Name); Assert.Equal("Store Analytics – Condition Monitoring", iotAppsTemplates[0].Name); + Assert.NotNull(iotAppsTemplates[0].Industry); + Assert.Equal("Retail", iotAppsTemplates[0].Industry); + Assert.True(iotAppsTemplates[0].Locations.Count > 0); + Assert.NotNull(iotAppsTemplates[0].Locations[0].Id); + Assert.Equal("unitedstates", iotAppsTemplates[0].Locations[0].Id); + Assert.NotNull(iotAppsTemplates[0].Locations[0].DisplayName); + Assert.Equal("United States", iotAppsTemplates[0].Locations[0].DisplayName); + } + } + + [Fact] + public void TestIotCentralOperationsApi() + { + using (MockContext context = MockContext.Start(this.GetType())) + { + Initialize(context); + + // Get all of the available IoT Apps REST API operations + var operationList = this.iotCentralClient.Operations.List().ToList(); + + Assert.True(operationList.Count > 0); + + // Get IoT Central Apps REST API read operation + var readOperation = operationList.Where(e => e.Name.Equals("Microsoft.IoTCentral/IotApps/Read", StringComparison.OrdinalIgnoreCase)).ToList(); + // Get IoT Central Apps REST API read metricDefinitions operation + var readMetricDefinitionsOperation = operationList.Where(e => e.Name.Equals("Microsoft.IoTCentral/IoTApps/providers/Microsoft.Insights/metricDefinitions/read", StringComparison.OrdinalIgnoreCase)).ToList(); + + Assert.True(readOperation.Count.Equals(1)); + Assert.True(readMetricDefinitionsOperation.Count.Equals(1)); + Assert.NotNull(readMetricDefinitionsOperation[0].Origin); + Assert.NotNull(readMetricDefinitionsOperation[0].Properties); } } diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestAppTemplateNameField.json b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestAppTemplateNameField.json index 28696adbcc0d..0a9c57fcc281 100644 --- a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestAppTemplateNameField.json +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestAppTemplateNameField.json @@ -7,16 +7,16 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "598b2e64-fe71-4f6d-9b06-d8d9656298d2" + "eb8f89d0-865f-41fa-b609-69d59e7b49ef" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ] }, "ResponseHeaders": { @@ -24,7 +24,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"20b0-fckIkcGVomGed/Noma39Q/HyFzk\"" + "W/\"22a9-FjYxTUpy4k+6GHuExnZd1JQa8n4\"" ], "Vary": [ "Accept-Encoding" @@ -33,13 +33,13 @@ "1199" ], "x-ms-request-id": [ - "3df23f3a-e083-4466-8902-322eb71cd868" + "5ba6fb26-2942-420a-b031-74991a8ea1f7" ], "x-iot-correlation": [ - "1iwswqtp.0" + "b4uoqxdd.0" ], "x-envoy-upstream-service-time": [ - "393" + "391" ], "X-Content-Type-Options": [ "nosniff" @@ -54,7 +54,7 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ "iotcprodwestus02" @@ -63,25 +63,25 @@ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: CC6A916A2AB1442FA154C1E701E52330 Ref B: BY3EDGE0106 Ref C: 2021-01-07T01:03:04Z" + "Ref A: D2EE335789864BAA9F334A03D55E3989 Ref B: BY3EDGE0216 Ref C: 2021-02-04T05:01:20Z" ], "x-ms-correlation-request-id": [ - "1dbef8e5-48eb-47a5-8b6a-1455cc301ccd" + "43c221b8-d6d3-4842-b3a6-65d9a05cef3f" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010305Z:1dbef8e5-48eb-47a5-8b6a-1455cc301ccd" + "WESTUS:20210204T050121Z:43c221b8-d6d3-4842-b3a6-65d9a05cef3f" ], "Date": [ - "Thu, 07 Jan 2021 01:03:04 GMT" + "Thu, 04 Feb 2021 05:01:20 GMT" ], "Content-Length": [ - "8368" + "8873" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"manifestId\": \"iotc-condition\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"Store Analytics – Condition Monitoring\",\r\n \"title\": \"In-store Analytics – Condition Monitoring\",\r\n \"order\": 99,\r\n \"description\": \"Digitally connect and monitor your store environment to reduce operating costs and create experiences that customers love.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-consumption\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Water Consumption application template\",\r\n \"title\": \"Water Consumption Monitoring\",\r\n \"order\": 99,\r\n \"description\": \"Enable remote tracking of water consumption to reduce field operations, detect leaks in time, while empowering cities to conserve water.\",\r\n \"industry\": \"Government\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-distribution\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Digital Distribution Center application template\",\r\n \"title\": \"Digital Distribution Center\",\r\n \"order\": 99,\r\n \"description\": \"Digitally manage warehouse conveyor belt system efficiency using object detection and tracking.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-inventory\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Smart Inventory Management application template\",\r\n \"title\": \"Smart Inventory Management\",\r\n \"order\": 99,\r\n \"description\": \"Enable accurate inventory tracking and ensure shelves are always stocked.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-logistics\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Connected Logistics application template\",\r\n \"title\": \"Connected Logistics\",\r\n \"order\": 99,\r\n \"description\": \"Track your shipment in real-time across air, water and land with location and condition monitoring.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-meter\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Smart Meter Analytics application template\",\r\n \"title\": \"Smart Meter Analytics\",\r\n \"order\": 99,\r\n \"description\": \"Connect utility meters to gain insights into billing, forecast consumption, and proactively detect outages.\",\r\n \"industry\": \"Energy\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-mfc\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Micro-fulfillment Center\",\r\n \"title\": \"Micro-fulfillment Center\",\r\n \"order\": 99,\r\n \"description\": \"Digitally connect, monitor and manage all aspects of a fully automated fulfillment center to reduce costs by eliminating downtime while increasing security and overall efficiency.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-patient\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Continuous Patient Monitoring application template\",\r\n \"title\": \"Continuous Patient Monitoring\",\r\n \"order\": 99,\r\n \"description\": \"Connect and manage devices for in-patient and remote monitoring to improve patient outcomes, reduce re-admissions, and manage chronic diseases.\",\r\n \"industry\": \"Health\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-pnp-preview\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central PnP template (preview)\",\r\n \"title\": \"Custom application\",\r\n \"order\": 1,\r\n \"description\": \"Create an application with Azure IoT Plug and Play.\",\r\n \"industry\": \"\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-power\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Solar Power Monitoring application template\",\r\n \"title\": \"Solar Power Monitoring\",\r\n \"order\": 99,\r\n \"description\": \"Connect, monitor, and manage your solar panels and energy generation.\",\r\n \"industry\": \"Energy\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-quality\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Water Quality Monitoring application template\",\r\n \"title\": \"Water Quality Monitoring\",\r\n \"order\": 99,\r\n \"description\": \"Improve water quality and detect issues earlier by analyzing real-time measurements across your environment.\",\r\n \"industry\": \"Government\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-store\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"Store Analytics – Checkout\",\r\n \"title\": \"In-store Analytics – Checkout\",\r\n \"order\": 99,\r\n \"description\": \"Monitor and manage the checkout flow inside your store to improve efficiency and reduce wait times.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-video-analytics-om\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Video analytics - object and motion detection application template\",\r\n \"title\": \"Video analytics - object and motion detection\",\r\n \"order\": 99,\r\n \"description\": \"Use cameras as a sensor in intelligent video analytics solutions powered by Azure IoT Edge, AI, and Azure Media Services.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-waste\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Connected Waste Management application template\",\r\n \"title\": \"Connected Waste Management\",\r\n \"order\": 99,\r\n \"description\": \"Maximize efficiency in the collection of solid wastes by dispatching field operators at the right time along an optimized collection route.\",\r\n \"industry\": \"Government\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"manifestId\": \"iotc-condition\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"Store Analytics – Condition Monitoring\",\r\n \"title\": \"In-store Analytics – Condition Monitoring\",\r\n \"order\": 99,\r\n \"description\": \"Digitally connect and monitor your store environment to reduce operating costs and create experiences that customers love.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-consumption\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Water Consumption application template\",\r\n \"title\": \"Water Consumption Monitoring\",\r\n \"order\": 99,\r\n \"description\": \"Enable remote tracking of water consumption to reduce field operations, detect leaks in time, while empowering cities to conserve water.\",\r\n \"industry\": \"Government\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-distribution\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Digital Distribution Center application template\",\r\n \"title\": \"Digital Distribution Center\",\r\n \"order\": 99,\r\n \"description\": \"Digitally manage warehouse conveyor belt system efficiency using object detection and tracking.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-inventory\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Smart Inventory Management application template\",\r\n \"title\": \"Smart Inventory Management\",\r\n \"order\": 99,\r\n \"description\": \"Enable accurate inventory tracking and ensure shelves are always stocked.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-logistics\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Connected Logistics application template\",\r\n \"title\": \"Connected Logistics\",\r\n \"order\": 99,\r\n \"description\": \"Track your shipment in real-time across air, water and land with location and condition monitoring.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-meter\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Smart Meter Analytics application template\",\r\n \"title\": \"Smart Meter Analytics\",\r\n \"order\": 99,\r\n \"description\": \"Connect utility meters to gain insights into billing, forecast consumption, and proactively detect outages.\",\r\n \"industry\": \"Energy\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-mfc\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Micro-fulfillment Center\",\r\n \"title\": \"Micro-fulfillment Center\",\r\n \"order\": 99,\r\n \"description\": \"Digitally connect, monitor and manage all aspects of a fully automated fulfillment center to reduce costs by eliminating downtime while increasing security and overall efficiency.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-paad\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Phone-as-a-device application template\",\r\n \"title\": \"Paad\",\r\n \"order\": 99,\r\n \"description\": \"Create application with [\\\"paad\\\"] capabilities.\",\r\n \"industry\": \"Utility\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-patient\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Continuous Patient Monitoring application template\",\r\n \"title\": \"Continuous Patient Monitoring\",\r\n \"order\": 99,\r\n \"description\": \"Connect and manage devices for in-patient and remote monitoring to improve patient outcomes, reduce re-admissions, and manage chronic diseases.\",\r\n \"industry\": \"Health\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-pnp-preview\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central PnP template (preview)\",\r\n \"title\": \"Custom application\",\r\n \"order\": 1,\r\n \"description\": \"Create an application with Azure IoT Plug and Play.\",\r\n \"industry\": \"\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-power\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Solar Power Monitoring application template\",\r\n \"title\": \"Solar Power Monitoring\",\r\n \"order\": 99,\r\n \"description\": \"Connect, monitor, and manage your solar panels and energy generation.\",\r\n \"industry\": \"Energy\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-quality\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Water Quality Monitoring application template\",\r\n \"title\": \"Water Quality Monitoring\",\r\n \"order\": 99,\r\n \"description\": \"Improve water quality and detect issues earlier by analyzing real-time measurements across your environment.\",\r\n \"industry\": \"Government\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-store\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"Store Analytics – Checkout\",\r\n \"title\": \"In-store Analytics – Checkout\",\r\n \"order\": 99,\r\n \"description\": \"Monitor and manage the checkout flow inside your store to improve efficiency and reduce wait times.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-video-analytics-om\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Video analytics - object and motion detection application template\",\r\n \"title\": \"Video analytics - object and motion detection\",\r\n \"order\": 99,\r\n \"description\": \"Use cameras as a sensor in intelligent video analytics solutions powered by Azure IoT Edge, AI, and Azure Media Services.\",\r\n \"industry\": \"Retail\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n },\r\n {\r\n \"manifestId\": \"iotc-waste\",\r\n \"manifestVersion\": \"1.0.0\",\r\n \"name\": \"IoT Central Connected Waste Management application template\",\r\n \"title\": \"Connected Waste Management\",\r\n \"order\": 99,\r\n \"description\": \"Maximize efficiency in the collection of solid wastes by dispatching field operators at the right time along an optimized collection route.\",\r\n \"industry\": \"Government\",\r\n \"locations\": [\r\n {\r\n \"id\": \"unitedstates\",\r\n \"displayName\": \"United States\"\r\n },\r\n {\r\n \"id\": \"europe\",\r\n \"displayName\": \"Europe\"\r\n },\r\n {\r\n \"id\": \"asiapacific\",\r\n \"displayName\": \"Asia Pacific\"\r\n },\r\n {\r\n \"id\": \"australia\",\r\n \"displayName\": \"Australia\"\r\n },\r\n {\r\n \"id\": \"uk\",\r\n \"displayName\": \"United Kingdom\"\r\n },\r\n {\r\n \"id\": \"japan\",\r\n \"displayName\": \"Japan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", "StatusCode": 200 } ], diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralCreateLifeCycle.json b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralCreateLifeCycle.json index d94ca887cbf4..e76a219c06c9 100644 --- a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralCreateLifeCycle.json +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralCreateLifeCycle.json @@ -7,13 +7,13 @@ "RequestBody": "{\r\n \"location\": \"EastUS\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "1e001580-e0d4-4342-89a9-c252a963ade2" + "04b7380f-94f4-4c3b-b4e1-4bab000c3005" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" @@ -33,16 +33,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1198" ], "x-ms-request-id": [ - "b317ab2c-980a-421e-a13b-3196939fad68" + "f86ff0df-bb5a-4550-9e8f-cba2710d2727" ], "x-ms-correlation-request-id": [ - "b317ab2c-980a-421e-a13b-3196939fad68" + "f86ff0df-bb5a-4550-9e8f-cba2710d2727" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010314Z:b317ab2c-980a-421e-a13b-3196939fad68" + "WESTCENTRALUS:20210204T050205Z:f86ff0df-bb5a-4550-9e8f-cba2710d2727" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Thu, 07 Jan 2021 01:03:14 GMT" + "Thu, 04 Feb 2021 05:02:05 GMT" ], "Content-Length": [ "209" @@ -64,25 +64,25 @@ ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG\",\r\n \"name\": \"DefaultDotNetSdkIotCentralRG\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", - "StatusCode": 200 + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkapp?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL0lvVEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcD9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkapp?api-version=2018-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcD9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"defaultdotnetsdkapp\",\r\n \"subdomain\": \"defaultdotnetsdksubdomain\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"location\": \"EastUS\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "c636d835-64c5-4da2-9516-27072326f5da" + "6910216d-123e-49c6-a88f-f8137cb694dd" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -96,16 +96,16 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "\"91019900-0000-0100-0000-5ff65dd40000\"" + "\"6b0196dc-0000-0100-0000-601b7fcf0000\"" ], "x-ms-request-id": [ - "b393f67f-d0e5-4037-b0a7-66642b4a504d" + "7b81447a-ecc7-4185-8520-57984e3a90a5" ], "x-iot-correlation": [ - "3qp1xn6w.0" + "6abfox69.0" ], "x-envoy-upstream-service-time": [ - "2730" + "2185" ], "X-Content-Type-Options": [ "nosniff" @@ -120,28 +120,28 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodcentralus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: 6959A0731A294769864A2E691B47CD13 Ref B: BY3EDGE0105 Ref C: 2021-01-07T01:03:15Z" + "Ref A: D4D1376BB87742639E87E27688BAE9F4 Ref B: CYS01EDGE0222 Ref C: 2021-02-04T05:02:07Z" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1198" ], "x-ms-correlation-request-id": [ - "835f451f-820f-4b37-b759-80a60ddfbcb8" + "d548a427-f243-4b8f-95ed-84630cc2cc9a" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010319Z:835f451f-820f-4b37-b759-80a60ddfbcb8" + "WESTCENTRALUS:20210204T050209Z:d548a427-f243-4b8f-95ed-84630cc2cc9a" ], "Date": [ - "Thu, 07 Jan 2021 01:03:18 GMT" + "Thu, 04 Feb 2021 05:02:09 GMT" ], "Content-Length": [ "718" @@ -150,20 +150,20 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkapp\",\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"7e3df468-f91c-4d76-b02c-b1f293adb1ce\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkapp\",\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\": \"defaultdotnetsdksubdomain\",\r\n \"createdDate\": \"2021-01-07T01:03:16.317Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"91019900-0000-0100-0000-5ff65dd40000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkapp\",\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"d92d1958-b4ae-4b81-be77-0433e451aafb\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkapp\",\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\": \"defaultdotnetsdksubdomain\",\r\n \"createdDate\": \"2021-02-04T05:02:07.943Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"6b0196dc-0000-0100-0000-601b7fcf0000\\\"\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkapp?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL0lvVEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcD9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkapp?api-version=2018-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcD9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ] }, "ResponseHeaders": { @@ -171,7 +171,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"91019900-0000-0100-0000-5ff65dd40000\"" + "W/\"6b0196dc-0000-0100-0000-601b7fcf0000\"" ], "Vary": [ "Accept-Encoding" @@ -180,13 +180,13 @@ "11999" ], "x-ms-request-id": [ - "115733d3-6cd6-47a6-9cbb-d0b33c526f7f" + "b1e1649f-17f9-4deb-81a1-2912ced287c8" ], "x-iot-correlation": [ - "zki3qzo.0" + "b0i9btw6.0" ], "x-envoy-upstream-service-time": [ - "77" + "68" ], "X-Content-Type-Options": [ "nosniff" @@ -201,25 +201,25 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodcentralus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: 0E8623215D5941FAB0A4CC72917E33E2 Ref B: BY3EDGE0105 Ref C: 2021-01-07T01:03:49Z" + "Ref A: F69DBC35CD224293BAF424B25ED873CD Ref B: CYS01EDGE0222 Ref C: 2021-02-04T05:02:39Z" ], "x-ms-correlation-request-id": [ - "68daccf4-a5db-49c0-a553-09013403c335" + "773d158d-58eb-4f29-a2c1-757b39c45c3c" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010349Z:68daccf4-a5db-49c0-a553-09013403c335" + "WESTCENTRALUS:20210204T050239Z:773d158d-58eb-4f29-a2c1-757b39c45c3c" ], "Date": [ - "Thu, 07 Jan 2021 01:03:48 GMT" + "Thu, 04 Feb 2021 05:02:39 GMT" ], "Content-Length": [ "718" @@ -228,7 +228,7 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkapp\",\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"7e3df468-f91c-4d76-b02c-b1f293adb1ce\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkapp\",\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\": \"defaultdotnetsdksubdomain\",\r\n \"createdDate\": \"2021-01-07T01:03:16.317Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"91019900-0000-0100-0000-5ff65dd40000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkapp\",\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"d92d1958-b4ae-4b81-be77-0433e451aafb\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkapp\",\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\": \"defaultdotnetsdksubdomain\",\r\n \"createdDate\": \"2021-02-04T05:02:07.943Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"6b0196dc-0000-0100-0000-601b7fcf0000\\\"\"\r\n}", "StatusCode": 200 }, { @@ -238,16 +238,16 @@ "RequestBody": "{\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"IoTApps\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "2c0ddde2-ba5e-4ddd-ad42-623dd8feb249" + "4c34e9cf-04a5-48d1-b6dc-a27c8edc84b4" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -264,13 +264,13 @@ "W/\"6b-Obxvouplxe0P3Of7PGeaPXdqcas\"" ], "x-ms-request-id": [ - "3858066b-ce9b-4bd0-a560-f8ae388497f8" + "d7966828-54d4-4d68-877b-8955caca910b" ], "x-iot-correlation": [ - "bdilpff8.0" + "300vol8z.0" ], "x-envoy-upstream-service-time": [ - "35" + "40" ], "X-Content-Type-Options": [ "nosniff" @@ -285,28 +285,28 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodcentralus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: 993F665439FC4CC7AC53F4AF70F83675 Ref B: BY3EDGE0105 Ref C: 2021-01-07T01:03:49Z" + "Ref A: 7C57E4A7C32C4B8B98B2946F4AE57686 Ref B: CYS01EDGE0222 Ref C: 2021-02-04T05:02:39Z" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "8416f8b1-cbc8-42ad-9511-548046675090" + "95266335-f93a-44d0-96b8-41dd6fff82a8" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010349Z:8416f8b1-cbc8-42ad-9511-548046675090" + "WESTCENTRALUS:20210204T050240Z:95266335-f93a-44d0-96b8-41dd6fff82a8" ], "Date": [ - "Thu, 07 Jan 2021 01:03:48 GMT" + "Thu, 04 Feb 2021 05:02:40 GMT" ], "Content-Length": [ "107" @@ -325,16 +325,16 @@ "RequestBody": "{\r\n \"name\": \"defaultdotnetsdksubdomain\",\r\n \"type\": \"IoTApps\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "77254046-c2a6-4eba-8521-05936333503b" + "e217f7ff-bf0d-4bfa-9f5f-7802886e0994" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -351,13 +351,13 @@ "W/\"67-MxuXaGtJH++NM0vnQQJ9VrpyYOs\"" ], "x-ms-request-id": [ - "2c0eb97c-652b-4c2c-a344-250e36eba928" + "fc8835c0-ff7a-4751-9305-49ee2de6eb89" ], "x-iot-correlation": [ - "bh0cxdpg.0" + "c6lpyei8.0" ], "x-envoy-upstream-service-time": [ - "54" + "44" ], "X-Content-Type-Options": [ "nosniff" @@ -372,28 +372,28 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodcentralus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: 9E8B231FEA554B8487DC793A7EF2A63C Ref B: BY3EDGE0105 Ref C: 2021-01-07T01:03:49Z" + "Ref A: 88D78C846D4140838E2ED42BDA7ECC74 Ref B: CYS01EDGE0222 Ref C: 2021-02-04T05:02:40Z" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "3cfd0324-f56e-4a30-ab43-f287696f5877" + "20338aa1-dc7f-448b-bbff-2d27e2123632" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010349Z:3cfd0324-f56e-4a30-ab43-f287696f5877" + "WESTCENTRALUS:20210204T050240Z:20338aa1-dc7f-448b-bbff-2d27e2123632" ], "Date": [ - "Thu, 07 Jan 2021 01:03:48 GMT" + "Thu, 04 Feb 2021 05:02:40 GMT" ], "Content-Length": [ "103" @@ -406,22 +406,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkapp?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL0lvVEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcD9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkapp?api-version=2018-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcD9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"displayName\": \"defaultdotnetsdkapp\",\r\n \"subdomain\": \"defaultdotnetsdksubdomain\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "2f3fd075-68f4-44c1-951d-96dfd51eb595" + "229fd9e0-59ef-4d38-8a9c-eb2054ee9105" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -435,22 +435,22 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"91019d00-0000-0100-0000-5ff65df60000\"" + "W/\"6b0136de-0000-0100-0000-601b7ff00000\"" ], "Vary": [ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1197" ], "x-ms-request-id": [ - "a4a23dbe-175b-41b8-9570-3b7471f40877" + "48f73a11-eafb-4e8b-96d9-c55d6a55c552" ], "x-iot-correlation": [ - "6ju6axkd.0" + "41lo86tp.0" ], "x-envoy-upstream-service-time": [ - "416" + "459" ], "X-Content-Type-Options": [ "nosniff" @@ -465,25 +465,25 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodcentralus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: F8C152CA9B3949B08E8586A8B395DBC3 Ref B: BY3EDGE0105 Ref C: 2021-01-07T01:03:50Z" + "Ref A: 02072358A95941C8B6A06AECF53D63E9 Ref B: CYS01EDGE0222 Ref C: 2021-02-04T05:02:40Z" ], "x-ms-correlation-request-id": [ - "904ad91b-3d07-48f0-8b10-40deb335691a" + "94008e7d-2c62-4704-91ca-85b644f90358" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010351Z:904ad91b-3d07-48f0-8b10-40deb335691a" + "WESTCENTRALUS:20210204T050241Z:94008e7d-2c62-4704-91ca-85b644f90358" ], "Date": [ - "Thu, 07 Jan 2021 01:03:51 GMT" + "Thu, 04 Feb 2021 05:02:41 GMT" ], "Content-Length": [ "790" @@ -492,26 +492,26 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkapp\",\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"7e3df468-f91c-4d76-b02c-b1f293adb1ce\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkapp\",\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\": \"defaultdotnetsdksubdomain\",\r\n \"createdDate\": \"2021-01-07T01:03:16.317Z\",\r\n \"lastUpdated\": \"2021-01-07T01:03:50.316Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"91019d00-0000-0100-0000-5ff65df60000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkapp\",\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"d92d1958-b4ae-4b81-be77-0433e451aafb\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkapp\",\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\": \"defaultdotnetsdksubdomain\",\r\n \"createdDate\": \"2021-02-04T05:02:07.943Z\",\r\n \"lastUpdated\": \"2021-02-04T05:02:40.908Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"6b0136de-0000-0100-0000-601b7ff00000\\\"\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/defaultdotnetsdkiotcentralrg/providers/Microsoft.IoTCentral/IoTApps?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHRkb3RuZXRzZGtpb3RjZW50cmFscmcvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL0lvVEFwcHM/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", + "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/defaultdotnetsdkiotcentralrg/providers/Microsoft.IoTCentral/iotApps?api-version=2018-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHRkb3RuZXRzZGtpb3RjZW50cmFscmcvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHM/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d5463839-a4d8-4e2d-bfaa-d08fe0c3efe3" + "6049c27b-5119-4bdf-9d59-7efd471b0a5f" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ] }, "ResponseHeaders": { @@ -519,7 +519,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"322-6OWzqYHUR4fjTrTC5lSolqZMV50\"" + "W/\"322-XzwpMcizkvfZjU8Mwn8j9qBfXw8\"" ], "Vary": [ "Accept-Encoding" @@ -528,13 +528,13 @@ "11998" ], "x-ms-request-id": [ - "2975e762-3419-47a7-9fc3-50f6db4bb769" + "1a63bc3a-fc80-46fe-aefb-28e2403b05d2" ], "x-iot-correlation": [ - "r2zhvoc.0" + "3ngw0y18.0" ], "x-envoy-upstream-service-time": [ - "37" + "40" ], "X-Content-Type-Options": [ "nosniff" @@ -549,25 +549,25 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodcentralus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: 210D4557FBD948B280782AE0A17DDB87 Ref B: BY3EDGE0105 Ref C: 2021-01-07T01:03:51Z" + "Ref A: 2054C0AA80E049939E39CF982C9AAC3B Ref B: CYS01EDGE0222 Ref C: 2021-02-04T05:02:41Z" ], "x-ms-correlation-request-id": [ - "7c901566-19e5-4777-9dd9-58bc76e67258" + "8c485cee-ca9d-48de-955a-da6c18d13316" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010351Z:7c901566-19e5-4777-9dd9-58bc76e67258" + "WESTCENTRALUS:20210204T050241Z:8c485cee-ca9d-48de-955a-da6c18d13316" ], "Date": [ - "Thu, 07 Jan 2021 01:03:51 GMT" + "Thu, 04 Feb 2021 05:02:41 GMT" ], "Content-Length": [ "802" @@ -576,26 +576,26 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkapp\",\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"7e3df468-f91c-4d76-b02c-b1f293adb1ce\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkapp\",\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\": \"defaultdotnetsdksubdomain\",\r\n \"createdDate\": \"2021-01-07T01:03:16.317Z\",\r\n \"lastUpdated\": \"2021-01-07T01:03:50.316Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"91019d00-0000-0100-0000-5ff65df60000\\\"\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkapp\",\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"d92d1958-b4ae-4b81-be77-0433e451aafb\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkapp\",\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\": \"defaultdotnetsdksubdomain\",\r\n \"createdDate\": \"2021-02-04T05:02:07.943Z\",\r\n \"lastUpdated\": \"2021-02-04T05:02:40.908Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"6b0136de-0000-0100-0000-601b7ff00000\\\"\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/providers/Microsoft.IoTCentral/IoTApps?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Byb3ZpZGVycy9NaWNyb3NvZnQuSW9UQ2VudHJhbC9Jb1RBcHBzP2FwaS12ZXJzaW9uPTIwMTgtMDktMDE=", + "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/providers/Microsoft.IoTCentral/iotApps?api-version=2018-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Byb3ZpZGVycy9NaWNyb3NvZnQuSW9UQ2VudHJhbC9pb3RBcHBzP2FwaS12ZXJzaW9uPTIwMTgtMDktMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d12221e2-dcec-4036-959d-02937a2f7c7f" + "6ccc4a00-ab90-4de9-b99f-fee037dde3df" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ] }, "ResponseHeaders": { @@ -603,7 +603,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"13b1-rTv02qZi2nDqprgTIMiVCizNBXU\"" + "W/\"e1d-ygP2sYoCH3OfrBcndfEuJpS65r4\"" ], "Vary": [ "Accept-Encoding" @@ -612,10 +612,10 @@ "11997" ], "x-ms-request-id": [ - "0e805b0c-ac2c-41f7-bad5-ae1b4e51b67a" + "6fc3c7e9-630e-47d8-9884-b039e8932610" ], "x-iot-correlation": [ - "71ijxain.0" + "9z3s25lg.0" ], "x-envoy-upstream-service-time": [ "40" @@ -633,118 +633,34 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" - ], - "X-IoT-Cluster": [ - "iotcprodwestus02" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-MSEdge-Ref": [ - "Ref A: F432B71601F44196B32FD125E80A2C0F Ref B: BY3EDGE0105 Ref C: 2021-01-07T01:03:51Z" - ], - "x-ms-correlation-request-id": [ - "04695c83-bf33-48f1-8657-37a3bcffceda" - ], - "x-ms-routing-request-id": [ - "WESTUS:20210107T010351Z:04695c83-bf33-48f1-8657-37a3bcffceda" - ], - "Date": [ - "Thu, 07 Jan 2021 01:03:51 GMT" - ], - "Content-Length": [ - "5041" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkapp\",\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"7e3df468-f91c-4d76-b02c-b1f293adb1ce\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkapp\",\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\": \"defaultdotnetsdksubdomain\",\r\n \"createdDate\": \"2021-01-07T01:03:16.317Z\",\r\n \"lastUpdated\": \"2021-01-07T01:03:50.316Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"91019d00-0000-0100-0000-5ff65df60000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourcegroups/IOTC/providers/Microsoft.IoTCentral/IoTApps/poanchen\",\r\n \"name\": \"poanchen\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"unitedstates\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"4414372a-16a7-4dec-a722-9457e77219d6\",\r\n \"state\": \"created\",\r\n \"displayName\": \"poanchen\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"poanchen\",\r\n \"createdDate\": \"2020-06-17T21:41:36.064Z\",\r\n \"geography\": \"unitedstates\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST0\"\r\n },\r\n \"etag\": \"\\\"03008974-0000-0100-0000-5fc85b890000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/sometestresourcegroup/providers/Microsoft.IoTCentral/IoTApps/testshoebox\",\r\n \"name\": \"testshoebox\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"unitedstates\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"0949c74c-ce4b-48ba-a3c4-611d4ba06832\",\r\n \"state\": \"created\",\r\n \"displayName\": \"testshoebox\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"testshoebox\",\r\n \"createdDate\": \"2020-05-29T17:41:43.785Z\",\r\n \"geography\": \"unitedstates\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"0500b546-0000-0100-0000-5f08b91a0000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/IOTC/providers/Microsoft.IoTCentral/IoTApps/some-app-name\",\r\n \"name\": \"some-app-name\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"unitedstates\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"f4839917-9bbb-4d8c-83d1-2eaffc797a71\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Ruby SDK Application\",\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\": \"some-app-name\",\r\n \"createdDate\": \"2021-01-05T10:24:51.474Z\",\r\n \"geography\": \"unitedstates\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"39006ac1-0000-0100-0000-5ff43e730000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourcegroups/sometestresourcegroup/providers/Microsoft.IoTCentral/IoTApps/testmetrics\",\r\n \"name\": \"testmetrics\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"applicationId\": \"f273a175-68cc-4bd8-b43b-2f7516998154\",\r\n \"displayName\": \"testmetrics\",\r\n \"subdomain\": \"testmetrics\",\r\n \"createdDate\": \"2020-10-24T00:10:07.592Z\",\r\n \"state\": \"created\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"quota\": {},\r\n \"capabilities\": {\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true,\r\n \"non-wrapped-properties\": true\r\n },\r\n \"thumbnailUrl\": \"589e2e38-27de-4421-a913-aea774a558ed\",\r\n \"template\": \"iotc-video-analytics-om@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"89006e8a-0000-0100-0000-5fd12b6a0000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourcegroups/IOTC/providers/Microsoft.IoTCentral/IoTApps/baron-and-alice-home\",\r\n \"name\": \"baron-and-alice-home\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"unitedstates\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"8cb82338-9e9a-4a91-98c9-cd4991692025\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Baron and Alice home\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"baron-and-alice-home\",\r\n \"createdDate\": \"2020-04-29T02:41:05.861Z\",\r\n \"geography\": \"unitedstates\",\r\n \"thumbnailUrl\": \"3b386a96-c81d-4775-9b12-4410e7159408\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"14045d30-0000-0100-0000-5fce9d3a0000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/IOTC/providers/Microsoft.IoTCentral/IoTApps/test21353\",\r\n \"name\": \"test21353\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"unitedstates\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"dc1bb7f2-9854-4979-9512-644da6dc36a6\",\r\n \"state\": \"created\",\r\n \"displayName\": \"test21353\",\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\": \"test21353\",\r\n \"createdDate\": \"2021-01-06T20:07:44.02Z\",\r\n \"geography\": \"unitedstates\",\r\n \"lastUpdated\": \"2021-01-06T20:10:54.791Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"8701b637-0000-0100-0000-5ff6194e0000\\\"\"\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/providers/Microsoft.IoTCentral/operations?api-version=2018-09-01", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW9UQ2VudHJhbC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTgtMDktMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "05f6a944-763c-459b-a02f-3d039e58fbc1" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.29321.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" - ], - "ETag": [ - "W/\"17b2-K7Lc6HLx4v0sJ9rJI0TtjYykCvA\"" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-ratelimit-remaining-tenant-reads": [ - "11999" - ], - "x-ms-request-id": [ - "91aaffcc-e077-440b-8d47-ff25a10007b7" - ], - "x-iot-correlation": [ - "7rx7i2dk.0" - ], - "x-envoy-upstream-service-time": [ - "4" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Download-Options": [ - "noopen" - ], - "X-Frame-Options": [ - "deny" - ], - "X-XSS-Protection": [ - "1; mode=block" - ], - "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ - "iotcprodwestus02" + "iotcprodcentralus01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: B48E06CC7A1447BAB5F0930DBC419A3E Ref B: BY3EDGE0105 Ref C: 2021-01-07T01:03:51Z" + "Ref A: 00569BF37A2C441FBD2CCFEE4EDFFF7D Ref B: CYS01EDGE0222 Ref C: 2021-02-04T05:02:41Z" ], "x-ms-correlation-request-id": [ - "e936c583-c3ee-4d11-86f5-fd81d6255a32" + "a1d45930-a69b-41dc-9ccc-c8a7c235fc41" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010351Z:e936c583-c3ee-4d11-86f5-fd81d6255a32" + "WESTCENTRALUS:20210204T050241Z:a1d45930-a69b-41dc-9ccc-c8a7c235fc41" ], "Date": [ - "Thu, 07 Jan 2021 01:03:51 GMT" + "Thu, 04 Feb 2021 05:02:41 GMT" ], "Content-Length": [ - "6066" + "3613" ], "Content-Type": [ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/read\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Get IoT Central Application\",\r\n \"description\": \"Gets a single IoT Central Application\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/write\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Create or Update IoT Central Application\",\r\n \"description\": \"Creates or Updates an IoT Central Applications\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/delete\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Delete IoT Central Application\",\r\n \"description\": \"Deletes an IoT Central Applications\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/checkNameAvailability/action\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"\",\r\n \"operation\": \"Check resource name availability\",\r\n \"description\": \"Checks if an IoT Central Application name is available\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/checkSubdomainAvailability/action\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"\",\r\n \"operation\": \"Check resource subdomain availability\",\r\n \"description\": \"Checks if an IoT Central Application subdomain is available\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/operations/read\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"\",\r\n \"operation\": \"Get all the available operations\",\r\n \"description\": \"Gets all the available operations on IoT Central Applications\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/appTemplates/action\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"Azure IoT Central Resource Provider\",\r\n \"operation\": \"Get all available application templates\",\r\n \"description\": \"Gets all the available application templates on Azure IoT Central\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/register/action\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"Azure IoT Central Resource Provider\",\r\n \"operation\": \"Register Azure IoT Central resource provider\",\r\n \"description\": \"Register the subscription for Azure IoT Central resource provider\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/providers/Microsoft.Insights/metricDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Get all available Metrics definitions\",\r\n \"description\": \"Gets all the available Metrics definitions on Azure IoT Central\"\r\n },\r\n \"origin\": \"system\",\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"metricSpecifications\": [\r\n {\r\n \"name\": \"connectedDeviceCount\",\r\n \"displayName\": \"Total Connected Devices\",\r\n \"displayDescription\": \"Number of devices connected to IoT Central\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Average\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ],\r\n \"lockAggregationType\": \"Total\"\r\n },\r\n {\r\n \"name\": \"c2d.property.read.success\",\r\n \"displayName\": \"Successful Device Property Reads from IoT Central\",\r\n \"displayDescription\": \"The count of all successful property reads initiated from IoT Central\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"c2d.property.read.failure\",\r\n \"displayName\": \"Failed Device Property Reads from IoT Central\",\r\n \"displayDescription\": \"The count of all failed property reads initiated from IoT Central\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"d2c.property.read.success\",\r\n \"displayName\": \"Successful Device Property Reads from Devices\",\r\n \"displayDescription\": \"The count of all successful property reads initiated from devices\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"d2c.property.read.failure\",\r\n \"displayName\": \"Failed Device Property Reads from Devices\",\r\n \"displayDescription\": \"The count of all failed property reads initiated from devices\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"c2d.property.update.success\",\r\n \"displayName\": \"Successful Device Property Updates from IoT Central\",\r\n \"displayDescription\": \"The count of all successful property updates initiated from IoT Central\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"c2d.property.update.failure\",\r\n \"displayName\": \"Failed Device Property Updates from IoT Central\",\r\n \"displayDescription\": \"The count of all failed property updates initiated from IoT Central\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"d2c.property.update.success\",\r\n \"displayName\": \"Successful Device Property Updates from Devices\",\r\n \"displayDescription\": \"The count of all successful property updates initiated from devices\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"d2c.property.update.failure\",\r\n \"displayName\": \"Failed Device Property Updates from Devices\",\r\n \"displayDescription\": \"The count of all failed property updates initiated from devices\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/providers/Microsoft.Insights/diagnosticSettings/read\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Read diagnostic setting\",\r\n \"description\": \"Gets the diagnostic setting for the resource\"\r\n },\r\n \"origin\": \"system\"\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/providers/Microsoft.Insights/diagnosticSettings/write\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Write diagnostic setting\",\r\n \"description\": \"Creates or updates the diagnostic setting for the resource\"\r\n },\r\n \"origin\": \"system\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourcegroups/IOTC/providers/Microsoft.IoTCentral/IoTApps/poanchen\",\r\n \"name\": \"poanchen\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"unitedstates\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"4414372a-16a7-4dec-a722-9457e77219d6\",\r\n \"state\": \"created\",\r\n \"displayName\": \"poanchen\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"poanchen\",\r\n \"createdDate\": \"2020-06-17T21:41:36.064Z\",\r\n \"geography\": \"unitedstates\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST0\"\r\n },\r\n \"etag\": \"\\\"0100607b-0000-0100-0000-60065f2b0000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourcegroups/IOTC/providers/Microsoft.IoTCentral/IoTApps/baron-and-alice-home\",\r\n \"name\": \"baron-and-alice-home\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"unitedstates\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"8cb82338-9e9a-4a91-98c9-cd4991692025\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Baron and Alice home\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"baron-and-alice-home\",\r\n \"createdDate\": \"2020-04-29T02:41:05.861Z\",\r\n \"geography\": \"unitedstates\",\r\n \"thumbnailUrl\": \"3b386a96-c81d-4775-9b12-4410e7159408\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"14045d30-0000-0100-0000-5fce9d3a0000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourcegroups/sometestresourcegroup/providers/Microsoft.IoTCentral/IoTApps/testmetrics\",\r\n \"name\": \"testmetrics\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"applicationId\": \"f273a175-68cc-4bd8-b43b-2f7516998154\",\r\n \"displayName\": \"testmetrics\",\r\n \"subdomain\": \"testmetrics\",\r\n \"createdDate\": \"2020-10-24T00:10:07.592Z\",\r\n \"state\": \"created\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"quota\": {},\r\n \"capabilities\": {\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true,\r\n \"non-wrapped-properties\": true\r\n },\r\n \"thumbnailUrl\": \"589e2e38-27de-4421-a913-aea774a558ed\",\r\n \"template\": \"iotc-video-analytics-om@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"89006e8a-0000-0100-0000-5fd12b6a0000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/sometestresourcegroup/providers/Microsoft.IoTCentral/IoTApps/testshoebox\",\r\n \"name\": \"testshoebox\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"unitedstates\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"0949c74c-ce4b-48ba-a3c4-611d4ba06832\",\r\n \"state\": \"created\",\r\n \"displayName\": \"testshoebox\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {\r\n \"pnp-preview\": true,\r\n \"asa-stamp\": true,\r\n \"default\": true\r\n },\r\n \"subdomain\": \"testshoebox\",\r\n \"createdDate\": \"2020-05-29T17:41:43.785Z\",\r\n \"geography\": \"unitedstates\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"0500b546-0000-0100-0000-5f08b91a0000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRG/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkapp\",\r\n \"name\": \"defaultdotnetsdkapp\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"d92d1958-b4ae-4b81-be77-0433e451aafb\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkapp\",\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\": \"defaultdotnetsdksubdomain\",\r\n \"createdDate\": \"2021-02-04T05:02:07.943Z\",\r\n \"lastUpdated\": \"2021-02-04T05:02:40.908Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"6b0136de-0000-0100-0000-601b7ff00000\\\"\"\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralOperationsApi.json b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralOperationsApi.json new file mode 100644 index 000000000000..b3b6228debb0 --- /dev/null +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralOperationsApi.json @@ -0,0 +1,92 @@ +{ + "Entries": [ + { + "RequestUri": "/providers/Microsoft.IoTCentral/operations?api-version=2018-09-01", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW9UQ2VudHJhbC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTgtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "53491eed-4b58-44fc-a0f2-9e74484e7dc0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" + ], + "ETag": [ + "W/\"22b8-KcaRs29KlT4WtsBu8cudLZHmwLM\"" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11999" + ], + "x-ms-request-id": [ + "97667743-8f43-4790-bef3-0a2b198d207b" + ], + "x-iot-correlation": [ + "48wwmnzk.0" + ], + "x-envoy-upstream-service-time": [ + "9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Download-Options": [ + "noopen" + ], + "X-Frame-Options": [ + "deny" + ], + "X-XSS-Protection": [ + "1; mode=block" + ], + "X-IoT-Version": [ + "020221.0002-master" + ], + "X-IoT-Cluster": [ + "iotcprodcentralus01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-MSEdge-Ref": [ + "Ref A: 4A0804537A1E4869A696C0992134B74D Ref B: CYS01EDGE0215 Ref C: 2021-02-04T05:02:03Z" + ], + "x-ms-correlation-request-id": [ + "01cb43a9-0f95-453d-bc78-2b328b152529" + ], + "x-ms-routing-request-id": [ + "WESTCENTRALUS:20210204T050203Z:01cb43a9-0f95-453d-bc78-2b328b152529" + ], + "Date": [ + "Thu, 04 Feb 2021 05:02:03 GMT" + ], + "Content-Length": [ + "8888" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/read\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Get IoT Central Application\",\r\n \"description\": \"Gets a single IoT Central Application\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/write\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Create or Update IoT Central Application\",\r\n \"description\": \"Creates or Updates an IoT Central Applications\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/delete\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Delete IoT Central Application\",\r\n \"description\": \"Deletes an IoT Central Applications\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/checkNameAvailability/action\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"\",\r\n \"operation\": \"Check resource name availability\",\r\n \"description\": \"Checks if an IoT Central Application name is available\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/checkSubdomainAvailability/action\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"\",\r\n \"operation\": \"Check resource subdomain availability\",\r\n \"description\": \"Checks if an IoT Central Application subdomain is available\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/operations/read\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"\",\r\n \"operation\": \"Get all the available operations\",\r\n \"description\": \"Gets all the available operations on IoT Central Applications\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/appTemplates/action\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"Azure IoT Central Resource Provider\",\r\n \"operation\": \"Get all available application templates\",\r\n \"description\": \"Gets all the available application templates on Azure IoT Central\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/register/action\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"Azure IoT Central Resource Provider\",\r\n \"operation\": \"Register Azure IoT Central resource provider\",\r\n \"description\": \"Register the subscription for Azure IoT Central resource provider\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/providers/Microsoft.Insights/metricDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Get all available Metrics definitions\",\r\n \"description\": \"Gets all the available Metrics definitions on Azure IoT Central\"\r\n },\r\n \"origin\": \"system\",\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"metricSpecifications\": [\r\n {\r\n \"name\": \"connectedDeviceCount\",\r\n \"displayName\": \"Total Connected Devices\",\r\n \"displayDescription\": \"Number of devices connected to IoT Central\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Average\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ],\r\n \"lockAggregationType\": \"Total\"\r\n },\r\n {\r\n \"name\": \"c2d.property.read.success\",\r\n \"displayName\": \"Successful Device Property Reads from IoT Central\",\r\n \"displayDescription\": \"The count of all successful property reads initiated from IoT Central\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"c2d.property.read.failure\",\r\n \"displayName\": \"Failed Device Property Reads from IoT Central\",\r\n \"displayDescription\": \"The count of all failed property reads initiated from IoT Central\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"d2c.property.read.success\",\r\n \"displayName\": \"Successful Device Property Reads from Devices\",\r\n \"displayDescription\": \"The count of all successful property reads initiated from devices\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"d2c.property.read.failure\",\r\n \"displayName\": \"Failed Device Property Reads from Devices\",\r\n \"displayDescription\": \"The count of all failed property reads initiated from devices\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"c2d.property.update.success\",\r\n \"displayName\": \"Successful Device Property Updates from IoT Central\",\r\n \"displayDescription\": \"The count of all successful property updates initiated from IoT Central\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"c2d.property.update.failure\",\r\n \"displayName\": \"Failed Device Property Updates from IoT Central\",\r\n \"displayDescription\": \"The count of all failed property updates initiated from IoT Central\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"d2c.property.update.success\",\r\n \"displayName\": \"Successful Device Property Updates from Devices\",\r\n \"displayDescription\": \"The count of all successful property updates initiated from devices\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"d2c.property.update.failure\",\r\n \"displayName\": \"Failed Device Property Updates from Devices\",\r\n \"displayDescription\": \"The count of all failed property updates initiated from devices\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ]\r\n },\r\n {\r\n \"name\": \"dataExport.messages.received\",\r\n \"displayName\": \"Data Export Messages Received\",\r\n \"displayDescription\": \"Number of messages incoming to data export, before filtering and enrichment processing\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"exportId\",\r\n \"displayName\": \"Export Id\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"exportDisplayName\",\r\n \"displayName\": \"Export Display Name\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"destinationId\",\r\n \"displayName\": \"Destination Id\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"destinationDisplayName\",\r\n \"displayName\": \"Destination Display Name\",\r\n \"toBeExportedForShoebox\": true\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"dataExport.messages.filtered\",\r\n \"displayName\": \"Data Export Messages Filtered\",\r\n \"displayDescription\": \"Number of messages that have passed through filters in data export\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"exportId\",\r\n \"displayName\": \"Export Id\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"exportDisplayName\",\r\n \"displayName\": \"Export Display Name\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"destinationId\",\r\n \"displayName\": \"Destination Id\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"destinationDisplayName\",\r\n \"displayName\": \"Destination Display Name\",\r\n \"toBeExportedForShoebox\": true\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"dataExport.messages.written\",\r\n \"displayName\": \"Data Export Messages Written\",\r\n \"displayDescription\": \"Number of messages written to a destination\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"exportId\",\r\n \"displayName\": \"Export Id\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"exportDisplayName\",\r\n \"displayName\": \"Export Display Name\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"destinationId\",\r\n \"displayName\": \"Destination Id\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"destinationDisplayName\",\r\n \"displayName\": \"Destination Display Name\",\r\n \"toBeExportedForShoebox\": true\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"dataExport.error\",\r\n \"displayName\": \"Data Export Errors\",\r\n \"displayDescription\": \"Number of errors encountered for data export\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT15M\",\r\n \"PT30M\",\r\n \"PT1H\",\r\n \"PT6H\",\r\n \"PT12H\",\r\n \"P1D\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"exportId\",\r\n \"displayName\": \"Export Id\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"exportDisplayName\",\r\n \"displayName\": \"Export Display Name\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"destinationId\",\r\n \"displayName\": \"Destination Id\",\r\n \"toBeExportedForShoebox\": true\r\n },\r\n {\r\n \"name\": \"destinationDisplayName\",\r\n \"displayName\": \"Destination Display Name\",\r\n \"toBeExportedForShoebox\": true\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/providers/Microsoft.Insights/diagnosticSettings/read\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Read diagnostic setting\",\r\n \"description\": \"Gets the diagnostic setting for the resource\"\r\n },\r\n \"origin\": \"system\"\r\n },\r\n {\r\n \"name\": \"Microsoft.IoTCentral/IoTApps/providers/Microsoft.Insights/diagnosticSettings/write\",\r\n \"display\": {\r\n \"provider\": \"Azure IoT Central\",\r\n \"resource\": \"IoTApps\",\r\n \"operation\": \"Write diagnostic setting\",\r\n \"description\": \"Creates or updates the diagnostic setting for the resource\"\r\n },\r\n \"origin\": \"system\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b" + } +} \ No newline at end of file diff --git a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralUpdateLifeCycle.json b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralUpdateLifeCycle.json index 5d10dd7846bc..c929ad7ce77a 100644 --- a/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralUpdateLifeCycle.json +++ b/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/tests/SessionRecords/IotCentralLifeCycleTests/TestIotCentralUpdateLifeCycle.json @@ -7,13 +7,13 @@ "RequestBody": "{\r\n \"location\": \"EastUS\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "7271ab17-3502-4243-8625-1c03392553f1" + "a346d83c-afe3-443a-a798-967f65798a31" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "fe3a4637-44e1-49f9-a3c7-f4f8136e69c1" + "0f9ac8da-78c7-4879-9c79-372550773e88" ], "x-ms-correlation-request-id": [ - "fe3a4637-44e1-49f9-a3c7-f4f8136e69c1" + "0f9ac8da-78c7-4879-9c79-372550773e88" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010307Z:fe3a4637-44e1-49f9-a3c7-f4f8136e69c1" + "WESTUS:20210204T050123Z:0f9ac8da-78c7-4879-9c79-372550773e88" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Thu, 07 Jan 2021 01:03:07 GMT" + "Thu, 04 Feb 2021 05:01:22 GMT" ], "Content-Length": [ "221" @@ -64,25 +64,25 @@ ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate\",\r\n \"name\": \"DefaultDotNetSdkIotCentralRGUpdate\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", - "StatusCode": 200 + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkappupdate?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkdVcGRhdGUvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL0lvVEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcHVwZGF0ZT9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkappupdate?api-version=2018-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkdVcGRhdGUvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcHVwZGF0ZT9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"defaultdotnetsdkappupdate\",\r\n \"subdomain\": \"defaultdotnetsdksubdomainupdate\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"location\": \"EastUS\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "9a29d0d4-898c-418a-88d9-5a2224f0e5db" + "ae32981b-4a93-46f8-b9eb-fee669d40dfd" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -96,22 +96,97 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"a600298e-0000-0100-0000-5ff65da90000\"" + "\"2501ce86-0000-0100-0000-601b7fa50000\"" ], - "Vary": [ - "Accept-Encoding" + "x-ms-request-id": [ + "7a2ca9bd-0b10-45af-b3fe-2935d23e9b91" + ], + "x-iot-correlation": [ + "12eqq35f.0" + ], + "x-envoy-upstream-service-time": [ + "3208" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Download-Options": [ + "noopen" + ], + "X-Frame-Options": [ + "deny" + ], + "X-XSS-Protection": [ + "1; mode=block" + ], + "X-IoT-Version": [ + "020221.0002-master" + ], + "X-IoT-Cluster": [ + "iotcprodwestus02" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-MSEdge-Ref": [ + "Ref A: D254D79B29AD48F4AC9806F825D3B56B Ref B: BY3EDGE0312 Ref C: 2021-02-04T05:01:24Z" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ + "03c87160-d3dc-4f8e-9304-1859efb30cf8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20210204T050128Z:03c87160-d3dc-4f8e-9304-1859efb30cf8" + ], + "Date": [ + "Thu, 04 Feb 2021 05:01:27 GMT" + ], + "Content-Length": [ + "748" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkappupdate\",\r\n \"name\": \"defaultdotnetsdkappupdate\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"f36735e3-3afc-4c6b-8d74-2953476d3956\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkappupdate\",\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\": \"defaultdotnetsdksubdomainupdate\",\r\n \"createdDate\": \"2021-02-04T05:01:25.805Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"2501ce86-0000-0100-0000-601b7fa50000\\\"\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkappupdate?api-version=2018-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkdVcGRhdGUvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcHVwZGF0ZT9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" + ], + "ETag": [ + "W/\"2501ce86-0000-0100-0000-601b7fa50000\"" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], "x-ms-request-id": [ - "21bd0971-1bfd-4aa9-986b-b065b8598737" + "9612198a-8561-418c-89a5-3f7f19fb6a6a" ], "x-iot-correlation": [ - "2c46e7oc.0" + "96vh7y8r.0" ], "x-envoy-upstream-service-time": [ - "54" + "78" ], "X-Content-Type-Options": [ "nosniff" @@ -126,7 +201,7 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ "iotcprodwestus02" @@ -135,16 +210,16 @@ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: 778EA50C41ED43CE96776CC92AB1BD4B Ref B: BY3EDGE0420 Ref C: 2021-01-07T01:03:08Z" + "Ref A: DD745D60813B443C8D66FE4B8EC6111E Ref B: BY3EDGE0312 Ref C: 2021-02-04T05:01:58Z" ], "x-ms-correlation-request-id": [ - "960625fb-a9f4-4592-b4cd-41dbb8fb94dc" + "cd55858e-343f-45fa-b983-c2fcdf1237db" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010308Z:960625fb-a9f4-4592-b4cd-41dbb8fb94dc" + "WESTUS:20210204T050159Z:cd55858e-343f-45fa-b983-c2fcdf1237db" ], "Date": [ - "Thu, 07 Jan 2021 01:03:07 GMT" + "Thu, 04 Feb 2021 05:01:58 GMT" ], "Content-Length": [ "748" @@ -153,7 +228,7 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkappupdate\",\r\n \"name\": \"defaultdotnetsdkappupdate\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"0ee78475-e18f-4443-8304-5b677ebd3498\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkappupdate\",\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\": \"defaultdotnetsdksubdomainupdate\",\r\n \"createdDate\": \"2021-01-07T01:02:33.654Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"a600298e-0000-0100-0000-5ff65da90000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkappupdate\",\r\n \"name\": \"defaultdotnetsdkappupdate\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"f36735e3-3afc-4c6b-8d74-2953476d3956\",\r\n \"state\": \"created\",\r\n \"displayName\": \"defaultdotnetsdkappupdate\",\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\": \"defaultdotnetsdksubdomainupdate\",\r\n \"createdDate\": \"2021-02-04T05:01:25.805Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST1\"\r\n },\r\n \"etag\": \"\\\"2501ce86-0000-0100-0000-601b7fa50000\\\"\"\r\n}", "StatusCode": 200 }, { @@ -163,16 +238,16 @@ "RequestBody": "{\r\n \"name\": \"defaultdotnetsdkappupdate\",\r\n \"type\": \"IoTApps\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "7a32fbbf-e366-4361-b7ea-f7198316d8cf" + "5daeea62-d166-4309-a809-a10ff294280e" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,13 +264,13 @@ "W/\"6b-Obxvouplxe0P3Of7PGeaPXdqcas\"" ], "x-ms-request-id": [ - "8f678c9e-c376-4057-ad40-319f4c7f820b" + "52985bc7-df30-49f4-9a1f-0cc2d10cd584" ], "x-iot-correlation": [ - "86y9cm9t.0" + "8z3mowoe.0" ], "x-envoy-upstream-service-time": [ - "88" + "43" ], "X-Content-Type-Options": [ "nosniff" @@ -210,7 +285,7 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ "iotcprodwestus02" @@ -219,19 +294,19 @@ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: 0E59F6B775154705975EC24CBCF3D6C6 Ref B: BY3EDGE0420 Ref C: 2021-01-07T01:03:08Z" + "Ref A: 6E5E0D3C40CB478183C87D78200E1607 Ref B: BY3EDGE0312 Ref C: 2021-02-04T05:01:59Z" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "6219ddb0-3559-4c63-96ee-45d1db9ecc80" + "cbb4f520-b2d4-4178-9428-6fb6041651c4" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010308Z:6219ddb0-3559-4c63-96ee-45d1db9ecc80" + "WESTUS:20210204T050159Z:cbb4f520-b2d4-4178-9428-6fb6041651c4" ], "Date": [ - "Thu, 07 Jan 2021 01:03:07 GMT" + "Thu, 04 Feb 2021 05:01:58 GMT" ], "Content-Length": [ "107" @@ -250,16 +325,16 @@ "RequestBody": "{\r\n \"name\": \"defaultdotnetsdksubdomainupdate\",\r\n \"type\": \"IoTApps\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "315abdae-c027-4929-8145-53f41ccd6a32" + "b890a490-9385-4df4-b559-57b6767cff82" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -276,13 +351,13 @@ "W/\"67-MxuXaGtJH++NM0vnQQJ9VrpyYOs\"" ], "x-ms-request-id": [ - "55c94c34-ad19-4436-a8c6-d8e339163c3c" + "9ed70b0d-c4db-4f15-9dbf-15425c5364bf" ], "x-iot-correlation": [ - "zycgaqm.0" + "6yhcs4zq.0" ], "x-envoy-upstream-service-time": [ - "40" + "43" ], "X-Content-Type-Options": [ "nosniff" @@ -297,7 +372,7 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ "iotcprodwestus02" @@ -306,19 +381,19 @@ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: 0B8B7F1C65E84747BDAE98AFF9AF6B61 Ref B: BY3EDGE0420 Ref C: 2021-01-07T01:03:08Z" + "Ref A: 12C9F67420234220837264A39B1BAAD6 Ref B: BY3EDGE0312 Ref C: 2021-02-04T05:01:59Z" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "e031891d-8845-4ddd-8149-443647d49a8e" + "ad83020d-a828-4def-87be-a8689d4e945b" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010308Z:e031891d-8845-4ddd-8149-443647d49a8e" + "WESTUS:20210204T050159Z:ad83020d-a828-4def-87be-a8689d4e945b" ], "Date": [ - "Thu, 07 Jan 2021 01:03:07 GMT" + "Thu, 04 Feb 2021 05:01:58 GMT" ], "Content-Length": [ "103" @@ -331,22 +406,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkappupdate?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkdVcGRhdGUvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL0lvVEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcHVwZGF0ZT9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", + "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkappupdate?api-version=2018-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkdVcGRhdGUvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHMvZGVmYXVsdGRvdG5ldHNka2FwcHVwZGF0ZT9hcGktdmVyc2lvbj0yMDE4LTA5LTAx", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"properties\": {\r\n \"displayName\": \"test-updated-display-name\",\r\n \"subdomain\": \"test-updated-sub-domain\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "31d4a9be-9500-4919-975c-e70838833c6f" + "b48caacb-e77e-4478-9403-3004466494cd" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -360,7 +435,7 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"a600338e-0000-0100-0000-5ff65dcd0000\"" + "W/\"2501d387-0000-0100-0000-601b7fc80000\"" ], "Vary": [ "Accept-Encoding" @@ -369,13 +444,13 @@ "1198" ], "x-ms-request-id": [ - "3d376de1-499a-43f1-8518-17a0315fc0b0" + "dbc24716-8d9e-4074-99c6-714270ac82e3" ], "x-iot-correlation": [ - "5e0m5enb.0" + "7mxib7gd.0" ], "x-envoy-upstream-service-time": [ - "627" + "598" ], "X-Content-Type-Options": [ "nosniff" @@ -390,7 +465,7 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ "iotcprodwestus02" @@ -399,16 +474,16 @@ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: 26646695C77645BD85F1CC90775B4850 Ref B: BY3EDGE0420 Ref C: 2021-01-07T01:03:08Z" + "Ref A: 1D8AF6CF59C34F66A6E58C48764DD43B Ref B: BY3EDGE0312 Ref C: 2021-02-04T05:01:59Z" ], "x-ms-correlation-request-id": [ - "d8aeacc4-652e-4edb-ab53-79aa817be729" + "8aa557b9-3668-4718-b9fa-4c12191e2472" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010310Z:d8aeacc4-652e-4edb-ab53-79aa817be729" + "WESTUS:20210204T050200Z:8aa557b9-3668-4718-b9fa-4c12191e2472" ], "Date": [ - "Thu, 07 Jan 2021 01:03:09 GMT" + "Thu, 04 Feb 2021 05:01:59 GMT" ], "Content-Length": [ "812" @@ -417,26 +492,26 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkappupdate\",\r\n \"name\": \"defaultdotnetsdkappupdate\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"0ee78475-e18f-4443-8304-5b677ebd3498\",\r\n \"state\": \"created\",\r\n \"displayName\": \"test-updated-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\": \"test-updated-sub-domain\",\r\n \"createdDate\": \"2021-01-07T01:02:33.654Z\",\r\n \"lastUpdated\": \"2021-01-07T01:03:09.208Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"a600338e-0000-0100-0000-5ff65dcd0000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkappupdate\",\r\n \"name\": \"defaultdotnetsdkappupdate\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"f36735e3-3afc-4c6b-8d74-2953476d3956\",\r\n \"state\": \"created\",\r\n \"displayName\": \"test-updated-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\": \"test-updated-sub-domain\",\r\n \"createdDate\": \"2021-02-04T05:01:25.805Z\",\r\n \"lastUpdated\": \"2021-02-04T05:02:00.035Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"2501d387-0000-0100-0000-601b7fc80000\\\"\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/IoTApps?api-version=2018-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkdVcGRhdGUvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL0lvVEFwcHM/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", + "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/iotApps?api-version=2018-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHREb3ROZXRTZGtJb3RDZW50cmFsUkdVcGRhdGUvcHJvdmlkZXJzL01pY3Jvc29mdC5Jb1RDZW50cmFsL2lvdEFwcHM/YXBpLXZlcnNpb249MjAxOC0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e13dd81d-fc25-4107-a2f3-132b85818ecd" + "a7db3c6b-f2cb-43e0-bd05-4ef2fcdc6731" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29518.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.0.0.0" + "Microsoft.Azure.Management.IotCentral.IotCentralClient/3.1.0.0" ] }, "ResponseHeaders": { @@ -444,22 +519,22 @@ "no-store, must-revalidate, no-cache, max-stale=0, private, post-check=0, pre-check=0" ], "ETag": [ - "W/\"338-xTswrSsIOF4VtKLgd2qoJgjReHQ\"" + "W/\"338-RcRgaYBBcMCBxDxKeRycchIAucM\"" ], "Vary": [ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" + "11998" ], "x-ms-request-id": [ - "82aa681f-7728-44d4-b72f-78e93625c182" + "bcefa7f7-f7ed-437f-82db-d739c12bd5df" ], "x-iot-correlation": [ - "3iepq3sk.0" + "4ey8yrc.0" ], "x-envoy-upstream-service-time": [ - "42" + "36" ], "X-Content-Type-Options": [ "nosniff" @@ -474,7 +549,7 @@ "1; mode=block" ], "X-IoT-Version": [ - "121620.0002-master" + "020221.0002-master" ], "X-IoT-Cluster": [ "iotcprodwestus02" @@ -483,16 +558,16 @@ "max-age=31536000; includeSubDomains" ], "X-MSEdge-Ref": [ - "Ref A: EE42C56A116F465D82937BD8FFCD8C52 Ref B: BY3EDGE0420 Ref C: 2021-01-07T01:03:10Z" + "Ref A: BA2AB72ECF4B44668387DB733E0C8935 Ref B: BY3EDGE0312 Ref C: 2021-02-04T05:02:00Z" ], "x-ms-correlation-request-id": [ - "28019c85-7f43-49c7-9cd3-70c986f6d145" + "909636be-50fe-4ab7-b787-de62957d5b9e" ], "x-ms-routing-request-id": [ - "WESTUS:20210107T010310Z:28019c85-7f43-49c7-9cd3-70c986f6d145" + "WESTUS:20210204T050201Z:909636be-50fe-4ab7-b787-de62957d5b9e" ], "Date": [ - "Thu, 07 Jan 2021 01:03:09 GMT" + "Thu, 04 Feb 2021 05:02:00 GMT" ], "Content-Length": [ "824" @@ -501,7 +576,7 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/IoTApps/defaultdotnetsdkappupdate\",\r\n \"name\": \"defaultdotnetsdkappupdate\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"0ee78475-e18f-4443-8304-5b677ebd3498\",\r\n \"state\": \"created\",\r\n \"displayName\": \"test-updated-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\": \"test-updated-sub-domain\",\r\n \"createdDate\": \"2021-01-07T01:02:33.654Z\",\r\n \"lastUpdated\": \"2021-01-07T01:03:09.208Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"a600338e-0000-0100-0000-5ff65dcd0000\\\"\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/DefaultDotNetSdkIotCentralRGUpdate/providers/Microsoft.IoTCentral/iotApps/defaultdotnetsdkappupdate\",\r\n \"name\": \"defaultdotnetsdkappupdate\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"f36735e3-3afc-4c6b-8d74-2953476d3956\",\r\n \"state\": \"created\",\r\n \"displayName\": \"test-updated-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\": \"test-updated-sub-domain\",\r\n \"createdDate\": \"2021-02-04T05:01:25.805Z\",\r\n \"lastUpdated\": \"2021-02-04T05:02:00.035Z\",\r\n \"template\": \"iotc-pnp-preview@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"2501d387-0000-0100-0000-601b7fc80000\\\"\"\r\n }\r\n ]\r\n}", "StatusCode": 200 } ],