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

package com.azure.resourcemanager.avs.models;

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

/** The state of the ExpressRoute Circuit Authorization provisioning. */
public final class ExpressRouteAuthorizationProvisioningState
    extends ExpandableStringEnum<ExpressRouteAuthorizationProvisioningState> {
    /** Static value Succeeded for ExpressRouteAuthorizationProvisioningState. */
    public static final ExpressRouteAuthorizationProvisioningState SUCCEEDED = fromString("Succeeded");

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

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

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

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

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

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