NodeFileOperationsExtensions.GetFromComputeNode Method (INodeFileOperations, String, String, String, Stream, NodeFileGetParameters)

 

Gets the content of the specified task file.

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

Syntax

public static NodeFileGetResponse GetFromComputeNode(
    this INodeFileOperations operations,
    string poolId,
    string nodeId,
    string fileName,
    Stream destinationStream,
    NodeFileGetParameters parameters
)
public:
[ExtensionAttribute]
static NodeFileGetResponse^ GetFromComputeNode(
    INodeFileOperations^ operations,
    String^ poolId,
    String^ nodeId,
    String^ fileName,
    Stream^ destinationStream,
    NodeFileGetParameters^ parameters
)
static member GetFromComputeNode : 
        operations:INodeFileOperations *
        poolId:string *
        nodeId:string *
        fileName:string *
        destinationStream:Stream *
        parameters:NodeFileGetParameters -> NodeFileGetResponse
<ExtensionAttribute>
Public Shared Function GetFromComputeNode (
    operations As INodeFileOperations,
    poolId As String,
    nodeId As String,
    fileName As String,
    destinationStream As Stream,
    parameters As NodeFileGetParameters
) As NodeFileGetResponse

Parameters

  • poolId
    Type: System.String

    Required. The id of the pool that contains the compute node.

  • nodeId
    Type: System.String

    Required. The id of the compute node that contains the file.

  • fileName
    Type: System.String

    Required. The path to the task file that you want to get the content of.

Return Value

Type: Microsoft.Azure.Batch.Protocol.Models.NodeFileGetResponse

Response to a NodeFileOperations.GetFromComputeNode or NodeFileOperations.GetFromTask request.

See Also

NodeFileOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace

Return to top