This data source provides the list of Network Security Group Vnics in Oracle Cloud Infrastructure Core service.
Lists the VNICs in the specified network security group.
data "oci_core_network_security_group_vnics" "test_network_security_group_vnics" {
#Required
network_security_group_id = oci_core_network_security_group.test_network_security_group.id
}
The following arguments are supported:
network_security_group_id
- (Required) The OCID of the network security group.The following attributes are exported:
network_security_group_vnics
- The list of network_security_group_vnics.The following attributes are exported: