Browse Source

ECS SDK Auto Released By ansen.as,Version:1.35.9

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 years ago
parent
commit
a4b515be6c

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2019-04-09 Version: 1.35.9
+1, support service account management networkInterface function.
+
 2019-04-09 Version: 1.35.8
 1, Add Apis for offline VerifySDK.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.35.8
+1.35.9

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

@@ -49,6 +49,8 @@ namespace AlibabaCloud
 				void setCallerType(const std::string& callerType);
 				std::string getAccessKeyId()const;
 				void setAccessKeyId(const std::string& accessKeyId);
+				std::string getSourceRegionId()const;
+				void setSourceRegionId(const std::string& sourceRegionId);
 				std::string getResourceGroupId()const;
 				void setResourceGroupId(const std::string& resourceGroupId);
 				std::string getSecurityToken()const;
@@ -98,6 +100,7 @@ namespace AlibabaCloud
 				std::string ownerIdLoginEmail_;
 				std::string callerType_;
 				std::string accessKeyId_;
+				std::string sourceRegionId_;
 				std::string resourceGroupId_;
 				std::string securityToken_;
 				std::string regionId_;

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

@@ -51,6 +51,8 @@ namespace AlibabaCloud
 				void setCallerType(const std::string& callerType);
 				std::string getAccessKeyId()const;
 				void setAccessKeyId(const std::string& accessKeyId);
+				std::string getSourceRegionId()const;
+				void setSourceRegionId(const std::string& sourceRegionId);
 				std::string getSecurityToken()const;
 				void setSecurityToken(const std::string& securityToken);
 				std::string getRegionId()const;
@@ -97,6 +99,7 @@ namespace AlibabaCloud
 				std::string ownerIdLoginEmail_;
 				std::string callerType_;
 				std::string accessKeyId_;
+				std::string sourceRegionId_;
 				std::string securityToken_;
 				std::string regionId_;
 				bool enable_;

+ 6 - 0
ecs/include/alibabacloud/ecs/model/CreateNetworkInterfaceRequest.h

@@ -60,6 +60,8 @@ namespace AlibabaCloud
 				void setCallerType(const std::string& callerType);
 				std::string getAccessKeyId()const;
 				void setAccessKeyId(const std::string& accessKeyId);
+				std::string getBusinessType()const;
+				void setBusinessType(const std::string& businessType);
 				std::string getSourceRegionId()const;
 				void setSourceRegionId(const std::string& sourceRegionId);
 				std::string getResourceGroupId()const;
@@ -84,6 +86,8 @@ namespace AlibabaCloud
 				void setCallerUid(long callerUid);
 				std::string getApp_ip()const;
 				void setApp_ip(const std::string& app_ip);
+				bool getVisible()const;
+				void setVisible(bool visible);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
 				std::string getOwnerAccount()const;
@@ -116,6 +120,7 @@ namespace AlibabaCloud
 				std::string ownerIdLoginEmail_;
 				std::string callerType_;
 				std::string accessKeyId_;
+				std::string businessType_;
 				std::string sourceRegionId_;
 				std::string resourceGroupId_;
 				std::string securityToken_;
@@ -128,6 +133,7 @@ namespace AlibabaCloud
 				std::string networkInterfaceName_;
 				long callerUid_;
 				std::string app_ip_;
+				bool visible_;
 				std::string resourceOwnerAccount_;
 				std::string ownerAccount_;
 				std::string callerBid_;

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

@@ -42,6 +42,8 @@ namespace AlibabaCloud
 
 				long getResourceOwnerId()const;
 				void setResourceOwnerId(long resourceOwnerId);
+				bool getServiceManaged()const;
+				void setServiceManaged(bool serviceManaged);
 				long getCallerParentId()const;
 				void setCallerParentId(long callerParentId);
 				std::string getSecurityGroupId()const;
@@ -115,6 +117,7 @@ namespace AlibabaCloud
 
             private:
 				long resourceOwnerId_;
+				bool serviceManaged_;
 				long callerParentId_;
 				std::string securityGroupId_;
 				bool proxy_original_security_transport_;

+ 2 - 0
ecs/include/alibabacloud/ecs/model/DescribeNetworkInterfacesResult.h

@@ -64,12 +64,14 @@ namespace AlibabaCloud
 					std::string description;
 					std::string zoneId;
 					std::string resourceGroupId;
+					bool serviceManaged;
 					std::string instanceId;
 					std::string vSwitchId;
 					std::string networkInterfaceName;
 					std::string networkInterfaceId;
 					std::string macAddress;
 					std::vector<std::string> securityGroupIds;
+					long serviceID;
 					std::string type;
 					std::vector<NetworkInterfaceSet::Ipv6Set> ipv6Sets;
 					std::string vpcId;

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

@@ -35,6 +35,8 @@ namespace AlibabaCloud
 				JoinResourceGroupRequest();
 				~JoinResourceGroupRequest();
 
+				std::string getSourceRegionId()const;
+				void setSourceRegionId(const std::string& sourceRegionId);
 				std::string getResourceGroupId()const;
 				void setResourceGroupId(const std::string& resourceGroupId);
 				long getResourceOwnerId()const;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
 				void setResourceType(const std::string& resourceType);
 
             private:
+				std::string sourceRegionId_;
 				std::string resourceGroupId_;
 				long resourceOwnerId_;
 				std::string resourceId_;

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

@@ -53,6 +53,8 @@ namespace AlibabaCloud
 				void setCallerType(const std::string& callerType);
 				std::string getAccessKeyId()const;
 				void setAccessKeyId(const std::string& accessKeyId);
+				std::string getSourceRegionId()const;
+				void setSourceRegionId(const std::string& sourceRegionId);
 				std::string getSecurityToken()const;
 				void setSecurityToken(const std::string& securityToken);
 				std::string getRegionId()const;
@@ -100,6 +102,7 @@ namespace AlibabaCloud
 				std::string ownerIdLoginEmail_;
 				std::string callerType_;
 				std::string accessKeyId_;
+				std::string sourceRegionId_;
 				std::string securityToken_;
 				std::string regionId_;
 				bool enable_;

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

@@ -102,6 +102,17 @@ void AssignIpv6AddressesRequest::setAccessKeyId(const std::string& accessKeyId)
 	setCoreParameter("AccessKeyId", accessKeyId);
 }
 
+std::string AssignIpv6AddressesRequest::getSourceRegionId()const
+{
+	return sourceRegionId_;
+}
+
+void AssignIpv6AddressesRequest::setSourceRegionId(const std::string& sourceRegionId)
+{
+	sourceRegionId_ = sourceRegionId;
+	setCoreParameter("SourceRegionId", sourceRegionId);
+}
+
 std::string AssignIpv6AddressesRequest::getResourceGroupId()const
 {
 	return resourceGroupId_;

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

@@ -113,6 +113,17 @@ void AssignPrivateIpAddressesRequest::setAccessKeyId(const std::string& accessKe
 	setCoreParameter("AccessKeyId", accessKeyId);
 }
 
+std::string AssignPrivateIpAddressesRequest::getSourceRegionId()const
+{
+	return sourceRegionId_;
+}
+
+void AssignPrivateIpAddressesRequest::setSourceRegionId(const std::string& sourceRegionId)
+{
+	sourceRegionId_ = sourceRegionId;
+	setCoreParameter("SourceRegionId", sourceRegionId);
+}
+
 std::string AssignPrivateIpAddressesRequest::getSecurityToken()const
 {
 	return securityToken_;

+ 22 - 0
ecs/src/model/CreateNetworkInterfaceRequest.cc

@@ -135,6 +135,17 @@ void CreateNetworkInterfaceRequest::setAccessKeyId(const std::string& accessKeyI
 	setCoreParameter("AccessKeyId", accessKeyId);
 }
 
+std::string CreateNetworkInterfaceRequest::getBusinessType()const
+{
+	return businessType_;
+}
+
+void CreateNetworkInterfaceRequest::setBusinessType(const std::string& businessType)
+{
+	businessType_ = businessType;
+	setCoreParameter("BusinessType", businessType);
+}
+
 std::string CreateNetworkInterfaceRequest::getSourceRegionId()const
 {
 	return sourceRegionId_;
@@ -273,6 +284,17 @@ void CreateNetworkInterfaceRequest::setApp_ip(const std::string& app_ip)
 	setCoreParameter("App_ip", app_ip);
 }
 
+bool CreateNetworkInterfaceRequest::getVisible()const
+{
+	return visible_;
+}
+
+void CreateNetworkInterfaceRequest::setVisible(bool visible)
+{
+	visible_ = visible;
+	setCoreParameter("Visible", visible ? "true" : "false");
+}
+
 std::string CreateNetworkInterfaceRequest::getResourceOwnerAccount()const
 {
 	return resourceOwnerAccount_;

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

@@ -36,6 +36,17 @@ void DescribeNetworkInterfacesRequest::setResourceOwnerId(long resourceOwnerId)
 	setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
 }
 
+bool DescribeNetworkInterfacesRequest::getServiceManaged()const
+{
+	return serviceManaged_;
+}
+
+void DescribeNetworkInterfacesRequest::setServiceManaged(bool serviceManaged)
+{
+	serviceManaged_ = serviceManaged;
+	setCoreParameter("ServiceManaged", serviceManaged ? "true" : "false");
+}
+
 long DescribeNetworkInterfacesRequest::getCallerParentId()const
 {
 	return callerParentId_;

+ 4 - 0
ecs/src/model/DescribeNetworkInterfacesResult.cc

@@ -70,6 +70,10 @@ void DescribeNetworkInterfacesResult::parse(const std::string &payload)
 			networkInterfaceSetsObject.creationTime = value["CreationTime"].asString();
 		if(!value["ResourceGroupId"].isNull())
 			networkInterfaceSetsObject.resourceGroupId = value["ResourceGroupId"].asString();
+		if(!value["ServiceID"].isNull())
+			networkInterfaceSetsObject.serviceID = std::stol(value["ServiceID"].asString());
+		if(!value["ServiceManaged"].isNull())
+			networkInterfaceSetsObject.serviceManaged = value["ServiceManaged"].asString() == "true";
 		auto allPrivateIpSets = value["PrivateIpSets"]["PrivateIpSet"];
 		for (auto value : allPrivateIpSets)
 		{

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

@@ -25,6 +25,17 @@ JoinResourceGroupRequest::JoinResourceGroupRequest() :
 JoinResourceGroupRequest::~JoinResourceGroupRequest()
 {}
 
+std::string JoinResourceGroupRequest::getSourceRegionId()const
+{
+	return sourceRegionId_;
+}
+
+void JoinResourceGroupRequest::setSourceRegionId(const std::string& sourceRegionId)
+{
+	sourceRegionId_ = sourceRegionId;
+	setCoreParameter("SourceRegionId", sourceRegionId);
+}
+
 std::string JoinResourceGroupRequest::getResourceGroupId()const
 {
 	return resourceGroupId_;

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

@@ -125,6 +125,17 @@ void ModifyNetworkInterfaceAttributeRequest::setAccessKeyId(const std::string& a
 	setCoreParameter("AccessKeyId", accessKeyId);
 }
 
+std::string ModifyNetworkInterfaceAttributeRequest::getSourceRegionId()const
+{
+	return sourceRegionId_;
+}
+
+void ModifyNetworkInterfaceAttributeRequest::setSourceRegionId(const std::string& sourceRegionId)
+{
+	sourceRegionId_ = sourceRegionId;
+	setCoreParameter("SourceRegionId", sourceRegionId);
+}
+
 std::string ModifyNetworkInterfaceAttributeRequest::getSecurityToken()const
 {
 	return securityToken_;