public class EnterRescueModeRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
EnterRescueModeRequest() |
EnterRescueModeRequest(EnterRescueModeRequest 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()
Deprecated.
|
String |
getInstanceId()
Get 需要进入救援模式的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
String |
getPassword()
Get 救援模式下系统密码。不同操作系统类型密码复杂度限制不一样,具体如下:Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , .
|
String |
getStopType()
Get 实例的关闭模式。取值范围:
SOFT_FIRST:表示在正常关闭失败后进行强制关闭 HARD:直接强制关闭 SOFT:仅软关机 默认取值:SOFT。 |
String |
getUsername()
Get 救援模式下系统用户名
|
void |
setForceStop(Boolean ForceStop)
Deprecated.
|
void |
setInstanceId(String InstanceId)
Set 需要进入救援模式的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
void |
setPassword(String Password)
Set 救援模式下系统密码。不同操作系统类型密码复杂度限制不一样,具体如下:Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , .
|
void |
setStopType(String StopType)
Set 实例的关闭模式。取值范围:
SOFT_FIRST:表示在正常关闭失败后进行强制关闭 HARD:直接强制关闭 SOFT:仅软关机 默认取值:SOFT。 |
void |
setUsername(String Username)
Set 救援模式下系统用户名
|
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, toJsonString
public EnterRescueModeRequest()
public EnterRescueModeRequest(EnterRescueModeRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 需要进入救援模式的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。public String getPassword()
public void setPassword(String Password)
Password
- 救援模式下系统密码。不同操作系统类型密码复杂度限制不一样,具体如下:public String getUsername()
public void setUsername(String Username)
Username
- 救援模式下系统用户名@Deprecated public Boolean getForceStop()
@Deprecated public void setForceStop(Boolean ForceStop)
ForceStop
- 是否强制关机。本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。public String getStopType()
public void setStopType(String StopType)
StopType
- 实例的关闭模式。取值范围:Copyright © 2025. All rights reserved.