Explorar o código

Add DescribeDBClusterAvailableResources.

sdk-team %!s(int64=6) %!d(string=hai) anos
pai
achega
2e465b8b77

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2020-04-09 Version: 1.36.344
+- Add DescribeDBClusterAvailableResources.
+
 2020-04-09 Version: 1.36.343
 - Generated 2015-01-01 for `R-kvstore`.
 - Add DescribePrice API.

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.343
+1.36.344

+ 1 - 0
polardb/include/alibabacloud/polardb/model/DescribeDBClusterEndpointsResult.h

@@ -36,6 +36,7 @@ namespace AlibabaCloud
 				{
 					struct Address
 					{
+						std::string privateZoneConnectionString;
 						std::string vPCId;
 						std::string port;
 						std::string vSwitchId;

+ 3 - 0
polardb/include/alibabacloud/polardb/model/DescribeDBNodePerformanceRequest.h

@@ -47,6 +47,8 @@ namespace AlibabaCloud
 				void setKey(const std::string& key);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getDBClusterId()const;
+				void setDBClusterId(const std::string& dBClusterId);
 				std::string getOwnerAccount()const;
 				void setOwnerAccount(const std::string& ownerAccount);
 				std::string getEndTime()const;
@@ -63,6 +65,7 @@ namespace AlibabaCloud
 				std::string accessKeyId_;
 				std::string key_;
 				std::string resourceOwnerAccount_;
+				std::string dBClusterId_;
 				std::string ownerAccount_;
 				std::string endTime_;
 				long ownerId_;

+ 6 - 0
polardb/include/alibabacloud/polardb/model/ModifyDBEndpointAddressRequest.h

@@ -43,6 +43,10 @@ namespace AlibabaCloud
 				void setDBEndpointId(const std::string& dBEndpointId);
 				std::string getAccessKeyId()const;
 				void setAccessKeyId(const std::string& accessKeyId);
+				std::string getPrivateZoneName()const;
+				void setPrivateZoneName(const std::string& privateZoneName);
+				std::string getPrivateZoneAddressPrefix()const;
+				void setPrivateZoneAddressPrefix(const std::string& privateZoneAddressPrefix);
 				std::string getResourceOwnerAccount()const;
 				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
 				std::string getDBClusterId()const;
@@ -59,6 +63,8 @@ namespace AlibabaCloud
 				std::string connectionStringPrefix_;
 				std::string dBEndpointId_;
 				std::string accessKeyId_;
+				std::string privateZoneName_;
+				std::string privateZoneAddressPrefix_;
 				std::string resourceOwnerAccount_;
 				std::string dBClusterId_;
 				std::string ownerAccount_;

+ 2 - 0
polardb/src/model/DescribeDBClusterEndpointsResult.cc

@@ -73,6 +73,8 @@ void DescribeDBClusterEndpointsResult::parse(const std::string &payload)
 				addressItemsObject.vSwitchId = allItemsNodeAddressItemsAddress["VSwitchId"].asString();
 			if(!allItemsNodeAddressItemsAddress["VpcInstanceId"].isNull())
 				addressItemsObject.vpcInstanceId = allItemsNodeAddressItemsAddress["VpcInstanceId"].asString();
+			if(!allItemsNodeAddressItemsAddress["PrivateZoneConnectionString"].isNull())
+				addressItemsObject.privateZoneConnectionString = allItemsNodeAddressItemsAddress["PrivateZoneConnectionString"].asString();
 			itemsObject.addressItems.push_back(addressItemsObject);
 		}
 		items_.push_back(itemsObject);

+ 11 - 0
polardb/src/model/DescribeDBNodePerformanceRequest.cc

@@ -93,6 +93,17 @@ void DescribeDBNodePerformanceRequest::setResourceOwnerAccount(const std::string
 	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
 }
 
+std::string DescribeDBNodePerformanceRequest::getDBClusterId()const
+{
+	return dBClusterId_;
+}
+
+void DescribeDBNodePerformanceRequest::setDBClusterId(const std::string& dBClusterId)
+{
+	dBClusterId_ = dBClusterId;
+	setParameter("DBClusterId", dBClusterId);
+}
+
 std::string DescribeDBNodePerformanceRequest::getOwnerAccount()const
 {
 	return ownerAccount_;

+ 22 - 0
polardb/src/model/ModifyDBEndpointAddressRequest.cc

@@ -71,6 +71,28 @@ void ModifyDBEndpointAddressRequest::setAccessKeyId(const std::string& accessKey
 	setParameter("AccessKeyId", accessKeyId);
 }
 
+std::string ModifyDBEndpointAddressRequest::getPrivateZoneName()const
+{
+	return privateZoneName_;
+}
+
+void ModifyDBEndpointAddressRequest::setPrivateZoneName(const std::string& privateZoneName)
+{
+	privateZoneName_ = privateZoneName;
+	setParameter("PrivateZoneName", privateZoneName);
+}
+
+std::string ModifyDBEndpointAddressRequest::getPrivateZoneAddressPrefix()const
+{
+	return privateZoneAddressPrefix_;
+}
+
+void ModifyDBEndpointAddressRequest::setPrivateZoneAddressPrefix(const std::string& privateZoneAddressPrefix)
+{
+	privateZoneAddressPrefix_ = privateZoneAddressPrefix;
+	setParameter("PrivateZoneAddressPrefix", privateZoneAddressPrefix);
+}
+
 std::string ModifyDBEndpointAddressRequest::getResourceOwnerAccount()const
 {
 	return resourceOwnerAccount_;