VirtualMachineScaleSetsOperationsExtensions Class

Definition

Extension methods for VirtualMachineScaleSetsOperations.

public static class VirtualMachineScaleSetsOperationsExtensions
type VirtualMachineScaleSetsOperationsExtensions = class
Public Module VirtualMachineScaleSetsOperationsExtensions
Inheritance
VirtualMachineScaleSetsOperationsExtensions

Methods

BeginCreateOrUpdateAsync(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSetInner, CancellationToken)

Create or update a VM scale set.

BeginDeallocateAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.

BeginDeleteAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Deletes a VM scale set.

BeginDeleteInstancesAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Deletes virtual machines in a VM scale set.

BeginPerformMaintenanceAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications

BeginPowerOffAsync(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>, IList<String>, CancellationToken)

Power off (stop) one or more virtual machines 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.

BeginRedeployAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.

BeginReimageAllAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.

BeginReimageAsync(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSetReimageParameters, CancellationToken)

Reimages (upgrade the operating system) one or more virtual machines in a VM scale set 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.

BeginRestartAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Restarts one or more virtual machines in a VM scale set.

BeginSetOrchestrationServiceStateAsync(IVirtualMachineScaleSetsOperations, String, String, OrchestrationServiceStateInput, CancellationToken)

Changes ServiceState property for a given service

BeginStartAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Starts one or more virtual machines in a VM scale set.

BeginUpdateAsync(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSetUpdate, CancellationToken)

Update a VM scale set.

BeginUpdateInstancesAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.

ConvertToSinglePlacementGroupAsync(IVirtualMachineScaleSetsOperations, String, String, String, CancellationToken)

Converts SinglePlacementGroup property to false for a existing virtual machine scale set.

CreateOrUpdateAsync(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSetInner, CancellationToken)

Create or update a VM scale set.

DeallocateAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.

DeleteAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Deletes a VM scale set.

DeleteInstancesAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Deletes virtual machines in a VM scale set.

ForceRecoveryServiceFabricPlatformUpdateDomainWalkAsync(IVirtualMachineScaleSetsOperations, String, String, Int32, CancellationToken)

Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.

GetAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Display information about a virtual machine scale set.

GetInstanceViewAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Gets the status of a VM scale set instance.

GetOSUpgradeHistoryAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Gets list of OS upgrades on a VM scale set instance.

GetOSUpgradeHistoryNextAsync(IVirtualMachineScaleSetsOperations, String, CancellationToken)

Gets list of OS upgrades on a VM scale set instance.

ListAllAsync(IVirtualMachineScaleSetsOperations, CancellationToken)

Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets.

ListAllNextAsync(IVirtualMachineScaleSetsOperations, String, CancellationToken)

Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets.

ListAsync(IVirtualMachineScaleSetsOperations, String, CancellationToken)

Gets a list of all VM scale sets under a resource group.

ListNextAsync(IVirtualMachineScaleSetsOperations, String, CancellationToken)

Gets a list of all VM scale sets under a resource group.

ListSkusAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.

ListSkusNextAsync(IVirtualMachineScaleSetsOperations, String, CancellationToken)

Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.

PerformMaintenanceAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications

PowerOffAsync(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>, IList<String>, CancellationToken)

Power off (stop) one or more virtual machines 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.

RedeployAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.

ReimageAllAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.

ReimageAsync(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSetReimageParameters, CancellationToken)

Reimages (upgrade the operating system) one or more virtual machines in a VM scale set 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.

RestartAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Restarts one or more virtual machines in a VM scale set.

SetOrchestrationServiceStateAsync(IVirtualMachineScaleSetsOperations, String, String, OrchestrationServiceStateInput, CancellationToken)

Changes ServiceState property for a given service

StartAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Starts one or more virtual machines in a VM scale set.

UpdateAsync(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSetUpdate, CancellationToken)

Update a VM scale set.

UpdateInstancesAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken)

Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.

Applies to