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-1
compartment_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-1
compartment_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.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.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.600Z
time_updated
- The time at which the Network Firewall was updated in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z