From 8a2977daa4c3edf64f2c30baf9a40939eb8ff729 Mon Sep 17 00:00:00 2001 From: chgennar <56695749+chgennar@users.noreply.github.com> Date: Tue, 19 Apr 2022 17:12:30 +0000 Subject: [PATCH 1/3] Remove x-ms-azure-resource prop --- .../preview/2021-11-01-preview/iotcentral.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json index 066ea65f0ced..2986ed8108a7 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json @@ -1046,7 +1046,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, "required": [ "sku" ] From b88c82cc3aebf79bba2db2bced706aa2f560b9dc Mon Sep 17 00:00:00 2001 From: chgennar <56695749+chgennar@users.noreply.github.com> Date: Fri, 22 Apr 2022 21:46:34 +0000 Subject: [PATCH 2/3] Adding action prop to NetworkRuleSetIpRule def --- .../preview/2021-11-01-preview/iotcentral.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json index 2986ed8108a7..5c807682cb14 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json @@ -966,6 +966,18 @@ "description": "An object for an IP range that will be allowed access.", "type": "object", "properties": { + "action": { + "description": "", + "type": "string", + "readOnly": true, + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "IpRuleAction", + "modelAsString": true + } + }, "filterName": { "description": "The readable name of the IP rule.", "type": "string" From 9922bcf4ca8155f82d1e0f257c1a8fafecb8622c Mon Sep 17 00:00:00 2001 From: chgennar <56695749+chgennar@users.noreply.github.com> Date: Fri, 22 Apr 2022 21:51:53 +0000 Subject: [PATCH 3/3] revert and description --- .../preview/2021-11-01-preview/iotcentral.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json index 5c807682cb14..d02042874904 100644 --- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json +++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/iotcentral.json @@ -967,7 +967,7 @@ "type": "object", "properties": { "action": { - "description": "", + "description": "The network action for the IP mask.", "type": "string", "readOnly": true, "enum": [ @@ -1058,6 +1058,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], + "x-ms-azure-resource": true, "required": [ "sku" ]