Tagging a Private Endpoint when Updating in Object Storage

Add metadata to an Object Storage private endpoint 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 an Object Storage private endpoint using the Oracle Cloud Infrastructure Console as described in Editing a Private Endpoint.
    2. In the selected private endpoint's Details page, click Add tags. The Add tags dialog box appears.
    3. Complete the following. See Overview of Tagging for descriptions of these fields.
      • Tag namespace

      • Tag key

      • Value

    4. Click +Additional tag to add another tag. Click X to remove the associated tag.
    5. Click Add tags. The dialog box closes and you're returned to the Details page.
  • Use the --defined-tags or --freeform-tags options when running the oci os private-endpoint update command to tag a private endpoint you're updating:

    oci os private-endpoint update --pe-name private_endpoint_name ... --defined-tags JSON_formatted_defined_tag --freeform-tags JSON_formatted_free-form_tag [OPTIONS]

    Provide key-value pair input for --defined-tags and --freeform-tags as valid formatted JSON. See Passing Complex Input and Using a JSON File for Complex Input for information about JSON formatting.

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Include the definedTags and freeformTags attributes and their values when updating the private endpoint.