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

package com.azure.resourcemanager.workloads.models;

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

/** State of provisioning of the SAP monitor. */
public final class WorkloadMonitorProvisioningState extends ExpandableStringEnum<WorkloadMonitorProvisioningState> {
    /** Static value Accepted for WorkloadMonitorProvisioningState. */
    public static final WorkloadMonitorProvisioningState ACCEPTED = fromString("Accepted");

    /** Static value Creating for WorkloadMonitorProvisioningState. */
    public static final WorkloadMonitorProvisioningState CREATING = fromString("Creating");

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

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

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

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

    /** Static value Migrating for WorkloadMonitorProvisioningState. */
    public static final WorkloadMonitorProvisioningState MIGRATING = fromString("Migrating");

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

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

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