Data Source: oci_core_network_security_group

This data source provides details about a specific Network Security Group resource in Oracle Cloud Infrastructure Core service.

Gets the specified network security group’s information.

To list the VNICs in an NSG, see ListNetworkSecurityGroupVnics.

To list the security rules in an NSG, see ListNetworkSecurityGroupSecurityRules.

Example Usage

data "oci_core_network_security_group" "test_network_security_group" {
	#Required
	network_security_group_id = oci_core_network_security_group.test_network_security_group.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: