Fix ModifyInstanceName.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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<Tag> getTags()const;
|
||||
std::vector<std::string> 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<Tag> tags_;
|
||||
std::vector<std::string> needUpgradeComps_;
|
||||
std::string engine_;
|
||||
std::string maintainStartTime_;
|
||||
std::string status_;
|
||||
|
||||
@@ -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::Tag> DescribeInstanceResult::getTags()const
|
||||
return tags_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeInstanceResult::getNeedUpgradeComps()const
|
||||
{
|
||||
return needUpgradeComps_;
|
||||
}
|
||||
|
||||
std::string DescribeInstanceResult::getEngine()const
|
||||
{
|
||||
return engine_;
|
||||
|
||||
Reference in New Issue
Block a user