From f7475a752a8019712b1195cdf876d8cc169f4c08 Mon Sep 17 00:00:00 2001 From: Zhenfeng Date: Mon, 6 Jan 2020 17:40:46 -0800 Subject: [PATCH] [SRP] Add default response status code (#8065) * [SRP] Add response status code 404 * Add default response --- .../stable/2019-06-01/storage.json | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json index e457d4b98b7b..488dfd9635c8 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json @@ -162,6 +162,12 @@ }, "202": { "description": "Accepted -- Create or update request accepted; operation will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } }, "x-ms-long-running-operation": true @@ -245,6 +251,12 @@ "schema": { "$ref": "#/definitions/StorageAccount" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } }, @@ -291,6 +303,12 @@ "schema": { "$ref": "#/definitions/StorageAccount" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -457,6 +475,12 @@ "schema": { "$ref": "#/definitions/StorageAccountListKeysResult" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -666,6 +690,12 @@ "schema": { "$ref": "#/definitions/ManagementPolicy" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } }, @@ -712,6 +742,12 @@ "schema": { "$ref": "#/definitions/ManagementPolicy" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } },