Skip to content

Commit

Permalink
Adding new API for VMSS: ForceRecoveryServiceFabricPlatformUpdateDoma…
Browse files Browse the repository at this point in the history
…inWalk (#2390)
  • Loading branch information
pratnala authored and olydis committed Feb 1, 2018
1 parent fcceaef commit cdb7cc9
Showing 1 changed file with 64 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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."
Expand Down Expand Up @@ -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."
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -6866,4 +6927,4 @@
"description": "Client Api Version."
}
}
}
}

2 comments on commit cdb7cc9

@AutorestCI
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a commit to Azure/azure-sdk-for-python:
Azure/azure-sdk-for-python@20346fe

@AutorestCI
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was treated and no generation was made for Azure/azure-sdk-for-go

Please sign in to comment.