public class ResetInstancesPasswordRequest extends AbstractModel
| Constructor and Description | 
|---|
| ResetInstancesPasswordRequest() | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getForceStop()Get Whether to force shut down a running instances. | 
| String[] | getInstanceIds()Get Instance ID(s). | 
| String | getPassword()Get Login password of the instance. | 
| String | getUserName()Get Username of the instance operating system for which the password needs to be reset. | 
| void | setForceStop(Boolean ForceStop)Set Whether to force shut down a running instances. | 
| void | setInstanceIds(String[] InstanceIds)Set Instance ID(s). | 
| void | setPassword(String Password)Set Login password of the instance. | 
| void | setUserName(String UserName)Set Username of the instance operating system for which the password needs to be reset. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic ResetInstancesPasswordRequest()
public ResetInstancesPasswordRequest(ResetInstancesPasswordRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds - Instance ID(s). To obtain the instance IDs, you can call [`DescribeInstances`](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and look for `InstanceId` in the response. The maximum number of instances in each request is 100.public String getPassword()
public void setPassword(String Password)
Password - Login password of the instance. The password requirements vary among different operating systems:
For a Linux instance, the password must be 8 to 30 characters in length; password with more than 12 characters is recommended. It cannot begin with "/", and must contain at least one character from three of the following categories: public String getUserName()
public void setUserName(String UserName)
UserName - Username of the instance operating system for which the password needs to be reset. This parameter is limited to 64 characters.public Boolean getForceStop()
public void setForceStop(Boolean ForceStop)
ForceStop - Whether to force shut down a running instances. It is recommended to manually shut down a running instance before resetting the user password. Valid values: Copyright © 2022. All rights reserved.