次の方法で共有


PoolOperations.Reimage メソッド

定義

指定したコンピューティング ノードにオペレーティング システムを再インストールします。

public void Reimage (string poolId, string computeNodeId, Microsoft.Azure.Batch.Common.ComputeNodeReimageOption? reimageOption = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.Reimage : string * string * Nullable<Microsoft.Azure.Batch.Common.ComputeNodeReimageOption> * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub Reimage (poolId As String, computeNodeId As String, Optional reimageOption As Nullable(Of ComputeNodeReimageOption) = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

パラメーター

poolId
String

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

computeNodeId
String

再イメージ化するコンピューティング ノードの ID。

reimageOption
Nullable<ComputeNodeReimageOption>

ノードを再イメージ化するタイミングと、現在実行中のタスクの処理を指定します。 既定値は、Requeue です。

additionalBehaviors
IEnumerable<BatchClientBehavior>

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

注釈

コンピューティング ノードは、 または Running 状態のIdle場合にのみ再イメージ化できます。

これはブロック操作です。 非ブロッキングに相当するものについては、「」を参照してください ReimageAsync(String, String, Nullable<ComputeNodeReimageOption>, IEnumerable<BatchClientBehavior>, CancellationToken)

適用対象