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

Modifier and Type Method and Description
abstract VirtualMachineAssessPatchesResultInner assessPatches(String resourceGroupName, String vmName)

Assess patches on the VM.

abstract VirtualMachineAssessPatchesResultInner assessPatches(String resourceGroupName, String vmName, Context context)

Assess patches on the VM.

abstract Mono<VirtualMachineAssessPatchesResultInner> assessPatchesAsync(String resourceGroupName, String vmName)

Assess patches on the VM.

abstract Mono<Response<Flux<ByteBuffer>>> assessPatchesWithResponseAsync(String resourceGroupName, String vmName)

Assess patches on the VM.

abstract StorageProfile attachDetachDataDisks(String resourceGroupName, String vmName, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from the virtual machine.

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

Attach and detach data disks to/from the virtual machine.

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

Attach and detach data disks to/from the virtual machine.

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

Attach and detach data disks to/from the virtual machine.

abstract SyncPoller<PollResult<VirtualMachineAssessPatchesResultInner>,VirtualMachineAssessPatchesResultInner> beginAssessPatches(String resourceGroupName, String vmName)

Assess patches on the VM.

abstract SyncPoller<PollResult<VirtualMachineAssessPatchesResultInner>,VirtualMachineAssessPatchesResultInner> beginAssessPatches(String resourceGroupName, String vmName, Context context)

Assess patches on the VM.

abstract PollerFlux<PollResult<VirtualMachineAssessPatchesResultInner>,VirtualMachineAssessPatchesResultInner> beginAssessPatchesAsync(String resourceGroupName, String vmName)

Assess patches on the VM.

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

Attach and detach data disks to/from the virtual machine.

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

Attach and detach data disks to/from the virtual machine.

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

Attach and detach data disks to/from the virtual machine.

abstract SyncPoller<PollResult<VirtualMachineCaptureResultInner>,VirtualMachineCaptureResultInner> beginCapture(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.

abstract SyncPoller<PollResult<VirtualMachineCaptureResultInner>,VirtualMachineCaptureResultInner> beginCapture(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.

abstract PollerFlux<PollResult<VirtualMachineCaptureResultInner>,VirtualMachineCaptureResultInner> beginCaptureAsync(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.

abstract SyncPoller<PollResult<Void>,Void> beginConvertToManagedDisks(String resourceGroupName, String vmName)

Converts virtual machine disks from blob-based to managed disks.

abstract SyncPoller<PollResult<Void>,Void> beginConvertToManagedDisks(String resourceGroupName, String vmName, Context context)

Converts virtual machine disks from blob-based to managed disks.

abstract PollerFlux<PollResult<Void>,Void> beginConvertToManagedDisksAsync(String resourceGroupName, String vmName)

Converts virtual machine disks from blob-based to managed disks.

abstract SyncPoller<PollResult<VirtualMachineInner>,VirtualMachineInner> beginCreateOrUpdate(String resourceGroupName, String vmName, VirtualMachineInner parameters)

The operation to create or update a virtual machine.

abstract SyncPoller<PollResult<VirtualMachineInner>,VirtualMachineInner> beginCreateOrUpdate(String resourceGroupName, String vmName, VirtualMachineInner parameters, String ifMatch, String ifNoneMatch, Context context)

The operation to create or update a virtual machine.

abstract PollerFlux<PollResult<VirtualMachineInner>,VirtualMachineInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmName, VirtualMachineInner parameters)

The operation to create or update a virtual machine.

abstract PollerFlux<PollResult<VirtualMachineInner>,VirtualMachineInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmName, VirtualMachineInner parameters, String ifMatch, String ifNoneMatch)

The operation to create or update a virtual machine.

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

Shuts down the virtual machine and releases the compute resources.

abstract SyncPoller<PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String vmName, Boolean hibernate, Context context)

Shuts down the virtual machine and releases the compute resources.

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

Shuts down the virtual machine and releases the compute resources.

abstract PollerFlux<PollResult<Void>,Void> beginDeallocateAsync(String resourceGroupName, String vmName, Boolean hibernate)

Shuts down the virtual machine and releases the compute resources.

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

The operation to delete a virtual machine.

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

The operation to delete a virtual machine.

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

The operation to delete a virtual machine.

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

The operation to delete a virtual machine.

abstract SyncPoller<PollResult<VirtualMachineInstallPatchesResultInner>,VirtualMachineInstallPatchesResultInner> beginInstallPatches(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)

Installs patches on the VM.

abstract SyncPoller<PollResult<VirtualMachineInstallPatchesResultInner>,VirtualMachineInstallPatchesResultInner> beginInstallPatches(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput, Context context)

Installs patches on the VM.

abstract PollerFlux<PollResult<VirtualMachineInstallPatchesResultInner>,VirtualMachineInstallPatchesResultInner> beginInstallPatchesAsync(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)

Installs patches on the VM.

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

The operation to perform maintenance on a virtual machine.

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

The operation to perform maintenance on a virtual machine.

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

The operation to perform maintenance on a virtual machine.

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

The operation to power off (stop) a virtual machine.

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

The operation to power off (stop) a virtual machine.

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

The operation to power off (stop) a virtual machine.

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

The operation to power off (stop) a virtual machine.

abstract SyncPoller<PollResult<Void>,Void> beginReapply(String resourceGroupName, String vmName)

The operation to reapply a virtual machine's state.

abstract SyncPoller<PollResult<Void>,Void> beginReapply(String resourceGroupName, String vmName, Context context)

The operation to reapply a virtual machine's state.

abstract PollerFlux<PollResult<Void>,Void> beginReapplyAsync(String resourceGroupName, String vmName)

The operation to reapply a virtual machine's state.

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

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

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

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

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

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

abstract SyncPoller<PollResult<Void>,Void> beginReimage(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.

abstract SyncPoller<PollResult<Void>,Void> beginReimage(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.

abstract PollerFlux<PollResult<Void>,Void> beginReimageAsync(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.

abstract PollerFlux<PollResult<Void>,Void> beginReimageAsync(String resourceGroupName, String vmName, VirtualMachineReimageParameters parameters)

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.

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

The operation to restart a virtual machine.

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

The operation to restart a virtual machine.

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

The operation to restart a virtual machine.

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

Run command on the VM.

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

Run command on the VM.

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

Run command on the VM.

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

The operation to start a virtual machine.

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

The operation to start a virtual machine.

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

The operation to start a virtual machine.

abstract SyncPoller<PollResult<VirtualMachineInner>,VirtualMachineInner> beginUpdate(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters)

The operation to update a virtual machine.

abstract SyncPoller<PollResult<VirtualMachineInner>,VirtualMachineInner> beginUpdate(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters, String ifMatch, String ifNoneMatch, Context context)

The operation to update a virtual machine.

abstract PollerFlux<PollResult<VirtualMachineInner>,VirtualMachineInner> beginUpdateAsync(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters)

The operation to update a virtual machine.

abstract PollerFlux<PollResult<VirtualMachineInner>,VirtualMachineInner> beginUpdateAsync(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters, String ifMatch, String ifNoneMatch)

The operation to update a virtual machine.

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.

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.

abstract Mono<VirtualMachineCaptureResultInner> captureAsync(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.

abstract Mono<Response<Flux<ByteBuffer>>> captureWithResponseAsync(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.

abstract void convertToManagedDisks(String resourceGroupName, String vmName)

Converts virtual machine disks from blob-based to managed disks.

abstract void convertToManagedDisks(String resourceGroupName, String vmName, Context context)

Converts virtual machine disks from blob-based to managed disks.

abstract Mono<Void> convertToManagedDisksAsync(String resourceGroupName, String vmName)

Converts virtual machine disks from blob-based to managed disks.

abstract Mono<Response<Flux<ByteBuffer>>> convertToManagedDisksWithResponseAsync(String resourceGroupName, String vmName)

Converts virtual machine disks from blob-based to managed disks.

abstract VirtualMachineInner createOrUpdate(String resourceGroupName, String vmName, VirtualMachineInner parameters)

The operation to create or update a virtual machine.

abstract VirtualMachineInner createOrUpdate(String resourceGroupName, String vmName, VirtualMachineInner parameters, String ifMatch, String ifNoneMatch, Context context)

The operation to create or update a virtual machine.

abstract Mono<VirtualMachineInner> createOrUpdateAsync(String resourceGroupName, String vmName, VirtualMachineInner parameters)

The operation to create or update a virtual machine.

abstract Mono<VirtualMachineInner> createOrUpdateAsync(String resourceGroupName, String vmName, VirtualMachineInner parameters, String ifMatch, String ifNoneMatch)

The operation to create or update a virtual machine.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmName, VirtualMachineInner parameters, String ifMatch, String ifNoneMatch)

The operation to create or update a virtual machine.

abstract void deallocate(String resourceGroupName, String vmName)

Shuts down the virtual machine and releases the compute resources.

abstract void deallocate(String resourceGroupName, String vmName, Boolean hibernate, Context context)

Shuts down the virtual machine and releases the compute resources.

abstract Mono<Void> deallocateAsync(String resourceGroupName, String vmName)

Shuts down the virtual machine and releases the compute resources.

abstract Mono<Void> deallocateAsync(String resourceGroupName, String vmName, Boolean hibernate)

Shuts down the virtual machine and releases the compute resources.

abstract Mono<Response<Flux<ByteBuffer>>> deallocateWithResponseAsync(String resourceGroupName, String vmName, Boolean hibernate)

Shuts down the virtual machine and releases the compute resources.

abstract void delete(String resourceGroupName, String vmName)

The operation to delete a virtual machine.

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

The operation to delete a virtual machine.

abstract Mono<Void> deleteAsync(String resourceGroupName, String vmName)

The operation to delete a virtual machine.

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

The operation to delete a virtual machine.

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

The operation to delete a virtual machine.

abstract void generalize(String resourceGroupName, String vmName)

Sets the OS state of the virtual machine to generalized.

abstract Mono<Void> generalizeAsync(String resourceGroupName, String vmName)

Sets the OS state of the virtual machine to generalized.

abstract Response<Void> generalizeWithResponse(String resourceGroupName, String vmName, Context context)

Sets the OS state of the virtual machine to generalized.

abstract Mono<Response<Void>> generalizeWithResponseAsync(String resourceGroupName, String vmName)

Sets the OS state of the virtual machine to generalized.

abstract VirtualMachineInner getByResourceGroup(String resourceGroupName, String vmName)

Retrieves information about the model view or the instance view of a virtual machine.

abstract Mono<VirtualMachineInner> getByResourceGroupAsync(String resourceGroupName, String vmName)

Retrieves information about the model view or the instance view of a virtual machine.

abstract Response<VirtualMachineInner> getByResourceGroupWithResponse(String resourceGroupName, String vmName, InstanceViewTypes expand, Context context)

Retrieves information about the model view or the instance view of a virtual machine.

abstract Mono<Response<VirtualMachineInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vmName, InstanceViewTypes expand)

Retrieves information about the model view or the instance view of a virtual machine.

abstract VirtualMachineInstallPatchesResultInner installPatches(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)

Installs patches on the VM.

abstract VirtualMachineInstallPatchesResultInner installPatches(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput, Context context)

Installs patches on the VM.

abstract Mono<VirtualMachineInstallPatchesResultInner> installPatchesAsync(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)

Installs patches on the VM.

abstract Mono<Response<Flux<ByteBuffer>>> installPatchesWithResponseAsync(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)

Installs patches on the VM.

abstract VirtualMachineInstanceViewInner instanceView(String resourceGroupName, String vmName)

Retrieves information about the run-time state of a virtual machine.

abstract Mono<VirtualMachineInstanceViewInner> instanceViewAsync(String resourceGroupName, String vmName)

Retrieves information about the run-time state of a virtual machine.

abstract Response<VirtualMachineInstanceViewInner> instanceViewWithResponse(String resourceGroupName, String vmName, Context context)

Retrieves information about the run-time state of a virtual machine.

abstract Mono<Response<VirtualMachineInstanceViewInner>> instanceViewWithResponseAsync(String resourceGroupName, String vmName)

Retrieves information about the run-time state of a virtual machine.

abstract PagedIterable<VirtualMachineInner> list()

Lists all of the virtual machines in the specified subscription.

abstract PagedIterable<VirtualMachineInner> list(String statusOnly, String filter, ExpandTypesForListVMs expand, Context context)

Lists all of the virtual machines in the specified subscription.

abstract PagedFlux<VirtualMachineInner> listAsync()

Lists all of the virtual machines in the specified subscription.

abstract PagedFlux<VirtualMachineInner> listAsync(String statusOnly, String filter, ExpandTypesForListVMs expand)

Lists all of the virtual machines in the specified subscription.

abstract PagedIterable<VirtualMachineSizeInner> listAvailableSizes(String resourceGroupName, String vmName)

Lists all available virtual machine sizes to which the specified virtual machine can be resized.

abstract PagedIterable<VirtualMachineSizeInner> listAvailableSizes(String resourceGroupName, String vmName, Context context)

Lists all available virtual machine sizes to which the specified virtual machine can be resized.

abstract PagedFlux<VirtualMachineSizeInner> listAvailableSizesAsync(String resourceGroupName, String vmName)

Lists all available virtual machine sizes to which the specified virtual machine can be resized.

abstract PagedIterable<VirtualMachineInner> listByLocation(String location)

Gets all the virtual machines under the specified subscription for the specified location.

abstract PagedIterable<VirtualMachineInner> listByLocation(String location, Context context)

Gets all the virtual machines under the specified subscription for the specified location.

abstract PagedFlux<VirtualMachineInner> listByLocationAsync(String location)

Gets all the virtual machines under the specified subscription for the specified location.

abstract PagedIterable<VirtualMachineInner> listByResourceGroup(String resourceGroupName)

Lists all of the virtual machines in the specified resource group.

abstract PagedIterable<VirtualMachineInner> listByResourceGroup(String resourceGroupName, String filter, ExpandTypeForListVMs expand, Context context)

Lists all of the virtual machines in the specified resource group.

abstract PagedFlux<VirtualMachineInner> listByResourceGroupAsync(String resourceGroupName)

Lists all of the virtual machines in the specified resource group.

abstract PagedFlux<VirtualMachineInner> listByResourceGroupAsync(String resourceGroupName, String filter, ExpandTypeForListVMs expand)

Lists all of the virtual machines in the specified resource group.

abstract void performMaintenance(String resourceGroupName, String vmName)

The operation to perform maintenance on a virtual machine.

abstract void performMaintenance(String resourceGroupName, String vmName, Context context)

The operation to perform maintenance on a virtual machine.

abstract Mono<Void> performMaintenanceAsync(String resourceGroupName, String vmName)

The operation to perform maintenance on a virtual machine.

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

The operation to perform maintenance on a virtual machine.

abstract void powerOff(String resourceGroupName, String vmName)

The operation to power off (stop) a virtual machine.

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

The operation to power off (stop) a virtual machine.

abstract Mono<Void> powerOffAsync(String resourceGroupName, String vmName)

The operation to power off (stop) a virtual machine.

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

The operation to power off (stop) a virtual machine.

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

The operation to power off (stop) a virtual machine.

abstract void reapply(String resourceGroupName, String vmName)

The operation to reapply a virtual machine's state.

abstract void reapply(String resourceGroupName, String vmName, Context context)

The operation to reapply a virtual machine's state.

abstract Mono<Void> reapplyAsync(String resourceGroupName, String vmName)

The operation to reapply a virtual machine's state.

abstract Mono<Response<Flux<ByteBuffer>>> reapplyWithResponseAsync(String resourceGroupName, String vmName)

The operation to reapply a virtual machine's state.

abstract void redeploy(String resourceGroupName, String vmName)

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

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.

abstract Mono<Void> redeployAsync(String resourceGroupName, String vmName)

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

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

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

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.

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.

abstract Mono<Void> reimageAsync(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.

abstract Mono<Void> reimageAsync(String resourceGroupName, String vmName, VirtualMachineReimageParameters parameters)

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.

abstract Mono<Response<Flux<ByteBuffer>>> reimageWithResponseAsync(String resourceGroupName, String vmName, VirtualMachineReimageParameters parameters)

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.

abstract void restart(String resourceGroupName, String vmName)

The operation to restart a virtual machine.

abstract void restart(String resourceGroupName, String vmName, Context context)

The operation to restart a virtual machine.

abstract Mono<Void> restartAsync(String resourceGroupName, String vmName)

The operation to restart a virtual machine.

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

The operation to restart a virtual machine.

abstract RetrieveBootDiagnosticsDataResultInner retrieveBootDiagnosticsData(String resourceGroupName, String vmName)

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

abstract Mono<RetrieveBootDiagnosticsDataResultInner> retrieveBootDiagnosticsDataAsync(String resourceGroupName, String vmName)

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

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

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

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

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

abstract RunCommandResultInner runCommand(String resourceGroupName, String vmName, RunCommandInput parameters)

Run command on the VM.

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

Run command on the VM.

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

Run command on the VM.

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

Run command on the VM.

abstract void simulateEviction(String resourceGroupName, String vmName)

The operation to simulate the eviction of spot virtual machine.

abstract Mono<Void> simulateEvictionAsync(String resourceGroupName, String vmName)

The operation to simulate the eviction of spot virtual machine.

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

The operation to simulate the eviction of spot virtual machine.

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

The operation to simulate the eviction of spot virtual machine.

abstract void start(String resourceGroupName, String vmName)

The operation to start a virtual machine.

abstract void start(String resourceGroupName, String vmName, Context context)

The operation to start a virtual machine.

abstract Mono<Void> startAsync(String resourceGroupName, String vmName)

The operation to start a virtual machine.

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

The operation to start a virtual machine.

abstract VirtualMachineInner update(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters)

The operation to update a virtual machine.

abstract VirtualMachineInner update(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters, String ifMatch, String ifNoneMatch, Context context)

The operation to update a virtual machine.

abstract Mono<VirtualMachineInner> updateAsync(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters)

The operation to update a virtual machine.

abstract Mono<VirtualMachineInner> updateAsync(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters, String ifMatch, String ifNoneMatch)

The operation to update a virtual machine.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters, String ifMatch, String ifNoneMatch)

The operation to update a virtual machine.

Method Details

assessPatches

public abstract VirtualMachineAssessPatchesResultInner assessPatches(String resourceGroupName, String vmName)

Assess patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

describes the properties of an AssessPatches result.

assessPatches

public abstract VirtualMachineAssessPatchesResultInner assessPatches(String resourceGroupName, String vmName, Context context)

Assess patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

Returns:

describes the properties of an AssessPatches result.

assessPatchesAsync

public abstract Mono assessPatchesAsync(String resourceGroupName, String vmName)

Assess patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

describes the properties of an AssessPatches result on successful completion of Mono.

assessPatchesWithResponseAsync

public abstract Mono>> assessPatchesWithResponseAsync(String resourceGroupName, String vmName)

Assess patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

describes the properties of an AssessPatches result along with Response<T> on successful completion of Mono.

attachDetachDataDisks

public abstract StorageProfile attachDetachDataDisks(String resourceGroupName, String vmName, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from the virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on the virtual machine.

Returns:

specifies the storage settings for the virtual machine disks.

attachDetachDataDisks

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

Attach and detach data disks to/from the virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on the virtual machine.
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 vmName, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from the virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on the virtual machine.

Returns:

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

attachDetachDataDisksWithResponseAsync

public abstract Mono>> attachDetachDataDisksWithResponseAsync(String resourceGroupName, String vmName, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from the virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on the virtual machine.

Returns:

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

beginAssessPatches

public abstract SyncPoller,VirtualMachineAssessPatchesResultInner> beginAssessPatches(String resourceGroupName, String vmName)

Assess patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the SyncPoller<T,U> for polling of describes the properties of an AssessPatches result.

beginAssessPatches

public abstract SyncPoller,VirtualMachineAssessPatchesResultInner> beginAssessPatches(String resourceGroupName, String vmName, Context context)

Assess patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of describes the properties of an AssessPatches result.

beginAssessPatchesAsync

public abstract PollerFlux,VirtualMachineAssessPatchesResultInner> beginAssessPatchesAsync(String resourceGroupName, String vmName)

Assess patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the PollerFlux<T,U> for polling of describes the properties of an AssessPatches result.

beginAttachDetachDataDisks

public abstract SyncPoller,StorageProfile> beginAttachDetachDataDisks(String resourceGroupName, String vmName, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from the virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on the virtual machine.

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 vmName, AttachDetachDataDisksRequest parameters, Context context)

Attach and detach data disks to/from the virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on the virtual machine.
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 vmName, AttachDetachDataDisksRequest parameters)

Attach and detach data disks to/from the virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the attach and detach data disks operation on the virtual machine.

Returns:

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

beginCapture

public abstract SyncPoller,VirtualMachineCaptureResultInner> beginCapture(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Capture Virtual Machine operation.

Returns:

the SyncPoller<T,U> for polling of output of virtual machine capture operation.

beginCapture

public abstract SyncPoller,VirtualMachineCaptureResultInner> beginCapture(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Capture Virtual Machine operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of output of virtual machine capture operation.

beginCaptureAsync

public abstract PollerFlux,VirtualMachineCaptureResultInner> beginCaptureAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Capture Virtual Machine operation.

Returns:

the PollerFlux<T,U> for polling of output of virtual machine capture operation.

beginConvertToManagedDisks

public abstract SyncPoller,Void> beginConvertToManagedDisks(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginConvertToManagedDisks

public abstract SyncPoller,Void> beginConvertToManagedDisks(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

Returns:

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

beginConvertToManagedDisksAsync

public abstract PollerFlux,Void> beginConvertToManagedDisksAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginCreateOrUpdate

public abstract SyncPoller,VirtualMachineInner> beginCreateOrUpdate(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Create Virtual Machine operation.

Returns:

the SyncPoller<T,U> for polling of describes a Virtual Machine.

beginCreateOrUpdate

public abstract SyncPoller,VirtualMachineInner> beginCreateOrUpdate(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Create Virtual Machine 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.

beginCreateOrUpdateAsync

public abstract PollerFlux,VirtualMachineInner> beginCreateOrUpdateAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Create Virtual Machine operation.

Returns:

the PollerFlux<T,U> for polling of describes a Virtual Machine.

beginCreateOrUpdateAsync

public abstract PollerFlux,VirtualMachineInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmName, VirtualMachineInner parameters, String ifMatch, String ifNoneMatch)

The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Create Virtual Machine 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.

beginDeallocate

public abstract SyncPoller,Void> beginDeallocate(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginDeallocate

public abstract SyncPoller,Void> beginDeallocate(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
hibernate - Optional parameter to hibernate a 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 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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginDeallocateAsync

public abstract PollerFlux,Void> beginDeallocateAsync(String resourceGroupName, String vmName, Boolean hibernate)

Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
hibernate - Optional parameter to hibernate a virtual machine.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String vmName)

The operation to delete a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String vmName, Boolean forceDeletion, Context context)

The operation to delete a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
forceDeletion - Optional parameter to force delete virtual machines.
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 vmName)

The operation to delete a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String vmName, Boolean forceDeletion)

The operation to delete a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
forceDeletion - Optional parameter to force delete virtual machines.

Returns:

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

beginInstallPatches

public abstract SyncPoller,VirtualMachineInstallPatchesResultInner> beginInstallPatches(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)

Installs patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
installPatchesInput - Input for InstallPatches as directly received by the API.

Returns:

the SyncPoller<T,U> for polling of the result summary of an installation operation.

beginInstallPatches

public abstract SyncPoller,VirtualMachineInstallPatchesResultInner> beginInstallPatches(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput, Context context)

Installs patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
installPatchesInput - Input for InstallPatches as directly received by the API.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the result summary of an installation operation.

beginInstallPatchesAsync

public abstract PollerFlux,VirtualMachineInstallPatchesResultInner> beginInstallPatchesAsync(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)

Installs patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
installPatchesInput - Input for InstallPatches as directly received by the API.

Returns:

the PollerFlux<T,U> for polling of the result summary of an installation operation.

beginPerformMaintenance

public abstract SyncPoller,Void> beginPerformMaintenance(String resourceGroupName, String vmName)

The operation to perform maintenance on a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginPerformMaintenance

public abstract SyncPoller,Void> beginPerformMaintenance(String resourceGroupName, String vmName, Context context)

The operation to perform maintenance on a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName)

The operation to perform maintenance on a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginPowerOff

public abstract SyncPoller,Void> beginPowerOff(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginPowerOff

public abstract SyncPoller,Void> beginPowerOff(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:

resourceGroupName - The name of the resource group.
vmName - The name 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 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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginPowerOffAsync

public abstract PollerFlux,Void> beginPowerOffAsync(String resourceGroupName, String vmName, Boolean skipShutdown)

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:

resourceGroupName - The name of the resource group.
vmName - The name 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.

beginReapply

public abstract SyncPoller,Void> beginReapply(String resourceGroupName, String vmName)

The operation to reapply a virtual machine's state.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginReapply

public abstract SyncPoller,Void> beginReapply(String resourceGroupName, String vmName, Context context)

The operation to reapply a virtual machine's state.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

Returns:

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

beginReapplyAsync

public abstract PollerFlux,Void> beginReapplyAsync(String resourceGroupName, String vmName)

The operation to reapply a virtual machine's state.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginRedeploy

public abstract SyncPoller,Void> beginRedeploy(String resourceGroupName, String vmName)

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

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginRedeploy

public abstract SyncPoller,Void> beginRedeploy(String resourceGroupName, String vmName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName)

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

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginReimage

public abstract SyncPoller,Void> beginReimage(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginReimage

public abstract SyncPoller,Void> beginReimage(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Reimage Virtual Machine operation.
context - The context to associate with this operation.

Returns:

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

beginReimageAsync

public abstract PollerFlux,Void> beginReimageAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginReimageAsync

public abstract PollerFlux,Void> beginReimageAsync(String resourceGroupName, String vmName, VirtualMachineReimageParameters parameters)

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Reimage Virtual Machine operation.

Returns:

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

beginRestart

public abstract SyncPoller,Void> beginRestart(String resourceGroupName, String vmName)

The operation to restart a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginRestart

public abstract SyncPoller,Void> beginRestart(String resourceGroupName, String vmName, Context context)

The operation to restart a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName)

The operation to restart a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginRunCommand

public abstract SyncPoller,RunCommandResultInner> beginRunCommand(String resourceGroupName, String vmName, RunCommandInput parameters)

Run command on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName, RunCommandInput parameters, Context context)

Run command on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName, RunCommandInput parameters)

Run command on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName)

The operation to start a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginStart

public abstract SyncPoller,Void> beginStart(String resourceGroupName, String vmName, Context context)

The operation to start a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName)

The operation to start a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

beginUpdate

public abstract SyncPoller,VirtualMachineInner> beginUpdate(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters)

The operation to update a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine operation.

Returns:

the SyncPoller<T,U> for polling of describes a Virtual Machine.

beginUpdate

public abstract SyncPoller,VirtualMachineInner> beginUpdate(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters, String ifMatch, String ifNoneMatch, Context context)

The operation to update a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine 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.

beginUpdateAsync

public abstract PollerFlux,VirtualMachineInner> beginUpdateAsync(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters)

The operation to update a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine operation.

Returns:

the PollerFlux<T,U> for polling of describes a Virtual Machine.

beginUpdateAsync

public abstract PollerFlux,VirtualMachineInner> beginUpdateAsync(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters, String ifMatch, String ifNoneMatch)

The operation to update a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine 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.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Capture Virtual Machine operation.

Returns:

output of virtual machine capture operation.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Capture Virtual Machine operation.
context - The context to associate with this operation.

Returns:

output of virtual machine capture operation.

captureAsync

public abstract Mono captureAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Capture Virtual Machine operation.

Returns:

output of virtual machine capture operation on successful completion of Mono.

captureWithResponseAsync

public abstract Mono>> captureWithResponseAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Capture Virtual Machine operation.

Returns:

output of virtual machine capture operation along with Response<T> on successful completion of Mono.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

convertToManagedDisksAsync

public abstract Mono convertToManagedDisksAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

convertToManagedDisksWithResponseAsync

public abstract Mono>> convertToManagedDisksWithResponseAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Create Virtual Machine operation.

Returns:

describes a Virtual Machine.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Create Virtual Machine 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.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Create Virtual Machine operation.

Returns:

describes a Virtual Machine on successful completion of Mono.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String vmName, VirtualMachineInner parameters, String ifMatch, String ifNoneMatch)

The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Create Virtual Machine 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 on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmName, VirtualMachineInner parameters, String ifMatch, String ifNoneMatch)

The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Create Virtual Machine 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 along with Response<T> on successful completion of Mono.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
hibernate - Optional parameter to hibernate a virtual machine.
context - The context to associate with this operation.

deallocateAsync

public abstract Mono deallocateAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

deallocateAsync

public abstract Mono deallocateAsync(String resourceGroupName, String vmName, Boolean hibernate)

Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
hibernate - Optional parameter to hibernate a virtual machine.

Returns:

A Mono that completes when a successful response is received.

deallocateWithResponseAsync

public abstract Mono>> deallocateWithResponseAsync(String resourceGroupName, String vmName, Boolean hibernate)

Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
hibernate - Optional parameter to hibernate a virtual machine.

Returns:

the Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String vmName)

The operation to delete a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

delete

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

The operation to delete a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
forceDeletion - Optional parameter to force delete virtual machines.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String vmName)

The operation to delete a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String vmName, Boolean forceDeletion)

The operation to delete a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
forceDeletion - Optional parameter to force delete virtual machines.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String vmName, Boolean forceDeletion)

The operation to delete a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
forceDeletion - Optional parameter to force delete virtual machines.

Returns:

the Response<T> on successful completion of Mono.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

generalizeAsync

public abstract Mono generalizeAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

generalizeWithResponse

public abstract Response generalizeWithResponse(String resourceGroupName, String vmName, Context context)

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

Returns:

generalizeWithResponseAsync

public abstract Mono> generalizeWithResponseAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract VirtualMachineInner getByResourceGroup(String resourceGroupName, String vmName)

Retrieves information about the model view or the instance view of a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

describes a Virtual Machine.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String vmName)

Retrieves information about the model view or the instance view of a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

describes a Virtual Machine on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String vmName, InstanceViewTypes expand, Context context)

Retrieves information about the model view or the instance view of a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
expand - The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the virtual machine that is managed by the platform and can change outside of control plane operations. 'UserData' retrieves the UserData property as part of the VM model view that was provided by the user during the VM Create/Update operation.
context - The context to associate with this operation.

Returns:

describes a Virtual Machine along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String vmName, InstanceViewTypes expand)

Retrieves information about the model view or the instance view of a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
expand - The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the virtual machine that is managed by the platform and can change outside of control plane operations. 'UserData' retrieves the UserData property as part of the VM model view that was provided by the user during the VM Create/Update operation.

Returns:

describes a Virtual Machine along with Response<T> on successful completion of Mono.

installPatches

public abstract VirtualMachineInstallPatchesResultInner installPatches(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)

Installs patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
installPatchesInput - Input for InstallPatches as directly received by the API.

Returns:

the result summary of an installation operation.

installPatches

public abstract VirtualMachineInstallPatchesResultInner installPatches(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput, Context context)

Installs patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
installPatchesInput - Input for InstallPatches as directly received by the API.
context - The context to associate with this operation.

Returns:

the result summary of an installation operation.

installPatchesAsync

public abstract Mono installPatchesAsync(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)

Installs patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
installPatchesInput - Input for InstallPatches as directly received by the API.

Returns:

the result summary of an installation operation on successful completion of Mono.

installPatchesWithResponseAsync

public abstract Mono>> installPatchesWithResponseAsync(String resourceGroupName, String vmName, VirtualMachineInstallPatchesParameters installPatchesInput)

Installs patches on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
installPatchesInput - Input for InstallPatches as directly received by the API.

Returns:

the result summary of an installation operation along with Response<T> on successful completion of Mono.

instanceView

public abstract VirtualMachineInstanceViewInner instanceView(String resourceGroupName, String vmName)

Retrieves information about the run-time state of a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the instance view of a virtual machine.

instanceViewAsync

public abstract Mono instanceViewAsync(String resourceGroupName, String vmName)

Retrieves information about the run-time state of a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the instance view of a virtual machine on successful completion of Mono.

instanceViewWithResponse

public abstract Response instanceViewWithResponse(String resourceGroupName, String vmName, Context context)

Retrieves information about the run-time state of a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

Returns:

the instance view of a virtual machine along with Response<T>.

instanceViewWithResponseAsync

public abstract Mono> instanceViewWithResponseAsync(String resourceGroupName, String vmName)

Retrieves information about the run-time state of a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the instance view of a virtual machine along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

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:

the List Virtual Machine operation response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String statusOnly, String filter, ExpandTypesForListVMs expand, Context context)

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:

statusOnly - statusOnly=true enables fetching run time status of all Virtual Machines in the subscription.
filter - The system query option to filter VMs returned in the response. Allowed value is 'virtualMachineScaleSet/id' eq /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}'.
expand - The expand expression to apply on operation. 'instanceView' enables fetching run time status of all Virtual Machines, this can only be specified if a valid $filter option is specified.
context - The context to associate with this operation.

Returns:

the List Virtual Machine operation response as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

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:

the List Virtual Machine operation response as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String statusOnly, String filter, ExpandTypesForListVMs expand)

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:

statusOnly - statusOnly=true enables fetching run time status of all Virtual Machines in the subscription.
filter - The system query option to filter VMs returned in the response. Allowed value is 'virtualMachineScaleSet/id' eq /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}'.
expand - The expand expression to apply on operation. 'instanceView' enables fetching run time status of all Virtual Machines, this can only be specified if a valid $filter option is specified.

Returns:

the List Virtual Machine operation response as paginated response with PagedFlux<T>.

listAvailableSizes

public abstract PagedIterable listAvailableSizes(String resourceGroupName, String vmName)

Lists all available virtual machine sizes to which the specified virtual machine can be resized.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the List Virtual Machine operation response as paginated response with PagedIterable<T>.

listAvailableSizes

public abstract PagedIterable listAvailableSizes(String resourceGroupName, String vmName, Context context)

Lists all available virtual machine sizes to which the specified virtual machine can be resized.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

Returns:

the List Virtual Machine operation response as paginated response with PagedIterable<T>.

listAvailableSizesAsync

public abstract PagedFlux listAvailableSizesAsync(String resourceGroupName, String vmName)

Lists all available virtual machine sizes to which the specified virtual machine can be resized.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the List Virtual Machine operation response as paginated response with PagedFlux<T>.

listByLocation

public abstract PagedIterable listByLocation(String location)

Gets all the virtual machines under the specified subscription for the specified location.

Parameters:

location - The location for which virtual machines under the subscription are queried.

Returns:

all the virtual machines under the specified subscription for the specified location as paginated response with PagedIterable<T>.

listByLocation

public abstract PagedIterable listByLocation(String location, Context context)

Gets all the virtual machines under the specified subscription for the specified location.

Parameters:

location - The location for which virtual machines under the subscription are queried.
context - The context to associate with this operation.

Returns:

all the virtual machines under the specified subscription for the specified location as paginated response with PagedIterable<T>.

listByLocationAsync

public abstract PagedFlux listByLocationAsync(String location)

Gets all the virtual machines under the specified subscription for the specified location.

Parameters:

location - The location for which virtual machines under the subscription are queried.

Returns:

all the virtual machines under the specified subscription for the specified location as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

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:

resourceGroupName - The name of the resource group.

Returns:

the List Virtual Machine operation response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, String filter, ExpandTypeForListVMs expand, Context context)

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:

resourceGroupName - The name of the resource group.
filter - The system query option to filter VMs returned in the response. Allowed value is 'virtualMachineScaleSet/id' eq /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}'.
expand - The expand expression to apply on operation. 'instanceView' enables fetching run time status of all Virtual Machines, this can only be specified if a valid $filter option is specified.
context - The context to associate with this operation.

Returns:

the List Virtual Machine operation response as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

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:

resourceGroupName - The name of the resource group.

Returns:

the List Virtual Machine operation response as paginated response with PagedFlux<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName, String filter, ExpandTypeForListVMs expand)

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:

resourceGroupName - The name of the resource group.
filter - The system query option to filter VMs returned in the response. Allowed value is 'virtualMachineScaleSet/id' eq /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}'.
expand - The expand expression to apply on operation. 'instanceView' enables fetching run time status of all Virtual Machines, this can only be specified if a valid $filter option is specified.

Returns:

the List Virtual Machine operation response as paginated response with PagedFlux<T>.

performMaintenance

public abstract void performMaintenance(String resourceGroupName, String vmName)

The operation to perform maintenance on a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

performMaintenance

public abstract void performMaintenance(String resourceGroupName, String vmName, Context context)

The operation to perform maintenance on a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

performMaintenanceAsync

public abstract Mono performMaintenanceAsync(String resourceGroupName, String vmName)

The operation to perform maintenance on a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

performMaintenanceWithResponseAsync

public abstract Mono>> performMaintenanceWithResponseAsync(String resourceGroupName, String vmName)

The operation to perform maintenance on a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

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:

resourceGroupName - The name of the resource group.
vmName - The name 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 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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

powerOffAsync

public abstract Mono powerOffAsync(String resourceGroupName, String vmName, Boolean skipShutdown)

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:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName, Boolean skipShutdown)

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:

resourceGroupName - The name of the resource group.
vmName - The name 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.

reapply

public abstract void reapply(String resourceGroupName, String vmName)

The operation to reapply a virtual machine's state.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

reapply

public abstract void reapply(String resourceGroupName, String vmName, Context context)

The operation to reapply a virtual machine's state.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

reapplyAsync

public abstract Mono reapplyAsync(String resourceGroupName, String vmName)

The operation to reapply a virtual machine's state.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

reapplyWithResponseAsync

public abstract Mono>> reapplyWithResponseAsync(String resourceGroupName, String vmName)

The operation to reapply a virtual machine's state.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

redeployAsync

public abstract Mono redeployAsync(String resourceGroupName, String vmName)

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

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

redeployWithResponseAsync

public abstract Mono>> redeployWithResponseAsync(String resourceGroupName, String vmName)

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

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Reimage Virtual Machine operation.
context - The context to associate with this operation.

reimageAsync

public abstract Mono reimageAsync(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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

reimageAsync

public abstract Mono reimageAsync(String resourceGroupName, String vmName, VirtualMachineReimageParameters parameters)

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Reimage Virtual Machine operation.

Returns:

A Mono that completes when a successful response is received.

reimageWithResponseAsync

public abstract Mono>> reimageWithResponseAsync(String resourceGroupName, String vmName, VirtualMachineReimageParameters parameters)

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Reimage Virtual Machine operation.

Returns:

the Response<T> on successful completion of Mono.

restart

public abstract void restart(String resourceGroupName, String vmName)

The operation to restart a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

restart

public abstract void restart(String resourceGroupName, String vmName, Context context)

The operation to restart a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

restartAsync

public abstract Mono restartAsync(String resourceGroupName, String vmName)

The operation to restart a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

restartWithResponseAsync

public abstract Mono>> restartWithResponseAsync(String resourceGroupName, String vmName)

The operation to restart a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

retrieveBootDiagnosticsData

public abstract RetrieveBootDiagnosticsDataResultInner retrieveBootDiagnosticsData(String resourceGroupName, String vmName)

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

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

retrieveBootDiagnosticsDataAsync

public abstract Mono retrieveBootDiagnosticsDataAsync(String resourceGroupName, String vmName)

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName, Integer sasUriExpirationTimeInMinutes, Context context)

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName, Integer sasUriExpirationTimeInMinutes)

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName, RunCommandInput parameters)

Run command on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Run command operation.

Returns:

the response.

runCommand

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

Run command on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName, RunCommandInput parameters)

Run command on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName, RunCommandInput parameters)

Run command on the VM.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name 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 vmName)

The operation to simulate the eviction of spot virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

simulateEvictionAsync

public abstract Mono simulateEvictionAsync(String resourceGroupName, String vmName)

The operation to simulate the eviction of spot virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

simulateEvictionWithResponse

public abstract Response simulateEvictionWithResponse(String resourceGroupName, String vmName, Context context)

The operation to simulate the eviction of spot virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

Returns:

simulateEvictionWithResponseAsync

public abstract Mono> simulateEvictionWithResponseAsync(String resourceGroupName, String vmName)

The operation to simulate the eviction of spot virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

start

public abstract void start(String resourceGroupName, String vmName)

The operation to start a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

start

public abstract void start(String resourceGroupName, String vmName, Context context)

The operation to start a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
context - The context to associate with this operation.

startAsync

public abstract Mono startAsync(String resourceGroupName, String vmName)

The operation to start a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

A Mono that completes when a successful response is received.

startWithResponseAsync

public abstract Mono>> startWithResponseAsync(String resourceGroupName, String vmName)

The operation to start a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.

Returns:

the Response<T> on successful completion of Mono.

update

public abstract VirtualMachineInner update(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters)

The operation to update a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine operation.

Returns:

describes a Virtual Machine.

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:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine 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.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters)

The operation to update a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine operation.

Returns:

describes a Virtual Machine on successful completion of Mono.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters, String ifMatch, String ifNoneMatch)

The operation to update a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine 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 on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String vmName, VirtualMachineUpdateInner parameters, String ifMatch, String ifNoneMatch)

The operation to update a virtual machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine.
parameters - Parameters supplied to the Update Virtual Machine 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 along with Response<T> on successful completion of Mono.

Applies to