vpc__ListSecurityGroups
Lists security groups for a project so you can inspect and filter VPC security groups by ID, name, description, or enterprise project.
Instructions
[VPC] 查询某租户下的安全组列表
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": {
"project_id": "<project_id>"
},
"name": "vpc__ListSecurityGroups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 功能说明:安全组资源ID。可以使用该字段精确过滤安全组,支持多个ID | |
| name | No | 功能说明:安全组名称。可以使用该字段精确过滤满足条件的安全组,支持传入多个name过滤 | |
| limit | No | 功能说明:每页返回的个数 | |
| marker | No | 分页查询起始的资源ID,为空时查询第一页 | |
| project_id | Yes | 项目ID | |
| description | No | 功能说明:安全组描述新增。可以使用该字段精确过滤安全组,支持传入多个描述进行过滤 | |
| enterprise_project_id | No | 功能说明:企业项目ID。可以使用该字段过滤某个企业项目下的安全组。 |