Skip to content

Commit e728ef9

Browse files
author
msftbot[bot]
authored
[ReleasePR iotcentral] [Microsoft.IoTCentral/iotApps] Removal of legacy S1 SKU, S360 Fixes, newer RP API version 2021-06-01 (#1899)
Create to sync Azure/azure-rest-api-specs#14311 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/iotcentral?expand=1)
2 parents 5685bef + 2651c31 commit e728ef9

File tree

2 files changed

+142
-0
lines changed

2 files changed

+142
-0
lines changed
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.IotCentral.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.IoTCentral",
5+
"description": "Microsoft IoTCentral Resource Types",
6+
"resourceDefinitions": {
7+
"iotApps": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2021-06-01"
14+
]
15+
},
16+
"location": {
17+
"type": "string",
18+
"description": "The resource location."
19+
},
20+
"name": {
21+
"type": "string",
22+
"description": "The ARM resource name of the IoT Central application."
23+
},
24+
"properties": {
25+
"oneOf": [
26+
{
27+
"$ref": "#/definitions/AppProperties"
28+
},
29+
{
30+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
31+
}
32+
],
33+
"description": "The properties of an IoT Central application."
34+
},
35+
"sku": {
36+
"oneOf": [
37+
{
38+
"$ref": "#/definitions/AppSkuInfo"
39+
},
40+
{
41+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
42+
}
43+
],
44+
"description": "Information about the SKU of the IoT Central application."
45+
},
46+
"tags": {
47+
"oneOf": [
48+
{
49+
"type": "object",
50+
"additionalProperties": {
51+
"type": "string"
52+
},
53+
"properties": {}
54+
},
55+
{
56+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
57+
}
58+
],
59+
"description": "The resource tags."
60+
},
61+
"type": {
62+
"type": "string",
63+
"enum": [
64+
"Microsoft.IoTCentral/iotApps"
65+
]
66+
}
67+
},
68+
"required": [
69+
"apiVersion",
70+
"location",
71+
"name",
72+
"properties",
73+
"sku",
74+
"type"
75+
],
76+
"description": "Microsoft.IoTCentral/iotApps"
77+
}
78+
},
79+
"definitions": {
80+
"AppProperties": {
81+
"type": "object",
82+
"properties": {
83+
"displayName": {
84+
"type": "string",
85+
"description": "The display name of the application."
86+
},
87+
"state": {
88+
"oneOf": [
89+
{
90+
"type": "string",
91+
"enum": [
92+
"created",
93+
"suspended"
94+
]
95+
},
96+
{
97+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
98+
}
99+
],
100+
"description": "The current state of the application."
101+
},
102+
"subdomain": {
103+
"type": "string",
104+
"description": "The subdomain of the application."
105+
},
106+
"template": {
107+
"type": "string",
108+
"description": "The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch."
109+
}
110+
},
111+
"description": "The properties of an IoT Central application."
112+
},
113+
"AppSkuInfo": {
114+
"type": "object",
115+
"properties": {
116+
"name": {
117+
"oneOf": [
118+
{
119+
"type": "string",
120+
"enum": [
121+
"ST0",
122+
"ST1",
123+
"ST2"
124+
]
125+
},
126+
{
127+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
128+
}
129+
],
130+
"description": "The name of the SKU."
131+
}
132+
},
133+
"required": [
134+
"name"
135+
],
136+
"description": "Information about the SKU of the IoT Central application."
137+
}
138+
}
139+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6613,6 +6613,9 @@
66136613
{
66146614
"$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps"
66156615
},
6616+
{
6617+
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps"
6618+
},
66166619
{
66176620
"$ref": "https://schema.management.azure.com/schemas/2015-06-01/Microsoft.KeyVault.json#/resourceDefinitions/vaults"
66186621
},

0 commit comments

Comments
 (0)