public class VpnGatewayNatRuleInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
VpnGatewayNatRuleInner() |
| Modifier and Type | Method and Description |
|---|---|
List<com.azure.core.management.SubResource> |
egressVpnSiteLinkConnections()
Get the egressVpnSiteLinkConnections property: List of egress VpnSiteLinkConnections.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
List<VpnNatRuleMapping> |
externalMappings()
Get the externalMappings property: The private IP address external mapping for NAT.
|
List<com.azure.core.management.SubResource> |
ingressVpnSiteLinkConnections()
Get the ingressVpnSiteLinkConnections property: List of ingress VpnSiteLinkConnections.
|
List<VpnNatRuleMapping> |
internalMappings()
Get the internalMappings property: The private IP address internal mapping for NAT.
|
String |
ipConfigurationId()
Get the ipConfigurationId property: The IP Configuration ID this NAT rule applies to.
|
VpnNatRuleMode |
mode()
Get the mode property: The Source NAT direction of a VPN NAT.
|
String |
name()
Get the name property: The name of the resource that is unique within a resource group.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the NAT Rule resource.
|
String |
type()
Get the type property: Resource type.
|
VpnNatRuleType |
typePropertiesType()
Get the typePropertiesType property: The type of NAT rule for VPN NAT.
|
void |
validate()
Validates the instance.
|
VpnGatewayNatRuleInner |
withExternalMappings(List<VpnNatRuleMapping> externalMappings)
Set the externalMappings property: The private IP address external mapping for NAT.
|
VpnGatewayNatRuleInner |
withId(String id) |
VpnGatewayNatRuleInner |
withInternalMappings(List<VpnNatRuleMapping> internalMappings)
Set the internalMappings property: The private IP address internal mapping for NAT.
|
VpnGatewayNatRuleInner |
withIpConfigurationId(String ipConfigurationId)
Set the ipConfigurationId property: The IP Configuration ID this NAT rule applies to.
|
VpnGatewayNatRuleInner |
withMode(VpnNatRuleMode mode)
Set the mode property: The Source NAT direction of a VPN NAT.
|
VpnGatewayNatRuleInner |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group.
|
VpnGatewayNatRuleInner |
withTypePropertiesType(VpnNatRuleType typePropertiesType)
Set the typePropertiesType property: The type of NAT rule for VPN NAT.
|
public String name()
public VpnGatewayNatRuleInner withName(String name)
name - the name value to set.public String etag()
public String type()
public ProvisioningState provisioningState()
public VpnNatRuleType typePropertiesType()
public VpnGatewayNatRuleInner withTypePropertiesType(VpnNatRuleType typePropertiesType)
typePropertiesType - the typePropertiesType value to set.public VpnNatRuleMode mode()
public VpnGatewayNatRuleInner withMode(VpnNatRuleMode mode)
mode - the mode value to set.public List<VpnNatRuleMapping> internalMappings()
public VpnGatewayNatRuleInner withInternalMappings(List<VpnNatRuleMapping> internalMappings)
internalMappings - the internalMappings value to set.public List<VpnNatRuleMapping> externalMappings()
public VpnGatewayNatRuleInner withExternalMappings(List<VpnNatRuleMapping> externalMappings)
externalMappings - the externalMappings value to set.public String ipConfigurationId()
public VpnGatewayNatRuleInner withIpConfigurationId(String ipConfigurationId)
ipConfigurationId - the ipConfigurationId value to set.public List<com.azure.core.management.SubResource> egressVpnSiteLinkConnections()
public List<com.azure.core.management.SubResource> ingressVpnSiteLinkConnections()
public VpnGatewayNatRuleInner withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.