From 27f0da943ba0dd754135d188f09822edf74c2e88 Mon Sep 17 00:00:00 2001 From: Juliet Zhong Date: Tue, 26 Jul 2022 16:24:12 -0400 Subject: [PATCH 1/3] add x-ms-identifiers for iothub --- .../stable/2021-07-02/iothub.json | 61 ++++++++++++++----- 1 file changed, 46 insertions(+), 15 deletions(-) diff --git a/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json index 5e6af1e267da..0142f412fb33 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json @@ -699,7 +699,8 @@ "description": "DefaultErrorResponse", "schema": { "$ref": "#/definitions/ErrorDetails" - } + }, + "x-ms-identifiers": [] } }, "deprecated": false @@ -2272,7 +2273,10 @@ "type": "array", "items": { "$ref": "#/definitions/SharedAccessSignatureAuthorizationRule" - } + }, + "x-ms-identifiers": [ + "keyName" + ] }, "disableLocalAuth": { "description": "If true, SAS tokens with Iot hub scoped SAS keys cannot be used for authentication.", @@ -2315,7 +2319,10 @@ "type": "array", "items": { "$ref": "#/definitions/IpFilterRule" - } + }, + "x-ms-identifiers": [ + "filterName" + ] }, "networkRuleSets": { "$ref": "#/definitions/NetworkRuleSetProperties" @@ -2399,7 +2406,10 @@ "type": "array", "items": { "$ref": "#/definitions/IotHubLocationDescription" - } + }, + "x-ms-identifiers": [ + "location" + ] }, "enableDataResidency": { "description": "This property when set to true, will enable data residency, thus, disabling disaster recovery.", @@ -2626,6 +2636,9 @@ "items": { "$ref": "#/definitions/NetworkRuleSetIpRule" }, + "x-ms-identifiers": [ + "filterName" + ], "description": "List of IP Rules" } }, @@ -2851,12 +2864,16 @@ "endpoints": { "$ref": "#/definitions/RoutingEndpoints" }, + "x-ms-identifiers": [], "routes": { "description": "The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs.", "type": "array", "items": { "$ref": "#/definitions/RouteProperties" - } + }, + "x-ms-identifiers": [ + "name" + ] }, "fallbackRoute": { "description": "The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint.", @@ -2867,7 +2884,10 @@ "type": "array", "items": { "$ref": "#/definitions/EnrichmentProperties" - } + }, + "x-ms-identifiers": [ + "key" + ] } } }, @@ -3349,7 +3369,10 @@ "type": "array", "items": { "$ref": "#/definitions/SharedAccessSignatureAuthorizationRule" - } + }, + "x-ms-identifiers": [ + "keyName" + ] }, "nextLink": { "description": "The next link.", @@ -3367,7 +3390,8 @@ "readOnly": true, "items": { "$ref": "#/definitions/Operation" - } + }, + "x-ms-identifiers": [] }, "nextLink": { "readOnly": true, @@ -3447,7 +3471,8 @@ "type": "array", "items": { "$ref": "#/definitions/IotHubQuotaMetricInfo" - } + }, + "x-ms-identifiers": [] }, "nextLink": { "description": "The next link.", @@ -3465,7 +3490,8 @@ "type": "array", "items": { "$ref": "#/definitions/EndpointHealthData" - } + }, + "x-ms-identifiers": [] }, "nextLink": { "description": "Link to more results", @@ -3551,7 +3577,8 @@ "type": "array", "items": { "$ref": "#/definitions/JobResponse" - } + }, + "x-ms-identifiers": [] }, "nextLink": { "description": "The next link.", @@ -3718,7 +3745,8 @@ "type": "array", "items": { "$ref": "#/definitions/IotHubSkuDescription" - } + }, + "x-ms-identifiers": [] }, "nextLink": { "description": "The next link.", @@ -4032,7 +4060,8 @@ "type": "array", "items": { "$ref": "#/definitions/MatchedRoute" - } + }, + "x-ms-identifiers": [] } } }, @@ -4043,7 +4072,8 @@ "properties": { "description": "Properties of routes that matched", "$ref": "#/definitions/RouteProperties" - } + }, + "x-ms-identifiers": [] } }, "TestRouteInput": { @@ -4099,7 +4129,8 @@ "type": "array", "items": { "$ref": "#/definitions/RouteCompilationError" - } + }, + "x-ms-identifiers": [] } } }, From 42895becbd7d89221cca43b8b206677e19715d56 Mon Sep 17 00:00:00 2001 From: j-zhong-ms <107880703+j-zhong-ms@users.noreply.github.com> Date: Thu, 4 Aug 2022 10:22:53 -0400 Subject: [PATCH 2/3] Update iothub.json --- .../Microsoft.Devices/stable/2021-07-02/iothub.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json index 0142f412fb33..6084eed20756 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json @@ -2864,7 +2864,6 @@ "endpoints": { "$ref": "#/definitions/RoutingEndpoints" }, - "x-ms-identifiers": [], "routes": { "description": "The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs.", "type": "array", From b29178dec655cc41f2d2b591d8acf2a9439ee5bf Mon Sep 17 00:00:00 2001 From: j-zhong-ms <107880703+j-zhong-ms@users.noreply.github.com> Date: Fri, 5 Aug 2022 08:35:35 -0400 Subject: [PATCH 3/3] Update iothub.json --- .../Microsoft.Devices/stable/2021-07-02/iothub.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json index 6084eed20756..bb6f05dacad4 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/stable/2021-07-02/iothub.json @@ -4071,8 +4071,7 @@ "properties": { "description": "Properties of routes that matched", "$ref": "#/definitions/RouteProperties" - }, - "x-ms-identifiers": [] + } } }, "TestRouteInput": {