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, select Add tags.
    3. Enter the following information:
      • Tag namespace

      • Tag key

      • Value

      See Overview of Tagging for descriptions of these fields.

    4. Select +Additional tag to add another tag. Select X to remove the associated tag.
    5. Select 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're 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 parameters and values for CLI commands, see the CLI Command Reference.

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