VirtualMachineScaleSetVMsClient Interface

public interface VirtualMachineScaleSetVMsClient

An instance of this class provides access to all the operations defined in VirtualMachineScaleSetVMsClient.

Method Summary

Modifier and Type Method and Description
abstract void approveRollingUpgrade(String resourceGroupName, String vmScaleSetName, String instanceId)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

abstract void approveRollingUpgrade(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

abstract Mono<Void> approveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

abstract Mono<Response<Flux<ByteBuffer>>> approveRollingUpgradeWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

abstract StorageProfile attachDetachDataDisks(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from a virtual machine in a VM scale set.

abstract StorageProfile attachDetachDataDisks(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters, Context context)

Attach and detach data disks to/from a virtual machine in a VM scale set.

abstract Mono<StorageProfile> attachDetachDataDisksAsync(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from a virtual machine in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> attachDetachDataDisksWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from a virtual machine in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginApproveRollingUpgrade(String resourceGroupName, String vmScaleSetName, String instanceId)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

abstract SyncPoller<PollResult<Void>,Void> beginApproveRollingUpgrade(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

abstract PollerFlux<PollResult<Void>,Void> beginApproveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

abstract SyncPoller<PollResult<StorageProfile>,StorageProfile> beginAttachDetachDataDisks(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from a virtual machine in a VM scale set.

abstract SyncPoller<PollResult<StorageProfile>,StorageProfile> beginAttachDetachDataDisks(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters, Context context)

Attach and detach data disks to/from a virtual machine in a VM scale set.

abstract PollerFlux<PollResult<StorageProfile>,StorageProfile> beginAttachDetachDataDisksAsync(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from a virtual machine in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, String instanceId)

Deallocates a specific virtual machine in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Deallocates a specific virtual machine in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginDeallocateAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Deallocates a specific virtual machine in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId)

Deletes a virtual machine from a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean forceDeletion, Context context)

Deletes a virtual machine from a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Deletes a virtual machine from a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean forceDeletion)

Deletes a virtual machine from a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract SyncPoller<PollResult<Void>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

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

abstract PollerFlux<PollResult<Void>,Void> beginPerformMaintenanceAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract SyncPoller<PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, String instanceId)

Power off (stop) a virtual machine in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown, Context context)

Power off (stop) a virtual machine in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginPowerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Power off (stop) a virtual machine in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginPowerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)

Power off (stop) a virtual machine in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, String instanceId)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

abstract SyncPoller<PollResult<Void>,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

abstract PollerFlux<PollResult<Void>,Void> beginRedeployAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

abstract SyncPoller<PollResult<Void>,Void> beginReimage(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract SyncPoller<PollResult<Void>,Void> beginReimage(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput, Context context)

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

abstract SyncPoller<PollResult<Void>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, String instanceId)

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.

abstract SyncPoller<PollResult<Void>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.

abstract PollerFlux<PollResult<Void>,Void> beginReimageAllAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.

abstract PollerFlux<PollResult<Void>,Void> beginReimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract PollerFlux<PollResult<Void>,Void> beginReimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput)

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

abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String vmScaleSetName, String instanceId)

Restarts a virtual machine in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Restarts a virtual machine in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Restarts a virtual machine in a VM scale set.

abstract SyncPoller<PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)

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

abstract SyncPoller<PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters, Context context)

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

abstract PollerFlux<PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommandAsync(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)

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

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String vmScaleSetName, String instanceId)

Starts a virtual machine in a VM scale set.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Starts a virtual machine in a VM scale set.

abstract PollerFlux<PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Starts a virtual machine in a VM scale set.

abstract SyncPoller<PollResult<VirtualMachineScaleSetVMInner>,VirtualMachineScaleSetVMInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)

Updates a virtual machine of a VM scale set.

abstract SyncPoller<PollResult<VirtualMachineScaleSetVMInner>,VirtualMachineScaleSetVMInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, String ifMatch, String ifNoneMatch, Context context)

Updates a virtual machine of a VM scale set.

abstract PollerFlux<PollResult<VirtualMachineScaleSetVMInner>,VirtualMachineScaleSetVMInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)

Updates a virtual machine of a VM scale set.

abstract PollerFlux<PollResult<VirtualMachineScaleSetVMInner>,VirtualMachineScaleSetVMInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, String ifMatch, String ifNoneMatch)

Updates a virtual machine of a VM scale set.

abstract void deallocate(String resourceGroupName, String vmScaleSetName, String instanceId)

Deallocates a specific virtual machine in a VM scale set.

abstract void deallocate(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Deallocates a specific virtual machine in a VM scale set.

abstract Mono<Void> deallocateAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Deallocates a specific virtual machine in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> deallocateWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Deallocates a specific virtual machine in a VM scale set.

abstract void delete(String resourceGroupName, String vmScaleSetName, String instanceId)

Deletes a virtual machine from a VM scale set.

abstract void delete(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean forceDeletion, Context context)

Deletes a virtual machine from a VM scale set.

abstract Mono<Void> deleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Deletes a virtual machine from a VM scale set.

abstract Mono<Void> deleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean forceDeletion)

Deletes a virtual machine from a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean forceDeletion)

Deletes a virtual machine from a VM scale set.

abstract VirtualMachineScaleSetVMInner get(String resourceGroupName, String vmScaleSetName, String instanceId)

Gets a virtual machine from a VM scale set.

abstract Mono<VirtualMachineScaleSetVMInner> getAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Gets a virtual machine from a VM scale set.

abstract VirtualMachineScaleSetVMInstanceViewInner getInstanceView(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract Mono<VirtualMachineScaleSetVMInstanceViewInner> getInstanceViewAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract Response<VirtualMachineScaleSetVMInstanceViewInner> getInstanceViewWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

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

abstract Mono<Response<VirtualMachineScaleSetVMInstanceViewInner>> getInstanceViewWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract Response<VirtualMachineScaleSetVMInner> getWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, InstanceViewTypes expand, Context context)

Gets a virtual machine from a VM scale set.

abstract Mono<Response<VirtualMachineScaleSetVMInner>> getWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, InstanceViewTypes expand)

Gets a virtual machine from a VM scale set.

abstract PagedIterable<VirtualMachineScaleSetVMInner> list(String resourceGroupName, String virtualMachineScaleSetName)

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

abstract PagedIterable<VirtualMachineScaleSetVMInner> list(String resourceGroupName, String virtualMachineScaleSetName, String filter, String select, String expand, Context context)

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

abstract PagedFlux<VirtualMachineScaleSetVMInner> listAsync(String resourceGroupName, String virtualMachineScaleSetName)

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

abstract PagedFlux<VirtualMachineScaleSetVMInner> listAsync(String resourceGroupName, String virtualMachineScaleSetName, String filter, String select, String expand)

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

abstract void performMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract void performMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

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

abstract Mono<Void> performMaintenanceAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract Mono<Response<Flux<ByteBuffer>>> performMaintenanceWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract void powerOff(String resourceGroupName, String vmScaleSetName, String instanceId)

Power off (stop) a virtual machine in a VM scale set.

abstract void powerOff(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown, Context context)

Power off (stop) a virtual machine in a VM scale set.

abstract Mono<Void> powerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Power off (stop) a virtual machine in a VM scale set.

abstract Mono<Void> powerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)

Power off (stop) a virtual machine in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> powerOffWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)

Power off (stop) a virtual machine in a VM scale set.

abstract void redeploy(String resourceGroupName, String vmScaleSetName, String instanceId)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

abstract void redeploy(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

abstract Mono<Void> redeployAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

abstract Mono<Response<Flux<ByteBuffer>>> redeployWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

abstract void reimage(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract void reimage(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput, Context context)

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

abstract void reimageAll(String resourceGroupName, String vmScaleSetName, String instanceId)

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.

abstract void reimageAll(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.

abstract Mono<Void> reimageAllAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.

abstract Mono<Response<Flux<ByteBuffer>>> reimageAllWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance.

abstract Mono<Void> reimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

abstract Mono<Void> reimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput)

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

abstract Mono<Response<Flux<ByteBuffer>>> reimageWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput)

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

abstract void restart(String resourceGroupName, String vmScaleSetName, String instanceId)

Restarts a virtual machine in a VM scale set.

abstract void restart(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Restarts a virtual machine in a VM scale set.

abstract Mono<Void> restartAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Restarts a virtual machine in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Restarts a virtual machine in a VM scale set.

abstract RetrieveBootDiagnosticsDataResultInner retrieveBootDiagnosticsData(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.

abstract Mono<RetrieveBootDiagnosticsDataResultInner> retrieveBootDiagnosticsDataAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.

abstract Response<RetrieveBootDiagnosticsDataResultInner> retrieveBootDiagnosticsDataWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, Integer sasUriExpirationTimeInMinutes, Context context)

The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.

abstract Mono<Response<RetrieveBootDiagnosticsDataResultInner>> retrieveBootDiagnosticsDataWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Integer sasUriExpirationTimeInMinutes)

The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.

abstract RunCommandResultInner runCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)

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

abstract RunCommandResultInner runCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters, Context context)

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

abstract Mono<RunCommandResultInner> runCommandAsync(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)

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

abstract Mono<Response<Flux<ByteBuffer>>> runCommandWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)

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

abstract void simulateEviction(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to simulate the eviction of spot virtual machine in a VM scale set.

abstract Mono<Void> simulateEvictionAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to simulate the eviction of spot virtual machine in a VM scale set.

abstract Response<Void> simulateEvictionWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

The operation to simulate the eviction of spot virtual machine in a VM scale set.

abstract Mono<Response<Void>> simulateEvictionWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to simulate the eviction of spot virtual machine in a VM scale set.

abstract void start(String resourceGroupName, String vmScaleSetName, String instanceId)

Starts a virtual machine in a VM scale set.

abstract void start(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Starts a virtual machine in a VM scale set.

abstract Mono<Void> startAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Starts a virtual machine in a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Starts a virtual machine in a VM scale set.

abstract VirtualMachineScaleSetVMInner update(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)

Updates a virtual machine of a VM scale set.

abstract VirtualMachineScaleSetVMInner update(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, String ifMatch, String ifNoneMatch, Context context)

Updates a virtual machine of a VM scale set.

abstract Mono<VirtualMachineScaleSetVMInner> updateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)

Updates a virtual machine of a VM scale set.

abstract Mono<VirtualMachineScaleSetVMInner> updateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, String ifMatch, String ifNoneMatch)

Updates a virtual machine of a VM scale set.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, String ifMatch, String ifNoneMatch)

Updates a virtual machine of a VM scale set.

Method Details

approveRollingUpgrade

public abstract void approveRollingUpgrade(String resourceGroupName, String vmScaleSetName, String instanceId)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

approveRollingUpgrade

public abstract void approveRollingUpgrade(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

approveRollingUpgradeAsync

public abstract Mono approveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

approveRollingUpgradeWithResponseAsync

public abstract Mono<><>>> approveRollingUpgradeWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

attachDetachDataDisks

public abstract StorageProfile attachDetachDataDisks(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on a Virtual Machine Scale Sets VM.

Returns:

specifies the storage settings for the virtual machine disks.

attachDetachDataDisks

public abstract StorageProfile attachDetachDataDisks(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters, Context context)

Attach and detach data disks to/from a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on a Virtual Machine Scale Sets VM.
context - The context to associate with this operation.

Returns:

specifies the storage settings for the virtual machine disks.

attachDetachDataDisksAsync

public abstract Mono attachDetachDataDisksAsync(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on a Virtual Machine Scale Sets VM.

Returns:

specifies the storage settings for the virtual machine disks on successful completion of Mono.

attachDetachDataDisksWithResponseAsync

public abstract Mono<><>>> attachDetachDataDisksWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on a Virtual Machine Scale Sets VM.

Returns:

specifies the storage settings for the virtual machine disks along with Response<T> on successful completion of Mono.

beginApproveRollingUpgrade

public abstract SyncPoller<>,Void> beginApproveRollingUpgrade(String resourceGroupName, String vmScaleSetName, String instanceId)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginApproveRollingUpgrade

public abstract SyncPoller<>,Void> beginApproveRollingUpgrade(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginApproveRollingUpgradeAsync

public abstract PollerFlux<>,Void> beginApproveRollingUpgradeAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginAttachDetachDataDisks

public abstract SyncPoller<>,StorageProfile> beginAttachDetachDataDisks(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on a Virtual Machine Scale Sets VM.

Returns:

the SyncPoller<T,U> for polling of specifies the storage settings for the virtual machine disks.

beginAttachDetachDataDisks

public abstract SyncPoller<>,StorageProfile> beginAttachDetachDataDisks(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters, Context context)

Attach and detach data disks to/from a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on a Virtual Machine Scale Sets VM.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of specifies the storage settings for the virtual machine disks.

beginAttachDetachDataDisksAsync

public abstract PollerFlux<>,StorageProfile> beginAttachDetachDataDisksAsync(String resourceGroupName, String vmScaleSetName, String instanceId, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on a Virtual Machine Scale Sets VM.

Returns:

the PollerFlux<T,U> for polling of specifies the storage settings for the virtual machine disks.

beginDeallocate

public abstract SyncPoller<>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeallocate

public abstract SyncPoller<>,Void> beginDeallocate(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeallocateAsync

public abstract PollerFlux<>,Void> beginDeallocateAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId)

Deletes a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean forceDeletion, Context context)

Deletes a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
forceDeletion - Optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview).
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux<>,Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Deletes a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux<>,Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean forceDeletion)

Deletes a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
forceDeletion - Optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview).

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginPerformMaintenance

public abstract SyncPoller<>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginPerformMaintenance

public abstract SyncPoller<>,Void> beginPerformMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginPerformMaintenanceAsync

public abstract PollerFlux<>,Void> beginPerformMaintenanceAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginPowerOff

public abstract SyncPoller<>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginPowerOff

public abstract SyncPoller<>,Void> beginPowerOff(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
skipShutdown - The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginPowerOffAsync

public abstract PollerFlux<>,Void> beginPowerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginPowerOffAsync

public abstract PollerFlux<>,Void> beginPowerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
skipShutdown - The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginRedeploy

public abstract SyncPoller<>,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, String instanceId)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRedeploy

public abstract SyncPoller<>,Void> beginRedeploy(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRedeployAsync

public abstract PollerFlux<>,Void> beginRedeployAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginReimage

public abstract SyncPoller<>,Void> beginReimage(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginReimage

public abstract SyncPoller<>,Void> beginReimage(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
vmScaleSetVMReimageInput - Parameters for the Reimaging Virtual machine in ScaleSet.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginReimageAll

public abstract SyncPoller<>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginReimageAll

public abstract SyncPoller<>,Void> beginReimageAll(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginReimageAllAsync

public abstract PollerFlux<>,Void> beginReimageAllAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginReimageAsync

public abstract PollerFlux<>,Void> beginReimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginReimageAsync

public abstract PollerFlux<>,Void> beginReimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
vmScaleSetVMReimageInput - Parameters for the Reimaging Virtual machine in ScaleSet.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginRestart

public abstract SyncPoller<>,Void> beginRestart(String resourceGroupName, String vmScaleSetName, String instanceId)

Restarts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRestart

public abstract SyncPoller<>,Void> beginRestart(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Restarts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRestartAsync

public abstract PollerFlux<>,Void> beginRestartAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Restarts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginRunCommand

public abstract SyncPoller<>,RunCommandResultInner> beginRunCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Run command operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRunCommand

public abstract SyncPoller<>,RunCommandResultInner> beginRunCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Run command operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRunCommandAsync

public abstract PollerFlux<>,RunCommandResultInner> beginRunCommandAsync(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Run command operation.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller<>,Void> beginStart(String resourceGroupName, String vmScaleSetName, String instanceId)

Starts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller<>,Void> beginStart(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Starts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStartAsync

public abstract PollerFlux<>,Void> beginStartAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Starts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<>,VirtualMachineScaleSetVMInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)

Updates a virtual machine of a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine Scale Sets VM operation.

Returns:

the SyncPoller<T,U> for polling of describes a virtual machine scale set virtual machine.

beginUpdate

public abstract SyncPoller<>,VirtualMachineScaleSetVMInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, String ifMatch, String ifNoneMatch, Context context)

Updates a virtual machine of a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine Scale Sets VM operation.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of describes a virtual machine scale set virtual machine.

beginUpdateAsync

public abstract PollerFlux<>,VirtualMachineScaleSetVMInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)

Updates a virtual machine of a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine Scale Sets VM operation.

Returns:

the PollerFlux<T,U> for polling of describes a virtual machine scale set virtual machine.

beginUpdateAsync

public abstract PollerFlux<>,VirtualMachineScaleSetVMInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, String ifMatch, String ifNoneMatch)

Updates a virtual machine of a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine Scale Sets VM operation.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.

Returns:

the PollerFlux<T,U> for polling of describes a virtual machine scale set virtual machine.

deallocate

public abstract void deallocate(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

deallocate

public abstract void deallocate(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

deallocateAsync

public abstract Mono deallocateAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

deallocateWithResponseAsync

public abstract Mono<><>>> deallocateWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String vmScaleSetName, String instanceId)

Deletes a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

delete

public abstract void delete(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean forceDeletion, Context context)

Deletes a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
forceDeletion - Optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview).
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Deletes a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean forceDeletion)

Deletes a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
forceDeletion - Optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview).

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono<><>>> deleteWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean forceDeletion)

Deletes a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
forceDeletion - Optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview).

Returns:

the Response<T> on successful completion of Mono.

get

public abstract VirtualMachineScaleSetVMInner get(String resourceGroupName, String vmScaleSetName, String instanceId)

Gets a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

a virtual machine from a VM scale set.

getAsync

public abstract Mono getAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Gets a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

a virtual machine from a VM scale set on successful completion of Mono.

getInstanceView

public abstract VirtualMachineScaleSetVMInstanceViewInner getInstanceView(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

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

getInstanceViewAsync

public abstract Mono getInstanceViewAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the status of a virtual machine from a VM scale set on successful completion of Mono.

getInstanceViewWithResponse

public abstract Response getInstanceViewWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

Returns:

the status of a virtual machine from a VM scale set along with Response<T>.

getInstanceViewWithResponseAsync

public abstract Mono<>> getInstanceViewWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the status of a virtual machine from a VM scale set along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, InstanceViewTypes expand, Context context)

Gets a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
expand - The expand expression to apply on the operation. 'InstanceView' will retrieve the instance view of the virtual machine. 'UserData' will retrieve the UserData of the virtual machine.
context - The context to associate with this operation.

Returns:

a virtual machine from a VM scale set along with Response<T>.

getWithResponseAsync

public abstract Mono<>> getWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, InstanceViewTypes expand)

Gets a virtual machine from a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
expand - The expand expression to apply on the operation. 'InstanceView' will retrieve the instance view of the virtual machine. 'UserData' will retrieve the UserData of the virtual machine.

Returns:

a virtual machine from a VM scale set along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String virtualMachineScaleSetName)

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

Parameters:

resourceGroupName - The name of the resource group.
virtualMachineScaleSetName - The name of the VM scale set.

Returns:

a list of all virtual machines in a VM scale sets as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String virtualMachineScaleSetName, String filter, String select, String expand, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
virtualMachineScaleSetName - The name of the VM scale set.
filter - The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'.
select - The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'.
expand - The expand expression to apply to the operation. Allowed values are 'instanceView'.
context - The context to associate with this operation.

Returns:

a list of all virtual machines in a VM scale sets as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String virtualMachineScaleSetName)

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

Parameters:

resourceGroupName - The name of the resource group.
virtualMachineScaleSetName - The name of the VM scale set.

Returns:

a list of all virtual machines in a VM scale sets as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String virtualMachineScaleSetName, String filter, String select, String expand)

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

Parameters:

resourceGroupName - The name of the resource group.
virtualMachineScaleSetName - The name of the VM scale set.
filter - The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'.
select - The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'.
expand - The expand expression to apply to the operation. Allowed values are 'instanceView'.

Returns:

a list of all virtual machines in a VM scale sets as paginated response with PagedFlux<T>.

performMaintenance

public abstract void performMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

performMaintenance

public abstract void performMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

performMaintenanceAsync

public abstract Mono performMaintenanceAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

performMaintenanceWithResponseAsync

public abstract Mono<><>>> performMaintenanceWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

powerOff

public abstract void powerOff(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

powerOff

public abstract void powerOff(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
skipShutdown - The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified.
context - The context to associate with this operation.

powerOffAsync

public abstract Mono powerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

powerOffAsync

public abstract Mono powerOffAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
skipShutdown - The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified.

Returns:

A Mono that completes when a successful response is received.

powerOffWithResponseAsync

public abstract Mono<><>>> powerOffWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Boolean skipShutdown)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
skipShutdown - The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified.

Returns:

the Response<T> on successful completion of Mono.

redeploy

public abstract void redeploy(String resourceGroupName, String vmScaleSetName, String instanceId)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

redeploy

public abstract void redeploy(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

redeployAsync

public abstract Mono redeployAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

redeployWithResponseAsync

public abstract Mono<><>>> redeployWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

reimage

public abstract void reimage(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

reimage

public abstract void reimage(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
vmScaleSetVMReimageInput - Parameters for the Reimaging Virtual machine in ScaleSet.
context - The context to associate with this operation.

reimageAll

public abstract void reimageAll(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

reimageAll

public abstract void reimageAll(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

reimageAllAsync

public abstract Mono reimageAllAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

reimageAllWithResponseAsync

public abstract Mono<><>>> reimageAllWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

reimageAsync

public abstract Mono reimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

reimageAsync

public abstract Mono reimageAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
vmScaleSetVMReimageInput - Parameters for the Reimaging Virtual machine in ScaleSet.

Returns:

A Mono that completes when a successful response is received.

reimageWithResponseAsync

public abstract Mono<><>>> reimageWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
vmScaleSetVMReimageInput - Parameters for the Reimaging Virtual machine in ScaleSet.

Returns:

the Response<T> on successful completion of Mono.

restart

public abstract void restart(String resourceGroupName, String vmScaleSetName, String instanceId)

Restarts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

restart

public abstract void restart(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Restarts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

restartAsync

public abstract Mono restartAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Restarts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

restartWithResponseAsync

public abstract Mono<><>>> restartWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Restarts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

retrieveBootDiagnosticsData

public abstract RetrieveBootDiagnosticsDataResultInner retrieveBootDiagnosticsData(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SAS URIs of the console screenshot and serial log blobs.

retrieveBootDiagnosticsDataAsync

public abstract Mono retrieveBootDiagnosticsDataAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the SAS URIs of the console screenshot and serial log blobs on successful completion of Mono.

retrieveBootDiagnosticsDataWithResponse

public abstract Response retrieveBootDiagnosticsDataWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, Integer sasUriExpirationTimeInMinutes, Context context)

The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
sasUriExpirationTimeInMinutes - Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. Note: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes.
context - The context to associate with this operation.

Returns:

the SAS URIs of the console screenshot and serial log blobs along with Response<T>.

retrieveBootDiagnosticsDataWithResponseAsync

public abstract Mono<>> retrieveBootDiagnosticsDataWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, Integer sasUriExpirationTimeInMinutes)

The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
sasUriExpirationTimeInMinutes - Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. Note: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes.

Returns:

the SAS URIs of the console screenshot and serial log blobs along with Response<T> on successful completion of Mono.

runCommand

public abstract RunCommandResultInner runCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Run command operation.

Returns:

the response.

runCommand

public abstract RunCommandResultInner runCommand(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Run command operation.
context - The context to associate with this operation.

Returns:

the response.

runCommandAsync

public abstract Mono runCommandAsync(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Run command operation.

Returns:

the response body on successful completion of Mono.

runCommandWithResponseAsync

public abstract Mono<><>>> runCommandWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, RunCommandInput parameters)

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

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Run command operation.

Returns:

the response body along with Response<T> on successful completion of Mono.

simulateEviction

public abstract void simulateEviction(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to simulate the eviction of spot virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

simulateEvictionAsync

public abstract Mono simulateEvictionAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to simulate the eviction of spot virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

simulateEvictionWithResponse

public abstract Response simulateEvictionWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

The operation to simulate the eviction of spot virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

Returns:

simulateEvictionWithResponseAsync

public abstract Mono<>> simulateEvictionWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to simulate the eviction of spot virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

start

public abstract void start(String resourceGroupName, String vmScaleSetName, String instanceId)

Starts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

start

public abstract void start(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)

Starts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
context - The context to associate with this operation.

startAsync

public abstract Mono startAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Starts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

startWithResponseAsync

public abstract Mono<><>>> startWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

Starts a virtual machine in a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

update

public abstract VirtualMachineScaleSetVMInner update(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)

Updates a virtual machine of a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine Scale Sets VM operation.

Returns:

describes a virtual machine scale set virtual machine.

update

public abstract VirtualMachineScaleSetVMInner update(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, String ifMatch, String ifNoneMatch, Context context)

Updates a virtual machine of a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine Scale Sets VM operation.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

describes a virtual machine scale set virtual machine.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)

Updates a virtual machine of a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine Scale Sets VM operation.

Returns:

describes a virtual machine scale set virtual machine on successful completion of Mono.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, String ifMatch, String ifNoneMatch)

Updates a virtual machine of a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine Scale Sets VM operation.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.

Returns:

describes a virtual machine scale set virtual machine on successful completion of Mono.

updateWithResponseAsync

public abstract Mono<><>>> updateWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters, String ifMatch, String ifNoneMatch)

Updates a virtual machine of a VM scale set.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
instanceId - The instance ID of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine Scale Sets VM operation.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will result in error from server as they are not supported.

Returns:

describes a virtual machine scale set virtual machine along with Response<T> on successful completion of Mono.

Applies to