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

package com.azure.resourcemanager.cognitiveservices.models;

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

/** Deployment scale type. */
public final class DeploymentScaleType extends ExpandableStringEnum<DeploymentScaleType> {
    /** Static value Standard for DeploymentScaleType. */
    public static final DeploymentScaleType STANDARD = fromString("Standard");

    /** Static value Manual for DeploymentScaleType. */
    public static final DeploymentScaleType MANUAL = fromString("Manual");

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

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

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