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

package com.azure.resourcemanager.datamigration.models;

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

/** The project's provisioning state. */
public final class ProjectProvisioningState extends ExpandableStringEnum<ProjectProvisioningState> {
    /** Static value Deleting for ProjectProvisioningState. */
    public static final ProjectProvisioningState DELETING = fromString("Deleting");

    /** Static value Succeeded for ProjectProvisioningState. */
    public static final ProjectProvisioningState SUCCEEDED = fromString("Succeeded");

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

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

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