- API version: 2.0.0
This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes.
For each load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.
This package is part of the STACKIT Java SDK. For additional information, please visit the GitHub repository of the SDK.
The release artifacts for this SDK submodule are available on Maven Central.
Add this dependency to your project's POM:
<dependency>
<groupId>cloud.stackit.sdk</groupId>
<artifactId>loadbalancer</artifactId>
<version><SDK_VERSION></version>
<scope>compile</scope>
</dependency>Add this dependency to your project's build file:
repositories {
mavenCentral()
}
dependencies {
implementation "cloud.stackit.sdk:loadbalancer:<SDK_VERSION>"
}Building the API client library requires:
- Java SDK (version 11 to 21 should be supported) installed on your system
To install the API client library to your local Maven repository, simply execute:
./gradlew services:loadbalancer:publishToMavenLocalAdd this dependency to your project's POM:
<dependency>
<groupId>cloud.stackit.sdk</groupId>
<artifactId>loadbalancer</artifactId>
<version><SDK_VERSION></version>
<scope>compile</scope>
</dependency>Add this dependency to your project's build file:
repositories {
mavenLocal()
}
dependencies {
implementation "cloud.stackit.sdk:loadbalancer:<SDK_VERSION>"
}See the loadbalancer examples.
It's recommended to create an instance of ApiClient per thread in a multithreaded environment to avoid any potential issues.