VirtualMachineScaleSetVMsOperationsExtensions.BeginStartAsync(IVirtualMachineScaleSetVMsOperations, String, String, String, CancellationToken) Method

Definition

Starts a virtual machine in a VM scale set.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.OperationStatusResponseInner> BeginStartAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, System.Threading.CancellationToken cancellationToken = null);
static member BeginStartAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetVMsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.OperationStatusResponseInner>

Parameters

operations
IVirtualMachineScaleSetVMsOperations

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.

instanceId
System.String

The instance ID of the virtual machine.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

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

Applies to