// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.networkcloud.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** The current status of the Kubernetes cluster. */
public final class KubernetesClusterDetailedStatus extends ExpandableStringEnum<KubernetesClusterDetailedStatus> {
    /** Static value Available for KubernetesClusterDetailedStatus. */
    public static final KubernetesClusterDetailedStatus AVAILABLE = fromString("Available");

    /** Static value Error for KubernetesClusterDetailedStatus. */
    public static final KubernetesClusterDetailedStatus ERROR = fromString("Error");

    /** Static value Provisioning for KubernetesClusterDetailedStatus. */
    public static final KubernetesClusterDetailedStatus PROVISIONING = fromString("Provisioning");

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

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

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