Updated on 2023-12-07 GMT+08:00

API Overview

Direct Connect provides Huawei-developed REST APIs.

These APIs allow you to use all Direct Connect functions, for example, performing operations on connections, virtual gateways, virtual interfaces, and tags.

Table 1 describes the APIs provided by Direct Connect.

Table 1 Direct Connect APIs

Resource

APIs

Connections

APIs for querying connection details, updating a connection, deleting a connection, querying the connection list, querying the hosted connection list, creating a hosted connection, querying hosted connection details, updating hosted connection information, and deleting a hosted connection

Virtual gateways

APIs for querying virtual gateway details, updating a virtual gateway, deleting a virtual gateway, querying the virtual gateway list, and creating a virtual gateway

Virtual interfaces

APIs for querying virtual interface details, updating a virtual interface, deleting a virtual interface, querying the virtual interface list, and creating a virtual interface

Tags

APIs for querying project tags, querying resource tags, adding a resource tag, batch adding or deleting resource tags, deleting a resource tag, and querying resources by tag

Quotas

API for querying resource quotas