Listing an instance's VNICs
List the VNICs attached to a Compute instance.
Use the
oci compute vnic-attachment list
command and required parameters to list the VNICs attached to an instance:oci compute vnic-attachment list --compartment-id ocid --instance-id ocid ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ListVnicAttachments operation to list the VNICs attached to an instance.