From d9341dafb82f5fbccd77f98b012f1fb278343f6f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 23 Dec 2020 23:16:53 +0000 Subject: [PATCH] CodeGen from PR 12224 in Azure/azure-rest-api-specs Merge 7d0e926afeae5f5bb4eefa4ce9677899b9fa2970 into 06fd66af5a0e779ab4627889d5806cb3a7488256 --- schemas/2018-09-01/Microsoft.IoTCentral.json | 126 +++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 schemas/2018-09-01/Microsoft.IoTCentral.json diff --git a/schemas/2018-09-01/Microsoft.IoTCentral.json b/schemas/2018-09-01/Microsoft.IoTCentral.json new file mode 100644 index 0000000000..99363c24b8 --- /dev/null +++ b/schemas/2018-09-01/Microsoft.IoTCentral.json @@ -0,0 +1,126 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-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": [ + "2018-09-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." + }, + "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": [ + "F1", + "S1", + "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." + } + } +}