VirtualNetworkGatewayNatRuleInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. SubResourceModel - com.
azure. resourcemanager. network. fluent. models. VirtualNetworkGatewayNatRuleInner
- com.
- com.
- com.
public final class VirtualNetworkGatewayNatRuleInner
extends SubResourceModel
VirtualNetworkGatewayNatRule Resource.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualNetworkGatewayNatRuleInner() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
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) |
| String |
type()
Get the type property: Resource type. |
|
Vpn |
typePropertiesType()
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 |
withId(String id) |
|
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 |
withName(String name)
Set the name property: Name of the resource. |
|
Virtual |
withTypePropertiesType(VpnNatRuleType type)
Set the type property: The type of NAT rule for VPN NAT. |
Methods inherited from SubResource
Methods inherited from SubResourceModel
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkGatewayNatRuleInner
public VirtualNetworkGatewayNatRuleInner()
Creates an instance of VirtualNetworkGatewayNatRuleInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
externalMappings
public List<VpnNatRuleMapping> externalMappings()
Get the externalMappings property: The private IP address external mapping for NAT.
Returns:
fromJson
public static VirtualNetworkGatewayNatRuleInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkGatewayNatRuleInner 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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualNetworkGatewayNatRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Overrides:
VirtualNetworkGatewayNatRuleInner.type()Returns:
typePropertiesType
public VpnNatRuleType typePropertiesType()
Get the type property: The type of NAT rule for VPN NAT.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
VirtualNetworkGatewayNatRuleInner.validate()withExternalMappings
public VirtualNetworkGatewayNatRuleInner withExternalMappings(List<VpnNatRuleMapping> externalMappings)
Set the externalMappings property: The private IP address external mapping for NAT.
Parameters:
Returns:
withId
public VirtualNetworkGatewayNatRuleInner withId(String id)
Overrides:
VirtualNetworkGatewayNatRuleInner.withId(String id)Parameters:
withInternalMappings
public VirtualNetworkGatewayNatRuleInner withInternalMappings(List<VpnNatRuleMapping> internalMappings)
Set the internalMappings property: The private IP address internal mapping for NAT.
Parameters:
Returns:
withIpConfigurationId
public VirtualNetworkGatewayNatRuleInner withIpConfigurationId(String ipConfigurationId)
Set the ipConfigurationId property: The IP Configuration ID this NAT rule applies to.
Parameters:
Returns:
withMode
public VirtualNetworkGatewayNatRuleInner withMode(VpnNatRuleMode mode)
Set the mode property: The Source NAT direction of a VPN NAT.
Parameters:
Returns:
withName
public VirtualNetworkGatewayNatRuleInner withName(String name)
Set the name property: Name of the resource.
Overrides:
VirtualNetworkGatewayNatRuleInner.withName(String name)Parameters:
withTypePropertiesType
public VirtualNetworkGatewayNatRuleInner withTypePropertiesType(VpnNatRuleType type)
Set the type property: The type of NAT rule for VPN NAT.
Parameters:
Returns: