diff --git a/schemas/2018-09-01/Microsoft.IotCentral.json b/schemas/2018-09-01/Microsoft.IotCentral.json index 7f3fc33906..76d29b514a 100644 --- a/schemas/2018-09-01/Microsoft.IotCentral.json +++ b/schemas/2018-09-01/Microsoft.IotCentral.json @@ -84,6 +84,21 @@ "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." diff --git a/schemas/2021-11-01-preview/Microsoft.IotCentral.json b/schemas/2021-11-01-preview/Microsoft.IotCentral.json index 4dc52faaa8..88570fd5b9 100644 --- a/schemas/2021-11-01-preview/Microsoft.IotCentral.json +++ b/schemas/2021-11-01-preview/Microsoft.IotCentral.json @@ -299,7 +299,8 @@ "applyToDevices": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -310,7 +311,8 @@ "applyToIoTCentral": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"