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.

    1. Begin the steps for creating a network load balancer using the Oracle Cloud Infrastructure Console as described in Creating a Network Load Balancer.
    2. At the end of Add details, click Show advanced options. The advanced options appear.
    3. Click the Tagging tab.
    4. Complete the following:
      • Tag namespace

      • Tag key

      • Value

      See Overview of Tagging for descriptions of these fields.
    5. Click +Additional tag to add another tag. Click X to remove the associated tag.
    6. Click Next to continue with the network load balancer creation.
  • 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 flags and variable options for CLI commands, see the Command Line Reference.

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