diff --git a/CHANGELOG.md b/CHANGELOG.md
index b232b2e2a..1ada0d113 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,69 @@
+# 3.1.113 2024-12-05
+
+### HuaweiCloud SDK CTS
+
+- _API Version_
+ - V3
+- _Features_
+ - None
+- _Bug Fix_
+ - None
+- _Change_
+ - **ListTraces**
+ - changes of response param
+ - `+ traces.read_only`
+ - `+ traces.operation_id`
+
+### HuaweiCloud SDK DDS
+
+- _API Version_
+ - V3
+- _Features_
+ - None
+- _Bug Fix_
+ - None
+- _Change_
+ - **ShowInstanceConfigurationModifyHistory**
+ - changes of request param
+ - `+ entity_id`
+
+### HuaweiCloud SDK DRS
+
+- _API Version_
+ - V5
+- _Features_
+ - None
+- _Bug Fix_
+ - None
+- _Change_
+ - **ListAsyncJobDetail**
+ - changes of response param
+ - `+ jobs.compare_result.data_compare_task_list.dynamic_compare_delay`
+ - **ShowJobDetail**
+ - changes of response param
+ - `+ job.compare_result.data_compare_task_list.dynamic_compare_delay`
+
+### HuaweiCloud SDK GaussDBforNoSQL
+
+- _API Version_
+ - V3
+- _Features_
+ - Support the following APIs:
+ - `SwitchOver`
+ - `BatchDeleteManualBackup`
+ - `ShowDisasterRecoverySettings`
+ - `SetDisasterRecoverySettings`
+ - `ShowRedisHotKeys`
+ - `ShowRedisDisabledCommands`
+ - `SaveRedisDisabledCommands`
+ - `DeleteRedisDisabledCommands`
+ - `ListInstanceSessions`
+ - `ClearInstanceSessions`
+- _Bug Fix_
+ - None
+- _Change_
+ - None
+
# 3.1.112 2024-11-28
### HuaweiCloud SDK CBR
diff --git a/CHANGELOG_CN.md b/CHANGELOG_CN.md
index 635abebb8..b221ef7bf 100644
--- a/CHANGELOG_CN.md
+++ b/CHANGELOG_CN.md
@@ -1,3 +1,69 @@
+# 3.1.113 2024-12-05
+
+### HuaweiCloud SDK CTS
+
+- _接口版本_
+ - V3
+- _新增特性_
+ - 无
+- _解决问题_
+ - 无
+- _特性变更_
+ - **ListTraces**
+ - 响应参数变更
+ - `+ traces.read_only`
+ - `+ traces.operation_id`
+
+### HuaweiCloud SDK DDS
+
+- _接口版本_
+ - V3
+- _新增特性_
+ - 无
+- _解决问题_
+ - 无
+- _特性变更_
+ - **ShowInstanceConfigurationModifyHistory**
+ - 请求参数变更
+ - `+ entity_id`
+
+### HuaweiCloud SDK DRS
+
+- _接口版本_
+ - V5
+- _新增特性_
+ - 无
+- _解决问题_
+ - 无
+- _特性变更_
+ - **ListAsyncJobDetail**
+ - 响应参数变更
+ - `+ jobs.compare_result.data_compare_task_list.dynamic_compare_delay`
+ - **ShowJobDetail**
+ - 响应参数变更
+ - `+ job.compare_result.data_compare_task_list.dynamic_compare_delay`
+
+### HuaweiCloud SDK GaussDBforNoSQL
+
+- _接口版本_
+ - V3
+- _新增特性_
+ - 支持以下接口:
+ - `SwitchOver`
+ - `BatchDeleteManualBackup`
+ - `ShowDisasterRecoverySettings`
+ - `SetDisasterRecoverySettings`
+ - `ShowRedisHotKeys`
+ - `ShowRedisDisabledCommands`
+ - `SaveRedisDisabledCommands`
+ - `DeleteRedisDisabledCommands`
+ - `ListInstanceSessions`
+ - `ClearInstanceSessions`
+- _解决问题_
+ - 无
+- _特性变更_
+ - 无
+
# 3.1.112 2024-11-28
### HuaweiCloud SDK CBR
diff --git a/VERSION b/VERSION
index 4643dda91..71ba69ad2 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.1.112
+3.1.113
diff --git a/cts/include/huaweicloud/cts/v3/model/Traces.h b/cts/include/huaweicloud/cts/v3/model/Traces.h
index 81f47ace1..f456a3984 100644
--- a/cts/include/huaweicloud/cts/v3/model/Traces.h
+++ b/cts/include/huaweicloud/cts/v3/model/Traces.h
@@ -246,6 +246,24 @@ class HUAWEICLOUD_CTS_V3_EXPORT Traces
void unsetresourceAccountId();
void setResourceAccountId(const std::string& value);
+ ///
+ /// 标识用户请求是不是只读。
+ ///
+
+ bool isReadOnly() const;
+ bool readOnlyIsSet() const;
+ void unsetreadOnly();
+ void setReadOnly(bool value);
+
+ ///
+ /// 记录事件对应的操作ID。
+ ///
+
+ std::string getOperationId() const;
+ bool operationIdIsSet() const;
+ void unsetoperationId();
+ void setOperationId(const std::string& value);
+
protected:
std::string resourceId_;
@@ -294,6 +312,10 @@ class HUAWEICLOUD_CTS_V3_EXPORT Traces
bool enterpriseProjectIdIsSet_;
std::string resourceAccountId_;
bool resourceAccountIdIsSet_;
+ bool readOnly_;
+ bool readOnlyIsSet_;
+ std::string operationId_;
+ bool operationIdIsSet_;
};
diff --git a/cts/src/v3/model/Traces.cpp b/cts/src/v3/model/Traces.cpp
index f2a3c0a32..820cbf02b 100644
--- a/cts/src/v3/model/Traces.cpp
+++ b/cts/src/v3/model/Traces.cpp
@@ -57,6 +57,10 @@ Traces::Traces()
enterpriseProjectIdIsSet_ = false;
resourceAccountId_ = "";
resourceAccountIdIsSet_ = false;
+ readOnly_ = false;
+ readOnlyIsSet_ = false;
+ operationId_ = "";
+ operationIdIsSet_ = false;
}
Traces::~Traces() = default;
@@ -138,6 +142,12 @@ web::json::value Traces::toJson() const
if(resourceAccountIdIsSet_) {
val[utility::conversions::to_string_t("resource_account_id")] = ModelBase::toJson(resourceAccountId_);
}
+ if(readOnlyIsSet_) {
+ val[utility::conversions::to_string_t("read_only")] = ModelBase::toJson(readOnly_);
+ }
+ if(operationIdIsSet_) {
+ val[utility::conversions::to_string_t("operation_id")] = ModelBase::toJson(operationId_);
+ }
return val;
}
@@ -352,6 +362,24 @@ bool Traces::fromJson(const web::json::value& val)
setResourceAccountId(refVal);
}
}
+ if(val.has_field(utility::conversions::to_string_t("read_only"))) {
+ const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("read_only"));
+ if(!fieldValue.is_null())
+ {
+ bool refVal;
+ ok &= ModelBase::fromJson(fieldValue, refVal);
+ setReadOnly(refVal);
+ }
+ }
+ if(val.has_field(utility::conversions::to_string_t("operation_id"))) {
+ const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("operation_id"));
+ if(!fieldValue.is_null())
+ {
+ std::string refVal;
+ ok &= ModelBase::fromJson(fieldValue, refVal);
+ setOperationId(refVal);
+ }
+ }
return ok;
}
@@ -839,6 +867,48 @@ void Traces::unsetresourceAccountId()
resourceAccountIdIsSet_ = false;
}
+bool Traces::isReadOnly() const
+{
+ return readOnly_;
+}
+
+void Traces::setReadOnly(bool value)
+{
+ readOnly_ = value;
+ readOnlyIsSet_ = true;
+}
+
+bool Traces::readOnlyIsSet() const
+{
+ return readOnlyIsSet_;
+}
+
+void Traces::unsetreadOnly()
+{
+ readOnlyIsSet_ = false;
+}
+
+std::string Traces::getOperationId() const
+{
+ return operationId_;
+}
+
+void Traces::setOperationId(const std::string& value)
+{
+ operationId_ = value;
+ operationIdIsSet_ = true;
+}
+
+bool Traces::operationIdIsSet() const
+{
+ return operationIdIsSet_;
+}
+
+void Traces::unsetoperationId()
+{
+ operationIdIsSet_ = false;
+}
+
}
}
}
diff --git a/dds/include/huaweicloud/dds/v3/model/ShowInstanceConfigurationModifyHistoryRequest.h b/dds/include/huaweicloud/dds/v3/model/ShowInstanceConfigurationModifyHistoryRequest.h
index bfac498f0..07fb573ea 100644
--- a/dds/include/huaweicloud/dds/v3/model/ShowInstanceConfigurationModifyHistoryRequest.h
+++ b/dds/include/huaweicloud/dds/v3/model/ShowInstanceConfigurationModifyHistoryRequest.h
@@ -47,6 +47,15 @@ class HUAWEICLOUD_DDS_V3_EXPORT ShowInstanceConfigurationModifyHistoryRequest
void unsetinstanceId();
void setInstanceId(const std::string& value);
+ ///
+ /// 实例ID或组ID或节点ID。可以调用“查询实例列表和详情”接口获取。如果未申请实例,可以调用“创建实例”接口创建。
+ ///
+
+ std::string getEntityId() const;
+ bool entityIdIsSet() const;
+ void unsetentityId();
+ void setEntityId(const std::string& value);
+
///
/// 索引位置,偏移量。 从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询)。 取值必须为数字,不能为负数。
///
@@ -69,6 +78,8 @@ class HUAWEICLOUD_DDS_V3_EXPORT ShowInstanceConfigurationModifyHistoryRequest
protected:
std::string instanceId_;
bool instanceIdIsSet_;
+ std::string entityId_;
+ bool entityIdIsSet_;
int32_t offset_;
bool offsetIsSet_;
int32_t limit_;
diff --git a/dds/src/v3/DdsClient.cpp b/dds/src/v3/DdsClient.cpp
index b47ec8651..323b57ff5 100644
--- a/dds/src/v3/DdsClient.cpp
+++ b/dds/src/v3/DdsClient.cpp
@@ -3601,6 +3601,9 @@ std::shared_ptr DdsClient::showI
std::string contentType = getContentType("application/json", isJson, isMultiPart, isBson);
localVarHeaderParams["Content-Type"] = contentType;
+ if (request.entityIdIsSet()) {
+ localVarQueryParams["entity_id"] = parameterToString(request.getEntityId());
+ }
if (request.offsetIsSet()) {
localVarQueryParams["offset"] = parameterToString(request.getOffset());
}
diff --git a/dds/src/v3/DdsMeta.cpp b/dds/src/v3/DdsMeta.cpp
index 65495f585..2e45ada29 100644
--- a/dds/src/v3/DdsMeta.cpp
+++ b/dds/src/v3/DdsMeta.cpp
@@ -996,6 +996,9 @@ HttpRequestDef DdsMeta::genRequestDefForShowEntityConfiguration() {
HttpRequestDef DdsMeta::genRequestDefForShowInstanceConfigurationModifyHistory() {
HttpRequestDef reqDefBuilder;
+ reqDefBuilder.withRequestField(FieldDef().withName("EntityId")
+ .withJsonTag("entity_id")
+ .withLocationType(Query_));
reqDefBuilder.withRequestField(FieldDef().withName("Offset")
.withJsonTag("offset")
.withLocationType(Query_));
diff --git a/dds/src/v3/model/ShowInstanceConfigurationModifyHistoryRequest.cpp b/dds/src/v3/model/ShowInstanceConfigurationModifyHistoryRequest.cpp
index a2592fe0c..b244e6486 100644
--- a/dds/src/v3/model/ShowInstanceConfigurationModifyHistoryRequest.cpp
+++ b/dds/src/v3/model/ShowInstanceConfigurationModifyHistoryRequest.cpp
@@ -14,6 +14,8 @@ ShowInstanceConfigurationModifyHistoryRequest::ShowInstanceConfigurationModifyHi
{
instanceId_ = "";
instanceIdIsSet_ = false;
+ entityId_ = "";
+ entityIdIsSet_ = false;
offset_ = 0;
offsetIsSet_ = false;
limit_ = 0;
@@ -33,6 +35,9 @@ web::json::value ShowInstanceConfigurationModifyHistoryRequest::toJson() const
if(instanceIdIsSet_) {
val[utility::conversions::to_string_t("instance_id")] = ModelBase::toJson(instanceId_);
}
+ if(entityIdIsSet_) {
+ val[utility::conversions::to_string_t("entity_id")] = ModelBase::toJson(entityId_);
+ }
if(offsetIsSet_) {
val[utility::conversions::to_string_t("offset")] = ModelBase::toJson(offset_);
}
@@ -55,6 +60,15 @@ bool ShowInstanceConfigurationModifyHistoryRequest::fromJson(const web::json::va
setInstanceId(refVal);
}
}
+ if(val.has_field(utility::conversions::to_string_t("entity_id"))) {
+ const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("entity_id"));
+ if(!fieldValue.is_null())
+ {
+ std::string refVal;
+ ok &= ModelBase::fromJson(fieldValue, refVal);
+ setEntityId(refVal);
+ }
+ }
if(val.has_field(utility::conversions::to_string_t("offset"))) {
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("offset"));
if(!fieldValue.is_null())
@@ -98,6 +112,27 @@ void ShowInstanceConfigurationModifyHistoryRequest::unsetinstanceId()
instanceIdIsSet_ = false;
}
+std::string ShowInstanceConfigurationModifyHistoryRequest::getEntityId() const
+{
+ return entityId_;
+}
+
+void ShowInstanceConfigurationModifyHistoryRequest::setEntityId(const std::string& value)
+{
+ entityId_ = value;
+ entityIdIsSet_ = true;
+}
+
+bool ShowInstanceConfigurationModifyHistoryRequest::entityIdIsSet() const
+{
+ return entityIdIsSet_;
+}
+
+void ShowInstanceConfigurationModifyHistoryRequest::unsetentityId()
+{
+ entityIdIsSet_ = false;
+}
+
int32_t ShowInstanceConfigurationModifyHistoryRequest::getOffset() const
{
return offset_;
diff --git a/drs/include/huaweicloud/drs/v3/DrsRegion.h b/drs/include/huaweicloud/drs/v3/DrsRegion.h
index 8c6aa794b..0c598657e 100644
--- a/drs/include/huaweicloud/drs/v3/DrsRegion.h
+++ b/drs/include/huaweicloud/drs/v3/DrsRegion.h
@@ -126,6 +126,10 @@ class HUAWEICLOUD_DRS_V3_EXPORT DrsRegion {
{
"https://drs.ru-northwest-2.myhuaweicloud.com"
});
+ regions["ap-southeast-5"] = Region("ap-southeast-5",
+ {
+ "https://drs.ap-southeast-5.myhuaweicloud.com"
+ });
return regions;
}
private:
diff --git a/drs/include/huaweicloud/drs/v5/DrsRegion.h b/drs/include/huaweicloud/drs/v5/DrsRegion.h
index 2b9852c14..cd5e03d2a 100644
--- a/drs/include/huaweicloud/drs/v5/DrsRegion.h
+++ b/drs/include/huaweicloud/drs/v5/DrsRegion.h
@@ -126,6 +126,10 @@ class HUAWEICLOUD_DRS_V5_EXPORT DrsRegion {
{
"https://drs.ru-northwest-2.myhuaweicloud.com"
});
+ regions["ap-southeast-5"] = Region("ap-southeast-5",
+ {
+ "https://drs.ap-southeast-5.myhuaweicloud.com"
+ });
return regions;
}
private:
diff --git a/drs/include/huaweicloud/drs/v5/model/CompareJobInfo.h b/drs/include/huaweicloud/drs/v5/model/CompareJobInfo.h
index 4a5e5fed6..256650969 100644
--- a/drs/include/huaweicloud/drs/v5/model/CompareJobInfo.h
+++ b/drs/include/huaweicloud/drs/v5/model/CompareJobInfo.h
@@ -139,6 +139,15 @@ class HUAWEICLOUD_DRS_V5_EXPORT CompareJobInfo
void unseterrorMsg();
void setErrorMsg(const std::string& value);
+ ///
+ /// 动态比对时延。
+ ///
+
+ int64_t getDynamicCompareDelay() const;
+ bool dynamicCompareDelayIsSet() const;
+ void unsetdynamicCompareDelay();
+ void setDynamicCompareDelay(int64_t value);
+
protected:
std::string id_;
@@ -163,6 +172,8 @@ class HUAWEICLOUD_DRS_V5_EXPORT CompareJobInfo
bool optionsIsSet_;
std::string errorMsg_;
bool errorMsgIsSet_;
+ int64_t dynamicCompareDelay_;
+ bool dynamicCompareDelayIsSet_;
};
diff --git a/drs/src/v5/model/CompareJobInfo.cpp b/drs/src/v5/model/CompareJobInfo.cpp
index 4e2c58559..3423472c4 100644
--- a/drs/src/v5/model/CompareJobInfo.cpp
+++ b/drs/src/v5/model/CompareJobInfo.cpp
@@ -32,6 +32,8 @@ CompareJobInfo::CompareJobInfo()
optionsIsSet_ = false;
errorMsg_ = "";
errorMsgIsSet_ = false;
+ dynamicCompareDelay_ = 0L;
+ dynamicCompareDelayIsSet_ = false;
}
CompareJobInfo::~CompareJobInfo() = default;
@@ -77,6 +79,9 @@ web::json::value CompareJobInfo::toJson() const
if(errorMsgIsSet_) {
val[utility::conversions::to_string_t("error_msg")] = ModelBase::toJson(errorMsg_);
}
+ if(dynamicCompareDelayIsSet_) {
+ val[utility::conversions::to_string_t("dynamic_compare_delay")] = ModelBase::toJson(dynamicCompareDelay_);
+ }
return val;
}
@@ -183,6 +188,15 @@ bool CompareJobInfo::fromJson(const web::json::value& val)
setErrorMsg(refVal);
}
}
+ if(val.has_field(utility::conversions::to_string_t("dynamic_compare_delay"))) {
+ const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("dynamic_compare_delay"));
+ if(!fieldValue.is_null())
+ {
+ int64_t refVal;
+ ok &= ModelBase::fromJson(fieldValue, refVal);
+ setDynamicCompareDelay(refVal);
+ }
+ }
return ok;
}
@@ -418,6 +432,27 @@ void CompareJobInfo::unseterrorMsg()
errorMsgIsSet_ = false;
}
+int64_t CompareJobInfo::getDynamicCompareDelay() const
+{
+ return dynamicCompareDelay_;
+}
+
+void CompareJobInfo::setDynamicCompareDelay(int64_t value)
+{
+ dynamicCompareDelay_ = value;
+ dynamicCompareDelayIsSet_ = true;
+}
+
+bool CompareJobInfo::dynamicCompareDelayIsSet() const
+{
+ return dynamicCompareDelayIsSet_;
+}
+
+void CompareJobInfo::unsetdynamicCompareDelay()
+{
+ dynamicCompareDelayIsSet_ = false;
+}
+
}
}
}
diff --git a/ecs/include/huaweicloud/ecs/v2/EcsRegion.h b/ecs/include/huaweicloud/ecs/v2/EcsRegion.h
index 1dbb240f6..f1ebeac40 100644
--- a/ecs/include/huaweicloud/ecs/v2/EcsRegion.h
+++ b/ecs/include/huaweicloud/ecs/v2/EcsRegion.h
@@ -138,6 +138,10 @@ class HUAWEICLOUD_ECS_V2_EXPORT EcsRegion {
{
"https://ecs.ru-moscow-1.myhuaweicloud.com"
});
+ regions["ap-southeast-5"] = Region("ap-southeast-5",
+ {
+ "https://ecs.ap-southeast-5.myhuaweicloud.com"
+ });
return regions;
}
private:
diff --git a/gaussdb/include/huaweicloud/gaussdb/v3/GaussDBRegion.h b/gaussdb/include/huaweicloud/gaussdb/v3/GaussDBRegion.h
index 5ce5c5495..4af2b561d 100644
--- a/gaussdb/include/huaweicloud/gaussdb/v3/GaussDBRegion.h
+++ b/gaussdb/include/huaweicloud/gaussdb/v3/GaussDBRegion.h
@@ -78,6 +78,18 @@ class HUAWEICLOUD_GAUSSDB_V3_EXPORT GaussDBRegion {
{
"https://gaussdb-mysql.af-south-1.myhuaweicloud.com"
});
+ regions["cn-south-4"] = Region("cn-south-4",
+ {
+ "https://gaussdb.cn-south-4.myhuaweicloud.com"
+ });
+ regions["cn-north-11"] = Region("cn-north-11",
+ {
+ "https://gaussdbformysql.cn-north-11.myhuaweicloud.com"
+ });
+ regions["me-east-1"] = Region("me-east-1",
+ {
+ "https://gaussdbformysql.me-east-1.myhuaweicloud.com"
+ });
return regions;
}
private:
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/GaussDBforNoSQLClient.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/GaussDBforNoSQLClient.h
index f78a5b7a5..e4ad4061e 100644
--- a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/GaussDBforNoSQLClient.h
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/GaussDBforNoSQLClient.h
@@ -13,6 +13,9 @@
#include
#include
#include
+#include
+#include
+#include
#include
#include
#include
@@ -26,6 +29,8 @@
#include
#include
#include
+#include
+#include
#include
#include
#include
@@ -79,6 +84,9 @@
#include
#include
#include
+#include
+#include
+#include
#include
#include
#include
@@ -117,6 +125,8 @@
#include
#include
#include
+#include
+#include
#include
#include
#include
@@ -216,12 +226,18 @@
#include
#include
#include
+#include
+#include
+#include
#include
#include
#include
#include
#include
#include
+#include
+#include
+#include
#include
#include
#include
@@ -246,6 +262,8 @@
#include
#include
#include
+#include
+#include
#include
#include
#include
@@ -273,6 +291,10 @@
#include
#include
#include
+#include
+#include
+#include
+#include
#include
#include
#include
@@ -292,6 +314,8 @@
#include
#include
#include
+#include
+#include
#include
#include
#include
@@ -385,6 +409,14 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLClient : public Clie
std::shared_ptr applyConfigurationToInstances(
ApplyConfigurationToInstancesRequest &request
);
+ // 批量删除手动备份
+ //
+ // 批量删除数据库实例的手动备份。
+ //
+ // Please refer to HUAWEI cloud API Explorer for details.
+ std::shared_ptr batchDeleteManualBackup(
+ BatchDeleteManualBackupRequest &request
+ );
// 批量添加或删除资源标签
//
// 批量添加或删除指定数据库实例的标签。
@@ -426,6 +458,14 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLClient : public Clie
std::shared_ptr checkWeekPassword(
CheckWeekPasswordRequest &request
);
+ // 关闭实例所有节点会话
+ //
+ // 关闭实例所有节点会话。
+ //
+ // Please refer to HUAWEI cloud API Explorer for details.
+ std::shared_ptr clearInstanceSessions(
+ ClearInstanceSessionsRequest &request
+ );
// 参数模板比较
//
// 比较两个参数模板之间的差异
@@ -586,6 +626,14 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLClient : public Clie
std::shared_ptr deleteLtsConfigs(
DeleteLtsConfigsRequest &request
);
+ // 删除Redis禁用命令
+ //
+ // 删除Redis禁用命令。
+ //
+ // Please refer to HUAWEI cloud API Explorer for details.
+ std::shared_ptr deleteRedisDisabledCommands(
+ DeleteRedisDisabledCommandsRequest &request
+ );
// 扩容指定集群实例的节点数量
//
// 扩容指定集群实例的节点数量。
@@ -714,14 +762,22 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLClient : public Clie
std::shared_ptr listInstanceDatabases(
ListInstanceDatabasesRequest &request
);
- //
- //
// 查询实例可维护时间段
+ //
+ // 查询实例可维护时间段。
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr listInstanceMaintenanceWindow(
ListInstanceMaintenanceWindowRequest &request
);
+ // 获取实例的会话
+ //
+ // 获取实例的会话。
+ //
+ // Please refer to HUAWEI cloud API Explorer for details.
+ std::shared_ptr listInstanceSessions(
+ ListInstanceSessionsRequest &request
+ );
// 查询资源标签
//
// 查询指定实例的标签信息。
@@ -890,7 +946,7 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLClient : public Clie
std::shared_ptr modifyEpsQuotas(
ModifyEpsQuotasRequest &request
);
- // 查询实例可维护时间段
+ // 设置实例可维护时间段
//
// 设置指定实例可维护时间段。
//
@@ -1022,6 +1078,14 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLClient : public Clie
std::shared_ptr saveLtsConfigs(
SaveLtsConfigsRequest &request
);
+ // 设置Redis禁用命令
+ //
+ // 设置Redis禁用命令。
+ //
+ // Please refer to HUAWEI cloud API Explorer for details.
+ std::shared_ptr saveRedisDisabledCommands(
+ SaveRedisDisabledCommandsRequest &request
+ );
// 设置磁盘自动扩容策略
//
// 设置磁盘自动扩容策略。
@@ -1038,6 +1102,14 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLClient : public Clie
std::shared_ptr setBackupPolicy(
SetBackupPolicyRequest &request
);
+ // 设置实例容灾切换的故障节点比例
+ //
+ // 设置实例容灾切换的故障节点比例。
+ //
+ // Please refer to HUAWEI cloud API Explorer for details.
+ std::shared_ptr setDisasterRecoverySettings(
+ SetDisasterRecoverySettingsRequest &request
+ );
// 开启/关闭实例数据导出
//
// 开启/关闭实例数据导出。
@@ -1126,6 +1198,14 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLClient : public Clie
std::shared_ptr showConfigurationDetail(
ShowConfigurationDetailRequest &request
);
+ // 查询实例容灾切换的故障节点比例
+ //
+ // 查询实例容灾切换的故障节点比例。
+ //
+ // Please refer to HUAWEI cloud API Explorer for details.
+ std::shared_ptr showDisasterRecoverySettings(
+ ShowDisasterRecoverySettingsRequest &request
+ );
// 查询实例负载均衡的IP访问黑白名单
//
// 查询实例负载均衡的IP访问黑白名单。
@@ -1230,6 +1310,22 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLClient : public Clie
std::shared_ptr showRedisBigKeys(
ShowRedisBigKeysRequest &request
);
+ // 查询Redis禁用命令
+ //
+ // 查询Redis禁用命令。
+ //
+ // Please refer to HUAWEI cloud API Explorer for details.
+ std::shared_ptr showRedisDisabledCommands(
+ ShowRedisDisabledCommandsRequest &request
+ );
+ // 查询Redis实例的热key
+ //
+ // 支持查询Redis实例的热key。
+ //
+ // Please refer to HUAWEI cloud API Explorer for details.
+ std::shared_ptr showRedisHotKeys(
+ ShowRedisHotKeysRequest &request
+ );
// 查询Redis实例指定时间点恢复所占用的存储空间
//
// 查询Redis实例指定时间点恢复所占用的存储空间。
@@ -1294,6 +1390,14 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLClient : public Clie
std::shared_ptr switchIpGroup(
SwitchIpGroupRequest &request
);
+ // Redis主备切换
+ //
+ // 切换实例下的主备节点
+ //
+ // Please refer to HUAWEI cloud API Explorer for details.
+ std::shared_ptr switchOver(
+ SwitchOverRequest &request
+ );
// 开启/关闭秒级监控
//
// 开启或关闭指定实例的5秒级监控。
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/GaussDBforNoSQLMeta.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/GaussDBforNoSQLMeta.h
index cfc702570..ba356af59 100644
--- a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/GaussDBforNoSQLMeta.h
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/GaussDBforNoSQLMeta.h
@@ -15,11 +15,13 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLMeta {
public:
static HttpRequestDef genRequestDefForApplyConfiguration();
static HttpRequestDef genRequestDefForApplyConfigurationToInstances();
+ static HttpRequestDef genRequestDefForBatchDeleteManualBackup();
static HttpRequestDef genRequestDefForBatchTagAction();
static HttpRequestDef genRequestDefForBatchUpgradeDatabaseVersion();
static HttpRequestDef genRequestDefForCancelInstanceScheduleWindow();
static HttpRequestDef genRequestDefForCheckDisasterRecoveryOperation();
static HttpRequestDef genRequestDefForCheckWeekPassword();
+ static HttpRequestDef genRequestDefForClearInstanceSessions();
static HttpRequestDef genRequestDefForCompareConfiguration();
static HttpRequestDef genRequestDefForCopyConfiguration();
static HttpRequestDef genRequestDefForCreateBack();
@@ -40,6 +42,7 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLMeta {
static HttpRequestDef genRequestDefForDeleteInstance();
static HttpRequestDef genRequestDefForDeleteInstancesSession();
static HttpRequestDef genRequestDefForDeleteLtsConfigs();
+ static HttpRequestDef genRequestDefForDeleteRedisDisabledCommands();
static HttpRequestDef genRequestDefForExpandInstanceNode();
static HttpRequestDef genRequestDefForListAvailableFlavorInfos();
static HttpRequestDef genRequestDefForListCassandraSlowLogs();
@@ -57,6 +60,7 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLMeta {
static HttpRequestDef genRequestDefForListInfluxdbSlowLogs();
static HttpRequestDef genRequestDefForListInstanceDatabases();
static HttpRequestDef genRequestDefForListInstanceMaintenanceWindow();
+ static HttpRequestDef genRequestDefForListInstanceSessions();
static HttpRequestDef genRequestDefForListInstanceTags();
static HttpRequestDef genRequestDefForListInstances();
static HttpRequestDef genRequestDefForListInstancesByResourceTags();
@@ -94,8 +98,10 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLMeta {
static HttpRequestDef genRequestDefForRestoreExistingInstance();
static HttpRequestDef genRequestDefForRestoreRedisPitr();
static HttpRequestDef genRequestDefForSaveLtsConfigs();
+ static HttpRequestDef genRequestDefForSaveRedisDisabledCommands();
static HttpRequestDef genRequestDefForSetAutoEnlargePolicy();
static HttpRequestDef genRequestDefForSetBackupPolicy();
+ static HttpRequestDef genRequestDefForSetDisasterRecoverySettings();
static HttpRequestDef genRequestDefForSetInstanceDataDump();
static HttpRequestDef genRequestDefForSetRecyclePolicy();
static HttpRequestDef genRequestDefForSetRedisPitrPolicy();
@@ -107,6 +113,7 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLMeta {
static HttpRequestDef genRequestDefForShowBackupPolicies();
static HttpRequestDef genRequestDefForShowBackupPolicy();
static HttpRequestDef genRequestDefForShowConfigurationDetail();
+ static HttpRequestDef genRequestDefForShowDisasterRecoverySettings();
static HttpRequestDef genRequestDefForShowElbIpGroup();
static HttpRequestDef genRequestDefForShowErrorLog();
static HttpRequestDef genRequestDefForShowHighRiskCommands();
@@ -120,6 +127,8 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLMeta {
static HttpRequestDef genRequestDefForShowQuotas();
static HttpRequestDef genRequestDefForShowRecyclePolicy();
static HttpRequestDef genRequestDefForShowRedisBigKeys();
+ static HttpRequestDef genRequestDefForShowRedisDisabledCommands();
+ static HttpRequestDef genRequestDefForShowRedisHotKeys();
static HttpRequestDef genRequestDefForShowRedisPitrInfo();
static HttpRequestDef genRequestDefForShowRedisPitrPolicy();
static HttpRequestDef genRequestDefForShowRestorableList();
@@ -128,6 +137,7 @@ class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT GaussDBforNoSQLMeta {
static HttpRequestDef genRequestDefForShrinkInstanceNode();
static HttpRequestDef genRequestDefForStopBackup();
static HttpRequestDef genRequestDefForSwitchIpGroup();
+ static HttpRequestDef genRequestDefForSwitchOver();
static HttpRequestDef genRequestDefForSwitchSecondLevelMonitoring();
static HttpRequestDef genRequestDefForSwitchSlowlogDesensitization();
static HttpRequestDef genRequestDefForSwitchSsl();
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/BatchDeleteManualBackupRequest.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/BatchDeleteManualBackupRequest.h
new file mode 100644
index 000000000..bd6911d5e
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/BatchDeleteManualBackupRequest.h
@@ -0,0 +1,83 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_BatchDeleteManualBackupRequest_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_BatchDeleteManualBackupRequest_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Request Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT BatchDeleteManualBackupRequest
+ : public ModelBase
+{
+public:
+ BatchDeleteManualBackupRequest();
+ virtual ~BatchDeleteManualBackupRequest();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// BatchDeleteManualBackupRequest members
+
+ ///
+ /// 语言。
+ ///
+
+ std::string getXLanguage() const;
+ bool xLanguageIsSet() const;
+ void unsetxLanguage();
+ void setXLanguage(const std::string& value);
+
+ ///
+ ///
+ ///
+
+ BatchDeleteManualBackupRequestBody getBody() const;
+ bool bodyIsSet() const;
+ void unsetbody();
+ void setBody(const BatchDeleteManualBackupRequestBody& value);
+
+
+protected:
+ std::string xLanguage_;
+ bool xLanguageIsSet_;
+ BatchDeleteManualBackupRequestBody body_;
+ bool bodyIsSet_;
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+public:
+ BatchDeleteManualBackupRequest& dereference_from_shared_ptr(std::shared_ptr ptr) {
+ return *ptr;
+ }
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_BatchDeleteManualBackupRequest_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/BatchDeleteManualBackupRequestBody.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/BatchDeleteManualBackupRequestBody.h
new file mode 100644
index 000000000..e4ca4291b
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/BatchDeleteManualBackupRequestBody.h
@@ -0,0 +1,65 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_BatchDeleteManualBackupRequestBody_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_BatchDeleteManualBackupRequestBody_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+///
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT BatchDeleteManualBackupRequestBody
+ : public ModelBase
+{
+public:
+ BatchDeleteManualBackupRequestBody();
+ virtual ~BatchDeleteManualBackupRequestBody();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// BatchDeleteManualBackupRequestBody members
+
+ ///
+ /// 需要批量删除的手动备份id列表,最多一次不超过10条
+ ///
+
+ std::vector& getBackupIds();
+ bool backupIdsIsSet() const;
+ void unsetbackupIds();
+ void setBackupIds(const std::vector& value);
+
+
+protected:
+ std::vector backupIds_;
+ bool backupIdsIsSet_;
+
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_BatchDeleteManualBackupRequestBody_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/BatchDeleteManualBackupResponse.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/BatchDeleteManualBackupResponse.h
new file mode 100644
index 000000000..b22a377b4
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/BatchDeleteManualBackupResponse.h
@@ -0,0 +1,55 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_BatchDeleteManualBackupResponse_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_BatchDeleteManualBackupResponse_H_
+
+
+#include
+
+#include
+#include
+#include
+
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Response Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT BatchDeleteManualBackupResponse
+ : public ModelBase, public HttpResponse
+{
+public:
+ BatchDeleteManualBackupResponse();
+ virtual ~BatchDeleteManualBackupResponse();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// BatchDeleteManualBackupResponse members
+
+
+protected:
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_BatchDeleteManualBackupResponse_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ClearInstanceSessionsRequest.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ClearInstanceSessionsRequest.h
new file mode 100644
index 000000000..8d14fd533
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ClearInstanceSessionsRequest.h
@@ -0,0 +1,82 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ClearInstanceSessionsRequest_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ClearInstanceSessionsRequest_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Request Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT ClearInstanceSessionsRequest
+ : public ModelBase
+{
+public:
+ ClearInstanceSessionsRequest();
+ virtual ~ClearInstanceSessionsRequest();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// ClearInstanceSessionsRequest members
+
+ ///
+ /// 实例ID。
+ ///
+
+ std::string getInstanceId() const;
+ bool instanceIdIsSet() const;
+ void unsetinstanceId();
+ void setInstanceId(const std::string& value);
+
+ ///
+ /// 节点ID。
+ ///
+
+ std::string getNodeId() const;
+ bool nodeIdIsSet() const;
+ void unsetnodeId();
+ void setNodeId(const std::string& value);
+
+
+protected:
+ std::string instanceId_;
+ bool instanceIdIsSet_;
+ std::string nodeId_;
+ bool nodeIdIsSet_;
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+public:
+ ClearInstanceSessionsRequest& dereference_from_shared_ptr(std::shared_ptr ptr) {
+ return *ptr;
+ }
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ClearInstanceSessionsRequest_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ClearInstanceSessionsResponse.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ClearInstanceSessionsResponse.h
new file mode 100644
index 000000000..1e8331682
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ClearInstanceSessionsResponse.h
@@ -0,0 +1,55 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ClearInstanceSessionsResponse_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ClearInstanceSessionsResponse_H_
+
+
+#include
+
+#include
+#include
+#include
+
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Response Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT ClearInstanceSessionsResponse
+ : public ModelBase, public HttpResponse
+{
+public:
+ ClearInstanceSessionsResponse();
+ virtual ~ClearInstanceSessionsResponse();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// ClearInstanceSessionsResponse members
+
+
+protected:
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ClearInstanceSessionsResponse_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/DeleteRedisDisabledCommandsRequest.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/DeleteRedisDisabledCommandsRequest.h
new file mode 100644
index 000000000..5b1e17686
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/DeleteRedisDisabledCommandsRequest.h
@@ -0,0 +1,83 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_DeleteRedisDisabledCommandsRequest_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_DeleteRedisDisabledCommandsRequest_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Request Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT DeleteRedisDisabledCommandsRequest
+ : public ModelBase
+{
+public:
+ DeleteRedisDisabledCommandsRequest();
+ virtual ~DeleteRedisDisabledCommandsRequest();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// DeleteRedisDisabledCommandsRequest members
+
+ ///
+ /// 实例ID。
+ ///
+
+ std::string getInstanceId() const;
+ bool instanceIdIsSet() const;
+ void unsetinstanceId();
+ void setInstanceId(const std::string& value);
+
+ ///
+ ///
+ ///
+
+ DeleteRedisDisabledCommandsRequestBody getBody() const;
+ bool bodyIsSet() const;
+ void unsetbody();
+ void setBody(const DeleteRedisDisabledCommandsRequestBody& value);
+
+
+protected:
+ std::string instanceId_;
+ bool instanceIdIsSet_;
+ DeleteRedisDisabledCommandsRequestBody body_;
+ bool bodyIsSet_;
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+public:
+ DeleteRedisDisabledCommandsRequest& dereference_from_shared_ptr(std::shared_ptr ptr) {
+ return *ptr;
+ }
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_DeleteRedisDisabledCommandsRequest_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/DeleteRedisDisabledCommandsRequestBody.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/DeleteRedisDisabledCommandsRequestBody.h
new file mode 100644
index 000000000..a59cd0a52
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/DeleteRedisDisabledCommandsRequestBody.h
@@ -0,0 +1,88 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_DeleteRedisDisabledCommandsRequestBody_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_DeleteRedisDisabledCommandsRequestBody_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+///
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT DeleteRedisDisabledCommandsRequestBody
+ : public ModelBase
+{
+public:
+ DeleteRedisDisabledCommandsRequestBody();
+ virtual ~DeleteRedisDisabledCommandsRequestBody();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// DeleteRedisDisabledCommandsRequestBody members
+
+ ///
+ /// 禁用类型。
+ ///
+
+ std::string getDisabledType() const;
+ bool disabledTypeIsSet() const;
+ void unsetdisabledType();
+ void setDisabledType(const std::string& value);
+
+ ///
+ /// disabled_type为command时传入该参数。
+ ///
+
+ std::vector& getCommands();
+ bool commandsIsSet() const;
+ void unsetcommands();
+ void setCommands(const std::vector& value);
+
+ ///
+ /// disabled_type为key时传入该参数,最多20个。
+ ///
+
+ std::vector& getKeys();
+ bool keysIsSet() const;
+ void unsetkeys();
+ void setKeys(const std::vector& value);
+
+
+protected:
+ std::string disabledType_;
+ bool disabledTypeIsSet_;
+ std::vector commands_;
+ bool commandsIsSet_;
+ std::vector keys_;
+ bool keysIsSet_;
+
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_DeleteRedisDisabledCommandsRequestBody_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/DeleteRedisDisabledCommandsResponse.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/DeleteRedisDisabledCommandsResponse.h
new file mode 100644
index 000000000..f561416b0
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/DeleteRedisDisabledCommandsResponse.h
@@ -0,0 +1,55 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_DeleteRedisDisabledCommandsResponse_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_DeleteRedisDisabledCommandsResponse_H_
+
+
+#include
+
+#include
+#include
+#include
+
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Response Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT DeleteRedisDisabledCommandsResponse
+ : public ModelBase, public HttpResponse
+{
+public:
+ DeleteRedisDisabledCommandsResponse();
+ virtual ~DeleteRedisDisabledCommandsResponse();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// DeleteRedisDisabledCommandsResponse members
+
+
+protected:
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_DeleteRedisDisabledCommandsResponse_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/HotKeysInfoResponseBody.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/HotKeysInfoResponseBody.h
new file mode 100644
index 000000000..73f5f2f23
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/HotKeysInfoResponseBody.h
@@ -0,0 +1,108 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_HotKeysInfoResponseBody_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_HotKeysInfoResponseBody_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+///
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT HotKeysInfoResponseBody
+ : public ModelBase
+{
+public:
+ HotKeysInfoResponseBody();
+ virtual ~HotKeysInfoResponseBody();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// HotKeysInfoResponseBody members
+
+ ///
+ /// 热Key名。
+ ///
+
+ std::string getName() const;
+ bool nameIsSet() const;
+ void unsetname();
+ void setName(const std::string& value);
+
+ ///
+ /// 热Key类型。
+ ///
+
+ std::string getType() const;
+ bool typeIsSet() const;
+ void unsettype();
+ void setType(const std::string& value);
+
+ ///
+ /// 热Key命令。
+ ///
+
+ std::string getCommand() const;
+ bool commandIsSet() const;
+ void unsetcommand();
+ void setCommand(const std::string& value);
+
+ ///
+ /// 热Key QPS。
+ ///
+
+ int32_t getQps() const;
+ bool qpsIsSet() const;
+ void unsetqps();
+ void setQps(int32_t value);
+
+ ///
+ /// 热key所在的DB。
+ ///
+
+ int32_t getDbId() const;
+ bool dbIdIsSet() const;
+ void unsetdbId();
+ void setDbId(int32_t value);
+
+
+protected:
+ std::string name_;
+ bool nameIsSet_;
+ std::string type_;
+ bool typeIsSet_;
+ std::string command_;
+ bool commandIsSet_;
+ int32_t qps_;
+ bool qpsIsSet_;
+ int32_t dbId_;
+ bool dbIdIsSet_;
+
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_HotKeysInfoResponseBody_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListInstanceSessionsRequest.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListInstanceSessionsRequest.h
new file mode 100644
index 000000000..5cc43fe2d
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListInstanceSessionsRequest.h
@@ -0,0 +1,82 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListInstanceSessionsRequest_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListInstanceSessionsRequest_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Request Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT ListInstanceSessionsRequest
+ : public ModelBase
+{
+public:
+ ListInstanceSessionsRequest();
+ virtual ~ListInstanceSessionsRequest();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// ListInstanceSessionsRequest members
+
+ ///
+ /// 实例ID。
+ ///
+
+ std::string getInstanceId() const;
+ bool instanceIdIsSet() const;
+ void unsetinstanceId();
+ void setInstanceId(const std::string& value);
+
+ ///
+ /// 节点ID。
+ ///
+
+ std::string getNodeId() const;
+ bool nodeIdIsSet() const;
+ void unsetnodeId();
+ void setNodeId(const std::string& value);
+
+
+protected:
+ std::string instanceId_;
+ bool instanceIdIsSet_;
+ std::string nodeId_;
+ bool nodeIdIsSet_;
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+public:
+ ListInstanceSessionsRequest& dereference_from_shared_ptr(std::shared_ptr ptr) {
+ return *ptr;
+ }
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListInstanceSessionsRequest_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListInstanceSessionsResponse.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListInstanceSessionsResponse.h
new file mode 100644
index 000000000..491f67b24
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListInstanceSessionsResponse.h
@@ -0,0 +1,68 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListInstanceSessionsResponse_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListInstanceSessionsResponse_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Response Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT ListInstanceSessionsResponse
+ : public ModelBase, public HttpResponse
+{
+public:
+ ListInstanceSessionsResponse();
+ virtual ~ListInstanceSessionsResponse();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// ListInstanceSessionsResponse members
+
+ ///
+ /// 节点的会话信息列表。
+ ///
+
+ std::vector& getNodeSessions();
+ bool nodeSessionsIsSet() const;
+ void unsetnodeSessions();
+ void setNodeSessions(const std::vector& value);
+
+
+protected:
+ std::vector nodeSessions_;
+ bool nodeSessionsIsSet_;
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListInstanceSessionsResponse_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListNodeSessionsResult.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListNodeSessionsResult.h
new file mode 100644
index 000000000..6be279e06
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListNodeSessionsResult.h
@@ -0,0 +1,88 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListNodeSessionsResult_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListNodeSessionsResult_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+///
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT ListNodeSessionsResult
+ : public ModelBase
+{
+public:
+ ListNodeSessionsResult();
+ virtual ~ListNodeSessionsResult();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// ListNodeSessionsResult members
+
+ ///
+ /// 节点ID。
+ ///
+
+ std::string getNodeId() const;
+ bool nodeIdIsSet() const;
+ void unsetnodeId();
+ void setNodeId(const std::string& value);
+
+ ///
+ /// 总会话数。
+ ///
+
+ int32_t getTotalCount() const;
+ bool totalCountIsSet() const;
+ void unsettotalCount();
+ void setTotalCount(int32_t value);
+
+ ///
+ /// 节点会话详细信息列表。
+ ///
+
+ std::vector& getSessions();
+ bool sessionsIsSet() const;
+ void unsetsessions();
+ void setSessions(const std::vector& value);
+
+
+protected:
+ std::string nodeId_;
+ bool nodeIdIsSet_;
+ int32_t totalCount_;
+ bool totalCountIsSet_;
+ std::vector sessions_;
+ bool sessionsIsSet_;
+
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListNodeSessionsResult_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListNodeSessionsResult_sessions.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListNodeSessionsResult_sessions.h
new file mode 100644
index 000000000..884e3b663
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ListNodeSessionsResult_sessions.h
@@ -0,0 +1,174 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListNodeSessionsResult_sessions_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListNodeSessionsResult_sessions_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+///
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT ListNodeSessionsResult_sessions
+ : public ModelBase
+{
+public:
+ ListNodeSessionsResult_sessions();
+ virtual ~ListNodeSessionsResult_sessions();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// ListNodeSessionsResult_sessions members
+
+ ///
+ /// 会话ID。
+ ///
+
+ std::string getId() const;
+ bool idIsSet() const;
+ void unsetid();
+ void setId(const std::string& value);
+
+ ///
+ /// 连接名。
+ ///
+
+ std::string getName() const;
+ bool nameIsSet() const;
+ void unsetname();
+ void setName(const std::string& value);
+
+ ///
+ /// 最近一次执行的命令。
+ ///
+
+ std::string getCmd() const;
+ bool cmdIsSet() const;
+ void unsetcmd();
+ void setCmd(const std::string& value);
+
+ ///
+ /// 以秒计算的已连接时长。
+ ///
+
+ std::string getAge() const;
+ bool ageIsSet() const;
+ void unsetage();
+ void setAge(const std::string& value);
+
+ ///
+ /// 以秒计算的空闲时长。
+ ///
+
+ std::string getIdle() const;
+ bool idleIsSet() const;
+ void unsetidle();
+ void setIdle(const std::string& value);
+
+ ///
+ /// 该客户端正在使用的数据库ID。
+ ///
+
+ std::string getDb() const;
+ bool dbIsSet() const;
+ void unsetdb();
+ void setDb(const std::string& value);
+
+ ///
+ /// 客户端的地址和端口。
+ ///
+
+ std::string getAddr() const;
+ bool addrIsSet() const;
+ void unsetaddr();
+ void setAddr(const std::string& value);
+
+ ///
+ /// 套接字所使用的文件描述符。
+ ///
+
+ std::string getFd() const;
+ bool fdIsSet() const;
+ void unsetfd();
+ void setFd(const std::string& value);
+
+ ///
+ /// 已订阅频道的数量。
+ ///
+
+ std::string getSub() const;
+ bool subIsSet() const;
+ void unsetsub();
+ void setSub(const std::string& value);
+
+ ///
+ /// 已订阅模式的数量。
+ ///
+
+ std::string getPsub() const;
+ bool psubIsSet() const;
+ void unsetpsub();
+ void setPsub(const std::string& value);
+
+ ///
+ /// 在事务中被执行的命令数量。
+ ///
+
+ std::string getMulti() const;
+ bool multiIsSet() const;
+ void unsetmulti();
+ void setMulti(const std::string& value);
+
+
+protected:
+ std::string id_;
+ bool idIsSet_;
+ std::string name_;
+ bool nameIsSet_;
+ std::string cmd_;
+ bool cmdIsSet_;
+ std::string age_;
+ bool ageIsSet_;
+ std::string idle_;
+ bool idleIsSet_;
+ std::string db_;
+ bool dbIsSet_;
+ std::string addr_;
+ bool addrIsSet_;
+ std::string fd_;
+ bool fdIsSet_;
+ std::string sub_;
+ bool subIsSet_;
+ std::string psub_;
+ bool psubIsSet_;
+ std::string multi_;
+ bool multiIsSet_;
+
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ListNodeSessionsResult_sessions_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/RedisDisabledCommandsDetail.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/RedisDisabledCommandsDetail.h
new file mode 100644
index 000000000..2be56b918
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/RedisDisabledCommandsDetail.h
@@ -0,0 +1,87 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_RedisDisabledCommandsDetail_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_RedisDisabledCommandsDetail_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+///
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT RedisDisabledCommandsDetail
+ : public ModelBase
+{
+public:
+ RedisDisabledCommandsDetail();
+ virtual ~RedisDisabledCommandsDetail();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// RedisDisabledCommandsDetail members
+
+ ///
+ /// key所在的DB。
+ ///
+
+ std::string getDbId() const;
+ bool dbIdIsSet() const;
+ void unsetdbId();
+ void setDbId(const std::string& value);
+
+ ///
+ /// key名。
+ ///
+
+ std::string getKey() const;
+ bool keyIsSet() const;
+ void unsetkey();
+ void setKey(const std::string& value);
+
+ ///
+ /// 命令列表。
+ ///
+
+ std::vector& getCommands();
+ bool commandsIsSet() const;
+ void unsetcommands();
+ void setCommands(const std::vector& value);
+
+
+protected:
+ std::string dbId_;
+ bool dbIdIsSet_;
+ std::string key_;
+ bool keyIsSet_;
+ std::vector commands_;
+ bool commandsIsSet_;
+
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_RedisDisabledCommandsDetail_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SaveRedisDisabledCommandsRequest.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SaveRedisDisabledCommandsRequest.h
new file mode 100644
index 000000000..8eccc2087
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SaveRedisDisabledCommandsRequest.h
@@ -0,0 +1,83 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SaveRedisDisabledCommandsRequest_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SaveRedisDisabledCommandsRequest_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Request Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT SaveRedisDisabledCommandsRequest
+ : public ModelBase
+{
+public:
+ SaveRedisDisabledCommandsRequest();
+ virtual ~SaveRedisDisabledCommandsRequest();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// SaveRedisDisabledCommandsRequest members
+
+ ///
+ /// 实例ID。
+ ///
+
+ std::string getInstanceId() const;
+ bool instanceIdIsSet() const;
+ void unsetinstanceId();
+ void setInstanceId(const std::string& value);
+
+ ///
+ ///
+ ///
+
+ SaveRedisDisabledCommandsRequestBody getBody() const;
+ bool bodyIsSet() const;
+ void unsetbody();
+ void setBody(const SaveRedisDisabledCommandsRequestBody& value);
+
+
+protected:
+ std::string instanceId_;
+ bool instanceIdIsSet_;
+ SaveRedisDisabledCommandsRequestBody body_;
+ bool bodyIsSet_;
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+public:
+ SaveRedisDisabledCommandsRequest& dereference_from_shared_ptr(std::shared_ptr ptr) {
+ return *ptr;
+ }
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SaveRedisDisabledCommandsRequest_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SaveRedisDisabledCommandsRequestBody.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SaveRedisDisabledCommandsRequestBody.h
new file mode 100644
index 000000000..12f4e4e0c
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SaveRedisDisabledCommandsRequestBody.h
@@ -0,0 +1,88 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SaveRedisDisabledCommandsRequestBody_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SaveRedisDisabledCommandsRequestBody_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+///
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT SaveRedisDisabledCommandsRequestBody
+ : public ModelBase
+{
+public:
+ SaveRedisDisabledCommandsRequestBody();
+ virtual ~SaveRedisDisabledCommandsRequestBody();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// SaveRedisDisabledCommandsRequestBody members
+
+ ///
+ /// 禁用类型。
+ ///
+
+ std::string getDisabledType() const;
+ bool disabledTypeIsSet() const;
+ void unsetdisabledType();
+ void setDisabledType(const std::string& value);
+
+ ///
+ /// disabled_type为command时传入该参数。
+ ///
+
+ std::vector& getCommands();
+ bool commandsIsSet() const;
+ void unsetcommands();
+ void setCommands(const std::vector& value);
+
+ ///
+ /// disabled_type为key时传入该参数,最多20个。
+ ///
+
+ std::vector& getKeys();
+ bool keysIsSet() const;
+ void unsetkeys();
+ void setKeys(const std::vector& value);
+
+
+protected:
+ std::string disabledType_;
+ bool disabledTypeIsSet_;
+ std::vector commands_;
+ bool commandsIsSet_;
+ std::vector keys_;
+ bool keysIsSet_;
+
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SaveRedisDisabledCommandsRequestBody_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SaveRedisDisabledCommandsResponse.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SaveRedisDisabledCommandsResponse.h
new file mode 100644
index 000000000..09b97aa74
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SaveRedisDisabledCommandsResponse.h
@@ -0,0 +1,55 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SaveRedisDisabledCommandsResponse_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SaveRedisDisabledCommandsResponse_H_
+
+
+#include
+
+#include
+#include
+#include
+
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Response Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT SaveRedisDisabledCommandsResponse
+ : public ModelBase, public HttpResponse
+{
+public:
+ SaveRedisDisabledCommandsResponse();
+ virtual ~SaveRedisDisabledCommandsResponse();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// SaveRedisDisabledCommandsResponse members
+
+
+protected:
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SaveRedisDisabledCommandsResponse_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SetDisasterRecoverySettingsRequest.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SetDisasterRecoverySettingsRequest.h
new file mode 100644
index 000000000..fec09b31e
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SetDisasterRecoverySettingsRequest.h
@@ -0,0 +1,71 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SetDisasterRecoverySettingsRequest_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SetDisasterRecoverySettingsRequest_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Request Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT SetDisasterRecoverySettingsRequest
+ : public ModelBase
+{
+public:
+ SetDisasterRecoverySettingsRequest();
+ virtual ~SetDisasterRecoverySettingsRequest();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// SetDisasterRecoverySettingsRequest members
+
+ ///
+ ///
+ ///
+
+ SetDisasterRecoverySettingsRequestBody getBody() const;
+ bool bodyIsSet() const;
+ void unsetbody();
+ void setBody(const SetDisasterRecoverySettingsRequestBody& value);
+
+
+protected:
+ SetDisasterRecoverySettingsRequestBody body_;
+ bool bodyIsSet_;
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+public:
+ SetDisasterRecoverySettingsRequest& dereference_from_shared_ptr(std::shared_ptr ptr) {
+ return *ptr;
+ }
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SetDisasterRecoverySettingsRequest_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SetDisasterRecoverySettingsRequestBody.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SetDisasterRecoverySettingsRequestBody.h
new file mode 100644
index 000000000..11c44f26e
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SetDisasterRecoverySettingsRequestBody.h
@@ -0,0 +1,65 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SetDisasterRecoverySettingsRequestBody_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SetDisasterRecoverySettingsRequestBody_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+///
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT SetDisasterRecoverySettingsRequestBody
+ : public ModelBase
+{
+public:
+ SetDisasterRecoverySettingsRequestBody();
+ virtual ~SetDisasterRecoverySettingsRequestBody();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// SetDisasterRecoverySettingsRequestBody members
+
+ ///
+ /// 容灾切换的故障节点比例列表。
+ ///
+
+ std::vector& getDisasterRecoverySettings();
+ bool disasterRecoverySettingsIsSet() const;
+ void unsetdisasterRecoverySettings();
+ void setDisasterRecoverySettings(const std::vector& value);
+
+
+protected:
+ std::vector disasterRecoverySettings_;
+ bool disasterRecoverySettingsIsSet_;
+
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SetDisasterRecoverySettingsRequestBody_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SetDisasterRecoverySettingsResponse.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SetDisasterRecoverySettingsResponse.h
new file mode 100644
index 000000000..eea2c8045
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/SetDisasterRecoverySettingsResponse.h
@@ -0,0 +1,68 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SetDisasterRecoverySettingsResponse_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SetDisasterRecoverySettingsResponse_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Response Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT SetDisasterRecoverySettingsResponse
+ : public ModelBase, public HttpResponse
+{
+public:
+ SetDisasterRecoverySettingsResponse();
+ virtual ~SetDisasterRecoverySettingsResponse();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// SetDisasterRecoverySettingsResponse members
+
+ ///
+ /// 设置容灾切换故障节点比例成功的实例列表。
+ ///
+
+ std::vector& getSuccessedInstanceIds();
+ bool successedInstanceIdsIsSet() const;
+ void unsetsuccessedInstanceIds();
+ void setSuccessedInstanceIds(const std::vector& value);
+
+
+protected:
+ std::vector successedInstanceIds_;
+ bool successedInstanceIdsIsSet_;
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_SetDisasterRecoverySettingsResponse_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ShowDisasterRecoverySettingsRequest.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ShowDisasterRecoverySettingsRequest.h
new file mode 100644
index 000000000..096b4eddc
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ShowDisasterRecoverySettingsRequest.h
@@ -0,0 +1,93 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ShowDisasterRecoverySettingsRequest_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ShowDisasterRecoverySettingsRequest_H_
+
+
+#include
+
+#include
+#include
+#include
+
+#include
+
+namespace HuaweiCloud {
+namespace Sdk {
+namespace Gaussdbfornosql {
+namespace V3 {
+namespace Model {
+
+using namespace HuaweiCloud::Sdk::Core::Utils;
+using namespace HuaweiCloud::Sdk::Core::Http;
+///
+/// Request Object
+///
+class HUAWEICLOUD_GAUSSDBFORNOSQL_V3_EXPORT ShowDisasterRecoverySettingsRequest
+ : public ModelBase
+{
+public:
+ ShowDisasterRecoverySettingsRequest();
+ virtual ~ShowDisasterRecoverySettingsRequest();
+
+ /////////////////////////////////////////////
+ /// ModelBase overrides
+
+ void validate() override;
+ web::json::value toJson() const override;
+ bool fromJson(const web::json::value& json) override;
+ /////////////////////////////////////////////
+ /// ShowDisasterRecoverySettingsRequest members
+
+ ///
+ /// 实例ID。
+ ///
+
+ std::string getInstanceId() const;
+ bool instanceIdIsSet() const;
+ void unsetinstanceId();
+ void setInstanceId(const std::string& value);
+
+ ///
+ /// 索引位置偏移量,表示从指定offset条数据后查询对应的实例信息。 取值大于或等于0。不传该参数时,查询偏移量默认为0。
+ ///
+
+ int32_t getOffset() const;
+ bool offsetIsSet() const;
+ void unsetoffset();
+ void setOffset(int32_t value);
+
+ ///
+ /// 查询实例个数上限值。 取值范围:1~50。不传该参数时,默认查询前50条实例信息。
+ ///
+
+ int32_t getLimit() const;
+ bool limitIsSet() const;
+ void unsetlimit();
+ void setLimit(int32_t value);
+
+
+protected:
+ std::string instanceId_;
+ bool instanceIdIsSet_;
+ int32_t offset_;
+ bool offsetIsSet_;
+ int32_t limit_;
+ bool limitIsSet_;
+
+#ifdef RTTR_FLAG
+ RTTR_ENABLE()
+public:
+ ShowDisasterRecoverySettingsRequest& dereference_from_shared_ptr(std::shared_ptr ptr) {
+ return *ptr;
+ }
+#endif
+};
+
+
+}
+}
+}
+}
+}
+
+#endif // HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ShowDisasterRecoverySettingsRequest_H_
diff --git a/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ShowDisasterRecoverySettingsResponse.h b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ShowDisasterRecoverySettingsResponse.h
new file mode 100644
index 000000000..62fb4d51b
--- /dev/null
+++ b/gaussdbfornosql/include/huaweicloud/gaussdbfornosql/v3/model/ShowDisasterRecoverySettingsResponse.h
@@ -0,0 +1,79 @@
+
+#ifndef HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ShowDisasterRecoverySettingsResponse_H_
+#define HUAWEICLOUD_SDK_GAUSSDBFORNOSQL_V3_MODEL_ShowDisasterRecoverySettingsResponse_H_
+
+
+#include
+
+#include
+#include