VpnGatewayNatRuleInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. VpnGatewayNatRuleInner
- com.
- com.
public final class VpnGatewayNatRuleInner
extends SubResource
VpnGatewayNatRule Resource.
Constructor Summary
Constructor | Description |
---|---|
VpnGatewayNatRuleInner() |
Creates an instance of Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Sub |
egressVpnSiteLinkConnections()
Get the egress |
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
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
List<Sub |
ingressVpnSiteLinkConnections()
Get the ingress |
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. |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
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. |
Vpn |
withExternalMappings(List<VpnNatRuleMapping> externalMappings)
Set the external |
Vpn |
withId(String id) |
Vpn |
withInternalMappings(List<VpnNatRuleMapping> internalMappings)
Set the internal |
Vpn |
withIpConfigurationId(String ipConfigurationId)
Set the ip |
Vpn |
withMode(VpnNatRuleMode mode)
Set the mode property: The Source NAT direction of a VPN NAT. |
Vpn |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Vpn |
withTypePropertiesType(VpnNatRuleType type)
Set the type property: The type of NAT rule for VPN NAT. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
VpnGatewayNatRuleInner
public VpnGatewayNatRuleInner()
Creates an instance of VpnGatewayNatRuleInner class.
Method Details
egressVpnSiteLinkConnections
public List
Get the egressVpnSiteLinkConnections property: List of egress VpnSiteLinkConnections.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
externalMappings
public List
Get the externalMappings property: The private IP address external mapping for NAT.
Returns:
fromJson
public static VpnGatewayNatRuleInner fromJson(JsonReader jsonReader)
Reads an instance of VpnGatewayNatRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
ingressVpnSiteLinkConnections
public List
Get the ingressVpnSiteLinkConnections property: List of ingress VpnSiteLinkConnections.
Returns:
internalMappings
public List
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:
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
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:
VpnGatewayNatRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource 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.
withExternalMappings
public VpnGatewayNatRuleInner withExternalMappings(List
Set the externalMappings property: The private IP address external mapping for NAT.
Parameters:
Returns:
withId
public VpnGatewayNatRuleInner withId(String id)
Overrides:
VpnGatewayNatRuleInner.withId(String id)Parameters:
withInternalMappings
public VpnGatewayNatRuleInner withInternalMappings(List
Set the internalMappings property: The private IP address internal mapping for NAT.
Parameters:
Returns:
withIpConfigurationId
public VpnGatewayNatRuleInner withIpConfigurationId(String ipConfigurationId)
Set the ipConfigurationId property: The IP Configuration ID this NAT rule applies to.
Parameters:
Returns:
withMode
public VpnGatewayNatRuleInner withMode(VpnNatRuleMode mode)
Set the mode property: The Source NAT direction of a VPN NAT.
Parameters:
Returns:
withName
public VpnGatewayNatRuleInner withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
withTypePropertiesType
public VpnGatewayNatRuleInner withTypePropertiesType(VpnNatRuleType type)
Set the type property: The type of NAT rule for VPN NAT.
Parameters:
Returns:
Applies to
Azure SDK for Java