From ee92c0739efe6acd5b947a3f7829a349800b2426 Mon Sep 17 00:00:00 2001 From: Jimmy Campbell Date: Sun, 15 Nov 2020 18:48:53 -0800 Subject: [PATCH] Amend error response to indicate that we return additional error info. (#11678) --- .../2020-07-01-preview/appconfiguration.json | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2020-07-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2020-07-01-preview/appconfiguration.json index e8822e146841..1ac5977c5f1d 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2020-07-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2020-07-01-preview/appconfiguration.json @@ -1656,6 +1656,14 @@ "description": "Error message indicating why the operation failed.", "type": "string", "readOnly": true + }, + "additionalInfo": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ErrorAdditionalInfo" + }, + "description": "The error additional info." } } }, @@ -1669,6 +1677,21 @@ } } }, + "ErrorAdditionalInfo": { + "properties": { + "type": { + "readOnly": true, + "type": "string", + "description": "The additional info type." + }, + "info": { + "readOnly": true, + "type": "object", + "description": "The additional info." + } + }, + "description": "The resource management error additional info." + }, "Resource": { "description": "An Azure resource.", "required": [