VirtualNetworkGatewayNatRuleProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. VirtualNetworkGatewayNatRuleProperties
- com.
Implements
public final class VirtualNetworkGatewayNatRuleProperties
implements JsonSerializable<VirtualNetworkGatewayNatRuleProperties>
Parameters for VirtualNetworkGatewayNatRule.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualNetworkGatewayNatRuleProperties() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Vpn |
externalMappings()
Get the external |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
|
List<Vpn |
internalMappings()
Get the internal |
| String |
ipConfigurationId()
Get the ip |
|
Vpn |
mode()
Get the mode property: The Source NAT direction of a VPN NAT. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Vpn |
type()
Get the type property: The type of NAT rule for VPN NAT. |
| void |
validate()
Validates the instance. |
|
Virtual |
withExternalMappings(List<VpnNatRuleMapping> externalMappings)
Set the external |
|
Virtual |
withInternalMappings(List<VpnNatRuleMapping> internalMappings)
Set the internal |
|
Virtual |
withIpConfigurationId(String ipConfigurationId)
Set the ip |
|
Virtual |
withMode(VpnNatRuleMode mode)
Set the mode property: The Source NAT direction of a VPN NAT. |
|
Virtual |
withType(VpnNatRuleType type)
Set the type property: The type of NAT rule for VPN NAT. |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkGatewayNatRuleProperties
public VirtualNetworkGatewayNatRuleProperties()
Creates an instance of VirtualNetworkGatewayNatRuleProperties class.
Method Details
externalMappings
public List<VpnNatRuleMapping> externalMappings()
Get the externalMappings property: The private IP address external mapping for NAT.
Returns:
fromJson
public static VirtualNetworkGatewayNatRuleProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkGatewayNatRuleProperties from the JsonReader.
Parameters:
Returns:
Throws:
internalMappings
public List<VpnNatRuleMapping> internalMappings()
Get the internalMappings property: The private IP address internal mapping for NAT.
Returns:
ipConfigurationId
public String ipConfigurationId()
Get the ipConfigurationId property: The IP Configuration ID this NAT rule applies to.
Returns:
mode
public VpnNatRuleMode mode()
Get the mode property: The Source NAT direction of a VPN NAT.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the NAT Rule resource.
Returns:
toJson
type
public VpnNatRuleType type()
Get the type property: The type of NAT rule for VPN NAT.
Returns:
validate
public void validate()
Validates the instance.
withExternalMappings
public VirtualNetworkGatewayNatRuleProperties withExternalMappings(List<VpnNatRuleMapping> externalMappings)
Set the externalMappings property: The private IP address external mapping for NAT.
Parameters:
Returns:
withInternalMappings
public VirtualNetworkGatewayNatRuleProperties withInternalMappings(List<VpnNatRuleMapping> internalMappings)
Set the internalMappings property: The private IP address internal mapping for NAT.
Parameters:
Returns:
withIpConfigurationId
public VirtualNetworkGatewayNatRuleProperties withIpConfigurationId(String ipConfigurationId)
Set the ipConfigurationId property: The IP Configuration ID this NAT rule applies to.
Parameters:
Returns:
withMode
public VirtualNetworkGatewayNatRuleProperties withMode(VpnNatRuleMode mode)
Set the mode property: The Source NAT direction of a VPN NAT.
Parameters:
Returns:
withType
public VirtualNetworkGatewayNatRuleProperties withType(VpnNatRuleType type)
Set the type property: The type of NAT rule for VPN NAT.
Parameters:
Returns: