Tagging a Private Endpoint in Object Storage at Creation
Add metadata to an Object Storage private endpoint when you first create it. This metadata enables you to define keys and values and associate them with resources.
You can create the private endpoint or continue with other settings.
Use the
--defined-tagsor--freeform-tagsoptions when running the oci os private-endpoint create command to tag a private endpoint at the time of its creation:oci os private-endpoint create --compartment-id compartment_ocid --name name ... --defined-tags JSON_formatted_defined_tag --freeform-tags JSON_formatted_free-form_tag [OPTIONS]Provide key-value pair input for
--defined-tagsand--freeform-tagsas 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
definedTagsandfreeformTagsattributes and their values when creating the private endpoint.