Skip to content

Commit

Permalink
CodeGen from PR 14311 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 0b016ccb70c70df04f6f0fc194626c805f393d29 into 99e258538f847ce188e754086c7a38864f26fab0
  • Loading branch information
SDKAuto committed May 13, 2021
1 parent 0c9a9bf commit 0613737
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 0 deletions.
141 changes: 141 additions & 0 deletions schemas/2021-06-01/Microsoft.IotCentral.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
{
"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",
"deleted",
"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": [
"F1",
"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 @@ -5572,6 +5572,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/2017-10-01-preview/Microsoft.IoTSpaces.json#/resourceDefinitions/Graph"
},
Expand Down

0 comments on commit 0613737

Please sign in to comment.