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

package com.azure.resourcemanager.timeseriesinsights.models;

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

/** The name of this SKU. */
public final class SkuName extends ExpandableStringEnum<SkuName> {
    /** Static value S1 for SkuName. */
    public static final SkuName S1 = fromString("S1");

    /** Static value S2 for SkuName. */
    public static final SkuName S2 = fromString("S2");

    /** Static value P1 for SkuName. */
    public static final SkuName P1 = fromString("P1");

    /** Static value L1 for SkuName. */
    public static final SkuName L1 = fromString("L1");

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

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

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