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
operations
Type: Microsoft.Azure.Batch.Protocol.INodeFileOperationsReference to the Microsoft.Azure.Batch.Protocol.INodeFileOperations.
poolId
Type: System.StringRequired. The id of the pool that contains the compute node.
nodeId
Type: System.StringRequired. The id of the compute node that contains the file.
fileName
Type: System.StringRequired. The path to the task file that you want to get the content of.
destinationStream
Type: System.IO.StreamRequired. A Stream to which to write the file content.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.NodeFileGetParametersRequired. The parameters for the request.
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