文档首页/ 资源治理中心 RGC/ API参考/ API/ Internal/ 创建控制策略接口
更新时间:2025-10-24 GMT+08:00
分享

创建控制策略接口

功能介绍

控制策略数据预置接口

URI

POST /v1/internal/rgc/control

请求参数

表1 请求Body参数

参数

是否必选

参数类型

描述

identifier

String

name

String

description

String

resource

Array of strings

service

String

framework

Array of strings

implementation

String

guidance

String

behavior

String

owner

String

control_objective

String

severity

String

version

String

regional_preference

String

tf_config_rule_name

String

control_type

String

control_content

String

响应参数

状态码:200

表2 响应Body参数

参数

参数类型

描述

control

ControlBody object

控制策略预置模板参数

create_time

String

表3 ControlBody

参数

参数类型

描述

identifier

String

name

String

description

String

resource

Array of strings

service

String

framework

Array of strings

implementation

String

guidance

String

behavior

String

owner

String

control_objective

String

severity

String

version

String

regional_preference

String

tf_config_rule_name

String

control_type

String

control_content

String

请求示例

响应示例

状态码:200

请求成功。

{
  "update_time" : "string"
}

状态码

状态码

描述

200

请求成功。

错误码

请参见错误码

相关文档