Enum AutomaticTuningDisabledReason
- java.lang.Object
-
- java.lang.Enum<AutomaticTuningDisabledReason>
-
- com.azure.resourcemanager.sql.models.AutomaticTuningDisabledReason
-
- All Implemented Interfaces:
Serializable,Comparable<AutomaticTuningDisabledReason>
public enum AutomaticTuningDisabledReason extends Enum<AutomaticTuningDisabledReason>
Defines values for AutomaticTuningDisabledReason.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_CONFIGUREDEnum value AutoConfigured.DEFAULTEnum value Default.DISABLEDEnum value Disabled.INHERITED_FROM_SERVEREnum value InheritedFromServer.NOT_SUPPORTEDEnum value NotSupported.QUERY_STORE_OFFEnum value QueryStoreOff.QUERY_STORE_READ_ONLYEnum value QueryStoreReadOnly.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomaticTuningDisabledReasonfromString(String value)Parses a serialized value to a AutomaticTuningDisabledReason instance.StringtoString()static AutomaticTuningDisabledReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static AutomaticTuningDisabledReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final AutomaticTuningDisabledReason DEFAULT
Enum value Default.
-
DISABLED
public static final AutomaticTuningDisabledReason DISABLED
Enum value Disabled.
-
AUTO_CONFIGURED
public static final AutomaticTuningDisabledReason AUTO_CONFIGURED
Enum value AutoConfigured.
-
INHERITED_FROM_SERVER
public static final AutomaticTuningDisabledReason INHERITED_FROM_SERVER
Enum value InheritedFromServer.
-
QUERY_STORE_OFF
public static final AutomaticTuningDisabledReason QUERY_STORE_OFF
Enum value QueryStoreOff.
-
QUERY_STORE_READ_ONLY
public static final AutomaticTuningDisabledReason QUERY_STORE_READ_ONLY
Enum value QueryStoreReadOnly.
-
NOT_SUPPORTED
public static final AutomaticTuningDisabledReason NOT_SUPPORTED
Enum value NotSupported.
-
-
Method Detail
-
values
public static AutomaticTuningDisabledReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AutomaticTuningDisabledReason c : AutomaticTuningDisabledReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutomaticTuningDisabledReason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static AutomaticTuningDisabledReason fromString(String value)
Parses a serialized value to a AutomaticTuningDisabledReason instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed AutomaticTuningDisabledReason object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<AutomaticTuningDisabledReason>
-
-