From cdb7cc92d3b20bf65406a58ba4db5e060f3117af Mon Sep 17 00:00:00 2001 From: Pratyush Nalam Date: Wed, 31 Jan 2018 16:29:04 -0800 Subject: [PATCH] Adding new API for VMSS: ForceRecoveryServiceFabricPlatformUpdateDomainWalk (#2390) --- .../stable/2017-12-01/compute.json | 67 ++++++++++++++++++- 1 file changed, 64 insertions(+), 3 deletions(-) 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 d2401ff93da5..87f4b839e717 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 @@ -2970,6 +2970,52 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk": { + "post":{ + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk", + "description": "Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VM scale set." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "platformUpdateDomain", + "in": "query", + "required": true, + "type": "integer", + "description": "The platform update domain for which a manual recovery walk is requested" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecoveryWalkResponse" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimage": { "post": { "tags": [ @@ -4882,7 +4928,7 @@ "osName": { "type": "string", "description": "The Operating System running on the virtual machine." - }, + }, "osVersion": { "type": "string", "description": "The version of Operating System running on the virtual machine." @@ -5491,7 +5537,7 @@ "writeAcceleratorEnabled": { "type": "boolean", "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." - }, + }, "createOption": { "$ref": "#/definitions/CreateOption", "description": "The create option." @@ -6817,6 +6863,21 @@ }, "x-ms-azure-resource": true }, + "RecoveryWalkResponse": { + "properties": { + "walkPerformed": { + "type": "boolean", + "readOnly": true, + "description": "Whether the recovery walk was performed" + }, + "nextPlatformUpdateDomain": { + "type": "integer", + "readOnly": true, + "description": "The next update domain that needs to be walked. Null means walk spanning all update domains has been completed" + } + }, + "description": "Response after calling a manual recovery walk" + }, "OperationStatusResponse": { "properties": { "name": { @@ -6866,4 +6927,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +}