From 8059b013bf8acae4e1077dfd9bc1f72d31dad473 Mon Sep 17 00:00:00 2001 From: stackit-pipeline <142982727+stackit-pipeline@users.noreply.github.com> Date: Tue, 28 May 2024 11:54:43 +0200 Subject: [PATCH] Generator: Update SDK /services/logme (#543) * Generate logme * Update CHANGELOG --------- Co-authored-by: vicentepinto98 --- CHANGELOG.md | 3 +++ services/logme/CHANGELOG.md | 5 +++++ services/logme/model_get_metrics_response.go | 8 ++++++++ services/logme/model_metrics.go | 16 ---------------- 4 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 services/logme/model_metrics.go diff --git a/CHANGELOG.md b/CHANGELOG.md index c2796151..a400d88a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,9 @@ - **Breaking change:** Renamed data types: - `V1Network` is now `Network` - `V1LoginKubeConfig` is now `LoginKubeConfig` +- `logme`: [v0.15.0](services/logme/CHANGELOG.md#v0150-2024-05-28) + - **Feature**: `GetMetricsResponse` has new fields: `Load1`, `Load15`, `Load5`, `OpenSearchDashboardUrl` + - **Breaking change**: Deleted unused data type ## Release (2024-05-22) diff --git a/services/logme/CHANGELOG.md b/services/logme/CHANGELOG.md index 4d42e5d8..0d2aec92 100644 --- a/services/logme/CHANGELOG.md +++ b/services/logme/CHANGELOG.md @@ -1,3 +1,8 @@ +## v0.15.0 (2024-05-28) + +- **Feature**: `GetMetricsResponse` has new fields: `Load1`, `Load15`, `Load5`, `OpenSearchDashboardUrl` +- **Breaking change**: Deleted unused data type + ## v0.14.0 (2024-05-13) - **Feature**: New method `GetMetrics` to get the latest metrics for cpu load, memory and disk usage for an instance diff --git a/services/logme/model_get_metrics_response.go b/services/logme/model_get_metrics_response.go index b2f1db5a..31e511c0 100644 --- a/services/logme/model_get_metrics_response.go +++ b/services/logme/model_get_metrics_response.go @@ -25,10 +25,18 @@ type GetMetricsResponse struct { // REQUIRED DiskPersistentUsed *int64 `json:"diskPersistentUsed"` // REQUIRED + Load1 *int64 `json:"load1"` + // REQUIRED + Load15 *int64 `json:"load15"` + // REQUIRED + Load5 *int64 `json:"load5"` + // REQUIRED MemoryTotal *int64 `json:"memoryTotal"` // REQUIRED MemoryUsed *int64 `json:"memoryUsed"` // REQUIRED + OpensearchDashboardURL *string `json:"opensearchDashboardURL"` + // REQUIRED ParachuteDiskEphemeralActivated *int64 `json:"parachuteDiskEphemeralActivated"` // REQUIRED ParachuteDiskEphemeralTotal *int64 `json:"parachuteDiskEphemeralTotal"` diff --git a/services/logme/model_metrics.go b/services/logme/model_metrics.go deleted file mode 100644 index 44160af5..00000000 --- a/services/logme/model_metrics.go +++ /dev/null @@ -1,16 +0,0 @@ -/* -STACKIT LogMe API - -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. - -API version: 1.1.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package logme - -type Metrics struct { - // REQUIRED - Metrics *[]GetMetricsResponse `json:"metrics"` -}