Support Storage And Network Features For LaunchTemplate.
This commit is contained in:
@@ -72,6 +72,8 @@ public:
|
||||
void setAutoReleaseTime(const std::string &autoReleaseTime);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSchedulerOptionsFenceId() const;
|
||||
void setSchedulerOptionsFenceId(const std::string &schedulerOptionsFenceId);
|
||||
std::string getPeriodUnit() const;
|
||||
void setPeriodUnit(const std::string &periodUnit);
|
||||
bool getAutoRenew() const;
|
||||
@@ -107,6 +109,7 @@ private:
|
||||
std::string ownerAccount_;
|
||||
std::string autoReleaseTime_;
|
||||
long ownerId_;
|
||||
std::string schedulerOptionsFenceId_;
|
||||
std::string periodUnit_;
|
||||
bool autoRenew_;
|
||||
int networkAttributesSlbUdpTimeout_;
|
||||
|
||||
@@ -44,6 +44,8 @@ public:
|
||||
void setTimeout(long timeout);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getContentEncoding() const;
|
||||
void setContentEncoding(const std::string &contentEncoding);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -63,6 +65,7 @@ private:
|
||||
std::string commandContent_;
|
||||
long timeout_;
|
||||
std::string regionId_;
|
||||
std::string contentEncoding_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -42,6 +42,8 @@ public:
|
||||
std::string description;
|
||||
std::string securityGroupId;
|
||||
std::string primaryIpAddress;
|
||||
std::string instanceType;
|
||||
std::string networkInterfaceTrafficMode;
|
||||
};
|
||||
struct DataDisk {
|
||||
std::string performanceLevel;
|
||||
@@ -53,6 +55,9 @@ public:
|
||||
std::string category;
|
||||
bool deleteWithInstance;
|
||||
std::string encrypted;
|
||||
std::string autoSnapshotPolicyId;
|
||||
long provisionedIops;
|
||||
bool burstingEnabled;
|
||||
};
|
||||
CreateLaunchTemplateRequest();
|
||||
~CreateLaunchTemplateRequest();
|
||||
@@ -80,6 +85,8 @@ public:
|
||||
void setTemplateTag(const std::vector<TemplateTag> &templateTag);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getSystemDiskAutoSnapshotPolicyId() const;
|
||||
void setSystemDiskAutoSnapshotPolicyId(const std::string &systemDiskAutoSnapshotPolicyId);
|
||||
int getPeriod() const;
|
||||
void setPeriod(int period);
|
||||
int getIpv6AddressCount() const;
|
||||
@@ -94,6 +101,8 @@ public:
|
||||
void setSpotStrategy(const std::string &spotStrategy);
|
||||
std::string getPrivateIpAddress() const;
|
||||
void setPrivateIpAddress(const std::string &privateIpAddress);
|
||||
bool getSystemDiskBurstingEnabled() const;
|
||||
void setSystemDiskBurstingEnabled(bool systemDiskBurstingEnabled);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
std::string getInternetChargeType() const;
|
||||
@@ -152,6 +161,8 @@ public:
|
||||
void setSecurityGroupIds(const std::vector<std::string> &securityGroupIds);
|
||||
std::vector<DataDisk> getDataDisk() const;
|
||||
void setDataDisk(const std::vector<DataDisk> &dataDisk);
|
||||
long getSystemDiskProvisionedIops() const;
|
||||
void setSystemDiskProvisionedIops(long systemDiskProvisionedIops);
|
||||
int getSystemDiskSize() const;
|
||||
void setSystemDiskSize(int systemDiskSize);
|
||||
std::string getVpcId() const;
|
||||
@@ -172,6 +183,7 @@ private:
|
||||
int systemDiskIops_;
|
||||
std::vector<TemplateTag> templateTag_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string systemDiskAutoSnapshotPolicyId_;
|
||||
int period_;
|
||||
int ipv6AddressCount_;
|
||||
std::string templateResourceGroupId_;
|
||||
@@ -179,6 +191,7 @@ private:
|
||||
std::string vSwitchId_;
|
||||
std::string spotStrategy_;
|
||||
std::string privateIpAddress_;
|
||||
bool systemDiskBurstingEnabled_;
|
||||
std::string instanceName_;
|
||||
std::string internetChargeType_;
|
||||
std::string zoneId_;
|
||||
@@ -208,6 +221,7 @@ private:
|
||||
int spotDuration_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
std::vector<DataDisk> dataDisk_;
|
||||
long systemDiskProvisionedIops_;
|
||||
int systemDiskSize_;
|
||||
std::string vpcId_;
|
||||
std::string systemDiskDescription_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
std::string description;
|
||||
std::string securityGroupId;
|
||||
std::string primaryIpAddress;
|
||||
std::string instanceType;
|
||||
std::string networkInterfaceTrafficMode;
|
||||
};
|
||||
struct DataDisk {
|
||||
std::string performanceLevel;
|
||||
@@ -49,6 +51,9 @@ public:
|
||||
std::string category;
|
||||
bool deleteWithInstance;
|
||||
std::string encrypted;
|
||||
long provisionedIops;
|
||||
bool burstingEnabled;
|
||||
std::string autoSnapshotPolicyId;
|
||||
};
|
||||
CreateLaunchTemplateVersionRequest();
|
||||
~CreateLaunchTemplateVersionRequest();
|
||||
@@ -74,6 +79,8 @@ public:
|
||||
void setSystemDiskIops(int systemDiskIops);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getSystemDiskAutoSnapshotPolicyId() const;
|
||||
void setSystemDiskAutoSnapshotPolicyId(const std::string &systemDiskAutoSnapshotPolicyId);
|
||||
int getPeriod() const;
|
||||
void setPeriod(int period);
|
||||
std::string getLaunchTemplateId() const;
|
||||
@@ -88,6 +95,8 @@ public:
|
||||
void setSpotStrategy(const std::string &spotStrategy);
|
||||
std::string getPrivateIpAddress() const;
|
||||
void setPrivateIpAddress(const std::string &privateIpAddress);
|
||||
bool getSystemDiskBurstingEnabled() const;
|
||||
void setSystemDiskBurstingEnabled(bool systemDiskBurstingEnabled);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
std::string getInternetChargeType() const;
|
||||
@@ -146,6 +155,8 @@ public:
|
||||
void setSecurityGroupIds(const std::vector<std::string> &securityGroupIds);
|
||||
std::vector<DataDisk> getDataDisk() const;
|
||||
void setDataDisk(const std::vector<DataDisk> &dataDisk);
|
||||
long getSystemDiskProvisionedIops() const;
|
||||
void setSystemDiskProvisionedIops(long systemDiskProvisionedIops);
|
||||
int getSystemDiskSize() const;
|
||||
void setSystemDiskSize(int systemDiskSize);
|
||||
std::string getVpcId() const;
|
||||
@@ -165,6 +176,7 @@ private:
|
||||
std::string hostName_;
|
||||
int systemDiskIops_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string systemDiskAutoSnapshotPolicyId_;
|
||||
int period_;
|
||||
std::string launchTemplateId_;
|
||||
int ipv6AddressCount_;
|
||||
@@ -172,6 +184,7 @@ private:
|
||||
std::string vSwitchId_;
|
||||
std::string spotStrategy_;
|
||||
std::string privateIpAddress_;
|
||||
bool systemDiskBurstingEnabled_;
|
||||
std::string instanceName_;
|
||||
std::string internetChargeType_;
|
||||
std::string zoneId_;
|
||||
@@ -201,6 +214,7 @@ private:
|
||||
int spotDuration_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
std::vector<DataDisk> dataDisk_;
|
||||
long systemDiskProvisionedIops_;
|
||||
int systemDiskSize_;
|
||||
std::string vpcId_;
|
||||
std::string systemDiskDescription_;
|
||||
|
||||
@@ -48,6 +48,8 @@ public:
|
||||
void setContentEncoding(const std::string &contentEncoding);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
bool getLatest() const;
|
||||
void setLatest(bool latest);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -67,6 +69,7 @@ private:
|
||||
std::string provider_;
|
||||
std::string contentEncoding_;
|
||||
long pageSize_;
|
||||
bool latest_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -34,6 +34,15 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Command
|
||||
{
|
||||
struct ParameterDefinition
|
||||
{
|
||||
std::string defaultValue;
|
||||
std::string description;
|
||||
bool required;
|
||||
std::string parameterName;
|
||||
std::vector<std::string> possibleValues;
|
||||
};
|
||||
std::vector<Command::ParameterDefinition> parameterDefinitions;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::vector<std::string> parameterNames;
|
||||
|
||||
@@ -34,6 +34,22 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Image
|
||||
{
|
||||
struct DetectionOptions
|
||||
{
|
||||
struct Item
|
||||
{
|
||||
std::string riskCode;
|
||||
std::string value;
|
||||
std::string riskLevel;
|
||||
std::string name;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<Item> items;
|
||||
};
|
||||
struct Features
|
||||
{
|
||||
std::string nvmeSupport;
|
||||
};
|
||||
struct DiskDeviceMapping
|
||||
{
|
||||
std::string snapshotId;
|
||||
@@ -61,6 +77,8 @@ namespace AlibabaCloud
|
||||
std::string oSName;
|
||||
bool isPublic;
|
||||
std::string imageId;
|
||||
DetectionOptions detectionOptions;
|
||||
Features features;
|
||||
std::vector<Image::Tag> tags;
|
||||
std::string oSNameEn;
|
||||
bool loginAsNonRootSupported;
|
||||
|
||||
@@ -55,8 +55,11 @@ namespace AlibabaCloud
|
||||
std::string invocationStatus;
|
||||
std::string parameters;
|
||||
bool timed;
|
||||
std::string commandDescription;
|
||||
long timeout;
|
||||
std::vector<Invocation::InvokeInstance> invokeInstances;
|
||||
std::string commandContent;
|
||||
std::string workingDir;
|
||||
std::string repeatMode;
|
||||
std::string invokeStatus;
|
||||
std::string commandType;
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
struct DataDisk
|
||||
{
|
||||
std::string snapshotId;
|
||||
bool burstingEnabled;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::string performanceLevel;
|
||||
@@ -46,16 +47,20 @@ namespace AlibabaCloud
|
||||
int size;
|
||||
std::string encrypted;
|
||||
bool deleteWithInstance;
|
||||
std::string autoSnapshotPolicyId;
|
||||
std::string diskName;
|
||||
long provisionedIops;
|
||||
};
|
||||
struct NetworkInterface
|
||||
{
|
||||
std::string networkInterfaceTrafficMode;
|
||||
std::string description;
|
||||
std::vector<std::string> securityGroupIds1;
|
||||
std::string vSwitchId;
|
||||
std::string securityGroupId;
|
||||
std::string networkInterfaceName;
|
||||
std::string primaryIpAddress;
|
||||
std::string instanceType;
|
||||
};
|
||||
struct InstanceTag
|
||||
{
|
||||
@@ -71,7 +76,9 @@ namespace AlibabaCloud
|
||||
int systemDiskSize;
|
||||
std::string systemDiskDescription;
|
||||
std::string instanceChargeType;
|
||||
long systemDiskProvisionedIops;
|
||||
int spotDuration;
|
||||
std::string systemDiskAutoSnapshotPolicyId;
|
||||
std::string ramRoleName;
|
||||
std::string systemDiskPerformanceLevel;
|
||||
std::string networkType;
|
||||
@@ -96,6 +103,7 @@ namespace AlibabaCloud
|
||||
std::string internetChargeType;
|
||||
std::string deploymentSetId;
|
||||
std::string instanceName;
|
||||
bool systemDiskBurstingEnabled;
|
||||
bool systemDiskDeleteWithInstance;
|
||||
bool enableVmOsConfig;
|
||||
int internetMaxBandwidthOut;
|
||||
|
||||
@@ -64,6 +64,8 @@ public:
|
||||
void setArchitecture(const std::string &architecture);
|
||||
std::string getLicenseType() const;
|
||||
void setLicenseType(const std::string &licenseType);
|
||||
std::string getDetectionStrategy() const;
|
||||
void setDetectionStrategy(const std::string &detectionStrategy);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getRoleName() const;
|
||||
@@ -85,6 +87,7 @@ private:
|
||||
std::vector<Tag> tag_;
|
||||
std::string architecture_;
|
||||
std::string licenseType_;
|
||||
std::string detectionStrategy_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string roleName_;
|
||||
std::string oSType_;
|
||||
|
||||
@@ -28,6 +28,9 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyImageAttributeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Features {
|
||||
std::string nvmeSupport;
|
||||
};
|
||||
ModifyImageAttributeRequest();
|
||||
~ModifyImageAttributeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -36,6 +39,8 @@ public:
|
||||
void setImageId(const std::string &imageId);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
Features getFeatures() const;
|
||||
void setFeatures(const Features &features);
|
||||
std::string getBootMode() const;
|
||||
void setBootMode(const std::string &bootMode);
|
||||
std::string getRegionId() const;
|
||||
@@ -59,6 +64,7 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string imageId_;
|
||||
std::string description_;
|
||||
Features features_;
|
||||
std::string bootMode_;
|
||||
std::string regionId_;
|
||||
std::string imageName_;
|
||||
|
||||
Reference in New Issue
Block a user