Cloud Firewall software development kit (SDK) encapsulates Cloud Firewall APIs to simplify development. You can call the APIs in the SDK to perform operations such as managing NAT firewalls, firewall switches, and access control.
SDK versions
The SDK versions for domain names include SDK V2.0 and SDK V1.0. SDK V2.0 is the latest release. Compared with SDK V1.0, SDK V2.0 is more robust and easier to use. This provides developers with a better experience during development.
We recommend that you use SDK V2.0.
SDK download URLs
Cloud Firewall V2.0 SDK supports multiple programming languages. You can find installation methods in the OpenAPI Portal, or view the source code and installation guides on GitHub. To install the SDK, use the mainstream dependency management tool for your programming language.
Language | SDK installation method | GitHub address | Quick Start |
Java | |||
Python | |||
PHP | |||
Node.js | |||
Go | |||
C# | |||
C++ | / | ||
Swift | / |
Usage example
The following example shows how to use the Cloud Firewall SDK to create an address book for access control.