Enum HostType

java.lang.Object
java.lang.Enum<HostType>
com.azure.spring.cloud.config.HostType
All Implemented Interfaces:
Serializable, Comparable<HostType>, java.lang.constant.Constable

public enum HostType extends Enum<HostType>
The Types of Hosts checked in request tracing.
  • Enum Constant Details

    • UNIDENTIFIED

      public static final HostType UNIDENTIFIED
      Unidentified Host
    • AZURE_WEB_APP

      public static final HostType AZURE_WEB_APP
      Host is Azure Web App
    • AZURE_FUNCTION

      public static final HostType AZURE_FUNCTION
      Host is Azure Function
    • KUBERNETES

      public static final HostType KUBERNETES
      Host is Kubernetes
  • Method Details

    • values

      public static HostType[] 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 HostType 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
    • toString

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