VirtualMachineScaleSetVMs interface

Methods

beginDeallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

beginDeallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

beginDeallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

beginDeallocateWithHttpOperationResponse

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

beginDeleteMethod

Deletes a virtual machine from a VM scale set.

beginDeleteMethod

Deletes a virtual machine from a VM scale set.

beginDeleteMethod

Deletes a virtual machine from a VM scale set.

beginDeleteMethodWithHttpOperationResponse

Deletes a virtual machine from a VM scale set.

beginPerformMaintenance

Performs maintenance on a virtual machine in a VM scale set.

beginPerformMaintenance

Performs maintenance on a virtual machine in a VM scale set.

beginPerformMaintenance

Performs maintenance on a virtual machine in a VM scale set.

beginPerformMaintenanceWithHttpOperationResponse

Performs maintenance on a virtual machine in a VM scale set.

beginPowerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

beginPowerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

beginPowerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

beginPowerOffWithHttpOperationResponse

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

beginRedeploy

Redeploys a virtual machine in a VM scale set.

beginRedeploy

Redeploys a virtual machine in a VM scale set.

beginRedeploy

Redeploys a virtual machine in a VM scale set.

beginRedeployWithHttpOperationResponse

Redeploys a virtual machine in a VM scale set.

beginReimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

beginReimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

beginReimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

beginReimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

beginReimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

beginReimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

beginReimageAllWithHttpOperationResponse

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

beginReimageWithHttpOperationResponse

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

beginRestart

Restarts a virtual machine in a VM scale set.

beginRestart

Restarts a virtual machine in a VM scale set.

beginRestart

Restarts a virtual machine in a VM scale set.

beginRestartWithHttpOperationResponse

Restarts a virtual machine in a VM scale set.

beginRunCommand

Run command on a virtual machine in a VM scale set.

beginRunCommand

Run command on a virtual machine in a VM scale set.

beginRunCommand

Run command on a virtual machine in a VM scale set.

beginRunCommandWithHttpOperationResponse

Run command on a virtual machine in a VM scale set.

beginStart

Starts a virtual machine in a VM scale set.

beginStart

Starts a virtual machine in a VM scale set.

beginStart

Starts a virtual machine in a VM scale set.

beginStartWithHttpOperationResponse

Starts a virtual machine in a VM scale set.

beginUpdate

Updates a virtual machine of a VM scale set.

beginUpdate

Updates a virtual machine of a VM scale set.

beginUpdate

Updates a virtual machine of a VM scale set.

beginUpdateWithHttpOperationResponse

Updates a virtual machine of a VM scale set.

deallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

deallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

deallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

deallocateWithHttpOperationResponse

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

deleteMethod

Deletes a virtual machine from a VM scale set.

deleteMethod

Deletes a virtual machine from a VM scale set.

deleteMethod

Deletes a virtual machine from a VM scale set.

deleteMethodWithHttpOperationResponse

Deletes a virtual machine from a VM scale set.

get

Gets a virtual machine from a VM scale set.

get

Gets a virtual machine from a VM scale set.

get

Gets a virtual machine from a VM scale set.

getInstanceView

Gets the status of a virtual machine from a VM scale set.

getInstanceView

Gets the status of a virtual machine from a VM scale set.

getInstanceView

Gets the status of a virtual machine from a VM scale set.

getInstanceViewWithHttpOperationResponse

Gets the status of a virtual machine from a VM scale set.

getWithHttpOperationResponse

Gets a virtual machine from a VM scale set.

list

Gets a list of all virtual machines in a VM scale sets.

list

Gets a list of all virtual machines in a VM scale sets.

list

Gets a list of all virtual machines in a VM scale sets.

listNext

Gets a list of all virtual machines in a VM scale sets.

listNext

Gets a list of all virtual machines in a VM scale sets.

listNext

Gets a list of all virtual machines in a VM scale sets.

listNextWithHttpOperationResponse

Gets a list of all virtual machines in a VM scale sets.

listWithHttpOperationResponse

Gets a list of all virtual machines in a VM scale sets.

performMaintenance

Performs maintenance on a virtual machine in a VM scale set.

performMaintenance

Performs maintenance on a virtual machine in a VM scale set.

performMaintenance

Performs maintenance on a virtual machine in a VM scale set.

performMaintenanceWithHttpOperationResponse

Performs maintenance on a virtual machine in a VM scale set.

powerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

powerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

powerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

powerOffWithHttpOperationResponse

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

redeploy

Redeploys a virtual machine in a VM scale set.

redeploy

Redeploys a virtual machine in a VM scale set.

redeploy

Redeploys a virtual machine in a VM scale set.

redeployWithHttpOperationResponse

Redeploys a virtual machine in a VM scale set.

reimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

reimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

reimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

reimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

reimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

reimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

reimageAllWithHttpOperationResponse

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

reimageWithHttpOperationResponse

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

restart

Restarts a virtual machine in a VM scale set.

restart

Restarts a virtual machine in a VM scale set.

restart

Restarts a virtual machine in a VM scale set.

restartWithHttpOperationResponse

Restarts a virtual machine in a VM scale set.

runCommand

Run command on a virtual machine in a VM scale set.

runCommand

Run command on a virtual machine in a VM scale set.

runCommand

Run command on a virtual machine in a VM scale set.

runCommandWithHttpOperationResponse

Run command on a virtual machine in a VM scale set.

start

Starts a virtual machine in a VM scale set.

start

Starts a virtual machine in a VM scale set.

start

Starts a virtual machine in a VM scale set.

startWithHttpOperationResponse

Starts a virtual machine in a VM scale set.

update

Updates a virtual machine of a VM scale set.

update

Updates a virtual machine of a VM scale set.

update

Updates a virtual machine of a VM scale set.

updateWithHttpOperationResponse

Updates a virtual machine of a VM scale set.

Method Details

beginDeallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

function beginDeallocate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

beginDeallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

function beginDeallocate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

beginDeallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

function beginDeallocate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

beginDeallocateWithHttpOperationResponse

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

function beginDeallocateWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

beginDeleteMethod

Deletes a virtual machine from a VM scale set.

function beginDeleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

beginDeleteMethod

Deletes a virtual machine from a VM scale set.

function beginDeleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

beginDeleteMethod

Deletes a virtual machine from a VM scale set.

function beginDeleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

beginDeleteMethodWithHttpOperationResponse

Deletes a virtual machine from a VM scale set.

function beginDeleteMethodWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

beginPerformMaintenance

Performs maintenance on a virtual machine in a VM scale set.

function beginPerformMaintenance(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

beginPerformMaintenance

Performs maintenance on a virtual machine in a VM scale set.

function beginPerformMaintenance(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

beginPerformMaintenance

Performs maintenance on a virtual machine in a VM scale set.

function beginPerformMaintenance(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

beginPerformMaintenanceWithHttpOperationResponse

Performs maintenance on a virtual machine in a VM scale set.

function beginPerformMaintenanceWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

beginPowerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

function beginPowerOff(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

beginPowerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

function beginPowerOff(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

beginPowerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

function beginPowerOff(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

beginPowerOffWithHttpOperationResponse

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

function beginPowerOffWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

beginRedeploy

Redeploys a virtual machine in a VM scale set.

function beginRedeploy(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

beginRedeploy

Redeploys a virtual machine in a VM scale set.

function beginRedeploy(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

beginRedeploy

Redeploys a virtual machine in a VM scale set.

function beginRedeploy(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

beginRedeployWithHttpOperationResponse

Redeploys a virtual machine in a VM scale set.

function beginRedeployWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

beginReimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

function beginReimage(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

beginReimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

function beginReimage(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

beginReimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

function beginReimage(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

beginReimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

function beginReimageAll(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

beginReimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

function beginReimageAll(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

beginReimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

function beginReimageAll(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

beginReimageAllWithHttpOperationResponse

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

function beginReimageAllWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

beginReimageWithHttpOperationResponse

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

function beginReimageWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

beginRestart

Restarts a virtual machine in a VM scale set.

function beginRestart(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

beginRestart

Restarts a virtual machine in a VM scale set.

function beginRestart(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

beginRestart

Restarts a virtual machine in a VM scale set.

function beginRestart(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

beginRestartWithHttpOperationResponse

Restarts a virtual machine in a VM scale set.

function beginRestartWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

beginRunCommand

Run command on a virtual machine in a VM scale set.

function beginRunCommand(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: RunCommandInput, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

parameters
RunCommandInput

Parameters supplied to the Run command operation.

options
Object
Returns
Promise<RunCommandResult>

beginRunCommand

Run command on a virtual machine in a VM scale set.

function beginRunCommand(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: RunCommandInput, options: Object, callback: ServiceCallback<RunCommandResult>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
parameters
RunCommandInput
options
Object
callback
ServiceCallback<RunCommandResult>
Returns
Promise<RunCommandResult>

beginRunCommand

Run command on a virtual machine in a VM scale set.

function beginRunCommand(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: RunCommandInput, callback: ServiceCallback<RunCommandResult>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
parameters
RunCommandInput
callback
ServiceCallback<RunCommandResult>
Returns
Promise<RunCommandResult>

beginRunCommandWithHttpOperationResponse

Run command on a virtual machine in a VM scale set.

function beginRunCommandWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: RunCommandInput, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

parameters
RunCommandInput

Parameters supplied to the Run command operation.

options
Object
Returns
Promise<HttpOperationResponse<RunCommandResult>>

beginStart

Starts a virtual machine in a VM scale set.

function beginStart(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

beginStart

Starts a virtual machine in a VM scale set.

function beginStart(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

beginStart

Starts a virtual machine in a VM scale set.

function beginStart(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

beginStartWithHttpOperationResponse

Starts a virtual machine in a VM scale set.

function beginStartWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

beginUpdate

Updates a virtual machine of a VM scale set.

function beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: VirtualMachineScaleSetVM, callback: ServiceCallback<VirtualMachineScaleSetVM>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<VirtualMachineScaleSetVM>
Returns

beginUpdate

Updates a virtual machine of a VM scale set.

function beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: VirtualMachineScaleSetVM, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set where the extension should be create or updated.

instanceId
string

The instance ID of the virtual machine.

parameters
VirtualMachineScaleSetVM

Parameters supplied to the Update Virtual Machine Scale Sets VM operation.

options
Object
Returns

beginUpdate

Updates a virtual machine of a VM scale set.

function beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: VirtualMachineScaleSetVM, options: Object, callback: ServiceCallback<VirtualMachineScaleSetVM>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<VirtualMachineScaleSetVM>
Returns

beginUpdateWithHttpOperationResponse

Updates a virtual machine of a VM scale set.

function beginUpdateWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: VirtualMachineScaleSetVM, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set where the extension should be create or updated.

instanceId
string

The instance ID of the virtual machine.

parameters
VirtualMachineScaleSetVM

Parameters supplied to the Update Virtual Machine Scale Sets VM operation.

options
Object
Returns
Promise<HttpOperationResponse<VirtualMachineScaleSetVM>>

deallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

function deallocate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

deallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

function deallocate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

deallocate

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

function deallocate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

deallocateWithHttpOperationResponse

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

function deallocateWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

deleteMethod

Deletes a virtual machine from a VM scale set.

function deleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

deleteMethod

Deletes a virtual machine from a VM scale set.

function deleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

deleteMethod

Deletes a virtual machine from a VM scale set.

function deleteMethod(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

deleteMethodWithHttpOperationResponse

Deletes a virtual machine from a VM scale set.

function deleteMethodWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

get

Gets a virtual machine from a VM scale set.

function get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns

get

Gets a virtual machine from a VM scale set.

function get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<VirtualMachineScaleSetVM>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<VirtualMachineScaleSetVM>
Returns

get

Gets a virtual machine from a VM scale set.

function get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<VirtualMachineScaleSetVM>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<VirtualMachineScaleSetVM>
Returns

getInstanceView

Gets the status of a virtual machine from a VM scale set.

function getInstanceView(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns

getInstanceView

Gets the status of a virtual machine from a VM scale set.

function getInstanceView(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<VirtualMachineScaleSetVMInstanceView>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<VirtualMachineScaleSetVMInstanceView>
Returns

getInstanceView

Gets the status of a virtual machine from a VM scale set.

function getInstanceView(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<VirtualMachineScaleSetVMInstanceView>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<VirtualMachineScaleSetVMInstanceView>
Returns

getInstanceViewWithHttpOperationResponse

Gets the status of a virtual machine from a VM scale set.

function getInstanceViewWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<VirtualMachineScaleSetVMInstanceView>>

getWithHttpOperationResponse

Gets a virtual machine from a VM scale set.

function getWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<VirtualMachineScaleSetVM>>

list

Gets a list of all virtual machines in a VM scale sets.

function list(resourceGroupName: string, virtualMachineScaleSetName: string, callback: ServiceCallback<VirtualMachineScaleSetVMListResult>)
Parameters
resourceGroupName
string
virtualMachineScaleSetName
string
callback
ServiceCallback<VirtualMachineScaleSetVMListResult>
Returns

list

Gets a list of all virtual machines in a VM scale sets.

function list(resourceGroupName: string, virtualMachineScaleSetName: string, options: Object, callback: ServiceCallback<VirtualMachineScaleSetVMListResult>)
Parameters
resourceGroupName
string
virtualMachineScaleSetName
string
options
Object
callback
ServiceCallback<VirtualMachineScaleSetVMListResult>
Returns

list

Gets a list of all virtual machines in a VM scale sets.

function list(resourceGroupName: string, virtualMachineScaleSetName: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

virtualMachineScaleSetName
string

The name of the VM scale set.

options
Object
Returns

listNext

Gets a list of all virtual machines in a VM scale sets.

function listNext(nextPageLink: string, options?: Object)
Parameters
nextPageLink
string

The NextLink from the previous successful call to List operation.

options
Object
Returns

listNext

Gets a list of all virtual machines in a VM scale sets.

function listNext(nextPageLink: string, callback: ServiceCallback<VirtualMachineScaleSetVMListResult>)
Parameters
nextPageLink
string
callback
ServiceCallback<VirtualMachineScaleSetVMListResult>
Returns

listNext

Gets a list of all virtual machines in a VM scale sets.

function listNext(nextPageLink: string, options: Object, callback: ServiceCallback<VirtualMachineScaleSetVMListResult>)
Parameters
nextPageLink
string
options
Object
callback
ServiceCallback<VirtualMachineScaleSetVMListResult>
Returns

listNextWithHttpOperationResponse

Gets a list of all virtual machines in a VM scale sets.

function listNextWithHttpOperationResponse(nextPageLink: string, options?: Object)
Parameters
nextPageLink
string

The NextLink from the previous successful call to List operation.

options
Object
Returns
Promise<HttpOperationResponse<VirtualMachineScaleSetVMListResult>>

listWithHttpOperationResponse

Gets a list of all virtual machines in a VM scale sets.

function listWithHttpOperationResponse(resourceGroupName: string, virtualMachineScaleSetName: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

virtualMachineScaleSetName
string

The name of the VM scale set.

options
Object
Returns
Promise<HttpOperationResponse<VirtualMachineScaleSetVMListResult>>

performMaintenance

Performs maintenance on a virtual machine in a VM scale set.

function performMaintenance(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

performMaintenance

Performs maintenance on a virtual machine in a VM scale set.

function performMaintenance(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

performMaintenance

Performs maintenance on a virtual machine in a VM scale set.

function performMaintenance(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

performMaintenanceWithHttpOperationResponse

Performs maintenance on a virtual machine in a VM scale set.

function performMaintenanceWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

powerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

function powerOff(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

powerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

function powerOff(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

powerOff

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

function powerOff(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

powerOffWithHttpOperationResponse

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

function powerOffWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

redeploy

Redeploys a virtual machine in a VM scale set.

function redeploy(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

redeploy

Redeploys a virtual machine in a VM scale set.

function redeploy(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

redeploy

Redeploys a virtual machine in a VM scale set.

function redeploy(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

redeployWithHttpOperationResponse

Redeploys a virtual machine in a VM scale set.

function redeployWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

reimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

function reimage(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

reimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

function reimage(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

reimage

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

function reimage(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

reimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

function reimageAll(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

reimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

function reimageAll(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

reimageAll

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

function reimageAll(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

reimageAllWithHttpOperationResponse

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

function reimageAllWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

reimageWithHttpOperationResponse

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

function reimageWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

restart

Restarts a virtual machine in a VM scale set.

function restart(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

restart

Restarts a virtual machine in a VM scale set.

function restart(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

restart

Restarts a virtual machine in a VM scale set.

function restart(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

restartWithHttpOperationResponse

Restarts a virtual machine in a VM scale set.

function restartWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

runCommand

Run command on a virtual machine in a VM scale set.

function runCommand(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: RunCommandInput, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

parameters
RunCommandInput

Parameters supplied to the Run command operation.

options
Object
Returns
Promise<RunCommandResult>

runCommand

Run command on a virtual machine in a VM scale set.

function runCommand(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: RunCommandInput, callback: ServiceCallback<RunCommandResult>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
parameters
RunCommandInput
callback
ServiceCallback<RunCommandResult>
Returns
Promise<RunCommandResult>

runCommand

Run command on a virtual machine in a VM scale set.

function runCommand(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: RunCommandInput, options: Object, callback: ServiceCallback<RunCommandResult>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
parameters
RunCommandInput
options
Object
callback
ServiceCallback<RunCommandResult>
Returns
Promise<RunCommandResult>

runCommandWithHttpOperationResponse

Run command on a virtual machine in a VM scale set.

function runCommandWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: RunCommandInput, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

parameters
RunCommandInput

Parameters supplied to the Run command operation.

options
Object
Returns
Promise<HttpOperationResponse<RunCommandResult>>

start

Starts a virtual machine in a VM scale set.

function start(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<void>

start

Starts a virtual machine in a VM scale set.

function start(resourceGroupName: string, vmScaleSetName: string, instanceId: string, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<void>
Returns
Promise<void>

start

Starts a virtual machine in a VM scale set.

function start(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options: Object, callback: ServiceCallback<void>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<void>
Returns
Promise<void>

startWithHttpOperationResponse

Starts a virtual machine in a VM scale set.

function startWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set.

instanceId
string

The instance ID of the virtual machine.

options
Object
Returns
Promise<HttpOperationResponse<void>>

update

Updates a virtual machine of a VM scale set.

function update(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: VirtualMachineScaleSetVM, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set where the extension should be create or updated.

instanceId
string

The instance ID of the virtual machine.

parameters
VirtualMachineScaleSetVM

Parameters supplied to the Update Virtual Machine Scale Sets VM operation.

options
Object
Returns

update

Updates a virtual machine of a VM scale set.

function update(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: VirtualMachineScaleSetVM, callback: ServiceCallback<VirtualMachineScaleSetVM>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
callback
ServiceCallback<VirtualMachineScaleSetVM>
Returns

update

Updates a virtual machine of a VM scale set.

function update(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: VirtualMachineScaleSetVM, options: Object, callback: ServiceCallback<VirtualMachineScaleSetVM>)
Parameters
resourceGroupName
string
vmScaleSetName
string
instanceId
string
options
Object
callback
ServiceCallback<VirtualMachineScaleSetVM>
Returns

updateWithHttpOperationResponse

Updates a virtual machine of a VM scale set.

function updateWithHttpOperationResponse(resourceGroupName: string, vmScaleSetName: string, instanceId: string, parameters: VirtualMachineScaleSetVM, options?: Object)
Parameters
resourceGroupName
string

The name of the resource group.

vmScaleSetName
string

The name of the VM scale set where the extension should be create or updated.

instanceId
string

The instance ID of the virtual machine.

parameters
VirtualMachineScaleSetVM

Parameters supplied to the Update Virtual Machine Scale Sets VM operation.

options
Object
Returns
Promise<HttpOperationResponse<VirtualMachineScaleSetVM>>