CreateNetworkInterface supports to allocate Ipv6.
This commit is contained in:
@@ -37,10 +37,14 @@ namespace AlibabaCloud
|
||||
AssignIpv6AddressesResult();
|
||||
explicit AssignIpv6AddressesResult(const std::string &payload);
|
||||
~AssignIpv6AddressesResult();
|
||||
std::vector<std::string> getIpv6Sets()const;
|
||||
std::string getNetworkInterfaceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> ipv6Sets_;
|
||||
std::string networkInterfaceId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -69,6 +69,8 @@ namespace AlibabaCloud
|
||||
void setVisible(bool visible);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
int getIpv6AddressCount()const;
|
||||
void setIpv6AddressCount(int ipv6AddressCount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getQueuePairNumber()const;
|
||||
@@ -85,6 +87,8 @@ namespace AlibabaCloud
|
||||
void setPrivateIpAddress(const std::vector<std::string>& privateIpAddress);
|
||||
std::string getPrimaryIpAddress()const;
|
||||
void setPrimaryIpAddress(const std::string& primaryIpAddress);
|
||||
std::vector<std::string> getIpv6Address()const;
|
||||
void setIpv6Address(const std::vector<std::string>& ipv6Address);
|
||||
|
||||
private:
|
||||
int queueNumber_;
|
||||
@@ -101,6 +105,7 @@ namespace AlibabaCloud
|
||||
std::string networkInterfaceName_;
|
||||
bool visible_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int ipv6AddressCount_;
|
||||
std::string ownerAccount_;
|
||||
int queuePairNumber_;
|
||||
long ownerId_;
|
||||
@@ -109,6 +114,7 @@ namespace AlibabaCloud
|
||||
std::string vSwitchId_;
|
||||
std::vector<std::string> privateIpAddress_;
|
||||
std::string primaryIpAddress_;
|
||||
std::vector<std::string> ipv6Address_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -42,24 +42,29 @@ namespace AlibabaCloud
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
struct Ipv6Set
|
||||
{
|
||||
std::string ipv6Address;
|
||||
};
|
||||
|
||||
|
||||
CreateNetworkInterfaceResult();
|
||||
explicit CreateNetworkInterfaceResult(const std::string &payload);
|
||||
~CreateNetworkInterfaceResult();
|
||||
std::string getStatus()const;
|
||||
std::string getPrivateIpAddress()const;
|
||||
std::string getDescription()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getResourceGroupId()const;
|
||||
std::string getPrivateIpAddress()const;
|
||||
bool getServiceManaged()const;
|
||||
std::string getResourceGroupId()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getVSwitchId()const;
|
||||
std::string getNetworkInterfaceName()const;
|
||||
std::string getNetworkInterfaceId()const;
|
||||
std::string getMacAddress()const;
|
||||
std::string getNetworkInterfaceId()const;
|
||||
std::vector<std::string> getSecurityGroupIds()const;
|
||||
long getServiceID()const;
|
||||
std::string getType()const;
|
||||
std::vector<Ipv6Set> getIpv6Sets()const;
|
||||
std::string getVpcId()const;
|
||||
std::string getOwnerId()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
@@ -69,18 +74,19 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string privateIpAddress_;
|
||||
std::string description_;
|
||||
std::string zoneId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string privateIpAddress_;
|
||||
bool serviceManaged_;
|
||||
std::string resourceGroupId_;
|
||||
std::string zoneId_;
|
||||
std::string vSwitchId_;
|
||||
std::string networkInterfaceName_;
|
||||
std::string networkInterfaceId_;
|
||||
std::string macAddress_;
|
||||
std::string networkInterfaceId_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
long serviceID_;
|
||||
std::string type_;
|
||||
std::vector<Ipv6Set> ipv6Sets_;
|
||||
std::string vpcId_;
|
||||
std::string ownerId_;
|
||||
std::vector<Tag> tags_;
|
||||
|
||||
@@ -49,8 +49,8 @@ namespace AlibabaCloud
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string endTime;
|
||||
std::string platform;
|
||||
std::string resourceGroupId;
|
||||
std::string platform;
|
||||
std::string privatePoolOptionsName;
|
||||
std::string instanceChargeType;
|
||||
std::string startTime;
|
||||
|
||||
@@ -55,6 +55,8 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDedicatedHostClusterId()const;
|
||||
void setDedicatedHostClusterId(const std::string& dedicatedHostClusterId);
|
||||
std::string getDedicatedHostType()const;
|
||||
void setDedicatedHostType(const std::string& dedicatedHostType);
|
||||
std::vector<Tag> getTag()const;
|
||||
@@ -82,6 +84,7 @@ namespace AlibabaCloud
|
||||
std::string lockReason_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string dedicatedHostClusterId_;
|
||||
std::string dedicatedHostType_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string needHostDetail_;
|
||||
|
||||
@@ -36,11 +36,11 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Capacity
|
||||
{
|
||||
int availableVgpus;
|
||||
std::string localStorageCategory;
|
||||
int availableVgpus;
|
||||
int totalVgpus;
|
||||
float totalMemory;
|
||||
float availableMemory;
|
||||
float totalMemory;
|
||||
int availableVcpus;
|
||||
int totalVcpus;
|
||||
int availableLocalStorage;
|
||||
@@ -79,8 +79,8 @@ namespace AlibabaCloud
|
||||
std::string gPUSpec;
|
||||
Capacity capacity;
|
||||
std::string dedicatedHostName;
|
||||
std::string expiredTime;
|
||||
float cpuOverCommitRatio;
|
||||
std::string expiredTime;
|
||||
std::string saleCycle;
|
||||
std::vector<DedicatedHost::Tag> tags;
|
||||
HostDetailInfo hostDetailInfo;
|
||||
@@ -94,8 +94,8 @@ namespace AlibabaCloud
|
||||
int sockets;
|
||||
std::string chargeType;
|
||||
std::vector<std::string> supportedInstanceTypeFamilies;
|
||||
std::string actionOnMaintenance;
|
||||
std::string creationTime;
|
||||
std::string actionOnMaintenance;
|
||||
std::string regionId;
|
||||
std::vector<std::string> supportedInstanceTypesList;
|
||||
std::string dedicatedHostClusterId;
|
||||
|
||||
@@ -40,8 +40,8 @@ namespace AlibabaCloud
|
||||
std::string type;
|
||||
std::string progress;
|
||||
std::string format;
|
||||
std::string size;
|
||||
std::string device;
|
||||
std::string size;
|
||||
std::string importOSSBucket;
|
||||
std::string importOSSObject;
|
||||
int remainTime;
|
||||
@@ -52,10 +52,10 @@ namespace AlibabaCloud
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string imageOwnerAlias;
|
||||
std::string description;
|
||||
std::string isSelfShared;
|
||||
std::string platform;
|
||||
std::string description;
|
||||
std::string resourceGroupId;
|
||||
std::string platform;
|
||||
int size;
|
||||
bool isSubscribed;
|
||||
std::string oSName;
|
||||
|
||||
@@ -30,6 +30,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstanceHistoryEventsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
|
||||
public:
|
||||
DescribeInstanceHistoryEventsRequest();
|
||||
@@ -45,12 +51,16 @@ namespace AlibabaCloud
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getImpactLevel()const;
|
||||
void setImpactLevel(const std::string& impactLevel);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<std::string> getInstanceEventCycleStatus()const;
|
||||
void setInstanceEventCycleStatus(const std::vector<std::string>& instanceEventCycleStatus);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getEventPublishTimeEnd()const;
|
||||
void setEventPublishTimeEnd(const std::string& eventPublishTimeEnd);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
@@ -82,9 +92,11 @@ namespace AlibabaCloud
|
||||
std::string eventCycleStatus_;
|
||||
int pageNumber_;
|
||||
std::string impactLevel_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::vector<std::string> instanceEventCycleStatus_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string eventPublishTimeEnd_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::vector<std::string> instanceEventType_;
|
||||
|
||||
@@ -54,7 +54,9 @@ namespace AlibabaCloud
|
||||
std::string creationTime;
|
||||
std::string deviceCategory;
|
||||
};
|
||||
std::string hostType;
|
||||
std::string device;
|
||||
std::string hostId;
|
||||
std::vector<InactiveDisk> inactiveDisks;
|
||||
std::string diskId;
|
||||
};
|
||||
|
||||
@@ -57,8 +57,12 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
int getInstanceCpuCoreCount()const;
|
||||
void setInstanceCpuCoreCount(int instanceCpuCoreCount);
|
||||
std::string getSpotStrategy()const;
|
||||
void setSpotStrategy(const std::string& spotStrategy);
|
||||
std::string getInternetChargeType()const;
|
||||
void setInternetChargeType(const std::string& internetChargeType);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getInstanceNetworkType()const;
|
||||
void setInstanceNetworkType(const std::string& instanceNetworkType);
|
||||
int getInstanceAmount()const;
|
||||
@@ -105,6 +109,8 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getDataDisk2Size()const;
|
||||
void setDataDisk2Size(int dataDisk2Size);
|
||||
int getSpotDuration()const;
|
||||
void setSpotDuration(int spotDuration);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getDataDisk1Category()const;
|
||||
@@ -128,7 +134,9 @@ namespace AlibabaCloud
|
||||
std::string assuranceTimes_;
|
||||
long ownerId_;
|
||||
int instanceCpuCoreCount_;
|
||||
std::string spotStrategy_;
|
||||
std::string internetChargeType_;
|
||||
std::string zoneId_;
|
||||
std::string instanceNetworkType_;
|
||||
int instanceAmount_;
|
||||
std::vector<std::string> instanceTypeList_;
|
||||
@@ -152,6 +160,7 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int dataDisk2Size_;
|
||||
int spotDuration_;
|
||||
std::string resourceType_;
|
||||
std::string dataDisk1Category_;
|
||||
std::string dataDisk2PerformanceLevel_;
|
||||
|
||||
@@ -39,30 +39,32 @@ namespace AlibabaCloud
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string status;
|
||||
bool instantAccess;
|
||||
std::string progress;
|
||||
std::string usage;
|
||||
std::string description;
|
||||
std::string kMSKeyId;
|
||||
std::string category;
|
||||
std::string kMSKeyId;
|
||||
std::string resourceGroupId;
|
||||
std::string productCode;
|
||||
bool encrypted;
|
||||
int retentionDays;
|
||||
std::string snapshotName;
|
||||
int instantAccessRetentionDays;
|
||||
std::string sourceDiskId;
|
||||
std::string snapshotSN;
|
||||
std::string sourceRegionId;
|
||||
std::vector<Snapshot::Tag> tags;
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string usage;
|
||||
std::string productCode;
|
||||
std::string sourceSnapshotId;
|
||||
int retentionDays;
|
||||
std::string sourceStorageType;
|
||||
std::string snapshotId;
|
||||
std::string snapshotSN;
|
||||
std::string sourceDiskSize;
|
||||
std::string creationTime;
|
||||
std::string lastModifiedTime;
|
||||
std::string snapshotType;
|
||||
std::string sourceDiskType;
|
||||
int remainTime;
|
||||
std::vector<Snapshot::Tag> tags;
|
||||
std::string sourceDiskType;
|
||||
};
|
||||
|
||||
|
||||
@@ -70,8 +72,8 @@ namespace AlibabaCloud
|
||||
explicit DescribeSnapshotsResult(const std::string &payload);
|
||||
~DescribeSnapshotsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Snapshot> getSnapshots()const;
|
||||
|
||||
@@ -79,8 +81,8 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Snapshot> snapshots_;
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct TagFilter
|
||||
{
|
||||
std::string tagKey;
|
||||
std::vector<std::string> tagValues;
|
||||
std::string tagKey;
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
@@ -35,8 +35,8 @@ namespace AlibabaCloud
|
||||
struct FeeOfInstance
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string fee;
|
||||
std::string currency;
|
||||
std::string fee;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -190,6 +190,8 @@ namespace AlibabaCloud
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::vector<std::string> getIpv6Address()const;
|
||||
void setIpv6Address(const std::vector<std::string>& ipv6Address);
|
||||
std::string getSecurityOptionsConfidentialComputingMode()const;
|
||||
void setSecurityOptionsConfidentialComputingMode(const std::string& securityOptionsConfidentialComputingMode);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
int getInternetMaxBandwidthOut()const;
|
||||
@@ -301,6 +303,7 @@ namespace AlibabaCloud
|
||||
std::string instanceName_;
|
||||
std::string zoneId_;
|
||||
std::vector<std::string> ipv6Address_;
|
||||
std::string securityOptionsConfidentialComputingMode_;
|
||||
std::string clientToken_;
|
||||
int internetMaxBandwidthOut_;
|
||||
std::string description_;
|
||||
|
||||
Reference in New Issue
Block a user