Class VpnNatRuleMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VpnNatRuleMode>
com.azure.resourcemanager.network.models.VpnNatRuleMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The Source NAT direction of a VPN NAT.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VpnNatRuleModeStatic value EgressSnat for VpnNatRuleMode.static final VpnNatRuleModeStatic value IngressSnat for VpnNatRuleMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VpnNatRuleModefromString(String name) Creates or finds a VpnNatRuleMode from its string representation.static Collection<VpnNatRuleMode> values()Gets known VpnNatRuleMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
EGRESS_SNAT
Static value EgressSnat for VpnNatRuleMode. -
INGRESS_SNAT
Static value IngressSnat for VpnNatRuleMode.
-
-
Constructor Details
-
VpnNatRuleMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of VpnNatRuleMode value.
-
-
Method Details
-
fromString
Creates or finds a VpnNatRuleMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VpnNatRuleMode.
-
values
Gets known VpnNatRuleMode values.- Returns:
- known VpnNatRuleMode values.
-
fromString(String)factory method.