Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
## Release (2026-MM-DD)
- `alb`: [v0.5.0](services/alb/CHANGELOG.md#v050)
- **Feature (breaking change):** Introduction of multi API version support. See the GitHub discussion post for more details: https://github.com/stackitcloud/stackit-sdk-java/discussions/530
- `iaas`: [v1.2.0](services/resourcemanager/CHANGELOG.md#v120)
- **Feature (breaking change):** Introduction of multi API version support. See the GitHub discussion post for more details: https://github.com/stackitcloud/stackit-sdk-java/discussions/530
- `resourcemanager`: [v0.5.0](services/resourcemanager/CHANGELOG.md#v050)
- **Feature (breaking change):** Introduction of multi API version support. See the GitHub discussion post for more details: https://github.com/stackitcloud/stackit-sdk-java/discussions/530
- `sfs`: [v0.3.1](services/sfs/CHANGELOG.md#v031)
- Deprecate `getSchedule` and `listSchedules` methods in `SfsApi` class

## Release (2026-04-08)
- `alb`: [v0.5.0](services/alb/CHANGELOG.md#v050)
- **Feature (breaking change):** Introduction of multi API version support. See the GitHub discussion post for more details: https://github.com/stackitcloud/stackit-sdk-java/discussions/530
- `iaas`:
- [v1.0.1](services/iaas/CHANGELOG.md#v101)
- **Docs:** Extend docs of class `PortRange`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import cloud.stackit.sdk.core.KeyFlowAuthenticator;
import cloud.stackit.sdk.core.config.CoreConfiguration;
import cloud.stackit.sdk.core.exception.ApiException;
import cloud.stackit.sdk.iaas.api.IaasApi;
import cloud.stackit.sdk.iaas.model.*;
import cloud.stackit.sdk.iaas.v2api.api.IaasApi;
import cloud.stackit.sdk.iaas.v2api.model.*;
import java.io.IOException;
import java.util.UUID;
import okhttp3.OkHttpClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cloud.stackit.sdk.iaas.examples;

import cloud.stackit.sdk.core.exception.ApiException;
import cloud.stackit.sdk.iaas.api.IaasApi;
import cloud.stackit.sdk.iaas.model.*;
import cloud.stackit.sdk.iaas.v2api.api.IaasApi;
import cloud.stackit.sdk.iaas.v2api.model.*;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cloud.stackit.sdk.serverbackup.examples;

import cloud.stackit.sdk.core.exception.ApiException;
import cloud.stackit.sdk.iaas.api.IaasApi;
import cloud.stackit.sdk.iaas.model.*;
import cloud.stackit.sdk.iaas.v2api.api.IaasApi;
import cloud.stackit.sdk.iaas.v2api.model.*;
import cloud.stackit.sdk.serverbackup.api.ServerBackupApi;
import cloud.stackit.sdk.serverbackup.model.*;
import cloud.stackit.sdk.serverbackup.model.Backup;
Expand Down
3 changes: 3 additions & 0 deletions services/iaas/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v1.2.0
- **Feature (breaking change):** Introduction of multi API version support. See the GitHub discussion post for more details: https://github.com/stackitcloud/stackit-sdk-java/discussions/530

## v1.1.0
- **Feature:** Add `cascade` parameter to `deleteVolume` methods in `DefaultApi` / `IaasApi` class
- **Feature:** Add methods for new attribute `configDrive` in `CreateServerPayload` and `Server` class
Expand Down
6 changes: 0 additions & 6 deletions services/iaas/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# STACKIT Java SDK for STACKIT IaaS API

- API version: 2

This API allows you to create and modify IaaS resources.

For more information, please visit [https://support.stackit.cloud/servicedesk](https://support.stackit.cloud/servicedesk)

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.

## Installation from Maven Central (recommended)
Expand Down
2 changes: 1 addition & 1 deletion services/iaas/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* STACKIT IaaS API
* This API is deprecated. It will be retired on 01.03.2027. Please use the STACKIT IaaS API V2 instead.
*
* The version of the OpenAPI document: 1
* Contact: stackit-iaas@mail.schwarz
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

package cloud.stackit.sdk.iaas.v1api;

import cloud.stackit.sdk.core.exception.ApiException;
import java.util.List;
import java.util.Map;

/**
* Callback for asynchronous API call.
*
* @param <T> The return type
*/
public interface ApiCallback<T> {
/**
* This is called when the API call fails.
*
* @param e The exception causing the failure
* @param statusCode Status code of the response if available, otherwise it would be 0
* @param responseHeaders Headers of the response if available, otherwise it would be null
*/
void onFailure(ApiException e, int statusCode, Map<String, List<String>> responseHeaders);

/**
* This is called when the API call succeeded.
*
* @param result The result deserialized from response
* @param statusCode Status code of the response
* @param responseHeaders Headers of the response
*/
void onSuccess(T result, int statusCode, Map<String, List<String>> responseHeaders);

/**
* This is called when the API upload processing.
*
* @param bytesWritten bytes Written
* @param contentLength content length of request body
* @param done write end
*/
void onUploadProgress(long bytesWritten, long contentLength, boolean done);

/**
* This is called when the API download processing.
*
* @param bytesRead bytes Read
* @param contentLength content length of the response
* @param done Read end
*/
void onDownloadProgress(long bytesRead, long contentLength, boolean done);
}
Loading