Add DescribeDBClusterAvailableResources.

This commit is contained in:
sdk-team
2020-04-09 10:52:46 +08:00
parent c58d7b0968
commit 2e465b8b77
8 changed files with 49 additions and 1 deletions

View File

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

View File

@@ -1 +1 @@
1.36.343 1.36.344

View File

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

View File

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

View File

@@ -43,6 +43,10 @@ namespace AlibabaCloud
void setDBEndpointId(const std::string& dBEndpointId); void setDBEndpointId(const std::string& dBEndpointId);
std::string getAccessKeyId()const; std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId); 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; std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const; std::string getDBClusterId()const;
@@ -59,6 +63,8 @@ namespace AlibabaCloud
std::string connectionStringPrefix_; std::string connectionStringPrefix_;
std::string dBEndpointId_; std::string dBEndpointId_;
std::string accessKeyId_; std::string accessKeyId_;
std::string privateZoneName_;
std::string privateZoneAddressPrefix_;
std::string resourceOwnerAccount_; std::string resourceOwnerAccount_;
std::string dBClusterId_; std::string dBClusterId_;
std::string ownerAccount_; std::string ownerAccount_;

View File

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

View File

@@ -93,6 +93,17 @@ void DescribeDBNodePerformanceRequest::setResourceOwnerAccount(const std::string
setParameter("ResourceOwnerAccount", resourceOwnerAccount); 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 std::string DescribeDBNodePerformanceRequest::getOwnerAccount()const
{ {
return ownerAccount_; return ownerAccount_;

View File

@@ -71,6 +71,28 @@ void ModifyDBEndpointAddressRequest::setAccessKeyId(const std::string& accessKey
setParameter("AccessKeyId", accessKeyId); 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 std::string ModifyDBEndpointAddressRequest::getResourceOwnerAccount()const
{ {
return resourceOwnerAccount_; return resourceOwnerAccount_;