Data Source: oci_core_network_security_group_security_rules

This data source provides the list of Network Security Group Security Rules in Oracle Cloud Infrastructure Core service.

Lists the security rules in the specified network security group.

Example Usage

data "oci_core_network_security_group_security_rules" "test_network_security_group_security_rules" {
	#Required
	network_security_group_id = oci_core_network_security_group.test_network_security_group.id

	#Optional
	direction = var.network_security_group_security_rule_direction
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

NetworkSecurityGroupSecurityRule Reference

The following attributes are exported: