Package com.azure.compute.batch.models
Class DisableBatchNodeSchedulingOptions
java.lang.Object
com.azure.compute.batch.models.DisableBatchNodeSchedulingOptions
Optional parameters for Disable Node Scheduling operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DisableBatchNodeSchedulingOptions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the parameters property: The options to use for disabling scheduling on the Compute Node.Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.setParameters
(BatchNodeDisableSchedulingContent parameters) Set the parameters property: The options to use for disabling scheduling on the Compute Node.setTimeOutInSeconds
(Integer timeOutInSeconds) Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.
-
Constructor Details
-
DisableBatchNodeSchedulingOptions
public DisableBatchNodeSchedulingOptions()Creates an instance of DisableBatchNodeSchedulingOptions class.
-
-
Method Details
-
getTimeOutInSeconds
Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".- Returns:
- the timeOutInSeconds value.
-
setTimeOutInSeconds
Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".- Parameters:
timeOutInSeconds
- the timeOutInSeconds value to set.- Returns:
- the DisableBatchNodeSchedulingOptions object itself.
-
getParameters
Get the parameters property: The options to use for disabling scheduling on the Compute Node.- Returns:
- the parameters value.
-
setParameters
public DisableBatchNodeSchedulingOptions setParameters(BatchNodeDisableSchedulingContent parameters) Set the parameters property: The options to use for disabling scheduling on the Compute Node.- Parameters:
parameters
- the parameters value to set.- Returns:
- the DisableBatchNodeSchedulingOptions object itself.
-