ClusterState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. servicefabric. models. ClusterState
- com.
- com.
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
Cluster |
AUTO_SCALE
Static value Auto |
|
static final
Cluster |
BASELINE_UPGRADE
Static value Baseline |
|
static final
Cluster |
DEPLOYING
Static value Deploying for Cluster |
|
static final
Cluster |
ENFORCING_CLUSTER_VERSION
Static value Enforcing |
|
static final
Cluster |
READY
Static value Ready for Cluster |
|
static final
Cluster |
UPDATING_INFRASTRUCTURE
Static value Updating |
|
static final
Cluster |
UPDATING_USER_CERTIFICATE
Static value Updating |
|
static final
Cluster |
UPDATING_USER_CONFIGURATION
Static value Updating |
|
static final
Cluster |
UPGRADE_SERVICE_UNREACHABLE
Static value Upgrade |
|
static final
Cluster |
WAITING_FOR_NODES
Static value Waiting |
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cluster |
fromString(String name)
Creates or finds a Cluster |
|
static
Collection<Cluster |
values()
Gets known Cluster |
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
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:
Returns:
values
public static Collection<ClusterState> values()
Gets known ClusterState values.
Returns: