You can add tags to a backup policy as well as edit and delete these tags. These tags are used to filter and manage backup resources only.
Procedure
- Log in to the CSBS management console.
- Log in to the management console.
- Click
in the upper left corner of the management console and select a region and a project. - Under Storage > Cloud Server Backup Service.
- Click the Policies tab.
- Select a backup policy and click
. The Tags tab page displays existing tags of the backup policy.- Adding a tag
- In the upper left corner of the Tags panel, click Add Tag.
- In the dialog box that is displayed, set the key and value of the new tag.
A tag is represented in the form of a key-value pair. Tags are used to identify, classify, and search for cloud resources.
Tags added in a backup policy apply to all backups generated using the backup policy. These tags are used to filter and manage backup resources only. A backup policy can have a maximum of 10 tags.
Table 1 describes parameters of a tag.
Table 1 Parameter descriptionParameter
|
Description
|
Example Value
|
Key
|
Tag key. Each tag of a backup policy has a unique key. The key of a tag is user-definable or is selected from those of existing tags in TMS.
The naming rule of a tag key is as follows:
- It ranges from 1 to 36 Unicode characters.
- It can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).
|
Key_0001
|
Value
|
Tag value. Tag values can be repetitive or null.
The naming rule of a tag value is as follows:
- It ranges from 0 to 43 Unicode characters.
- It can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).
|
Value_0001
|
- Click OK.
- Editing a tag
- In the Operation column of the tag that you want to edit, click Edit.
- In the Edit Tag dialog box that is displayed, modify the tag value. Table 1 describes the parameters.
- Click OK.
- Deleting a tag
- In the Operation column of the tag that you want to delete, click Delete.
- In the dialog box that is displayed, confirm the deletion information.
- Click Yes.