VpnNatRuleMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. VpnNatRuleMode
- com.
- com.
public final class VpnNatRuleMode
extends ExpandableStringEnum<VpnNatRuleMode>
The Source NAT direction of a VPN NAT.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Vpn |
EGRESS_SNAT
Static value Egress |
static final
Vpn |
INGRESS_SNAT
Static value Ingress |
Constructor Summary
Constructor | Description |
---|---|
VpnNatRuleMode() |
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
EGRESS_SNAT
public static final VpnNatRuleMode EGRESS_SNAT
Static value EgressSnat for VpnNatRuleMode.
INGRESS_SNAT
public static final VpnNatRuleMode INGRESS_SNAT
Static value IngressSnat for VpnNatRuleMode.
Constructor Details
VpnNatRuleMode
@Deprecated
public VpnNatRuleMode()
Deprecated
Creates a new instance of VpnNatRuleMode value.
Method Details
fromString
public static VpnNatRuleMode fromString(String name)
Creates or finds a VpnNatRuleMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known VpnNatRuleMode values.
Returns:
Applies to
Azure SDK for Java