From 7b10db6b2e060ef25ff201fd78ced8ce8f929987 Mon Sep 17 00:00:00 2001 From: Huaweicloud-SDK Date: Tue, 23 Apr 2024 19:55:53 +0800 Subject: [PATCH] release 0.1.92-patch source code --- CHANGELOG.md | 13 +++++++++++++ CHANGELOG_CN.md | 13 +++++++++++++ VERSION | 2 +- services/cce/v3/region/region.go | 3 +++ services/ecs/v2/model/model_server_limits.go | 2 +- 5 files changed, 31 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c47eb602b..f9c1596465 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# 0.1.92-patch 2024-04-23 + +### HuaweiCloud SDK ECS + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ShowServerLimits** + - changes of response param + - `* absolute.totalRAMUsed: int32 -> int64` + # 0.1.92 2024-04-18 ### HuaweiCloud SDK AOM diff --git a/CHANGELOG_CN.md b/CHANGELOG_CN.md index ca1d4950fa..93faf7779f 100644 --- a/CHANGELOG_CN.md +++ b/CHANGELOG_CN.md @@ -1,3 +1,16 @@ +# 0.1.92-patch 2024-04-23 + +### HuaweiCloud SDK ECS + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ShowServerLimits** + - 响应参数变更 + - `* absolute.totalRAMUsed: int32 -> int64` + # 0.1.92 2024-04-18 ### HuaweiCloud SDK AOM diff --git a/VERSION b/VERSION index 8c2abf179c..31c2683b48 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.92 +0.1.92-patch diff --git a/services/cce/v3/region/region.go b/services/cce/v3/region/region.go index 7c89cd1996..d56315ae1b 100644 --- a/services/cce/v3/region/region.go +++ b/services/cce/v3/region/region.go @@ -62,6 +62,8 @@ var ( "https://cce.eu-west-0.myhuaweicloud.com") RU_MOSCOW_1 = region.NewRegion("ru-moscow-1", "https://cce.ru-moscow-1.myhuaweicloud.com") + ME_EAST_1 = region.NewRegion("me-east-1", + "https://cce.me-east-1.myhuaweicloud.com") ) var staticFields = map[string]*region.Region{ @@ -92,6 +94,7 @@ var staticFields = map[string]*region.Region{ "my-kualalumpur-1": MY_KUALALUMPUR_1, "eu-west-0": EU_WEST_0, "ru-moscow-1": RU_MOSCOW_1, + "me-east-1": ME_EAST_1, } var provider = region.DefaultProviderChain("CCE") diff --git a/services/ecs/v2/model/model_server_limits.go b/services/ecs/v2/model/model_server_limits.go index 8a707d7996..604bf9f27d 100644 --- a/services/ecs/v2/model/model_server_limits.go +++ b/services/ecs/v2/model/model_server_limits.go @@ -58,7 +58,7 @@ type ServerLimits struct { TotalInstancesUsed int32 `json:"totalInstancesUsed"` // 当前内存使用容量(单位:MB)。 - TotalRAMUsed int32 `json:"totalRAMUsed"` + TotalRAMUsed int64 `json:"totalRAMUsed"` // 当前安全组使用个数。 TotalSecurityGroupsUsed int32 `json:"totalSecurityGroupsUsed"`