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

A method for modifying some information such as password, name, description, host name and custom data of an instance

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Editor to share with you to modify an instance password, name, description, host name and custom data and other information methods, I hope you will learn a lot after reading this article, let's discuss it together!

ModifyInstanceAttribute

Description

When calling this interface, you need to be aware of:

The instance password cannot be reset when the instance status is Starting.

The OperationLocks of a security-controlled ECS instance cannot be marked "LockReason": "security".

After resetting the password, you need to restart the instance in the console or call RebootInstance to make the change take effect. Restart inside the instance will not take effect.

Modify custom data is supported when the instance status is stopped (Stopped) and the usage limit of the instance custom data is met.

Request parameter

Return parameters

All are common return parameters. See common return parameters.

Example

Request example

Https://ecs.aliyuncs.com/?Action=ModifyInstanceAttribute&InstanceId=i-instance1&Password=pwd&

Return the example

XML format

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

JSON format

{"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"}

Error code

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

After reading this article, I believe you have a certain understanding of how to change some information such as password, name, description, host name and custom data of an instance. If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

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