// 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 L3 network. */
public final class L3NetworkProvisioningState extends ExpandableStringEnum<L3NetworkProvisioningState> {
    /** Static value Succeeded for L3NetworkProvisioningState. */
    public static final L3NetworkProvisioningState SUCCEEDED = fromString("Succeeded");

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

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

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

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

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

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

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