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

package com.azure.resourcemanager.resources.models;

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

/** The state. */
public final class SubscriptionFeatureRegistrationState
    extends ExpandableStringEnum<SubscriptionFeatureRegistrationState> {
    /** Static value NotSpecified for SubscriptionFeatureRegistrationState. */
    public static final SubscriptionFeatureRegistrationState NOT_SPECIFIED = fromString("NotSpecified");

    /** Static value NotRegistered for SubscriptionFeatureRegistrationState. */
    public static final SubscriptionFeatureRegistrationState NOT_REGISTERED = fromString("NotRegistered");

    /** Static value Pending for SubscriptionFeatureRegistrationState. */
    public static final SubscriptionFeatureRegistrationState PENDING = fromString("Pending");

    /** Static value Registering for SubscriptionFeatureRegistrationState. */
    public static final SubscriptionFeatureRegistrationState REGISTERING = fromString("Registering");

    /** Static value Registered for SubscriptionFeatureRegistrationState. */
    public static final SubscriptionFeatureRegistrationState REGISTERED = fromString("Registered");

    /** Static value Unregistering for SubscriptionFeatureRegistrationState. */
    public static final SubscriptionFeatureRegistrationState UNREGISTERING = fromString("Unregistering");

    /** Static value Unregistered for SubscriptionFeatureRegistrationState. */
    public static final SubscriptionFeatureRegistrationState UNREGISTERED = fromString("Unregistered");

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

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

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