Managing Tags for a VNIC

Learn to manage resource tags for a VNIC.

For more information, see Resource Tags.

    1. Confirm you're viewing the compartment that contains the Compute instance you're interested in.
    2. Open the navigation menu  and select Compute. Under Compute, select Instances.
    3. Select the name of the instance to view its details.
    4. Under Resources, select Attached VNICs.
      The primary VNIC and any secondary VNICs attached to the instance are displayed.
    5. Select the name of the VNIC you're interested in.
    6. Select the Tags tab to view or edit the existing tags. Or select Add Tags to add new ones.
  • Use the oci network vnic update command and required parameters to manage resource tags for a VNIC:

    oci network vnic update --vnic-id ocid [--defined-tags | --freeform-tags] tags ... [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the UpdateVnic operation to manage resource tags for a VNIC.