CloudPool.RemoveFromPool メソッド

定義

オーバーロード

RemoveFromPool(String, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

指定したコンピューティング ノードをこのプールから削除します。

RemoveFromPool(IEnumerable<String>, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

指定したコンピューティング ノードをこのプールから削除します。

RemoveFromPool(IEnumerable<ComputeNode>, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

指定したコンピューティング ノードをこのプールから削除します。

RemoveFromPool(ComputeNode, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

指定したコンピューティング ノードをこのプールから削除します。

RemoveFromPool(String, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

指定したコンピューティング ノードをこのプールから削除します。

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

パラメーター

computeNodeId
String

プールから削除するコンピューティング ノードの ID。

deallocationOption
Nullable<ComputeNodeDeallocationOption>

既に実行されているタスクを処理する方法と、タスクを実行しているノードがプールから削除されるタイミングを指定します。 既定値は、Requeue です。

resizeTimeout
Nullable<TimeSpan>

プールからコンピューティング ノードを削除するためのタイムアウトを指定します。 既定値は 15 分です。 最小値は 5 分です。

additionalBehaviors
IEnumerable<BatchClientBehavior>

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

注釈

プールから複数のコンピューティング ノードを削除する必要がある場合は、オーバーロードを使用 RemoveFromPool(IEnumerable<String>, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>) する方が効率的です。

プールの が の場合 AllocationState にのみ、プール Steadyからノードを削除できます。 プールのサイズが既に変更されている場合は、例外が発生します。

プールからノードを削除すると、プールの AllocationState が から SteadyResizing変わります。

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

適用対象

RemoveFromPool(IEnumerable<String>, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

指定したコンピューティング ノードをこのプールから削除します。

public void RemoveFromPool (System.Collections.Generic.IEnumerable<string> computeNodeIds, Microsoft.Azure.Batch.Common.ComputeNodeDeallocationOption? deallocationOption = default, TimeSpan? resizeTimeout = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.RemoveFromPool : seq<string> * Nullable<Microsoft.Azure.Batch.Common.ComputeNodeDeallocationOption> * Nullable<TimeSpan> * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub RemoveFromPool (computeNodeIds As IEnumerable(Of String), Optional deallocationOption As Nullable(Of ComputeNodeDeallocationOption) = Nothing, Optional resizeTimeout As Nullable(Of TimeSpan) = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

パラメーター

computeNodeIds
IEnumerable<String>

プールから削除するコンピューティング ノードの ID。

deallocationOption
Nullable<ComputeNodeDeallocationOption>

既に実行されているタスクを処理する方法と、タスクを実行しているノードがプールから削除されるタイミングを指定します。 既定値は、Requeue です。

resizeTimeout
Nullable<TimeSpan>

プールからコンピューティング ノードを削除するためのタイムアウトを指定します。 既定値は 15 分です。 最小値は 5 分です。

additionalBehaviors
IEnumerable<BatchClientBehavior>

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

注釈

プールの が の場合 AllocationState にのみ、プール Steadyからノードを削除できます。 プールのサイズが既に変更されている場合は、例外が発生します。

プールからノードを削除すると、プールの AllocationState が から SteadyResizing変わります。

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

適用対象

RemoveFromPool(IEnumerable<ComputeNode>, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

指定したコンピューティング ノードをこのプールから削除します。

public void RemoveFromPool (System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.ComputeNode> computeNodes, Microsoft.Azure.Batch.Common.ComputeNodeDeallocationOption? deallocationOption = default, TimeSpan? resizeTimeout = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.RemoveFromPool : seq<Microsoft.Azure.Batch.ComputeNode> * Nullable<Microsoft.Azure.Batch.Common.ComputeNodeDeallocationOption> * Nullable<TimeSpan> * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub RemoveFromPool (computeNodes As IEnumerable(Of ComputeNode), Optional deallocationOption As Nullable(Of ComputeNodeDeallocationOption) = Nothing, Optional resizeTimeout As Nullable(Of TimeSpan) = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

パラメーター

computeNodes
IEnumerable<ComputeNode>

プールから削除する コンピューティング ノード

deallocationOption
Nullable<ComputeNodeDeallocationOption>

既に実行されているタスクを処理する方法と、タスクを実行しているノードがプールから削除されるタイミングを指定します。 既定値は、Requeue です。

resizeTimeout
Nullable<TimeSpan>

プールからコンピューティング ノードを削除するためのタイムアウトを指定します。 既定値は 15 分です。 最小値は 5 分です。

additionalBehaviors
IEnumerable<BatchClientBehavior>

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

注釈

プールの が の場合 AllocationState にのみ、プール Steadyからノードを削除できます。 プールのサイズが既に変更されている場合は、例外が発生します。

プールからノードを削除すると、プールの AllocationState が から SteadyResizing変わります。

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

適用対象

RemoveFromPool(ComputeNode, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

指定したコンピューティング ノードをこのプールから削除します。

public void RemoveFromPool (Microsoft.Azure.Batch.ComputeNode computeNode, Microsoft.Azure.Batch.Common.ComputeNodeDeallocationOption? deallocationOption = default, TimeSpan? resizeTimeout = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.RemoveFromPool : Microsoft.Azure.Batch.ComputeNode * Nullable<Microsoft.Azure.Batch.Common.ComputeNodeDeallocationOption> * Nullable<TimeSpan> * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub RemoveFromPool (computeNode As ComputeNode, Optional deallocationOption As Nullable(Of ComputeNodeDeallocationOption) = Nothing, Optional resizeTimeout As Nullable(Of TimeSpan) = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

パラメーター

computeNode
ComputeNode

ComputeNodeプールから削除する 。

deallocationOption
Nullable<ComputeNodeDeallocationOption>

既に実行されているタスクを処理する方法と、タスクを実行しているノードがプールから削除されるタイミングを指定します。 既定値は、Requeue です。

resizeTimeout
Nullable<TimeSpan>

プールからコンピューティング ノードを削除するためのタイムアウトを指定します。 既定値は 15 分です。 最小値は 5 分です。

additionalBehaviors
IEnumerable<BatchClientBehavior>

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

注釈

プールから複数のコンピューティング ノードを削除する必要がある場合は、オーバーロードを使用 RemoveFromPool(IEnumerable<ComputeNode>, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>) する方が効率的です。

プールの が の場合 AllocationState にのみ、プール Steadyからノードを削除できます。 プールのサイズが既に変更されている場合は、例外が発生します。

プールからノードを削除すると、プールの AllocationState が から SteadyResizing変わります。

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

適用対象