Share via


VirtualMachineScaleSetsOperationsExtensions Class

Definition

Extension methods for VirtualMachineScaleSetsOperations.

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

Methods

BeginCreateOrUpdate(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSet)

Create or update a VM scale set.

BeginCreateOrUpdateAsync(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSet, CancellationToken)

Create or update a VM scale set.

BeginDeallocate(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>, IList<String>)

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.

BeginDeallocateAsync(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>, 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.

BeginDelete(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>)

Deletes a VM scale set.

BeginDeleteAsync(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>, CancellationToken)

Deletes a VM scale set.

BeginDeleteInstances(IVirtualMachineScaleSetsOperations, String, String, IList<String>, Nullable<Boolean>)

Deletes virtual machines in a VM scale set.

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

Deletes virtual machines in a VM scale set.

BeginPerformMaintenance(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications

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/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications

BeginPowerOff(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>, IList<String>)

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.

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.

BeginReapply(IVirtualMachineScaleSetsOperations, String, String)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances

BeginReapplyAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances

BeginRedeploy(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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

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.

BeginReimage(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSetReimageParameters)

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.

BeginReimageAll(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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

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.

BeginRestart(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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

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

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

BeginSetOrchestrationServiceState(IVirtualMachineScaleSetsOperations, String, String, OrchestrationServiceStateInput)

Changes ServiceState property for a given service

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

Changes ServiceState property for a given service

BeginStart(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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

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

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

BeginUpdate(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSetUpdate)

Update a VM scale set.

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

Update a VM scale set.

BeginUpdateInstances(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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

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

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

ConvertToSinglePlacementGroup(IVirtualMachineScaleSetsOperations, String, String, String)

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

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

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

CreateOrUpdate(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSet)

Create or update a VM scale set.

CreateOrUpdateAsync(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSet, CancellationToken)

Create or update a VM scale set.

Deallocate(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>, IList<String>)

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.

DeallocateAsync(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>, 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.

Delete(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>)

Deletes a VM scale set.

DeleteAsync(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>, CancellationToken)

Deletes a VM scale set.

DeleteInstances(IVirtualMachineScaleSetsOperations, String, String, IList<String>, Nullable<Boolean>)

Deletes virtual machines in a VM scale set.

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

Deletes virtual machines in a VM scale set.

ForceRecoveryServiceFabricPlatformUpdateDomainWalk(IVirtualMachineScaleSetsOperations, String, String, Int32, String, String)

Manual platform update domain walk to update virtual machines in a service fabric virtual machine 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.

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

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

Get(IVirtualMachineScaleSetsOperations, String, String, String)

Display information about a virtual machine scale set.

GetAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Display information about a virtual machine scale set.

GetAsync(IVirtualMachineScaleSetsOperations, String, String, String, CancellationToken)

Display information about a virtual machine scale set.

GetAsync(IVirtualMachineScaleSetsOperations, String, String)

Display information about a virtual machine scale set.

GetInstanceView(IVirtualMachineScaleSetsOperations, String, String)

Gets the status of a VM scale set instance.

GetInstanceViewAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Gets the status of a VM scale set instance.

GetOSUpgradeHistory(IVirtualMachineScaleSetsOperations, String, String)

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

GetOSUpgradeHistoryAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

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

GetOSUpgradeHistoryNext(IVirtualMachineScaleSetsOperations, String)

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.

List(IVirtualMachineScaleSetsOperations, String)

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

ListAll(IVirtualMachineScaleSetsOperations)

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.

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.

ListAllNext(IVirtualMachineScaleSetsOperations, String)

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.

ListByLocation(IVirtualMachineScaleSetsOperations, String)

Gets all the VM scale sets under the specified subscription for the specified location.

ListByLocationAsync(IVirtualMachineScaleSetsOperations, String, CancellationToken)

Gets all the VM scale sets under the specified subscription for the specified location.

ListByLocationNext(IVirtualMachineScaleSetsOperations, String)

Gets all the VM scale sets under the specified subscription for the specified location.

ListByLocationNextAsync(IVirtualMachineScaleSetsOperations, String, CancellationToken)

Gets all the VM scale sets under the specified subscription for the specified location.

ListNext(IVirtualMachineScaleSetsOperations, String)

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.

ListSkus(IVirtualMachineScaleSetsOperations, String, String)

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

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.

ListSkusNext(IVirtualMachineScaleSetsOperations, String)

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.

PerformMaintenance(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications

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/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications

PowerOff(IVirtualMachineScaleSetsOperations, String, String, Nullable<Boolean>, IList<String>)

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.

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.

Reapply(IVirtualMachineScaleSetsOperations, String, String)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances

ReapplyAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Reapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances

Redeploy(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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

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.

Reimage(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSetReimageParameters)

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.

ReimageAll(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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

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.

Restart(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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

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

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

SetOrchestrationServiceState(IVirtualMachineScaleSetsOperations, String, String, OrchestrationServiceStateInput)

Changes ServiceState property for a given service

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

Changes ServiceState property for a given service

Start(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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

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

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

Update(IVirtualMachineScaleSetsOperations, String, String, VirtualMachineScaleSetUpdate)

Update a VM scale set.

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

Update a VM scale set.

UpdateInstances(IVirtualMachineScaleSetsOperations, String, String, IList<String>)

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

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