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

package com.azure.resourcemanager.network.models;

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

/** The Vpn Policy member attribute type. */
public final class VpnPolicyMemberAttributeType extends ExpandableStringEnum<VpnPolicyMemberAttributeType> {
    /** Static value CertificateGroupId for VpnPolicyMemberAttributeType. */
    public static final VpnPolicyMemberAttributeType CERTIFICATE_GROUP_ID = fromString("CertificateGroupId");

    /** Static value AADGroupId for VpnPolicyMemberAttributeType. */
    public static final VpnPolicyMemberAttributeType AADGROUP_ID = fromString("AADGroupId");

    /** Static value RadiusAzureGroupId for VpnPolicyMemberAttributeType. */
    public static final VpnPolicyMemberAttributeType RADIUS_AZURE_GROUP_ID = fromString("RadiusAzureGroupId");

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

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

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