Enum ProvisioningState

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

public enum ProvisioningState extends Enum<ProvisioningState>
The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up.
  • Enum Constant Details

  • Method Details

    • values

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

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