Enum SearchServiceStatus

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

public enum SearchServiceStatus extends Enum<SearchServiceStatus>
The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, Microsoft is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned.
  • Enum Constant Details

  • Method Details

    • values

      public static SearchServiceStatus[] 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 SearchServiceStatus 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 SearchServiceStatus fromString(String value)
      Parses a serialized value to a SearchServiceStatus instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed SearchServiceStatus object, or null if unable to parse.
    • toString

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