VnetState Class

public final class VnetState
extends ExpandableStringEnum<VnetState>

When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet.

Field Summary

Modifier and Type Field and Description
static final VnetState DISABLED

Static value Disabled for VnetState.

static final VnetState ENABLED

Static value Enabled for VnetState.

Constructor Summary

Constructor Description
VnetState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VnetState value.

Method Summary

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

Creates or finds a VnetState from its string representation.

static Collection<VnetState> values()

Gets known VnetState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final VnetState DISABLED

Static value Disabled for VnetState.

ENABLED

public static final VnetState ENABLED

Static value Enabled for VnetState.

Constructor Details

VnetState

@Deprecated
public VnetState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VnetState value.

Method Details

fromString

public static VnetState fromString(String name)

Creates or finds a VnetState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VnetState.

values

public static Collection values()

Gets known VnetState values.

Returns:

known VnetState values.

Applies to