Enum AutoExecuteStatusInheritedFrom
java.lang.Object
java.lang.Enum<AutoExecuteStatusInheritedFrom>
com.azure.resourcemanager.sql.models.AutoExecuteStatusInheritedFrom
- All Implemented Interfaces:
Serializable, Comparable<AutoExecuteStatusInheritedFrom>, java.lang.constant.Constable
Gets the resource from which current value of auto-execute status is inherited. Auto-execute status can be set on
(and inherited from) different levels in the resource hierarchy. Possible values are 'Subscription', 'Server',
'ElasticPool', 'Database' and 'Default' (when status is not explicitly set on any level).
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnum value Database.Enum value Default.Enum value ElasticPool.Enum value Server.Enum value Subscription. -
Method Summary
Modifier and TypeMethodDescriptionfromString(String value) Parses a serialized value to a AutoExecuteStatusInheritedFrom instance.toString()Returns the enum constant of this type with the specified name.static AutoExecuteStatusInheritedFrom[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Enum value Default. -
SUBSCRIPTION
Enum value Subscription. -
SERVER
Enum value Server. -
ELASTIC_POOL
Enum value ElasticPool. -
DATABASE
Enum value Database.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Parses a serialized value to a AutoExecuteStatusInheritedFrom instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed AutoExecuteStatusInheritedFrom object, or null if unable to parse.
-
toString
- Overrides:
toStringin classEnum<AutoExecuteStatusInheritedFrom>
-