Skip to content

Commit

Permalink
[ReleasePR iotcentral] [Microsoft.IoTCentral/iotApps] Removal of lega…
Browse files Browse the repository at this point in the history
  • Loading branch information
msftbot[bot] authored Sep 14, 2021
2 parents 5685bef + 2651c31 commit e728ef9
Show file tree
Hide file tree
Showing 2 changed files with 142 additions and 0 deletions.
139 changes: 139 additions & 0 deletions schemas/2021-06-01/Microsoft.IotCentral.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.IotCentral.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.IoTCentral",
"description": "Microsoft IoTCentral Resource Types",
"resourceDefinitions": {
"iotApps": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-06-01"
]
},
"location": {
"type": "string",
"description": "The resource location."
},
"name": {
"type": "string",
"description": "The ARM resource name of the IoT Central application."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AppProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties of an IoT Central application."
},
"sku": {
"oneOf": [
{
"$ref": "#/definitions/AppSkuInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Information about the SKU of the IoT Central application."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.IoTCentral/iotApps"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"sku",
"type"
],
"description": "Microsoft.IoTCentral/iotApps"
}
},
"definitions": {
"AppProperties": {
"type": "object",
"properties": {
"displayName": {
"type": "string",
"description": "The display name of the application."
},
"state": {
"oneOf": [
{
"type": "string",
"enum": [
"created",
"suspended"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The current state of the application."
},
"subdomain": {
"type": "string",
"description": "The subdomain of the application."
},
"template": {
"type": "string",
"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."
}
},
"description": "The properties of an IoT Central application."
},
"AppSkuInfo": {
"type": "object",
"properties": {
"name": {
"oneOf": [
{
"type": "string",
"enum": [
"ST0",
"ST1",
"ST2"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The name of the SKU."
}
},
"required": [
"name"
],
"description": "Information about the SKU of the IoT Central application."
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -6613,6 +6613,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-06-01/Microsoft.KeyVault.json#/resourceDefinitions/vaults"
},
Expand Down

0 comments on commit e728ef9

Please sign in to comment.