huaweicloud-esw
HuaweiCloud ESW API guide. 17 APIs covering 二层连接, 企业交换机.
- License 许可
- MIT
- 最近更新
- 2026-10-27
- Stars
- ★ 19
- Forks
- 6
01 前言 Front Matter
- name
- huaweicloud-esw
- description
- HuaweiCloud ESW API guide. 17 APIs covering 二层连接, 企业交换机.
02 资源文件 17
- 参考文档references/BindVport.json3.5 KB
- 参考文档references/CreateConnection.json14.5 KB
- 参考文档references/CreateInstance.json15.5 KB
- 参考文档references/DeleteConnection.json2.5 KB
- 参考文档references/DeleteInstance.json2.1 KB
- 参考文档references/ListAvailabilityZones.json2.9 KB
- 参考文档references/ListConnections.json12.9 KB
- 参考文档references/ListConnectionsAllInstances.json14.7 KB
- 参考文档references/ListFlavors.json5.7 KB
- 参考文档references/ListInstances.json15.3 KB
- 参考文档references/ListQuotas.json4.6 KB
- 参考文档references/ListResourceJobs.json9.5 KB
- 参考文档references/ShowConnection.json9.9 KB
- 参考文档references/ShowInstance.json10.6 KB
- 参考文档references/UnbindVport.json3.5 KB
- 参考文档references/UpdateConnection.json11.2 KB
- 参考文档references/UpdateInstance.json12.1 KB
03 SKILL.md 正文
HuaweiCloud ESW API Guide
17 APIs. Tags: 二层连接, 企业交换机
Key APIs
| API | Method | URI | Description |
|---|---|---|---|
BindVport |
POST | /v3/{project_id}/l2cg/connections/{connection_id}/vports/bind |
将一个虚拟IP绑定到二层连接上 |
CreateConnection |
POST | /v3/{project_id}/l2cg/instances/{instance_id}/connections |
创建二层连接 |
CreateInstance |
POST | /v3/{project_id}/l2cg/instances |
创建ESW实例 |
DeleteConnection |
DELETE | /v3/{project_id}/l2cg/instances/{instance_id}/connections/{connection_id} |
删除二层连接 |
DeleteInstance |
DELETE | /v3/{project_id}/l2cg/instances/{instance_id} |
删除ESW实例 |
ListAvailabilityZones |
GET | /v3/{project_id}/l2cg/availability-zones |
查询ESW实例可用区 |
ListConnections |
GET | /v3/{project_id}/l2cg/instances/{instance_id}/connections |
查询实例下的二层连接列表 |
ListConnectionsAllInstances |
GET | /v3/{project_id}/l2cg/connections |
查询二层连接列表 |
ListFlavors |
GET | /v3/{project_id}/l2cg/flavors |
查询ESW实例规格列表 |
ListInstances |
GET | /v3/{project_id}/l2cg/instances |
查询ESW实例列表 |
ListQuotas |
GET | /v3/{project_id}/l2cg/quotas |
查询ESW实例配额 |
ListResourceJobs |
GET | /v3/{project_id}/l2cg/resources/{resource_id}/jobs |
查询任务的执行状态 |
ShowConnection |
GET | /v3/{project_id}/l2cg/instances/{instance_id}/connections/{connection_id} |
查询二层连接详情 |
ShowInstance |
GET | /v3/{project_id}/l2cg/instances/{instance_id} |
查询ESW实例详情 |
UnbindVport |
POST | /v3/{project_id}/l2cg/connections/{connection_id}/vports/unbind |
将一个虚拟IP从二层连接解绑 |
UpdateConnection |
PUT | /v3/{project_id}/l2cg/instances/{instance_id}/connections/{connection_id} |
更新二层连接 |
UpdateInstance |
PUT | /v3/{project_id}/l2cg/instances/{instance_id} |
更新ESW实例 |
Usage
Use http_request to call these APIs. SDK-HMAC-SHA256 signing is automatic — do NOT pass credentials.
Use read/grep/ls to browse references/ for detailed request/response schemas.
04 同仓库更多 Skills
skill-creator
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
powerpoint
Create designed, editable PowerPoint .pptx presentations with PptxGenJS-Plus. Use when the user asks to create, generate, update, or inspect a deck, slide deck, presentation, or .pptx file.
example-skill
这是一个测试 skill,用于验证 load_skill 加载流程
huaweicloud-workspaceapp
HuaweiCloud WorkspaceApp API guide. 174 APIs covering hotspotSession, 云存储, 产品套餐管理, 任务管理, 使用记录.
huaweicloud-workspace
HuaweiCloud Workspace API guide. 352 APIs covering ai功能, 云办公主机, 云办公服务, 产品套餐, 任务.
huaweicloud-waf
HuaweiCloud WAF API guide. 202 APIs covering Web防护规则查询, 事件管理, 云模式域名管理, 云模式防护网站管理, 可防护的资源管理.