Tagging a Network Load Balancer when Updating

Add metadata to network load balancers when you update an existing one. This metadata enables you to define keys and values and associate them with resources.

    1. Begin the steps for editing a network load balancer using the Oracle Cloud Infrastructure Console as described in Editing a Network Load Balancer.
    2. In the Details page of the selected network load balancer, click Add tags.

      You can also click the Actions menu (Actions Menu) for the network load balancer to which you want to add tags, and then select Add tags. The Add one or more tags to this resource dialog box appears.

    3. Complete the following:
      • Tag namespace

      • Tag key

      • Value

      See Overview of Tagging for descriptions of these fields.

    4. Click +Additional tag to add another tag. Click X to remove the associated tag.
    5. Click Add tags.

    The Add one or more tags to this resource dialog box closes and you're returned to the Details page.

  • Use the --defined-tags or --freeform-tags options when running the oci nlb network-load-balancer update command to tag a network load balancer when you are updating it:

    oci nlb network-load-balancer update --network-load-balancer-id network_load_balancer_ocid [--defined-tags | --freeform-tags] tags [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the UpdateNetworkLoadBalancer operation to create a network load balancer. Include the definedTags and freeformTags attributes and their values.