BatchNodeDisableSchedulingParameters Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchNodeDisableSchedulingParameters
- com.
Implements
public final class BatchNodeDisableSchedulingParameters
implements JsonSerializable<BatchNodeDisableSchedulingParameters>
Parameters for disabling scheduling on an Azure Batch Compute Node.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchNodeDisableSchedulingParameters() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
Batch |
getNodeDisableSchedulingOption()
Get the node |
|
Batch |
setNodeDisableSchedulingOption(BatchNodeDisableSchedulingOption nodeDisableSchedulingOption)
Set the node |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
BatchNodeDisableSchedulingParameters
public BatchNodeDisableSchedulingParameters()
Creates an instance of BatchNodeDisableSchedulingParameters class.
Method Details
fromJson
public static BatchNodeDisableSchedulingParameters fromJson(JsonReader jsonReader)
Reads an instance of BatchNodeDisableSchedulingParameters from the JsonReader.
Parameters:
Returns:
Throws:
getNodeDisableSchedulingOption
public BatchNodeDisableSchedulingOption getNodeDisableSchedulingOption()
Get the nodeDisableSchedulingOption property: What to do with currently running Tasks when disabling Task scheduling on the Compute Node. The default value is requeue.
Returns:
setNodeDisableSchedulingOption
public BatchNodeDisableSchedulingParameters setNodeDisableSchedulingOption(BatchNodeDisableSchedulingOption nodeDisableSchedulingOption)
Set the nodeDisableSchedulingOption property: What to do with currently running Tasks when disabling Task scheduling on the Compute Node. The default value is requeue.
Parameters:
Returns: