Class AutomaticTuningServerOptions

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

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

    • AutomaticTuningServerOptions

      public AutomaticTuningServerOptions()
  • Method Details

    • desiredState

      public AutomaticTuningOptionModeDesired desiredState()
      Get automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'.
      Returns:
      the desiredState 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.
    • 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 AutomaticTuningServerReason reasonDesc()
      Get reason description if desired and actual state are different. Possible values include: 'Default', 'Disabled', 'AutoConfigured'.
      Returns:
      the reasonDesc value