Class AutomaticTuningOptions
java.lang.Object
com.microsoft.azure.management.sql.AutomaticTuningOptions
Automatic tuning properties for individual advisors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet automatic tuning option actual state.Get automatic tuning option desired state.Get reason code if desired and actual state are different.Get reason description if desired and actual state are different.withDesiredState
(AutomaticTuningOptionModeDesired desiredState) Set automatic tuning option desired state.
-
Constructor Details
-
AutomaticTuningOptions
public AutomaticTuningOptions()
-
-
Method Details
-
desiredState
Get automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'.- Returns:
- the desiredState value
-
withDesiredState
Set automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'.- Parameters:
desiredState
- the desiredState value to set- Returns:
- the AutomaticTuningOptions object itself.
-
actualState
Get automatic tuning option actual state. Possible values include: 'Off', 'On'.- Returns:
- the actualState value
-
reasonCode
Get reason code if desired and actual state are different.- Returns:
- the reasonCode value
-
reasonDesc
Get reason description if desired and actual state are different. Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported'.- Returns:
- the reasonDesc value
-