Update by sdk platform.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2022-05-11 Version: 1.36.1124
|
||||
- Update by sdk platform.
|
||||
|
||||
2022-05-09 Version: 1.36.1123
|
||||
- ReleaseClusterHostGroup add support for ReleaseNumber.
|
||||
- ReleaseClusterHostGroup add support for Decommission Gracefully.
|
||||
|
||||
@@ -110,6 +110,8 @@ public:
|
||||
void setGlobalInstanceId(const std::string &globalInstanceId);
|
||||
std::string getVpcId() const;
|
||||
void setVpcId(const std::string &vpcId);
|
||||
int getReadOnlyCount() const;
|
||||
void setReadOnlyCount(int readOnlyCount);
|
||||
std::string getChargeType() const;
|
||||
void setChargeType(const std::string &chargeType);
|
||||
std::string getConfig() const;
|
||||
@@ -154,6 +156,7 @@ private:
|
||||
std::string token_;
|
||||
std::string globalInstanceId_;
|
||||
std::string vpcId_;
|
||||
int readOnlyCount_;
|
||||
std::string chargeType_;
|
||||
std::string config_;
|
||||
};
|
||||
|
||||
@@ -41,7 +41,6 @@ namespace AlibabaCloud
|
||||
std::string zoneId;
|
||||
std::string instanceId;
|
||||
std::string createTime;
|
||||
long port;
|
||||
std::string vSwitchId;
|
||||
std::string globalInstanceId;
|
||||
std::string instanceClass;
|
||||
@@ -53,7 +52,6 @@ namespace AlibabaCloud
|
||||
std::string chargeType;
|
||||
std::string networkType;
|
||||
std::string instanceStatus;
|
||||
std::string connectionMode;
|
||||
std::string regionId;
|
||||
std::string instanceType;
|
||||
};
|
||||
|
||||
@@ -64,6 +64,8 @@ public:
|
||||
void setEditionType(const std::string &editionType);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
bool getWithoutTair() const;
|
||||
void setWithoutTair(bool withoutTair);
|
||||
std::string getInstanceStatus() const;
|
||||
void setInstanceStatus(const std::string &instanceStatus);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -107,6 +109,7 @@ private:
|
||||
std::string instanceType_;
|
||||
std::string editionType_;
|
||||
std::vector<Tag> tag_;
|
||||
bool withoutTair_;
|
||||
std::string instanceStatus_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -57,7 +57,6 @@ namespace AlibabaCloud
|
||||
std::string instanceStatus;
|
||||
std::string packageType;
|
||||
long bandwidth;
|
||||
std::string searchKey;
|
||||
std::string instanceType;
|
||||
std::vector<KVStoreInstance::Tag> tags;
|
||||
std::string replacateId;
|
||||
|
||||
@@ -372,6 +372,15 @@ void CreateInstanceRequest::setVpcId(const std::string &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 {
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
@@ -59,10 +59,6 @@ void DescribeInstancesOverviewResult::parse(const std::string &payload)
|
||||
instancesObject.architectureType = valueInstancesKVStoreInstance["ArchitectureType"].asString();
|
||||
if(!valueInstancesKVStoreInstance["NetworkType"].isNull())
|
||||
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())
|
||||
instancesObject.engineVersion = valueInstancesKVStoreInstance["EngineVersion"].asString();
|
||||
if(!valueInstancesKVStoreInstance["InstanceName"].isNull())
|
||||
|
||||
@@ -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 {
|
||||
return instanceStatus_;
|
||||
}
|
||||
|
||||
@@ -101,8 +101,6 @@ void DescribeInstancesResult::parse(const std::string &payload)
|
||||
instancesObject.hasRenewChangeOrder = valueInstancesKVStoreInstance["HasRenewChangeOrder"].asString() == "true";
|
||||
if(!valueInstancesKVStoreInstance["RegionId"].isNull())
|
||||
instancesObject.regionId = valueInstancesKVStoreInstance["RegionId"].asString();
|
||||
if(!valueInstancesKVStoreInstance["SearchKey"].isNull())
|
||||
instancesObject.searchKey = valueInstancesKVStoreInstance["SearchKey"].asString();
|
||||
if(!valueInstancesKVStoreInstance["EndTime"].isNull())
|
||||
instancesObject.endTime = valueInstancesKVStoreInstance["EndTime"].asString();
|
||||
if(!valueInstancesKVStoreInstance["VSwitchId"].isNull())
|
||||
|
||||
Reference in New Issue
Block a user