AutomaticTuningOptions Class
- java.
lang. Object - com.
microsoft. azure. management. sql. AutomaticTuningOptions
- com.
public class AutomaticTuningOptions
Automatic tuning properties for individual advisors.
Method Summary
Modifier and Type | Method and Description |
---|---|
Automatic |
actualState()
Get automatic tuning option actual state. Possible values include: 'Off', 'On'. |
Automatic |
desiredState()
Get automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'. |
Integer |
reasonCode()
Get reason code if desired and actual state are different. |
Automatic |
reasonDesc()
Get reason description if desired and actual state are different. Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported'. |
Automatic |
withDesiredState(AutomaticTuningOptionModeDesired desiredState)
Set automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'. |
Method Details
actualState
public AutomaticTuningOptionModeActual actualState()
Get automatic tuning option actual state. Possible values include: 'Off', 'On'.
Returns:
desiredState
public AutomaticTuningOptionModeDesired desiredState()
Get automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'.
Returns:
reasonCode
public Integer reasonCode()
Get reason code if desired and actual state are different.
Returns:
reasonDesc
public AutomaticTuningDisabledReason reasonDesc()
Get reason description if desired and actual state are different. Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported'.
Returns:
withDesiredState
public AutomaticTuningOptions withDesiredState(AutomaticTuningOptionModeDesired desiredState)
Set automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'.
Parameters:
Returns:
Applies to
Azure SDK for Java