Add dedicated block stroage cluster ModifyDiskSpec.
This commit is contained in:
@@ -32,6 +32,8 @@ public:
|
||||
~AssignIpv6AddressesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::vector<std::string> getIpv6Prefix() const;
|
||||
void setIpv6Prefix(const std::vector<std::string> &ipv6Prefix);
|
||||
int getIpv6PrefixCount() const;
|
||||
@@ -53,6 +55,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::vector<std::string> ipv6Prefix_;
|
||||
int ipv6PrefixCount_;
|
||||
std::string regionId_;
|
||||
|
||||
@@ -94,6 +94,8 @@ public:
|
||||
void setLaunchConfigurationResourceGroupId(const std::string &launchConfigurationResourceGroupId);
|
||||
std::string getLaunchConfigurationPassword() const;
|
||||
void setLaunchConfigurationPassword(const std::string &launchConfigurationPassword);
|
||||
std::string getLaunchConfigurationAutoReleaseTime() const;
|
||||
void setLaunchConfigurationAutoReleaseTime(const std::string &launchConfigurationAutoReleaseTime);
|
||||
std::string getPayAsYouGoAllocationStrategy() const;
|
||||
void setPayAsYouGoAllocationStrategy(const std::string &payAsYouGoAllocationStrategy);
|
||||
std::string getDefaultTargetCapacityType() const;
|
||||
@@ -205,6 +207,7 @@ private:
|
||||
std::string launchConfigurationImageId_;
|
||||
std::string launchConfigurationResourceGroupId_;
|
||||
std::string launchConfigurationPassword_;
|
||||
std::string launchConfigurationAutoReleaseTime_;
|
||||
std::string payAsYouGoAllocationStrategy_;
|
||||
std::string defaultTargetCapacityType_;
|
||||
std::string launchConfigurationKeyPairName_;
|
||||
|
||||
@@ -38,11 +38,13 @@ namespace AlibabaCloud
|
||||
explicit CreateLaunchTemplateVersionResult(const std::string &payload);
|
||||
~CreateLaunchTemplateVersionResult();
|
||||
long getLaunchTemplateVersionNumber()const;
|
||||
std::string getLaunchTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long launchTemplateVersionNumber_;
|
||||
std::string launchTemplateId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,10 +37,12 @@ namespace AlibabaCloud
|
||||
DeleteLaunchTemplateResult();
|
||||
explicit DeleteLaunchTemplateResult(const std::string &payload);
|
||||
~DeleteLaunchTemplateResult();
|
||||
std::string getLaunchTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string launchTemplateId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,15 +32,22 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DeleteLaunchTemplateVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LaunchTemplateVersion
|
||||
{
|
||||
long launchTemplateVersionNumber;
|
||||
std::string launchTemplateId;
|
||||
};
|
||||
|
||||
|
||||
DeleteLaunchTemplateVersionResult();
|
||||
explicit DeleteLaunchTemplateVersionResult(const std::string &payload);
|
||||
~DeleteLaunchTemplateVersionResult();
|
||||
std::vector<LaunchTemplateVersion> getLaunchTemplateVersions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<LaunchTemplateVersion> launchTemplateVersions_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -69,6 +69,7 @@ namespace AlibabaCloud
|
||||
std::string instanceId;
|
||||
std::string socketId;
|
||||
std::string instanceType;
|
||||
long instanceOwnerId;
|
||||
};
|
||||
struct OperationLock
|
||||
{
|
||||
@@ -92,6 +93,7 @@ namespace AlibabaCloud
|
||||
float cpuOverCommitRatio;
|
||||
std::string expiredTime;
|
||||
std::string saleCycle;
|
||||
long dedicatedHostOwnerId;
|
||||
std::vector<DedicatedHost::Tag> tags;
|
||||
HostDetailInfo hostDetailInfo;
|
||||
std::string status;
|
||||
|
||||
@@ -67,6 +67,7 @@ namespace AlibabaCloud
|
||||
std::string getInstanceNetworkType()const;
|
||||
std::vector<std::string> getPublicIpAddress()const;
|
||||
std::vector<std::string> getInnerIpAddress()const;
|
||||
bool getEnableJumboFrame()const;
|
||||
std::string getExpiredTime()const;
|
||||
EipAddress getEipAddress()const;
|
||||
std::string getImageId()const;
|
||||
@@ -102,6 +103,7 @@ namespace AlibabaCloud
|
||||
std::string instanceNetworkType_;
|
||||
std::vector<std::string> publicIpAddress_;
|
||||
std::vector<std::string> innerIpAddress_;
|
||||
bool enableJumboFrame_;
|
||||
std::string expiredTime_;
|
||||
EipAddress eipAddress_;
|
||||
std::string imageId_;
|
||||
|
||||
@@ -54,11 +54,16 @@ namespace AlibabaCloud
|
||||
std::string creationTime;
|
||||
std::string deviceCategory;
|
||||
};
|
||||
std::string rack;
|
||||
std::string hostType;
|
||||
std::string device;
|
||||
std::string punishType;
|
||||
std::string punishDomain;
|
||||
std::string hostId;
|
||||
std::vector<InactiveDisk> inactiveDisks;
|
||||
std::string code;
|
||||
std::string canAccept;
|
||||
std::string rack;
|
||||
std::string punishUrl;
|
||||
std::string hostType;
|
||||
std::string diskId;
|
||||
std::string onlineRepairPolicy;
|
||||
std::vector<std::string> migrationOptions;
|
||||
|
||||
@@ -50,6 +50,8 @@ public:
|
||||
void setPassword(const std::string &password);
|
||||
std::string getHostName() const;
|
||||
void setHostName(const std::string &hostName);
|
||||
bool getEnableJumboFrame() const;
|
||||
void setEnableJumboFrame(bool enableJumboFrame);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -76,6 +78,7 @@ private:
|
||||
std::string userData_;
|
||||
std::string password_;
|
||||
std::string hostName_;
|
||||
bool enableJumboFrame_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string creditSpecification_;
|
||||
|
||||
@@ -37,10 +37,12 @@ namespace AlibabaCloud
|
||||
ModifyLaunchTemplateDefaultVersionResult();
|
||||
explicit ModifyLaunchTemplateDefaultVersionResult(const std::string &payload);
|
||||
~ModifyLaunchTemplateDefaultVersionResult();
|
||||
std::string getLaunchTemplateId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string launchTemplateId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -49,6 +49,9 @@ public:
|
||||
std::string rolearn;
|
||||
long assumeRoleFor;
|
||||
};
|
||||
struct NetworkOptions {
|
||||
bool enableJumboFrame;
|
||||
};
|
||||
struct Tag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
@@ -167,6 +170,8 @@ public:
|
||||
void setSpotDuration(int spotDuration);
|
||||
std::vector<std::string> getSecurityGroupIds() const;
|
||||
void setSecurityGroupIds(const std::vector<std::string> &securityGroupIds);
|
||||
NetworkOptions getNetworkOptions() const;
|
||||
void setNetworkOptions(const NetworkOptions &networkOptions);
|
||||
std::string getSystemDiskSize() const;
|
||||
void setSystemDiskSize(const std::string &systemDiskSize);
|
||||
std::string getImageFamily() const;
|
||||
@@ -304,6 +309,7 @@ private:
|
||||
std::string dedicatedHostId_;
|
||||
int spotDuration_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
NetworkOptions networkOptions_;
|
||||
std::string systemDiskSize_;
|
||||
std::string imageFamily_;
|
||||
std::string launchTemplateName_;
|
||||
|
||||
@@ -32,8 +32,6 @@ public:
|
||||
~StartInstanceRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceRegionId() const;
|
||||
void setSourceRegionId(const std::string &sourceRegionId);
|
||||
bool getInitLocalDisk() const;
|
||||
void setInitLocalDisk(bool initLocalDisk);
|
||||
bool getDryRun() const;
|
||||
@@ -49,7 +47,6 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceRegionId_;
|
||||
bool initLocalDisk_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
Reference in New Issue
Block a user