Support StrictResourceProvision in ApplyNodes.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2021-05-21 Version: 1.36.749
|
||||
- Support StrictResourceProvision in ApplyNodes.
|
||||
|
||||
2021-05-20 Version: 1.36.748
|
||||
- Upgrade mongodb sdk.
|
||||
|
||||
|
||||
@@ -59,6 +59,8 @@ namespace AlibabaCloud
|
||||
void setInternetMaxBandWidthOut(int internetMaxBandWidthOut);
|
||||
std::string getResourceAmountType()const;
|
||||
void setResourceAmountType(const std::string& resourceAmountType);
|
||||
bool getStrictResourceProvision()const;
|
||||
void setStrictResourceProvision(bool strictResourceProvision);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSystemDiskType()const;
|
||||
@@ -101,6 +103,7 @@ namespace AlibabaCloud
|
||||
bool allocatePublicAddress_;
|
||||
int internetMaxBandWidthOut_;
|
||||
std::string resourceAmountType_;
|
||||
bool strictResourceProvision_;
|
||||
std::string accessKeyId_;
|
||||
std::string systemDiskType_;
|
||||
int cores_;
|
||||
|
||||
@@ -93,6 +93,17 @@ void ApplyNodesRequest::setResourceAmountType(const std::string& resourceAmountT
|
||||
setParameter("ResourceAmountType", resourceAmountType);
|
||||
}
|
||||
|
||||
bool ApplyNodesRequest::getStrictResourceProvision()const
|
||||
{
|
||||
return strictResourceProvision_;
|
||||
}
|
||||
|
||||
void ApplyNodesRequest::setStrictResourceProvision(bool strictResourceProvision)
|
||||
{
|
||||
strictResourceProvision_ = strictResourceProvision;
|
||||
setParameter("StrictResourceProvision", strictResourceProvision ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ApplyNodesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
|
||||
Reference in New Issue
Block a user