Class VpnGatewayTunnelingProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VpnGatewayTunnelingProtocol>
com.azure.resourcemanager.network.models.VpnGatewayTunnelingProtocol
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class VpnGatewayTunnelingProtocol
extends com.azure.core.util.ExpandableStringEnum<VpnGatewayTunnelingProtocol>
VPN protocol enabled for the VpnServerConfiguration.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final VpnGatewayTunnelingProtocol
Static value IkeV2 for VpnGatewayTunnelingProtocol.static final VpnGatewayTunnelingProtocol
Static value OpenVPN for VpnGatewayTunnelingProtocol. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VpnGatewayTunnelingProtocol
fromString
(String name) Creates or finds a VpnGatewayTunnelingProtocol from its string representation.values()
Gets known VpnGatewayTunnelingProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
IKE_V2
Static value IkeV2 for VpnGatewayTunnelingProtocol. -
OPEN_VPN
Static value OpenVPN for VpnGatewayTunnelingProtocol.
-
-
Constructor Details
-
VpnGatewayTunnelingProtocol
Deprecated.Use thefromString(String)
factory method.Creates a new instance of VpnGatewayTunnelingProtocol value.
-
-
Method Details
-
fromString
Creates or finds a VpnGatewayTunnelingProtocol from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding VpnGatewayTunnelingProtocol.
-
values
Gets known VpnGatewayTunnelingProtocol values.- Returns:
- known VpnGatewayTunnelingProtocol values.
-
fromString(String)
factory method.