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.
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
andfreeformTags
attributes and their values when updating the private endpoint.