BatchNodeSchedulingDisableOptions Class

  • java.lang.Object
    • com.azure.compute.batch.models.BatchNodeSchedulingDisableOptions

public final class BatchNodeSchedulingDisableOptions

Optional parameters for Disable Node Scheduling operation.

Constructor Summary

Constructor Description
BatchNodeSchedulingDisableOptions()

Creates an instance of BatchNodeSchedulingDisableOptions class.

Method Summary

Modifier and Type Method and Description
BatchNodeDisableSchedulingParameters getParameters()

Get the parameters property: The options to use for disabling scheduling on the Compute Node.

Duration getTimeOutInSeconds()

Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.

BatchNodeSchedulingDisableOptions setParameters(BatchNodeDisableSchedulingParameters parameters)

Set the parameters property: The options to use for disabling scheduling on the Compute Node.

BatchNodeSchedulingDisableOptions setTimeOutInSeconds(Duration timeOutInSeconds)

Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.

Methods inherited from java.lang.Object

Constructor Details

BatchNodeSchedulingDisableOptions

public BatchNodeSchedulingDisableOptions()

Creates an instance of BatchNodeSchedulingDisableOptions class.

Method Details

getParameters

public BatchNodeDisableSchedulingParameters getParameters()

Get the parameters property: The options to use for disabling scheduling on the Compute Node.

Returns:

the parameters value.

getTimeOutInSeconds

public Duration 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.

setParameters

public BatchNodeSchedulingDisableOptions setParameters(BatchNodeDisableSchedulingParameters 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 BatchNodeSchedulingDisableOptions object itself.

setTimeOutInSeconds

public BatchNodeSchedulingDisableOptions setTimeOutInSeconds(Duration timeOutInSeconds)

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 BatchNodeSchedulingDisableOptions object itself.

Applies to