// 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 ComputeEnvironmentType. */
public final class ComputeEnvironmentType extends ExpandableStringEnum<ComputeEnvironmentType> {
    /** Static value ACI for ComputeEnvironmentType. */
    public static final ComputeEnvironmentType ACI = fromString("ACI");

    /** Static value AKS for ComputeEnvironmentType. */
    public static final ComputeEnvironmentType AKS = fromString("AKS");

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

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