Package | Description |
---|---|
com.tencentcloudapi.lighthouse.v20200324 | |
com.tencentcloudapi.lighthouse.v20200324.models |
Modifier and Type | Method and Description |
---|---|
ResetInstancesPasswordResponse |
LighthouseClient.ResetInstancesPassword(ResetInstancesPasswordRequest req)
本接口(ResetInstancesPassword)用于将实例操作系统的密码重置为用户指定的密码。
只修改管理员帐号的密码。实例的操作系统不同,管理员帐号也会不一样(Windows 为 Administrator,Ubuntu 为 ubuntu ,其它系统为 root)。
支持批量操作。将多个实例操作系统的密码重置为相同的密码。每次请求批量实例的上限为 100。
本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeInstances 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
|
Constructor and Description |
---|
ResetInstancesPasswordRequest(ResetInstancesPasswordRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2021. All rights reserved.