Udostępnij za pośrednictwem


CloudPool.GetComputeNode Method

Definition

Gets the specified compute node from this pool.

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

Parameters

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, DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken).

Applies to