通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

State Class

public final class State
extends ExpandableStringEnum<State>

Gets the state of virtual network rule.

Field Summary

Modifier and Type Field and Description
static final State DEPROVISIONING

Static value Deprovisioning for State.

static final State FAILED

Static value Failed for State.

static final State NETWORK_SOURCE_DELETED

Static value NetworkSourceDeleted for State.

static final State PROVISIONING

Static value Provisioning for State.

static final State SUCCEEDED

Static value Succeeded for State.

Constructor Summary

Constructor Description
State()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of State value.

Method Summary

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

Creates or finds a State from its string representation.

static Collection<State> values()

Gets known State values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEPROVISIONING

public static final State DEPROVISIONING

Static value Deprovisioning for State.

FAILED

public static final State FAILED

Static value Failed for State.

NETWORK_SOURCE_DELETED

public static final State NETWORK_SOURCE_DELETED

Static value NetworkSourceDeleted for State.

PROVISIONING

public static final State PROVISIONING

Static value Provisioning for State.

SUCCEEDED

public static final State SUCCEEDED

Static value Succeeded for State.

Constructor Details

State

@Deprecated
public State()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of State value.

Method Details

fromString

public static State fromString(String name)

Creates or finds a State from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding State.

values

public static Collection<State> values()

Gets known State values.

Returns:

known State values.

Applies to