Class AutomaticTuningOptions

java.lang.Object
com.microsoft.azure.management.sql.AutomaticTuningOptions

public class AutomaticTuningOptions extends Object
Automatic tuning properties for individual advisors.
  • Constructor Details

    • AutomaticTuningOptions

      public AutomaticTuningOptions()
  • Method Details

    • desiredState

      public AutomaticTuningOptionModeDesired desiredState()
      Get automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'.
      Returns:
      the desiredState value
    • withDesiredState

      public AutomaticTuningOptions withDesiredState(AutomaticTuningOptionModeDesired desiredState)
      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

      public AutomaticTuningOptionModeActual actualState()
      Get automatic tuning option actual state. Possible values include: 'Off', 'On'.
      Returns:
      the actualState value
    • reasonCode

      public Integer reasonCode()
      Get reason code if desired and actual state are different.
      Returns:
      the reasonCode value
    • 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:
      the reasonDesc value