VpnGatewayGeneration Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. VpnGatewayGeneration
- com.
- com.
public final class VpnGatewayGeneration
extends ExpandableStringEnum<VpnGatewayGeneration>
The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Vpn |
GENERATION1
Static value Generation1 for Vpn |
static final
Vpn |
GENERATION2
Static value Generation2 for Vpn |
static final
Vpn |
NONE
Static value None for Vpn |
Constructor Summary
Constructor | Description |
---|---|
VpnGatewayGeneration() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vpn |
fromString(String name)
Creates or finds a Vpn |
static
Collection<Vpn |
values()
Gets known Vpn |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
GENERATION1
public static final VpnGatewayGeneration GENERATION1
Static value Generation1 for VpnGatewayGeneration.
GENERATION2
public static final VpnGatewayGeneration GENERATION2
Static value Generation2 for VpnGatewayGeneration.
NONE
public static final VpnGatewayGeneration NONE
Static value None for VpnGatewayGeneration.
Constructor Details
VpnGatewayGeneration
@Deprecated
public VpnGatewayGeneration()
Deprecated
Creates a new instance of VpnGatewayGeneration value.
Method Details
fromString
public static VpnGatewayGeneration fromString(String name)
Creates or finds a VpnGatewayGeneration from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known VpnGatewayGeneration values.
Returns:
Applies to
Azure SDK for Java