VirtualMachineScaleSetsOperationsExtensions.StartAsync(IVirtualMachineScaleSetsOperations, String, String, IList<String>, CancellationToken) Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.OperationStatusResponseInner> StartAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetsOperations operations, string resourceGroupName, string vmScaleSetName, System.Collections.Generic.IList<string> instanceIds = null, System.Threading.CancellationToken cancellationToken = null);
static member StartAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetsOperations * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.OperationStatusResponseInner>

Parameters

operations
IVirtualMachineScaleSetsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

vmScaleSetName
System.String

The name of the VM scale set.

instanceIds
System.Collections.Generic.IList<System.String>

The virtual machine scale set instance ids.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.OperationStatusResponseInner>

Applies to