Share via


FileOperationsExtensions.GetFromComputeNode Method

Definition

Returns the content of the specified Compute Node file.

public static System.IO.Stream GetFromComputeNode (this Microsoft.Azure.Batch.Protocol.IFileOperations operations, string poolId, string nodeId, string filePath, Microsoft.Azure.Batch.Protocol.Models.FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions = default);
static member GetFromComputeNode : Microsoft.Azure.Batch.Protocol.IFileOperations * string * string * string * Microsoft.Azure.Batch.Protocol.Models.FileGetFromComputeNodeOptions -> System.IO.Stream
<Extension()>
Public Function GetFromComputeNode (operations As IFileOperations, poolId As String, nodeId As String, filePath As String, Optional fileGetFromComputeNodeOptions As FileGetFromComputeNodeOptions = Nothing) As Stream

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 that contains the file.

filePath
String

The path to the Compute Node file that you want to get the content of.

fileGetFromComputeNodeOptions
FileGetFromComputeNodeOptions

Additional parameters for the operation

Returns

Applies to