PoolOperations.GetComputeNode Method

Definition

Gets the specified compute node.

public Microsoft.Azure.Batch.ComputeNode GetComputeNode (string poolId, string computeNodeId, Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.GetComputeNode : string * string * Microsoft.Azure.Batch.DetailLevel * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.ComputeNode
Public Function GetComputeNode (poolId As String, computeNodeId As String, Optional detailLevel As DetailLevel = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As ComputeNode

Parameters

poolId
String

The id of the pool.

computeNodeId
String

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

detailLevel
DetailLevel

A DetailLevel used for controlling which properties are retrieved from the service.

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors.

Returns

A ComputeNode containing information about the specified compute node.

Remarks

This is a blocking operation. For a non-blocking equivalent, see GetComputeNodeAsync(String, String, DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken).

Applies to