From 6726572a2bd53d9122e5e1798e8b9b22b43ae9f9 Mon Sep 17 00:00:00 2001 From: Teng Lu Date: Fri, 13 Mar 2020 15:51:07 -0700 Subject: [PATCH] Update C# SDK to throw Cloud Exception, Update default SKU to be ST2 --- .../IotCentral.Test/IotCentral.Test.csproj | 2 +- .../TestIotCentralAppLifecycleManagement.json | 12 ++++++------ src/IotCentral/IotCentral/ChangeLog.md | 2 ++ src/IotCentral/IotCentral/IotCentral.csproj | 2 +- .../IotCentral/IotCentral/NewAzureRmIotCentralApp.cs | 6 +++--- .../IotCentral/help/New-AzIotCentralApp.md | 8 ++++---- 6 files changed, 17 insertions(+), 15 deletions(-) diff --git a/src/IotCentral/IotCentral.Test/IotCentral.Test.csproj b/src/IotCentral/IotCentral.Test/IotCentral.Test.csproj index d10a6069f001..7e0ec0539498 100644 --- a/src/IotCentral/IotCentral.Test/IotCentral.Test.csproj +++ b/src/IotCentral/IotCentral.Test/IotCentral.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/IotCentral/IotCentral.Test/SessionRecords/Microsoft.Azure.Commands.IotCentral.Test.ScenarioTests.IotCentralTests/TestIotCentralAppLifecycleManagement.json b/src/IotCentral/IotCentral.Test/SessionRecords/Microsoft.Azure.Commands.IotCentral.Test.ScenarioTests.IotCentralTests/TestIotCentralAppLifecycleManagement.json index a8abdbb83b91..5cce94d3f260 100644 --- a/src/IotCentral/IotCentral.Test/SessionRecords/Microsoft.Azure.Commands.IotCentral.Test.ScenarioTests.IotCentralTests/TestIotCentralAppLifecycleManagement.json +++ b/src/IotCentral/IotCentral.Test/SessionRecords/Microsoft.Azure.Commands.IotCentral.Test.ScenarioTests.IotCentralTests/TestIotCentralAppLifecycleManagement.json @@ -828,7 +828,7 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437\",\r\n \"name\": \"ps6437\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"fd2965e9-ef5b-444b-adba-23b0f7d27471\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437subdomain\",\r\n \"createdDate\": \"2020-01-16T04:44:20.737Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"b6004c84-0000-0100-0000-5e1fea250000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2\",\r\n \"name\": \"ps6437-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"25db709c-cccf-4eee-b387-ab41c2463459\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps6437-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437-2\",\r\n \"createdDate\": \"2020-01-16T04:45:00.299Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"etag\": \"\\\"b90001f9-0000-0100-0000-5e1fea4c0000\\\"\"\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/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437\",\r\n \"name\": \"ps6437\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"fd2965e9-ef5b-444b-adba-23b0f7d27471\",\r\n \"state\": \"created\",\r\n \"displayName\": \"Custom IoT Central App DisplayName\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437subdomain\",\r\n \"createdDate\": \"2020-01-16T04:44:20.737Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"b6004c84-0000-0100-0000-5e1fea250000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2\",\r\n \"name\": \"ps6437-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"25db709c-cccf-4eee-b387-ab41c2463459\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps6437-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437-2\",\r\n \"createdDate\": \"2020-01-16T04:45:00.299Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"b90001f9-0000-0100-0000-5e1fea4c0000\\\"\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", "StatusCode": 200 }, { @@ -912,7 +912,7 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437\",\r\n \"name\": \"ps6437\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"tt2\": \"tv2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"fd2965e9-ef5b-444b-adba-23b0f7d27471\",\r\n \"state\": \"created\",\r\n \"displayName\": \"New Custom Display Name.\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437subdomainnew\",\r\n \"createdDate\": \"2020-01-16T04:44:20.737Z\",\r\n \"lastUpdated\": \"2020-01-16T04:45:40.163Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"b600b487-0000-0100-0000-5e1fea740000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2\",\r\n \"name\": \"ps6437-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"25db709c-cccf-4eee-b387-ab41c2463459\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps6437-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437-2\",\r\n \"createdDate\": \"2020-01-16T04:45:00.299Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"etag\": \"\\\"b90001f9-0000-0100-0000-5e1fea4c0000\\\"\"\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/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437\",\r\n \"name\": \"ps6437\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"tt2\": \"tv2\"\r\n },\r\n \"properties\": {\r\n \"applicationId\": \"fd2965e9-ef5b-444b-adba-23b0f7d27471\",\r\n \"state\": \"created\",\r\n \"displayName\": \"New Custom Display Name.\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437subdomainnew\",\r\n \"createdDate\": \"2020-01-16T04:44:20.737Z\",\r\n \"lastUpdated\": \"2020-01-16T04:45:40.163Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"b600b487-0000-0100-0000-5e1fea740000\\\"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2\",\r\n \"name\": \"ps6437-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"25db709c-cccf-4eee-b387-ab41c2463459\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps6437-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437-2\",\r\n \"createdDate\": \"2020-01-16T04:45:00.299Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"b90001f9-0000-0100-0000-5e1fea4c0000\\\"\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", "StatusCode": 200 }, { @@ -1000,7 +1000,7 @@ "RequestUri": "/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2?api-version=2018-09-01", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiM2IxN2UtM2YzYi00MGUwLWFjYzQtZWY4YzliYmRmMzJiL3Jlc291cmNlR3JvdXBzL3BzNjQxL3Byb3ZpZGVycy9NaWNyb3NvZnQuSW9UQ2VudHJhbC9Jb1RBcHBzL3BzNjQzNy0yP2FwaS12ZXJzaW9uPTIwMTgtMDktMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"ps6437-2\",\r\n \"subdomain\": \"ps6437-2\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"location\": \"westeurope\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"ps6437-2\",\r\n \"subdomain\": \"ps6437-2\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"location\": \"westeurope\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ "a2f10178-bc13-4af8-ba26-3818eea0b524" @@ -1080,7 +1080,7 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2\",\r\n \"name\": \"ps6437-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"25db709c-cccf-4eee-b387-ab41c2463459\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps6437-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437-2\",\r\n \"createdDate\": \"2020-01-16T04:45:00.299Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"etag\": \"\\\"b90001f9-0000-0100-0000-5e1fea4c0000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2\",\r\n \"name\": \"ps6437-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"25db709c-cccf-4eee-b387-ab41c2463459\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps6437-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437-2\",\r\n \"createdDate\": \"2020-01-16T04:45:00.299Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"b90001f9-0000-0100-0000-5e1fea4c0000\\\"\"\r\n}", "StatusCode": 201 }, { @@ -1158,7 +1158,7 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2\",\r\n \"name\": \"ps6437-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"25db709c-cccf-4eee-b387-ab41c2463459\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps6437-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437-2\",\r\n \"createdDate\": \"2020-01-16T04:45:00.299Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"etag\": \"\\\"b90001f9-0000-0100-0000-5e1fea4c0000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2\",\r\n \"name\": \"ps6437-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"25db709c-cccf-4eee-b387-ab41c2463459\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps6437-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437-2\",\r\n \"createdDate\": \"2020-01-16T04:45:00.299Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"b90001f9-0000-0100-0000-5e1fea4c0000\\\"\"\r\n}", "StatusCode": 200 }, { @@ -1242,7 +1242,7 @@ "application/json; charset=utf-8" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2\",\r\n \"name\": \"ps6437-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"25db709c-cccf-4eee-b387-ab41c2463459\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps6437-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437-2\",\r\n \"createdDate\": \"2020-01-16T04:45:00.299Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"etag\": \"\\\"b90001f9-0000-0100-0000-5e1fea4c0000\\\"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab3b17e-3f3b-40e0-acc4-ef8c9bbdf32b/resourceGroups/ps641/providers/Microsoft.IoTCentral/IoTApps/ps6437-2\",\r\n \"name\": \"ps6437-2\",\r\n \"type\": \"Microsoft.IoTCentral/IoTApps\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"applicationId\": \"25db709c-cccf-4eee-b387-ab41c2463459\",\r\n \"state\": \"created\",\r\n \"displayName\": \"ps6437-2\",\r\n \"tenant\": \"7f448912-3312-4b33-838d-76eb99405624\",\r\n \"capabilities\": {},\r\n \"subdomain\": \"ps6437-2\",\r\n \"createdDate\": \"2020-01-16T04:45:00.299Z\",\r\n \"template\": \"iotc-default@1.0.0\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ST2\"\r\n },\r\n \"etag\": \"\\\"b90001f9-0000-0100-0000-5e1fea4c0000\\\"\"\r\n}", "StatusCode": 200 }, { diff --git a/src/IotCentral/IotCentral/ChangeLog.md b/src/IotCentral/IotCentral/ChangeLog.md index 35d4d79cde34..f720b58c6c48 100644 --- a/src/IotCentral/IotCentral/ChangeLog.md +++ b/src/IotCentral/IotCentral/ChangeLog.md @@ -19,6 +19,8 @@ --> ## Upcoming Release +* Updated SDK version to throw Cloud Exception with error details. Update default SKU to be ST2. + ## Version 0.7.3 * This release adds new skus: ST0, ST1, ST2 for IotCentral. diff --git a/src/IotCentral/IotCentral/IotCentral.csproj b/src/IotCentral/IotCentral/IotCentral.csproj index 336c78d0d088..fa1304d09cdf 100644 --- a/src/IotCentral/IotCentral/IotCentral.csproj +++ b/src/IotCentral/IotCentral/IotCentral.csproj @@ -12,7 +12,7 @@ - + \ No newline at end of file diff --git a/src/IotCentral/IotCentral/IotCentral/NewAzureRmIotCentralApp.cs b/src/IotCentral/IotCentral/IotCentral/NewAzureRmIotCentralApp.cs index 52cbe0260bbf..1dc97d3e26d7 100644 --- a/src/IotCentral/IotCentral/IotCentral/NewAzureRmIotCentralApp.cs +++ b/src/IotCentral/IotCentral/IotCentral/NewAzureRmIotCentralApp.cs @@ -57,8 +57,8 @@ public class NewAzureRmIotCentralApp : IotCentralBaseCmdlet [Parameter( Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "Pricing tier for IoT Central applications. Default value is S1.")] - [PSArgumentCompleter("S1")] + HelpMessage = "Pricing tier for IoT Central applications. Default value is ST2.")] + [PSArgumentCompleter("ST2")] [ValidateNotNullOrEmpty] public string Sku { get; set; } @@ -112,7 +112,7 @@ private IDictionary GetTags() private string GetAppSkuName() { - return this.Sku ?? PSIotCentralAppSku.S1.ToString(); + return this.Sku ?? PSIotCentralAppSku.ST2.ToString(); } private string GetDisplayName() diff --git a/src/IotCentral/IotCentral/help/New-AzIotCentralApp.md b/src/IotCentral/IotCentral/help/New-AzIotCentralApp.md index 39118f8c4109..28fbb2ec37e8 100644 --- a/src/IotCentral/IotCentral/help/New-AzIotCentralApp.md +++ b/src/IotCentral/IotCentral/help/New-AzIotCentralApp.md @@ -44,11 +44,11 @@ Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName -Create an IoT Central application in the standard pricing tier S1, in the region of the resource group. +Create an IoT Central application in the standard pricing tier ST2, in the region of the resource group. ### Example 2 Create simple IoT Central Application. ```powershell -PS C:\> New-AzIotCentralApp -ResourceGroupName "MyResourceGroupName" -Name "MyAppResourceName" -Subdomain "MyAppSubdomain" -Sku "S1" -DisplayName "My Custom Display Name" -Template "iotc-default" -Location "westus" +PS C:\> New-AzIotCentralApp -ResourceGroupName "MyResourceGroupName" -Name "MyAppResourceName" -Subdomain "MyAppSubdomain" -Sku "ST2" -DisplayName "My Custom Display Name" -Template "iotc-default" -Location "westus" ``` Example Output: @@ -67,7 +67,7 @@ Template : iotc-default@1.0.0 SubscriptionId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX ResourceGroupName : MyResourceGroupName -Create an IoT Central application with the standard pricing tier S1 in the 'westus' region, with a custom display name, based on the iotc-default template. +Create an IoT Central application with the standard pricing tier ST2 in the 'westus' region, with a custom display name, based on the iotc-default template. ## PARAMETERS @@ -165,7 +165,7 @@ Accept wildcard characters: False ### -Sku Pricing tier for IoT Central applications. -Default value is S1. +Default value is ST2. ```yaml Type: System.String