流水线 CODEARTS PIPELINE-修改规则集:请求示例

时间:2023-11-28 18:59:45

请求示例

PUT https://{endpoint}/v2/ce8df55870164338a72d7e828a966a2a/tenant/rule-sets/6cb18ee5ca1c48caa335706e0e5ee288/update

{
  "name" : "创建一个租户级策略",
  "rules" : [ {
    "id" : "097f315044244c9193f1e3f1fba7979d",
    "is_valid" : true
  }, {
    "id" : "80cfcff078074b8aa7951d7b67b3137b",
    "is_valid" : true
  } ]
}
support.huaweicloud.com/api-pipeline/UpdateStrategy.html