PoolOperationsExtensions.RemoveNodes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes Compute Nodes from the specified Pool.
public static Microsoft.Azure.Batch.Protocol.Models.PoolRemoveNodesHeaders RemoveNodes (this Microsoft.Azure.Batch.Protocol.IPoolOperations operations, string poolId, Microsoft.Azure.Batch.Protocol.Models.NodeRemoveParameter nodeRemoveParameter, Microsoft.Azure.Batch.Protocol.Models.PoolRemoveNodesOptions poolRemoveNodesOptions = default);
static member RemoveNodes : Microsoft.Azure.Batch.Protocol.IPoolOperations * string * Microsoft.Azure.Batch.Protocol.Models.NodeRemoveParameter * Microsoft.Azure.Batch.Protocol.Models.PoolRemoveNodesOptions -> Microsoft.Azure.Batch.Protocol.Models.PoolRemoveNodesHeaders
<Extension()>
Public Function RemoveNodes (operations As IPoolOperations, poolId As String, nodeRemoveParameter As NodeRemoveParameter, Optional poolRemoveNodesOptions As PoolRemoveNodesOptions = Nothing) As PoolRemoveNodesHeaders
Parameters
- operations
- IPoolOperations
The operations group for this extension method.
- poolId
- String
The ID of the Pool from which you want to remove Compute Nodes.
- nodeRemoveParameter
- NodeRemoveParameter
The parameters for the request.
- poolRemoveNodesOptions
- PoolRemoveNodesOptions
Additional parameters for the operation
Returns
Remarks
This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing. Each request may remove up to 100 nodes.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET