Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VirtualMachineScaleSetVMs

Package version

Interface representing a VirtualMachineScaleSetVMs.

Hierarchy

  • VirtualMachineScaleSetVMs

Implemented by

Index

Methods

beginDeallocate

  • Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • vmScaleSetName: string

      The name of the VM scale set.

    • instanceId: string

      The instance ID of the virtual machine.

    • Optional options: VirtualMachineScaleSetVMsDeallocateOptionalParams

      The options parameters.

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

beginDeallocateAndWait

  • Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • vmScaleSetName: string

      The name of the VM scale set.

    • instanceId: string

      The instance ID of the virtual machine.

    • Optional options: VirtualMachineScaleSetVMsDeallocateOptionalParams

      The options parameters.

    Returns Promise<void>

beginDelete

beginDeleteAndWait

beginPerformMaintenance

beginPerformMaintenanceAndWait

beginPowerOff

  • Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • vmScaleSetName: string

      The name of the VM scale set.

    • instanceId: string

      The instance ID of the virtual machine.

    • Optional options: VirtualMachineScaleSetVMsPowerOffOptionalParams

      The options parameters.

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

beginPowerOffAndWait

  • Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • vmScaleSetName: string

      The name of the VM scale set.

    • instanceId: string

      The instance ID of the virtual machine.

    • Optional options: VirtualMachineScaleSetVMsPowerOffOptionalParams

      The options parameters.

    Returns Promise<void>

beginRedeploy

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

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • vmScaleSetName: string

      The name of the VM scale set.

    • instanceId: string

      The instance ID of the virtual machine.

    • Optional options: VirtualMachineScaleSetVMsRedeployOptionalParams

      The options parameters.

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

beginRedeployAndWait

beginReimage

beginReimageAll

  • Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • vmScaleSetName: string

      The name of the VM scale set.

    • instanceId: string

      The instance ID of the virtual machine.

    • Optional options: VirtualMachineScaleSetVMsReimageAllOptionalParams

      The options parameters.

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

beginReimageAllAndWait

beginReimageAndWait

beginRestart

beginRestartAndWait

beginRunCommand

beginRunCommandAndWait

beginStart

beginStartAndWait

beginUpdate

beginUpdateAndWait

get

getInstanceView

list

retrieveBootDiagnosticsData

simulateEviction

Generated using TypeDoc