通过执行arc-cs trigger create命令创建应用触发器。
关于该命令的详细参数说明,请参见创建触发器。
CLI示例
请求示例:
arc-cs trigger create \
--cluster-id c29d47910794948e2a42925693170**** \
--project-id default/nginx \
--action redeploy \
--type deployment返回结果示例:
{
"id": "146905",
"clusterId": "c29d47910794948e2a42925693170****",
"projectId": "default/nginx",
"type": "",
"action": "redeploy"
}