Support Device of LaunchConfiguration_DataDisk.

This commit is contained in:
sdk-team
2020-12-21 02:59:31 +00:00
parent 6dd27ba3df
commit a4f63bc75f
3 changed files with 17 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
2020-12-21 Version: patch
- Support Device of LaunchConfiguration_DataDisk.
2020-12-21 Version: patch
- Support DescribeDatabases for page query.
- Support DescribeAccounts for page query.

View File

@@ -36,6 +36,13 @@ namespace AlibabaCloud
int size;
std::string category;
std::string performanceLevel;
std::string device;
std::string snapshotId;
bool deleteWithInstance;
bool encrypted;
std::string kmsKeyId;
std::string diskName;
std::string description;
};
struct SystemDiskConfig
{

View File

@@ -41,6 +41,13 @@ void CreateAutoProvisioningGroupRequest::setLaunchConfigurationDataDisk(const st
setParameter(launchConfigurationDataDiskObjStr + ".Size", std::to_string(launchConfigurationDataDiskObj.size));
setParameter(launchConfigurationDataDiskObjStr + ".Category", launchConfigurationDataDiskObj.category);
setParameter(launchConfigurationDataDiskObjStr + ".PerformanceLevel", launchConfigurationDataDiskObj.performanceLevel);
setParameter(launchConfigurationDataDiskObjStr + ".Device", launchConfigurationDataDiskObj.device);
setParameter(launchConfigurationDataDiskObjStr + ".SnapshotId", launchConfigurationDataDiskObj.snapshotId);
setParameter(launchConfigurationDataDiskObjStr + ".DeleteWithInstance", launchConfigurationDataDiskObj.deleteWithInstance ? "true" : "false");
setParameter(launchConfigurationDataDiskObjStr + ".Encrypted", launchConfigurationDataDiskObj.encrypted ? "true" : "false");
setParameter(launchConfigurationDataDiskObjStr + ".KmsKeyId", launchConfigurationDataDiskObj.kmsKeyId);
setParameter(launchConfigurationDataDiskObjStr + ".DiskName", launchConfigurationDataDiskObj.diskName);
setParameter(launchConfigurationDataDiskObjStr + ".Description", launchConfigurationDataDiskObj.description);
}
}