VirtualNetworkGatewayNatRule Class
VirtualNetworkGatewayNatRule Resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.network.models._models_py3.SubResourceVirtualNetworkGatewayNatRule
Constructor
VirtualNetworkGatewayNatRule(*, id: str | None = None, name: str | None = None, type_properties_type: str | _models.VpnNatRuleType | None = None, mode: str | _models.VpnNatRuleMode | None = None, internal_mappings: List[_models.VpnNatRuleMapping] | None = None, external_mappings: List[_models.VpnNatRuleMapping] | None = None, ip_configuration_id: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
Resource ID. |
name
|
The name of the resource that is unique within a resource group. This name can be used to access the resource. |
type_properties_type
|
The type of NAT rule for VPN NAT. Known values are: "Static" and "Dynamic". |
mode
|
The Source NAT direction of a VPN NAT. Known values are: "EgressSnat" and "IngressSnat". |
internal_mappings
|
The private IP address internal mapping for NAT. |
external_mappings
|
The private IP address external mapping for NAT. |
ip_configuration_id
|
The IP Configuration ID this NAT rule applies to. |
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
The name of the resource that is unique within a resource group. This name can be used to access the resource. |
etag
|
A unique read-only string that changes whenever the resource is updated. |
type
|
Resource type. |
provisioning_state
|
The provisioning state of the NAT Rule resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". |
type_properties_type
|
The type of NAT rule for VPN NAT. Known values are: "Static" and "Dynamic". |
mode
|
The Source NAT direction of a VPN NAT. Known values are: "EgressSnat" and "IngressSnat". |
internal_mappings
|
The private IP address internal mapping for NAT. |
external_mappings
|
The private IP address external mapping for NAT. |
ip_configuration_id
|
The IP Configuration ID this NAT rule applies to. |
Azure SDK for Python