apig__AssociateRequestThrottlingPolicyV2
Associates a request throttling policy with API publish records so all requests to those APIs are limited by that policy.
Instructions
[APIG] 将流控策略应用于API,则所有对该API的访问将会受到该流控策略的限制。
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>",
"publish_ids": "<publish_ids>",
"strategy_id": "<strategy_id>"
},
"name": "apig__AssociateRequestThrottlingPolicyV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。 | |
| instance_id | Yes | 实例ID,在API网关控制台的“实例信息”中获取。 | |
| publish_ids | Yes | API的发布记录编号 | |
| strategy_id | Yes | 流控策略编号 |