Updating a VNIC

Update a specified VNIC.

    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. For the VNIC you want to edit, select the Actions menu (Actions Menu), and then select Edit VNIC.
    6. Make the required changes. Avoid entering confidential information.
      When you update information for a VNIC, you also have the following option:
    7. When you're finished, select Save Changes.
  • Use the oci network vnic update command and required parameters to update the specified VNIC:

    oci network vnic update --vnic-id ocid ... [OPTIONS]

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

  • Run the UpdateVnic operation to update the specified VNIC.