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

package com.azure.resourcemanager.networkcloud.models;

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

/**
 * Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The
 * network plugin type for Hybrid AKS.
 */
public final class HybridAksPluginType extends ExpandableStringEnum<HybridAksPluginType> {
    /** Static value DPDK for HybridAksPluginType. */
    public static final HybridAksPluginType DPDK = fromString("DPDK");

    /** Static value SRIOV for HybridAksPluginType. */
    public static final HybridAksPluginType SRIOV = fromString("SRIOV");

    /** Static value OSDevice for HybridAksPluginType. */
    public static final HybridAksPluginType OSDEVICE = fromString("OSDevice");

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

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

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