forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 14311 in Azure/azure-rest-api-specs
Merge 0b016ccb70c70df04f6f0fc194626c805f393d29 into 99e258538f847ce188e754086c7a38864f26fab0
- Loading branch information
SDKAuto
committed
May 13, 2021
1 parent
0c9a9bf
commit 0613737
Showing
2 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters