Enum DataSourceType

java.lang.Object
java.lang.Enum<DataSourceType>
com.azure.resourcemanager.loganalytics.models.DataSourceType
All Implemented Interfaces:
Serializable, Comparable<DataSourceType>, java.lang.constant.Constable

public enum DataSourceType extends Enum<DataSourceType>
Defines values for DataSourceType.
  • Enum Constant Details

    • CUSTOM_LOGS

      public static final DataSourceType CUSTOM_LOGS
      Enum value CustomLogs.
    • AZURE_WATSON

      public static final DataSourceType AZURE_WATSON
      Enum value AzureWatson.
    • QUERY

      public static final DataSourceType QUERY
      Enum value Query.
    • INGESTION

      public static final DataSourceType INGESTION
      Enum value Ingestion.
    • ALERTS

      public static final DataSourceType ALERTS
      Enum value Alerts.
  • Method Details

    • values

      public static DataSourceType[] 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

      public static DataSourceType 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 name
      NullPointerException - if the argument is null
    • fromString

      public static DataSourceType fromString(String value)
      Parses a serialized value to a DataSourceType instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed DataSourceType object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DataSourceType>