Supported Primary NetworkInterface IP for API DescribeInstances.
This commit is contained in:
@@ -31,6 +31,19 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateAutoProvisioningGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct LaunchConfigurationDataDisk
|
||||
{
|
||||
int size;
|
||||
std::string category;
|
||||
};
|
||||
struct SystemDiskConfig
|
||||
{
|
||||
std::string diskCategory;
|
||||
};
|
||||
struct DataDiskConfig
|
||||
{
|
||||
std::string diskCategory;
|
||||
};
|
||||
struct LaunchTemplateConfig
|
||||
{
|
||||
std::string instanceType;
|
||||
@@ -39,51 +52,104 @@ namespace AlibabaCloud
|
||||
double weightedCapacity;
|
||||
int priority;
|
||||
};
|
||||
struct LaunchConfigurationTag
|
||||
{
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateAutoProvisioningGroupRequest();
|
||||
~CreateAutoProvisioningGroupRequest();
|
||||
|
||||
std::vector<LaunchConfigurationDataDisk> getLaunchConfigurationDataDisk()const;
|
||||
void setLaunchConfigurationDataDisk(const std::vector<LaunchConfigurationDataDisk>& launchConfigurationDataDisk);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getLaunchConfigurationSystemDiskCategory()const;
|
||||
void setLaunchConfigurationSystemDiskCategory(const std::string& launchConfigurationSystemDiskCategory);
|
||||
std::string getAutoProvisioningGroupType()const;
|
||||
void setAutoProvisioningGroupType(const std::string& autoProvisioningGroupType);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getLaunchConfigurationImageId()const;
|
||||
void setLaunchConfigurationImageId(const std::string& launchConfigurationImageId);
|
||||
std::string getLaunchConfigurationResourceGroupId()const;
|
||||
void setLaunchConfigurationResourceGroupId(const std::string& launchConfigurationResourceGroupId);
|
||||
std::string getPayAsYouGoAllocationStrategy()const;
|
||||
void setPayAsYouGoAllocationStrategy(const std::string& payAsYouGoAllocationStrategy);
|
||||
std::string getDefaultTargetCapacityType()const;
|
||||
void setDefaultTargetCapacityType(const std::string& defaultTargetCapacityType);
|
||||
std::string getLaunchConfigurationKeyPairName()const;
|
||||
void setLaunchConfigurationKeyPairName(const std::string& launchConfigurationKeyPairName);
|
||||
std::vector<SystemDiskConfig> getSystemDiskConfig()const;
|
||||
void setSystemDiskConfig(const std::vector<SystemDiskConfig>& systemDiskConfig);
|
||||
std::vector<DataDiskConfig> getDataDiskConfig()const;
|
||||
void setDataDiskConfig(const std::vector<DataDiskConfig>& dataDiskConfig);
|
||||
std::string getValidUntil()const;
|
||||
void setValidUntil(const std::string& validUntil);
|
||||
std::string getLaunchTemplateId()const;
|
||||
void setLaunchTemplateId(const std::string& launchTemplateId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getLaunchConfigurationSystemDiskSize()const;
|
||||
void setLaunchConfigurationSystemDiskSize(int launchConfigurationSystemDiskSize);
|
||||
int getLaunchConfigurationInternetMaxBandwidthOut()const;
|
||||
void setLaunchConfigurationInternetMaxBandwidthOut(int launchConfigurationInternetMaxBandwidthOut);
|
||||
std::string getLaunchConfigurationHostName()const;
|
||||
void setLaunchConfigurationHostName(const std::string& launchConfigurationHostName);
|
||||
float getMaxSpotPrice()const;
|
||||
void setMaxSpotPrice(float maxSpotPrice);
|
||||
bool getLaunchConfigurationPasswordInherit()const;
|
||||
void setLaunchConfigurationPasswordInherit(bool launchConfigurationPasswordInherit);
|
||||
std::string getLaunchConfigurationSecurityGroupId()const;
|
||||
void setLaunchConfigurationSecurityGroupId(const std::string& launchConfigurationSecurityGroupId);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
bool getTerminateInstancesWithExpiration()const;
|
||||
void setTerminateInstancesWithExpiration(bool terminateInstancesWithExpiration);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getLaunchConfigurationUserData()const;
|
||||
void setLaunchConfigurationUserData(const std::string& launchConfigurationUserData);
|
||||
std::string getLaunchConfigurationInstanceName()const;
|
||||
void setLaunchConfigurationInstanceName(const std::string& launchConfigurationInstanceName);
|
||||
std::string getLaunchConfigurationInstanceDescription()const;
|
||||
void setLaunchConfigurationInstanceDescription(const std::string& launchConfigurationInstanceDescription);
|
||||
std::string getSpotAllocationStrategy()const;
|
||||
void setSpotAllocationStrategy(const std::string& spotAllocationStrategy);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getTerminateInstances()const;
|
||||
void setTerminateInstances(bool terminateInstances);
|
||||
std::string getPayAsYouGoAllocationStrategy()const;
|
||||
void setPayAsYouGoAllocationStrategy(const std::string& payAsYouGoAllocationStrategy);
|
||||
std::string getDefaultTargetCapacityType()const;
|
||||
void setDefaultTargetCapacityType(const std::string& defaultTargetCapacityType);
|
||||
std::string getLaunchConfigurationSystemDiskName()const;
|
||||
void setLaunchConfigurationSystemDiskName(const std::string& launchConfigurationSystemDiskName);
|
||||
std::string getLaunchConfigurationSystemDiskDescription()const;
|
||||
void setLaunchConfigurationSystemDiskDescription(const std::string& launchConfigurationSystemDiskDescription);
|
||||
std::string getExcessCapacityTerminationPolicy()const;
|
||||
void setExcessCapacityTerminationPolicy(const std::string& excessCapacityTerminationPolicy);
|
||||
std::vector<LaunchTemplateConfig> getLaunchTemplateConfig()const;
|
||||
void setLaunchTemplateConfig(const std::vector<LaunchTemplateConfig>& launchTemplateConfig);
|
||||
std::string getValidUntil()const;
|
||||
void setValidUntil(const std::string& validUntil);
|
||||
std::string getLaunchConfigurationRamRoleName()const;
|
||||
void setLaunchConfigurationRamRoleName(const std::string& launchConfigurationRamRoleName);
|
||||
int getLaunchConfigurationInternetMaxBandwidthIn()const;
|
||||
void setLaunchConfigurationInternetMaxBandwidthIn(int launchConfigurationInternetMaxBandwidthIn);
|
||||
std::string getSpotInstanceInterruptionBehavior()const;
|
||||
void setSpotInstanceInterruptionBehavior(const std::string& spotInstanceInterruptionBehavior);
|
||||
std::string getLaunchTemplateId()const;
|
||||
void setLaunchTemplateId(const std::string& launchTemplateId);
|
||||
std::string getLaunchConfigurationSecurityEnhancementStrategy()const;
|
||||
void setLaunchConfigurationSecurityEnhancementStrategy(const std::string& launchConfigurationSecurityEnhancementStrategy);
|
||||
std::vector<LaunchConfigurationTag> getLaunchConfigurationTag()const;
|
||||
void setLaunchConfigurationTag(const std::vector<LaunchConfigurationTag>& launchConfigurationTag);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getSpotInstancePoolsToUseCount()const;
|
||||
void setSpotInstancePoolsToUseCount(int spotInstancePoolsToUseCount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLaunchConfigurationInternetChargeType()const;
|
||||
void setLaunchConfigurationInternetChargeType(const std::string& launchConfigurationInternetChargeType);
|
||||
std::string getLaunchTemplateVersion()const;
|
||||
void setLaunchTemplateVersion(const std::string& launchTemplateVersion);
|
||||
std::string getLaunchConfigurationIoOptimized()const;
|
||||
void setLaunchConfigurationIoOptimized(const std::string& launchConfigurationIoOptimized);
|
||||
std::string getPayAsYouGoTargetCapacity()const;
|
||||
void setPayAsYouGoTargetCapacity(const std::string& payAsYouGoTargetCapacity);
|
||||
std::string getTotalTargetCapacity()const;
|
||||
@@ -94,36 +160,57 @@ namespace AlibabaCloud
|
||||
void setValidFrom(const std::string& validFrom);
|
||||
std::string getAutoProvisioningGroupName()const;
|
||||
void setAutoProvisioningGroupName(const std::string& autoProvisioningGroupName);
|
||||
float getMaxSpotPrice()const;
|
||||
void setMaxSpotPrice(float maxSpotPrice);
|
||||
|
||||
private:
|
||||
std::vector<LaunchConfigurationDataDisk> launchConfigurationDataDisk_;
|
||||
long resourceOwnerId_;
|
||||
std::string launchConfigurationSystemDiskCategory_;
|
||||
std::string autoProvisioningGroupType_;
|
||||
std::string resourceGroupId_;
|
||||
std::string launchConfigurationImageId_;
|
||||
std::string launchConfigurationResourceGroupId_;
|
||||
std::string payAsYouGoAllocationStrategy_;
|
||||
std::string defaultTargetCapacityType_;
|
||||
std::string launchConfigurationKeyPairName_;
|
||||
std::vector<SystemDiskConfig> systemDiskConfig_;
|
||||
std::vector<DataDiskConfig> dataDiskConfig_;
|
||||
std::string validUntil_;
|
||||
std::string launchTemplateId_;
|
||||
long ownerId_;
|
||||
int launchConfigurationSystemDiskSize_;
|
||||
int launchConfigurationInternetMaxBandwidthOut_;
|
||||
std::string launchConfigurationHostName_;
|
||||
float maxSpotPrice_;
|
||||
bool launchConfigurationPasswordInherit_;
|
||||
std::string launchConfigurationSecurityGroupId_;
|
||||
std::string description_;
|
||||
bool terminateInstancesWithExpiration_;
|
||||
std::string resourceGroupId_;
|
||||
std::string launchConfigurationUserData_;
|
||||
std::string launchConfigurationInstanceName_;
|
||||
std::string launchConfigurationInstanceDescription_;
|
||||
std::string spotAllocationStrategy_;
|
||||
std::string regionId_;
|
||||
bool terminateInstances_;
|
||||
std::string payAsYouGoAllocationStrategy_;
|
||||
std::string defaultTargetCapacityType_;
|
||||
std::string launchConfigurationSystemDiskName_;
|
||||
std::string launchConfigurationSystemDiskDescription_;
|
||||
std::string excessCapacityTerminationPolicy_;
|
||||
std::vector<LaunchTemplateConfig> launchTemplateConfig_;
|
||||
std::string validUntil_;
|
||||
std::string launchConfigurationRamRoleName_;
|
||||
int launchConfigurationInternetMaxBandwidthIn_;
|
||||
std::string spotInstanceInterruptionBehavior_;
|
||||
std::string launchTemplateId_;
|
||||
std::string launchConfigurationSecurityEnhancementStrategy_;
|
||||
std::vector<LaunchConfigurationTag> launchConfigurationTag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int spotInstancePoolsToUseCount_;
|
||||
long ownerId_;
|
||||
std::string launchConfigurationInternetChargeType_;
|
||||
std::string launchTemplateVersion_;
|
||||
std::string launchConfigurationIoOptimized_;
|
||||
std::string payAsYouGoTargetCapacity_;
|
||||
std::string totalTargetCapacity_;
|
||||
std::string spotTargetCapacity_;
|
||||
std::string validFrom_;
|
||||
std::string autoProvisioningGroupName_;
|
||||
float maxSpotPrice_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -79,9 +79,21 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct NetworkInterface
|
||||
{
|
||||
struct PrivateIpSet
|
||||
{
|
||||
std::string privateIpAddress;
|
||||
bool primary;
|
||||
};
|
||||
struct Ipv6Set
|
||||
{
|
||||
std::string ipv6Address;
|
||||
};
|
||||
std::string type;
|
||||
std::vector<NetworkInterface::Ipv6Set> ipv6Sets;
|
||||
std::string primaryIpAddress;
|
||||
std::string networkInterfaceId;
|
||||
std::string macAddress;
|
||||
std::vector<NetworkInterface::PrivateIpSet> privateIpSets;
|
||||
};
|
||||
struct LockReason
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user