157 строки
4.5 KiB
JSON
157 строки
4.5 KiB
JSON
{
|
|
"id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.IotCentral.json#",
|
|
"title": "Microsoft.IoTCentral",
|
|
"description": "Microsoft IoTCentral Resource Types",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"resourceDefinitions": {
|
|
"iotApps": {
|
|
"description": "Microsoft.IoTCentral/iotApps",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2021-06-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"identity": {
|
|
"description": "The managed identities for the IoT Central application.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SystemAssignedServiceIdentity"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "The resource location.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The ARM resource name of the IoT Central application.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "The common properties of an IoT Central application.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AppProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"sku": {
|
|
"description": "A valid instance SKU.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AppSkuInfo"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "The resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.IoTCentral/iotApps"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"AppProperties": {
|
|
"description": "The properties of an IoT Central application.",
|
|
"properties": {
|
|
"displayName": {
|
|
"description": "The display name of the application.",
|
|
"type": "string"
|
|
},
|
|
"subdomain": {
|
|
"description": "The subdomain of the application.",
|
|
"type": "string"
|
|
},
|
|
"template": {
|
|
"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.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AppSkuInfo": {
|
|
"description": "Information about the SKU of the IoT Central application.",
|
|
"properties": {
|
|
"name": {
|
|
"description": "The name of the SKU.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"ST0",
|
|
"ST1",
|
|
"ST2"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"SystemAssignedServiceIdentity": {
|
|
"description": "Managed service identity (either system assigned, or none)",
|
|
"properties": {
|
|
"type": {
|
|
"description": "Type of managed service identity (either system assigned, or none).",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"None",
|
|
"SystemAssigned"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |