Data Source: oci_network_firewall_network_firewalls
This data source provides the list of Network Firewalls in Oracle Cloud Infrastructure Network Firewall service.
Returns a list of NetworkFirewalls.
Example Usage
data "oci_network_firewall_network_firewalls" "test_network_firewalls" {
#Required
compartment_id = var.compartment_id
#Optional
availability_domain = var.network_firewall_availability_domain
display_name = var.network_firewall_display_name
id = var.network_firewall_id
network_firewall_policy_id = oci_network_firewall_network_firewall_policy.test_network_firewall_policy.id
state = var.network_firewall_state
}
Argument Reference
The following arguments are supported:
availability_domain- (Optional) A filter to return only resources that are present within the specified availability domain. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:kIdk:PHX-AD-1compartment_id- (Required) The ID of the compartment in which to list resources.display_name- (Optional) A filter to return only resources that match the entire display name given.id- (Optional) The OCID of the Network Firewall resource.network_firewall_policy_id- (Optional) A filter to return only resources that match the entire networkFirewallPolicyId given.state- (Optional) A filter to return only resources with a lifecycleState matching the given value.
Attributes Reference
The following attributes are exported:
network_firewall_collection- The list of network_firewall_collection.
NetworkFirewall Reference
The following attributes are exported:
availability_domain- Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use the ListAvailabilityDomains operation. Example:kIdk:PHX-AD-1compartment_id- The OCID of the compartment containing the Network Firewall.defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}display_name- A user-friendly name for the Network Firewall. Does not have to be unique, and it’s changeable. Avoid entering confidential information.freeform_tags- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}id- The OCID of the Network Firewall resource.ipv4address- IPv4 address for the Network Firewall.ipv6address- IPv6 address for the Network Firewall.lifecycle_details- A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in ‘FAILED’ state.nat_configuration- Response 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.must_enable_private_nat- True indicates that NAT configuration is enabled. False indicates NAT configuration is disabled.nat_ip_address_list- 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.
network_firewall_policy_id- The OCID of the Network Firewall Policy.network_security_group_ids- An array of network security groups OCID associated with the Network Firewall.shape- The shape of a firewall to determine the bandwidth that the firewall allows.state- The current state of the Network Firewall.subnet_id- The OCID of the subnet associated with the Network Firewall.system_tags- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The time at which the Network Firewall was created in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Ztime_updated- The time at which the Network Firewall was updated in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z