VirtualMachinesClient Interface
Implements
public interface VirtualMachinesClient
extends InnerSupportsGet<VirtualMachineInner>, InnerSupportsListing<VirtualMachineInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VirtualMachinesClient.
Method Summary
Method Details
assessPatches
public abstract VirtualMachineAssessPatchesResultInner assessPatches(String resourceGroupName, String vmName)
Assess patches on the VM.
Parameters:
Returns:
assessPatches
public abstract VirtualMachineAssessPatchesResultInner assessPatches(String resourceGroupName, String vmName, Context context)
Assess patches on the VM.
Parameters:
Returns:
assessPatchesAsync
public abstract Mono
Assess patches on the VM.
Parameters:
Returns:
assessPatchesWithResponseAsync
public abstract Mono
Assess patches on the VM.
Parameters:
Returns:
attachDetachDataDisks
public abstract StorageProfile attachDetachDataDisks(String resourceGroupName, String vmName, AttachDetachDataDisksRequest parameters)
Attach and detach data disks to/from the virtual machine.
Parameters:
Returns:
attachDetachDataDisks
public abstract StorageProfile attachDetachDataDisks(String resourceGroupName, String vmName, AttachDetachDataDisksRequest parameters, Context context)
Attach and detach data disks to/from the virtual machine.
Parameters:
Returns:
attachDetachDataDisksAsync
public abstract Mono
Attach and detach data disks to/from the virtual machine.
Parameters:
Returns:
attachDetachDataDisksWithResponseAsync
public abstract Mono
Attach and detach data disks to/from the virtual machine.
Parameters:
Returns:
beginAssessPatches
public abstract SyncPoller
Assess patches on the VM.
Parameters:
Returns:
beginAssessPatches
public abstract SyncPoller
Assess patches on the VM.
Parameters:
Returns:
beginAssessPatchesAsync
public abstract PollerFlux
Assess patches on the VM.
Parameters:
Returns:
beginAttachDetachDataDisks
public abstract SyncPoller
Attach and detach data disks to/from the virtual machine.
Parameters:
Returns:
beginAttachDetachDataDisks
public abstract SyncPoller
Attach and detach data disks to/from the virtual machine.
Parameters:
Returns:
beginAttachDetachDataDisksAsync
public abstract PollerFlux
Attach and detach data disks to/from the virtual machine.
Parameters:
Returns:
beginCapture
public abstract SyncPoller
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
Parameters:
Returns:
beginCapture
public abstract SyncPoller
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
Parameters:
Returns:
beginCaptureAsync
public abstract PollerFlux
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
Parameters:
Returns:
beginConvertToManagedDisks
public abstract SyncPoller
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
Parameters:
Returns:
beginConvertToManagedDisks
public abstract SyncPoller
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
Parameters:
Returns:
beginConvertToManagedDisksAsync
public abstract PollerFlux
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
Parameters:
Returns:
beginCreateOrUpdateAsync
public abstract PollerFlux
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
Parameters:
Returns:
beginCreateOrUpdateAsync
public abstract PollerFlux
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
Parameters:
Returns:
beginDeallocate
public abstract SyncPoller
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
Parameters:
Returns:
beginDeallocate
public abstract SyncPoller
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
Parameters:
Returns:
beginDeallocateAsync
public abstract PollerFlux
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
Parameters:
Returns:
beginDeallocateAsync
public abstract PollerFlux
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
Parameters:
Returns:
beginDelete
public abstract SyncPoller
The operation to delete a virtual machine.
Parameters:
Returns:
beginDelete
public abstract SyncPoller
The operation to delete a virtual machine.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux
The operation to delete a virtual machine.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux
The operation to delete a virtual machine.
Parameters:
Returns:
beginInstallPatches
public abstract SyncPoller
Installs patches on the VM.
Parameters:
Returns:
beginInstallPatches
public abstract SyncPoller
Installs patches on the VM.
Parameters:
Returns:
beginInstallPatchesAsync
public abstract PollerFlux
Installs patches on the VM.
Parameters:
Returns:
beginPerformMaintenance
public abstract SyncPoller
The operation to perform maintenance on a virtual machine.
Parameters:
Returns:
beginPerformMaintenance
public abstract SyncPoller
The operation to perform maintenance on a virtual machine.
Parameters:
Returns:
beginPerformMaintenanceAsync
public abstract PollerFlux
The operation to perform maintenance on a virtual machine.
Parameters:
Returns:
beginPowerOff
public abstract SyncPoller
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
Parameters:
Returns:
beginPowerOff
public abstract SyncPoller
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
Parameters:
Returns:
beginPowerOffAsync
public abstract PollerFlux
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
Parameters:
Returns:
beginPowerOffAsync
public abstract PollerFlux
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
Parameters:
Returns:
beginReapply
public abstract SyncPoller
The operation to reapply a virtual machine's state.
Parameters:
Returns:
beginReapply
public abstract SyncPoller
The operation to reapply a virtual machine's state.
Parameters:
Returns:
beginReapplyAsync
public abstract PollerFlux
The operation to reapply a virtual machine's state.
Parameters:
Returns:
beginRedeploy
public abstract SyncPoller
Shuts down the virtual machine, moves it to a new node, and powers it back on.
Parameters:
Returns:
beginRedeploy
public abstract SyncPoller
Shuts down the virtual machine, moves it to a new node, and powers it back on.
Parameters:
Returns:
beginRedeployAsync
public abstract PollerFlux
Shuts down the virtual machine, moves it to a new node, and powers it back on.
Parameters:
Returns:
beginReimage
public abstract SyncPoller
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
Parameters:
Returns:
beginReimage
public abstract SyncPoller
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
Parameters:
Returns:
beginReimageAsync
public abstract PollerFlux
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
Parameters:
Returns:
beginReimageAsync
public abstract PollerFlux
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
Parameters:
Returns:
beginRestart
public abstract SyncPoller
The operation to restart a virtual machine.
Parameters:
Returns:
beginRestart
public abstract SyncPoller
The operation to restart a virtual machine.
Parameters:
Returns:
beginRestartAsync
public abstract PollerFlux
The operation to restart a virtual machine.
Parameters:
Returns:
beginRunCommand
public abstract SyncPoller
Run command on the VM.
Parameters:
Returns:
beginRunCommand
public abstract SyncPoller
Run command on the VM.
Parameters:
Returns:
beginRunCommandAsync
public abstract PollerFlux
Run command on the VM.
Parameters:
Returns:
beginStart
public abstract SyncPoller
The operation to start a virtual machine.
Parameters:
Returns:
beginStart
public abstract SyncPoller
The operation to start a virtual machine.
Parameters:
Returns:
beginStartAsync
public abstract PollerFlux
The operation to start a virtual machine.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller
The operation to update a virtual machine.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller
The operation to update a virtual machine.
Parameters:
Returns:
beginUpdateAsync
public abstract PollerFlux
The operation to update a virtual machine.
Parameters:
Returns:
beginUpdateAsync
public abstract PollerFlux
The operation to update a virtual machine.
Parameters:
Returns:
capture
public abstract VirtualMachineCaptureResultInner capture(String resourceGroupName, String vmName, VirtualMachineCaptureParameters parameters)
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
Parameters:
Returns:
capture
public abstract VirtualMachineCaptureResultInner capture(String resourceGroupName, String vmName, VirtualMachineCaptureParameters parameters, Context context)
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
Parameters:
Returns:
captureAsync
public abstract Mono
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
Parameters:
Returns:
captureWithResponseAsync
public abstract Mono
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
Parameters:
Returns:
convertToManagedDisks
public abstract void convertToManagedDisks(String resourceGroupName, String vmName)
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
Parameters:
convertToManagedDisks
public abstract void convertToManagedDisks(String resourceGroupName, String vmName, Context context)
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
Parameters:
convertToManagedDisksAsync
public abstract Mono
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
Parameters:
Returns:
convertToManagedDisksWithResponseAsync
public abstract Mono
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
Parameters:
Returns:
createOrUpdate
public abstract VirtualMachineInner createOrUpdate(String resourceGroupName, String vmName, VirtualMachineInner parameters)
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
Parameters:
Returns:
createOrUpdate
public abstract VirtualMachineInner createOrUpdate(String resourceGroupName, String vmName, VirtualMachineInner parameters, String ifMatch, String ifNoneMatch, Context context)
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
Parameters:
Returns:
createOrUpdateAsync
public abstract Mono
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
Parameters:
Returns:
createOrUpdateAsync
public abstract Mono
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
Parameters:
Returns:
createOrUpdateWithResponseAsync
public abstract Mono
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
Parameters:
Returns:
deallocate
public abstract void deallocate(String resourceGroupName, String vmName)
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
Parameters:
deallocate
public abstract void deallocate(String resourceGroupName, String vmName, Boolean hibernate, Context context)
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
Parameters:
deallocateAsync
public abstract Mono
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
Parameters:
Returns:
deallocateAsync
public abstract Mono
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
Parameters:
Returns:
deallocateWithResponseAsync
public abstract Mono
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String vmName)
The operation to delete a virtual machine.
Parameters:
delete
public abstract void delete(String resourceGroupName, String vmName, Boolean forceDeletion, Context context)
The operation to delete a virtual machine.
Parameters:
deleteAsync
public abstract Mono
The operation to delete a virtual machine.
Parameters:
Returns:
deleteAsync
public abstract Mono
The operation to delete a virtual machine.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono
The operation to delete a virtual machine.
Parameters:
Returns:
generalize
public abstract void generalize(String resourceGroupName, String vmName)
Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource). For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image).
Parameters:
generalizeAsync
public abstract Mono
Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource). For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image).
Parameters:
Returns:
generalizeWithResponse
public abstract Response
Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource). For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image).
Parameters:
Returns:
generalizeWithResponseAsync
public abstract Mono
Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource). For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image).
Parameters:
Returns:
getByResourceGroup
public abstract VirtualMachineInner getByResourceGroup(String resourceGroupName, String vmName)
Retrieves information about the model view or the instance view of a virtual machine.
Parameters:
Returns:
getByResourceGroupAsync
public abstract Mono
Retrieves information about the model view or the instance view of a virtual machine.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response
Retrieves information about the model view or the instance view of a virtual machine.
Parameters:
Returns:
getByResourceGroupWithResponseAsync
public abstract Mono
Retrieves information about the model view or the instance view of a virtual machine.
Parameters:
Returns:
installPatches
public abstract VirtualMachineInstallPatchesResultInner installPatches(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)
Installs patches on the VM.
Parameters:
Returns:
installPatches
public abstract VirtualMachineInstallPatchesResultInner installPatches(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput, Context context)
Installs patches on the VM.
Parameters:
Returns:
installPatchesAsync
public abstract Mono
Installs patches on the VM.
Parameters:
Returns:
installPatchesWithResponseAsync
public abstract Mono
Installs patches on the VM.
Parameters:
Returns:
instanceView
public abstract VirtualMachineInstanceViewInner instanceView(String resourceGroupName, String vmName)
Retrieves information about the run-time state of a virtual machine.
Parameters:
Returns:
instanceViewAsync
public abstract Mono
Retrieves information about the run-time state of a virtual machine.
Parameters:
Returns:
instanceViewWithResponse
public abstract Response
Retrieves information about the run-time state of a virtual machine.
Parameters:
Returns:
instanceViewWithResponseAsync
public abstract Mono
Retrieves information about the run-time state of a virtual machine.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.
Returns:
list
public abstract PagedIterable
Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.
Returns:
listAsync
public abstract PagedFlux
Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.
Parameters:
Returns:
listAvailableSizes
public abstract PagedIterable
Lists all available virtual machine sizes to which the specified virtual machine can be resized.
Parameters:
Returns:
listAvailableSizes
public abstract PagedIterable
Lists all available virtual machine sizes to which the specified virtual machine can be resized.
Parameters:
Returns:
listAvailableSizesAsync
public abstract PagedFlux
Lists all available virtual machine sizes to which the specified virtual machine can be resized.
Parameters:
Returns:
listByLocation
public abstract PagedIterable
Gets all the virtual machines under the specified subscription for the specified location.
Parameters:
Returns:
listByLocation
public abstract PagedIterable
Gets all the virtual machines under the specified subscription for the specified location.
Parameters:
Returns:
listByLocationAsync
public abstract PagedFlux
Gets all the virtual machines under the specified subscription for the specified location.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.
Parameters:
Returns:
listByResourceGroupAsync
public abstract PagedFlux
Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.
Parameters:
Returns:
listByResourceGroupAsync
public abstract PagedFlux
Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.
Parameters:
Returns:
performMaintenance
public abstract void performMaintenance(String resourceGroupName, String vmName)
The operation to perform maintenance on a virtual machine.
Parameters:
performMaintenance
public abstract void performMaintenance(String resourceGroupName, String vmName, Context context)
The operation to perform maintenance on a virtual machine.
Parameters:
performMaintenanceAsync
public abstract Mono
The operation to perform maintenance on a virtual machine.
Parameters:
Returns:
performMaintenanceWithResponseAsync
public abstract Mono
The operation to perform maintenance on a virtual machine.
Parameters:
Returns:
powerOff
public abstract void powerOff(String resourceGroupName, String vmName)
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
Parameters:
powerOff
public abstract void powerOff(String resourceGroupName, String vmName, Boolean skipShutdown, Context context)
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
Parameters:
powerOffAsync
public abstract Mono
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
Parameters:
Returns:
powerOffAsync
public abstract Mono
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
Parameters:
Returns:
powerOffWithResponseAsync
public abstract Mono
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
Parameters:
Returns:
reapply
public abstract void reapply(String resourceGroupName, String vmName)
The operation to reapply a virtual machine's state.
Parameters:
reapply
public abstract void reapply(String resourceGroupName, String vmName, Context context)
The operation to reapply a virtual machine's state.
Parameters:
reapplyAsync
public abstract Mono
The operation to reapply a virtual machine's state.
Parameters:
Returns:
reapplyWithResponseAsync
public abstract Mono
The operation to reapply a virtual machine's state.
Parameters:
Returns:
redeploy
public abstract void redeploy(String resourceGroupName, String vmName)
Shuts down the virtual machine, moves it to a new node, and powers it back on.
Parameters:
redeploy
public abstract void redeploy(String resourceGroupName, String vmName, Context context)
Shuts down the virtual machine, moves it to a new node, and powers it back on.
Parameters:
redeployAsync
public abstract Mono
Shuts down the virtual machine, moves it to a new node, and powers it back on.
Parameters:
Returns:
redeployWithResponseAsync
public abstract Mono
Shuts down the virtual machine, moves it to a new node, and powers it back on.
Parameters:
Returns:
reimage
public abstract void reimage(String resourceGroupName, String vmName)
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
Parameters:
reimage
public abstract void reimage(String resourceGroupName, String vmName, VirtualMachineReimageParameters parameters, Context context)
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
Parameters:
reimageAsync
public abstract Mono
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
Parameters:
Returns:
reimageAsync
public abstract Mono
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
Parameters:
Returns:
reimageWithResponseAsync
public abstract Mono
Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage.
Parameters:
Returns:
restart
public abstract void restart(String resourceGroupName, String vmName)
The operation to restart a virtual machine.
Parameters:
restart
public abstract void restart(String resourceGroupName, String vmName, Context context)
The operation to restart a virtual machine.
Parameters:
restartAsync
public abstract Mono
The operation to restart a virtual machine.
Parameters:
Returns:
restartWithResponseAsync
public abstract Mono
The operation to restart a virtual machine.
Parameters:
Returns:
retrieveBootDiagnosticsData
public abstract RetrieveBootDiagnosticsDataResultInner retrieveBootDiagnosticsData(String resourceGroupName, String vmName)
The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.
Parameters:
Returns:
retrieveBootDiagnosticsDataAsync
public abstract Mono
The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.
Parameters:
Returns:
retrieveBootDiagnosticsDataWithResponse
public abstract Response
The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.
Parameters:
Returns:
retrieveBootDiagnosticsDataWithResponseAsync
public abstract Mono
The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.
Parameters:
Returns:
runCommand
public abstract RunCommandResultInner runCommand(String resourceGroupName, String vmName, RunCommandInput parameters)
Run command on the VM.
Parameters:
Returns:
runCommand
public abstract RunCommandResultInner runCommand(String resourceGroupName, String vmName, RunCommandInput parameters, Context context)
Run command on the VM.
Parameters:
Returns:
runCommandAsync
public abstract Mono
Run command on the VM.
Parameters:
Returns:
runCommandWithResponseAsync
public abstract Mono
Run command on the VM.
Parameters:
Returns:
simulateEviction
public abstract void simulateEviction(String resourceGroupName, String vmName)
The operation to simulate the eviction of spot virtual machine.
Parameters:
simulateEvictionAsync
public abstract Mono
The operation to simulate the eviction of spot virtual machine.
Parameters:
Returns:
simulateEvictionWithResponse
public abstract Response
The operation to simulate the eviction of spot virtual machine.
Parameters:
Returns:
simulateEvictionWithResponseAsync
public abstract Mono
The operation to simulate the eviction of spot virtual machine.
Parameters:
Returns:
start
public abstract void start(String resourceGroupName, String vmName)
The operation to start a virtual machine.
Parameters:
start
public abstract void start(String resourceGroupName, String vmName, Context context)
The operation to start a virtual machine.
Parameters:
startAsync
public abstract Mono
The operation to start a virtual machine.
Parameters:
Returns:
startWithResponseAsync
public abstract Mono
The operation to start a virtual machine.
Parameters:
Returns:
update
public abstract VirtualMachineInner update(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters)
The operation to update a virtual machine.
Parameters:
Returns:
update
public abstract VirtualMachineInner update(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters, String ifMatch, String ifNoneMatch, Context context)
The operation to update a virtual machine.
Parameters:
Returns:
updateAsync
public abstract Mono
The operation to update a virtual machine.
Parameters:
Returns:
updateAsync
public abstract Mono
The operation to update a virtual machine.
Parameters:
Returns:
updateWithResponseAsync
public abstract Mono
The operation to update a virtual machine.
Parameters:
Returns: