ECS SDK Auto Released By zemin.lzm,Version:1.20.3

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
yixiong.jxy
2018-07-31 22:00:17 +08:00
parent 20195cdd92
commit 076567c0c7
36 changed files with 317 additions and 1 deletions

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getMemory()const;
void setMemory(int memory);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
std::string getIoOptimized()const;
@@ -53,6 +55,8 @@ namespace AlibabaCloud
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getCores()const;
void setCores(int cores);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
@@ -104,6 +108,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
int memory_;
long callerParentId_;
std::string ioOptimized_;
bool proxy_original_security_transport_;
@@ -112,6 +117,7 @@ namespace AlibabaCloud
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
int cores_;
std::string securityToken_;
std::string regionId_;
bool enable_;

View File

@@ -57,6 +57,7 @@ namespace AlibabaCloud
std::string isSelfShared;
std::string architecture;
std::string platform;
std::string resourceGroupId;
std::string productCode;
int size;
bool isSubscribed;

View File

@@ -45,8 +45,14 @@ namespace AlibabaCloud
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getRenewalStatus()const;
void setRenewalStatus(const std::string& renewalStatus);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
private:
long resourceOwnerId_;
@@ -54,7 +60,10 @@ namespace AlibabaCloud
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string renewalStatus_;
std::string pageSize_;
long ownerId_;
std::string pageNumber_;
};
}

View File

@@ -45,12 +45,18 @@ namespace AlibabaCloud
DescribeInstanceAutoRenewAttributeResult();
explicit DescribeInstanceAutoRenewAttributeResult(const std::string &payload);
~DescribeInstanceAutoRenewAttributeResult();
int getTotalCount()const;
std::vector<InstanceRenewAttribute> getInstanceRenewAttributes()const;
int getPageSize()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<InstanceRenewAttribute> instanceRenewAttributes_;
int pageSize_;
int pageNumber_;
};
}

View File

@@ -49,6 +49,7 @@ namespace AlibabaCloud
std::string localStorageCategory;
std::string gPUSpec;
int baselineCredit;
std::string instanceFamilyLevel;
std::string instanceTypeId;
};

View File

@@ -34,8 +34,15 @@ namespace AlibabaCloud
public:
struct KeyPair
{
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string keyPairFingerPrint;
std::string keyPairName;
std::string resourceGroupId;
std::vector<KeyPair::Tag> tags;
};

View File

@@ -34,13 +34,20 @@ namespace AlibabaCloud
public:
struct LaunchTemplateSet
{
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string launchTemplateName;
std::string createdBy;
std::string modifiedTime;
std::string resourceGroupId;
long latestVersionNumber;
std::string createTime;
std::string launchTemplateId;
long defaultVersionNumber;
std::vector<LaunchTemplateSet::Tag> tags;
};

View File

@@ -50,10 +50,16 @@ namespace AlibabaCloud
std::string privateIpAddress;
bool primary;
};
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string status;
std::string privateIpAddress;
std::string description;
std::string zoneId;
std::string resourceGroupId;
std::string instanceId;
std::string vSwitchId;
std::string networkInterfaceName;
@@ -64,6 +70,7 @@ namespace AlibabaCloud
std::string vpcId;
AssociatedPublicIp associatedPublicIp;
std::string creationTime;
std::vector<NetworkInterfaceSet::Tag> tags;
std::vector<NetworkInterfaceSet::PrivateIpSet> privateIpSets;
};

View File

@@ -36,9 +36,23 @@ namespace AlibabaCloud
{
struct Price
{
struct ResourcePriceModel
{
struct Rule1
{
std::string description;
long ruleId;
};
float originalPrice;
float discountPrice;
std::vector<ResourcePriceModel::Rule1> subRules;
std::string resource;
float tradePrice;
};
float originalPrice;
float discountPrice;
std::string currency;
std::vector<ResourcePriceModel> detailInfos;
float tradePrice;
};
struct Rule

View File

@@ -36,9 +36,23 @@ namespace AlibabaCloud
{
struct Price
{
struct ResourcePriceModel
{
struct Rule1
{
std::string description;
long ruleId;
};
float originalPrice;
float discountPrice;
std::vector<ResourcePriceModel::Rule1> subRules;
std::string resource;
float tradePrice;
};
float originalPrice;
float discountPrice;
std::string currency;
std::vector<ResourcePriceModel> detailInfos;
float tradePrice;
};
struct Rule

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getMemory()const;
void setMemory(int memory);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
@@ -49,6 +51,8 @@ namespace AlibabaCloud
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getCores()const;
void setCores(int cores);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
@@ -94,12 +98,14 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
int memory_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
int cores_;
std::string securityToken_;
std::string regionId_;
bool enable_;

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
std::string sourceGroupId;
std::string policy;
std::string description;
std::string sourcePortRange;
std::string priority;
std::string createTime;
std::string nicType;

View File

@@ -43,6 +43,7 @@ namespace AlibabaCloud
std::string description;
std::string securityGroupName;
std::string vpcId;
std::string resourceGroupId;
std::string securityGroupId;
std::string creationTime;
std::vector<SecurityGroup::Tag> tags;

View File

@@ -57,6 +57,8 @@ namespace AlibabaCloud
void setPageNumber(int pageNumber);
std::string getTag1Value()const;
void setTag1Value(const std::string& tag1Value);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getFilter1Key()const;
void setFilter1Key(const std::string& filter1Key);
std::string getRegionId()const;
@@ -112,6 +114,7 @@ namespace AlibabaCloud
std::string tag3Key_;
int pageNumber_;
std::string tag1Value_;
std::string resourceGroupId_;
std::string filter1Key_;
std::string regionId_;
int pageSize_;

View File

@@ -43,6 +43,7 @@ namespace AlibabaCloud
std::string progress;
std::string usage;
std::string description;
std::string resourceGroupId;
std::string productCode;
bool encrypted;
int retentionDays;

View File

@@ -37,9 +37,13 @@ namespace AlibabaCloud
struct ResourceTypeCount
{
int snapshot;
int eni;
int keyPair;
int instance;
int volume;
int launchTemplate;
int securitygroup;
int ddh;
int image;
int disk;
};

View File

@@ -63,6 +63,8 @@ namespace AlibabaCloud
void setLaunchTemplateName(const std::string& launchTemplateName);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
bool getUniqueSuffix()const;
void setUniqueSuffix(bool uniqueSuffix);
std::string getHpcClusterId()const;
void setHpcClusterId(const std::string& hpcClusterId);
long getCallerParentId()const;
@@ -195,6 +197,7 @@ namespace AlibabaCloud
private:
std::string launchTemplateName_;
long resourceOwnerId_;
bool uniqueSuffix_;
std::string hpcClusterId_;
long callerParentId_;
std::string securityEnhancementStrategy_;