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

package com.azure.resourcemanager.hybridnetwork.models;

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

/** The network function type. */
public final class NetworkFunctionType extends ExpandableStringEnum<NetworkFunctionType> {
    /** Static value Unknown for NetworkFunctionType. */
    public static final NetworkFunctionType UNKNOWN = fromString("Unknown");

    /** Static value VirtualNetworkFunction for NetworkFunctionType. */
    public static final NetworkFunctionType VIRTUAL_NETWORK_FUNCTION = fromString("VirtualNetworkFunction");

    /** Static value ContainerizedNetworkFunction for NetworkFunctionType. */
    public static final NetworkFunctionType CONTAINERIZED_NETWORK_FUNCTION = fromString("ContainerizedNetworkFunction");

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

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