From 811a8b4dea66891fe8c8227148c9bc44a60ff561 Mon Sep 17 00:00:00 2001 From: Adriana Galer Rotaru Date: Tue, 1 Feb 2022 17:23:24 -0500 Subject: [PATCH 1/3] Adding x-ms-ids for Autoanage --- .../preview/2020-06-30-preview/automanage.json | 1 + .../common-types/resource-management/v2/types.json | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/specification/automanage/resource-manager/Microsoft.Automanage/preview/2020-06-30-preview/automanage.json b/specification/automanage/resource-manager/Microsoft.Automanage/preview/2020-06-30-preview/automanage.json index 3f181fed7963..556c5294b9e3 100644 --- a/specification/automanage/resource-manager/Microsoft.Automanage/preview/2020-06-30-preview/automanage.json +++ b/specification/automanage/resource-manager/Microsoft.Automanage/preview/2020-06-30-preview/automanage.json @@ -1339,6 +1339,7 @@ "items": { "$ref": "#/definitions/Operation" }, + "x-ms-identifiers": [ "name" ], "description": "List of Automanage operations supported by the Automanage resource provider." } }, diff --git a/specification/common-types/resource-management/v2/types.json b/specification/common-types/resource-management/v2/types.json index a6224050586b..502dec4c2343 100644 --- a/specification/common-types/resource-management/v2/types.json +++ b/specification/common-types/resource-management/v2/types.json @@ -307,6 +307,10 @@ "items": { "$ref": "#/definitions/ErrorDetail" }, + "x-ms-identifiers": [ + "message", + "target" + ], "description": "The error details." }, "additionalInfo": { @@ -315,6 +319,7 @@ "items": { "$ref": "#/definitions/ErrorAdditionalInfo" }, + "x-ms-identifiers": [], "description": "The error additional info." } } @@ -683,4 +688,4 @@ "x-ms-parameter-location": "method" } } -} +} \ No newline at end of file From 31f914cdcb4e98b3889519bfb82598f217aece67 Mon Sep 17 00:00:00 2001 From: Adriana Galer Rotaru Date: Thu, 3 Feb 2022 15:18:22 -0500 Subject: [PATCH 2/3] corrections after rebase --- .../2020-06-30-preview/automanage.json | 1 - .../2021-04-30-preview/automanage.json | 27 ++++++++++--------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/automanage/resource-manager/Microsoft.Automanage/preview/2020-06-30-preview/automanage.json b/specification/automanage/resource-manager/Microsoft.Automanage/preview/2020-06-30-preview/automanage.json index 556c5294b9e3..3f181fed7963 100644 --- a/specification/automanage/resource-manager/Microsoft.Automanage/preview/2020-06-30-preview/automanage.json +++ b/specification/automanage/resource-manager/Microsoft.Automanage/preview/2020-06-30-preview/automanage.json @@ -1339,7 +1339,6 @@ "items": { "$ref": "#/definitions/Operation" }, - "x-ms-identifiers": [ "name" ], "description": "List of Automanage operations supported by the Automanage resource provider." } }, diff --git a/specification/automanage/resource-manager/Microsoft.Automanage/preview/2021-04-30-preview/automanage.json b/specification/automanage/resource-manager/Microsoft.Automanage/preview/2021-04-30-preview/automanage.json index fbeea72e8cbb..0944a080f5d9 100644 --- a/specification/automanage/resource-manager/Microsoft.Automanage/preview/2021-04-30-preview/automanage.json +++ b/specification/automanage/resource-manager/Microsoft.Automanage/preview/2021-04-30-preview/automanage.json @@ -257,14 +257,14 @@ } ], "responses": { - "201": { - "description": "Created. The configuration profile was created successfully.", + "200": { + "description": "OK. The configuration profile was updated successfully.", "schema": { "$ref": "#/definitions/ConfigurationProfile" } }, - "200": { - "description": "OK. The configuration profile was updated successfully.", + "201": { + "description": "Created. The configuration profile was created successfully.", "schema": { "$ref": "#/definitions/ConfigurationProfile" } @@ -586,14 +586,14 @@ } ], "responses": { - "201": { - "description": "Created. The configuration profile was created successfully.", + "200": { + "description": "OK. The configuration profile was updated successfully.", "schema": { "$ref": "#/definitions/ConfigurationProfile" } }, - "200": { - "description": "OK. The configuration profile was updated successfully.", + "201": { + "description": "Created. The configuration profile was created successfully.", "schema": { "$ref": "#/definitions/ConfigurationProfile" } @@ -894,14 +894,14 @@ } ], "responses": { - "201": { - "description": "Created. The Automanage configuration profile assignment for the VM was created successfully.", + "200": { + "description": "OK. The configuration profile assignment for the VM was updated successfully.", "schema": { "$ref": "#/definitions/ConfigurationProfileAssignment" } }, - "200": { - "description": "OK. The configuration profile assignment for the VM was updated successfully.", + "201": { + "description": "Created. The Automanage configuration profile assignment for the VM was created successfully.", "schema": { "$ref": "#/definitions/ConfigurationProfileAssignment" } @@ -1394,7 +1394,8 @@ "type": "array", "items": { "type": "object" - } + }, + "x-ms-identifiers": [] }, "ConfigurationProfileUpdate": { "description": "Definition of the configuration profile.", From a110fcfd92b17e9435fa2b6c7b2358169b545a89 Mon Sep 17 00:00:00 2001 From: Adriana Galer Rotaru Date: Thu, 3 Feb 2022 15:19:00 -0500 Subject: [PATCH 3/3] removing common types changes --- .../common-types/resource-management/v2/types.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/specification/common-types/resource-management/v2/types.json b/specification/common-types/resource-management/v2/types.json index 502dec4c2343..a6224050586b 100644 --- a/specification/common-types/resource-management/v2/types.json +++ b/specification/common-types/resource-management/v2/types.json @@ -307,10 +307,6 @@ "items": { "$ref": "#/definitions/ErrorDetail" }, - "x-ms-identifiers": [ - "message", - "target" - ], "description": "The error details." }, "additionalInfo": { @@ -319,7 +315,6 @@ "items": { "$ref": "#/definitions/ErrorAdditionalInfo" }, - "x-ms-identifiers": [], "description": "The error additional info." } } @@ -688,4 +683,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +}