Update some parameters.
This commit is contained in:
@@ -262,6 +262,8 @@
|
||||
#include "model/RemoveDBClusterFromGDNResult.h"
|
||||
#include "model/ResetAccountRequest.h"
|
||||
#include "model/ResetAccountResult.h"
|
||||
#include "model/ResetGlobalDatabaseNetworkRequest.h"
|
||||
#include "model/ResetGlobalDatabaseNetworkResult.h"
|
||||
#include "model/RestartDBNodeRequest.h"
|
||||
#include "model/RestartDBNodeResult.h"
|
||||
#include "model/RestoreTableRequest.h"
|
||||
@@ -651,6 +653,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ResetAccountResult> ResetAccountOutcome;
|
||||
typedef std::future<ResetAccountOutcome> ResetAccountOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::ResetAccountRequest&, const ResetAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetGlobalDatabaseNetworkResult> ResetGlobalDatabaseNetworkOutcome;
|
||||
typedef std::future<ResetGlobalDatabaseNetworkOutcome> ResetGlobalDatabaseNetworkOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::ResetGlobalDatabaseNetworkRequest&, const ResetGlobalDatabaseNetworkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetGlobalDatabaseNetworkAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartDBNodeResult> RestartDBNodeOutcome;
|
||||
typedef std::future<RestartDBNodeOutcome> RestartDBNodeOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::RestartDBNodeRequest&, const RestartDBNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartDBNodeAsyncHandler;
|
||||
@@ -1046,6 +1051,9 @@ namespace AlibabaCloud
|
||||
ResetAccountOutcome resetAccount(const Model::ResetAccountRequest &request)const;
|
||||
void resetAccountAsync(const Model::ResetAccountRequest& request, const ResetAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetAccountOutcomeCallable resetAccountCallable(const Model::ResetAccountRequest& request) const;
|
||||
ResetGlobalDatabaseNetworkOutcome resetGlobalDatabaseNetwork(const Model::ResetGlobalDatabaseNetworkRequest &request)const;
|
||||
void resetGlobalDatabaseNetworkAsync(const Model::ResetGlobalDatabaseNetworkRequest& request, const ResetGlobalDatabaseNetworkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetGlobalDatabaseNetworkOutcomeCallable resetGlobalDatabaseNetworkCallable(const Model::ResetGlobalDatabaseNetworkRequest& request) const;
|
||||
RestartDBNodeOutcome restartDBNode(const Model::RestartDBNodeRequest &request)const;
|
||||
void restartDBNodeAsync(const Model::RestartDBNodeRequest& request, const RestartDBNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartDBNodeOutcomeCallable restartDBNodeCallable(const Model::RestartDBNodeRequest& request) const;
|
||||
|
||||
@@ -86,6 +86,8 @@ public:
|
||||
void setLowerCaseTableNames(const std::string &lowerCaseTableNames);
|
||||
std::string getScaleRoNumMax() const;
|
||||
void setScaleRoNumMax(const std::string &scaleRoNumMax);
|
||||
std::string getStandbyAZ() const;
|
||||
void setStandbyAZ(const std::string &standbyAZ);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getDefaultTimeZone() const;
|
||||
@@ -118,6 +120,8 @@ public:
|
||||
void setDBType(const std::string &dBType);
|
||||
std::string getDBVersion() const;
|
||||
void setDBVersion(const std::string &dBVersion);
|
||||
std::string getStrictConsistency() const;
|
||||
void setStrictConsistency(const std::string &strictConsistency);
|
||||
std::string getCloneDataPoint() const;
|
||||
void setCloneDataPoint(const std::string &cloneDataPoint);
|
||||
std::string getPayType() const;
|
||||
@@ -154,6 +158,7 @@ private:
|
||||
std::string allowShutDown_;
|
||||
std::string lowerCaseTableNames_;
|
||||
std::string scaleRoNumMax_;
|
||||
std::string standbyAZ_;
|
||||
std::string clientToken_;
|
||||
std::string defaultTimeZone_;
|
||||
std::string accessKeyId_;
|
||||
@@ -170,6 +175,7 @@ private:
|
||||
std::string scaleRoNumMin_;
|
||||
std::string dBType_;
|
||||
std::string dBVersion_;
|
||||
std::string strictConsistency_;
|
||||
std::string cloneDataPoint_;
|
||||
std::string payType_;
|
||||
long storageSpace_;
|
||||
|
||||
@@ -28,12 +28,20 @@ namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT CreateDBEndpointAddressRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct ZoneInfo {
|
||||
std::string vSwitchId;
|
||||
std::string zoneId;
|
||||
};
|
||||
CreateDBEndpointAddressRequest();
|
||||
~CreateDBEndpointAddressRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getConnectionStringPrefix() const;
|
||||
void setConnectionStringPrefix(const std::string &connectionStringPrefix);
|
||||
std::vector<ZoneInfo> getZoneInfo() const;
|
||||
void setZoneInfo(const std::vector<ZoneInfo> &zoneInfo);
|
||||
std::string getSecurityGroupId() const;
|
||||
void setSecurityGroupId(const std::string &securityGroupId);
|
||||
std::string getDBEndpointId() const;
|
||||
void setDBEndpointId(const std::string &dBEndpointId);
|
||||
std::string getAccessKeyId() const;
|
||||
@@ -48,10 +56,14 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getNetType() const;
|
||||
void setNetType(const std::string &netType);
|
||||
std::string getVPCId() const;
|
||||
void setVPCId(const std::string &vPCId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string connectionStringPrefix_;
|
||||
std::vector<ZoneInfo> zoneInfo_;
|
||||
std::string securityGroupId_;
|
||||
std::string dBEndpointId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
@@ -59,6 +71,7 @@ private:
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string netType_;
|
||||
std::string vPCId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
|
||||
@@ -99,6 +99,7 @@ namespace AlibabaCloud
|
||||
std::string getProxyCpuCores()const;
|
||||
std::string getPayType()const;
|
||||
std::string getLockMode()const;
|
||||
std::string getStrictConsistency()const;
|
||||
long getStorageUsed()const;
|
||||
long getInodeTotal()const;
|
||||
bool getIsProxyLatestVersion()const;
|
||||
@@ -148,6 +149,7 @@ namespace AlibabaCloud
|
||||
std::string proxyCpuCores_;
|
||||
std::string payType_;
|
||||
std::string lockMode_;
|
||||
std::string strictConsistency_;
|
||||
long storageUsed_;
|
||||
long inodeTotal_;
|
||||
bool isProxyLatestVersion_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRequestType() const;
|
||||
void setRequestType(const std::string &requestType);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
@@ -46,6 +48,7 @@ public:
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string requestType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
explicit DescribeDBClusterServerlessConfResult(const std::string &payload);
|
||||
~DescribeDBClusterServerlessConfResult();
|
||||
std::string getScaleRoNumMin()const;
|
||||
std::string getDBMaxscaleId()const;
|
||||
std::string getAllowShutDown()const;
|
||||
std::string getScaleApRoNumMin()const;
|
||||
std::string getScaleApRoNumMax()const;
|
||||
@@ -46,11 +47,13 @@ namespace AlibabaCloud
|
||||
std::string getScaleMin()const;
|
||||
std::string getScaleMax()const;
|
||||
std::string getSecondsUntilAutoPause()const;
|
||||
std::string getSwitchs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string scaleRoNumMin_;
|
||||
std::string dBMaxscaleId_;
|
||||
std::string allowShutDown_;
|
||||
std::string scaleApRoNumMin_;
|
||||
std::string scaleApRoNumMax_;
|
||||
@@ -59,6 +62,7 @@ namespace AlibabaCloud
|
||||
std::string scaleMin_;
|
||||
std::string scaleMax_;
|
||||
std::string secondsUntilAutoPause_;
|
||||
std::string switchs_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@ namespace AlibabaCloud
|
||||
std::string dBNodeRole;
|
||||
std::string dBNodeId;
|
||||
std::string regionId;
|
||||
std::string serverless;
|
||||
std::string dBNodeClass;
|
||||
};
|
||||
int deletionLock;
|
||||
@@ -65,6 +66,7 @@ namespace AlibabaCloud
|
||||
std::string expired;
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
std::string strictConsistency;
|
||||
std::string dBNodeClass;
|
||||
long storageUsed;
|
||||
int dBNodeNumber;
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_RESETGLOBALDATABASENETWORKREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_RESETGLOBALDATABASENETWORKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT ResetGlobalDatabaseNetworkRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ResetGlobalDatabaseNetworkRequest();
|
||||
~ResetGlobalDatabaseNetworkRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getGDNId() const;
|
||||
void setGDNId(const std::string &gDNId);
|
||||
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);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string gDNId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_RESETGLOBALDATABASENETWORKREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_RESETGLOBALDATABASENETWORKRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_RESETGLOBALDATABASENETWORKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT ResetGlobalDatabaseNetworkResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResetGlobalDatabaseNetworkResult();
|
||||
explicit ResetGlobalDatabaseNetworkResult(const std::string &payload);
|
||||
~ResetGlobalDatabaseNetworkResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_RESETGLOBALDATABASENETWORKRESULT_H_
|
||||
Reference in New Issue
Block a user