Share via


PoolOperations.GetComputeNodeAsync Method (String, String, DetailLevel, IEnumerable<BatchClientBehavior>)

 

Gets the specified compute node.

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

Syntax

public Task<ComputeNode> GetComputeNodeAsync(
    string poolId,
    string computeNodeId,
    DetailLevel detailLevel = null,
    IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task<ComputeNode^>^ GetComputeNodeAsync(
    String^ poolId,
    String^ computeNodeId,
    DetailLevel^ detailLevel = null,
    IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member GetComputeNodeAsync : 
        poolId:string *
        computeNodeId:string *
        detailLevel:DetailLevel = null *
        additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task<ComputeNode>
Public Function GetComputeNodeAsync (
    poolId As String,
    computeNodeId As String,
    detailLevel As DetailLevel,
    additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task(Of ComputeNode)

Parameters

  • computeNodeId
    Type: System.String

    The id of the compute node to get from the pool.

Return Value

Type: System.Threading.Tasks.Task<ComputeNode>

A ComputeNode containing information about the specified compute node.

Remarks

The get node operation runs asynchronously.

See Also

PoolOperations Class
Microsoft.Azure.Batch Namespace

Return to top