From c0def97e9fc1e839db7727fd31c2f583f6cf04d6 Mon Sep 17 00:00:00 2001 From: Sachin Doddaiah Shylaja Date: Thu, 26 Apr 2018 17:49:23 -0700 Subject: [PATCH] updated OS Upgrade History API (cherry picked from commit e784ecac207c88dda10fa0986609907486994913) --- .../stable/2017-12-01/compute.json | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json index ad26dc7d1fc1..b25864f9c4fc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json @@ -7334,6 +7334,28 @@ ], "description": "The Virtual Machine Scale Set List Skus operation response." }, + "RollbackStatusInfo": { + "properties":{ + "successfullyRolledbackInstanceCount" : { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "The number of instances which have been successfully rolled back." + }, + "failedRolledbackInstanceCount" : { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "The number of instances which failed to rollback." + }, + "rollbackError" : { + "$ref": "#/definitions/ApiError", + "readOnly": true, + "description": "Error Details if OS rollback failed." + } + }, + "description": "Information about rollback on failed VM instances after a OS Upgrade operation" + }, "UpgradeOperationHistoryStatus": { "properties": { "code": { @@ -7401,6 +7423,11 @@ "$ref": "#/definitions/ImageReference", "readOnly": true, "description": "Image Reference details" + }, + "rollbackInfo": { + "$ref": "#/definitions/RollbackStatusInfo", + "readOnly": true, + "description": "Information about OS rollback if performed" } }, "description": "Describes each OS upgrade on the Virtual Machine Scale Set."