diff --git a/CHANGELOG b/CHANGELOG index a3fe4dad2..dd59aa15a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-10-27 Version: 1.36.912 +- Fix ModifyInstanceName. + 2021-10-26 Version: 1.36.911 - Add QueryEmbedTokenInfo,DeleteEmbedToken,CreateEmbedToken,DelayEmbedToken,BuildSignatureUrl, and update QueryDatasetInfo,AuthorizeMenu,AddUserTagMeta,AddUser. diff --git a/VERSION b/VERSION index 57b54a95c..dbd6ae250 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.911 \ No newline at end of file +1.36.912 \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DescribeInstanceResult.h b/hbase/include/alibabacloud/hbase/model/DescribeInstanceResult.h index bc33d463b..5442adc0a 100644 --- a/hbase/include/alibabacloud/hbase/model/DescribeInstanceResult.h +++ b/hbase/include/alibabacloud/hbase/model/DescribeInstanceResult.h @@ -46,6 +46,7 @@ namespace AlibabaCloud bool getIsHa()const; std::string getCreatedTime()const; std::string getResourceGroupId()const; + bool getNeedUpgrade()const; std::string getEncryptionKey()const; std::string getMasterInstanceType()const; bool getIsDeletionProtection()const; @@ -57,6 +58,7 @@ namespace AlibabaCloud std::string getClusterName()const; std::string getMasterDiskType()const; std::vector getTags()const; + std::vector getNeedUpgradeComps()const; std::string getEngine()const; std::string getMaintainStartTime()const; std::string getStatus()const; @@ -96,6 +98,7 @@ namespace AlibabaCloud bool isHa_; std::string createdTime_; std::string resourceGroupId_; + bool needUpgrade_; std::string encryptionKey_; std::string masterInstanceType_; bool isDeletionProtection_; @@ -107,6 +110,7 @@ namespace AlibabaCloud std::string clusterName_; std::string masterDiskType_; std::vector tags_; + std::vector needUpgradeComps_; std::string engine_; std::string maintainStartTime_; std::string status_; diff --git a/hbase/src/model/DescribeInstanceResult.cc b/hbase/src/model/DescribeInstanceResult.cc index 8fb24a907..009e81f75 100644 --- a/hbase/src/model/DescribeInstanceResult.cc +++ b/hbase/src/model/DescribeInstanceResult.cc @@ -49,6 +49,9 @@ void DescribeInstanceResult::parse(const std::string &payload) tagsObject.value = valueTagsTag["Value"].asString(); tags_.push_back(tagsObject); } + auto allNeedUpgradeComps = value["NeedUpgradeComps"]["Comps"]; + for (const auto &item : allNeedUpgradeComps) + needUpgradeComps_.push_back(item.asString()); if(!value["InstanceId"].isNull()) instanceId_ = value["InstanceId"].asString(); if(!value["InstanceName"].isNull()) @@ -139,6 +142,8 @@ void DescribeInstanceResult::parse(const std::string &payload) encryptionType_ = value["EncryptionType"].asString(); if(!value["EncryptionKey"].isNull()) encryptionKey_ = value["EncryptionKey"].asString(); + if(!value["NeedUpgrade"].isNull()) + needUpgrade_ = value["NeedUpgrade"].asString() == "true"; } @@ -162,6 +167,11 @@ std::string DescribeInstanceResult::getResourceGroupId()const return resourceGroupId_; } +bool DescribeInstanceResult::getNeedUpgrade()const +{ + return needUpgrade_; +} + std::string DescribeInstanceResult::getEncryptionKey()const { return encryptionKey_; @@ -217,6 +227,11 @@ std::vector DescribeInstanceResult::getTags()const return tags_; } +std::vector DescribeInstanceResult::getNeedUpgradeComps()const +{ + return needUpgradeComps_; +} + std::string DescribeInstanceResult::getEngine()const { return engine_;