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

package com.azure.resourcemanager.datamigration.models;

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

/** The type of restrictions. */
public final class ResourceSkuRestrictionsType extends ExpandableStringEnum<ResourceSkuRestrictionsType> {
    /** Static value location for ResourceSkuRestrictionsType. */
    public static final ResourceSkuRestrictionsType LOCATION = fromString("location");

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

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

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