From f018b43bf3dc53687a1ded762e19543d6e100c20 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Mon, 8 Sep 2025 13:45:46 +0000 Subject: [PATCH] Generate iaas --- services/iaas/README.md | 70 +++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/services/iaas/README.md b/services/iaas/README.md index d6c61a3..2c1410b 100644 --- a/services/iaas/README.md +++ b/services/iaas/README.md @@ -1,6 +1,4 @@ -# stackit-sdk-iaas - -IaaS-API +# STACKIT Java SDK for IaaS-API - API version: 1 @@ -10,37 +8,56 @@ For more information, please visit [https://support.stackit.cloud/servicedesk](h 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) -## Requirements +The release artifacts for this SDK submodule are available on [Maven Central](https://central.sonatype.com/artifact/cloud.stackit.sdk/iaas). -Building the API client library requires: -1. Java SDK (version 11 to 21 should be supported) installed on your system +### Maven users -## Installation +Add this dependency to your project's POM: -To install the API client library to your local Maven repository, simply execute: +```xml + + cloud.stackit.sdk + iaas + + compile + +``` -```shell -./gradlew publishToMavenLocal +### Gradle users + +Add this dependency to your project's build file: + +```groovy + repositories { + mavenCentral() + } + + dependencies { + implementation "cloud.stackit.sdk:iaas:" + } ``` -To deploy it to a remote Maven repository instead, configure the settings of the repository and execute: +## Installation from local build + +Building the API client library requires: +1. Java SDK (version 11 to 21 should be supported) installed on your system + +To install the API client library to your local Maven repository, simply execute: ```shell -# TODO: follow up story -# ./gradlew publishToMavenCentral +./gradlew services:iaas:publishToMavenLocal ``` -Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information. - ### Maven users Add this dependency to your project's POM: ```xml - cloud.stackit - stackit-sdk-iaas + cloud.stackit.sdk + iaas compile @@ -52,33 +69,18 @@ Add this dependency to your project's build file: ```groovy repositories { - mavenCentral() // Needed if the 'stackit-sdk-iaas' jar has been published to maven central. - mavenLocal() // Needed if the 'stackit-sdk-iaas' jar has been published to the local maven repo. + mavenLocal() } dependencies { - implementation "cloud.stackit:stackit-sdk-iaas:" + implementation "cloud.stackit.sdk:iaas:" } ``` -### Others - -At first generate the JAR by executing: - -```shell -mvn clean package -``` - -Then manually install the following JARs: - -- `target/stackit-sdk-iaas-.jar` -- `target/lib/*.jar` - ## Getting Started See the [iaas examples](https://github.com/stackitcloud/stackit-sdk-java/tree/main/examples/iaas/src/main/java/cloud/stackit/sdk/iaas/examples). - ## Recommendation It's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues.