waf__ListGeoipRule
Retrieves geo-location access control rules for a WAF protection policy, enabling paginated review of geographic access restrictions.
Instructions
[WAF] 查询地理位置访问控制规则列表
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": {
"policy_id": "<policy_id>",
"project_id": "<project_id>"
},
"name": "waf__ListGeoipRule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。 | |
| pagesize | No | 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。 | |
| policy_id | Yes | 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 |