Partager via


ProvisioningState Class

public final class ProvisioningState
extends ExpandableStringEnum<ProvisioningState>

The provisioning state of this agent pool.

Field Summary

Modifier and Type Field and Description
static final ProvisioningState CANCELED

Static value Canceled for ProvisioningState.

static final ProvisioningState CREATING

Static value Creating for ProvisioningState.

static final ProvisioningState DELETING

Static value Deleting for ProvisioningState.

static final ProvisioningState FAILED

Static value Failed for ProvisioningState.

static final ProvisioningState SUCCEEDED

Static value Succeeded for ProvisioningState.

static final ProvisioningState UPDATING

Static value Updating for ProvisioningState.

Constructor Summary

Constructor Description
ProvisioningState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProvisioningState value.

Method Summary

Modifier and Type Method and Description
static ProvisioningState fromString(String name)

Creates or finds a ProvisioningState from its string representation.

static Collection<ProvisioningState> values()

Gets known ProvisioningState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CANCELED

public static final ProvisioningState CANCELED

Static value Canceled for ProvisioningState.

CREATING

public static final ProvisioningState CREATING

Static value Creating for ProvisioningState.

DELETING

public static final ProvisioningState DELETING

Static value Deleting for ProvisioningState.

FAILED

public static final ProvisioningState FAILED

Static value Failed for ProvisioningState.

SUCCEEDED

public static final ProvisioningState SUCCEEDED

Static value Succeeded for ProvisioningState.

UPDATING

public static final ProvisioningState UPDATING

Static value Updating for ProvisioningState.

Constructor Details

ProvisioningState

@Deprecated
public ProvisioningState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProvisioningState value.

Method Details

fromString

public static ProvisioningState fromString(String name)

Creates or finds a ProvisioningState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ProvisioningState.

values

public static Collection values()

Gets known ProvisioningState values.

Returns:

known ProvisioningState values.

Applies to