list_network_security_groups
Retrieve network security groups (NSGs) in a compartment, optionally filtered by VCN. Returns concise summaries per NSG, with an option to get full OCI objects.
Instructions
Lists network security groups (NSGs) in a compartment, optionally filtered by VCN. Returns a trimmed summary per NSG unless raw=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return the full OCI SDK object per NSG instead of the trimmed summary (default: false) | |
| vcnId | No | Optional VCN OCID filter | |
| region | No | OCI region ID to query (e.g. sa-vinhedo-1). Default: server-configured region | |
| compartmentId | No | Compartment OCID (default: tenancy root) |