oci_subnet_list
List subnets in a VCN by supplying the VCN OCID. Optionally filter by compartment and limit result count for efficient network inspection.
Instructions
List subnets in a VCN
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum subnets to return | |
| vcn_id | Yes | VCN OCID | |
| compartment_id | No | Compartment OCID (defaults to tenancy) |