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 |
|---|---|
Boolean |
getKeepImageLogin()
Get Retain the original settings of the image.
|
String[] |
getKeyIds()
Get List of key ids.
|
String |
getPassword()
Get Instance login password.
|
void |
setKeepImageLogin(Boolean KeepImageLogin)
Set Retain the original settings of the image.
|
void |
setKeyIds(String[] KeyIds)
Set List of key ids.
|
void |
setPassword(String Password)
Set Instance login password.
|
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 - Instance login password. The password complexity requirements vary according to the operating system type. The details are as follows:
- For a Linux system, the password should contain 8 to 30 characters consisting of at least two of the four character types: lowercase letters, uppercase letters, digits, and special characters.
- For a Windows system, the password should contain 12 to 30 characters consisting of at least three of the four character types: lowercase letters, uppercase letters, digits, and special characters.
- If this parameter is not specified, the system will generate a random password and notify the user via the message centerSupported special characters: ( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds - List of key ids. after associating a key, you can access the instance through the corresponding private key. KeyId can be obtained by calling the api [DescribeKeyPairs](https://intl.cloud.tencent.com/document/api/213/15699?from_cn_redirect=1). key and password cannot be specified simultaneously. the Windows operating system does not support specifying a key. currently, only one key can be specified during purchase.public Boolean getKeepImageLogin()
public void setKeepImageLogin(Boolean KeepImageLogin)
KeepImageLogin - Retain the original settings of the image. This parameter cannot be specified simultaneously with Password or KeyIds.N. It can only be set to TRUE when you create an instance by using a custom image, shared image, or externally imported image. Valid values:
Copyright © 2025. All rights reserved.