Browse Source

Update by sdk platform.

sdk-team 4 years ago
parent
commit
a514d1586b

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2022-05-11 Version: 1.36.1124
+- Update by sdk platform.
+
 2022-05-09 Version: 1.36.1123
 2022-05-09 Version: 1.36.1123
 - ReleaseClusterHostGroup add support for ReleaseNumber.
 - ReleaseClusterHostGroup add support for ReleaseNumber.
 - ReleaseClusterHostGroup add support for Decommission Gracefully.
 - ReleaseClusterHostGroup add support for Decommission Gracefully.

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1123
+1.36.1124

+ 3 - 0
r-kvstore/include/alibabacloud/r-kvstore/model/CreateInstanceRequest.h

@@ -110,6 +110,8 @@ public:
 	void setGlobalInstanceId(const std::string &globalInstanceId);
 	void setGlobalInstanceId(const std::string &globalInstanceId);
 	std::string getVpcId() const;
 	std::string getVpcId() const;
 	void setVpcId(const std::string &vpcId);
 	void setVpcId(const std::string &vpcId);
+	int getReadOnlyCount() const;
+	void setReadOnlyCount(int readOnlyCount);
 	std::string getChargeType() const;
 	std::string getChargeType() const;
 	void setChargeType(const std::string &chargeType);
 	void setChargeType(const std::string &chargeType);
 	std::string getConfig() const;
 	std::string getConfig() const;
@@ -154,6 +156,7 @@ private:
 	std::string token_;
 	std::string token_;
 	std::string globalInstanceId_;
 	std::string globalInstanceId_;
 	std::string vpcId_;
 	std::string vpcId_;
+	int readOnlyCount_;
 	std::string chargeType_;
 	std::string chargeType_;
 	std::string config_;
 	std::string config_;
 };
 };

+ 0 - 2
r-kvstore/include/alibabacloud/r-kvstore/model/DescribeInstancesOverviewResult.h

@@ -41,7 +41,6 @@ namespace AlibabaCloud
 					std::string zoneId;
 					std::string zoneId;
 					std::string instanceId;
 					std::string instanceId;
 					std::string createTime;
 					std::string createTime;
-					long port;
 					std::string vSwitchId;
 					std::string vSwitchId;
 					std::string globalInstanceId;
 					std::string globalInstanceId;
 					std::string instanceClass;
 					std::string instanceClass;
@@ -53,7 +52,6 @@ namespace AlibabaCloud
 					std::string chargeType;
 					std::string chargeType;
 					std::string networkType;
 					std::string networkType;
 					std::string instanceStatus;
 					std::string instanceStatus;
-					std::string connectionMode;
 					std::string regionId;
 					std::string regionId;
 					std::string instanceType;
 					std::string instanceType;
 				};
 				};

+ 3 - 0
r-kvstore/include/alibabacloud/r-kvstore/model/DescribeInstancesRequest.h

@@ -64,6 +64,8 @@ public:
 	void setEditionType(const std::string &editionType);
 	void setEditionType(const std::string &editionType);
 	std::vector<Tag> getTag() const;
 	std::vector<Tag> getTag() const;
 	void setTag(const std::vector<Tag> &tag);
 	void setTag(const std::vector<Tag> &tag);
+	bool getWithoutTair() const;
+	void setWithoutTair(bool withoutTair);
 	std::string getInstanceStatus() const;
 	std::string getInstanceStatus() const;
 	void setInstanceStatus(const std::string &instanceStatus);
 	void setInstanceStatus(const std::string &instanceStatus);
 	std::string getResourceOwnerAccount() const;
 	std::string getResourceOwnerAccount() const;
@@ -107,6 +109,7 @@ private:
 	std::string instanceType_;
 	std::string instanceType_;
 	std::string editionType_;
 	std::string editionType_;
 	std::vector<Tag> tag_;
 	std::vector<Tag> tag_;
+	bool withoutTair_;
 	std::string instanceStatus_;
 	std::string instanceStatus_;
 	std::string resourceOwnerAccount_;
 	std::string resourceOwnerAccount_;
 	std::string ownerAccount_;
 	std::string ownerAccount_;

+ 0 - 1
r-kvstore/include/alibabacloud/r-kvstore/model/DescribeInstancesResult.h

@@ -57,7 +57,6 @@ namespace AlibabaCloud
 					std::string instanceStatus;
 					std::string instanceStatus;
 					std::string packageType;
 					std::string packageType;
 					long bandwidth;
 					long bandwidth;
-					std::string searchKey;
 					std::string instanceType;
 					std::string instanceType;
 					std::vector<KVStoreInstance::Tag> tags;
 					std::vector<KVStoreInstance::Tag> tags;
 					std::string replacateId;
 					std::string replacateId;

+ 9 - 0
r-kvstore/src/model/CreateInstanceRequest.cc

@@ -372,6 +372,15 @@ void CreateInstanceRequest::setVpcId(const std::string &vpcId) {
   setParameter(std::string("VpcId"), vpcId);
   setParameter(std::string("VpcId"), vpcId);
 }
 }
 
 
+int CreateInstanceRequest::getReadOnlyCount() const {
+  return readOnlyCount_;
+}
+
+void CreateInstanceRequest::setReadOnlyCount(int readOnlyCount) {
+  readOnlyCount_ = readOnlyCount;
+  setParameter(std::string("ReadOnlyCount"), std::to_string(readOnlyCount));
+}
+
 std::string CreateInstanceRequest::getChargeType() const {
 std::string CreateInstanceRequest::getChargeType() const {
   return chargeType_;
   return chargeType_;
 }
 }

+ 0 - 4
r-kvstore/src/model/DescribeInstancesOverviewResult.cc

@@ -59,10 +59,6 @@ void DescribeInstancesOverviewResult::parse(const std::string &payload)
 			instancesObject.architectureType = valueInstancesKVStoreInstance["ArchitectureType"].asString();
 			instancesObject.architectureType = valueInstancesKVStoreInstance["ArchitectureType"].asString();
 		if(!valueInstancesKVStoreInstance["NetworkType"].isNull())
 		if(!valueInstancesKVStoreInstance["NetworkType"].isNull())
 			instancesObject.networkType = valueInstancesKVStoreInstance["NetworkType"].asString();
 			instancesObject.networkType = valueInstancesKVStoreInstance["NetworkType"].asString();
-		if(!valueInstancesKVStoreInstance["ConnectionMode"].isNull())
-			instancesObject.connectionMode = valueInstancesKVStoreInstance["ConnectionMode"].asString();
-		if(!valueInstancesKVStoreInstance["Port"].isNull())
-			instancesObject.port = std::stol(valueInstancesKVStoreInstance["Port"].asString());
 		if(!valueInstancesKVStoreInstance["EngineVersion"].isNull())
 		if(!valueInstancesKVStoreInstance["EngineVersion"].isNull())
 			instancesObject.engineVersion = valueInstancesKVStoreInstance["EngineVersion"].asString();
 			instancesObject.engineVersion = valueInstancesKVStoreInstance["EngineVersion"].asString();
 		if(!valueInstancesKVStoreInstance["InstanceName"].isNull())
 		if(!valueInstancesKVStoreInstance["InstanceName"].isNull())

+ 9 - 0
r-kvstore/src/model/DescribeInstancesRequest.cc

@@ -165,6 +165,15 @@ void DescribeInstancesRequest::setTag(const std::vector<DescribeInstancesRequest
   }
   }
 }
 }
 
 
+bool DescribeInstancesRequest::getWithoutTair() const {
+  return withoutTair_;
+}
+
+void DescribeInstancesRequest::setWithoutTair(bool withoutTair) {
+  withoutTair_ = withoutTair;
+  setParameter(std::string("WithoutTair"), withoutTair ? "true" : "false");
+}
+
 std::string DescribeInstancesRequest::getInstanceStatus() const {
 std::string DescribeInstancesRequest::getInstanceStatus() const {
   return instanceStatus_;
   return instanceStatus_;
 }
 }

+ 0 - 2
r-kvstore/src/model/DescribeInstancesResult.cc

@@ -101,8 +101,6 @@ void DescribeInstancesResult::parse(const std::string &payload)
 			instancesObject.hasRenewChangeOrder = valueInstancesKVStoreInstance["HasRenewChangeOrder"].asString() == "true";
 			instancesObject.hasRenewChangeOrder = valueInstancesKVStoreInstance["HasRenewChangeOrder"].asString() == "true";
 		if(!valueInstancesKVStoreInstance["RegionId"].isNull())
 		if(!valueInstancesKVStoreInstance["RegionId"].isNull())
 			instancesObject.regionId = valueInstancesKVStoreInstance["RegionId"].asString();
 			instancesObject.regionId = valueInstancesKVStoreInstance["RegionId"].asString();
-		if(!valueInstancesKVStoreInstance["SearchKey"].isNull())
-			instancesObject.searchKey = valueInstancesKVStoreInstance["SearchKey"].asString();
 		if(!valueInstancesKVStoreInstance["EndTime"].isNull())
 		if(!valueInstancesKVStoreInstance["EndTime"].isNull())
 			instancesObject.endTime = valueInstancesKVStoreInstance["EndTime"].asString();
 			instancesObject.endTime = valueInstancesKVStoreInstance["EndTime"].asString();
 		if(!valueInstancesKVStoreInstance["VSwitchId"].isNull())
 		if(!valueInstancesKVStoreInstance["VSwitchId"].isNull())