接口请求域名: teo.intl.tencentcloudapi.com 。
获取使用自定义组的安全策略配置。
默认接口请求频率限制:20次/秒。
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| Action | 是 | String | 公共参数,本接口取值:DescribeCustomGroupReferences。 |
| Version | 是 | String | 公共参数,本接口取值:2022-09-01。 |
| Region | 否 | String | 公共参数,此参数为可选参数。 |
| ZoneId | 是 | String | 站点 ID。 |
| GroupId | 是 | String | 自定义组 ID。 |
| Offset | 否 | Integer | 分页偏移量。 默认值:0 |
| Limit | 否 | Integer | 分页查询引用自定义组的配置条数。 取值范围:[1, 200] 默认值:20 |
| 参数名称 | 类型 | 描述 |
|---|---|---|
| References | Array of CustomGroupReference | 引用对应自定义组的配置信息。 |
| TotalCount | Integer | 查询结果总数。 |
| RequestId | String | 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 |
查询某个自定义组的安全策略引用关系。
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCustomGroupReferences
<公共请求参数>
{
"ZoneId": "zone-3nw1o2owaf7p",
"GroupId": "273746924"
}
{
"Response": {
"References": [
{
"EntityId": "zone-3nw1o2owaf7p",
"EntityType": "WebSec.ZonePolicy",
"SubEntityId": "2181039091",
"SubEntityName": "TLS 白名单",
"SubEntityType": "WebSec.PreciseMatchRule",
"ZoneId": "zone-3nw1o2owaf7p"
}
],
"TotalCount": 1,
"RequestId": "761bf328-3c64-4fbd-927e-ebd01ef8d9f6"
}
}
云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。
该接口暂无业务逻辑相关的错误码,其他错误码详见 公共错误码。
文档反馈