Skip to content

Commit 0df8c0e

Browse files
author
SDKAuto
committed
CodeGen from PR 14311 in Azure/azure-rest-api-specs
Merge 1ef7250c3f739ece0a68fa90bf11ac7535940b4a into e0624d2b17a8dcee07acfb08f39508a773a8dc21
1 parent ac0dd8e commit 0df8c0e

File tree

2 files changed

+144
-0
lines changed

2 files changed

+144
-0
lines changed
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
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+
"deleted",
94+
"suspended"
95+
]
96+
},
97+
{
98+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
99+
}
100+
],
101+
"description": "The current state of the application."
102+
},
103+
"subdomain": {
104+
"type": "string",
105+
"description": "The subdomain of the application."
106+
},
107+
"template": {
108+
"type": "string",
109+
"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."
110+
}
111+
},
112+
"description": "The properties of an IoT Central application."
113+
},
114+
"AppSkuInfo": {
115+
"type": "object",
116+
"properties": {
117+
"name": {
118+
"oneOf": [
119+
{
120+
"type": "string",
121+
"enum": [
122+
"F1",
123+
"ST0",
124+
"ST1",
125+
"ST2"
126+
]
127+
},
128+
{
129+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
130+
}
131+
],
132+
"description": "The name of the SKU."
133+
}
134+
},
135+
"required": [
136+
"name"
137+
],
138+
"description": "Information about the SKU of the IoT Central application."
139+
}
140+
}
141+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5671,6 +5671,9 @@
56715671
{
56725672
"$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps"
56735673
},
5674+
{
5675+
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps"
5676+
},
56745677
{
56755678
"$ref": "https://schema.management.azure.com/schemas/2017-10-01-preview/Microsoft.IoTSpaces.json#/resourceDefinitions/Graph"
56765679
},

0 commit comments

Comments
 (0)