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

package com.azure.resourcemanager.networkcloud.models;

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

/** The provisioning state of the bare metal machine key set. */
public final class BareMetalMachineKeySetProvisioningState
    extends ExpandableStringEnum<BareMetalMachineKeySetProvisioningState> {
    /** Static value Succeeded for BareMetalMachineKeySetProvisioningState. */
    public static final BareMetalMachineKeySetProvisioningState SUCCEEDED = fromString("Succeeded");

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

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

    /** Static value Accepted for BareMetalMachineKeySetProvisioningState. */
    public static final BareMetalMachineKeySetProvisioningState ACCEPTED = fromString("Accepted");

    /** Static value Provisioning for BareMetalMachineKeySetProvisioningState. */
    public static final BareMetalMachineKeySetProvisioningState PROVISIONING = fromString("Provisioning");

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

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

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