Explorar el Código

Support new feature.

sdk-team hace 3 años
padre
commit
4f8cf9d05f

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1758
+1.36.1759

+ 4 - 0
polardb/include/alibabacloud/polardb/model/DescribeDBClusterAttributeResult.h

@@ -85,6 +85,7 @@ namespace AlibabaCloud
 				std::vector<Tag> getTags()const;
 				std::string getEngine()const;
 				std::string getStorageType()const;
+				std::string getArchitecture()const;
 				std::string getVPCId()const;
 				std::string getVSwitchId()const;
 				std::string getDBClusterDescription()const;
@@ -102,6 +103,7 @@ namespace AlibabaCloud
 				int getDeletionLock()const;
 				std::string getCategory()const;
 				std::string getDBClusterId()const;
+				std::string getHotStandbyCluster()const;
 				std::string getDeployUnit()const;
 				std::string getDBClusterNetworkType()const;
 				bool getIsLatestVersion()const;
@@ -142,6 +144,7 @@ namespace AlibabaCloud
 				std::vector<Tag> tags_;
 				std::string engine_;
 				std::string storageType_;
+				std::string architecture_;
 				std::string vPCId_;
 				std::string vSwitchId_;
 				std::string dBClusterDescription_;
@@ -159,6 +162,7 @@ namespace AlibabaCloud
 				int deletionLock_;
 				std::string category_;
 				std::string dBClusterId_;
+				std::string hotStandbyCluster_;
 				std::string deployUnit_;
 				std::string dBClusterNetworkType_;
 				bool isLatestVersion_;

+ 3 - 0
polardb/include/alibabacloud/polardb/model/ModifyDBNodeClassRequest.h

@@ -38,6 +38,8 @@ public:
 	void setPlannedEndTime(const std::string &plannedEndTime);
 	std::string getAccessKeyId() const;
 	void setAccessKeyId(const std::string &accessKeyId);
+	std::string getDBNodeType() const;
+	void setDBNodeType(const std::string &dBNodeType);
 	std::string getDBNodeTargetClass() const;
 	void setDBNodeTargetClass(const std::string &dBNodeTargetClass);
 	std::string getResourceOwnerAccount() const;
@@ -60,6 +62,7 @@ private:
 	std::string clientToken_;
 	std::string plannedEndTime_;
 	std::string accessKeyId_;
+	std::string dBNodeType_;
 	std::string dBNodeTargetClass_;
 	std::string resourceOwnerAccount_;
 	std::string dBClusterId_;

+ 14 - 0
polardb/src/model/DescribeDBClusterAttributeResult.cc

@@ -118,6 +118,8 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
 		isLatestVersion_ = value["IsLatestVersion"].asString() == "true";
 	if(!value["HasCompleteStandbyRes"].isNull())
 		hasCompleteStandbyRes_ = value["HasCompleteStandbyRes"].asString() == "true";
+	if(!value["HotStandbyCluster"].isNull())
+		hotStandbyCluster_ = value["HotStandbyCluster"].asString();
 	if(!value["DataSyncMode"].isNull())
 		dataSyncMode_ = value["DataSyncMode"].asString();
 	if(!value["StandbyHAMode"].isNull())
@@ -198,6 +200,8 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
 		featureHTAPSupported_ = value["FeatureHTAPSupported"].asString();
 	if(!value["ProxyServerlessType"].isNull())
 		proxyServerlessType_ = value["ProxyServerlessType"].asString();
+	if(!value["Architecture"].isNull())
+		architecture_ = value["Architecture"].asString();
 	if(!value["AiType"].isNull())
 		aiType_ = value["AiType"].asString();
 
@@ -278,6 +282,11 @@ std::string DescribeDBClusterAttributeResult::getStorageType()const
 	return storageType_;
 }
 
+std::string DescribeDBClusterAttributeResult::getArchitecture()const
+{
+	return architecture_;
+}
+
 std::string DescribeDBClusterAttributeResult::getVPCId()const
 {
 	return vPCId_;
@@ -363,6 +372,11 @@ std::string DescribeDBClusterAttributeResult::getDBClusterId()const
 	return dBClusterId_;
 }
 
+std::string DescribeDBClusterAttributeResult::getHotStandbyCluster()const
+{
+	return hotStandbyCluster_;
+}
+
 std::string DescribeDBClusterAttributeResult::getDeployUnit()const
 {
 	return deployUnit_;

+ 9 - 0
polardb/src/model/ModifyDBNodeClassRequest.cc

@@ -61,6 +61,15 @@ void ModifyDBNodeClassRequest::setAccessKeyId(const std::string &accessKeyId) {
   setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
+std::string ModifyDBNodeClassRequest::getDBNodeType() const {
+  return dBNodeType_;
+}
+
+void ModifyDBNodeClassRequest::setDBNodeType(const std::string &dBNodeType) {
+  dBNodeType_ = dBNodeType;
+  setParameter(std::string("DBNodeType"), dBNodeType);
+}
+
 std::string ModifyDBNodeClassRequest::getDBNodeTargetClass() const {
   return dBNodeTargetClass_;
 }