Condividi tramite


FileOperationsExtensions.ListFromComputeNodeAsync Method

Definition

Lists all of the files in Task directories on the specified Compute Node.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.NodeFile>> ListFromComputeNodeAsync (this Microsoft.Azure.Batch.Protocol.IFileOperations operations, string poolId, string nodeId, bool? recursive = default, Microsoft.Azure.Batch.Protocol.Models.FileListFromComputeNodeOptions fileListFromComputeNodeOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListFromComputeNodeAsync : Microsoft.Azure.Batch.Protocol.IFileOperations * string * string * Nullable<bool> * Microsoft.Azure.Batch.Protocol.Models.FileListFromComputeNodeOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.NodeFile>>
<Extension()>
Public Function ListFromComputeNodeAsync (operations As IFileOperations, poolId As String, nodeId As String, Optional recursive As Nullable(Of Boolean) = Nothing, Optional fileListFromComputeNodeOptions As FileListFromComputeNodeOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of NodeFile))

Parameters

operations
IFileOperations

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 whose files you want to list.

recursive
Nullable<Boolean>

Whether to list children of a directory.

fileListFromComputeNodeOptions
FileListFromComputeNodeOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to