Share via


PoolOperations.GetNodeFileAsync Method (String, String, String, IEnumerable<BatchClientBehavior>)

 

Gets information about a file on a compute node.

Namespace:   Microsoft.Azure.Batch
Assembly:  Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Syntax

public Task<NodeFile> GetNodeFileAsync(
    string poolId,
    string computeNodeId,
    string fileName,
    IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task<NodeFile^>^ GetNodeFileAsync(
    String^ poolId,
    String^ computeNodeId,
    String^ fileName,
    IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member GetNodeFileAsync : 
        poolId:string *
        computeNodeId:string *
        fileName:string *
        additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task<NodeFile>
Public Function GetNodeFileAsync (
    poolId As String,
    computeNodeId As String,
    fileName As String,
    additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task(Of NodeFile)

Parameters

  • poolId
    Type: System.String

    The id of the pool that contains the compute node.

Return Value

Type: System.Threading.Tasks.Task<NodeFile>

A NodeFile containing information about the file, and which can be used to download the file (see CopyToStreamAsync).

Remarks

The get file operation runs asynchronously.

See Also

PoolOperations Class
Microsoft.Azure.Batch Namespace

Return to top