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

package com.azure.resourcemanager.datafactory.models;

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

/** Managed Virtual Network reference type. */
public final class ManagedVirtualNetworkReferenceType extends ExpandableStringEnum<ManagedVirtualNetworkReferenceType> {
    /** Static value ManagedVirtualNetworkReference for ManagedVirtualNetworkReferenceType. */
    public static final ManagedVirtualNetworkReferenceType MANAGED_VIRTUAL_NETWORK_REFERENCE =
        fromString("ManagedVirtualNetworkReference");

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

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

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