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.
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
andfreeformTags
attributes and their values.