Adding Tags to a Bucket
When creating a bucket, you can add tags to it. For details, see Creating a Bucket. You can also add tags to a bucket after it has been created. This section describes how to add tags to an existing bucket.
Scenarios
Tags help you to identify your cloud resources. When you have many cloud resources of the same type, you can use tags to classify them by dimension (for example, by purpose, owner, or environment) for usage or cost analysis.
In OBS, you can use tags to identify and classify OBS buckets.
If you add tags to a bucket, service detail records (SDRs) generated for it will be labeled with these tags. You can classify SDRs by tag for cost analysis. For example, if you have an application that uploads its running data to a bucket, you can tag the bucket with the application name. In this manner, the costs on the application can be analyzed using tags in SDRs.
Constraints
- A tag is structured as a key-value pair that is case sensitive.
- A bucket can have a maximum of 10 tags. Each tag has only one key and one value.
- Each key must be unique among all tags of a bucket, whereas the tag values can be repetitive or left blank.
- It takes approximately three minutes for an added tag to take effect.
Ways to Configure Bucket Tags
You can use OBS Console, APIs, or SDKs to configure tags for a bucket.
Related Operations
In the tag list, click Edit to change the tag value or click Delete to remove the tag.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot