List OCI resources
oci_listList Oracle Cloud Infrastructure resources by type, covering compute, storage, networking, databases, OKE, and identity; omit compartment to scan a tenancy.
Instructions
List resources of one type, compactly.
Covers compute, block storage, networking, OKE, database, object storage and identity. Results are projected to the identifying fields; pass verbose=True for the full objects.
Omitting compartment scans the whole tenancy and tags each row with the
compartment it came from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return. | |
| verbose | No | Return every field instead of the compact projection. | |
| compartment | No | Compartment name or OCID. Omit to scan every compartment in the tenancy. | |
| resource_type | Yes | ||
| lifecycle_state | No | Filter by state, e.g. RUNNING, AVAILABLE, ACTIVE, TERMINATED. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||