NatConfigurationResponse¶
-
class
oci.network_firewall.models.NatConfigurationResponse(**kwargs)¶ Bases:
objectResponse to a request to configure Network Address Translation (NAT) on a firewall.
To perform NAT on traffic passing the private NAT IPs to the firewall, the attached network firewall policy must also have NAT rules and NAT configuration must be enabled. If NAT configuration is enabled and the attached firewall policy does not contain NAT rule then NAT IPs will get allocated but NAT will not be performed on any traffic.
Methods
__init__(**kwargs)Initializes a new NatConfigurationResponse object with values from keyword arguments. Attributes
must_enable_private_natGets the must_enable_private_nat of this NatConfigurationResponse. nat_ip_address_listGets the nat_ip_address_list of this NatConfigurationResponse. -
__init__(**kwargs)¶ Initializes a new NatConfigurationResponse object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - must_enable_private_nat (bool) – The value to assign to the must_enable_private_nat property of this NatConfigurationResponse.
- nat_ip_address_list (list[str]) – The value to assign to the nat_ip_address_list property of this NatConfigurationResponse.
-
must_enable_private_nat¶ Gets the must_enable_private_nat of this NatConfigurationResponse. True indicates that NAT configuration is enabled. False indicates NAT configuration is disabled.
Returns: The must_enable_private_nat of this NatConfigurationResponse. Return type: bool
-
nat_ip_address_list¶ Gets the nat_ip_address_list of this NatConfigurationResponse. An array of Private NAT IP addresses that are associated with the Network Firewall. These IP addresses are reserved for NAT and shouldn’t be used for any other purpose in the subnet.
This list contains IP addresses when NAT configuration is enabled. This list is empty or null IP when NAT configuration is disabled.
Returns: The nat_ip_address_list of this NatConfigurationResponse. Return type: list[str]
-