public class LoginSettings extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| LoginSettings() | 
| LoginSettings(LoginSettings 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 | 
|---|---|
| String | getKeepImageLogin()Get 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:true:表示保持镜像的登录设置false:表示不保持镜像的登录设置默认取值:false。 | 
| String[] | getKeyIds()Get 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getPassword()Get 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & *  - + = | { } [ ] : ; ' , . | 
| void | setKeepImageLogin(String KeepImageLogin)Set 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:true:表示保持镜像的登录设置false:表示不保持镜像的登录设置默认取值:false。 | 
| void | setKeyIds(String[] KeyIds)Set 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setPassword(String Password)Set 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & *  - + = | { } [ ] : ; ' , . | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic LoginSettings()
public LoginSettings(LoginSettings source)
public String getPassword()
public void setPassword(String Password)
Password - 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds - 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
注意:此字段可能返回 null,表示取不到有效值。public String getKeepImageLogin()
public void setKeepImageLogin(String KeepImageLogin)
KeepImageLogin - 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:Copyright © 2025. All rights reserved.