Package | Description |
---|---|
com.tencentcloudapi.scf.v20180416 | |
com.tencentcloudapi.scf.v20180416.models |
Modifier and Type | Method and Description |
---|---|
UpdateTriggerResponse |
ScfClient.UpdateTrigger(UpdateTriggerRequest req)
支持触发器配置更新。
默认接口请求频率限制:20次/秒
注意:目前只支持timer触发器和ckafka触发器更新!
timer触发器和ckafka触发器支持更新字段有:Enable、TriggerDesc、Description、CustomArgument。
timer触发器TriggerDesc支持5段式和7段式的更新。
ckafka触发器TriggerDesc支持Retry、MaxMsgNum、TimeOut参数更新,不传值表示原值不变,传值不能为空。
Enable 触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭。不传值表示原值不变,传值不能为空。
Description 触发器描述,不传值保持原值不变,传值为空则为空。
CustomArgument 触发器用户附加信息(注意:只有timer触发器展示),不传值保持原值不变,传值为空则为空。
|
Constructor and Description |
---|
UpdateTriggerRequest(UpdateTriggerRequest 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.
|
Copyright © 2023. All rights reserved.