All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterState Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Service Fabric Managed Clusters Management Client. Package tag package-2024-04.

There is a newer version: 1.0.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.servicefabricmanagedclusters.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * The current state of the cluster.
 */
public final class ClusterState extends ExpandableStringEnum {
    /**
     * Static value WaitingForNodes for ClusterState.
     */
    public static final ClusterState WAITING_FOR_NODES = fromString("WaitingForNodes");

    /**
     * Static value Deploying for ClusterState.
     */
    public static final ClusterState DEPLOYING = fromString("Deploying");

    /**
     * Static value BaselineUpgrade for ClusterState.
     */
    public static final ClusterState BASELINE_UPGRADE = fromString("BaselineUpgrade");

    /**
     * Static value Upgrading for ClusterState.
     */
    public static final ClusterState UPGRADING = fromString("Upgrading");

    /**
     * Static value UpgradeFailed for ClusterState.
     */
    public static final ClusterState UPGRADE_FAILED = fromString("UpgradeFailed");

    /**
     * Static value Ready for ClusterState.
     */
    public static final ClusterState READY = fromString("Ready");

    /**
     * Creates a new instance of ClusterState value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public ClusterState() {
    }

    /**
     * Creates or finds a ClusterState from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding ClusterState.
     */
    public static ClusterState fromString(String name) {
        return fromString(name, ClusterState.class);
    }

    /**
     * Gets known ClusterState values.
     * 
     * @return known ClusterState values.
     */
    public static Collection values() {
        return values(ClusterState.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy