public class ModifyInvokerRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyInvokerRequest() |
ModifyInvokerRequest(ModifyInvokerRequest 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 |
getCommandId()
Get 待修改的命令ID。
可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
String[] |
getInstanceIds()
Get 待修改的实例ID列表。列表长度上限100。
可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
实例需要安装 TAT 客户端, 且客户端为 Online 状态。可通过 [DescribeAutomationAgentStatus(查询客户端状态)](https://cloud.tencent.com/document/api/1340/52682) 接口查询客户端状态。
|
String |
getInvokerId()
Get 待修改的执行器ID。
可通过 [DescribeInvokers(查询执行器)](https://cloud.tencent.com/document/api/1340/61759) 接口获取。
|
String |
getName()
Get 待修改的执行器名称。长度不超过 120 字符。
|
String |
getParameters()
Get 待修改的自定义参数。字段类型为 JSON encode string。
仅在 CommandId 所指命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
ScheduleSettings |
getScheduleSettings()
Get 待修改的周期执行器设置。
要将执行器类型修改为 `SCHEDULE` 时,必须指定此参数。
|
String |
getType()
Get 待修改的执行器类型。
可选取值(当前仅支持一种):
- `SCHEDULE`:周期类型执行器。
|
String |
getUsername()
Get 待修改的用户名。长度不超过 256 字符。
|
void |
setCommandId(String CommandId)
Set 待修改的命令ID。
可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
void |
setInstanceIds(String[] InstanceIds)
Set 待修改的实例ID列表。列表长度上限100。
可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
实例需要安装 TAT 客户端, 且客户端为 Online 状态。可通过 [DescribeAutomationAgentStatus(查询客户端状态)](https://cloud.tencent.com/document/api/1340/52682) 接口查询客户端状态。
|
void |
setInvokerId(String InvokerId)
Set 待修改的执行器ID。
可通过 [DescribeInvokers(查询执行器)](https://cloud.tencent.com/document/api/1340/61759) 接口获取。
|
void |
setName(String Name)
Set 待修改的执行器名称。长度不超过 120 字符。
|
void |
setParameters(String Parameters)
Set 待修改的自定义参数。字段类型为 JSON encode string。
仅在 CommandId 所指命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
void |
setScheduleSettings(ScheduleSettings ScheduleSettings)
Set 待修改的周期执行器设置。
要将执行器类型修改为 `SCHEDULE` 时,必须指定此参数。
|
void |
setType(String Type)
Set 待修改的执行器类型。
可选取值(当前仅支持一种):
- `SCHEDULE`:周期类型执行器。
|
void |
setUsername(String Username)
Set 待修改的用户名。长度不超过 256 字符。
|
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 ModifyInvokerRequest()
public ModifyInvokerRequest(ModifyInvokerRequest source)
public String getInvokerId()
public void setInvokerId(String InvokerId)
InvokerId
- 待修改的执行器ID。
可通过 [DescribeInvokers(查询执行器)](https://cloud.tencent.com/document/api/1340/61759) 接口获取。public String getName()
public void setName(String Name)
Name
- 待修改的执行器名称。长度不超过 120 字符。public String getType()
public void setType(String Type)
Type
- 待修改的执行器类型。
可选取值(当前仅支持一种):
- `SCHEDULE`:周期类型执行器。public String getCommandId()
public void setCommandId(String CommandId)
CommandId
- 待修改的命令ID。
可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。public String getUsername()
public void setUsername(String Username)
Username
- 待修改的用户名。长度不超过 256 字符。public String getParameters()
public void setParameters(String Parameters)
Parameters
- 待修改的自定义参数。字段类型为 JSON encode string。
仅在 CommandId 所指命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- 待修改的实例ID列表。列表长度上限100。
可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
实例需要安装 TAT 客户端, 且客户端为 Online 状态。可通过 [DescribeAutomationAgentStatus(查询客户端状态)](https://cloud.tencent.com/document/api/1340/52682) 接口查询客户端状态。public ScheduleSettings getScheduleSettings()
public void setScheduleSettings(ScheduleSettings ScheduleSettings)
ScheduleSettings
- 待修改的周期执行器设置。
要将执行器类型修改为 `SCHEDULE` 时,必须指定此参数。Copyright © 2025. All rights reserved.