Tagging a Network Load Balancer at Creation
Add metadata to a network load balancer when you first create it. This metadata enables you to define keys and values and associate them with resources.
Use the
--defined-tags
or--freeform-tags
options when running the oci nlb network-load-balancer create command to tag a network load balancer when you create it:oci nlb network-load-balancer create [...] [--defined-tags | --freeform-tags] tags [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateNetworkLoadBalancer operation to create a network load balancer. Include the
definedTags
andfreeformTags
attributes and their values.