Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to add or overwrite one or more tags to various resources of CVM ECS

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to add or cover one or more tags to the resources of Cloud Virtual Machine ECS, which has certain reference value. Friends who need it can refer to it. I hope you all have a lot to gain after reading this article. Let's take a look at it together.

AddTags

described

When invoking this interface, you need to note:

Up to 20 tags can be added to a single Cloud Virtual Machine ECS resource.

Tag.n.Key and Tag.n.Value must match.

If the Tag.n.Key already exists on the specified resource, the new Tag.n.Value automatically overrides the original Tag value.

request parameters

return parameter

All are common return parameters. See Common Return Parameters.

example

request example

https://ecs.aliyuncs.com/? Action=AddTags&ResourceId=s-946ntx4wr&ResourceType=snapshot&RegionId=cn-shenzhen&Tag.1.Key=test&Tag.1.Value=api&

example of returned result is as

XML format

C46FF5A8-C5F0-4024-8262-B16B639225A0

JSON format

{ "RequestId": "C46FF5A8-C5F0-4024-8262-B16B639225A0"}

error code

The following error codes are specific to this interface. For more error codes, visit the API Error Center.

Thank you for reading this article carefully. I hope Xiaobian can share how to add or cover one or more labels to the various resources of Cloud Virtual Machine ECS. At the same time, I hope you will support us more. Pay attention to the industry information channel. Find out if you encounter problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report