由楚俊发起的ECS SDK自动发布, BUILD_ID=335, 版本号:1.3.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2018-03-23 Version: 1.3.1
|
||||||
|
1, ModifyPrepayInstanceSpec support migrateAcrossZone.
|
||||||
|
|
||||||
2018-03-23 Version: 1.3.0
|
2018-03-23 Version: 1.3.0
|
||||||
1, Add 'QueryDevicesByAccount' and 'QueryDevicesByAlias' Api.
|
1, Add 'QueryDevicesByAccount' and 'QueryDevicesByAlias' Api.
|
||||||
2, Remove 'QueryPushDetail' Api.
|
2, Remove 'QueryPushDetail' Api.
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
|||||||
void setDuration(int duration);
|
void setDuration(int duration);
|
||||||
long getResourceOwnerId()const;
|
long getResourceOwnerId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
|
std::string getPeriodUnit()const;
|
||||||
|
void setPeriodUnit(const std::string& periodUnit);
|
||||||
std::string getInstanceId()const;
|
std::string getInstanceId()const;
|
||||||
void setInstanceId(const std::string& instanceId);
|
void setInstanceId(const std::string& instanceId);
|
||||||
bool getAutoRenew()const;
|
bool getAutoRenew()const;
|
||||||
@@ -57,6 +59,7 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
int duration_;
|
int duration_;
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
|
std::string periodUnit_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
bool autoRenew_;
|
bool autoRenew_;
|
||||||
std::string resourceOwnerAccount_;
|
std::string resourceOwnerAccount_;
|
||||||
|
|||||||
@@ -37,36 +37,42 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
long getResourceOwnerId()const;
|
long getResourceOwnerId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
bool getAutoPay()const;
|
bool getAutoPay()const;
|
||||||
void setAutoPay(bool autoPay);
|
void setAutoPay(bool autoPay);
|
||||||
std::string getResourceOwnerAccount()const;
|
std::string getResourceOwnerAccount()const;
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||||
std::string getRegionId()const;
|
|
||||||
void setRegionId(const std::string& regionId);
|
|
||||||
std::string getClientToken()const;
|
std::string getClientToken()const;
|
||||||
void setClientToken(const std::string& clientToken);
|
void setClientToken(const std::string& clientToken);
|
||||||
std::string getOwnerAccount()const;
|
std::string getOwnerAccount()const;
|
||||||
void setOwnerAccount(const std::string& ownerAccount);
|
void setOwnerAccount(const std::string& ownerAccount);
|
||||||
std::string getInstanceType()const;
|
|
||||||
void setInstanceType(const std::string& instanceType);
|
|
||||||
long getOwnerId()const;
|
long getOwnerId()const;
|
||||||
void setOwnerId(long ownerId);
|
void setOwnerId(long ownerId);
|
||||||
std::string getOperatorType()const;
|
std::string getOperatorType()const;
|
||||||
void setOperatorType(const std::string& operatorType);
|
void setOperatorType(const std::string& operatorType);
|
||||||
|
std::string getSystemDiskCategory()const;
|
||||||
|
void setSystemDiskCategory(const std::string& systemDiskCategory);
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
bool getMigrateAcrossZone()const;
|
||||||
|
void setMigrateAcrossZone(bool migrateAcrossZone);
|
||||||
|
std::string getInstanceType()const;
|
||||||
|
void setInstanceType(const std::string& instanceType);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string instanceId_;
|
|
||||||
bool autoPay_;
|
bool autoPay_;
|
||||||
std::string resourceOwnerAccount_;
|
std::string resourceOwnerAccount_;
|
||||||
std::string regionId_;
|
|
||||||
std::string clientToken_;
|
std::string clientToken_;
|
||||||
std::string ownerAccount_;
|
std::string ownerAccount_;
|
||||||
std::string instanceType_;
|
|
||||||
long ownerId_;
|
long ownerId_;
|
||||||
std::string operatorType_;
|
std::string operatorType_;
|
||||||
|
std::string systemDiskCategory_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string regionId_;
|
||||||
|
bool migrateAcrossZone_;
|
||||||
|
std::string instanceType_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,6 +47,17 @@ void ModifyInstanceAutoRenewAttributeRequest::setResourceOwnerId(long resourceOw
|
|||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyInstanceAutoRenewAttributeRequest::getPeriodUnit()const
|
||||||
|
{
|
||||||
|
return periodUnit_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyInstanceAutoRenewAttributeRequest::setPeriodUnit(const std::string& periodUnit)
|
||||||
|
{
|
||||||
|
periodUnit_ = periodUnit;
|
||||||
|
setParameter("PeriodUnit", periodUnit);
|
||||||
|
}
|
||||||
|
|
||||||
std::string ModifyInstanceAutoRenewAttributeRequest::getInstanceId()const
|
std::string ModifyInstanceAutoRenewAttributeRequest::getInstanceId()const
|
||||||
{
|
{
|
||||||
return instanceId_;
|
return instanceId_;
|
||||||
|
|||||||
@@ -36,17 +36,6 @@ void ModifyPrepayInstanceSpecRequest::setResourceOwnerId(long resourceOwnerId)
|
|||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyPrepayInstanceSpecRequest::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ModifyPrepayInstanceSpecRequest::setInstanceId(const std::string& instanceId)
|
|
||||||
{
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter("InstanceId", instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ModifyPrepayInstanceSpecRequest::getAutoPay()const
|
bool ModifyPrepayInstanceSpecRequest::getAutoPay()const
|
||||||
{
|
{
|
||||||
return autoPay_;
|
return autoPay_;
|
||||||
@@ -69,17 +58,6 @@ void ModifyPrepayInstanceSpecRequest::setResourceOwnerAccount(const std::string&
|
|||||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyPrepayInstanceSpecRequest::getRegionId()const
|
|
||||||
{
|
|
||||||
return regionId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ModifyPrepayInstanceSpecRequest::setRegionId(const std::string& regionId)
|
|
||||||
{
|
|
||||||
regionId_ = regionId;
|
|
||||||
setParameter("RegionId", regionId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ModifyPrepayInstanceSpecRequest::getClientToken()const
|
std::string ModifyPrepayInstanceSpecRequest::getClientToken()const
|
||||||
{
|
{
|
||||||
return clientToken_;
|
return clientToken_;
|
||||||
@@ -102,17 +80,6 @@ void ModifyPrepayInstanceSpecRequest::setOwnerAccount(const std::string& ownerAc
|
|||||||
setParameter("OwnerAccount", ownerAccount);
|
setParameter("OwnerAccount", ownerAccount);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyPrepayInstanceSpecRequest::getInstanceType()const
|
|
||||||
{
|
|
||||||
return instanceType_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ModifyPrepayInstanceSpecRequest::setInstanceType(const std::string& instanceType)
|
|
||||||
{
|
|
||||||
instanceType_ = instanceType;
|
|
||||||
setParameter("InstanceType", instanceType);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ModifyPrepayInstanceSpecRequest::getOwnerId()const
|
long ModifyPrepayInstanceSpecRequest::getOwnerId()const
|
||||||
{
|
{
|
||||||
return ownerId_;
|
return ownerId_;
|
||||||
@@ -135,3 +102,58 @@ void ModifyPrepayInstanceSpecRequest::setOperatorType(const std::string& operato
|
|||||||
setParameter("OperatorType", operatorType);
|
setParameter("OperatorType", operatorType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyPrepayInstanceSpecRequest::getSystemDiskCategory()const
|
||||||
|
{
|
||||||
|
return systemDiskCategory_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyPrepayInstanceSpecRequest::setSystemDiskCategory(const std::string& systemDiskCategory)
|
||||||
|
{
|
||||||
|
systemDiskCategory_ = systemDiskCategory;
|
||||||
|
setParameter("SystemDiskCategory", systemDiskCategory);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyPrepayInstanceSpecRequest::getInstanceId()const
|
||||||
|
{
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyPrepayInstanceSpecRequest::setInstanceId(const std::string& instanceId)
|
||||||
|
{
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter("InstanceId", instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyPrepayInstanceSpecRequest::getRegionId()const
|
||||||
|
{
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyPrepayInstanceSpecRequest::setRegionId(const std::string& regionId)
|
||||||
|
{
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter("RegionId", regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ModifyPrepayInstanceSpecRequest::getMigrateAcrossZone()const
|
||||||
|
{
|
||||||
|
return migrateAcrossZone_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyPrepayInstanceSpecRequest::setMigrateAcrossZone(bool migrateAcrossZone)
|
||||||
|
{
|
||||||
|
migrateAcrossZone_ = migrateAcrossZone;
|
||||||
|
setParameter("MigrateAcrossZone", std::to_string(migrateAcrossZone));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyPrepayInstanceSpecRequest::getInstanceType()const
|
||||||
|
{
|
||||||
|
return instanceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyPrepayInstanceSpecRequest::setInstanceType(const std::string& instanceType)
|
||||||
|
{
|
||||||
|
instanceType_ = instanceType;
|
||||||
|
setParameter("InstanceType", instanceType);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user