Browse Source

Update new version.

sdk-team 5 năm trước cách đây
mục cha
commit
6217773578

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2020-11-12 Version: patch
+- Update new version.
+
 2020-11-12 Version: patch
 - Support DescribeDBClusterTDE.
 - Support ModifyDBClusterTDE.

+ 6 - 0
pvtz/include/alibabacloud/pvtz/model/DescribeRequestGraphRequest.h

@@ -39,10 +39,14 @@ namespace AlibabaCloud
 				void setStartTimestamp(long startTimestamp);
 				long getEndTimestamp()const;
 				void setEndTimestamp(long endTimestamp);
+				std::string getBizType()const;
+				void setBizType(const std::string& bizType);
 				std::string getVpcId()const;
 				void setVpcId(const std::string& vpcId);
 				std::string getUserClientIp()const;
 				void setUserClientIp(const std::string& userClientIp);
+				std::string getBizId()const;
+				void setBizId(const std::string& bizId);
 				std::string getZoneId()const;
 				void setZoneId(const std::string& zoneId);
 				std::string getLang()const;
@@ -51,8 +55,10 @@ namespace AlibabaCloud
             private:
 				long startTimestamp_;
 				long endTimestamp_;
+				std::string bizType_;
 				std::string vpcId_;
 				std::string userClientIp_;
+				std::string bizId_;
 				std::string zoneId_;
 				std::string lang_;
 

+ 1 - 0
pvtz/include/alibabacloud/pvtz/model/DescribeStatisticSummaryResult.h

@@ -35,6 +35,7 @@ namespace AlibabaCloud
 				struct ZoneRequestTop
 				{
 					std::string zoneName;
+					std::string bizType;
 					long requestCount;
 				};
 				struct VpcRequestTop

+ 6 - 4
pvtz/include/alibabacloud/pvtz/model/DescribeZoneInfoResult.h

@@ -44,34 +44,36 @@ namespace AlibabaCloud
 				DescribeZoneInfoResult();
 				explicit DescribeZoneInfoResult(const std::string &payload);
 				~DescribeZoneInfoResult();
-				std::string getZoneName()const;
 				std::string getZoneId()const;
 				bool getSlaveDns()const;
+				std::string getResourceGroupId()const;
 				std::string getProxyPattern()const;
 				std::string getCreateTime()const;
+				std::string getRemark()const;
+				std::string getZoneName()const;
 				std::string getUpdateTime()const;
 				long getUpdateTimestamp()const;
 				std::vector<Vpc> getBindVpcs()const;
 				int getRecordCount()const;
 				long getCreateTimestamp()const;
 				bool getIsPtr()const;
-				std::string getRemark()const;
 
 			protected:
 				void parse(const std::string &payload);
 			private:
-				std::string zoneName_;
 				std::string zoneId_;
 				bool slaveDns_;
+				std::string resourceGroupId_;
 				std::string proxyPattern_;
 				std::string createTime_;
+				std::string remark_;
+				std::string zoneName_;
 				std::string updateTime_;
 				long updateTimestamp_;
 				std::vector<Vpc> bindVpcs_;
 				int recordCount_;
 				long createTimestamp_;
 				bool isPtr_;
-				std::string remark_;
 
 			};
 		}

+ 1 - 0
pvtz/include/alibabacloud/pvtz/model/DescribeZonesResult.h

@@ -36,6 +36,7 @@ namespace AlibabaCloud
 				{
 					std::string zoneName;
 					std::string zoneId;
+					std::string resourceGroupId;
 					std::string proxyPattern;
 					std::string createTime;
 					std::string updateTime;

+ 22 - 0
pvtz/src/model/DescribeRequestGraphRequest.cc

@@ -49,6 +49,17 @@ void DescribeRequestGraphRequest::setEndTimestamp(long endTimestamp)
 	setParameter("EndTimestamp", std::to_string(endTimestamp));
 }
 
+std::string DescribeRequestGraphRequest::getBizType()const
+{
+	return bizType_;
+}
+
+void DescribeRequestGraphRequest::setBizType(const std::string& bizType)
+{
+	bizType_ = bizType;
+	setParameter("BizType", bizType);
+}
+
 std::string DescribeRequestGraphRequest::getVpcId()const
 {
 	return vpcId_;
@@ -71,6 +82,17 @@ void DescribeRequestGraphRequest::setUserClientIp(const std::string& userClientI
 	setParameter("UserClientIp", userClientIp);
 }
 
+std::string DescribeRequestGraphRequest::getBizId()const
+{
+	return bizId_;
+}
+
+void DescribeRequestGraphRequest::setBizId(const std::string& bizId)
+{
+	bizId_ = bizId;
+	setParameter("BizId", bizId);
+}
+
 std::string DescribeRequestGraphRequest::getZoneId()const
 {
 	return zoneId_;

+ 2 - 0
pvtz/src/model/DescribeStatisticSummaryResult.cc

@@ -47,6 +47,8 @@ void DescribeStatisticSummaryResult::parse(const std::string &payload)
 			zoneRequestTopsObject.zoneName = valueZoneRequestTopsZoneRequestTop["ZoneName"].asString();
 		if(!valueZoneRequestTopsZoneRequestTop["RequestCount"].isNull())
 			zoneRequestTopsObject.requestCount = std::stol(valueZoneRequestTopsZoneRequestTop["RequestCount"].asString());
+		if(!valueZoneRequestTopsZoneRequestTop["BizType"].isNull())
+			zoneRequestTopsObject.bizType = valueZoneRequestTopsZoneRequestTop["BizType"].asString();
 		zoneRequestTops_.push_back(zoneRequestTopsObject);
 	}
 	auto allVpcRequestTopsNode = value["VpcRequestTops"]["VpcRequestTop"];

+ 17 - 10
pvtz/src/model/DescribeZoneInfoResult.cc

@@ -75,14 +75,11 @@ void DescribeZoneInfoResult::parse(const std::string &payload)
 		proxyPattern_ = value["ProxyPattern"].asString();
 	if(!value["SlaveDns"].isNull())
 		slaveDns_ = value["SlaveDns"].asString() == "true";
+	if(!value["ResourceGroupId"].isNull())
+		resourceGroupId_ = value["ResourceGroupId"].asString();
 
 }
 
-std::string DescribeZoneInfoResult::getZoneName()const
-{
-	return zoneName_;
-}
-
 std::string DescribeZoneInfoResult::getZoneId()const
 {
 	return zoneId_;
@@ -93,6 +90,11 @@ bool DescribeZoneInfoResult::getSlaveDns()const
 	return slaveDns_;
 }
 
+std::string DescribeZoneInfoResult::getResourceGroupId()const
+{
+	return resourceGroupId_;
+}
+
 std::string DescribeZoneInfoResult::getProxyPattern()const
 {
 	return proxyPattern_;
@@ -103,6 +105,16 @@ std::string DescribeZoneInfoResult::getCreateTime()const
 	return createTime_;
 }
 
+std::string DescribeZoneInfoResult::getRemark()const
+{
+	return remark_;
+}
+
+std::string DescribeZoneInfoResult::getZoneName()const
+{
+	return zoneName_;
+}
+
 std::string DescribeZoneInfoResult::getUpdateTime()const
 {
 	return updateTime_;
@@ -133,8 +145,3 @@ bool DescribeZoneInfoResult::getIsPtr()const
 	return isPtr_;
 }
 
-std::string DescribeZoneInfoResult::getRemark()const
-{
-	return remark_;
-}
-

+ 10 - 10
pvtz/src/model/DescribeZoneVpcTreeResult.cc

@@ -61,18 +61,18 @@ void DescribeZoneVpcTreeResult::parse(const std::string &payload)
 			zonesObject.updateTimestamp = std::stol(valueZonesZone["UpdateTimestamp"].asString());
 		if(!valueZonesZone["IsPtr"].isNull())
 			zonesObject.isPtr = valueZonesZone["IsPtr"].asString() == "true";
-		auto allVpcsNode = allZonesNode["Vpcs"]["Vpc"];
-		for (auto allZonesNodeVpcsVpc : allVpcsNode)
+		auto allVpcsNode = valueZonesZone["Vpcs"]["Vpc"];
+		for (auto valueZonesZoneVpcsVpc : allVpcsNode)
 		{
 			Zone::Vpc vpcsObject;
-			if(!allZonesNodeVpcsVpc["RegionId"].isNull())
-				vpcsObject.regionId = allZonesNodeVpcsVpc["RegionId"].asString();
-			if(!allZonesNodeVpcsVpc["RegionName"].isNull())
-				vpcsObject.regionName = allZonesNodeVpcsVpc["RegionName"].asString();
-			if(!allZonesNodeVpcsVpc["VpcId"].isNull())
-				vpcsObject.vpcId = allZonesNodeVpcsVpc["VpcId"].asString();
-			if(!allZonesNodeVpcsVpc["VpcName"].isNull())
-				vpcsObject.vpcName = allZonesNodeVpcsVpc["VpcName"].asString();
+			if(!valueZonesZoneVpcsVpc["RegionId"].isNull())
+				vpcsObject.regionId = valueZonesZoneVpcsVpc["RegionId"].asString();
+			if(!valueZonesZoneVpcsVpc["RegionName"].isNull())
+				vpcsObject.regionName = valueZonesZoneVpcsVpc["RegionName"].asString();
+			if(!valueZonesZoneVpcsVpc["VpcId"].isNull())
+				vpcsObject.vpcId = valueZonesZoneVpcsVpc["VpcId"].asString();
+			if(!valueZonesZoneVpcsVpc["VpcName"].isNull())
+				vpcsObject.vpcName = valueZonesZoneVpcsVpc["VpcName"].asString();
 			zonesObject.vpcs.push_back(vpcsObject);
 		}
 		zones_.push_back(zonesObject);

+ 2 - 0
pvtz/src/model/DescribeZonesResult.cc

@@ -63,6 +63,8 @@ void DescribeZonesResult::parse(const std::string &payload)
 			zonesObject.isPtr = valueZonesZone["IsPtr"].asString() == "true";
 		if(!valueZonesZone["ProxyPattern"].isNull())
 			zonesObject.proxyPattern = valueZonesZone["ProxyPattern"].asString();
+		if(!valueZonesZone["ResourceGroupId"].isNull())
+			zonesObject.resourceGroupId = valueZonesZone["ResourceGroupId"].asString();
 		zones_.push_back(zonesObject);
 	}
 	if(!value["TotalItems"].isNull())