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

package com.azure.resourcemanager.machinelearningservices.models;

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

/** Defines values for VMTier. */
public final class VMTier extends ExpandableStringEnum<VMTier> {
    /** Static value Standard for VMTier. */
    public static final VMTier STANDARD = fromString("Standard");

    /** Static value LowPriority for VMTier. */
    public static final VMTier LOW_PRIORITY = fromString("LowPriority");

    /** Static value Spot for VMTier. */
    public static final VMTier SPOT = fromString("Spot");

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

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