apig__CreateApiAclBindingV2
Binds published APIs to an ACL policy in Huawei Cloud API Gateway, associating API publish records with the specified ACL to control access.
Instructions
[APIG] 将API与ACL策略进行绑定。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "apig__CreateApiAclBindingV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acl_id | No | ACL策略编号 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。 | |
| instance_id | Yes | 实例ID,在API网关控制台的“实例信息”中获取。 | |
| publish_ids | No | API发布记录编号 |