Share via


PoolOperations.GetNodeFileAsync メソッド

定義

コンピューティング ノード上のファイルに関する情報を取得します。

public System.Threading.Tasks.Task<Microsoft.Azure.Batch.NodeFile> GetNodeFileAsync (string poolId, string computeNodeId, string filePath, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default, System.Threading.CancellationToken cancellationToken = default);
member this.GetNodeFileAsync : string * string * string * seq<Microsoft.Azure.Batch.BatchClientBehavior> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.NodeFile>
Public Function GetNodeFileAsync (poolId As String, computeNodeId As String, filePath As String, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NodeFile)

パラメーター

poolId
String

コンピューティング ノードを含むプールの ID。

computeNodeId
String

コンピューティング ノードの ID。

filePath
String

取得するファイルのパス。

additionalBehaviors
IEnumerable<BatchClientBehavior>

の後の BatchClientBehavior Batch サービス要求に適用されるインスタンスの CustomBehaviorsコレクション。

cancellationToken
CancellationToken

CancellationToken非同期操作の有効期間を制御するための 。

戻り値

NodeFileファイルに関する情報を含み、ファイルのダウンロードに使用できる ( を参照)。CopyToStreamAsync(Stream, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>, CancellationToken)

注釈

ファイルの取得操作は非同期的に実行されます。

適用対象