NodeRemoveParameter Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. NodeRemoveParameter
- com.
public class NodeRemoveParameter
Options for removing Compute Nodes from a Pool.
Constructor Summary
Constructor | Description | |
---|---|---|
NodeRemoveParameter() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Compute |
nodeDeallocationOption()
Get the default value is requeue. |
List<String> |
nodeList()
Get a maximum of 100 nodes may be removed per request. |
org.joda.time.Period |
resizeTimeout()
Get the default value is 15 minutes. |
Node |
withNodeDeallocationOption(ComputeNodeDeallocationOption nodeDeallocationOption)
Set the default value is requeue. |
Node |
withNodeList(List<String> nodeList)
Set a maximum of 100 nodes may be removed per request. |
Node |
withResizeTimeout(Period resizeTimeout)
Set the default value is 15 minutes. |
Methods inherited from java.lang.Object
Constructor Details
NodeRemoveParameter
public NodeRemoveParameter()
Method Details
nodeDeallocationOption
public ComputeNodeDeallocationOption nodeDeallocationOption()
Get the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'.
Returns:
nodeList
public List
Get a maximum of 100 nodes may be removed per request.
Returns:
resizeTimeout
public Period resizeTimeout()
Get the default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
Returns:
withNodeDeallocationOption
public NodeRemoveParameter withNodeDeallocationOption(ComputeNodeDeallocationOption nodeDeallocationOption)
Set the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'.
Parameters:
Returns:
withNodeList
public NodeRemoveParameter withNodeList(List
Set a maximum of 100 nodes may be removed per request.
Parameters:
Returns:
withResizeTimeout
public NodeRemoveParameter withResizeTimeout(Period resizeTimeout)
Set the default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
Parameters:
Returns:
Applies to
Azure SDK for Java