Support sequence for listNodes.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2020-05-18 Version: 1.36.421
|
||||
- Support sequence for listNodes.
|
||||
- Support StrictSatisfiedTargetCapacity for applyNodes.
|
||||
|
||||
|
||||
2020-05-18 Version: 1.36.420
|
||||
- Fix DescribeIpcLiveAddress , add in params.
|
||||
|
||||
|
||||
@@ -90,6 +90,8 @@ namespace AlibabaCloud
|
||||
void setInternetMaxBandWidthIn(int internetMaxBandWidthIn);
|
||||
int getTargetCapacity()const;
|
||||
void setTargetCapacity(int targetCapacity);
|
||||
bool getStrictSatisfiedTargetCapacity()const;
|
||||
void setStrictSatisfiedTargetCapacity(bool strictSatisfiedTargetCapacity);
|
||||
|
||||
private:
|
||||
std::string imageId_;
|
||||
@@ -114,6 +116,7 @@ namespace AlibabaCloud
|
||||
std::vector<InstanceTypeModel> instanceTypeModel_;
|
||||
int internetMaxBandWidthIn_;
|
||||
int targetCapacity_;
|
||||
bool strictSatisfiedTargetCapacity_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSequence()const;
|
||||
void setSequence(const std::string& sequence);
|
||||
std::string getHostName()const;
|
||||
void setHostName(const std::string& hostName);
|
||||
bool getOnlyDetached()const;
|
||||
@@ -50,6 +52,7 @@ namespace AlibabaCloud
|
||||
std::string role_;
|
||||
std::string clusterId_;
|
||||
std::string accessKeyId_;
|
||||
std::string sequence_;
|
||||
std::string hostName_;
|
||||
bool onlyDetached_;
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSequence()const;
|
||||
void setSequence(const std::string& sequence);
|
||||
std::string getHostName()const;
|
||||
void setHostName(const std::string& hostName);
|
||||
int getPageSize()const;
|
||||
@@ -53,6 +55,7 @@ namespace AlibabaCloud
|
||||
std::string clusterId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string sequence_;
|
||||
std::string hostName_;
|
||||
int pageSize_;
|
||||
|
||||
|
||||
@@ -279,3 +279,14 @@ void ApplyNodesRequest::setTargetCapacity(int targetCapacity)
|
||||
setParameter("TargetCapacity", std::to_string(targetCapacity));
|
||||
}
|
||||
|
||||
bool ApplyNodesRequest::getStrictSatisfiedTargetCapacity()const
|
||||
{
|
||||
return strictSatisfiedTargetCapacity_;
|
||||
}
|
||||
|
||||
void ApplyNodesRequest::setStrictSatisfiedTargetCapacity(bool strictSatisfiedTargetCapacity)
|
||||
{
|
||||
strictSatisfiedTargetCapacity_ = strictSatisfiedTargetCapacity;
|
||||
setParameter("StrictSatisfiedTargetCapacity", strictSatisfiedTargetCapacity ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -60,6 +60,17 @@ void ListNodesNoPagingRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListNodesNoPagingRequest::getSequence()const
|
||||
{
|
||||
return sequence_;
|
||||
}
|
||||
|
||||
void ListNodesNoPagingRequest::setSequence(const std::string& sequence)
|
||||
{
|
||||
sequence_ = sequence;
|
||||
setParameter("Sequence", sequence);
|
||||
}
|
||||
|
||||
std::string ListNodesNoPagingRequest::getHostName()const
|
||||
{
|
||||
return hostName_;
|
||||
|
||||
@@ -71,6 +71,17 @@ void ListNodesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListNodesRequest::getSequence()const
|
||||
{
|
||||
return sequence_;
|
||||
}
|
||||
|
||||
void ListNodesRequest::setSequence(const std::string& sequence)
|
||||
{
|
||||
sequence_ = sequence;
|
||||
setParameter("Sequence", sequence);
|
||||
}
|
||||
|
||||
std::string ListNodesRequest::getHostName()const
|
||||
{
|
||||
return hostName_;
|
||||
|
||||
Reference in New Issue
Block a user