diff --git a/schemas/2021-06-01/Microsoft.IotCentral.json b/schemas/2021-06-01/Microsoft.IotCentral.json new file mode 100644 index 0000000000..f7c75639e4 --- /dev/null +++ b/schemas/2021-06-01/Microsoft.IotCentral.json @@ -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." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 8ac22c2815..b5ed43a5ed 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -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" },