Udostępnij za pośrednictwem


ComputeNodeOperationsExtensions.ListAsync Method

Definition

Lists the Compute Nodes in the specified Pool.

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

Parameters

operations
IComputeNodeOperations

The operations group for this extension method.

poolId
String

The ID of the Pool from which you want to list Compute Nodes.

computeNodeListOptions
ComputeNodeListOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to