应用管理与运维平台 SERVICESTAGE-AddOrUpdateRule

时间:2024-09-14 16:28:47

AddOrUpdateRule

表1 参数说明

参数

是否必选

参数类型

描述

ruleType

String

类型。

  • WHITE表示白名单。
  • BLACK表示黑名单。

attribute

String

如果是tag_xxx开头,则按Tag过滤attribute属性。

否则,则按ServiceId、AppId、ServiceName、Version、Description、Level、Status过滤。

pattern

String

匹配规则,正则表达式,长度1到64个字符。

description

String

rule的描述。

字符长度不超过256个字符。

support.huaweicloud.com/api-servicestage/servicestage_06_0144.html