共用方式為


IVirtualMachineScaleSetsOperations Interface

Definition

VirtualMachineScaleSetsOperations operations.

public interface IVirtualMachineScaleSetsOperations
type IVirtualMachineScaleSetsOperations = interface
Public Interface IVirtualMachineScaleSetsOperations

Methods

BeginCreateOrUpdateWithHttpMessagesAsync(String, String, VirtualMachineScaleSetInner, Dictionary<String,List<String>>, CancellationToken)

Create or update a VM scale set.

BeginDeallocateWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<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.

BeginDeleteInstancesWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<String>>, CancellationToken)

Deletes virtual machines in a VM scale set.

BeginDeleteWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Deletes a VM scale set.

BeginPerformMaintenanceWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<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

BeginPowerOffWithHttpMessagesAsync(String, String, Nullable<Boolean>, IList<String>, Dictionary<String,List<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.

BeginRedeployWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<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.

BeginReimageAllWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<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.

BeginReimageWithHttpMessagesAsync(String, String, VirtualMachineScaleSetReimageParameters, Dictionary<String,List<String>>, 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.

BeginRestartWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<String>>, CancellationToken)

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

BeginSetOrchestrationServiceStateWithHttpMessagesAsync(String, String, OrchestrationServiceStateInput, Dictionary<String,List<String>>, CancellationToken)

Changes ServiceState property for a given service

BeginStartWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<String>>, CancellationToken)

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

BeginUpdateInstancesWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<String>>, CancellationToken)

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

BeginUpdateWithHttpMessagesAsync(String, String, VirtualMachineScaleSetUpdate, Dictionary<String,List<String>>, CancellationToken)

Update a VM scale set.

ConvertToSinglePlacementGroupWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

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

CreateOrUpdateWithHttpMessagesAsync(String, String, VirtualMachineScaleSetInner, Dictionary<String,List<String>>, CancellationToken)

Create or update a VM scale set.

DeallocateWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<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.

DeleteInstancesWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<String>>, CancellationToken)

Deletes virtual machines in a VM scale set.

DeleteWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Deletes a VM scale set.

ForceRecoveryServiceFabricPlatformUpdateDomainWalkWithHttpMessagesAsync(String, String, Int32, Dictionary<String,List<String>>, CancellationToken)

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

GetInstanceViewWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Gets the status of a VM scale set instance.

GetOSUpgradeHistoryNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

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

GetOSUpgradeHistoryWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

GetWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Display information about a virtual machine scale set.

ListAllNextWithHttpMessagesAsync(String, Dictionary<String,List<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.

ListAllWithHttpMessagesAsync(Dictionary<String,List<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.

ListNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

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

ListSkusNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

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

ListSkusWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

ListWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

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

PerformMaintenanceWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<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

PowerOffWithHttpMessagesAsync(String, String, Nullable<Boolean>, IList<String>, Dictionary<String,List<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.

RedeployWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<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.

ReimageAllWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<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.

ReimageWithHttpMessagesAsync(String, String, VirtualMachineScaleSetReimageParameters, Dictionary<String,List<String>>, 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.

RestartWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<String>>, CancellationToken)

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

SetOrchestrationServiceStateWithHttpMessagesAsync(String, String, OrchestrationServiceStateInput, Dictionary<String,List<String>>, CancellationToken)

Changes ServiceState property for a given service

StartWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<String>>, CancellationToken)

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

UpdateInstancesWithHttpMessagesAsync(String, String, IList<String>, Dictionary<String,List<String>>, CancellationToken)

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

UpdateWithHttpMessagesAsync(String, String, VirtualMachineScaleSetUpdate, Dictionary<String,List<String>>, CancellationToken)

Update a VM scale set.

Extension 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