Updated on 2024-04-15 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.

Table 1 API description

Type

Subtype

Description

VPC API

VPC

APIs for creating, querying, updating, and deleting VPCs

VPC API

Subnet

APIs for creating, querying, updating, and deleting subnets

VPC API

EIP

APIs for assigning, querying, updating, and releasing EIPs

VPC API

Bandwidth

APIs for querying and updating bandwidth.

VPC API

Bandwidth (V2.0)

  • APIs for assigning and deleting shared bandwidth.
  • APIs for adding an EIP to or removing an EIP from a shared bandwidth

VPC API

Quota

API for querying quota values

VPC API

Private IP address

APIs for assigning, querying, and releasing private IP addresses

VPC API

Security group

  • APIs for creating, querying, and deleting security groups

VPC API

Port

APIs for creating, querying, updating, and deleting ports

VPC API

VPC peering connection

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

VPC API

VPC route

APIs for creating, querying, and deleting VPC routes

VPC API

Querying IP address usage on a specified network

APIs for querying the usage of IP addresses on a specified network, including the total number of IP addresses and the number of used IP addresses.

OpenStack Neutron API

API version

APIs for querying all available API versions and displaying the results in pages.

OpenStack Neutron API

Port

APIs for creating, querying, updating, and deleting ports

OpenStack Neutron API

Network

APIs for creating, querying, updating, and deleting networks

OpenStack Neutron API

Subnet

APIs for creating, querying, updating, and deleting subnets

OpenStack Neutron API

Router

APIs for creating, querying, updating, and deleting routers

OpenStack Neutron API

Floating IP address

APIs for assigning, querying, updating, and releasing floating IP addresses

OpenStack Neutron API

network ACL

  • APIs for creating, updating, and releasing network ACLs
  • APIs for creating, updating, deleting, and querying network ACL rules.
  • APIs for creating, updating, deleting, and querying network ACL policies

OpenStack Neutron API

Security group

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