Add GWS serie apis.
This commit is contained in:
@@ -279,6 +279,17 @@ void CreateClusterRequest::setPeriodUnit(const std::string& periodUnit)
|
||||
setCoreParameter("PeriodUnit", periodUnit);
|
||||
}
|
||||
|
||||
bool CreateClusterRequest::getComputeEnableHt()const
|
||||
{
|
||||
return computeEnableHt_;
|
||||
}
|
||||
|
||||
void CreateClusterRequest::setComputeEnableHt(bool computeEnableHt)
|
||||
{
|
||||
computeEnableHt_ = computeEnableHt;
|
||||
setCoreParameter("ComputeEnableHt", computeEnableHt ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
@@ -444,17 +455,6 @@ void CreateClusterRequest::setSystemDiskType(const std::string& systemDiskType)
|
||||
setCoreParameter("SystemDiskType", systemDiskType);
|
||||
}
|
||||
|
||||
bool CreateClusterRequest::getIsComputeOnecs()const
|
||||
{
|
||||
return isComputeOnecs_;
|
||||
}
|
||||
|
||||
void CreateClusterRequest::setIsComputeOnecs(bool isComputeOnecs)
|
||||
{
|
||||
isComputeOnecs_ = isComputeOnecs;
|
||||
setCoreParameter("IsComputeOnecs", isComputeOnecs ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getVolumeProtocol()const
|
||||
{
|
||||
return volumeProtocol_;
|
||||
|
||||
Reference in New Issue
Block a user