Support autoPtovisioning whth DiskConfigs.
This commit is contained in:
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
int size;
|
||||
std::string category;
|
||||
std::string performanceLevel;
|
||||
};
|
||||
struct SystemDiskConfig
|
||||
{
|
||||
@@ -70,6 +71,8 @@ namespace AlibabaCloud
|
||||
void setLaunchConfigurationSystemDiskCategory(const std::string& launchConfigurationSystemDiskCategory);
|
||||
std::string getAutoProvisioningGroupType()const;
|
||||
void setAutoProvisioningGroupType(const std::string& autoProvisioningGroupType);
|
||||
std::string getLaunchConfigurationSystemDiskPerformanceLevel()const;
|
||||
void setLaunchConfigurationSystemDiskPerformanceLevel(const std::string& launchConfigurationSystemDiskPerformanceLevel);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getLaunchConfigurationImageId()const;
|
||||
@@ -110,6 +113,8 @@ namespace AlibabaCloud
|
||||
void setTerminateInstancesWithExpiration(bool terminateInstancesWithExpiration);
|
||||
std::string getLaunchConfigurationUserData()const;
|
||||
void setLaunchConfigurationUserData(const std::string& launchConfigurationUserData);
|
||||
std::string getLaunchConfigurationCreditSpecification()const;
|
||||
void setLaunchConfigurationCreditSpecification(const std::string& launchConfigurationCreditSpecification);
|
||||
std::string getLaunchConfigurationInstanceName()const;
|
||||
void setLaunchConfigurationInstanceName(const std::string& launchConfigurationInstanceName);
|
||||
std::string getLaunchConfigurationInstanceDescription()const;
|
||||
@@ -166,6 +171,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string launchConfigurationSystemDiskCategory_;
|
||||
std::string autoProvisioningGroupType_;
|
||||
std::string launchConfigurationSystemDiskPerformanceLevel_;
|
||||
std::string resourceGroupId_;
|
||||
std::string launchConfigurationImageId_;
|
||||
std::string launchConfigurationResourceGroupId_;
|
||||
@@ -186,6 +192,7 @@ namespace AlibabaCloud
|
||||
std::string description_;
|
||||
bool terminateInstancesWithExpiration_;
|
||||
std::string launchConfigurationUserData_;
|
||||
std::string launchConfigurationCreditSpecification_;
|
||||
std::string launchConfigurationInstanceName_;
|
||||
std::string launchConfigurationInstanceDescription_;
|
||||
std::string spotAllocationStrategy_;
|
||||
|
||||
@@ -45,12 +45,16 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
bool getInstantAccess()const;
|
||||
void setInstantAccess(bool instantAccess);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getSnapshotName()const;
|
||||
void setSnapshotName(const std::string& snapshotName);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
int getInstantAccessRetentionDays()const;
|
||||
void setInstantAccessRetentionDays(int instantAccessRetentionDays);
|
||||
std::string getDiskId()const;
|
||||
void setDiskId(const std::string& diskId);
|
||||
std::vector<Tag> getTag()const;
|
||||
@@ -69,9 +73,11 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
bool instantAccess_;
|
||||
std::string description_;
|
||||
std::string snapshotName_;
|
||||
std::string resourceGroupId_;
|
||||
int instantAccessRetentionDays_;
|
||||
std::string diskId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -61,6 +61,8 @@ namespace AlibabaCloud
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getPackageType()const;
|
||||
void setPackageType(const std::string& packageType);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -76,6 +78,7 @@ namespace AlibabaCloud
|
||||
int maxResults_;
|
||||
std::string zoneId_;
|
||||
std::string packageType_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -44,15 +44,16 @@ namespace AlibabaCloud
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string endTime;
|
||||
std::string endTimeType;
|
||||
std::string platform;
|
||||
std::string privatePoolOptionsName;
|
||||
std::string instanceChargeType;
|
||||
std::string startTime;
|
||||
std::string regionId;
|
||||
std::string privatePoolOptionsMatchCriteria;
|
||||
std::string timeSlot;
|
||||
std::vector<CapacityReservationItem::AllocatedResource> allocatedResources;
|
||||
std::string privatePoolOptionsId;
|
||||
std::string endTimeType;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -61,6 +61,8 @@ namespace AlibabaCloud
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getPackageType()const;
|
||||
void setPackageType(const std::string& packageType);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -76,6 +78,7 @@ namespace AlibabaCloud
|
||||
int maxResults_;
|
||||
std::string zoneId_;
|
||||
std::string packageType_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct SnapshotLink
|
||||
{
|
||||
std::string instanceName;
|
||||
bool instantAccess;
|
||||
int totalCount;
|
||||
std::string category;
|
||||
int sourceDiskSize;
|
||||
|
||||
@@ -51,38 +51,44 @@ namespace AlibabaCloud
|
||||
void setUsage(const std::string& usage);
|
||||
std::string getSnapshotLinkId()const;
|
||||
void setSnapshotLinkId(const std::string& snapshotLinkId);
|
||||
std::string getSnapshotName()const;
|
||||
void setSnapshotName(const std::string& snapshotName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getFilter1Key()const;
|
||||
void setFilter1Key(const std::string& filter1Key);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDiskId()const;
|
||||
void setDiskId(const std::string& diskId);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getFilter1Value()const;
|
||||
void setFilter1Value(const std::string& filter1Value);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
std::string getSnapshotName()const;
|
||||
void setSnapshotName(const std::string& snapshotName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDiskId()const;
|
||||
void setDiskId(const std::string& diskId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getSourceDiskType()const;
|
||||
void setSourceDiskType(const std::string& sourceDiskType);
|
||||
std::string getFilter1Value()const;
|
||||
void setFilter1Value(const std::string& filter1Value);
|
||||
std::string getFilter2Key()const;
|
||||
void setFilter2Key(const std::string& filter2Key);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
bool getEncrypted()const;
|
||||
void setEncrypted(bool encrypted);
|
||||
std::string getSnapshotType()const;
|
||||
@@ -91,8 +97,6 @@ namespace AlibabaCloud
|
||||
void setKMSKeyId(const std::string& kMSKeyId);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -100,27 +104,29 @@ namespace AlibabaCloud
|
||||
std::string snapshotIds_;
|
||||
std::string usage_;
|
||||
std::string snapshotLinkId_;
|
||||
std::string snapshotName_;
|
||||
int pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string filter1Key_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string diskId_;
|
||||
std::vector<Tag> tag_;
|
||||
bool dryRun_;
|
||||
std::string filter1Value_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
int maxResults_;
|
||||
std::string status_;
|
||||
std::string snapshotName_;
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
std::string diskId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string sourceDiskType_;
|
||||
std::string filter1Value_;
|
||||
std::string filter2Key_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
bool encrypted_;
|
||||
std::string snapshotType_;
|
||||
std::string kMSKeyId_;
|
||||
std::string category_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string status;
|
||||
bool instantAccess;
|
||||
std::string progress;
|
||||
std::string usage;
|
||||
std::string description;
|
||||
@@ -50,6 +51,7 @@ namespace AlibabaCloud
|
||||
bool encrypted;
|
||||
int retentionDays;
|
||||
std::string snapshotName;
|
||||
int instantAccessRetentionDays;
|
||||
std::string sourceDiskId;
|
||||
std::string sourceStorageType;
|
||||
std::string snapshotId;
|
||||
@@ -69,6 +71,7 @@ namespace AlibabaCloud
|
||||
~DescribeSnapshotsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Snapshot> getSnapshots()const;
|
||||
|
||||
@@ -77,6 +80,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::string nextToken_;
|
||||
int pageNumber_;
|
||||
std::vector<Snapshot> snapshots_;
|
||||
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSecurityGroupId()const;
|
||||
void setSecurityGroupId(const std::string& securityGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -47,14 +49,18 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getNetworkInterfaceId()const;
|
||||
void setNetworkInterfaceId(const std::string& networkInterfaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string securityGroupId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string networkInterfaceId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSecurityGroupId()const;
|
||||
void setSecurityGroupId(const std::string& securityGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -47,14 +49,18 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getNetworkInterfaceId()const;
|
||||
void setNetworkInterfaceId(const std::string& networkInterfaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string securityGroupId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string networkInterfaceId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getImageName()const;
|
||||
void setImageName(const std::string& imageName);
|
||||
std::string getLicenseType()const;
|
||||
void setLicenseType(const std::string& licenseType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -65,6 +67,7 @@ namespace AlibabaCloud
|
||||
std::string bootMode_;
|
||||
std::string regionId_;
|
||||
std::string imageName_;
|
||||
std::string licenseType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getDisableInstantAccess()const;
|
||||
void setDisableInstantAccess(bool disableInstantAccess);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -58,6 +60,7 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
bool disableInstantAccess_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user