ClusterState Class

public final class ClusterState
extends ExpandableStringEnum<ClusterState>

The current state of the cluster. - WaitingForNodes - Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it. - Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up. - BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time. - UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration. - UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate. - UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the **upgradeMode** is set to 'Automatic'. - EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version. - UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider. - AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted. - Ready - Indicates that the cluster is in a stable state.

Field Summary

Modifier and Type Field and Description
static final ClusterState AUTO_SCALE

Static value AutoScale for ClusterState.

static final ClusterState BASELINE_UPGRADE

Static value BaselineUpgrade for ClusterState.

static final ClusterState DEPLOYING

Static value Deploying for ClusterState.

static final ClusterState ENFORCING_CLUSTER_VERSION

Static value EnforcingClusterVersion for ClusterState.

static final ClusterState READY

Static value Ready for ClusterState.

static final ClusterState UPDATING_INFRASTRUCTURE

Static value UpdatingInfrastructure for ClusterState.

static final ClusterState UPDATING_USER_CERTIFICATE

Static value UpdatingUserCertificate for ClusterState.

static final ClusterState UPDATING_USER_CONFIGURATION

Static value UpdatingUserConfiguration for ClusterState.

static final ClusterState UPGRADE_SERVICE_UNREACHABLE

Static value UpgradeServiceUnreachable for ClusterState.

static final ClusterState WAITING_FOR_NODES

Static value WaitingForNodes for ClusterState.

Constructor Summary

Constructor Description
ClusterState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ClusterState value.

Method Summary

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

Creates or finds a ClusterState from its string representation.

static Collection<ClusterState> values()

Gets known ClusterState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTO_SCALE

public static final ClusterState AUTO_SCALE

Static value AutoScale for ClusterState.

BASELINE_UPGRADE

public static final ClusterState BASELINE_UPGRADE

Static value BaselineUpgrade for ClusterState.

DEPLOYING

public static final ClusterState DEPLOYING

Static value Deploying for ClusterState.

ENFORCING_CLUSTER_VERSION

public static final ClusterState ENFORCING_CLUSTER_VERSION

Static value EnforcingClusterVersion for ClusterState.

READY

public static final ClusterState READY

Static value Ready for ClusterState.

UPDATING_INFRASTRUCTURE

public static final ClusterState UPDATING_INFRASTRUCTURE

Static value UpdatingInfrastructure for ClusterState.

UPDATING_USER_CERTIFICATE

public static final ClusterState UPDATING_USER_CERTIFICATE

Static value UpdatingUserCertificate for ClusterState.

UPDATING_USER_CONFIGURATION

public static final ClusterState UPDATING_USER_CONFIGURATION

Static value UpdatingUserConfiguration for ClusterState.

UPGRADE_SERVICE_UNREACHABLE

public static final ClusterState UPGRADE_SERVICE_UNREACHABLE

Static value UpgradeServiceUnreachable for ClusterState.

WAITING_FOR_NODES

public static final ClusterState WAITING_FOR_NODES

Static value WaitingForNodes for ClusterState.

Constructor Details

ClusterState

@Deprecated
public ClusterState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ClusterState value.

Method Details

fromString

public static ClusterState fromString(String name)

Creates or finds a ClusterState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ClusterState.

values

public static Collection<ClusterState> values()

Gets known ClusterState values.

Returns:

known ClusterState values.

Applies to