From 2d3755857dcc38359c6937fe19a4a81d34e849f6 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 2 Sep 2022 05:18:52 +0000 Subject: [PATCH] CodeGen from PR 20309 in Azure/azure-rest-api-specs Merge f65ea8d4f1256964b99698011adfb1098fda5f37 into eb3d746872e49c9839cfdeff349a52638e4e6f5c --- schemas/2018-09-01/Microsoft.IotCentral.json | 15 +++++++++++++++ .../2021-11-01-preview/Microsoft.IotCentral.json | 6 ++++-- 2 files changed, 19 insertions(+), 2 deletions(-) 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"