list_vnics
Retrieve Virtual Network Interface Cards (VNICs) in an Oracle Cloud compartment to view IP addresses, subnet details, and security groups, with optional filtering by instance.
Instructions
List all Virtual Network Interface Cards (VNICs) in a compartment.
Args:
compartment_id: OCID of the compartment to list VNICs from
instance_id: Optional OCID of the instance to filter VNICs
Returns:
List of VNICs with their IP addresses, subnet information, and security groups
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes | ||
| instance_id | No |