Support StrictResourceProvision in ApplyNodes.

This commit is contained in:
sdk-team
2021-05-21 11:00:54 +00:00
parent a6b0e4e963
commit f613ffa984
4 changed files with 18 additions and 1 deletions

View File

@@ -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.

View File

@@ -1 +1 @@
1.36.748
1.36.749

View File

@@ -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_;

View File

@@ -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_;