Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VirtualMachines

Package version

Interface representing a VirtualMachines.

Hierarchy

  • VirtualMachines

Implemented by

Index

Methods

beginAssessPatches

beginAssessPatchesAndWait

beginCapture

beginCaptureAndWait

beginConvertToManagedDisks

beginConvertToManagedDisksAndWait

beginCreateOrUpdate

beginCreateOrUpdateAndWait

beginDeallocate

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

    Parameters

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginDeallocateAndWait

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

    Parameters

    Returns Promise<void>

beginDelete

beginDeleteAndWait

beginInstallPatches

beginInstallPatchesAndWait

beginPerformMaintenance

beginPerformMaintenanceAndWait

beginPowerOff

  • 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: string

      The name of the resource group.

    • vmName: string

      The name of the virtual machine.

    • Optional options: VirtualMachinesPowerOffOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginPowerOffAndWait

  • 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: string

      The name of the resource group.

    • vmName: string

      The name of the virtual machine.

    • Optional options: VirtualMachinesPowerOffOptionalParams

      The options parameters.

    Returns Promise<void>

beginReapply

beginReapplyAndWait

beginRedeploy

beginRedeployAndWait

beginReimage

  • Reimages the virtual machine which has an ephemeral OS disk back to its initial state.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • vmName: string

      The name of the virtual machine.

    • Optional options: VirtualMachinesReimageOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginReimageAndWait

beginRestart

beginRestartAndWait

beginRunCommand

beginRunCommandAndWait

beginStart

beginStartAndWait

beginUpdate

beginUpdateAndWait

generalize

get

instanceView

list

listAll

listAvailableSizes

listByLocation

retrieveBootDiagnosticsData

simulateEviction

Generated using TypeDoc