Updated on 2025-08-19 GMT+08:00

API Overview

VPC APIs include both native OpenStack APIs and extension APIs.

A combination of these two types of APIs allows you to use all functions provided by the VPC service. If a function involves both native OpenStack APIs and extension VPC APIs, use extension VPC APIs preferentially.

VPC APIs

Table 1 API description

Type

Description

Virtual Private Cloud

APIs for creating, querying, updating, and deleting VPCs

Subnet

APIs for creating, querying, updating, and deleting subnets

Quota

API for querying quota values

Private IP Address

APIs for assigning, querying, and releasing private IP addresses

Security Group

  • APIs for creating, querying, and deleting security groups
  • APIs for creating, querying, and deleting security group rules

Port

APIs for creating, querying, updating, and deleting ports

VPC Peering Connection

  • APIs for creating, querying, updating, and deleting VPC peering connections
  • APIs for accepting and rejecting VPC peering connection requests

VPC Route

APIs for creating, querying, and deleting VPC routes

VPC Tag Management

  • APIs for adding tags to VPCs, as well as querying and deleting VPC tags
  • APIs for adding tags to subnets as well as querying and deleting subnet tags

VPC Flow Log

APIs for creating, querying, updating, and deleting VPC flow logs

Flow logs are available only in certain regions. For details, visit Function Overview and click Flow Log.

VPC v3 APIs

Table 2 API description

Type

Description

VPC V3

APIs for querying and editing secondary CIDR blocks.

Security Group (V3)

APIs for creating, querying, updating, and deleting security groups.

Security Group Rule (V3)

APIs for adding, querying, and deleting security group rules.

IP Address Group

APIs for creating, querying, updating, and deleting IP address groups.

Supplementary Network Interface

  • APIs for creating, querying, updating, and deleting supplementary network interfaces.
  • Network interfaces are available only in certain regions. For details, visit Function Overview and click Elastic Network Interface.

Network ACL (V3)

APIs for creating, querying, updating, and deleting network ACLs.

Port (V3)

APIs for adding a port to or removing a port from a security group.