From ae7a21382aab940ff7ccc88f1f81761d92562f61 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 13 Nov 2023 08:53:49 +0000 Subject: [PATCH] CodeGen from PR 21710 in Azure/azure-rest-api-specs Merge 495983c3ebae536000fe644f4d02e2c333ce5ce2 into 78eac0bd58633028293cb1ec1709baa200bed9e2 --- schemas/2021-07-02/Microsoft.Devices.json | 12 +++--------- .../2022-04-30-preview/Microsoft.Devices.json | 14 +++----------- .../2022-11-15-preview/Microsoft.Devices.json | 11 ++--------- .../2023-06-30-preview/Microsoft.Devices.json | 18 ++++-------------- schemas/2023-06-30/Microsoft.Devices.json | 12 +++--------- 5 files changed, 15 insertions(+), 52 deletions(-) diff --git a/schemas/2021-07-02/Microsoft.Devices.json b/schemas/2021-07-02/Microsoft.Devices.json index 82de8a8c77..2c6ba897d4 100644 --- a/schemas/2021-07-02/Microsoft.Devices.json +++ b/schemas/2021-07-02/Microsoft.Devices.json @@ -440,19 +440,14 @@ { "type": "string", "enum": [ - "Invalid", - "DeviceMessages", - "TwinChangeEvents", - "DeviceLifecycleEvents", - "DeviceJobLifecycleEvents", - "DeviceConnectionStateEvents" + "DeviceMessages" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages." + "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages" } }, "required": [ @@ -1167,8 +1162,7 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The source that the routing rule is to be applied to, such as DeviceMessages." + ] } }, "required": [ diff --git a/schemas/2022-04-30-preview/Microsoft.Devices.json b/schemas/2022-04-30-preview/Microsoft.Devices.json index c40d41f943..3e0542c4ea 100644 --- a/schemas/2022-04-30-preview/Microsoft.Devices.json +++ b/schemas/2022-04-30-preview/Microsoft.Devices.json @@ -464,21 +464,14 @@ { "type": "string", "enum": [ - "Invalid", - "DeviceMessages", - "TwinChangeEvents", - "DeviceLifecycleEvents", - "DeviceJobLifecycleEvents", - "DigitalTwinChangeEvents", - "DeviceConnectionStateEvents", - "MqttBrokerMessages" + "DeviceMessages" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages." + "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages" } }, "required": [ @@ -1286,8 +1279,7 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The source that the routing rule is to be applied to, such as DeviceMessages." + ] } }, "required": [ diff --git a/schemas/2022-11-15-preview/Microsoft.Devices.json b/schemas/2022-11-15-preview/Microsoft.Devices.json index d651d08d35..5f69feebbe 100644 --- a/schemas/2022-11-15-preview/Microsoft.Devices.json +++ b/schemas/2022-11-15-preview/Microsoft.Devices.json @@ -464,21 +464,14 @@ { "type": "string", "enum": [ - "Invalid", - "DeviceMessages", - "TwinChangeEvents", - "DeviceLifecycleEvents", - "DeviceJobLifecycleEvents", - "DigitalTwinChangeEvents", - "DeviceConnectionStateEvents", - "MqttBrokerMessages" + "DeviceMessages" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages." + "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages" } }, "required": [ diff --git a/schemas/2023-06-30-preview/Microsoft.Devices.json b/schemas/2023-06-30-preview/Microsoft.Devices.json index b32f009356..72a975df3c 100644 --- a/schemas/2023-06-30-preview/Microsoft.Devices.json +++ b/schemas/2023-06-30-preview/Microsoft.Devices.json @@ -464,21 +464,14 @@ { "type": "string", "enum": [ - "Invalid", - "DeviceMessages", - "TwinChangeEvents", - "DeviceLifecycleEvents", - "DeviceJobLifecycleEvents", - "DigitalTwinChangeEvents", - "DeviceConnectionStateEvents", - "MqttBrokerMessages" + "DeviceMessages" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages." + "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages" } }, "required": [ @@ -1294,16 +1287,13 @@ "TwinChangeEvents", "DeviceLifecycleEvents", "DeviceJobLifecycleEvents", - "DigitalTwinChangeEvents", - "DeviceConnectionStateEvents", - "MqttBrokerMessages" + "DeviceConnectionStateEvents" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The source that the routing rule is to be applied to, such as DeviceMessages." + ] } }, "required": [ diff --git a/schemas/2023-06-30/Microsoft.Devices.json b/schemas/2023-06-30/Microsoft.Devices.json index 394b73a124..684c1c9bb5 100644 --- a/schemas/2023-06-30/Microsoft.Devices.json +++ b/schemas/2023-06-30/Microsoft.Devices.json @@ -440,19 +440,14 @@ { "type": "string", "enum": [ - "Invalid", - "DeviceMessages", - "TwinChangeEvents", - "DeviceLifecycleEvents", - "DeviceJobLifecycleEvents", - "DeviceConnectionStateEvents" + "DeviceMessages" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages." + "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages" } }, "required": [ @@ -1167,8 +1162,7 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The source that the routing rule is to be applied to, such as DeviceMessages." + ] } }, "required": [