Support throughput for API DescribeDisks.
This commit is contained in:
@@ -71,6 +71,8 @@ public:
|
||||
void setLaunchConfigurationSystemDiskPerformanceLevel(const std::string &launchConfigurationSystemDiskPerformanceLevel);
|
||||
std::vector<std::string> getLaunchConfigurationHostNames() const;
|
||||
void setLaunchConfigurationHostNames(const std::vector<std::string> &launchConfigurationHostNames);
|
||||
std::vector<std::string> getLaunchConfigurationSecurityGroupIds() const;
|
||||
void setLaunchConfigurationSecurityGroupIds(const std::vector<std::string> &launchConfigurationSecurityGroupIds);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getLaunchConfigurationImageId() const;
|
||||
@@ -179,6 +181,7 @@ private:
|
||||
std::string autoProvisioningGroupType_;
|
||||
std::string launchConfigurationSystemDiskPerformanceLevel_;
|
||||
std::vector<std::string> launchConfigurationHostNames_;
|
||||
std::vector<std::string> launchConfigurationSecurityGroupIds_;
|
||||
std::string resourceGroupId_;
|
||||
std::string launchConfigurationImageId_;
|
||||
std::string launchConfigurationResourceGroupId_;
|
||||
|
||||
@@ -75,6 +75,10 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getBurstingEnabled() const;
|
||||
void setBurstingEnabled(bool burstingEnabled);
|
||||
long getProvisionedIops() const;
|
||||
void setProvisionedIops(long provisionedIops);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getStorageSetId() const;
|
||||
@@ -109,6 +113,8 @@ private:
|
||||
std::string performanceLevel_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
bool burstingEnabled_;
|
||||
long provisionedIops_;
|
||||
std::string instanceId_;
|
||||
std::string storageSetId_;
|
||||
int size_;
|
||||
|
||||
@@ -92,6 +92,7 @@ namespace AlibabaCloud
|
||||
std::vector<DedicatedHost::Instance> instances;
|
||||
int cores;
|
||||
int sockets;
|
||||
std::string schedulerOptionsManagedPrivateSpaceId;
|
||||
std::string chargeType;
|
||||
std::vector<std::string> supportedInstanceTypeFamilies;
|
||||
std::string creationTime;
|
||||
|
||||
@@ -34,6 +34,12 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct DeploymentSet
|
||||
{
|
||||
struct Capacity
|
||||
{
|
||||
int usedAmount;
|
||||
std::string zoneId;
|
||||
int availableAmount;
|
||||
};
|
||||
std::string deploymentSetId;
|
||||
std::string deploymentSetDescription;
|
||||
int instanceAmount;
|
||||
@@ -41,6 +47,7 @@ namespace AlibabaCloud
|
||||
std::string creationTime;
|
||||
std::string strategy;
|
||||
std::string deploymentSetName;
|
||||
std::vector<DeploymentSet::Capacity> capacities;
|
||||
std::string domain;
|
||||
std::string granularity;
|
||||
std::vector<std::string> instanceIds;
|
||||
|
||||
@@ -64,6 +64,7 @@ namespace AlibabaCloud
|
||||
int size;
|
||||
bool deleteAutoSnapshot;
|
||||
std::string diskChargeType;
|
||||
int throughput;
|
||||
int storageSetPartitionNumber;
|
||||
int iOPS;
|
||||
std::vector<Disk::Attachment> attachments;
|
||||
@@ -75,6 +76,7 @@ namespace AlibabaCloud
|
||||
std::string status;
|
||||
int iOPSRead;
|
||||
std::string attachedTime;
|
||||
bool burstingEnabled;
|
||||
std::string storageClusterId;
|
||||
int iOPSWrite;
|
||||
std::string zoneId;
|
||||
@@ -88,6 +90,7 @@ namespace AlibabaCloud
|
||||
bool enableAutoSnapshot;
|
||||
std::string autoSnapshotPolicyId;
|
||||
std::string diskName;
|
||||
long provisionedIops;
|
||||
std::vector<Disk::OperationLock> operationLocks;
|
||||
std::string bdfId;
|
||||
bool portable;
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string imageId;
|
||||
std::vector<Image::Tag> tags;
|
||||
std::string oSNameEn;
|
||||
bool loginAsNonRootSupported;
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string usage;
|
||||
@@ -76,6 +77,7 @@ namespace AlibabaCloud
|
||||
std::string imageName;
|
||||
std::vector<Image::DiskDeviceMapping> diskDeviceMappings;
|
||||
std::string imageVersion;
|
||||
std::string supplierName;
|
||||
std::string oSType;
|
||||
std::string creationTime;
|
||||
};
|
||||
|
||||
@@ -59,6 +59,7 @@ namespace AlibabaCloud
|
||||
std::string hostId;
|
||||
std::vector<InactiveDisk> inactiveDisks;
|
||||
std::string diskId;
|
||||
std::string onlineRepairPolicy;
|
||||
std::vector<std::string> migrationOptions;
|
||||
};
|
||||
std::string eventFinishTime;
|
||||
|
||||
@@ -81,6 +81,10 @@ namespace AlibabaCloud
|
||||
std::string httpTokens;
|
||||
std::string httpEndpoint;
|
||||
};
|
||||
struct ImageOptions
|
||||
{
|
||||
bool loginAsNonRoot;
|
||||
};
|
||||
struct NetworkInterface
|
||||
{
|
||||
struct PrivateIpSet
|
||||
@@ -119,6 +123,7 @@ namespace AlibabaCloud
|
||||
std::string expiredTime;
|
||||
EipAddress eipAddress;
|
||||
std::string imageId;
|
||||
ImageOptions imageOptions;
|
||||
std::vector<Instance::Tag> tags;
|
||||
std::string vlanId;
|
||||
std::string hostName;
|
||||
|
||||
@@ -54,6 +54,8 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getBurstingEnabled() const;
|
||||
void setBurstingEnabled(bool burstingEnabled);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -68,6 +70,7 @@ private:
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
bool burstingEnabled_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -46,6 +46,8 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getProvisionedIops() const;
|
||||
void setProvisionedIops(long provisionedIops);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -56,6 +58,7 @@ private:
|
||||
std::string performanceLevel_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
long provisionedIops_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -28,6 +28,10 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyInstanceAttributeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct RemoteConnectionOptions {
|
||||
std::string password;
|
||||
std::string type;
|
||||
};
|
||||
ModifyInstanceAttributeRequest();
|
||||
~ModifyInstanceAttributeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -60,6 +64,8 @@ public:
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
RemoteConnectionOptions getRemoteConnectionOptions() const;
|
||||
void setRemoteConnectionOptions(const RemoteConnectionOptions &remoteConnectionOptions);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -77,6 +83,7 @@ private:
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
std::string instanceId_;
|
||||
std::string instanceName_;
|
||||
RemoteConnectionOptions remoteConnectionOptions_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setKeyPairName(const std::string &keyPairName);
|
||||
std::string getPassword() const;
|
||||
void setPassword(const std::string &password);
|
||||
bool getLoginAsNonRoot() const;
|
||||
void setLoginAsNonRoot(bool loginAsNonRoot);
|
||||
std::string getDiskId() const;
|
||||
void setDiskId(const std::string &diskId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -55,6 +57,7 @@ private:
|
||||
std::string securityEnhancementStrategy_;
|
||||
std::string keyPairName_;
|
||||
std::string password_;
|
||||
bool loginAsNonRoot_;
|
||||
std::string diskId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -44,6 +44,8 @@ public:
|
||||
void setPlatform(const std::string &platform);
|
||||
std::string getPassword() const;
|
||||
void setPassword(const std::string &password);
|
||||
bool getLoginAsNonRoot() const;
|
||||
void setLoginAsNonRoot(bool loginAsNonRoot);
|
||||
bool getPasswordInherit() const;
|
||||
void setPasswordInherit(bool passwordInherit);
|
||||
std::string getDiskId() const;
|
||||
@@ -71,6 +73,7 @@ private:
|
||||
std::string keyPairName_;
|
||||
std::string platform_;
|
||||
std::string password_;
|
||||
bool loginAsNonRoot_;
|
||||
bool passwordInherit_;
|
||||
std::string diskId_;
|
||||
std::string architecture_;
|
||||
|
||||
@@ -30,6 +30,14 @@ class ALIBABACLOUD_ECS_EXPORT RunInstancesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct SystemDisk {
|
||||
std::string storageClusterId;
|
||||
long provisionedIops;
|
||||
bool burstingEnabled;
|
||||
std::string encrypted;
|
||||
std::string kMSKeyId;
|
||||
std::string encryptAlgorithm;
|
||||
};
|
||||
struct ImageOptions {
|
||||
bool loginAsNonRoot;
|
||||
};
|
||||
struct Arn {
|
||||
std::string roleType;
|
||||
@@ -66,6 +74,8 @@ public:
|
||||
bool deleteWithInstance;
|
||||
std::string kMSKeyId;
|
||||
std::string storageClusterId;
|
||||
long provisionedIops;
|
||||
bool burstingEnabled;
|
||||
};
|
||||
RunInstancesRequest();
|
||||
~RunInstancesRequest();
|
||||
@@ -87,6 +97,8 @@ public:
|
||||
void setPassword(const std::string &password);
|
||||
SystemDisk getSystemDisk() const;
|
||||
void setSystemDisk(const SystemDisk &systemDisk);
|
||||
ImageOptions getImageOptions() const;
|
||||
void setImageOptions(const ImageOptions &imageOptions);
|
||||
int getDeploymentSetGroupNo() const;
|
||||
void setDeploymentSetGroupNo(int deploymentSetGroupNo);
|
||||
std::string getSystemDiskAutoSnapshotPolicyId() const;
|
||||
@@ -252,6 +264,7 @@ private:
|
||||
std::string hostName_;
|
||||
std::string password_;
|
||||
SystemDisk systemDisk_;
|
||||
ImageOptions imageOptions_;
|
||||
int deploymentSetGroupNo_;
|
||||
std::string systemDiskAutoSnapshotPolicyId_;
|
||||
int cpuOptionsCore_;
|
||||
|
||||
Reference in New Issue
Block a user