Java SDK call example
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 Domain Name SDK includes SDK V2.0 and SDK V1.0. SDK V2.0 is the latest release and is more robust and easier to use than SDK V1.0.
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.