Share via


PoolOperations.RebootAsync Method (String, String, Nullable<ComputeNodeRebootOption>, IEnumerable<BatchClientBehavior>)

 

Reboots the specified compute node.

Namespace:   Microsoft.Azure.Batch
Assembly:  Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Syntax

public Task RebootAsync(
    string poolId,
    string computeNodeId,
    Nullable<ComputeNodeRebootOption> rebootOption = null,
    IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task^ RebootAsync(
    String^ poolId,
    String^ computeNodeId,
    Nullable<ComputeNodeRebootOption> rebootOption = null,
    IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member RebootAsync : 
        poolId:string *
        computeNodeId:string *
        rebootOption:Nullable<ComputeNodeRebootOption> = null *
        additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task
Public Function RebootAsync (
    poolId As String,
    computeNodeId As String,
    rebootOption As Nullable(Of ComputeNodeRebootOption),
    additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task

Parameters

  • poolId
    Type: System.String

    The id of the pool that contains the compute node.

  • computeNodeId
    Type: System.String

    The id of the compute node to reboot.

Return Value

Type: System.Threading.Tasks.Task

A Task that represents the asynchronous operation.

Remarks

You can reboot a compute node only when it is in the Idle or Running state.

The reboot operation runs asynchronously.

See Also

PoolOperations Class
Microsoft.Azure.Batch Namespace

Return to top