Udostępnij za pośrednictwem


ComputeNodeOperationsExtensions.GetAsync Method

Definition

Gets information about the specified Compute Node.

public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.ComputeNode> GetAsync (this Microsoft.Azure.Batch.Protocol.IComputeNodeOperations operations, string poolId, string nodeId, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeGetOptions computeNodeGetOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Batch.Protocol.IComputeNodeOperations * string * string * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeGetOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.ComputeNode>
<Extension()>
Public Function GetAsync (operations As IComputeNodeOperations, poolId As String, nodeId As String, Optional computeNodeGetOptions As ComputeNodeGetOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ComputeNode)

Parameters

operations
IComputeNodeOperations

The operations group for this extension method.

poolId
String

The ID of the Pool that contains the Compute Node.

nodeId
String

The ID of the Compute Node that you want to get information about.

computeNodeGetOptions
ComputeNodeGetOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to