Share via


FileOperationsExtensions.GetPropertiesFromComputeNodeAsync Method

Definition

Gets the properties of the specified Compute Node file.

public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.FileGetPropertiesFromComputeNodeHeaders> GetPropertiesFromComputeNodeAsync (this Microsoft.Azure.Batch.Protocol.IFileOperations operations, string poolId, string nodeId, string filePath, Microsoft.Azure.Batch.Protocol.Models.FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPropertiesFromComputeNodeAsync : Microsoft.Azure.Batch.Protocol.IFileOperations * string * string * string * Microsoft.Azure.Batch.Protocol.Models.FileGetPropertiesFromComputeNodeOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.FileGetPropertiesFromComputeNodeHeaders>
<Extension()>
Public Function GetPropertiesFromComputeNodeAsync (operations As IFileOperations, poolId As String, nodeId As String, filePath As String, Optional fileGetPropertiesFromComputeNodeOptions As FileGetPropertiesFromComputeNodeOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FileGetPropertiesFromComputeNodeHeaders)

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 properties of.

fileGetPropertiesFromComputeNodeOptions
FileGetPropertiesFromComputeNodeOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to