diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfiguration.json index 97a8d76248a3..4770f383bf82 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfiguration.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfiguration.json @@ -102,14 +102,11 @@ "$ref": "./definitions.json#/definitions/softwareUpdateConfiguration" } }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Resource group or automation account does not exist." - }, - "409": { - "description": "A software update configuration with different properties and the same name already exist." + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "./definitions.json#/definitions/ErrorResponse" + } } } }, @@ -160,6 +157,12 @@ }, "404": { "description": "Resource group, account, or software update configuration doesn't exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "./definitions.json#/definitions/ErrorResponse" + } } } }, @@ -208,8 +211,11 @@ "204": { "description": "The software update configuration does not exist." }, - "404": { - "description": "Resource group, account, or software update configuration doesn't exist." + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "./definitions.json#/definitions/ErrorResponse" + } } } } @@ -265,6 +271,12 @@ }, "404": { "description": "Resource group, or account doesn't exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "./definitions.json#/definitions/ErrorResponse" + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationMachineRun.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationMachineRun.json index bf174d2466c2..a1afc2f3d588 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationMachineRun.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationMachineRun.json @@ -90,6 +90,12 @@ }, "404": { "description": "Resource group, account, or software update configuration machine run doesn't exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "./definitions.json#/definitions/ErrorResponse" + } } } } @@ -159,6 +165,12 @@ }, "404": { "description": "Resource group, or account doesn't exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "./definitions.json#/definitions/ErrorResponse" + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationRun.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationRun.json index f0f861f9190b..377b726909f7 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationRun.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationRun.json @@ -90,6 +90,12 @@ }, "404": { "description": "Resource group, account, or software update configuration doesn't exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "./definitions.json#/definitions/ErrorResponse" + } } } } @@ -159,6 +165,12 @@ }, "404": { "description": "Resource group, or account doesn't exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "./definitions.json#/definitions/ErrorResponse" + } } } }