AutomaticTuningServerOptions Class

  • java.lang.Object
    • com.microsoft.azure.management.sql.AutomaticTuningServerOptions

public class AutomaticTuningServerOptions

Automatic tuning properties for individual advisors.

Constructor Summary

Constructor Description
AutomaticTuningServerOptions()

Method Summary

Modifier and Type Method and Description
AutomaticTuningOptionModeActual actualState()

Get automatic tuning option actual state.

AutomaticTuningOptionModeDesired desiredState()

Get automatic tuning option desired state.

java.lang.Integer reasonCode()

Get reason code if desired and actual state are different.

AutomaticTuningServerReason reasonDesc()

Get reason description if desired and actual state are different.

AutomaticTuningServerOptions withDesiredState(AutomaticTuningOptionModeDesired desiredState)

Set automatic tuning option desired state.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AutomaticTuningServerOptions

public AutomaticTuningServerOptions()

Method Details

actualState

public AutomaticTuningOptionModeActual actualState()

Get automatic tuning option actual state. Possible values include: 'Off', 'On'.

Returns:

the actualState value

desiredState

public AutomaticTuningOptionModeDesired desiredState()

Get automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'.

Returns:

the desiredState value

reasonCode

public Integer reasonCode()

Get reason code if desired and actual state are different.

Returns:

the reasonCode value

reasonDesc

public AutomaticTuningServerReason reasonDesc()

Get reason description if desired and actual state are different. Possible values include: 'Default', 'Disabled', 'AutoConfigured'.

Returns:

the reasonDesc value

withDesiredState

public AutomaticTuningServerOptions withDesiredState(AutomaticTuningOptionModeDesired desiredState)

Set automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'.

Parameters:

desiredState - the desiredState value to set

Returns:

the AutomaticTuningServerOptions object itself.

Applies to