// 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 provisioning state of the Kubernetes cluster resource. */
public final class KubernetesClusterProvisioningState extends ExpandableStringEnum<KubernetesClusterProvisioningState> {
    /** Static value Succeeded for KubernetesClusterProvisioningState. */
    public static final KubernetesClusterProvisioningState SUCCEEDED = fromString("Succeeded");

    /** Static value Failed for KubernetesClusterProvisioningState. */
    public static final KubernetesClusterProvisioningState FAILED = fromString("Failed");

    /** Static value Canceled for KubernetesClusterProvisioningState. */
    public static final KubernetesClusterProvisioningState CANCELED = fromString("Canceled");

    /** Static value Accepted for KubernetesClusterProvisioningState. */
    public static final KubernetesClusterProvisioningState ACCEPTED = fromString("Accepted");

    /** Static value InProgress for KubernetesClusterProvisioningState. */
    public static final KubernetesClusterProvisioningState IN_PROGRESS = fromString("InProgress");

    /** Static value Created for KubernetesClusterProvisioningState. */
    public static final KubernetesClusterProvisioningState CREATED = fromString("Created");

    /** Static value Updating for KubernetesClusterProvisioningState. */
    public static final KubernetesClusterProvisioningState UPDATING = fromString("Updating");

    /** Static value Deleting for KubernetesClusterProvisioningState. */
    public static final KubernetesClusterProvisioningState DELETING = fromString("Deleting");

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

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

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