VpnClientProtocol Class

public final class VpnClientProtocol
extends ExpandableStringEnum<VpnClientProtocol>

VPN client protocol enabled for the virtual network gateway.

Field Summary

Modifier and Type Field and Description
static final VpnClientProtocol IKE_V2

Static value IkeV2 for VpnClientProtocol.

static final VpnClientProtocol OPEN_VPN

Static value OpenVPN for VpnClientProtocol.

static final VpnClientProtocol SSTP

Static value SSTP for VpnClientProtocol.

Constructor Summary

Constructor Description
VpnClientProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VpnClientProtocol value.

Method Summary

Modifier and Type Method and Description
static VpnClientProtocol fromString(String name)

Creates or finds a VpnClientProtocol from its string representation.

static Collection<VpnClientProtocol> values()

Gets known VpnClientProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IKE_V2

public static final VpnClientProtocol IKE_V2

Static value IkeV2 for VpnClientProtocol.

OPEN_VPN

public static final VpnClientProtocol OPEN_VPN

Static value OpenVPN for VpnClientProtocol.

SSTP

public static final VpnClientProtocol SSTP

Static value SSTP for VpnClientProtocol.

Constructor Details

VpnClientProtocol

@Deprecated
public VpnClientProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VpnClientProtocol value.

Method Details

fromString

public static VpnClientProtocol fromString(String name)

Creates or finds a VpnClientProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VpnClientProtocol.

values

public static Collection values()

Gets known VpnClientProtocol values.

Returns:

known VpnClientProtocol values.

Applies to