Share via


ComputeNodeOperationsExtensions.StartAsync Method

Definition

Starts the specified Compute Node.

public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.ComputeNodeStartHeaders> StartAsync (this Microsoft.Azure.Batch.Protocol.IComputeNodeOperations operations, string poolId, string nodeId, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeStartOptions computeNodeStartOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member StartAsync : Microsoft.Azure.Batch.Protocol.IComputeNodeOperations * string * string * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeStartOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.ComputeNodeStartHeaders>
<Extension()>
Public Function StartAsync (operations As IComputeNodeOperations, poolId As String, nodeId As String, Optional computeNodeStartOptions As ComputeNodeStartOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ComputeNodeStartHeaders)

Parameters

operations
IComputeNodeOperations

The operations group for this extension method.

poolId
String

The ID of the Pool that contains the Compute Node.

nodeId
String

The ID of the Compute Node that you want to start.

computeNodeStartOptions
ComputeNodeStartOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

You can start a Compute Node only if it has been deallocated

Applies to