Class VpnGatewayGeneration
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VpnGatewayGeneration>
com.azure.resourcemanager.network.models.VpnGatewayGeneration
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class VpnGatewayGeneration
extends com.azure.core.util.ExpandableStringEnum<VpnGatewayGeneration>
The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VpnGatewayGenerationStatic value Generation1 for VpnGatewayGeneration.static final VpnGatewayGenerationStatic value Generation2 for VpnGatewayGeneration.static final VpnGatewayGenerationStatic value None for VpnGatewayGeneration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VpnGatewayGenerationfromString(String name) Creates or finds a VpnGatewayGeneration from its string representation.static Collection<VpnGatewayGeneration> values()Gets known VpnGatewayGeneration values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
Static value None for VpnGatewayGeneration. -
GENERATION1
Static value Generation1 for VpnGatewayGeneration. -
GENERATION2
Static value Generation2 for VpnGatewayGeneration.
-
-
Constructor Details
-
VpnGatewayGeneration
Deprecated.Use thefromString(String)factory method.Creates a new instance of VpnGatewayGeneration value.
-
-
Method Details
-
fromString
Creates or finds a VpnGatewayGeneration from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VpnGatewayGeneration.
-
values
Gets known VpnGatewayGeneration values.- Returns:
- known VpnGatewayGeneration values.
-
fromString(String)factory method.