Skip to content

Commit ba1976d

Browse files
release 3.1.113 source code
1 parent bbcf151 commit ba1976d

File tree

78 files changed

+6846
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+6846
-4
lines changed

CHANGELOG.md

+66
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,69 @@
1+
# 3.1.113 2024-12-05
2+
3+
### HuaweiCloud SDK CTS
4+
5+
- _API Version_
6+
- V3
7+
- _Features_
8+
- None
9+
- _Bug Fix_
10+
- None
11+
- _Change_
12+
- **ListTraces**
13+
- changes of response param
14+
- `+ traces.read_only`
15+
- `+ traces.operation_id`
16+
17+
### HuaweiCloud SDK DDS
18+
19+
- _API Version_
20+
- V3
21+
- _Features_
22+
- None
23+
- _Bug Fix_
24+
- None
25+
- _Change_
26+
- **ShowInstanceConfigurationModifyHistory**
27+
- changes of request param
28+
- `+ entity_id`
29+
30+
### HuaweiCloud SDK DRS
31+
32+
- _API Version_
33+
- V5
34+
- _Features_
35+
- None
36+
- _Bug Fix_
37+
- None
38+
- _Change_
39+
- **ListAsyncJobDetail**
40+
- changes of response param
41+
- `+ jobs.compare_result.data_compare_task_list.dynamic_compare_delay`
42+
- **ShowJobDetail**
43+
- changes of response param
44+
- `+ job.compare_result.data_compare_task_list.dynamic_compare_delay`
45+
46+
### HuaweiCloud SDK GaussDBforNoSQL
47+
48+
- _API Version_
49+
- V3
50+
- _Features_
51+
- Support the following APIs:
52+
- `SwitchOver`
53+
- `BatchDeleteManualBackup`
54+
- `ShowDisasterRecoverySettings`
55+
- `SetDisasterRecoverySettings`
56+
- `ShowRedisHotKeys`
57+
- `ShowRedisDisabledCommands`
58+
- `SaveRedisDisabledCommands`
59+
- `DeleteRedisDisabledCommands`
60+
- `ListInstanceSessions`
61+
- `ClearInstanceSessions`
62+
- _Bug Fix_
63+
- None
64+
- _Change_
65+
- None
66+
167
# 3.1.112 2024-11-28
268

369
### HuaweiCloud SDK CBR

CHANGELOG_CN.md

+66
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,69 @@
1+
# 3.1.113 2024-12-05
2+
3+
### HuaweiCloud SDK CTS
4+
5+
- _接口版本_
6+
- V3
7+
- _新增特性_
8+
- 无
9+
- _解决问题_
10+
- 无
11+
- _特性变更_
12+
- **ListTraces**
13+
- 响应参数变更
14+
- `+ traces.read_only`
15+
- `+ traces.operation_id`
16+
17+
### HuaweiCloud SDK DDS
18+
19+
- _接口版本_
20+
- V3
21+
- _新增特性_
22+
- 无
23+
- _解决问题_
24+
- 无
25+
- _特性变更_
26+
- **ShowInstanceConfigurationModifyHistory**
27+
- 请求参数变更
28+
- `+ entity_id`
29+
30+
### HuaweiCloud SDK DRS
31+
32+
- _接口版本_
33+
- V5
34+
- _新增特性_
35+
- 无
36+
- _解决问题_
37+
- 无
38+
- _特性变更_
39+
- **ListAsyncJobDetail**
40+
- 响应参数变更
41+
- `+ jobs.compare_result.data_compare_task_list.dynamic_compare_delay`
42+
- **ShowJobDetail**
43+
- 响应参数变更
44+
- `+ job.compare_result.data_compare_task_list.dynamic_compare_delay`
45+
46+
### HuaweiCloud SDK GaussDBforNoSQL
47+
48+
- _接口版本_
49+
- V3
50+
- _新增特性_
51+
- 支持以下接口:
52+
- `SwitchOver`
53+
- `BatchDeleteManualBackup`
54+
- `ShowDisasterRecoverySettings`
55+
- `SetDisasterRecoverySettings`
56+
- `ShowRedisHotKeys`
57+
- `ShowRedisDisabledCommands`
58+
- `SaveRedisDisabledCommands`
59+
- `DeleteRedisDisabledCommands`
60+
- `ListInstanceSessions`
61+
- `ClearInstanceSessions`
62+
- _解决问题_
63+
- 无
64+
- _特性变更_
65+
- 无
66+
167
# 3.1.112 2024-11-28
268

369
### HuaweiCloud SDK CBR

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.112
1+
3.1.113

cts/include/huaweicloud/cts/v3/model/Traces.h

+22
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,24 @@ class HUAWEICLOUD_CTS_V3_EXPORT Traces
246246
void unsetresourceAccountId();
247247
void setResourceAccountId(const std::string& value);
248248

249+
/// <summary>
250+
/// 标识用户请求是不是只读。
251+
/// </summary>
252+
253+
bool isReadOnly() const;
254+
bool readOnlyIsSet() const;
255+
void unsetreadOnly();
256+
void setReadOnly(bool value);
257+
258+
/// <summary>
259+
/// 记录事件对应的操作ID。
260+
/// </summary>
261+
262+
std::string getOperationId() const;
263+
bool operationIdIsSet() const;
264+
void unsetoperationId();
265+
void setOperationId(const std::string& value);
266+
249267

250268
protected:
251269
std::string resourceId_;
@@ -294,6 +312,10 @@ class HUAWEICLOUD_CTS_V3_EXPORT Traces
294312
bool enterpriseProjectIdIsSet_;
295313
std::string resourceAccountId_;
296314
bool resourceAccountIdIsSet_;
315+
bool readOnly_;
316+
bool readOnlyIsSet_;
317+
std::string operationId_;
318+
bool operationIdIsSet_;
297319

298320
};
299321

cts/src/v3/model/Traces.cpp

+70
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ Traces::Traces()
5757
enterpriseProjectIdIsSet_ = false;
5858
resourceAccountId_ = "";
5959
resourceAccountIdIsSet_ = false;
60+
readOnly_ = false;
61+
readOnlyIsSet_ = false;
62+
operationId_ = "";
63+
operationIdIsSet_ = false;
6064
}
6165

6266
Traces::~Traces() = default;
@@ -138,6 +142,12 @@ web::json::value Traces::toJson() const
138142
if(resourceAccountIdIsSet_) {
139143
val[utility::conversions::to_string_t("resource_account_id")] = ModelBase::toJson(resourceAccountId_);
140144
}
145+
if(readOnlyIsSet_) {
146+
val[utility::conversions::to_string_t("read_only")] = ModelBase::toJson(readOnly_);
147+
}
148+
if(operationIdIsSet_) {
149+
val[utility::conversions::to_string_t("operation_id")] = ModelBase::toJson(operationId_);
150+
}
141151

142152
return val;
143153
}
@@ -352,6 +362,24 @@ bool Traces::fromJson(const web::json::value& val)
352362
setResourceAccountId(refVal);
353363
}
354364
}
365+
if(val.has_field(utility::conversions::to_string_t("read_only"))) {
366+
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("read_only"));
367+
if(!fieldValue.is_null())
368+
{
369+
bool refVal;
370+
ok &= ModelBase::fromJson(fieldValue, refVal);
371+
setReadOnly(refVal);
372+
}
373+
}
374+
if(val.has_field(utility::conversions::to_string_t("operation_id"))) {
375+
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("operation_id"));
376+
if(!fieldValue.is_null())
377+
{
378+
std::string refVal;
379+
ok &= ModelBase::fromJson(fieldValue, refVal);
380+
setOperationId(refVal);
381+
}
382+
}
355383
return ok;
356384
}
357385

@@ -839,6 +867,48 @@ void Traces::unsetresourceAccountId()
839867
resourceAccountIdIsSet_ = false;
840868
}
841869

870+
bool Traces::isReadOnly() const
871+
{
872+
return readOnly_;
873+
}
874+
875+
void Traces::setReadOnly(bool value)
876+
{
877+
readOnly_ = value;
878+
readOnlyIsSet_ = true;
879+
}
880+
881+
bool Traces::readOnlyIsSet() const
882+
{
883+
return readOnlyIsSet_;
884+
}
885+
886+
void Traces::unsetreadOnly()
887+
{
888+
readOnlyIsSet_ = false;
889+
}
890+
891+
std::string Traces::getOperationId() const
892+
{
893+
return operationId_;
894+
}
895+
896+
void Traces::setOperationId(const std::string& value)
897+
{
898+
operationId_ = value;
899+
operationIdIsSet_ = true;
900+
}
901+
902+
bool Traces::operationIdIsSet() const
903+
{
904+
return operationIdIsSet_;
905+
}
906+
907+
void Traces::unsetoperationId()
908+
{
909+
operationIdIsSet_ = false;
910+
}
911+
842912
}
843913
}
844914
}

dds/include/huaweicloud/dds/v3/model/ShowInstanceConfigurationModifyHistoryRequest.h

+11
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ class HUAWEICLOUD_DDS_V3_EXPORT ShowInstanceConfigurationModifyHistoryRequest
4747
void unsetinstanceId();
4848
void setInstanceId(const std::string& value);
4949

50+
/// <summary>
51+
/// 实例ID或组ID或节点ID。可以调用“查询实例列表和详情”接口获取。如果未申请实例,可以调用“创建实例”接口创建。
52+
/// </summary>
53+
54+
std::string getEntityId() const;
55+
bool entityIdIsSet() const;
56+
void unsetentityId();
57+
void setEntityId(const std::string& value);
58+
5059
/// <summary>
5160
/// 索引位置,偏移量。 从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询)。 取值必须为数字,不能为负数。
5261
/// </summary>
@@ -69,6 +78,8 @@ class HUAWEICLOUD_DDS_V3_EXPORT ShowInstanceConfigurationModifyHistoryRequest
6978
protected:
7079
std::string instanceId_;
7180
bool instanceIdIsSet_;
81+
std::string entityId_;
82+
bool entityIdIsSet_;
7283
int32_t offset_;
7384
bool offsetIsSet_;
7485
int32_t limit_;

dds/src/v3/DdsClient.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -3601,6 +3601,9 @@ std::shared_ptr<ShowInstanceConfigurationModifyHistoryResponse> DdsClient::showI
36013601
std::string contentType = getContentType("application/json", isJson, isMultiPart, isBson);
36023602
localVarHeaderParams["Content-Type"] = contentType;
36033603

3604+
if (request.entityIdIsSet()) {
3605+
localVarQueryParams["entity_id"] = parameterToString(request.getEntityId());
3606+
}
36043607
if (request.offsetIsSet()) {
36053608
localVarQueryParams["offset"] = parameterToString(request.getOffset());
36063609
}

dds/src/v3/DdsMeta.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,9 @@ HttpRequestDef DdsMeta::genRequestDefForShowEntityConfiguration() {
996996

997997
HttpRequestDef DdsMeta::genRequestDefForShowInstanceConfigurationModifyHistory() {
998998
HttpRequestDef reqDefBuilder;
999+
reqDefBuilder.withRequestField(FieldDef().withName("EntityId")
1000+
.withJsonTag("entity_id")
1001+
.withLocationType(Query_));
9991002
reqDefBuilder.withRequestField(FieldDef().withName("Offset")
10001003
.withJsonTag("offset")
10011004
.withLocationType(Query_));

dds/src/v3/model/ShowInstanceConfigurationModifyHistoryRequest.cpp

+35
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ ShowInstanceConfigurationModifyHistoryRequest::ShowInstanceConfigurationModifyHi
1414
{
1515
instanceId_ = "";
1616
instanceIdIsSet_ = false;
17+
entityId_ = "";
18+
entityIdIsSet_ = false;
1719
offset_ = 0;
1820
offsetIsSet_ = false;
1921
limit_ = 0;
@@ -33,6 +35,9 @@ web::json::value ShowInstanceConfigurationModifyHistoryRequest::toJson() const
3335
if(instanceIdIsSet_) {
3436
val[utility::conversions::to_string_t("instance_id")] = ModelBase::toJson(instanceId_);
3537
}
38+
if(entityIdIsSet_) {
39+
val[utility::conversions::to_string_t("entity_id")] = ModelBase::toJson(entityId_);
40+
}
3641
if(offsetIsSet_) {
3742
val[utility::conversions::to_string_t("offset")] = ModelBase::toJson(offset_);
3843
}
@@ -55,6 +60,15 @@ bool ShowInstanceConfigurationModifyHistoryRequest::fromJson(const web::json::va
5560
setInstanceId(refVal);
5661
}
5762
}
63+
if(val.has_field(utility::conversions::to_string_t("entity_id"))) {
64+
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("entity_id"));
65+
if(!fieldValue.is_null())
66+
{
67+
std::string refVal;
68+
ok &= ModelBase::fromJson(fieldValue, refVal);
69+
setEntityId(refVal);
70+
}
71+
}
5872
if(val.has_field(utility::conversions::to_string_t("offset"))) {
5973
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("offset"));
6074
if(!fieldValue.is_null())
@@ -98,6 +112,27 @@ void ShowInstanceConfigurationModifyHistoryRequest::unsetinstanceId()
98112
instanceIdIsSet_ = false;
99113
}
100114

115+
std::string ShowInstanceConfigurationModifyHistoryRequest::getEntityId() const
116+
{
117+
return entityId_;
118+
}
119+
120+
void ShowInstanceConfigurationModifyHistoryRequest::setEntityId(const std::string& value)
121+
{
122+
entityId_ = value;
123+
entityIdIsSet_ = true;
124+
}
125+
126+
bool ShowInstanceConfigurationModifyHistoryRequest::entityIdIsSet() const
127+
{
128+
return entityIdIsSet_;
129+
}
130+
131+
void ShowInstanceConfigurationModifyHistoryRequest::unsetentityId()
132+
{
133+
entityIdIsSet_ = false;
134+
}
135+
101136
int32_t ShowInstanceConfigurationModifyHistoryRequest::getOffset() const
102137
{
103138
return offset_;

drs/include/huaweicloud/drs/v3/DrsRegion.h

+4
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ class HUAWEICLOUD_DRS_V3_EXPORT DrsRegion {
126126
{
127127
"https://drs.ru-northwest-2.myhuaweicloud.com"
128128
});
129+
regions["ap-southeast-5"] = Region("ap-southeast-5",
130+
{
131+
"https://drs.ap-southeast-5.myhuaweicloud.com"
132+
});
129133
return regions;
130134
}
131135
private:

0 commit comments

Comments
 (0)