VirtualMachineScaleSetVMsClient Interface
public interface VirtualMachineScaleSetVMsClient
An instance of this class provides access to all the operations defined in VirtualMachineScaleSetVMsClient.
Method Summary
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:
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:
approveRollingUpgradeAsync
public abstract Mono
Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.
Parameters:
Returns:
approveRollingUpgradeWithResponseAsync
public abstract Mono
Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.
Parameters:
Returns:
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:
Returns:
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:
Returns:
attachDetachDataDisksAsync
public abstract Mono
Attach and detach data disks to/from a virtual machine in a VM scale set.
Parameters:
Returns:
attachDetachDataDisksWithResponseAsync
public abstract Mono
Attach and detach data disks to/from a virtual machine in a VM scale set.
Parameters:
Returns:
beginApproveRollingUpgrade
public abstract SyncPoller
Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.
Parameters:
Returns:
beginApproveRollingUpgrade
public abstract SyncPoller
Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.
Parameters:
Returns:
beginApproveRollingUpgradeAsync
public abstract PollerFlux
Approve upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.
Parameters:
Returns:
beginAttachDetachDataDisks
public abstract SyncPoller
Attach and detach data disks to/from a virtual machine in a VM scale set.
Parameters:
Returns:
beginAttachDetachDataDisks
public abstract SyncPoller
Attach and detach data disks to/from a virtual machine in a VM scale set.
Parameters:
Returns:
beginAttachDetachDataDisksAsync
public abstract PollerFlux
Attach and detach data disks to/from a virtual machine in a VM scale set.
Parameters:
Returns:
beginDeallocate
public abstract SyncPoller
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:
Returns:
beginDeallocate
public abstract SyncPoller
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:
Returns:
beginDeallocateAsync
public abstract PollerFlux
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:
Returns:
beginDelete
public abstract SyncPoller
Deletes a virtual machine from a VM scale set.
Parameters:
Returns:
beginDelete
public abstract SyncPoller
Deletes a virtual machine from a VM scale set.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux
Deletes a virtual machine from a VM scale set.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux
Deletes a virtual machine from a VM scale set.
Parameters:
Returns:
beginPerformMaintenance
public abstract SyncPoller
Performs maintenance on a virtual machine in a VM scale set.
Parameters:
Returns:
beginPerformMaintenance
public abstract SyncPoller
Performs maintenance on a virtual machine in a VM scale set.
Parameters:
Returns:
beginPerformMaintenanceAsync
public abstract PollerFlux
Performs maintenance on a virtual machine in a VM scale set.
Parameters:
Returns:
beginPowerOff
public abstract SyncPoller
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:
Returns:
beginPowerOff
public abstract SyncPoller
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:
Returns:
beginPowerOffAsync
public abstract PollerFlux
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:
Returns:
beginPowerOffAsync
public abstract PollerFlux
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:
Returns:
beginRedeploy
public abstract SyncPoller
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
Parameters:
Returns:
beginRedeploy
public abstract SyncPoller
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
Parameters:
Returns:
beginRedeployAsync
public abstract PollerFlux
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
Parameters:
Returns:
beginReimage
public abstract SyncPoller
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
Parameters:
Returns:
beginReimage
public abstract SyncPoller
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
Parameters:
Returns:
beginReimageAll
public abstract SyncPoller
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:
Returns:
beginReimageAll
public abstract SyncPoller
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:
Returns:
beginReimageAllAsync
public abstract PollerFlux
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:
Returns:
beginReimageAsync
public abstract PollerFlux
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
Parameters:
Returns:
beginReimageAsync
public abstract PollerFlux
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
Parameters:
Returns:
beginRestart
public abstract SyncPoller
Restarts a virtual machine in a VM scale set.
Parameters:
Returns:
beginRestart
public abstract SyncPoller
Restarts a virtual machine in a VM scale set.
Parameters:
Returns:
beginRestartAsync
public abstract PollerFlux
Restarts a virtual machine in a VM scale set.
Parameters:
Returns:
beginRunCommand
public abstract SyncPoller
Run command on a virtual machine in a VM scale set.
Parameters:
Returns:
beginRunCommand
public abstract SyncPoller
Run command on a virtual machine in a VM scale set.
Parameters:
Returns:
beginRunCommandAsync
public abstract PollerFlux
Run command on a virtual machine in a VM scale set.
Parameters:
Returns:
beginStart
public abstract SyncPoller
Starts a virtual machine in a VM scale set.
Parameters:
Returns:
beginStart
public abstract SyncPoller
Starts a virtual machine in a VM scale set.
Parameters:
Returns:
beginStartAsync
public abstract PollerFlux
Starts a virtual machine in a VM scale set.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller
Updates a virtual machine of a VM scale set.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller
Updates a virtual machine of a VM scale set.
Parameters:
Returns:
beginUpdateAsync
public abstract PollerFlux
Updates a virtual machine of a VM scale set.
Parameters:
Returns:
beginUpdateAsync
public abstract PollerFlux
Updates a virtual machine of a VM scale set.
Parameters:
Returns:
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:
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:
deallocateAsync
public abstract Mono
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:
Returns:
deallocateWithResponseAsync
public abstract Mono
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:
Returns:
delete
public abstract void delete(String resourceGroupName, String vmScaleSetName, String instanceId)
Deletes a virtual machine from a VM scale set.
Parameters:
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:
deleteAsync
public abstract Mono
Deletes a virtual machine from a VM scale set.
Parameters:
Returns:
deleteAsync
public abstract Mono
Deletes a virtual machine from a VM scale set.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono
Deletes a virtual machine from a VM scale set.
Parameters:
Returns:
get
public abstract VirtualMachineScaleSetVMInner get(String resourceGroupName, String vmScaleSetName, String instanceId)
Gets a virtual machine from a VM scale set.
Parameters:
Returns:
getAsync
public abstract Mono
Gets a virtual machine from a VM scale set.
Parameters:
Returns:
getInstanceView
public abstract VirtualMachineScaleSetVMInstanceViewInner getInstanceView(String resourceGroupName, String vmScaleSetName, String instanceId)
Gets the status of a virtual machine from a VM scale set.
Parameters:
Returns:
getInstanceViewAsync
public abstract Mono
Gets the status of a virtual machine from a VM scale set.
Parameters:
Returns:
getInstanceViewWithResponse
public abstract Response
Gets the status of a virtual machine from a VM scale set.
Parameters:
Returns:
getInstanceViewWithResponseAsync
public abstract Mono
Gets the status of a virtual machine from a VM scale set.
Parameters:
Returns:
getWithResponse
public abstract Response
Gets a virtual machine from a VM scale set.
Parameters:
Returns:
getWithResponseAsync
public abstract Mono
Gets a virtual machine from a VM scale set.
Parameters:
Returns:
list
public abstract PagedIterable
Gets a list of all virtual machines in a VM scale sets.
Parameters:
Returns:
list
public abstract PagedIterable
Gets a list of all virtual machines in a VM scale sets.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Gets a list of all virtual machines in a VM scale sets.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Gets a list of all virtual machines in a VM scale sets.
Parameters:
Returns:
performMaintenance
public abstract void performMaintenance(String resourceGroupName, String vmScaleSetName, String instanceId)
Performs maintenance on a virtual machine in a VM scale set.
Parameters:
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:
performMaintenanceAsync
public abstract Mono
Performs maintenance on a virtual machine in a VM scale set.
Parameters:
Returns:
performMaintenanceWithResponseAsync
public abstract Mono
Performs maintenance on a virtual machine in a VM scale set.
Parameters:
Returns:
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:
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:
powerOffAsync
public abstract Mono
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:
Returns:
powerOffAsync
public abstract Mono
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:
Returns:
powerOffWithResponseAsync
public abstract Mono
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:
Returns:
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:
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:
redeployAsync
public abstract Mono
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
Parameters:
Returns:
redeployWithResponseAsync
public abstract Mono
Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
Parameters:
Returns:
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:
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:
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:
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:
reimageAllAsync
public abstract Mono
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:
Returns:
reimageAllWithResponseAsync
public abstract Mono
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:
Returns:
reimageAsync
public abstract Mono
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
Parameters:
Returns:
reimageAsync
public abstract Mono
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
Parameters:
Returns:
reimageWithResponseAsync
public abstract Mono
Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
Parameters:
Returns:
restart
public abstract void restart(String resourceGroupName, String vmScaleSetName, String instanceId)
Restarts a virtual machine in a VM scale set.
Parameters:
restart
public abstract void restart(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)
Restarts a virtual machine in a VM scale set.
Parameters:
restartAsync
public abstract Mono
Restarts a virtual machine in a VM scale set.
Parameters:
Returns:
restartWithResponseAsync
public abstract Mono
Restarts a virtual machine in a VM scale set.
Parameters:
Returns:
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:
Returns:
retrieveBootDiagnosticsDataAsync
public abstract Mono
The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.
Parameters:
Returns:
retrieveBootDiagnosticsDataWithResponse
public abstract Response
The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.
Parameters:
Returns:
retrieveBootDiagnosticsDataWithResponseAsync
public abstract Mono
The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.
Parameters:
Returns:
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:
Returns:
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:
Returns:
runCommandAsync
public abstract Mono
Run command on a virtual machine in a VM scale set.
Parameters:
Returns:
runCommandWithResponseAsync
public abstract Mono
Run command on a virtual machine in a VM scale set.
Parameters:
Returns:
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:
simulateEvictionAsync
public abstract Mono
The operation to simulate the eviction of spot virtual machine in a VM scale set.
Parameters:
Returns:
simulateEvictionWithResponse
public abstract Response
The operation to simulate the eviction of spot virtual machine in a VM scale set.
Parameters:
Returns:
simulateEvictionWithResponseAsync
public abstract Mono
The operation to simulate the eviction of spot virtual machine in a VM scale set.
Parameters:
Returns:
start
public abstract void start(String resourceGroupName, String vmScaleSetName, String instanceId)
Starts a virtual machine in a VM scale set.
Parameters:
start
public abstract void start(String resourceGroupName, String vmScaleSetName, String instanceId, Context context)
Starts a virtual machine in a VM scale set.
Parameters:
startAsync
public abstract Mono
Starts a virtual machine in a VM scale set.
Parameters:
Returns:
startWithResponseAsync
public abstract Mono
Starts a virtual machine in a VM scale set.
Parameters:
Returns:
update
public abstract VirtualMachineScaleSetVMInner update(String resourceGroupName, String vmScaleSetName, String instanceId, VirtualMachineScaleSetVMInner parameters)
Updates a virtual machine of a VM scale set.
Parameters:
Returns:
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:
Returns:
updateAsync
public abstract Mono
Updates a virtual machine of a VM scale set.
Parameters:
Returns:
updateAsync
public abstract Mono
Updates a virtual machine of a VM scale set.
Parameters:
Returns:
updateWithResponseAsync
public abstract Mono
Updates a virtual machine of a VM scale set.
Parameters:
Returns:
Applies to
Azure SDK for Java