From 44525ab5ace45d9cb1bc85bee2751f015dcaffc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruslan=20Yakushev=20=F0=9F=9A=B4?= Date: Mon, 3 Jan 2022 14:53:34 -0800 Subject: [PATCH] Add x-ms-identifiers back --- .../2022-01-01-preview/CommonDefinitions.json | 45 ++++--------------- .../2022-01-01-preview/ContainerApps.json | 15 ++----- .../preview/2022-01-01-preview/Global.json | 5 +-- 3 files changed, 13 insertions(+), 52 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/CommonDefinitions.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/CommonDefinitions.json index 920e6fb3bc9d..fc8a1b6f7ec1 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/CommonDefinitions.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/CommonDefinitions.json @@ -65,10 +65,7 @@ "type": "array", "items": { "$ref": "#/definitions/EnvironmentVar" - }, - "x-ms-identifiers": [ - "name" - ] + } }, "resources": { "$ref": "#/definitions/ContainerResources", @@ -111,10 +108,7 @@ "type": "array", "items": { "$ref": "#/definitions/ScaleRuleAuth" - }, - "x-ms-identifiers": [ - "triggerParameter" - ] + } } } }, @@ -140,10 +134,7 @@ "type": "array", "items": { "$ref": "#/definitions/DaprComponent" - }, - "x-ms-identifiers": [ - "name" - ] + } } } }, @@ -168,10 +159,7 @@ "type": "array", "items": { "$ref": "#/definitions/DaprMetadata" - }, - "x-ms-identifiers": [ - "name" - ] + } } } }, @@ -240,10 +228,7 @@ } }, "readOnly": true - }, - "x-ms-identifiers": [ - "code" - ] + } }, "innererror": { "description": "More information to debug error.", @@ -271,10 +256,7 @@ "type": "array", "items": { "$ref": "#/definitions/ScaleRuleAuth" - }, - "x-ms-identifiers": [ - "triggerParameter" - ] + } } } }, @@ -296,10 +278,7 @@ "type": "array", "items": { "$ref": "#/definitions/ScaleRuleAuth" - }, - "x-ms-identifiers": [ - "triggerParameter" - ] + } } } }, @@ -322,10 +301,7 @@ "type": "array", "items": { "$ref": "#/definitions/ScaleRule" - }, - "x-ms-identifiers": [ - "name" - ] + } } } }, @@ -378,10 +354,7 @@ "type": "array", "items": { "$ref": "#/definitions/Container" - }, - "x-ms-identifiers": [ - "name" - ] + } }, "scale": { "$ref": "#/definitions/Scale", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json index 3546171f470c..ab5b6d5e4b89 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json @@ -321,10 +321,7 @@ "type": "array", "items": { "$ref": "#/definitions/Secret" - }, - "x-ms-identifiers": [ - "name" - ] + } }, "activeRevisionsMode": { "description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\nMultiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode", @@ -347,10 +344,7 @@ "type": "array", "items": { "$ref": "#/definitions/RegistryCredentials" - }, - "x-ms-identifiers": [ - "server" - ] + } } } }, @@ -484,10 +478,7 @@ "type": "array", "items": { "$ref": "#/definitions/TrafficWeight" - }, - "x-ms-identifiers": [ - "revisionName" - ] + } }, "allowInsecure": { "description": "Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/Global.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/Global.json index a60af63ef565..bd36da1fe1c2 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/Global.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/Global.json @@ -63,10 +63,7 @@ "type": "array", "items": { "$ref": "#/definitions/OperationDetail" - }, - "x-ms-identifiers": [ - "name" - ] + } }, "nextLink": { "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.",