From 208cd7cfacd5386276d07598c0b7bdbda4c71d35 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 7 Jan 2026 13:59:30 +0000 Subject: [PATCH 1/2] Generate alb --- services/alb/README.md | 6 +- .../cloud/stackit/sdk/alb/ApiCallback.java | 4 +- .../java/cloud/stackit/sdk/alb/ApiClient.java | 4 +- .../cloud/stackit/sdk/alb/ApiResponse.java | 4 +- .../sdk/alb/GzipRequestInterceptor.java | 4 +- .../main/java/cloud/stackit/sdk/alb/JSON.java | 4 +- .../main/java/cloud/stackit/sdk/alb/Pair.java | 4 +- .../stackit/sdk/alb/ProgressRequestBody.java | 4 +- .../stackit/sdk/alb/ProgressResponseBody.java | 4 +- .../stackit/sdk/alb/ServerConfiguration.java | 4 +- .../cloud/stackit/sdk/alb/ServerVariable.java | 4 +- .../cloud/stackit/sdk/alb/StringUtil.java | 4 +- .../cloud/stackit/sdk/alb/api/AlbApi.java | 4 +- .../cloud/stackit/sdk/alb/api/DefaultApi.java | 96 ++++++++++--------- .../sdk/alb/model/AbstractOpenApiSchema.java | 4 +- .../sdk/alb/model/ActiveHealthCheck.java | 6 +- .../sdk/alb/model/CertificateConfig.java | 4 +- .../sdk/alb/model/CookiePersistence.java | 6 +- .../alb/model/CreateCredentialsPayload.java | 4 +- .../alb/model/CreateCredentialsResponse.java | 4 +- .../alb/model/CreateLoadBalancerPayload.java | 54 +++++------ .../sdk/alb/model/CredentialsResponse.java | 4 +- .../sdk/alb/model/GetCredentialsResponse.java | 4 +- .../sdk/alb/model/GetQuotaResponse.java | 40 ++++++-- .../sdk/alb/model/GoogleProtobufAny.java | 4 +- .../stackit/sdk/alb/model/HostConfig.java | 4 +- .../stackit/sdk/alb/model/HttpHeader.java | 4 +- .../sdk/alb/model/HttpHealthChecks.java | 6 +- .../alb/model/ListCredentialsResponse.java | 4 +- .../alb/model/ListLoadBalancersResponse.java | 4 +- .../sdk/alb/model/ListPlansResponse.java | 6 +- .../cloud/stackit/sdk/alb/model/Listener.java | 21 ++-- .../stackit/sdk/alb/model/LoadBalancer.java | 54 +++++------ .../sdk/alb/model/LoadBalancerError.java | 14 +-- .../sdk/alb/model/LoadBalancerOptions.java | 6 +- .../LoadbalancerOptionAccessControl.java | 6 +- .../sdk/alb/model/LoadbalancerOptionLogs.java | 6 +- .../alb/model/LoadbalancerOptionMetrics.java | 6 +- .../LoadbalancerOptionObservability.java | 4 +- .../cloud/stackit/sdk/alb/model/Network.java | 6 +- .../cloud/stackit/sdk/alb/model/Path.java | 47 +++++---- .../stackit/sdk/alb/model/PlanDetails.java | 6 +- .../sdk/alb/model/ProtocolOptionsHTTP.java | 4 +- .../sdk/alb/model/ProtocolOptionsHTTPS.java | 4 +- .../stackit/sdk/alb/model/QueryParameter.java | 4 +- .../cloud/stackit/sdk/alb/model/Rule.java | 50 +--------- .../stackit/sdk/alb/model/SecurityGroup.java | 4 +- .../cloud/stackit/sdk/alb/model/Status.java | 4 +- .../cloud/stackit/sdk/alb/model/Target.java | 8 +- .../stackit/sdk/alb/model/TargetPool.java | 4 +- .../sdk/alb/model/TargetPoolTlsConfig.java | 19 ++-- .../alb/model/UpdateCredentialsPayload.java | 4 +- .../alb/model/UpdateCredentialsResponse.java | 4 +- .../alb/model/UpdateLoadBalancerPayload.java | 41 ++++---- .../alb/model/UpdateTargetPoolPayload.java | 4 +- .../cloud/stackit/sdk/alb/api/AlbApiTest.java | 4 +- .../stackit/sdk/alb/api/DefaultApiTest.java | 4 +- 57 files changed, 315 insertions(+), 335 deletions(-) diff --git a/services/alb/README.md b/services/alb/README.md index 007dc00..8402640 100644 --- a/services/alb/README.md +++ b/services/alb/README.md @@ -1,10 +1,10 @@ # STACKIT Java SDK for STACKIT Application Load Balancer API -- API version: 2beta2.0.0 +- 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. +This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. -For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. +For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. This package is part of the STACKIT Java SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-java) of the SDK. diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiCallback.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiCallback.java index 3147646..9c256a7 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiCallback.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiCallback.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiClient.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiClient.java index 99526ae..2648946 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiClient.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiClient.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiResponse.java index 435dc59..1be87a6 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiResponse.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/ApiResponse.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/GzipRequestInterceptor.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/GzipRequestInterceptor.java index d7268a2..18cbb49 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/GzipRequestInterceptor.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/GzipRequestInterceptor.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/JSON.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/JSON.java index d58a5d6..52ccf51 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/JSON.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/JSON.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/Pair.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/Pair.java index e044442..59a396c 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/Pair.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/Pair.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/ProgressRequestBody.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/ProgressRequestBody.java index 9976e25..2e1eae3 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/ProgressRequestBody.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/ProgressRequestBody.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/ProgressResponseBody.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/ProgressResponseBody.java index af7ef98..cd93ce6 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/ProgressResponseBody.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/ProgressResponseBody.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerConfiguration.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerConfiguration.java index 7a0551e..acafd2c 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerConfiguration.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerConfiguration.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerVariable.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerVariable.java index 1ca3d05..18dec1e 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerVariable.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/ServerVariable.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/StringUtil.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/StringUtil.java index a4a9bae..d7b670d 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/StringUtil.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/StringUtil.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/api/AlbApi.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/api/AlbApi.java index 7ef9243..49fce5b 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/api/AlbApi.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/api/AlbApi.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/api/DefaultApi.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/api/DefaultApi.java index 898f69b..f7d0638 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/api/DefaultApi.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/api/DefaultApi.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -165,7 +165,7 @@ public okhttp3.Call createCredentialsCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/credentials" + "/v2/projects/{projectId}/regions/{region}/credentials" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -243,7 +243,7 @@ private okhttp3.Call createCredentialsValidateBeforeCall( } /** - * Create credentials for observability of the application load balancer Created credentials can + * Create credentials for observability of the Application Load Balancer Created credentials can * be stored and used for the load balancer observability. For example, when using STACKIT * Observability, credentials first must be created for that STACKIT Observability instance (by * using their API or the STACKIT Portal) and then can be provided to the load balancer by @@ -281,7 +281,7 @@ public CreateCredentialsResponse createCredentials( } /** - * Create credentials for observability of the application load balancer Created credentials can + * Create credentials for observability of the Application Load Balancer Created credentials can * be stored and used for the load balancer observability. For example, when using STACKIT * Observability, credentials first must be created for that STACKIT Observability instance (by * using their API or the STACKIT Portal) and then can be provided to the load balancer by @@ -320,7 +320,7 @@ public ApiResponse createCredentialsWithHttpInfo( } /** - * Create credentials for observability of the application load balancer (asynchronously) + * Create credentials for observability of the Application Load Balancer (asynchronously) * Created credentials can be stored and used for the load balancer observability. For example, * when using STACKIT Observability, credentials first must be created for that STACKIT * Observability instance (by using their API or the STACKIT Portal) and then can be provided to @@ -380,7 +380,7 @@ public okhttp3.Call createCredentialsAsync( * 400 One or more fields are invalid. - * 401 Unauthorized - * 403 this project_id is not allowed to try this API - - * 409 application load balancer already exists - + * 409 Application Load Balancer already exists - * 500 internal error - please retry again later or contact support if the issue persists - * 0 Default error response - * @@ -409,7 +409,7 @@ public okhttp3.Call createLoadBalancerCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/load-balancers" + "/v2/projects/{projectId}/regions/{region}/load-balancers" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -487,7 +487,7 @@ private okhttp3.Call createLoadBalancerValidateBeforeCall( } /** - * Create an application load balancer in a project Creates an Application Load Balancer. The + * Create an Application Load Balancer in a project Creates an Application Load Balancer. The * default load balancing algorithm is Maglev, and selecting a different algorithm is currently * not supported. * @@ -506,7 +506,7 @@ private okhttp3.Call createLoadBalancerValidateBeforeCall( * 400 One or more fields are invalid. - * 401 Unauthorized - * 403 this project_id is not allowed to try this API - - * 409 application load balancer already exists - + * 409 Application Load Balancer already exists - * 500 internal error - please retry again later or contact support if the issue persists - * 0 Default error response - * @@ -524,7 +524,7 @@ public LoadBalancer createLoadBalancer( } /** - * Create an application load balancer in a project Creates an Application Load Balancer. The + * Create an Application Load Balancer in a project Creates an Application Load Balancer. The * default load balancing algorithm is Maglev, and selecting a different algorithm is currently * not supported. * @@ -543,7 +543,7 @@ public LoadBalancer createLoadBalancer( * 400 One or more fields are invalid. - * 401 Unauthorized - * 403 this project_id is not allowed to try this API - - * 409 application load balancer already exists - + * 409 Application Load Balancer already exists - * 500 internal error - please retry again later or contact support if the issue persists - * 0 Default error response - * @@ -562,7 +562,7 @@ public ApiResponse createLoadBalancerWithHttpInfo( } /** - * Create an application load balancer in a project (asynchronously) Creates an Application Load + * Create an Application Load Balancer in a project (asynchronously) Creates an Application Load * Balancer. The default load balancing algorithm is Maglev, and selecting a different algorithm * is currently not supported. * @@ -582,7 +582,7 @@ public ApiResponse createLoadBalancerWithHttpInfo( * 400 One or more fields are invalid. - * 401 Unauthorized - * 403 this project_id is not allowed to try this API - - * 409 application load balancer already exists - + * 409 Application Load Balancer already exists - * 500 internal error - please retry again later or contact support if the issue persists - * 0 Default error response - * @@ -647,7 +647,7 @@ public okhttp3.Call deleteCredentialsCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/credentials/{credentialsRef}" + "/v2/projects/{projectId}/regions/{region}/credentials/{credentialsRef}" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -864,7 +864,7 @@ public okhttp3.Call deleteLoadBalancerCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/load-balancers/{name}" + "/v2/projects/{projectId}/regions/{region}/load-balancers/{name}" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -1081,7 +1081,7 @@ public okhttp3.Call getCredentialsCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/credentials/{credentialsRef}" + "/v2/projects/{projectId}/regions/{region}/credentials/{credentialsRef}" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -1274,7 +1274,7 @@ public okhttp3.Call getCredentialsAsync( * 400 One or more fields are invalid. - * 401 Unauthorized - * 403 this project_id is not allowed to try this API - - * 404 application load balancer not found - + * 404 Application Load Balancer not found - * 500 internal error - please retry again later or contact support if the issue persists - * 0 Default error response - * @@ -1302,7 +1302,7 @@ public okhttp3.Call getLoadBalancerCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/load-balancers/{name}" + "/v2/projects/{projectId}/regions/{region}/load-balancers/{name}" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -1376,7 +1376,7 @@ private okhttp3.Call getLoadBalancerValidateBeforeCall( } /** - * Get a single application load balancer in a project. Retrieves details of a specific + * Get a single Application Load Balancer in a project. Retrieves details of a specific * Application Load Balancer in a project. Includes creation and update information, current * status, and any error descriptions. * @@ -1394,7 +1394,7 @@ private okhttp3.Call getLoadBalancerValidateBeforeCall( * 400 One or more fields are invalid. - * 401 Unauthorized - * 403 this project_id is not allowed to try this API - - * 404 application load balancer not found - + * 404 Application Load Balancer not found - * 500 internal error - please retry again later or contact support if the issue persists - * 0 Default error response - * @@ -1410,7 +1410,7 @@ public LoadBalancer getLoadBalancer( } /** - * Get a single application load balancer in a project. Retrieves details of a specific + * Get a single Application Load Balancer in a project. Retrieves details of a specific * Application Load Balancer in a project. Includes creation and update information, current * status, and any error descriptions. * @@ -1428,7 +1428,7 @@ public LoadBalancer getLoadBalancer( * 400 One or more fields are invalid. - * 401 Unauthorized - * 403 this project_id is not allowed to try this API - - * 404 application load balancer not found - + * 404 Application Load Balancer not found - * 500 internal error - please retry again later or contact support if the issue persists - * 0 Default error response - * @@ -1445,7 +1445,7 @@ public ApiResponse getLoadBalancerWithHttpInfo( } /** - * Get a single application load balancer in a project. (asynchronously) Retrieves details of a + * Get a single Application Load Balancer in a project. (asynchronously) Retrieves details of a * specific Application Load Balancer in a project. Includes creation and update information, * current status, and any error descriptions. * @@ -1464,7 +1464,7 @@ public ApiResponse getLoadBalancerWithHttpInfo( * 400 One or more fields are invalid. - * 401 Unauthorized - * 403 this project_id is not allowed to try this API - - * 404 application load balancer not found - + * 404 Application Load Balancer not found - * 500 internal error - please retry again later or contact support if the issue persists - * 0 Default error response - * @@ -1525,7 +1525,7 @@ public okhttp3.Call getQuotaCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/quota" + "/v2/projects/{projectId}/regions/{region}/quota" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -1727,7 +1727,7 @@ public okhttp3.Call listCredentialsCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/credentials" + "/v2/projects/{projectId}/regions/{region}/credentials" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -1885,8 +1885,8 @@ public okhttp3.Call listCredentialsAsync( * * @param projectId (required) * @param region (required) - * @param pageSize page_size specifies how many load balancers should be returned on this page. - * Must be a positive number <= 1000 (optional) + * @param pageSize page_size specifies how many Application Load Balancers should be returned on + * this page. Must be a positive number <= 1000 (optional) * @param pageId page_id is a page identifier returned by the previous response and is used to * request the next page (optional) * @param _callback Callback for upload/download progress @@ -1928,7 +1928,7 @@ public okhttp3.Call listLoadBalancersCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/load-balancers" + "/v2/projects/{projectId}/regions/{region}/load-balancers" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -2002,13 +2002,14 @@ private okhttp3.Call listLoadBalancersValidateBeforeCall( } /** - * List load balancers in a project. Lists all Application Load Balancers in a project. Includes - * details from creation or updates, along with their status and any error descriptions. + * List Application Load Balancers in a project. Lists all Application Load Balancers in a + * project. Includes details from creation or updates, along with their status and any error + * descriptions. * * @param projectId (required) * @param region (required) - * @param pageSize page_size specifies how many load balancers should be returned on this page. - * Must be a positive number <= 1000 (optional) + * @param pageSize page_size specifies how many Application Load Balancers should be returned on + * this page. Must be a positive number <= 1000 (optional) * @param pageId page_id is a page identifier returned by the previous response and is used to * request the next page (optional) * @return ListLoadBalancersResponse @@ -2038,13 +2039,14 @@ public ListLoadBalancersResponse listLoadBalancers( } /** - * List load balancers in a project. Lists all Application Load Balancers in a project. Includes - * details from creation or updates, along with their status and any error descriptions. + * List Application Load Balancers in a project. Lists all Application Load Balancers in a + * project. Includes details from creation or updates, along with their status and any error + * descriptions. * * @param projectId (required) * @param region (required) - * @param pageSize page_size specifies how many load balancers should be returned on this page. - * Must be a positive number <= 1000 (optional) + * @param pageSize page_size specifies how many Application Load Balancers should be returned on + * this page. Must be a positive number <= 1000 (optional) * @param pageId page_id is a page identifier returned by the previous response and is used to * request the next page (optional) * @return ApiResponse<ListLoadBalancersResponse> @@ -2075,14 +2077,14 @@ public ApiResponse listLoadBalancersWithHttpInfo( } /** - * List load balancers in a project. (asynchronously) Lists all Application Load Balancers in a - * project. Includes details from creation or updates, along with their status and any error - * descriptions. + * List Application Load Balancers in a project. (asynchronously) Lists all Application Load + * Balancers in a project. Includes details from creation or updates, along with their status + * and any error descriptions. * * @param projectId (required) * @param region (required) - * @param pageSize page_size specifies how many load balancers should be returned on this page. - * Must be a positive number <= 1000 (optional) + * @param pageSize page_size specifies how many Application Load Balancers should be returned on + * this page. Must be a positive number <= 1000 (optional) * @param pageId page_id is a page identifier returned by the previous response and is used to * request the next page (optional) * @param _callback The callback to be executed when the API call finishes @@ -2155,7 +2157,7 @@ public okhttp3.Call listPlansCall( // create path and map variables String localVarPath = - "/v2beta2/regions/{region}/plans" + "/v2/regions/{region}/plans" .replace( "{" + "region" + "}", localVarApiClient.escapeString(region.toString())); @@ -2336,7 +2338,7 @@ public okhttp3.Call updateCredentialsCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/credentials/{credentialsRef}" + "/v2/projects/{projectId}/regions/{region}/credentials/{credentialsRef}" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -2578,7 +2580,7 @@ public okhttp3.Call updateLoadBalancerCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/load-balancers/{name}" + "/v2/projects/{projectId}/regions/{region}/load-balancers/{name}" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) @@ -2826,7 +2828,7 @@ public okhttp3.Call updateTargetPoolCall( // create path and map variables String localVarPath = - "/v2beta2/projects/{projectId}/regions/{region}/load-balancers/{name}/target-pools/{targetPoolName}" + "/v2/projects/{projectId}/regions/{region}/load-balancers/{name}/target-pools/{targetPoolName}" .replace( "{" + "projectId" + "}", localVarApiClient.escapeString(projectId.toString())) diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/AbstractOpenApiSchema.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/AbstractOpenApiSchema.java index 8a4ffd2..c42b82f 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/AbstractOpenApiSchema.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/AbstractOpenApiSchema.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ActiveHealthCheck.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ActiveHealthCheck.java index d291b70..5db91e6 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ActiveHealthCheck.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ActiveHealthCheck.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +29,7 @@ import java.util.Objects; import java.util.Set; -/** ActiveHealthCheck */ +/** Set this to customize active health checks for targets in this pool. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.15.0") diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CertificateConfig.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CertificateConfig.java index 7646940..acbaa6b 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CertificateConfig.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CertificateConfig.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CookiePersistence.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CookiePersistence.java index 7f4a8d3..5c71ebe 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CookiePersistence.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CookiePersistence.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +29,7 @@ import java.util.Objects; import java.util.Set; -/** CookiePersistence */ +/** CookiePersistence contains the cookie-based session persistence configuration. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.15.0") diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsPayload.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsPayload.java index 0c1b003..43e88ad 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsPayload.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsPayload.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsResponse.java index d5889f3..67d2f49 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsResponse.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateCredentialsResponse.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateLoadBalancerPayload.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateLoadBalancerPayload.java index 9ee618e..875bb13 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateLoadBalancerPayload.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CreateLoadBalancerPayload.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -188,7 +188,8 @@ public CreateLoadBalancerPayload( String privateAddress, String region, StatusEnum status, - SecurityGroup targetSecurityGroup) { + SecurityGroup targetSecurityGroup, + String version) { this(); this.errors = errors; this.loadBalancerSecurityGroup = loadBalancerSecurityGroup; @@ -196,6 +197,7 @@ public CreateLoadBalancerPayload( this.region = region; this.status = status; this.targetSecurityGroup = targetSecurityGroup; + this.version = version; } public CreateLoadBalancerPayload disableTargetSecurityGroupAssignment( @@ -221,7 +223,7 @@ public void setDisableTargetSecurityGroupAssignment( } /** - * Reports all errors a application load balancer has. + * Reports all errors a Application Load Balancer has. * * @return errors */ @@ -236,8 +238,8 @@ public CreateLoadBalancerPayload externalAddress( } /** - * External application load balancer IP address where this application load balancer is - * exposed. Not changeable after creation. + * The external IP address where this Application Load Balancer is exposed. Not changeable after + * creation. * * @return externalAddress */ @@ -389,9 +391,9 @@ public CreateLoadBalancerPayload planId(@javax.annotation.Nullable String planId } /** - * Service Plan configures the size of the Application Load Balancer. Currently supported plans - * are p10, p50, p250 and p750. This list can change in the future where plan ids will be - * removed and new plans by added. That is the reason this is not an enum. + * Service Plan configures the size of the Application Load Balancer. Currently supported plan + * is p10. This list can change in the future where plan ids will be removed and new plans by + * added. That is the reason this is not an enum. * * @return planId */ @@ -404,7 +406,7 @@ public void setPlanId(@javax.annotation.Nullable String planId) { } /** - * Transient private application load balancer IP address that can change any time. + * Transient private Application Load Balancer IP address that can change any time. * * @return privateAddress */ @@ -445,7 +447,7 @@ public CreateLoadBalancerPayload addTargetPoolsItem(TargetPool targetPoolsItem) } /** - * List of all target pools which will be used in the application load balancer. Limited to 20. + * List of all target pools which will be used in the Application Load Balancer. Limited to 20. * * @return targetPools */ @@ -468,23 +470,17 @@ public void setTargetPools(@javax.annotation.Nullable List targetPoo return targetSecurityGroup; } - public CreateLoadBalancerPayload version(@javax.annotation.Nullable String version) { - this.version = version; - return this; - } - /** - * Application Load Balancer resource version. Must be empty or unset for creating load - * balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, - * this is the current version of this application load balancer resource that changes during - * updates of the load balancers. On updates this field specified the application load balancer - * version you calculated your update for instead of the future version to enable concurrency - * safe updates. Update calls will then report the new version in their result as you would see - * with a application load balancer retrieval call later. There exist no total order of the - * version, so you can only compare it for equality, but not for less/greater than another - * version. Since the creation of application load balancer is always intended to create the - * first version of it, there should be no existing version. That's why this field must by - * empty of not present in that case. + * Application Load Balancer resource version. Must be empty or unset for creating Application + * Load Balancers, non-empty for updating. Semantics: While retrieving, this is the current + * version of this Application Load Balancer resource that changes during updates. On updates + * this field specified the Application Load Balancer version you calculated your update for + * instead of the future version to enable concurrency safe updates. Update calls will then + * report the new version in their result as you would see with a Application Load Balancer + * retrieval call later. There exist no total order of the version, so you can only compare it + * for equality, but not for less/greater than another version. Since the creation of + * Application Load Balancer is always intended to create the first version of it, there should + * be no existing version. That's why this field must by empty of not present in that case. * * @return version */ @@ -492,10 +488,6 @@ public CreateLoadBalancerPayload version(@javax.annotation.Nullable String versi return version; } - public void setVersion(@javax.annotation.Nullable String version) { - this.version = version; - } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CredentialsResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CredentialsResponse.java index 3594010..600b869 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CredentialsResponse.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/CredentialsResponse.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetCredentialsResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetCredentialsResponse.java index 7ecef0e..6f17b91 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetCredentialsResponse.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetCredentialsResponse.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java index 94d9804..4045a45 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -35,6 +35,11 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.15.0") public class GetQuotaResponse { + public static final String SERIALIZED_NAME_MAX_CREDENTIALS = "maxCredentials"; + + @SerializedName(SERIALIZED_NAME_MAX_CREDENTIALS) + @javax.annotation.Nullable private Integer maxCredentials; + public static final String SERIALIZED_NAME_MAX_LOAD_BALANCERS = "maxLoadBalancers"; @SerializedName(SERIALIZED_NAME_MAX_LOAD_BALANCERS) @@ -58,14 +63,32 @@ public GetQuotaResponse(UUID projectId, String region) { this.region = region; } + public GetQuotaResponse maxCredentials(@javax.annotation.Nullable Integer maxCredentials) { + this.maxCredentials = maxCredentials; + return this; + } + + /** + * The maximum number of observability credentials that can be stored in this project. minimum: + * -1 maximum: 999 + * + * @return maxCredentials + */ + @javax.annotation.Nullable public Integer getMaxCredentials() { + return maxCredentials; + } + + public void setMaxCredentials(@javax.annotation.Nullable Integer maxCredentials) { + this.maxCredentials = maxCredentials; + } + public GetQuotaResponse maxLoadBalancers(@javax.annotation.Nullable Integer maxLoadBalancers) { this.maxLoadBalancers = maxLoadBalancers; return this; } /** - * The maximum number of load balancing servers in this project. Unlimited if set to -1. - * minimum: -1 maximum: 999 + * The maximum number of load balancing servers in this project. minimum: -1 maximum: 999 * * @return maxLoadBalancers */ @@ -104,20 +127,22 @@ public boolean equals(Object o) { return false; } GetQuotaResponse getQuotaResponse = (GetQuotaResponse) o; - return Objects.equals(this.maxLoadBalancers, getQuotaResponse.maxLoadBalancers) + return Objects.equals(this.maxCredentials, getQuotaResponse.maxCredentials) + && Objects.equals(this.maxLoadBalancers, getQuotaResponse.maxLoadBalancers) && Objects.equals(this.projectId, getQuotaResponse.projectId) && Objects.equals(this.region, getQuotaResponse.region); } @Override public int hashCode() { - return Objects.hash(maxLoadBalancers, projectId, region); + return Objects.hash(maxCredentials, maxLoadBalancers, projectId, region); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetQuotaResponse {\n"); + sb.append(" maxCredentials: ").append(toIndentedString(maxCredentials)).append("\n"); sb.append(" maxLoadBalancers: ").append(toIndentedString(maxLoadBalancers)).append("\n"); sb.append(" projectId: ").append(toIndentedString(projectId)).append("\n"); sb.append(" region: ").append(toIndentedString(region)).append("\n"); @@ -142,7 +167,8 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = - new HashSet(Arrays.asList("maxLoadBalancers", "projectId", "region")); + new HashSet( + Arrays.asList("maxCredentials", "maxLoadBalancers", "projectId", "region")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GoogleProtobufAny.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GoogleProtobufAny.java index a601cf8..0941a34 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GoogleProtobufAny.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GoogleProtobufAny.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HostConfig.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HostConfig.java index eed6eaa..4a52cd2 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HostConfig.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HostConfig.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHeader.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHeader.java index 19a1a33..fbeaf89 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHeader.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHeader.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHealthChecks.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHealthChecks.java index 808b096..8bc34a1 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHealthChecks.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/HttpHealthChecks.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,7 +31,7 @@ import java.util.Objects; import java.util.Set; -/** HttpHealthChecks */ +/** Options for the HTTP health checking. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.15.0") diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListCredentialsResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListCredentialsResponse.java index 8a2060a..add1e16 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListCredentialsResponse.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListCredentialsResponse.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListLoadBalancersResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListLoadBalancersResponse.java index c70a969..2572e97 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListLoadBalancersResponse.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListLoadBalancersResponse.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListPlansResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListPlansResponse.java index 373018a..2afb14d 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListPlansResponse.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ListPlansResponse.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -58,7 +58,7 @@ public ListPlansResponse addValidPlansItem(PlanDetails validPlansItem) { } /** - * Get validPlans + * List of available service plans. * * @return validPlans */ diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Listener.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Listener.java index 37c1c5d..448b863 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Listener.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Listener.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -125,11 +125,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti public Listener() {} - public Listener(String name) { - this(); - this.name = name; - } - public Listener http(@javax.annotation.Nullable ProtocolOptionsHTTP http) { this.http = http; return this; @@ -166,9 +161,13 @@ public void setHttps(@javax.annotation.Nullable ProtocolOptionsHTTPS https) { this.https = https; } + public Listener name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + /** - * Unique, system-generated identifier for the listener. It is derived from the protocol and - * port. + * A unique listener name. * * @return name */ @@ -176,6 +175,10 @@ public void setHttps(@javax.annotation.Nullable ProtocolOptionsHTTPS https) { return name; } + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + public Listener port(@javax.annotation.Nullable Integer port) { this.port = port; return this; diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancer.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancer.java index 5392a80..25ffd5c 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancer.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancer.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -188,7 +188,8 @@ public LoadBalancer( String privateAddress, String region, StatusEnum status, - SecurityGroup targetSecurityGroup) { + SecurityGroup targetSecurityGroup, + String version) { this(); this.errors = errors; this.loadBalancerSecurityGroup = loadBalancerSecurityGroup; @@ -196,6 +197,7 @@ public LoadBalancer( this.region = region; this.status = status; this.targetSecurityGroup = targetSecurityGroup; + this.version = version; } public LoadBalancer disableTargetSecurityGroupAssignment( @@ -221,7 +223,7 @@ public void setDisableTargetSecurityGroupAssignment( } /** - * Reports all errors a application load balancer has. + * Reports all errors a Application Load Balancer has. * * @return errors */ @@ -235,8 +237,8 @@ public LoadBalancer externalAddress(@javax.annotation.Nullable String externalAd } /** - * External application load balancer IP address where this application load balancer is - * exposed. Not changeable after creation. + * The external IP address where this Application Load Balancer is exposed. Not changeable after + * creation. * * @return externalAddress */ @@ -386,9 +388,9 @@ public LoadBalancer planId(@javax.annotation.Nullable String planId) { } /** - * Service Plan configures the size of the Application Load Balancer. Currently supported plans - * are p10, p50, p250 and p750. This list can change in the future where plan ids will be - * removed and new plans by added. That is the reason this is not an enum. + * Service Plan configures the size of the Application Load Balancer. Currently supported plan + * is p10. This list can change in the future where plan ids will be removed and new plans by + * added. That is the reason this is not an enum. * * @return planId */ @@ -401,7 +403,7 @@ public void setPlanId(@javax.annotation.Nullable String planId) { } /** - * Transient private application load balancer IP address that can change any time. + * Transient private Application Load Balancer IP address that can change any time. * * @return privateAddress */ @@ -441,7 +443,7 @@ public LoadBalancer addTargetPoolsItem(TargetPool targetPoolsItem) { } /** - * List of all target pools which will be used in the application load balancer. Limited to 20. + * List of all target pools which will be used in the Application Load Balancer. Limited to 20. * * @return targetPools */ @@ -464,23 +466,17 @@ public void setTargetPools(@javax.annotation.Nullable List targetPoo return targetSecurityGroup; } - public LoadBalancer version(@javax.annotation.Nullable String version) { - this.version = version; - return this; - } - /** - * Application Load Balancer resource version. Must be empty or unset for creating load - * balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, - * this is the current version of this application load balancer resource that changes during - * updates of the load balancers. On updates this field specified the application load balancer - * version you calculated your update for instead of the future version to enable concurrency - * safe updates. Update calls will then report the new version in their result as you would see - * with a application load balancer retrieval call later. There exist no total order of the - * version, so you can only compare it for equality, but not for less/greater than another - * version. Since the creation of application load balancer is always intended to create the - * first version of it, there should be no existing version. That's why this field must by - * empty of not present in that case. + * Application Load Balancer resource version. Must be empty or unset for creating Application + * Load Balancers, non-empty for updating. Semantics: While retrieving, this is the current + * version of this Application Load Balancer resource that changes during updates. On updates + * this field specified the Application Load Balancer version you calculated your update for + * instead of the future version to enable concurrency safe updates. Update calls will then + * report the new version in their result as you would see with a Application Load Balancer + * retrieval call later. There exist no total order of the version, so you can only compare it + * for equality, but not for less/greater than another version. Since the creation of + * Application Load Balancer is always intended to create the first version of it, there should + * be no existing version. That's why this field must by empty of not present in that case. * * @return version */ @@ -488,10 +484,6 @@ public LoadBalancer version(@javax.annotation.Nullable String version) { return version; } - public void setVersion(@javax.annotation.Nullable String version) { - this.version = version; - } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerError.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerError.java index 2f64972..9e42e03 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerError.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerError.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -41,9 +41,9 @@ public class LoadBalancerError { @javax.annotation.Nullable private String description; /** - * The error type specifies which part of the application load balancer encountered the error. + * The error type specifies which part of the Application Load Balancer encountered the error. * I.e. the API will not check if a provided public IP is actually available in the project. - * Instead the application load balancer with try to use the provided IP and if not available + * Instead the Application Load Balancer with try to use the provided IP and if not available * reports TYPE_FIP_NOT_CONFIGURED error. */ @JsonAdapter(TypeEnum.Adapter.class) @@ -126,7 +126,7 @@ public LoadBalancerError description(@javax.annotation.Nullable String descripti /** * The error description contains additional helpful user information to fix the error state of - * the application load balancer. For example the IP 45.135.247.139 does not exist in the + * the Application Load Balancer. For example the IP 45.135.247.139 does not exist in the * project, then the description will report: Floating IP \"45.135.247.139\" could not * be found. * @@ -146,9 +146,9 @@ public LoadBalancerError type(@javax.annotation.Nullable TypeEnum type) { } /** - * The error type specifies which part of the application load balancer encountered the error. + * The error type specifies which part of the Application Load Balancer encountered the error. * I.e. the API will not check if a provided public IP is actually available in the project. - * Instead the application load balancer with try to use the provided IP and if not available + * Instead the Application Load Balancer with try to use the provided IP and if not available * reports TYPE_FIP_NOT_CONFIGURED error. * * @return type diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java index 4a8581d..1e7096d 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ import java.util.Set; /** - * Defines any optional functionality you want to have enabled on your application load balancer. + * Defines any optional functionality you want to have enabled on your Application Load Balancer. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionAccessControl.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionAccessControl.java index 5e1c6f3..4312a8f 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionAccessControl.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionAccessControl.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,7 +31,7 @@ import java.util.Objects; import java.util.Set; -/** Use this option to limit the IP ranges that can use the application load balancer. */ +/** Use this option to limit the IP ranges that can use the Application Load Balancer. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.15.0") diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionLogs.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionLogs.java index 2da7daa..e601e69 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionLogs.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionLogs.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +29,7 @@ import java.util.Objects; import java.util.Set; -/** LoadbalancerOptionLogs */ +/** Observability logs configuration. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.15.0") diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionMetrics.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionMetrics.java index 7ca42d9..c49dd84 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionMetrics.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionMetrics.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +29,7 @@ import java.util.Objects; import java.util.Set; -/** LoadbalancerOptionMetrics */ +/** Observability metrics configuration. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.15.0") diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionObservability.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionObservability.java index fa4df32..537266a 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionObservability.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadbalancerOptionObservability.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Network.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Network.java index e5277ab..9e93d47 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Network.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Network.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -114,7 +114,7 @@ public Network networkId(@javax.annotation.Nullable UUID networkId) { } /** - * Openstack network ID + * STACKIT network ID the Application Load Balancer and/or targets are in. * * @return networkId */ diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Path.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Path.java index 29e5885..af89e4a 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Path.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Path.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,15 +29,19 @@ import java.util.Objects; import java.util.Set; -/** Path */ +/** + * Path match. Optional. Contains either an exact or prefix match. If not set, defaults to root path + * '/' of prefix type. Cannot be set if 'path_prefix' is used. Prefer using this + * field over 'path_prefix'. + */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.15.0") public class Path { - public static final String SERIALIZED_NAME_EXACT = "exact"; + public static final String SERIALIZED_NAME_EXACT_MATCH = "exactMatch"; - @SerializedName(SERIALIZED_NAME_EXACT) - @javax.annotation.Nullable private String exact; + @SerializedName(SERIALIZED_NAME_EXACT_MATCH) + @javax.annotation.Nullable private String exactMatch; public static final String SERIALIZED_NAME_PREFIX = "prefix"; @@ -46,8 +50,8 @@ public class Path { public Path() {} - public Path exact(@javax.annotation.Nullable String exact) { - this.exact = exact; + public Path exactMatch(@javax.annotation.Nullable String exactMatch) { + this.exactMatch = exactMatch; return this; } @@ -55,14 +59,14 @@ public Path exact(@javax.annotation.Nullable String exact) { * Exact path match. Only a request path exactly equal to the value will match, e.g. * '/foo' matches only '/foo', not '/foo/bar' or '/foobar'. * - * @return exact + * @return exactMatch */ - @javax.annotation.Nullable public String getExact() { - return exact; + @javax.annotation.Nullable public String getExactMatch() { + return exactMatch; } - public void setExact(@javax.annotation.Nullable String exact) { - this.exact = exact; + public void setExactMatch(@javax.annotation.Nullable String exactMatch) { + this.exactMatch = exactMatch; } public Path prefix(@javax.annotation.Nullable String prefix) { @@ -93,19 +97,20 @@ public boolean equals(Object o) { return false; } Path path = (Path) o; - return Objects.equals(this.exact, path.exact) && Objects.equals(this.prefix, path.prefix); + return Objects.equals(this.exactMatch, path.exactMatch) + && Objects.equals(this.prefix, path.prefix); } @Override public int hashCode() { - return Objects.hash(exact, prefix); + return Objects.hash(exactMatch, prefix); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Path {\n"); - sb.append(" exact: ").append(toIndentedString(exact)).append("\n"); + sb.append(" exactMatch: ").append(toIndentedString(exactMatch)).append("\n"); sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); sb.append("}"); return sb.toString(); @@ -127,7 +132,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("exact", "prefix")); + openapiFields = new HashSet(Arrays.asList("exactMatch", "prefix")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -161,12 +166,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("exact") != null && !jsonObj.get("exact").isJsonNull()) - && !jsonObj.get("exact").isJsonPrimitive()) { + if ((jsonObj.get("exactMatch") != null && !jsonObj.get("exactMatch").isJsonNull()) + && !jsonObj.get("exactMatch").isJsonPrimitive()) { throw new IllegalArgumentException( String.format( - "Expected the field `exact` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("exact").toString())); + "Expected the field `exactMatch` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("exactMatch").toString())); } if ((jsonObj.get("prefix") != null && !jsonObj.get("prefix").isJsonNull()) && !jsonObj.get("prefix").isJsonPrimitive()) { diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/PlanDetails.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/PlanDetails.java index 9e07384..b9a8ded 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/PlanDetails.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/PlanDetails.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -108,7 +108,7 @@ public PlanDetails maxConnections(@javax.annotation.Nullable Integer maxConnecti } /** - * Maximum number of concurrent connections per application load balancer VM instance. + * Maximum number of concurrent connections per Application Load Balancer VM instance. * * @return maxConnections */ diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTP.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTP.java index 29d25fe..90ea9b1 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTP.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTP.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTPS.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTPS.java index 2da5afc..f79b148 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTPS.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/ProtocolOptionsHTTPS.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/QueryParameter.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/QueryParameter.java index e84483c..a8fa767 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/QueryParameter.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/QueryParameter.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Rule.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Rule.java index 04b82a3..bfcbbd0 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Rule.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Rule.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,11 +52,6 @@ public class Rule { @SerializedName(SERIALIZED_NAME_PATH) @javax.annotation.Nullable private Path path; - public static final String SERIALIZED_NAME_PATH_PREFIX = "pathPrefix"; - - @SerializedName(SERIALIZED_NAME_PATH_PREFIX) - @javax.annotation.Nullable private String pathPrefix; - public static final String SERIALIZED_NAME_QUERY_PARAMETERS = "queryParameters"; @SerializedName(SERIALIZED_NAME_QUERY_PARAMETERS) @@ -137,27 +132,6 @@ public void setPath(@javax.annotation.Nullable Path path) { this.path = path; } - public Rule pathPrefix(@javax.annotation.Nullable String pathPrefix) { - this.pathPrefix = pathPrefix; - return this; - } - - /** - * Legacy path prefix match. Optional. If not set, defaults to root path '/'. Cannot be - * set if 'path' is used. Prefer using 'path.prefix' instead. Only matches on - * full segment boundaries, e.g. '/foo' matches '/foo' and '/foo/bar' - * but NOT '/foobar'. - * - * @return pathPrefix - */ - @javax.annotation.Nullable public String getPathPrefix() { - return pathPrefix; - } - - public void setPathPrefix(@javax.annotation.Nullable String pathPrefix) { - this.pathPrefix = pathPrefix; - } - public Rule queryParameters(@javax.annotation.Nullable List queryParameters) { this.queryParameters = queryParameters; return this; @@ -172,7 +146,7 @@ public Rule addQueryParametersItem(QueryParameter queryParametersItem) { } /** - * Query Parameters for the rule. + * Query parameters for the rule. * * @return queryParameters */ @@ -236,7 +210,6 @@ public boolean equals(Object o) { return Objects.equals(this.cookiePersistence, rule.cookiePersistence) && Objects.equals(this.headers, rule.headers) && Objects.equals(this.path, rule.path) - && Objects.equals(this.pathPrefix, rule.pathPrefix) && Objects.equals(this.queryParameters, rule.queryParameters) && Objects.equals(this.targetPool, rule.targetPool) && Objects.equals(this.webSocket, rule.webSocket); @@ -245,13 +218,7 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - cookiePersistence, - headers, - path, - pathPrefix, - queryParameters, - targetPool, - webSocket); + cookiePersistence, headers, path, queryParameters, targetPool, webSocket); } @Override @@ -263,7 +230,6 @@ public String toString() { .append("\n"); sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append(" pathPrefix: ").append(toIndentedString(pathPrefix)).append("\n"); sb.append(" queryParameters: ").append(toIndentedString(queryParameters)).append("\n"); sb.append(" targetPool: ").append(toIndentedString(targetPool)).append("\n"); sb.append(" webSocket: ").append(toIndentedString(webSocket)).append("\n"); @@ -293,7 +259,6 @@ private String toIndentedString(Object o) { "cookiePersistence", "headers", "path", - "pathPrefix", "queryParameters", "targetPool", "webSocket")); @@ -357,13 +322,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) { Path.validateJsonElement(jsonObj.get("path")); } - if ((jsonObj.get("pathPrefix") != null && !jsonObj.get("pathPrefix").isJsonNull()) - && !jsonObj.get("pathPrefix").isJsonPrimitive()) { - throw new IllegalArgumentException( - String.format( - "Expected the field `pathPrefix` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("pathPrefix").toString())); - } if (jsonObj.get("queryParameters") != null && !jsonObj.get("queryParameters").isJsonNull()) { JsonArray jsonArrayqueryParameters = jsonObj.getAsJsonArray("queryParameters"); diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/SecurityGroup.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/SecurityGroup.java index e8cc9e9..0174567 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/SecurityGroup.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/SecurityGroup.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Status.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Status.java index 788dbea..0b31916 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Status.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Status.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Target.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Target.java index 4c64cee..647eef8 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Target.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/Target.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ public Target displayName(@javax.annotation.Nullable String displayName) { } /** - * Target name + * Target display name. * * @return displayName */ @@ -70,7 +70,7 @@ public Target ip(@javax.annotation.Nullable String ip) { } /** - * Target IP. Must by unique within a target pool. + * Private target IP, which must by unique within a target pool. * * @return ip */ diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPool.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPool.java index 5e06c25..8da4c2d 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPool.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPool.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPoolTlsConfig.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPoolTlsConfig.java index 05501b9..acafbb0 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPoolTlsConfig.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/TargetPoolTlsConfig.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +29,7 @@ import java.util.Objects; import java.util.Set; -/** TargetPoolTlsConfig */ +/** TLSConfig used for the target pool. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.15.0") @@ -61,7 +61,8 @@ public TargetPoolTlsConfig customCa(@javax.annotation.Nullable String customCa) * Specifies a custom Certificate Authority (CA). When provided, the target pool will trust * certificates signed by this CA, in addition to any system-trusted CAs. This is useful for * scenarios where the target pool needs to communicate with servers using self-signed or - * internally-issued certificates. + * internally-issued certificates. Enabled needs to be set to true and skip validation to false + * for this option. * * @return customCa */ @@ -79,8 +80,9 @@ public TargetPoolTlsConfig enabled(@javax.annotation.Nullable Boolean enabled) { } /** - * Enable or disable TLS (Transport Layer Security) for connections to the target pool. When - * enabled, the load balancer will establish secure connections using TLS to the target pool. + * Enable TLS (Transport Layer Security) bridging for the connection between Application Load + * Balancer and targets in this pool. When enabled, public CAs are trusted. Can be used in + * tandem with the options either custom CA or skip validation or alone. * * @return enabled */ @@ -99,8 +101,9 @@ public TargetPoolTlsConfig skipCertificateValidation( } /** - * Bypass certificate validation for TLS connections to the target pool. This option is - * insecure. + * Bypass certificate validation for TLS bridging in this target pool. This option is insecure + * and can only be used with public CAs by setting enabled true. Meant to be used for testing + * purposes only! * * @return skipCertificateValidation */ diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsPayload.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsPayload.java index e0d801a..0f8a833 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsPayload.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsPayload.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsResponse.java index 3684888..5880541 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsResponse.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateCredentialsResponse.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateLoadBalancerPayload.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateLoadBalancerPayload.java index 1de40d8..6daf987 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateLoadBalancerPayload.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateLoadBalancerPayload.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -221,7 +221,7 @@ public void setDisableTargetSecurityGroupAssignment( } /** - * Reports all errors a application load balancer has. + * Reports all errors a Application Load Balancer has. * * @return errors */ @@ -236,8 +236,8 @@ public UpdateLoadBalancerPayload externalAddress( } /** - * External application load balancer IP address where this application load balancer is - * exposed. Not changeable after creation. + * The external IP address where this Application Load Balancer is exposed. Not changeable after + * creation. * * @return externalAddress */ @@ -389,9 +389,9 @@ public UpdateLoadBalancerPayload planId(@javax.annotation.Nullable String planId } /** - * Service Plan configures the size of the Application Load Balancer. Currently supported plans - * are p10, p50, p250 and p750. This list can change in the future where plan ids will be - * removed and new plans by added. That is the reason this is not an enum. + * Service Plan configures the size of the Application Load Balancer. Currently supported plan + * is p10. This list can change in the future where plan ids will be removed and new plans by + * added. That is the reason this is not an enum. * * @return planId */ @@ -404,7 +404,7 @@ public void setPlanId(@javax.annotation.Nullable String planId) { } /** - * Transient private application load balancer IP address that can change any time. + * Transient private Application Load Balancer IP address that can change any time. * * @return privateAddress */ @@ -445,7 +445,7 @@ public UpdateLoadBalancerPayload addTargetPoolsItem(TargetPool targetPoolsItem) } /** - * List of all target pools which will be used in the application load balancer. Limited to 20. + * List of all target pools which will be used in the Application Load Balancer. Limited to 20. * * @return targetPools */ @@ -474,17 +474,16 @@ public UpdateLoadBalancerPayload version(@javax.annotation.Nullable String versi } /** - * Application Load Balancer resource version. Must be empty or unset for creating load - * balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, - * this is the current version of this application load balancer resource that changes during - * updates of the load balancers. On updates this field specified the application load balancer - * version you calculated your update for instead of the future version to enable concurrency - * safe updates. Update calls will then report the new version in their result as you would see - * with a application load balancer retrieval call later. There exist no total order of the - * version, so you can only compare it for equality, but not for less/greater than another - * version. Since the creation of application load balancer is always intended to create the - * first version of it, there should be no existing version. That's why this field must by - * empty of not present in that case. + * Application Load Balancer resource version. Must be empty or unset for creating Application + * Load Balancers, non-empty for updating. Semantics: While retrieving, this is the current + * version of this Application Load Balancer resource that changes during updates. On updates + * this field specified the Application Load Balancer version you calculated your update for + * instead of the future version to enable concurrency safe updates. Update calls will then + * report the new version in their result as you would see with a Application Load Balancer + * retrieval call later. There exist no total order of the version, so you can only compare it + * for equality, but not for less/greater than another version. Since the creation of + * Application Load Balancer is always intended to create the first version of it, there should + * be no existing version. That's why this field must by empty of not present in that case. * * @return version */ diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateTargetPoolPayload.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateTargetPoolPayload.java index da213b8..479866a 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateTargetPoolPayload.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/UpdateTargetPoolPayload.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/test/java/cloud/stackit/sdk/alb/api/AlbApiTest.java b/services/alb/src/test/java/cloud/stackit/sdk/alb/api/AlbApiTest.java index 75406b0..a0bf798 100644 --- a/services/alb/src/test/java/cloud/stackit/sdk/alb/api/AlbApiTest.java +++ b/services/alb/src/test/java/cloud/stackit/sdk/alb/api/AlbApiTest.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/services/alb/src/test/java/cloud/stackit/sdk/alb/api/DefaultApiTest.java b/services/alb/src/test/java/cloud/stackit/sdk/alb/api/DefaultApiTest.java index 0a00493..0c92540 100644 --- a/services/alb/src/test/java/cloud/stackit/sdk/alb/api/DefaultApiTest.java +++ b/services/alb/src/test/java/cloud/stackit/sdk/alb/api/DefaultApiTest.java @@ -1,8 +1,8 @@ /* * STACKIT Application Load Balancer API - * 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 application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee. + * This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets. For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees. * - * The version of the OpenAPI document: 2beta2.0.0 + * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). From 9343b151d83353e04cb05844af8103ffac3cb342 Mon Sep 17 00:00:00 2001 From: Alexander Dahmen Date: Thu, 8 Jan 2026 08:52:34 +0100 Subject: [PATCH 2/2] Add changelogs Signed-off-by: Alexander Dahmen --- CHANGELOG.md | 8 +++++++- services/alb/CHANGELOG.md | 7 +++++++ services/alb/VERSION | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 589984c..b12cf99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Release (2025-MM-DD) +## Release (2026-MM-DD) - `core`: [v0.4.1](core/CHANGELOG.md/#v041) - **Bugfix:** Add check in `KeyFlowAuthenticator` to prevent endless loops - `iaas`: [v0.3.1](services/iaas/CHANGELOG.md#v031) @@ -11,6 +11,12 @@ - [v0.1.0](services/loadbalancer/CHANGELOG.md#v010) - Initial onboarding of STACKIT Java SDK for Load balancer service - `alb`: + - [v0.2.0](services/alb/CHANGELOG.md#v020) + - **Feature:** Switch from `v2beta` API version to `v2` version. + - **Feature:** `MaxCredentials` field added to `GetQuotaResponse` + - **Breaking change:** added `version` to LoadBalancer constructor + - **Breaking change:** renamed `exact` to `exactMatch` in Path model + - **Breaking change:** removed `pathPrefix` from Rule model - [v0.1.1](services/alb/CHANGELOG.md#v011) - Bump dependency `cloud.stackit.sdk.core` to v0.4.1 - [v0.1.0](services/alb/CHANGELOG.md#v010) diff --git a/services/alb/CHANGELOG.md b/services/alb/CHANGELOG.md index 85e6668..2973c44 100644 --- a/services/alb/CHANGELOG.md +++ b/services/alb/CHANGELOG.md @@ -1,3 +1,10 @@ +## v0.2.0 +- **Feature:** Switch from `v2beta` API version to `v2` version. +- **Feature:** `MaxCredentials` field added to `GetQuotaResponse` +- **Breaking change:** added `version` to LoadBalancer constructor +- **Breaking change:** renamed `exact` to `exactMatch` in Path model +- **Breaking change:** removed `pathPrefix` from Rule model + ## v0.1.1 - Bump dependency `cloud.stackit.sdk.core` to v0.4.1 diff --git a/services/alb/VERSION b/services/alb/VERSION index 6da28dd..341cf11 100644 --- a/services/alb/VERSION +++ b/services/alb/VERSION @@ -1 +1 @@ -0.1.1 \ No newline at end of file +0.2.0 \ No newline at end of file