DiskEncryption.
This commit is contained in:
@@ -124,6 +124,8 @@
|
||||
#include "model/DescribeServerlessClusterResult.h"
|
||||
#include "model/DescribeSubDomainRequest.h"
|
||||
#include "model/DescribeSubDomainResult.h"
|
||||
#include "model/DescribeUserEncryptionKeyListRequest.h"
|
||||
#include "model/DescribeUserEncryptionKeyListResult.h"
|
||||
#include "model/EnableHBaseueBackupRequest.h"
|
||||
#include "model/EnableHBaseueBackupResult.h"
|
||||
#include "model/EnableHBaseueModuleRequest.h"
|
||||
@@ -368,6 +370,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeSubDomainResult> DescribeSubDomainOutcome;
|
||||
typedef std::future<DescribeSubDomainOutcome> DescribeSubDomainOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeSubDomainRequest&, const DescribeSubDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserEncryptionKeyListResult> DescribeUserEncryptionKeyListOutcome;
|
||||
typedef std::future<DescribeUserEncryptionKeyListOutcome> DescribeUserEncryptionKeyListOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeUserEncryptionKeyListRequest&, const DescribeUserEncryptionKeyListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserEncryptionKeyListAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableHBaseueBackupResult> EnableHBaseueBackupOutcome;
|
||||
typedef std::future<EnableHBaseueBackupOutcome> EnableHBaseueBackupOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::EnableHBaseueBackupRequest&, const EnableHBaseueBackupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableHBaseueBackupAsyncHandler;
|
||||
@@ -649,6 +654,9 @@ namespace AlibabaCloud
|
||||
DescribeSubDomainOutcome describeSubDomain(const Model::DescribeSubDomainRequest &request)const;
|
||||
void describeSubDomainAsync(const Model::DescribeSubDomainRequest& request, const DescribeSubDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSubDomainOutcomeCallable describeSubDomainCallable(const Model::DescribeSubDomainRequest& request) const;
|
||||
DescribeUserEncryptionKeyListOutcome describeUserEncryptionKeyList(const Model::DescribeUserEncryptionKeyListRequest &request)const;
|
||||
void describeUserEncryptionKeyListAsync(const Model::DescribeUserEncryptionKeyListRequest& request, const DescribeUserEncryptionKeyListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserEncryptionKeyListOutcomeCallable describeUserEncryptionKeyListCallable(const Model::DescribeUserEncryptionKeyListRequest& request) const;
|
||||
EnableHBaseueBackupOutcome enableHBaseueBackup(const Model::EnableHBaseueBackupRequest &request)const;
|
||||
void enableHBaseueBackupAsync(const Model::EnableHBaseueBackupRequest& request, const EnableHBaseueBackupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableHBaseueBackupOutcomeCallable enableHBaseueBackupCallable(const Model::EnableHBaseueBackupRequest& request) const;
|
||||
|
||||
@@ -53,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setPeriod(int period);
|
||||
int getDiskSize()const;
|
||||
void setDiskSize(int diskSize);
|
||||
std::string getEncryptionKey()const;
|
||||
void setEncryptionKey(const std::string& encryptionKey);
|
||||
std::string getMasterInstanceType()const;
|
||||
void setMasterInstanceType(const std::string& masterInstanceType);
|
||||
std::string getDiskType()const;
|
||||
@@ -86,6 +88,7 @@ namespace AlibabaCloud
|
||||
int autoRenewPeriod_;
|
||||
int period_;
|
||||
int diskSize_;
|
||||
std::string encryptionKey_;
|
||||
std::string masterInstanceType_;
|
||||
std::string diskType_;
|
||||
std::string vSwitchId_;
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace AlibabaCloud
|
||||
bool getIsHa()const;
|
||||
std::string getCreatedTime()const;
|
||||
std::string getResourceGroupId()const;
|
||||
std::string getEncryptionKey()const;
|
||||
std::string getMasterInstanceType()const;
|
||||
bool getIsDeletionProtection()const;
|
||||
bool getIsLatestVersion()const;
|
||||
@@ -63,6 +64,7 @@ namespace AlibabaCloud
|
||||
std::string getCoreDiskCount()const;
|
||||
std::string getParentId()const;
|
||||
int getColdStorageSize()const;
|
||||
bool getEncryptionType()const;
|
||||
int getMasterDiskSize()const;
|
||||
std::string getExpireTimeUTC()const;
|
||||
std::string getZoneId()const;
|
||||
@@ -94,6 +96,7 @@ namespace AlibabaCloud
|
||||
bool isHa_;
|
||||
std::string createdTime_;
|
||||
std::string resourceGroupId_;
|
||||
std::string encryptionKey_;
|
||||
std::string masterInstanceType_;
|
||||
bool isDeletionProtection_;
|
||||
bool isLatestVersion_;
|
||||
@@ -111,6 +114,7 @@ namespace AlibabaCloud
|
||||
std::string coreDiskCount_;
|
||||
std::string parentId_;
|
||||
int coldStorageSize_;
|
||||
bool encryptionType_;
|
||||
int masterDiskSize_;
|
||||
std::string expireTimeUTC_;
|
||||
std::string zoneId_;
|
||||
|
||||
@@ -54,48 +54,50 @@ namespace AlibabaCloud
|
||||
std::string getStandbyZoneId()const;
|
||||
std::string getCreatedTime()const;
|
||||
std::string getResourceGroupId()const;
|
||||
std::string getMasterInstanceType()const;
|
||||
std::string getPrimaryVSwitchIds()const;
|
||||
bool getIsDeletionProtection()const;
|
||||
std::string getLogDiskCount()const;
|
||||
int getLogDiskSize()const;
|
||||
int getModuleId()const;
|
||||
std::string getArbiterVSwitchIds()const;
|
||||
std::string getMaintainEndTime()const;
|
||||
std::string getStandbyVSwitchIds()const;
|
||||
std::string getNetworkType()const;
|
||||
std::string getCoreInstanceType()const;
|
||||
std::string getClusterName()const;
|
||||
std::string getMasterDiskType()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
std::string getEngine()const;
|
||||
std::string getMaintainStartTime()const;
|
||||
std::string getArbiterZoneId()const;
|
||||
std::string getMajorVersion()const;
|
||||
std::string getCoreDiskCount()const;
|
||||
std::string getParentId()const;
|
||||
std::string getStatus()const;
|
||||
std::vector<MultiZoneInstanceModel> getMultiZoneInstanceModels()const;
|
||||
bool getEncryptionType()const;
|
||||
std::string getExpireTimeUTC()const;
|
||||
int getMasterDiskSize()const;
|
||||
std::string getPrimaryZoneId()const;
|
||||
std::string getMultiZoneCombination()const;
|
||||
std::string getClusterId()const;
|
||||
std::string getInstanceId()const;
|
||||
int getCoreNodeCount()const;
|
||||
std::string getCreatedTimeUTC()const;
|
||||
int getDuration()const;
|
||||
std::string getLogInstanceType()const;
|
||||
std::string getPayType()const;
|
||||
std::string getInstanceName()const;
|
||||
int getMasterNodeCount()const;
|
||||
bool getAutoRenewal()const;
|
||||
std::string getVpcId()const;
|
||||
std::string getCoreDiskType()const;
|
||||
std::string getExpireTime()const;
|
||||
std::string getEncryptionKey()const;
|
||||
std::string getMasterInstanceType()const;
|
||||
std::string getPrimaryVSwitchIds()const;
|
||||
bool getIsDeletionProtection()const;
|
||||
std::string getLogDiskCount()const;
|
||||
int getLogDiskSize()const;
|
||||
std::string getArbiterVSwitchIds()const;
|
||||
std::string getMaintainEndTime()const;
|
||||
std::string getNetworkType()const;
|
||||
std::string getCoreInstanceType()const;
|
||||
std::string getClusterName()const;
|
||||
std::string getMasterDiskType()const;
|
||||
std::string getMaintainStartTime()const;
|
||||
std::string getArbiterZoneId()const;
|
||||
std::string getMajorVersion()const;
|
||||
std::string getCoreDiskCount()const;
|
||||
std::string getParentId()const;
|
||||
std::vector<MultiZoneInstanceModel> getMultiZoneInstanceModels()const;
|
||||
std::string getPrimaryZoneId()const;
|
||||
std::string getMultiZoneCombination()const;
|
||||
std::string getClusterId()const;
|
||||
int getCoreNodeCount()const;
|
||||
std::string getCreatedTimeUTC()const;
|
||||
std::string getLogInstanceType()const;
|
||||
int getLogNodeCount()const;
|
||||
std::string getLogDiskType()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getExpireTime()const;
|
||||
int getCoreDiskSize()const;
|
||||
|
||||
protected:
|
||||
@@ -105,48 +107,50 @@ namespace AlibabaCloud
|
||||
std::string standbyZoneId_;
|
||||
std::string createdTime_;
|
||||
std::string resourceGroupId_;
|
||||
std::string masterInstanceType_;
|
||||
std::string primaryVSwitchIds_;
|
||||
bool isDeletionProtection_;
|
||||
std::string logDiskCount_;
|
||||
int logDiskSize_;
|
||||
int moduleId_;
|
||||
std::string arbiterVSwitchIds_;
|
||||
std::string maintainEndTime_;
|
||||
std::string standbyVSwitchIds_;
|
||||
std::string networkType_;
|
||||
std::string coreInstanceType_;
|
||||
std::string clusterName_;
|
||||
std::string masterDiskType_;
|
||||
std::vector<Tag> tags_;
|
||||
std::string engine_;
|
||||
std::string maintainStartTime_;
|
||||
std::string arbiterZoneId_;
|
||||
std::string majorVersion_;
|
||||
std::string coreDiskCount_;
|
||||
std::string parentId_;
|
||||
std::string status_;
|
||||
std::vector<MultiZoneInstanceModel> multiZoneInstanceModels_;
|
||||
bool encryptionType_;
|
||||
std::string expireTimeUTC_;
|
||||
int masterDiskSize_;
|
||||
std::string primaryZoneId_;
|
||||
std::string multiZoneCombination_;
|
||||
std::string clusterId_;
|
||||
std::string instanceId_;
|
||||
int coreNodeCount_;
|
||||
std::string createdTimeUTC_;
|
||||
int duration_;
|
||||
std::string logInstanceType_;
|
||||
std::string payType_;
|
||||
std::string instanceName_;
|
||||
int masterNodeCount_;
|
||||
bool autoRenewal_;
|
||||
std::string vpcId_;
|
||||
std::string coreDiskType_;
|
||||
std::string expireTime_;
|
||||
std::string encryptionKey_;
|
||||
std::string masterInstanceType_;
|
||||
std::string primaryVSwitchIds_;
|
||||
bool isDeletionProtection_;
|
||||
std::string logDiskCount_;
|
||||
int logDiskSize_;
|
||||
std::string arbiterVSwitchIds_;
|
||||
std::string maintainEndTime_;
|
||||
std::string networkType_;
|
||||
std::string coreInstanceType_;
|
||||
std::string clusterName_;
|
||||
std::string masterDiskType_;
|
||||
std::string maintainStartTime_;
|
||||
std::string arbiterZoneId_;
|
||||
std::string majorVersion_;
|
||||
std::string coreDiskCount_;
|
||||
std::string parentId_;
|
||||
std::vector<MultiZoneInstanceModel> multiZoneInstanceModels_;
|
||||
std::string primaryZoneId_;
|
||||
std::string multiZoneCombination_;
|
||||
std::string clusterId_;
|
||||
int coreNodeCount_;
|
||||
std::string createdTimeUTC_;
|
||||
std::string logInstanceType_;
|
||||
int logNodeCount_;
|
||||
std::string logDiskType_;
|
||||
std::string regionId_;
|
||||
std::string expireTime_;
|
||||
int coreDiskSize_;
|
||||
|
||||
};
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hbase/HBaseExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace HBase
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HBASE_EXPORT DescribeUserEncryptionKeyListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeUserEncryptionKeyListRequest();
|
||||
~DescribeUserEncryptionKeyListRequest();
|
||||
|
||||
std::string getPageNumber()const;
|
||||
void setPageNumber(const std::string& pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
|
||||
private:
|
||||
std::string pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTRESULT_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hbase/HBaseExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace HBase
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HBASE_EXPORT DescribeUserEncryptionKeyListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct KmsKeysItem
|
||||
{
|
||||
std::string keyId;
|
||||
};
|
||||
|
||||
|
||||
DescribeUserEncryptionKeyListResult();
|
||||
explicit DescribeUserEncryptionKeyListResult(const std::string &payload);
|
||||
~DescribeUserEncryptionKeyListResult();
|
||||
std::vector<KmsKeysItem> getKmsKeys()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<KmsKeysItem> kmsKeys_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTRESULT_H_
|
||||
Reference in New Issue
Block a user