检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
API Overview You can use TMS APIs to create, delete, query, or modify predefined tags, or query the version information. Table 1 API description API Description Querying the API Versions Query the TMS API versions.
API Overview You can use TMS APIs to create, delete, query, or modify predefined tags, or query the version information. Table 1 API description API Description Querying the API Versions Query the TMS API versions.
Click Delete above the predefined tag list. In the displayed Delete Tag dialog box, click Yes. The predefined tags have been deleted. You can also click Delete in the Operation column to delete a specific tag. Parent topic: Predefined Tags
Click Delete above the predefined tag list. In the displayed Delete Tag dialog box, click Yes. The predefined tags have been deleted. You can also click Delete in the Operation column to delete a specific tag. Parent topic: Predefined Tags
Creating or Deleting Predefined Tags Function This API is used to create or delete predefined tags. You can add tags to resources using the predefined tags. This API supports idempotency and batch processing.
Creating or Deleting Predefined Tags Function This API is used to create or delete predefined tags. You can add tags to resources using the predefined tags. This API supports idempotency and batch processing.
In the Edit Tag area, locate a target tag and click Delete in the Operation column. All tags of the target resources are displayed in the Edit Tag area. You can delete one or more tags as needed. Click OK.
In the Edit Tag area, locate a target tag and click Delete in the Operation column. All tags of the target resources are displayed in the Edit Tag area. You can delete one or more tags as needed. Click OK.
In the Edit Tag area, locate a target tag and click Delete in the Operation column. All tags of the target resources are displayed in the Edit Tag area. You can delete one or more tags as needed. Click OK.
Static Data Protection TMS cannot be used to modify, add, or delete Huawei Cloud resources. TMS collects the following information: Predefined tag keys (stored in plaintext) Predefined tag values (stored in plaintext) Parent topic: Data Protection Technologies
Deleting Tags in Batches Function This API is used to delete tags from multiple resources of a cloud service in batches. A maximum of 10 tags can be deleted from one resource. Tags of up to 50 resources can be deleted at a time. Calling Method For details, see Calling APIs.
Click Delete above the predefined tag list. In the displayed Delete Tag dialog box, click OK. The predefined tags have been deleted. You can also click Delete in the Operation column to delete a specific tag. Parent topic: Predefined Tags
So, to modify a cloud resource tag, you must have both related TMS permissions and service permissions to delete and create tags.
Querying predefined tags GET /v1.0/predefine_tags tms:predefineTags:list Supported Not supported Creating predefined tags POST /v1.0/predefine_tags/action tms:predefineTags:create Supported Not supported Deleting predefined tags POST /v1.0/predefine_tags/action tms:predefineTags:delete
Users with these permissions can query, create, delete, import, or export predefined tags, and create, delete, modify, or query resource tags.
Querying predefined tags GET /v1.0/predefine_tags tms:predefineTags:list Supported Not supported Creating predefined tags POST /v1.0/predefine_tags/action tms:predefineTags:create Supported Not supported Deleting predefined tags POST /v1.0/predefine_tags/action tms:predefineTags:delete
Querying predefined tags GET /v1.0/predefine_tags tms:predefineTags:list Supported Not supported Creating predefined tags POST /v1.0/predefine_tags/action tms:predefineTags:create Supported Not supported Deleting predefined tags POST /v1.0/predefine_tags/action tms:predefineTags:delete
Example policy denying predefined tag deletion: { "Version": "1.1", "Statement": [ { "Effect": "Deny", "Action": [ "tms:predefineTags:delete" ] } ] } Example 3: Create a custom policy containing multiple
Users with these permissions can query, create, delete, import, or export predefined tags, and create, delete, modify, or query resource tags.
An invalid tag can be restored in either of the following situations: If the tag key is invalid, delete the tag and add a new tag that meets the requirements. If only the tag value is invalid, modify the tag value. Procedure Log in to the management console.