Browse Source

ECS SDK Auto Released By wujin.lhr,Version:1.23.1

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 8 years ago
parent
commit
0625a8a681

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2018-08-23 Version: 1.23.1
+1, RunInstance add privateIpAddress.
+
 2018-08-22 Version: 1.23.0
 1, Add api CreateSimulatedSystemEvents, support creating one or more simulated system events.
 2, Add api CancelSimulatedSystemEvents, support cancelling one or more simulated system events.

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.23.0
+1.23.1

+ 3 - 0
ecs/include/alibabacloud/ecs/model/AssociateEipAddressRequest.h

@@ -41,6 +41,8 @@ namespace AlibabaCloud
 				void setInstanceId(const std::string& instanceId);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
 				std::string getOwnerAccount()const;
 				void setOwnerAccount(const std::string& ownerAccount);
 				std::string getInstanceType()const;
@@ -54,6 +56,7 @@ namespace AlibabaCloud
 				long resourceOwnerId_;
 				std::string instanceId_;
 				std::string resourceOwnerAccount_;
+				std::string regionId_;
 				std::string ownerAccount_;
 				std::string instanceType_;
 				std::string allocationId_;

+ 3 - 0
ecs/include/alibabacloud/ecs/model/CreateRouteEntryRequest.h

@@ -44,6 +44,8 @@ namespace AlibabaCloud
 				void setResourceOwnerId(long resourceOwnerId);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
 				std::string getClientToken()const;
 				void setClientToken(const std::string& clientToken);
 				std::string getDestinationCidrBlock()const;
@@ -64,6 +66,7 @@ namespace AlibabaCloud
             private:
 				long resourceOwnerId_;
 				std::string resourceOwnerAccount_;
+				std::string regionId_;
 				std::string clientToken_;
 				std::string destinationCidrBlock_;
 				std::string ownerAccount_;

+ 3 - 0
ecs/include/alibabacloud/ecs/model/DeleteRouteEntryRequest.h

@@ -44,6 +44,8 @@ namespace AlibabaCloud
 				void setResourceOwnerId(long resourceOwnerId);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
 				std::string getDestinationCidrBlock()const;
 				void setDestinationCidrBlock(const std::string& destinationCidrBlock);
 				std::string getOwnerAccount()const;
@@ -60,6 +62,7 @@ namespace AlibabaCloud
             private:
 				long resourceOwnerId_;
 				std::string resourceOwnerAccount_;
+				std::string regionId_;
 				std::string destinationCidrBlock_;
 				std::string ownerAccount_;
 				std::string nextHopId_;

+ 3 - 0
ecs/include/alibabacloud/ecs/model/DescribeEipMonitorDataRequest.h

@@ -41,6 +41,8 @@ namespace AlibabaCloud
 				void setPeriod(int period);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
 				std::string getOwnerAccount()const;
 				void setOwnerAccount(const std::string& ownerAccount);
 				std::string getEndTime()const;
@@ -56,6 +58,7 @@ namespace AlibabaCloud
 				long resourceOwnerId_;
 				int period_;
 				std::string resourceOwnerAccount_;
+				std::string regionId_;
 				std::string ownerAccount_;
 				std::string endTime_;
 				std::string allocationId_;

+ 3 - 0
ecs/include/alibabacloud/ecs/model/DescribeNewProjectEipMonitorDataRequest.h

@@ -41,6 +41,8 @@ namespace AlibabaCloud
 				void setPeriod(int period);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
 				std::string getOwnerAccount()const;
 				void setOwnerAccount(const std::string& ownerAccount);
 				std::string getEndTime()const;
@@ -56,6 +58,7 @@ namespace AlibabaCloud
 				long resourceOwnerId_;
 				int period_;
 				std::string resourceOwnerAccount_;
+				std::string regionId_;
 				std::string ownerAccount_;
 				std::string endTime_;
 				std::string allocationId_;

+ 15 - 12
ecs/include/alibabacloud/ecs/model/DescribeRouteTablesRequest.h

@@ -35,40 +35,43 @@ namespace AlibabaCloud
 				DescribeRouteTablesRequest();
 				~DescribeRouteTablesRequest();
 
-				std::string getRouterType()const;
-				void setRouterType(const std::string& routerType);
 				long getResourceOwnerId()const;
 				void setResourceOwnerId(long resourceOwnerId);
-				std::string getRouteTableName()const;
-				void setRouteTableName(const std::string& routeTableName);
 				std::string getVRouterId()const;
 				void setVRouterId(const std::string& vRouterId);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
-				std::string getRouterId()const;
-				void setRouterId(const std::string& routerId);
 				std::string getOwnerAccount()const;
 				void setOwnerAccount(const std::string& ownerAccount);
-				int getPageSize()const;
-				void setPageSize(int pageSize);
 				long getOwnerId()const;
 				void setOwnerId(long ownerId);
 				int getPageNumber()const;
 				void setPageNumber(int pageNumber);
+				std::string getRouterType()const;
+				void setRouterType(const std::string& routerType);
+				std::string getRouteTableName()const;
+				void setRouteTableName(const std::string& routeTableName);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
+				std::string getRouterId()const;
+				void setRouterId(const std::string& routerId);
+				int getPageSize()const;
+				void setPageSize(int pageSize);
 				std::string getRouteTableId()const;
 				void setRouteTableId(const std::string& routeTableId);
 
             private:
-				std::string routerType_;
 				long resourceOwnerId_;
-				std::string routeTableName_;
 				std::string vRouterId_;
 				std::string resourceOwnerAccount_;
-				std::string routerId_;
 				std::string ownerAccount_;
-				int pageSize_;
 				long ownerId_;
 				int pageNumber_;
+				std::string routerType_;
+				std::string routeTableName_;
+				std::string regionId_;
+				std::string routerId_;
+				int pageSize_;
 				std::string routeTableId_;
 
 			};

+ 3 - 0
ecs/include/alibabacloud/ecs/model/ModifyEipAddressAttributeRequest.h

@@ -39,6 +39,8 @@ namespace AlibabaCloud
 				void setResourceOwnerId(long resourceOwnerId);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
 				std::string getBandwidth()const;
 				void setBandwidth(const std::string& bandwidth);
 				std::string getOwnerAccount()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
             private:
 				long resourceOwnerId_;
 				std::string resourceOwnerAccount_;
+				std::string regionId_;
 				std::string bandwidth_;
 				std::string ownerAccount_;
 				std::string allocationId_;

+ 3 - 0
ecs/include/alibabacloud/ecs/model/ModifyVRouterAttributeRequest.h

@@ -43,6 +43,8 @@ namespace AlibabaCloud
 				void setVRouterId(const std::string& vRouterId);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
 				std::string getOwnerAccount()const;
 				void setOwnerAccount(const std::string& ownerAccount);
 				std::string getDescription()const;
@@ -55,6 +57,7 @@ namespace AlibabaCloud
 				long resourceOwnerId_;
 				std::string vRouterId_;
 				std::string resourceOwnerAccount_;
+				std::string regionId_;
 				std::string ownerAccount_;
 				std::string description_;
 				long ownerId_;

+ 3 - 0
ecs/include/alibabacloud/ecs/model/ReleaseEipAddressRequest.h

@@ -39,6 +39,8 @@ namespace AlibabaCloud
 				void setResourceOwnerId(long resourceOwnerId);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
 				std::string getOwnerAccount()const;
 				void setOwnerAccount(const std::string& ownerAccount);
 				std::string getAllocationId()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
             private:
 				long resourceOwnerId_;
 				std::string resourceOwnerAccount_;
+				std::string regionId_;
 				std::string ownerAccount_;
 				std::string allocationId_;
 				long ownerId_;

+ 3 - 0
ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h

@@ -115,6 +115,8 @@ namespace AlibabaCloud
 				void setVSwitchId(const std::string& vSwitchId);
 				std::string getSpotStrategy()const;
 				void setSpotStrategy(const std::string& spotStrategy);
+				std::string getPrivateIpAddress()const;
+				void setPrivateIpAddress(const std::string& privateIpAddress);
 				std::string getPeriodUnit()const;
 				void setPeriodUnit(const std::string& periodUnit);
 				std::string getInstanceName()const;
@@ -225,6 +227,7 @@ namespace AlibabaCloud
 				bool security_transport_;
 				std::string vSwitchId_;
 				std::string spotStrategy_;
+				std::string privateIpAddress_;
 				std::string periodUnit_;
 				std::string instanceName_;
 				bool autoRenew_;

+ 3 - 0
ecs/include/alibabacloud/ecs/model/UnassociateEipAddressRequest.h

@@ -41,6 +41,8 @@ namespace AlibabaCloud
 				void setInstanceId(const std::string& instanceId);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
 				std::string getOwnerAccount()const;
 				void setOwnerAccount(const std::string& ownerAccount);
 				std::string getInstanceType()const;
@@ -54,6 +56,7 @@ namespace AlibabaCloud
 				long resourceOwnerId_;
 				std::string instanceId_;
 				std::string resourceOwnerAccount_;
+				std::string regionId_;
 				std::string ownerAccount_;
 				std::string instanceType_;
 				std::string allocationId_;

+ 11 - 0
ecs/src/model/AssociateEipAddressRequest.cc

@@ -58,6 +58,17 @@ void AssociateEipAddressRequest::setResourceOwnerAccount(const std::string& reso
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
+std::string AssociateEipAddressRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void AssociateEipAddressRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
 std::string AssociateEipAddressRequest::getOwnerAccount()const
 {
 	return ownerAccount_;

+ 11 - 0
ecs/src/model/CreateRouteEntryRequest.cc

@@ -47,6 +47,17 @@ void CreateRouteEntryRequest::setResourceOwnerAccount(const std::string& resourc
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
+std::string CreateRouteEntryRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void CreateRouteEntryRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
 std::string CreateRouteEntryRequest::getClientToken()const
 {
 	return clientToken_;

+ 11 - 0
ecs/src/model/DeleteRouteEntryRequest.cc

@@ -47,6 +47,17 @@ void DeleteRouteEntryRequest::setResourceOwnerAccount(const std::string& resourc
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
+std::string DeleteRouteEntryRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void DeleteRouteEntryRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
 std::string DeleteRouteEntryRequest::getDestinationCidrBlock()const
 {
 	return destinationCidrBlock_;

+ 11 - 0
ecs/src/model/DescribeEipMonitorDataRequest.cc

@@ -58,6 +58,17 @@ void DescribeEipMonitorDataRequest::setResourceOwnerAccount(const std::string& r
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
+std::string DescribeEipMonitorDataRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void DescribeEipMonitorDataRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
 std::string DescribeEipMonitorDataRequest::getOwnerAccount()const
 {
 	return ownerAccount_;

+ 11 - 0
ecs/src/model/DescribeNewProjectEipMonitorDataRequest.cc

@@ -58,6 +58,17 @@ void DescribeNewProjectEipMonitorDataRequest::setResourceOwnerAccount(const std:
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
+std::string DescribeNewProjectEipMonitorDataRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void DescribeNewProjectEipMonitorDataRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
 std::string DescribeNewProjectEipMonitorDataRequest::getOwnerAccount()const
 {
 	return ownerAccount_;

+ 55 - 44
ecs/src/model/DescribeRouteTablesRequest.cc

@@ -25,17 +25,6 @@ DescribeRouteTablesRequest::DescribeRouteTablesRequest() :
 DescribeRouteTablesRequest::~DescribeRouteTablesRequest()
 {}
 
-std::string DescribeRouteTablesRequest::getRouterType()const
-{
-	return routerType_;
-}
-
-void DescribeRouteTablesRequest::setRouterType(const std::string& routerType)
-{
-	routerType_ = routerType;
-	setParameter("RouterType", routerType);
-}
-
 long DescribeRouteTablesRequest::getResourceOwnerId()const
 {
 	return resourceOwnerId_;
@@ -47,17 +36,6 @@ void DescribeRouteTablesRequest::setResourceOwnerId(long resourceOwnerId)
 	setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
 }
 
-std::string DescribeRouteTablesRequest::getRouteTableName()const
-{
-	return routeTableName_;
-}
-
-void DescribeRouteTablesRequest::setRouteTableName(const std::string& routeTableName)
-{
-	routeTableName_ = routeTableName;
-	setParameter("RouteTableName", routeTableName);
-}
-
 std::string DescribeRouteTablesRequest::getVRouterId()const
 {
 	return vRouterId_;
@@ -80,17 +58,6 @@ void DescribeRouteTablesRequest::setResourceOwnerAccount(const std::string& reso
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
-std::string DescribeRouteTablesRequest::getRouterId()const
-{
-	return routerId_;
-}
-
-void DescribeRouteTablesRequest::setRouterId(const std::string& routerId)
-{
-	routerId_ = routerId;
-	setParameter("RouterId", routerId);
-}
-
 std::string DescribeRouteTablesRequest::getOwnerAccount()const
 {
 	return ownerAccount_;
@@ -102,17 +69,6 @@ void DescribeRouteTablesRequest::setOwnerAccount(const std::string& ownerAccount
 	setParameter("OwnerAccount", ownerAccount);
 }
 
-int DescribeRouteTablesRequest::getPageSize()const
-{
-	return pageSize_;
-}
-
-void DescribeRouteTablesRequest::setPageSize(int pageSize)
-{
-	pageSize_ = pageSize;
-	setParameter("PageSize", std::to_string(pageSize));
-}
-
 long DescribeRouteTablesRequest::getOwnerId()const
 {
 	return ownerId_;
@@ -135,6 +91,61 @@ void DescribeRouteTablesRequest::setPageNumber(int pageNumber)
 	setParameter("PageNumber", std::to_string(pageNumber));
 }
 
+std::string DescribeRouteTablesRequest::getRouterType()const
+{
+	return routerType_;
+}
+
+void DescribeRouteTablesRequest::setRouterType(const std::string& routerType)
+{
+	routerType_ = routerType;
+	setParameter("RouterType", routerType);
+}
+
+std::string DescribeRouteTablesRequest::getRouteTableName()const
+{
+	return routeTableName_;
+}
+
+void DescribeRouteTablesRequest::setRouteTableName(const std::string& routeTableName)
+{
+	routeTableName_ = routeTableName;
+	setParameter("RouteTableName", routeTableName);
+}
+
+std::string DescribeRouteTablesRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void DescribeRouteTablesRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
+std::string DescribeRouteTablesRequest::getRouterId()const
+{
+	return routerId_;
+}
+
+void DescribeRouteTablesRequest::setRouterId(const std::string& routerId)
+{
+	routerId_ = routerId;
+	setParameter("RouterId", routerId);
+}
+
+int DescribeRouteTablesRequest::getPageSize()const
+{
+	return pageSize_;
+}
+
+void DescribeRouteTablesRequest::setPageSize(int pageSize)
+{
+	pageSize_ = pageSize;
+	setParameter("PageSize", std::to_string(pageSize));
+}
+
 std::string DescribeRouteTablesRequest::getRouteTableId()const
 {
 	return routeTableId_;

+ 11 - 0
ecs/src/model/ModifyEipAddressAttributeRequest.cc

@@ -47,6 +47,17 @@ void ModifyEipAddressAttributeRequest::setResourceOwnerAccount(const std::string
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
+std::string ModifyEipAddressAttributeRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void ModifyEipAddressAttributeRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
 std::string ModifyEipAddressAttributeRequest::getBandwidth()const
 {
 	return bandwidth_;

+ 11 - 0
ecs/src/model/ModifyVRouterAttributeRequest.cc

@@ -69,6 +69,17 @@ void ModifyVRouterAttributeRequest::setResourceOwnerAccount(const std::string& r
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
+std::string ModifyVRouterAttributeRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void ModifyVRouterAttributeRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
 std::string ModifyVRouterAttributeRequest::getOwnerAccount()const
 {
 	return ownerAccount_;

+ 11 - 0
ecs/src/model/ReleaseEipAddressRequest.cc

@@ -47,6 +47,17 @@ void ReleaseEipAddressRequest::setResourceOwnerAccount(const std::string& resour
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
+std::string ReleaseEipAddressRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void ReleaseEipAddressRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
 std::string ReleaseEipAddressRequest::getOwnerAccount()const
 {
 	return ownerAccount_;

+ 11 - 0
ecs/src/model/RunInstancesRequest.cc

@@ -339,6 +339,17 @@ void RunInstancesRequest::setSpotStrategy(const std::string& spotStrategy)
 	setParameter("SpotStrategy", spotStrategy);
 }
 
+std::string RunInstancesRequest::getPrivateIpAddress()const
+{
+	return privateIpAddress_;
+}
+
+void RunInstancesRequest::setPrivateIpAddress(const std::string& privateIpAddress)
+{
+	privateIpAddress_ = privateIpAddress;
+	setParameter("PrivateIpAddress", privateIpAddress);
+}
+
 std::string RunInstancesRequest::getPeriodUnit()const
 {
 	return periodUnit_;

+ 11 - 0
ecs/src/model/UnassociateEipAddressRequest.cc

@@ -58,6 +58,17 @@ void UnassociateEipAddressRequest::setResourceOwnerAccount(const std::string& re
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
+std::string UnassociateEipAddressRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void UnassociateEipAddressRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
 std::string UnassociateEipAddressRequest::getOwnerAccount()const
 {
 	return ownerAccount_;