// 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;

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

    /** Static value VirtualMachine for NetworkFunctionRoleConfigurationType. */
    public static final NetworkFunctionRoleConfigurationType VIRTUAL_MACHINE = fromString("VirtualMachine");

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

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