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

package com.azure.resourcemanager.orbital.models;

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

/** The current state of the resource's creation, deletion, or modification. */
public final class ContactProfilesPropertiesProvisioningState
    extends ExpandableStringEnum<ContactProfilesPropertiesProvisioningState> {
    /** Static value creating for ContactProfilesPropertiesProvisioningState. */
    public static final ContactProfilesPropertiesProvisioningState CREATING = fromString("creating");

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

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

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

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

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

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

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

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