Partager via


ProvisioningState Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.resourcemanager.search.models.ProvisioningState

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.

Fields

FAILED

Enum value failed.

PROVISIONING

Enum value provisioning.

SUCCEEDED

Enum value succeeded.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static ProvisioningState fromString(String value)

Parses a serialized value to a ProvisioningState instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed ProvisioningState object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static ProvisioningState valueOf(String name)

Parameters

name
String

Returns

values()

public static ProvisioningState[] values()

Returns

Applies to