ComputeNodeOperationsExtensions.StartAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET