Updated on 2024-03-05 GMT+08:00

VPC

Permission

API

Action

Creates a VPC.

POST /v1/{project_id}/vpcs

vpc:vpcs:create

Queries a VPC.

GET /v1/{project_id}/vpcs/{vpc_id}

vpc:vpcs:get

Queries VPC details. (v3)

GET /v3/{project_id}/vpc/vpcs/{vpc_id}

vpc:vpcs:get

Queries VPCs.

GET /v1/{project_id}/vpcs

vpc:vpcs:list

Queries VPCs (v3)

GET /v3/{project_id}/vpc/vpcs

vpc:vpcs:list

Updates a VPC.

PUT /v1/{project_id}/vpcs/{vpc_id}

vpc:vpcs:update

Adds a secondary CIDR block to a VPC. (v3)

PUT /v3/{project_id}/vpc/vpcs/{vpc_id}/add-extend-cidr

vpc:vpcs:update

Removes a secondary CIDR block from a VPC. (v3)

PUT /v3/{project_id}/vpc/vpcs/{vpc_id}/remove-extend-cidr

vpc:vpcs:update

Deletes a VPC.

DELETE /v1/{project_id}/vpcs/{vpc_id}

vpc:vpcs:delete