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
poolId
Type: System.StringThe id of the pool.
computeNodeId
Type: System.StringThe id of the compute node to get from the pool.
detailLevel
Type: Microsoft.Azure.Batch.DetailLevelA DetailLevel used for controlling which properties are retrieved from the service.
additionalBehaviors
Type: System.Collections.Generic.IEnumerable<BatchClientBehavior>A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors and detailLevel.
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