Regenerate SDK to override list implement.

This commit is contained in:
sdk-team
2021-01-25 12:50:16 +00:00
parent eaa6b3cb18
commit 198969d4d9
15 changed files with 103 additions and 0 deletions

View File

@@ -143,6 +143,8 @@ namespace AlibabaCloud
void setEnableVmOsConfig(bool enableVmOsConfig);
std::vector<NetworkInterface> getNetworkInterface()const;
void setNetworkInterface(const std::vector<NetworkInterface>& networkInterface);
std::string getDeploymentSetId()const;
void setDeploymentSetId(const std::string& deploymentSetId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
@@ -205,6 +207,7 @@ namespace AlibabaCloud
std::string instanceChargeType_;
bool enableVmOsConfig_;
std::vector<NetworkInterface> networkInterface_;
std::string deploymentSetId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string systemDiskDiskName_;

View File

@@ -136,6 +136,8 @@ namespace AlibabaCloud
void setEnableVmOsConfig(bool enableVmOsConfig);
std::vector<NetworkInterface> getNetworkInterface()const;
void setNetworkInterface(const std::vector<NetworkInterface>& networkInterface);
std::string getDeploymentSetId()const;
void setDeploymentSetId(const std::string& deploymentSetId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
@@ -197,6 +199,7 @@ namespace AlibabaCloud
std::string instanceChargeType_;
bool enableVmOsConfig_;
std::vector<NetworkInterface> networkInterface_;
std::string deploymentSetId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string systemDiskDiskName_;

View File

@@ -42,6 +42,12 @@ namespace AlibabaCloud
int availableDisk;
std::string dataDiskCategory;
};
struct AvailableInstanceType
{
int availableInstanceCapacity;
std::string instanceType;
};
std::vector<AvailableInstanceType> availableInstanceTypes;
int totalMemory;
int availableMemory;
int availableVcpus;

View File

@@ -59,6 +59,8 @@ namespace AlibabaCloud
void setDedicatedHostType(const std::string& dedicatedHostType);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getNeedHostDetail()const;
void setNeedHostDetail(const std::string& needHostDetail);
std::string getDedicatedHostName()const;
void setDedicatedHostName(const std::string& dedicatedHostName);
std::string getResourceOwnerAccount()const;
@@ -82,6 +84,7 @@ namespace AlibabaCloud
int pageSize_;
std::string dedicatedHostType_;
std::vector<Tag> tag_;
std::string needHostDetail_;
std::string dedicatedHostName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;

View File

@@ -51,6 +51,10 @@ namespace AlibabaCloud
int udpTimeout;
int slbUdpTimeout;
};
struct HostDetailInfo
{
std::string serialNumber;
};
struct Instance
{
std::string instanceId;
@@ -79,6 +83,7 @@ namespace AlibabaCloud
float cpuOverCommitRatio;
std::string saleCycle;
std::vector<DedicatedHost::Tag> tags;
HostDetailInfo hostDetailInfo;
std::string status;
std::string zoneId;
std::string autoPlacement;

View File

@@ -94,6 +94,7 @@ namespace AlibabaCloud
std::string systemDiskCategory;
std::string internetChargeType;
std::string instanceName;
std::string deploymentSetId;
bool systemDiskDeleteWithInstance;
int internetMaxBandwidthOut;
bool enableVmOsConfig;

View File

@@ -30,6 +30,15 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_ECS_EXPORT ModifyAutoProvisioningGroupRequest : public RpcServiceRequest
{
public:
struct LaunchTemplateConfig
{
std::string instanceType;
double maxPrice;
std::string vSwitchId;
double weightedCapacity;
int priority;
};
public:
ModifyAutoProvisioningGroupRequest();
@@ -45,6 +54,8 @@ namespace AlibabaCloud
void setDefaultTargetCapacityType(const std::string& defaultTargetCapacityType);
std::string getExcessCapacityTerminationPolicy()const;
void setExcessCapacityTerminationPolicy(const std::string& excessCapacityTerminationPolicy);
std::vector<LaunchTemplateConfig> getLaunchTemplateConfig()const;
void setLaunchTemplateConfig(const std::vector<LaunchTemplateConfig>& launchTemplateConfig);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
@@ -70,6 +81,7 @@ namespace AlibabaCloud
std::string regionId_;
std::string defaultTargetCapacityType_;
std::string excessCapacityTerminationPolicy_;
std::vector<LaunchTemplateConfig> launchTemplateConfig_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;