Add DescribeDBClusterAvailableResources.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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_;
|
||||||
|
|||||||
@@ -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_;
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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_;
|
||||||
|
|||||||
@@ -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_;
|
||||||
|
|||||||
Reference in New Issue
Block a user