NodeRemoveParameter Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. NodeRemoveParameter
- com.
public class NodeRemoveParameter
Options for removing compute nodes from a pool.
Method Summary
Modifier and Type | Method and Description |
---|---|
Compute |
nodeDeallocationOption()
Get the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'. |
List<String> |
nodeList()
Get the nodeList value. |
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). |
Node |
withNodeDeallocationOption(ComputeNodeDeallocationOption nodeDeallocationOption)
Set the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'. |
Node |
withNodeList(List<String> nodeList)
Set the nodeList value. |
Node |
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). |
Method Details
nodeDeallocationOption
public ComputeNodeDeallocationOption nodeDeallocationOption()
Get the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'.
Returns:
nodeList
public List
Get the nodeList value.
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 the nodeList value.
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