Bladeren bron

Support new feature.

sdk-team 3 jaren geleden
bovenliggende
commit
2d217f2e0a

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1704
+1.36.1705

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

@@ -76,6 +76,8 @@ public:
 	void setAutoRenew(bool autoRenew);
 	std::string getHotStandbyCluster() const;
 	void setHotStandbyCluster(const std::string &hotStandbyCluster);
+	std::string getStoragePayType() const;
+	void setStoragePayType(const std::string &storagePayType);
 	std::string getZoneId() const;
 	void setZoneId(const std::string &zoneId);
 	bool getTDEStatus() const;
@@ -161,6 +163,7 @@ private:
 	std::string dBMinorVersion_;
 	bool autoRenew_;
 	std::string hotStandbyCluster_;
+	std::string storagePayType_;
 	std::string zoneId_;
 	bool tDEStatus_;
 	std::string allowShutDown_;

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

@@ -219,6 +219,15 @@ void CreateDBClusterRequest::setHotStandbyCluster(const std::string &hotStandbyC
   setParameter(std::string("HotStandbyCluster"), hotStandbyCluster);
 }
 
+std::string CreateDBClusterRequest::getStoragePayType() const {
+  return storagePayType_;
+}
+
+void CreateDBClusterRequest::setStoragePayType(const std::string &storagePayType) {
+  storagePayType_ = storagePayType;
+  setParameter(std::string("StoragePayType"), storagePayType);
+}
+
 std::string CreateDBClusterRequest::getZoneId() const {
   return zoneId_;
 }