Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aeea3c2fea | ||
|
|
743309716b | ||
|
|
c9ae7d0b7e | ||
|
|
def35a6602 | ||
|
|
da7aefe5aa |
20
CHANGELOG
20
CHANGELOG
@@ -1,3 +1,23 @@
|
||||
2020-06-23 Version: 1.36.480
|
||||
- Add face quality detection API.
|
||||
|
||||
2020-06-23 Version: 1.36.479
|
||||
- Add face quality detection API.
|
||||
|
||||
2020-06-23 Version: 1.36.478
|
||||
- Add face quality detection API.
|
||||
|
||||
2020-06-23 Version: 1.36.477
|
||||
- Generated 2015-12-15 for `CS`.
|
||||
|
||||
2020-06-23 Version: 1.36.476
|
||||
- Support SubmitOperationAuditInfo for Support self-service submission of approval information.
|
||||
- Support SubmitOperationCredentials for self-service submission of certificate information.
|
||||
- Support CancelOperationAudit for cancel audit.
|
||||
- Support GetOperationOssUploadPolic for get oss policy.
|
||||
- Support QueryOperationAuditInfoLis for query audit list.
|
||||
- Support QueryOperationAuditInfoDetail for query audit details.
|
||||
|
||||
2020-06-23 Version: 1.36.475
|
||||
- Generated 2018-08-28 for `Tag`.
|
||||
|
||||
|
||||
@@ -23,22 +23,26 @@ set(cs_public_header
|
||||
set(cs_public_header_model
|
||||
include/alibabacloud/cs/model/AttachInstancesRequest.h
|
||||
include/alibabacloud/cs/model/AttachInstancesResult.h
|
||||
include/alibabacloud/cs/model/CancelClusterUpgradeRequest.h
|
||||
include/alibabacloud/cs/model/CancelClusterUpgradeResult.h
|
||||
include/alibabacloud/cs/model/CancelComponentUpgradeRequest.h
|
||||
include/alibabacloud/cs/model/CancelComponentUpgradeResult.h
|
||||
include/alibabacloud/cs/model/CancelWorkflowRequest.h
|
||||
include/alibabacloud/cs/model/CancelWorkflowResult.h
|
||||
include/alibabacloud/cs/model/CheckAliyunCSServiceRoleRequest.h
|
||||
include/alibabacloud/cs/model/CheckAliyunCSServiceRoleResult.h
|
||||
include/alibabacloud/cs/model/CreateClusterRequest.h
|
||||
include/alibabacloud/cs/model/CreateClusterResult.h
|
||||
include/alibabacloud/cs/model/CreateClusterByResourcesGroupRequest.h
|
||||
include/alibabacloud/cs/model/CreateClusterByResourcesGroupResult.h
|
||||
include/alibabacloud/cs/model/CreateServiceMeshRequest.h
|
||||
include/alibabacloud/cs/model/CreateServiceMeshResult.h
|
||||
include/alibabacloud/cs/model/CreateTemplateRequest.h
|
||||
include/alibabacloud/cs/model/CreateTemplateResult.h
|
||||
include/alibabacloud/cs/model/CreateTriggerHookRequest.h
|
||||
include/alibabacloud/cs/model/CreateTriggerHookResult.h
|
||||
include/alibabacloud/cs/model/DeleteClusterRequest.h
|
||||
include/alibabacloud/cs/model/DeleteClusterResult.h
|
||||
include/alibabacloud/cs/model/DeleteClusterNodeRequest.h
|
||||
include/alibabacloud/cs/model/DeleteClusterNodeResult.h
|
||||
include/alibabacloud/cs/model/DeleteClusterNodesRequest.h
|
||||
include/alibabacloud/cs/model/DeleteClusterNodesResult.h
|
||||
include/alibabacloud/cs/model/DeleteTemplateRequest.h
|
||||
include/alibabacloud/cs/model/DeleteTemplateResult.h
|
||||
include/alibabacloud/cs/model/DeleteTriggerHookRequest.h
|
||||
include/alibabacloud/cs/model/DeleteTriggerHookResult.h
|
||||
include/alibabacloud/cs/model/DescirbeWorkflowRequest.h
|
||||
include/alibabacloud/cs/model/DescirbeWorkflowResult.h
|
||||
include/alibabacloud/cs/model/DescribeAddonsRequest.h
|
||||
@@ -51,77 +55,89 @@ set(cs_public_header_model
|
||||
include/alibabacloud/cs/model/DescribeClusterAddonsVersionResult.h
|
||||
include/alibabacloud/cs/model/DescribeClusterAttachScriptsRequest.h
|
||||
include/alibabacloud/cs/model/DescribeClusterAttachScriptsResult.h
|
||||
include/alibabacloud/cs/model/DescribeClusterCertsRequest.h
|
||||
include/alibabacloud/cs/model/DescribeClusterCertsResult.h
|
||||
include/alibabacloud/cs/model/DescribeClusterDetailRequest.h
|
||||
include/alibabacloud/cs/model/DescribeClusterDetailResult.h
|
||||
include/alibabacloud/cs/model/DescribeClusterEndpointsRequest.h
|
||||
include/alibabacloud/cs/model/DescribeClusterEndpointsResult.h
|
||||
include/alibabacloud/cs/model/DescribeClusterLogsRequest.h
|
||||
include/alibabacloud/cs/model/DescribeClusterLogsResult.h
|
||||
include/alibabacloud/cs/model/DescribeClusterNodesRequest.h
|
||||
include/alibabacloud/cs/model/DescribeClusterNodesResult.h
|
||||
include/alibabacloud/cs/model/DescribeClusterResourcesRequest.h
|
||||
include/alibabacloud/cs/model/DescribeClusterResourcesResult.h
|
||||
include/alibabacloud/cs/model/DescribeClusterUserKubeconfigRequest.h
|
||||
include/alibabacloud/cs/model/DescribeClusterUserKubeconfigResult.h
|
||||
include/alibabacloud/cs/model/DescribeClusterV2UserKubeconfigRequest.h
|
||||
include/alibabacloud/cs/model/DescribeClusterV2UserKubeconfigResult.h
|
||||
include/alibabacloud/cs/model/DescribeClustersRequest.h
|
||||
include/alibabacloud/cs/model/DescribeClustersResult.h
|
||||
include/alibabacloud/cs/model/DescribeEdgeClusterAttachScriptsRequest.h
|
||||
include/alibabacloud/cs/model/DescribeEdgeClusterAttachScriptsResult.h
|
||||
include/alibabacloud/cs/model/DescribeExternalAgentRequest.h
|
||||
include/alibabacloud/cs/model/DescribeExternalAgentResult.h
|
||||
include/alibabacloud/cs/model/DescribeTemplatesRequest.h
|
||||
include/alibabacloud/cs/model/DescribeTemplatesResult.h
|
||||
include/alibabacloud/cs/model/DescribeUserQuotaRequest.h
|
||||
include/alibabacloud/cs/model/DescribeUserQuotaResult.h
|
||||
include/alibabacloud/cs/model/DescribeWorkflowsRequest.h
|
||||
include/alibabacloud/cs/model/DescribeWorkflowsResult.h
|
||||
include/alibabacloud/cs/model/DownloadClusterNodeCertsRequest.h
|
||||
include/alibabacloud/cs/model/DownloadClusterNodeCertsResult.h
|
||||
include/alibabacloud/cs/model/GetUpgradeStatusRequest.h
|
||||
include/alibabacloud/cs/model/GetUpgradeStatusResult.h
|
||||
include/alibabacloud/cs/model/InstallClusterAddonsRequest.h
|
||||
include/alibabacloud/cs/model/InstallClusterAddonsResult.h
|
||||
include/alibabacloud/cs/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/cs/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/cs/model/ModifyClusterRequest.h
|
||||
include/alibabacloud/cs/model/ModifyClusterResult.h
|
||||
include/alibabacloud/cs/model/ModifyClusterTagsRequest.h
|
||||
include/alibabacloud/cs/model/ModifyClusterTagsResult.h
|
||||
include/alibabacloud/cs/model/PauseClusterUpgradeRequest.h
|
||||
include/alibabacloud/cs/model/PauseClusterUpgradeResult.h
|
||||
include/alibabacloud/cs/model/PauseComponentUpgradeRequest.h
|
||||
include/alibabacloud/cs/model/PauseComponentUpgradeResult.h
|
||||
include/alibabacloud/cs/model/RemoveClusterNodesRequest.h
|
||||
include/alibabacloud/cs/model/RemoveClusterNodesResult.h
|
||||
include/alibabacloud/cs/model/RemoveWorkflowRequest.h
|
||||
include/alibabacloud/cs/model/RemoveWorkflowResult.h
|
||||
include/alibabacloud/cs/model/ResetClusterNodeRequest.h
|
||||
include/alibabacloud/cs/model/ResetClusterNodeResult.h
|
||||
include/alibabacloud/cs/model/RevokeClusterTokenRequest.h
|
||||
include/alibabacloud/cs/model/RevokeClusterTokenResult.h
|
||||
include/alibabacloud/cs/model/ResumeComponentUpgradeRequest.h
|
||||
include/alibabacloud/cs/model/ResumeComponentUpgradeResult.h
|
||||
include/alibabacloud/cs/model/ResumeUpgradeClusterRequest.h
|
||||
include/alibabacloud/cs/model/ResumeUpgradeClusterResult.h
|
||||
include/alibabacloud/cs/model/ScaleClusterRequest.h
|
||||
include/alibabacloud/cs/model/ScaleClusterResult.h
|
||||
include/alibabacloud/cs/model/ScaleOutClusterRequest.h
|
||||
include/alibabacloud/cs/model/ScaleOutClusterResult.h
|
||||
include/alibabacloud/cs/model/ServiceMeshAddClusterRequest.h
|
||||
include/alibabacloud/cs/model/ServiceMeshAddClusterResult.h
|
||||
include/alibabacloud/cs/model/ServiceMeshApiServerRequest.h
|
||||
include/alibabacloud/cs/model/ServiceMeshApiServerResult.h
|
||||
include/alibabacloud/cs/model/ServiceMeshRemoveClusterRequest.h
|
||||
include/alibabacloud/cs/model/ServiceMeshRemoveClusterResult.h
|
||||
include/alibabacloud/cs/model/StartWorkflowRequest.h
|
||||
include/alibabacloud/cs/model/StartWorkflowResult.h
|
||||
include/alibabacloud/cs/model/UnInstallClusterAddonsRequest.h
|
||||
include/alibabacloud/cs/model/UnInstallClusterAddonsResult.h
|
||||
include/alibabacloud/cs/model/UpdateK8sClusterUserConfigExpireRequest.h
|
||||
include/alibabacloud/cs/model/UpdateK8sClusterUserConfigExpireResult.h
|
||||
include/alibabacloud/cs/model/UpdateServiceMeshRequest.h
|
||||
include/alibabacloud/cs/model/UpdateServiceMeshResult.h )
|
||||
include/alibabacloud/cs/model/UpgradeClusterRequest.h
|
||||
include/alibabacloud/cs/model/UpgradeClusterResult.h
|
||||
include/alibabacloud/cs/model/UpgradeClusterAddonsRequest.h
|
||||
include/alibabacloud/cs/model/UpgradeClusterAddonsResult.h )
|
||||
|
||||
set(cs_src
|
||||
src/CSClient.cc
|
||||
src/model/AttachInstancesRequest.cc
|
||||
src/model/AttachInstancesResult.cc
|
||||
src/model/CancelClusterUpgradeRequest.cc
|
||||
src/model/CancelClusterUpgradeResult.cc
|
||||
src/model/CancelComponentUpgradeRequest.cc
|
||||
src/model/CancelComponentUpgradeResult.cc
|
||||
src/model/CancelWorkflowRequest.cc
|
||||
src/model/CancelWorkflowResult.cc
|
||||
src/model/CheckAliyunCSServiceRoleRequest.cc
|
||||
src/model/CheckAliyunCSServiceRoleResult.cc
|
||||
src/model/CreateClusterRequest.cc
|
||||
src/model/CreateClusterResult.cc
|
||||
src/model/CreateClusterByResourcesGroupRequest.cc
|
||||
src/model/CreateClusterByResourcesGroupResult.cc
|
||||
src/model/CreateServiceMeshRequest.cc
|
||||
src/model/CreateServiceMeshResult.cc
|
||||
src/model/CreateTemplateRequest.cc
|
||||
src/model/CreateTemplateResult.cc
|
||||
src/model/CreateTriggerHookRequest.cc
|
||||
src/model/CreateTriggerHookResult.cc
|
||||
src/model/DeleteClusterRequest.cc
|
||||
src/model/DeleteClusterResult.cc
|
||||
src/model/DeleteClusterNodeRequest.cc
|
||||
src/model/DeleteClusterNodeResult.cc
|
||||
src/model/DeleteClusterNodesRequest.cc
|
||||
src/model/DeleteClusterNodesResult.cc
|
||||
src/model/DeleteTemplateRequest.cc
|
||||
src/model/DeleteTemplateResult.cc
|
||||
src/model/DeleteTriggerHookRequest.cc
|
||||
src/model/DeleteTriggerHookResult.cc
|
||||
src/model/DescirbeWorkflowRequest.cc
|
||||
src/model/DescirbeWorkflowResult.cc
|
||||
src/model/DescribeAddonsRequest.cc
|
||||
@@ -134,56 +150,64 @@ set(cs_src
|
||||
src/model/DescribeClusterAddonsVersionResult.cc
|
||||
src/model/DescribeClusterAttachScriptsRequest.cc
|
||||
src/model/DescribeClusterAttachScriptsResult.cc
|
||||
src/model/DescribeClusterCertsRequest.cc
|
||||
src/model/DescribeClusterCertsResult.cc
|
||||
src/model/DescribeClusterDetailRequest.cc
|
||||
src/model/DescribeClusterDetailResult.cc
|
||||
src/model/DescribeClusterEndpointsRequest.cc
|
||||
src/model/DescribeClusterEndpointsResult.cc
|
||||
src/model/DescribeClusterLogsRequest.cc
|
||||
src/model/DescribeClusterLogsResult.cc
|
||||
src/model/DescribeClusterNodesRequest.cc
|
||||
src/model/DescribeClusterNodesResult.cc
|
||||
src/model/DescribeClusterResourcesRequest.cc
|
||||
src/model/DescribeClusterResourcesResult.cc
|
||||
src/model/DescribeClusterUserKubeconfigRequest.cc
|
||||
src/model/DescribeClusterUserKubeconfigResult.cc
|
||||
src/model/DescribeClusterV2UserKubeconfigRequest.cc
|
||||
src/model/DescribeClusterV2UserKubeconfigResult.cc
|
||||
src/model/DescribeClustersRequest.cc
|
||||
src/model/DescribeClustersResult.cc
|
||||
src/model/DescribeEdgeClusterAttachScriptsRequest.cc
|
||||
src/model/DescribeEdgeClusterAttachScriptsResult.cc
|
||||
src/model/DescribeExternalAgentRequest.cc
|
||||
src/model/DescribeExternalAgentResult.cc
|
||||
src/model/DescribeTemplatesRequest.cc
|
||||
src/model/DescribeTemplatesResult.cc
|
||||
src/model/DescribeUserQuotaRequest.cc
|
||||
src/model/DescribeUserQuotaResult.cc
|
||||
src/model/DescribeWorkflowsRequest.cc
|
||||
src/model/DescribeWorkflowsResult.cc
|
||||
src/model/DownloadClusterNodeCertsRequest.cc
|
||||
src/model/DownloadClusterNodeCertsResult.cc
|
||||
src/model/GetUpgradeStatusRequest.cc
|
||||
src/model/GetUpgradeStatusResult.cc
|
||||
src/model/InstallClusterAddonsRequest.cc
|
||||
src/model/InstallClusterAddonsResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyClusterRequest.cc
|
||||
src/model/ModifyClusterResult.cc
|
||||
src/model/ModifyClusterTagsRequest.cc
|
||||
src/model/ModifyClusterTagsResult.cc
|
||||
src/model/PauseClusterUpgradeRequest.cc
|
||||
src/model/PauseClusterUpgradeResult.cc
|
||||
src/model/PauseComponentUpgradeRequest.cc
|
||||
src/model/PauseComponentUpgradeResult.cc
|
||||
src/model/RemoveClusterNodesRequest.cc
|
||||
src/model/RemoveClusterNodesResult.cc
|
||||
src/model/RemoveWorkflowRequest.cc
|
||||
src/model/RemoveWorkflowResult.cc
|
||||
src/model/ResetClusterNodeRequest.cc
|
||||
src/model/ResetClusterNodeResult.cc
|
||||
src/model/RevokeClusterTokenRequest.cc
|
||||
src/model/RevokeClusterTokenResult.cc
|
||||
src/model/ResumeComponentUpgradeRequest.cc
|
||||
src/model/ResumeComponentUpgradeResult.cc
|
||||
src/model/ResumeUpgradeClusterRequest.cc
|
||||
src/model/ResumeUpgradeClusterResult.cc
|
||||
src/model/ScaleClusterRequest.cc
|
||||
src/model/ScaleClusterResult.cc
|
||||
src/model/ScaleOutClusterRequest.cc
|
||||
src/model/ScaleOutClusterResult.cc
|
||||
src/model/ServiceMeshAddClusterRequest.cc
|
||||
src/model/ServiceMeshAddClusterResult.cc
|
||||
src/model/ServiceMeshApiServerRequest.cc
|
||||
src/model/ServiceMeshApiServerResult.cc
|
||||
src/model/ServiceMeshRemoveClusterRequest.cc
|
||||
src/model/ServiceMeshRemoveClusterResult.cc
|
||||
src/model/StartWorkflowRequest.cc
|
||||
src/model/StartWorkflowResult.cc
|
||||
src/model/UnInstallClusterAddonsRequest.cc
|
||||
src/model/UnInstallClusterAddonsResult.cc
|
||||
src/model/UpdateK8sClusterUserConfigExpireRequest.cc
|
||||
src/model/UpdateK8sClusterUserConfigExpireResult.cc
|
||||
src/model/UpdateServiceMeshRequest.cc
|
||||
src/model/UpdateServiceMeshResult.cc )
|
||||
src/model/UpgradeClusterRequest.cc
|
||||
src/model/UpgradeClusterResult.cc
|
||||
src/model/UpgradeClusterAddonsRequest.cc
|
||||
src/model/UpgradeClusterAddonsResult.cc )
|
||||
|
||||
add_library(cs ${LIB_TYPE}
|
||||
${cs_public_header}
|
||||
|
||||
@@ -24,22 +24,26 @@
|
||||
#include "CSExport.h"
|
||||
#include "model/AttachInstancesRequest.h"
|
||||
#include "model/AttachInstancesResult.h"
|
||||
#include "model/CancelClusterUpgradeRequest.h"
|
||||
#include "model/CancelClusterUpgradeResult.h"
|
||||
#include "model/CancelComponentUpgradeRequest.h"
|
||||
#include "model/CancelComponentUpgradeResult.h"
|
||||
#include "model/CancelWorkflowRequest.h"
|
||||
#include "model/CancelWorkflowResult.h"
|
||||
#include "model/CheckAliyunCSServiceRoleRequest.h"
|
||||
#include "model/CheckAliyunCSServiceRoleResult.h"
|
||||
#include "model/CreateClusterRequest.h"
|
||||
#include "model/CreateClusterResult.h"
|
||||
#include "model/CreateClusterByResourcesGroupRequest.h"
|
||||
#include "model/CreateClusterByResourcesGroupResult.h"
|
||||
#include "model/CreateServiceMeshRequest.h"
|
||||
#include "model/CreateServiceMeshResult.h"
|
||||
#include "model/CreateTemplateRequest.h"
|
||||
#include "model/CreateTemplateResult.h"
|
||||
#include "model/CreateTriggerHookRequest.h"
|
||||
#include "model/CreateTriggerHookResult.h"
|
||||
#include "model/DeleteClusterRequest.h"
|
||||
#include "model/DeleteClusterResult.h"
|
||||
#include "model/DeleteClusterNodeRequest.h"
|
||||
#include "model/DeleteClusterNodeResult.h"
|
||||
#include "model/DeleteClusterNodesRequest.h"
|
||||
#include "model/DeleteClusterNodesResult.h"
|
||||
#include "model/DeleteTemplateRequest.h"
|
||||
#include "model/DeleteTemplateResult.h"
|
||||
#include "model/DeleteTriggerHookRequest.h"
|
||||
#include "model/DeleteTriggerHookResult.h"
|
||||
#include "model/DescirbeWorkflowRequest.h"
|
||||
#include "model/DescirbeWorkflowResult.h"
|
||||
#include "model/DescribeAddonsRequest.h"
|
||||
@@ -52,56 +56,64 @@
|
||||
#include "model/DescribeClusterAddonsVersionResult.h"
|
||||
#include "model/DescribeClusterAttachScriptsRequest.h"
|
||||
#include "model/DescribeClusterAttachScriptsResult.h"
|
||||
#include "model/DescribeClusterCertsRequest.h"
|
||||
#include "model/DescribeClusterCertsResult.h"
|
||||
#include "model/DescribeClusterDetailRequest.h"
|
||||
#include "model/DescribeClusterDetailResult.h"
|
||||
#include "model/DescribeClusterEndpointsRequest.h"
|
||||
#include "model/DescribeClusterEndpointsResult.h"
|
||||
#include "model/DescribeClusterLogsRequest.h"
|
||||
#include "model/DescribeClusterLogsResult.h"
|
||||
#include "model/DescribeClusterNodesRequest.h"
|
||||
#include "model/DescribeClusterNodesResult.h"
|
||||
#include "model/DescribeClusterResourcesRequest.h"
|
||||
#include "model/DescribeClusterResourcesResult.h"
|
||||
#include "model/DescribeClusterUserKubeconfigRequest.h"
|
||||
#include "model/DescribeClusterUserKubeconfigResult.h"
|
||||
#include "model/DescribeClusterV2UserKubeconfigRequest.h"
|
||||
#include "model/DescribeClusterV2UserKubeconfigResult.h"
|
||||
#include "model/DescribeClustersRequest.h"
|
||||
#include "model/DescribeClustersResult.h"
|
||||
#include "model/DescribeEdgeClusterAttachScriptsRequest.h"
|
||||
#include "model/DescribeEdgeClusterAttachScriptsResult.h"
|
||||
#include "model/DescribeExternalAgentRequest.h"
|
||||
#include "model/DescribeExternalAgentResult.h"
|
||||
#include "model/DescribeTemplatesRequest.h"
|
||||
#include "model/DescribeTemplatesResult.h"
|
||||
#include "model/DescribeUserQuotaRequest.h"
|
||||
#include "model/DescribeUserQuotaResult.h"
|
||||
#include "model/DescribeWorkflowsRequest.h"
|
||||
#include "model/DescribeWorkflowsResult.h"
|
||||
#include "model/DownloadClusterNodeCertsRequest.h"
|
||||
#include "model/DownloadClusterNodeCertsResult.h"
|
||||
#include "model/GetUpgradeStatusRequest.h"
|
||||
#include "model/GetUpgradeStatusResult.h"
|
||||
#include "model/InstallClusterAddonsRequest.h"
|
||||
#include "model/InstallClusterAddonsResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyClusterRequest.h"
|
||||
#include "model/ModifyClusterResult.h"
|
||||
#include "model/ModifyClusterTagsRequest.h"
|
||||
#include "model/ModifyClusterTagsResult.h"
|
||||
#include "model/PauseClusterUpgradeRequest.h"
|
||||
#include "model/PauseClusterUpgradeResult.h"
|
||||
#include "model/PauseComponentUpgradeRequest.h"
|
||||
#include "model/PauseComponentUpgradeResult.h"
|
||||
#include "model/RemoveClusterNodesRequest.h"
|
||||
#include "model/RemoveClusterNodesResult.h"
|
||||
#include "model/RemoveWorkflowRequest.h"
|
||||
#include "model/RemoveWorkflowResult.h"
|
||||
#include "model/ResetClusterNodeRequest.h"
|
||||
#include "model/ResetClusterNodeResult.h"
|
||||
#include "model/RevokeClusterTokenRequest.h"
|
||||
#include "model/RevokeClusterTokenResult.h"
|
||||
#include "model/ResumeComponentUpgradeRequest.h"
|
||||
#include "model/ResumeComponentUpgradeResult.h"
|
||||
#include "model/ResumeUpgradeClusterRequest.h"
|
||||
#include "model/ResumeUpgradeClusterResult.h"
|
||||
#include "model/ScaleClusterRequest.h"
|
||||
#include "model/ScaleClusterResult.h"
|
||||
#include "model/ScaleOutClusterRequest.h"
|
||||
#include "model/ScaleOutClusterResult.h"
|
||||
#include "model/ServiceMeshAddClusterRequest.h"
|
||||
#include "model/ServiceMeshAddClusterResult.h"
|
||||
#include "model/ServiceMeshApiServerRequest.h"
|
||||
#include "model/ServiceMeshApiServerResult.h"
|
||||
#include "model/ServiceMeshRemoveClusterRequest.h"
|
||||
#include "model/ServiceMeshRemoveClusterResult.h"
|
||||
#include "model/StartWorkflowRequest.h"
|
||||
#include "model/StartWorkflowResult.h"
|
||||
#include "model/UnInstallClusterAddonsRequest.h"
|
||||
#include "model/UnInstallClusterAddonsResult.h"
|
||||
#include "model/UpdateK8sClusterUserConfigExpireRequest.h"
|
||||
#include "model/UpdateK8sClusterUserConfigExpireResult.h"
|
||||
#include "model/UpdateServiceMeshRequest.h"
|
||||
#include "model/UpdateServiceMeshResult.h"
|
||||
#include "model/UpgradeClusterRequest.h"
|
||||
#include "model/UpgradeClusterResult.h"
|
||||
#include "model/UpgradeClusterAddonsRequest.h"
|
||||
#include "model/UpgradeClusterAddonsResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -114,30 +126,36 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AttachInstancesResult> AttachInstancesOutcome;
|
||||
typedef std::future<AttachInstancesOutcome> AttachInstancesOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::AttachInstancesRequest&, const AttachInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelClusterUpgradeResult> CancelClusterUpgradeOutcome;
|
||||
typedef std::future<CancelClusterUpgradeOutcome> CancelClusterUpgradeOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::CancelClusterUpgradeRequest&, const CancelClusterUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelClusterUpgradeAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelComponentUpgradeResult> CancelComponentUpgradeOutcome;
|
||||
typedef std::future<CancelComponentUpgradeOutcome> CancelComponentUpgradeOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::CancelComponentUpgradeRequest&, const CancelComponentUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelComponentUpgradeAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelWorkflowResult> CancelWorkflowOutcome;
|
||||
typedef std::future<CancelWorkflowOutcome> CancelWorkflowOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::CancelWorkflowRequest&, const CancelWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelWorkflowAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckAliyunCSServiceRoleResult> CheckAliyunCSServiceRoleOutcome;
|
||||
typedef std::future<CheckAliyunCSServiceRoleOutcome> CheckAliyunCSServiceRoleOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::CheckAliyunCSServiceRoleRequest&, const CheckAliyunCSServiceRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckAliyunCSServiceRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateClusterResult> CreateClusterOutcome;
|
||||
typedef std::future<CreateClusterOutcome> CreateClusterOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::CreateClusterRequest&, const CreateClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateClusterByResourcesGroupResult> CreateClusterByResourcesGroupOutcome;
|
||||
typedef std::future<CreateClusterByResourcesGroupOutcome> CreateClusterByResourcesGroupOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::CreateClusterByResourcesGroupRequest&, const CreateClusterByResourcesGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterByResourcesGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateServiceMeshResult> CreateServiceMeshOutcome;
|
||||
typedef std::future<CreateServiceMeshOutcome> CreateServiceMeshOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::CreateServiceMeshRequest&, const CreateServiceMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceMeshAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTemplateResult> CreateTemplateOutcome;
|
||||
typedef std::future<CreateTemplateOutcome> CreateTemplateOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::CreateTemplateRequest&, const CreateTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTriggerHookResult> CreateTriggerHookOutcome;
|
||||
typedef std::future<CreateTriggerHookOutcome> CreateTriggerHookOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::CreateTriggerHookRequest&, const CreateTriggerHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTriggerHookAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteClusterResult> DeleteClusterOutcome;
|
||||
typedef std::future<DeleteClusterOutcome> DeleteClusterOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DeleteClusterRequest&, const DeleteClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteClusterNodeResult> DeleteClusterNodeOutcome;
|
||||
typedef std::future<DeleteClusterNodeOutcome> DeleteClusterNodeOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DeleteClusterNodeRequest&, const DeleteClusterNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClusterNodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteClusterNodesResult> DeleteClusterNodesOutcome;
|
||||
typedef std::future<DeleteClusterNodesOutcome> DeleteClusterNodesOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DeleteClusterNodesRequest&, const DeleteClusterNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClusterNodesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTemplateResult> DeleteTemplateOutcome;
|
||||
typedef std::future<DeleteTemplateOutcome> DeleteTemplateOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DeleteTemplateRequest&, const DeleteTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTriggerHookResult> DeleteTriggerHookOutcome;
|
||||
typedef std::future<DeleteTriggerHookOutcome> DeleteTriggerHookOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DeleteTriggerHookRequest&, const DeleteTriggerHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTriggerHookAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescirbeWorkflowResult> DescirbeWorkflowOutcome;
|
||||
typedef std::future<DescirbeWorkflowOutcome> DescirbeWorkflowOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescirbeWorkflowRequest&, const DescirbeWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescirbeWorkflowAsyncHandler;
|
||||
@@ -156,21 +174,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeClusterAttachScriptsResult> DescribeClusterAttachScriptsOutcome;
|
||||
typedef std::future<DescribeClusterAttachScriptsOutcome> DescribeClusterAttachScriptsOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeClusterAttachScriptsRequest&, const DescribeClusterAttachScriptsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterAttachScriptsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClusterCertsResult> DescribeClusterCertsOutcome;
|
||||
typedef std::future<DescribeClusterCertsOutcome> DescribeClusterCertsOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeClusterCertsRequest&, const DescribeClusterCertsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterCertsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClusterDetailResult> DescribeClusterDetailOutcome;
|
||||
typedef std::future<DescribeClusterDetailOutcome> DescribeClusterDetailOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeClusterDetailRequest&, const DescribeClusterDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClusterEndpointsResult> DescribeClusterEndpointsOutcome;
|
||||
typedef std::future<DescribeClusterEndpointsOutcome> DescribeClusterEndpointsOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeClusterEndpointsRequest&, const DescribeClusterEndpointsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterEndpointsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClusterLogsResult> DescribeClusterLogsOutcome;
|
||||
typedef std::future<DescribeClusterLogsOutcome> DescribeClusterLogsOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeClusterLogsRequest&, const DescribeClusterLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterLogsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClusterNodesResult> DescribeClusterNodesOutcome;
|
||||
typedef std::future<DescribeClusterNodesOutcome> DescribeClusterNodesOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeClusterNodesRequest&, const DescribeClusterNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterNodesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClusterResourcesResult> DescribeClusterResourcesOutcome;
|
||||
typedef std::future<DescribeClusterResourcesOutcome> DescribeClusterResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeClusterResourcesRequest&, const DescribeClusterResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClusterUserKubeconfigResult> DescribeClusterUserKubeconfigOutcome;
|
||||
typedef std::future<DescribeClusterUserKubeconfigOutcome> DescribeClusterUserKubeconfigOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeClusterUserKubeconfigRequest&, const DescribeClusterUserKubeconfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterUserKubeconfigAsyncHandler;
|
||||
@@ -180,45 +195,57 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeClustersResult> DescribeClustersOutcome;
|
||||
typedef std::future<DescribeClustersOutcome> DescribeClustersOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeClustersRequest&, const DescribeClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClustersAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEdgeClusterAttachScriptsResult> DescribeEdgeClusterAttachScriptsOutcome;
|
||||
typedef std::future<DescribeEdgeClusterAttachScriptsOutcome> DescribeEdgeClusterAttachScriptsOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeEdgeClusterAttachScriptsRequest&, const DescribeEdgeClusterAttachScriptsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEdgeClusterAttachScriptsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeExternalAgentResult> DescribeExternalAgentOutcome;
|
||||
typedef std::future<DescribeExternalAgentOutcome> DescribeExternalAgentOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeExternalAgentRequest&, const DescribeExternalAgentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExternalAgentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTemplatesResult> DescribeTemplatesOutcome;
|
||||
typedef std::future<DescribeTemplatesOutcome> DescribeTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeTemplatesRequest&, const DescribeTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserQuotaResult> DescribeUserQuotaOutcome;
|
||||
typedef std::future<DescribeUserQuotaOutcome> DescribeUserQuotaOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeUserQuotaRequest&, const DescribeUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeWorkflowsResult> DescribeWorkflowsOutcome;
|
||||
typedef std::future<DescribeWorkflowsOutcome> DescribeWorkflowsOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DescribeWorkflowsRequest&, const DescribeWorkflowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWorkflowsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DownloadClusterNodeCertsResult> DownloadClusterNodeCertsOutcome;
|
||||
typedef std::future<DownloadClusterNodeCertsOutcome> DownloadClusterNodeCertsOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::DownloadClusterNodeCertsRequest&, const DownloadClusterNodeCertsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadClusterNodeCertsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUpgradeStatusResult> GetUpgradeStatusOutcome;
|
||||
typedef std::future<GetUpgradeStatusOutcome> GetUpgradeStatusOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::GetUpgradeStatusRequest&, const GetUpgradeStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUpgradeStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::InstallClusterAddonsResult> InstallClusterAddonsOutcome;
|
||||
typedef std::future<InstallClusterAddonsOutcome> InstallClusterAddonsOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::InstallClusterAddonsRequest&, const InstallClusterAddonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InstallClusterAddonsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyClusterResult> ModifyClusterOutcome;
|
||||
typedef std::future<ModifyClusterOutcome> ModifyClusterOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ModifyClusterRequest&, const ModifyClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyClusterTagsResult> ModifyClusterTagsOutcome;
|
||||
typedef std::future<ModifyClusterTagsOutcome> ModifyClusterTagsOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ModifyClusterTagsRequest&, const ModifyClusterTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::PauseClusterUpgradeResult> PauseClusterUpgradeOutcome;
|
||||
typedef std::future<PauseClusterUpgradeOutcome> PauseClusterUpgradeOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::PauseClusterUpgradeRequest&, const PauseClusterUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PauseClusterUpgradeAsyncHandler;
|
||||
typedef Outcome<Error, Model::PauseComponentUpgradeResult> PauseComponentUpgradeOutcome;
|
||||
typedef std::future<PauseComponentUpgradeOutcome> PauseComponentUpgradeOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::PauseComponentUpgradeRequest&, const PauseComponentUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PauseComponentUpgradeAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveClusterNodesResult> RemoveClusterNodesOutcome;
|
||||
typedef std::future<RemoveClusterNodesOutcome> RemoveClusterNodesOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::RemoveClusterNodesRequest&, const RemoveClusterNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveClusterNodesAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveWorkflowResult> RemoveWorkflowOutcome;
|
||||
typedef std::future<RemoveWorkflowOutcome> RemoveWorkflowOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::RemoveWorkflowRequest&, const RemoveWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveWorkflowAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetClusterNodeResult> ResetClusterNodeOutcome;
|
||||
typedef std::future<ResetClusterNodeOutcome> ResetClusterNodeOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ResetClusterNodeRequest&, const ResetClusterNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetClusterNodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::RevokeClusterTokenResult> RevokeClusterTokenOutcome;
|
||||
typedef std::future<RevokeClusterTokenOutcome> RevokeClusterTokenOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::RevokeClusterTokenRequest&, const RevokeClusterTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeClusterTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResumeComponentUpgradeResult> ResumeComponentUpgradeOutcome;
|
||||
typedef std::future<ResumeComponentUpgradeOutcome> ResumeComponentUpgradeOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ResumeComponentUpgradeRequest&, const ResumeComponentUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeComponentUpgradeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResumeUpgradeClusterResult> ResumeUpgradeClusterOutcome;
|
||||
typedef std::future<ResumeUpgradeClusterOutcome> ResumeUpgradeClusterOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ResumeUpgradeClusterRequest&, const ResumeUpgradeClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeUpgradeClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::ScaleClusterResult> ScaleClusterOutcome;
|
||||
typedef std::future<ScaleClusterOutcome> ScaleClusterOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ScaleClusterRequest&, const ScaleClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ScaleClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::ScaleOutClusterResult> ScaleOutClusterOutcome;
|
||||
typedef std::future<ScaleOutClusterOutcome> ScaleOutClusterOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ScaleOutClusterRequest&, const ScaleOutClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ScaleOutClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::ServiceMeshAddClusterResult> ServiceMeshAddClusterOutcome;
|
||||
typedef std::future<ServiceMeshAddClusterOutcome> ServiceMeshAddClusterOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ServiceMeshAddClusterRequest&, const ServiceMeshAddClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ServiceMeshAddClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::ServiceMeshApiServerResult> ServiceMeshApiServerOutcome;
|
||||
typedef std::future<ServiceMeshApiServerOutcome> ServiceMeshApiServerOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ServiceMeshApiServerRequest&, const ServiceMeshApiServerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ServiceMeshApiServerAsyncHandler;
|
||||
typedef Outcome<Error, Model::ServiceMeshRemoveClusterResult> ServiceMeshRemoveClusterOutcome;
|
||||
typedef std::future<ServiceMeshRemoveClusterOutcome> ServiceMeshRemoveClusterOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::ServiceMeshRemoveClusterRequest&, const ServiceMeshRemoveClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ServiceMeshRemoveClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartWorkflowResult> StartWorkflowOutcome;
|
||||
typedef std::future<StartWorkflowOutcome> StartWorkflowOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::StartWorkflowRequest&, const StartWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartWorkflowAsyncHandler;
|
||||
@@ -228,9 +255,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateK8sClusterUserConfigExpireResult> UpdateK8sClusterUserConfigExpireOutcome;
|
||||
typedef std::future<UpdateK8sClusterUserConfigExpireOutcome> UpdateK8sClusterUserConfigExpireOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::UpdateK8sClusterUserConfigExpireRequest&, const UpdateK8sClusterUserConfigExpireOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateK8sClusterUserConfigExpireAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateServiceMeshResult> UpdateServiceMeshOutcome;
|
||||
typedef std::future<UpdateServiceMeshOutcome> UpdateServiceMeshOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::UpdateServiceMeshRequest&, const UpdateServiceMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceMeshAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeClusterResult> UpgradeClusterOutcome;
|
||||
typedef std::future<UpgradeClusterOutcome> UpgradeClusterOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::UpgradeClusterRequest&, const UpgradeClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeClusterAddonsResult> UpgradeClusterAddonsOutcome;
|
||||
typedef std::future<UpgradeClusterAddonsOutcome> UpgradeClusterAddonsOutcomeCallable;
|
||||
typedef std::function<void(const CSClient*, const Model::UpgradeClusterAddonsRequest&, const UpgradeClusterAddonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeClusterAddonsAsyncHandler;
|
||||
|
||||
CSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -239,30 +269,36 @@ namespace AlibabaCloud
|
||||
AttachInstancesOutcome attachInstances(const Model::AttachInstancesRequest &request)const;
|
||||
void attachInstancesAsync(const Model::AttachInstancesRequest& request, const AttachInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachInstancesOutcomeCallable attachInstancesCallable(const Model::AttachInstancesRequest& request) const;
|
||||
CancelClusterUpgradeOutcome cancelClusterUpgrade(const Model::CancelClusterUpgradeRequest &request)const;
|
||||
void cancelClusterUpgradeAsync(const Model::CancelClusterUpgradeRequest& request, const CancelClusterUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelClusterUpgradeOutcomeCallable cancelClusterUpgradeCallable(const Model::CancelClusterUpgradeRequest& request) const;
|
||||
CancelComponentUpgradeOutcome cancelComponentUpgrade(const Model::CancelComponentUpgradeRequest &request)const;
|
||||
void cancelComponentUpgradeAsync(const Model::CancelComponentUpgradeRequest& request, const CancelComponentUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelComponentUpgradeOutcomeCallable cancelComponentUpgradeCallable(const Model::CancelComponentUpgradeRequest& request) const;
|
||||
CancelWorkflowOutcome cancelWorkflow(const Model::CancelWorkflowRequest &request)const;
|
||||
void cancelWorkflowAsync(const Model::CancelWorkflowRequest& request, const CancelWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelWorkflowOutcomeCallable cancelWorkflowCallable(const Model::CancelWorkflowRequest& request) const;
|
||||
CheckAliyunCSServiceRoleOutcome checkAliyunCSServiceRole(const Model::CheckAliyunCSServiceRoleRequest &request)const;
|
||||
void checkAliyunCSServiceRoleAsync(const Model::CheckAliyunCSServiceRoleRequest& request, const CheckAliyunCSServiceRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckAliyunCSServiceRoleOutcomeCallable checkAliyunCSServiceRoleCallable(const Model::CheckAliyunCSServiceRoleRequest& request) const;
|
||||
CreateClusterOutcome createCluster(const Model::CreateClusterRequest &request)const;
|
||||
void createClusterAsync(const Model::CreateClusterRequest& request, const CreateClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateClusterOutcomeCallable createClusterCallable(const Model::CreateClusterRequest& request) const;
|
||||
CreateClusterByResourcesGroupOutcome createClusterByResourcesGroup(const Model::CreateClusterByResourcesGroupRequest &request)const;
|
||||
void createClusterByResourcesGroupAsync(const Model::CreateClusterByResourcesGroupRequest& request, const CreateClusterByResourcesGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateClusterByResourcesGroupOutcomeCallable createClusterByResourcesGroupCallable(const Model::CreateClusterByResourcesGroupRequest& request) const;
|
||||
CreateServiceMeshOutcome createServiceMesh(const Model::CreateServiceMeshRequest &request)const;
|
||||
void createServiceMeshAsync(const Model::CreateServiceMeshRequest& request, const CreateServiceMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateServiceMeshOutcomeCallable createServiceMeshCallable(const Model::CreateServiceMeshRequest& request) const;
|
||||
CreateTemplateOutcome createTemplate(const Model::CreateTemplateRequest &request)const;
|
||||
void createTemplateAsync(const Model::CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTemplateOutcomeCallable createTemplateCallable(const Model::CreateTemplateRequest& request) const;
|
||||
CreateTriggerHookOutcome createTriggerHook(const Model::CreateTriggerHookRequest &request)const;
|
||||
void createTriggerHookAsync(const Model::CreateTriggerHookRequest& request, const CreateTriggerHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTriggerHookOutcomeCallable createTriggerHookCallable(const Model::CreateTriggerHookRequest& request) const;
|
||||
DeleteClusterOutcome deleteCluster(const Model::DeleteClusterRequest &request)const;
|
||||
void deleteClusterAsync(const Model::DeleteClusterRequest& request, const DeleteClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteClusterOutcomeCallable deleteClusterCallable(const Model::DeleteClusterRequest& request) const;
|
||||
DeleteClusterNodeOutcome deleteClusterNode(const Model::DeleteClusterNodeRequest &request)const;
|
||||
void deleteClusterNodeAsync(const Model::DeleteClusterNodeRequest& request, const DeleteClusterNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteClusterNodeOutcomeCallable deleteClusterNodeCallable(const Model::DeleteClusterNodeRequest& request) const;
|
||||
DeleteClusterNodesOutcome deleteClusterNodes(const Model::DeleteClusterNodesRequest &request)const;
|
||||
void deleteClusterNodesAsync(const Model::DeleteClusterNodesRequest& request, const DeleteClusterNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteClusterNodesOutcomeCallable deleteClusterNodesCallable(const Model::DeleteClusterNodesRequest& request) const;
|
||||
DeleteTemplateOutcome deleteTemplate(const Model::DeleteTemplateRequest &request)const;
|
||||
void deleteTemplateAsync(const Model::DeleteTemplateRequest& request, const DeleteTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTemplateOutcomeCallable deleteTemplateCallable(const Model::DeleteTemplateRequest& request) const;
|
||||
DeleteTriggerHookOutcome deleteTriggerHook(const Model::DeleteTriggerHookRequest &request)const;
|
||||
void deleteTriggerHookAsync(const Model::DeleteTriggerHookRequest& request, const DeleteTriggerHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTriggerHookOutcomeCallable deleteTriggerHookCallable(const Model::DeleteTriggerHookRequest& request) const;
|
||||
DescirbeWorkflowOutcome descirbeWorkflow(const Model::DescirbeWorkflowRequest &request)const;
|
||||
void descirbeWorkflowAsync(const Model::DescirbeWorkflowRequest& request, const DescirbeWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescirbeWorkflowOutcomeCallable descirbeWorkflowCallable(const Model::DescirbeWorkflowRequest& request) const;
|
||||
@@ -281,21 +317,18 @@ namespace AlibabaCloud
|
||||
DescribeClusterAttachScriptsOutcome describeClusterAttachScripts(const Model::DescribeClusterAttachScriptsRequest &request)const;
|
||||
void describeClusterAttachScriptsAsync(const Model::DescribeClusterAttachScriptsRequest& request, const DescribeClusterAttachScriptsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterAttachScriptsOutcomeCallable describeClusterAttachScriptsCallable(const Model::DescribeClusterAttachScriptsRequest& request) const;
|
||||
DescribeClusterCertsOutcome describeClusterCerts(const Model::DescribeClusterCertsRequest &request)const;
|
||||
void describeClusterCertsAsync(const Model::DescribeClusterCertsRequest& request, const DescribeClusterCertsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterCertsOutcomeCallable describeClusterCertsCallable(const Model::DescribeClusterCertsRequest& request) const;
|
||||
DescribeClusterDetailOutcome describeClusterDetail(const Model::DescribeClusterDetailRequest &request)const;
|
||||
void describeClusterDetailAsync(const Model::DescribeClusterDetailRequest& request, const DescribeClusterDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterDetailOutcomeCallable describeClusterDetailCallable(const Model::DescribeClusterDetailRequest& request) const;
|
||||
DescribeClusterEndpointsOutcome describeClusterEndpoints(const Model::DescribeClusterEndpointsRequest &request)const;
|
||||
void describeClusterEndpointsAsync(const Model::DescribeClusterEndpointsRequest& request, const DescribeClusterEndpointsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterEndpointsOutcomeCallable describeClusterEndpointsCallable(const Model::DescribeClusterEndpointsRequest& request) const;
|
||||
DescribeClusterLogsOutcome describeClusterLogs(const Model::DescribeClusterLogsRequest &request)const;
|
||||
void describeClusterLogsAsync(const Model::DescribeClusterLogsRequest& request, const DescribeClusterLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterLogsOutcomeCallable describeClusterLogsCallable(const Model::DescribeClusterLogsRequest& request) const;
|
||||
DescribeClusterNodesOutcome describeClusterNodes(const Model::DescribeClusterNodesRequest &request)const;
|
||||
void describeClusterNodesAsync(const Model::DescribeClusterNodesRequest& request, const DescribeClusterNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterNodesOutcomeCallable describeClusterNodesCallable(const Model::DescribeClusterNodesRequest& request) const;
|
||||
DescribeClusterResourcesOutcome describeClusterResources(const Model::DescribeClusterResourcesRequest &request)const;
|
||||
void describeClusterResourcesAsync(const Model::DescribeClusterResourcesRequest& request, const DescribeClusterResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterResourcesOutcomeCallable describeClusterResourcesCallable(const Model::DescribeClusterResourcesRequest& request) const;
|
||||
DescribeClusterUserKubeconfigOutcome describeClusterUserKubeconfig(const Model::DescribeClusterUserKubeconfigRequest &request)const;
|
||||
void describeClusterUserKubeconfigAsync(const Model::DescribeClusterUserKubeconfigRequest& request, const DescribeClusterUserKubeconfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterUserKubeconfigOutcomeCallable describeClusterUserKubeconfigCallable(const Model::DescribeClusterUserKubeconfigRequest& request) const;
|
||||
@@ -305,45 +338,57 @@ namespace AlibabaCloud
|
||||
DescribeClustersOutcome describeClusters(const Model::DescribeClustersRequest &request)const;
|
||||
void describeClustersAsync(const Model::DescribeClustersRequest& request, const DescribeClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClustersOutcomeCallable describeClustersCallable(const Model::DescribeClustersRequest& request) const;
|
||||
DescribeEdgeClusterAttachScriptsOutcome describeEdgeClusterAttachScripts(const Model::DescribeEdgeClusterAttachScriptsRequest &request)const;
|
||||
void describeEdgeClusterAttachScriptsAsync(const Model::DescribeEdgeClusterAttachScriptsRequest& request, const DescribeEdgeClusterAttachScriptsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEdgeClusterAttachScriptsOutcomeCallable describeEdgeClusterAttachScriptsCallable(const Model::DescribeEdgeClusterAttachScriptsRequest& request) const;
|
||||
DescribeExternalAgentOutcome describeExternalAgent(const Model::DescribeExternalAgentRequest &request)const;
|
||||
void describeExternalAgentAsync(const Model::DescribeExternalAgentRequest& request, const DescribeExternalAgentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeExternalAgentOutcomeCallable describeExternalAgentCallable(const Model::DescribeExternalAgentRequest& request) const;
|
||||
DescribeTemplatesOutcome describeTemplates(const Model::DescribeTemplatesRequest &request)const;
|
||||
void describeTemplatesAsync(const Model::DescribeTemplatesRequest& request, const DescribeTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTemplatesOutcomeCallable describeTemplatesCallable(const Model::DescribeTemplatesRequest& request) const;
|
||||
DescribeUserQuotaOutcome describeUserQuota(const Model::DescribeUserQuotaRequest &request)const;
|
||||
void describeUserQuotaAsync(const Model::DescribeUserQuotaRequest& request, const DescribeUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserQuotaOutcomeCallable describeUserQuotaCallable(const Model::DescribeUserQuotaRequest& request) const;
|
||||
DescribeWorkflowsOutcome describeWorkflows(const Model::DescribeWorkflowsRequest &request)const;
|
||||
void describeWorkflowsAsync(const Model::DescribeWorkflowsRequest& request, const DescribeWorkflowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeWorkflowsOutcomeCallable describeWorkflowsCallable(const Model::DescribeWorkflowsRequest& request) const;
|
||||
DownloadClusterNodeCertsOutcome downloadClusterNodeCerts(const Model::DownloadClusterNodeCertsRequest &request)const;
|
||||
void downloadClusterNodeCertsAsync(const Model::DownloadClusterNodeCertsRequest& request, const DownloadClusterNodeCertsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DownloadClusterNodeCertsOutcomeCallable downloadClusterNodeCertsCallable(const Model::DownloadClusterNodeCertsRequest& request) const;
|
||||
GetUpgradeStatusOutcome getUpgradeStatus(const Model::GetUpgradeStatusRequest &request)const;
|
||||
void getUpgradeStatusAsync(const Model::GetUpgradeStatusRequest& request, const GetUpgradeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUpgradeStatusOutcomeCallable getUpgradeStatusCallable(const Model::GetUpgradeStatusRequest& request) const;
|
||||
InstallClusterAddonsOutcome installClusterAddons(const Model::InstallClusterAddonsRequest &request)const;
|
||||
void installClusterAddonsAsync(const Model::InstallClusterAddonsRequest& request, const InstallClusterAddonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InstallClusterAddonsOutcomeCallable installClusterAddonsCallable(const Model::InstallClusterAddonsRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
ModifyClusterOutcome modifyCluster(const Model::ModifyClusterRequest &request)const;
|
||||
void modifyClusterAsync(const Model::ModifyClusterRequest& request, const ModifyClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyClusterOutcomeCallable modifyClusterCallable(const Model::ModifyClusterRequest& request) const;
|
||||
ModifyClusterTagsOutcome modifyClusterTags(const Model::ModifyClusterTagsRequest &request)const;
|
||||
void modifyClusterTagsAsync(const Model::ModifyClusterTagsRequest& request, const ModifyClusterTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyClusterTagsOutcomeCallable modifyClusterTagsCallable(const Model::ModifyClusterTagsRequest& request) const;
|
||||
PauseClusterUpgradeOutcome pauseClusterUpgrade(const Model::PauseClusterUpgradeRequest &request)const;
|
||||
void pauseClusterUpgradeAsync(const Model::PauseClusterUpgradeRequest& request, const PauseClusterUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PauseClusterUpgradeOutcomeCallable pauseClusterUpgradeCallable(const Model::PauseClusterUpgradeRequest& request) const;
|
||||
PauseComponentUpgradeOutcome pauseComponentUpgrade(const Model::PauseComponentUpgradeRequest &request)const;
|
||||
void pauseComponentUpgradeAsync(const Model::PauseComponentUpgradeRequest& request, const PauseComponentUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PauseComponentUpgradeOutcomeCallable pauseComponentUpgradeCallable(const Model::PauseComponentUpgradeRequest& request) const;
|
||||
RemoveClusterNodesOutcome removeClusterNodes(const Model::RemoveClusterNodesRequest &request)const;
|
||||
void removeClusterNodesAsync(const Model::RemoveClusterNodesRequest& request, const RemoveClusterNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveClusterNodesOutcomeCallable removeClusterNodesCallable(const Model::RemoveClusterNodesRequest& request) const;
|
||||
RemoveWorkflowOutcome removeWorkflow(const Model::RemoveWorkflowRequest &request)const;
|
||||
void removeWorkflowAsync(const Model::RemoveWorkflowRequest& request, const RemoveWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveWorkflowOutcomeCallable removeWorkflowCallable(const Model::RemoveWorkflowRequest& request) const;
|
||||
ResetClusterNodeOutcome resetClusterNode(const Model::ResetClusterNodeRequest &request)const;
|
||||
void resetClusterNodeAsync(const Model::ResetClusterNodeRequest& request, const ResetClusterNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetClusterNodeOutcomeCallable resetClusterNodeCallable(const Model::ResetClusterNodeRequest& request) const;
|
||||
RevokeClusterTokenOutcome revokeClusterToken(const Model::RevokeClusterTokenRequest &request)const;
|
||||
void revokeClusterTokenAsync(const Model::RevokeClusterTokenRequest& request, const RevokeClusterTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RevokeClusterTokenOutcomeCallable revokeClusterTokenCallable(const Model::RevokeClusterTokenRequest& request) const;
|
||||
ResumeComponentUpgradeOutcome resumeComponentUpgrade(const Model::ResumeComponentUpgradeRequest &request)const;
|
||||
void resumeComponentUpgradeAsync(const Model::ResumeComponentUpgradeRequest& request, const ResumeComponentUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResumeComponentUpgradeOutcomeCallable resumeComponentUpgradeCallable(const Model::ResumeComponentUpgradeRequest& request) const;
|
||||
ResumeUpgradeClusterOutcome resumeUpgradeCluster(const Model::ResumeUpgradeClusterRequest &request)const;
|
||||
void resumeUpgradeClusterAsync(const Model::ResumeUpgradeClusterRequest& request, const ResumeUpgradeClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResumeUpgradeClusterOutcomeCallable resumeUpgradeClusterCallable(const Model::ResumeUpgradeClusterRequest& request) const;
|
||||
ScaleClusterOutcome scaleCluster(const Model::ScaleClusterRequest &request)const;
|
||||
void scaleClusterAsync(const Model::ScaleClusterRequest& request, const ScaleClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ScaleClusterOutcomeCallable scaleClusterCallable(const Model::ScaleClusterRequest& request) const;
|
||||
ScaleOutClusterOutcome scaleOutCluster(const Model::ScaleOutClusterRequest &request)const;
|
||||
void scaleOutClusterAsync(const Model::ScaleOutClusterRequest& request, const ScaleOutClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ScaleOutClusterOutcomeCallable scaleOutClusterCallable(const Model::ScaleOutClusterRequest& request) const;
|
||||
ServiceMeshAddClusterOutcome serviceMeshAddCluster(const Model::ServiceMeshAddClusterRequest &request)const;
|
||||
void serviceMeshAddClusterAsync(const Model::ServiceMeshAddClusterRequest& request, const ServiceMeshAddClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ServiceMeshAddClusterOutcomeCallable serviceMeshAddClusterCallable(const Model::ServiceMeshAddClusterRequest& request) const;
|
||||
ServiceMeshApiServerOutcome serviceMeshApiServer(const Model::ServiceMeshApiServerRequest &request)const;
|
||||
void serviceMeshApiServerAsync(const Model::ServiceMeshApiServerRequest& request, const ServiceMeshApiServerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ServiceMeshApiServerOutcomeCallable serviceMeshApiServerCallable(const Model::ServiceMeshApiServerRequest& request) const;
|
||||
ServiceMeshRemoveClusterOutcome serviceMeshRemoveCluster(const Model::ServiceMeshRemoveClusterRequest &request)const;
|
||||
void serviceMeshRemoveClusterAsync(const Model::ServiceMeshRemoveClusterRequest& request, const ServiceMeshRemoveClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ServiceMeshRemoveClusterOutcomeCallable serviceMeshRemoveClusterCallable(const Model::ServiceMeshRemoveClusterRequest& request) const;
|
||||
StartWorkflowOutcome startWorkflow(const Model::StartWorkflowRequest &request)const;
|
||||
void startWorkflowAsync(const Model::StartWorkflowRequest& request, const StartWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartWorkflowOutcomeCallable startWorkflowCallable(const Model::StartWorkflowRequest& request) const;
|
||||
@@ -353,9 +398,12 @@ namespace AlibabaCloud
|
||||
UpdateK8sClusterUserConfigExpireOutcome updateK8sClusterUserConfigExpire(const Model::UpdateK8sClusterUserConfigExpireRequest &request)const;
|
||||
void updateK8sClusterUserConfigExpireAsync(const Model::UpdateK8sClusterUserConfigExpireRequest& request, const UpdateK8sClusterUserConfigExpireAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateK8sClusterUserConfigExpireOutcomeCallable updateK8sClusterUserConfigExpireCallable(const Model::UpdateK8sClusterUserConfigExpireRequest& request) const;
|
||||
UpdateServiceMeshOutcome updateServiceMesh(const Model::UpdateServiceMeshRequest &request)const;
|
||||
void updateServiceMeshAsync(const Model::UpdateServiceMeshRequest& request, const UpdateServiceMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateServiceMeshOutcomeCallable updateServiceMeshCallable(const Model::UpdateServiceMeshRequest& request) const;
|
||||
UpgradeClusterOutcome upgradeCluster(const Model::UpgradeClusterRequest &request)const;
|
||||
void upgradeClusterAsync(const Model::UpgradeClusterRequest& request, const UpgradeClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeClusterOutcomeCallable upgradeClusterCallable(const Model::UpgradeClusterRequest& request) const;
|
||||
UpgradeClusterAddonsOutcome upgradeClusterAddons(const Model::UpgradeClusterAddonsRequest &request)const;
|
||||
void upgradeClusterAddonsAsync(const Model::UpgradeClusterAddonsRequest& request, const UpgradeClusterAddonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeClusterAddonsOutcomeCallable upgradeClusterAddonsCallable(const Model::UpgradeClusterAddonsRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADEREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeClusterCertsRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT CancelClusterUpgradeRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeClusterCertsRequest();
|
||||
~DescribeClusterCertsRequest();
|
||||
CancelClusterUpgradeRequest();
|
||||
~CancelClusterUpgradeRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
@@ -45,4 +45,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADERESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ServiceMeshApiServerResult : public ServiceResult
|
||||
class ALIBABACLOUD_CS_EXPORT CancelClusterUpgradeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ServiceMeshApiServerResult();
|
||||
explicit ServiceMeshApiServerResult(const std::string &payload);
|
||||
~ServiceMeshApiServerResult();
|
||||
CancelClusterUpgradeResult();
|
||||
explicit CancelClusterUpgradeResult(const std::string &payload);
|
||||
~CancelClusterUpgradeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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_CS_MODEL_CANCELCOMPONENTUPGRADEREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CANCELCOMPONENTUPGRADEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT CancelComponentUpgradeRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelComponentUpgradeRequest();
|
||||
~CancelComponentUpgradeRequest();
|
||||
|
||||
std::string getComponentid()const;
|
||||
void setComponentid(const std::string& componentid);
|
||||
std::string getClusterid()const;
|
||||
void setClusterid(const std::string& clusterid);
|
||||
|
||||
private:
|
||||
std::string componentid_;
|
||||
std::string clusterid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CANCELCOMPONENTUPGRADEREQUEST_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_CS_MODEL_CANCELCOMPONENTUPGRADERESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CANCELCOMPONENTUPGRADERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT CancelComponentUpgradeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelComponentUpgradeResult();
|
||||
explicit CancelComponentUpgradeResult(const std::string &payload);
|
||||
~CancelComponentUpgradeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CANCELCOMPONENTUPGRADERESULT_H_
|
||||
@@ -99,10 +99,10 @@ namespace AlibabaCloud
|
||||
void setWorker_auto_renew_period(int worker_auto_renew_period);
|
||||
int getMaster_auto_renew_period()const;
|
||||
void setMaster_auto_renew_period(int master_auto_renew_period);
|
||||
int getTimeout_mins()const;
|
||||
void setTimeout_mins(int timeout_mins);
|
||||
int getWorker_period()const;
|
||||
void setWorker_period(int worker_period);
|
||||
int getTimeout_mins()const;
|
||||
void setTimeout_mins(int timeout_mins);
|
||||
int getWorker_system_disk_size()const;
|
||||
void setWorker_system_disk_size(int worker_system_disk_size);
|
||||
std::string getOs_type()const;
|
||||
@@ -151,8 +151,8 @@ namespace AlibabaCloud
|
||||
std::string node_cidr_mask_;
|
||||
int worker_auto_renew_period_;
|
||||
int master_auto_renew_period_;
|
||||
int timeout_mins_;
|
||||
int worker_period_;
|
||||
int timeout_mins_;
|
||||
int worker_system_disk_size_;
|
||||
std::string os_type_;
|
||||
std::string cpu_policy_;
|
||||
|
||||
57
cs/include/alibabacloud/cs/model/CreateTemplateRequest.h
Normal file
57
cs/include/alibabacloud/cs/model/CreateTemplateRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_CS_MODEL_CREATETEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CREATETEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT CreateTemplateRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTemplateRequest();
|
||||
~CreateTemplateRequest();
|
||||
|
||||
std::string get_Template()const;
|
||||
void set_Template(const std::string& _template);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getTemplate_type()const;
|
||||
void setTemplate_type(const std::string& template_type);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
|
||||
private:
|
||||
std::string _template_;
|
||||
std::string name_;
|
||||
std::string template_type_;
|
||||
std::string tags_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CREATETEMPLATEREQUEST_H_
|
||||
51
cs/include/alibabacloud/cs/model/CreateTemplateResult.h
Normal file
51
cs/include/alibabacloud/cs/model/CreateTemplateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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_CS_MODEL_CREATETEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CREATETEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT CreateTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateTemplateResult();
|
||||
explicit CreateTemplateResult(const std::string &payload);
|
||||
~CreateTemplateResult();
|
||||
std::string getTemplate_id()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string template_id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CREATETEMPLATERESULT_H_
|
||||
60
cs/include/alibabacloud/cs/model/CreateTriggerHookRequest.h
Normal file
60
cs/include/alibabacloud/cs/model/CreateTriggerHookRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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_CS_MODEL_CREATETRIGGERHOOKREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT CreateTriggerHookRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTriggerHookRequest();
|
||||
~CreateTriggerHookRequest();
|
||||
|
||||
std::string getCluster_id()const;
|
||||
void setCluster_id(const std::string& cluster_id);
|
||||
std::string getProject_id()const;
|
||||
void setProject_id(const std::string& project_id);
|
||||
std::string getTrigger_url()const;
|
||||
void setTrigger_url(const std::string& trigger_url);
|
||||
std::string getRegion_id()const;
|
||||
void setRegion_id(const std::string& region_id);
|
||||
std::string getAction()const;
|
||||
void setAction(const std::string& action);
|
||||
|
||||
private:
|
||||
std::string cluster_id_;
|
||||
std::string project_id_;
|
||||
std::string trigger_url_;
|
||||
std::string region_id_;
|
||||
std::string action_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT CreateServiceMeshResult : public ServiceResult
|
||||
class ALIBABACLOUD_CS_EXPORT CreateTriggerHookResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateServiceMeshResult();
|
||||
explicit CreateServiceMeshResult(const std::string &payload);
|
||||
~CreateServiceMeshResult();
|
||||
CreateTriggerHookResult();
|
||||
explicit CreateTriggerHookResult(const std::string &payload);
|
||||
~CreateTriggerHookResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DELETETEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DELETETEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,21 +28,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT RevokeClusterTokenRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT DeleteTemplateRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RevokeClusterTokenRequest();
|
||||
~RevokeClusterTokenRequest();
|
||||
DeleteTemplateRequest();
|
||||
~DeleteTemplateRequest();
|
||||
|
||||
std::string getToken()const;
|
||||
void setToken(const std::string& token);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
|
||||
private:
|
||||
std::string token_;
|
||||
std::string templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DELETETEMPLATEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DELETETEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DELETETEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT UpdateServiceMeshResult : public ServiceResult
|
||||
class ALIBABACLOUD_CS_EXPORT DeleteTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateServiceMeshResult();
|
||||
explicit UpdateServiceMeshResult(const std::string &payload);
|
||||
~UpdateServiceMeshResult();
|
||||
DeleteTemplateResult();
|
||||
explicit DeleteTemplateResult(const std::string &payload);
|
||||
~DeleteTemplateResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DELETETEMPLATERESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT CreateServiceMeshRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT DeleteTriggerHookRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateServiceMeshRequest();
|
||||
~CreateServiceMeshRequest();
|
||||
DeleteTriggerHookRequest();
|
||||
~DeleteTriggerHookRequest();
|
||||
|
||||
|
||||
private:
|
||||
@@ -42,4 +42,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODERESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT DeleteClusterNodeResult : public ServiceResult
|
||||
class ALIBABACLOUD_CS_EXPORT DeleteTriggerHookResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteClusterNodeResult();
|
||||
explicit DeleteClusterNodeResult(const std::string &payload);
|
||||
~DeleteClusterNodeResult();
|
||||
DeleteTriggerHookResult();
|
||||
explicit DeleteTriggerHookResult(const std::string &payload);
|
||||
~DeleteTriggerHookResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKRESULT_H_
|
||||
@@ -35,10 +35,13 @@ namespace AlibabaCloud
|
||||
DescribeAddonsRequest();
|
||||
~DescribeAddonsRequest();
|
||||
|
||||
std::string getCluster_type()const;
|
||||
void setCluster_type(const std::string& cluster_type);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string cluster_type_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,10 +37,18 @@ namespace AlibabaCloud
|
||||
DescribeApiVersionResult();
|
||||
explicit DescribeApiVersionResult(const std::string &payload);
|
||||
~DescribeApiVersionResult();
|
||||
std::string getDocker_version()const;
|
||||
std::string getVersion()const;
|
||||
std::string getBuild()const;
|
||||
std::string getDocker_region_versions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string docker_version_;
|
||||
std::string version_;
|
||||
std::string build_;
|
||||
std::string docker_region_versions_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,40 +32,29 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeClusterAddonUpgradeStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ComponentId
|
||||
struct Addon_info
|
||||
{
|
||||
struct Addon_info
|
||||
{
|
||||
std::string message;
|
||||
std::string version;
|
||||
std::string ready_to_upgrade;
|
||||
std::string component_name;
|
||||
std::string yaml;
|
||||
};
|
||||
struct Tasks
|
||||
{
|
||||
std::string status;
|
||||
std::string master_url;
|
||||
std::string finished_at;
|
||||
std::string created_at;
|
||||
};
|
||||
Tasks tasks;
|
||||
std::string _template;
|
||||
bool can_upgrade;
|
||||
Addon_info addon_info;
|
||||
std::string changed;
|
||||
std::string category;
|
||||
std::string message;
|
||||
std::string version;
|
||||
std::string component_name;
|
||||
std::string yaml;
|
||||
};
|
||||
|
||||
|
||||
DescribeClusterAddonUpgradeStatusResult();
|
||||
explicit DescribeClusterAddonUpgradeStatusResult(const std::string &payload);
|
||||
~DescribeClusterAddonUpgradeStatusResult();
|
||||
ComponentId getComponentId()const;
|
||||
std::string get_Template()const;
|
||||
bool getCan_upgrade()const;
|
||||
Addon_info getAddon_info()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ComponentId componentId_;
|
||||
std::string _template_;
|
||||
bool can_upgrade_;
|
||||
Addon_info addon_info_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,32 +37,24 @@ namespace AlibabaCloud
|
||||
DescribeClusterAddonsVersionResult();
|
||||
explicit DescribeClusterAddonsVersionResult(const std::string &payload);
|
||||
~DescribeClusterAddonsVersionResult();
|
||||
std::string getPolicy()const;
|
||||
std::string getNext_version()const;
|
||||
std::string get_Template()const;
|
||||
bool getCan_upgrade()const;
|
||||
bool getExist()const;
|
||||
std::string getMessage()const;
|
||||
bool getRequired()const;
|
||||
std::string getVersion()const;
|
||||
bool getForce()const;
|
||||
std::string getReady_to_upgrade()const;
|
||||
std::string getChanged()const;
|
||||
std::string getComponent_name()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string policy_;
|
||||
std::string next_version_;
|
||||
std::string _template_;
|
||||
bool can_upgrade_;
|
||||
bool exist_;
|
||||
std::string message_;
|
||||
bool required_;
|
||||
std::string version_;
|
||||
bool force_;
|
||||
std::string ready_to_upgrade_;
|
||||
std::string changed_;
|
||||
std::string component_name_;
|
||||
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeClusterAttachScriptsRequest();
|
||||
~DescribeClusterAttachScriptsRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,15 +32,68 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeClusterDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TagsItem
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
|
||||
DescribeClusterDetailResult();
|
||||
explicit DescribeClusterDetailResult(const std::string &payload);
|
||||
~DescribeClusterDetailResult();
|
||||
std::string getCluster_type()const;
|
||||
std::string getResource_group_id()const;
|
||||
std::string getData_disk_category()const;
|
||||
std::string getDocker_version()const;
|
||||
std::string getCluster_id()const;
|
||||
std::string getExternal_loadbalancer_id()const;
|
||||
std::string getUpdated()const;
|
||||
std::string getRegion_id()const;
|
||||
std::string getSize()const;
|
||||
std::string getVpc_id()const;
|
||||
std::string getVswitch_id()const;
|
||||
std::string getMeta_data()const;
|
||||
bool getDeletion_protection()const;
|
||||
std::string getNetwork_mode()const;
|
||||
std::string getSecurity_group_id()const;
|
||||
std::vector<TagsItem> gettags()const;
|
||||
std::string getName()const;
|
||||
int getData_disk_size()const;
|
||||
std::string getCreated()const;
|
||||
std::string getState()const;
|
||||
std::string getZone_id()const;
|
||||
std::string getVswitch_cidr()const;
|
||||
std::string getCurrent_version()const;
|
||||
std::string getInstance_type()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string cluster_type_;
|
||||
std::string resource_group_id_;
|
||||
std::string data_disk_category_;
|
||||
std::string docker_version_;
|
||||
std::string cluster_id_;
|
||||
std::string external_loadbalancer_id_;
|
||||
std::string updated_;
|
||||
std::string region_id_;
|
||||
std::string size_;
|
||||
std::string vpc_id_;
|
||||
std::string vswitch_id_;
|
||||
std::string meta_data_;
|
||||
bool deletion_protection_;
|
||||
std::string network_mode_;
|
||||
std::string security_group_id_;
|
||||
std::vector<TagsItem> tags_;
|
||||
std::string name_;
|
||||
int data_disk_size_;
|
||||
std::string created_;
|
||||
std::string state_;
|
||||
std::string zone_id_;
|
||||
std::string vswitch_cidr_;
|
||||
std::string current_version_;
|
||||
std::string instance_type_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,10 +37,18 @@ namespace AlibabaCloud
|
||||
DescribeClusterLogsResult();
|
||||
explicit DescribeClusterLogsResult(const std::string &payload);
|
||||
~DescribeClusterLogsResult();
|
||||
std::string getCluster_id()const;
|
||||
std::string getLog_level()const;
|
||||
std::string getCluster_log()const;
|
||||
std::string getCreated()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string cluster_id_;
|
||||
std::string log_level_;
|
||||
std::string cluster_log_;
|
||||
std::string created_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,12 +39,18 @@ namespace AlibabaCloud
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getState()const;
|
||||
void setState(const std::string& state);
|
||||
std::string getNodepool_id()const;
|
||||
void setNodepool_id(const std::string& nodepool_id);
|
||||
std::string getPageNumber()const;
|
||||
void setPageNumber(const std::string& pageNumber);
|
||||
|
||||
private:
|
||||
std::string pageSize_;
|
||||
std::string clusterId_;
|
||||
std::string state_;
|
||||
std::string nodepool_id_;
|
||||
std::string pageNumber_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,15 +32,47 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeClusterNodesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Page
|
||||
{
|
||||
int page_size;
|
||||
int page_number;
|
||||
int total_count;
|
||||
};
|
||||
struct Node
|
||||
{
|
||||
std::string instance_name;
|
||||
std::string error_message;
|
||||
std::string creation_time;
|
||||
std::string image_id;
|
||||
std::string instance_status;
|
||||
std::string instance_type_family;
|
||||
std::string host_name;
|
||||
std::string source;
|
||||
std::string instance_charge_type;
|
||||
std::vector<std::string> ip_address;
|
||||
std::string state;
|
||||
std::string instance_role;
|
||||
std::string nodepool_id;
|
||||
std::string node_status;
|
||||
std::string instance_id;
|
||||
std::string node_name;
|
||||
std::string instance_type;
|
||||
std::string expired_time;
|
||||
bool is_aliyun_node;
|
||||
};
|
||||
|
||||
|
||||
DescribeClusterNodesResult();
|
||||
explicit DescribeClusterNodesResult(const std::string &payload);
|
||||
~DescribeClusterNodesResult();
|
||||
std::vector<Node> getnodes()const;
|
||||
Page getPage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Node> nodes_;
|
||||
Page page_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERENDPOINTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERENDPOINTSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeClusterEndpointsRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeClusterResourcesRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeClusterEndpointsRequest();
|
||||
~DescribeClusterEndpointsRequest();
|
||||
DescribeClusterResourcesRequest();
|
||||
~DescribeClusterResourcesRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
@@ -45,4 +45,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERENDPOINTSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_SERVICEMESHREMOVECLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHREMOVECLUSTERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,21 +29,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ServiceMeshRemoveClusterResult : public ServiceResult
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeClusterResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResourcesItem
|
||||
{
|
||||
std::string resource_info;
|
||||
std::string state;
|
||||
std::string resource_type;
|
||||
std::string instance_id;
|
||||
};
|
||||
|
||||
|
||||
ServiceMeshRemoveClusterResult();
|
||||
explicit ServiceMeshRemoveClusterResult(const std::string &payload);
|
||||
~ServiceMeshRemoveClusterResult();
|
||||
DescribeClusterResourcesResult();
|
||||
explicit DescribeClusterResourcesResult(const std::string &payload);
|
||||
~DescribeClusterResourcesResult();
|
||||
std::vector<ResourcesItem> getresources()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ResourcesItem> resources_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHREMOVECLUSTERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESRESULT_H_
|
||||
@@ -32,43 +32,49 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeClustersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ClusterDetail
|
||||
{
|
||||
struct TagsItem
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string cluster_type;
|
||||
std::string resource_group_id;
|
||||
std::string data_disk_category;
|
||||
std::string docker_version;
|
||||
std::string cluster_id;
|
||||
std::string external_loadbalancer_id;
|
||||
std::string updated;
|
||||
std::string region_id;
|
||||
std::string size;
|
||||
std::string vpc_id;
|
||||
std::string vswitch_id;
|
||||
std::string meta_data;
|
||||
bool deletion_protection;
|
||||
std::string network_mode;
|
||||
std::string security_group_id;
|
||||
std::vector<ClusterDetail::TagsItem> tags;
|
||||
std::string name;
|
||||
int data_disk_size;
|
||||
std::string created;
|
||||
std::string state;
|
||||
std::string zone_id;
|
||||
std::string vswitch_cidr;
|
||||
std::string master_url;
|
||||
std::string current_version;
|
||||
};
|
||||
|
||||
|
||||
DescribeClustersResult();
|
||||
explicit DescribeClustersResult(const std::string &payload);
|
||||
~DescribeClustersResult();
|
||||
std::string getCluster_id()const;
|
||||
std::string getExternal_loadbalancer_id()const;
|
||||
std::string getUpdated()const;
|
||||
std::string getRegion_id()const;
|
||||
std::string getSize()const;
|
||||
std::string getVpc_id()const;
|
||||
std::string getNetwork_mode()const;
|
||||
std::string getSecurity_group_id()const;
|
||||
std::string getCreated()const;
|
||||
std::string getName()const;
|
||||
std::string getAgent_version()const;
|
||||
std::string getState()const;
|
||||
std::string getVpc_id1()const;
|
||||
std::string getMaster_url()const;
|
||||
std::vector<ClusterDetail> getclusters()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string cluster_id_;
|
||||
std::string external_loadbalancer_id_;
|
||||
std::string updated_;
|
||||
std::string region_id_;
|
||||
std::string size_;
|
||||
std::string vpc_id_;
|
||||
std::string network_mode_;
|
||||
std::string security_group_id_;
|
||||
std::string created_;
|
||||
std::string name_;
|
||||
std::string agent_version_;
|
||||
std::string state_;
|
||||
std::string vpc_id1_;
|
||||
std::string master_url_;
|
||||
std::vector<ClusterDetail> clusters_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,21 +28,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ServiceMeshAddClusterRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeExternalAgentRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ServiceMeshAddClusterRequest();
|
||||
~ServiceMeshAddClusterRequest();
|
||||
DescribeExternalAgentRequest();
|
||||
~DescribeExternalAgentRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeEdgeClusterAttachScriptsResult : public ServiceResult
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeExternalAgentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeEdgeClusterAttachScriptsResult();
|
||||
explicit DescribeEdgeClusterAttachScriptsResult(const std::string &payload);
|
||||
~DescribeEdgeClusterAttachScriptsResult();
|
||||
DescribeExternalAgentResult();
|
||||
explicit DescribeExternalAgentResult(const std::string &payload);
|
||||
~DescribeExternalAgentResult();
|
||||
std::string getConfig()const;
|
||||
|
||||
protected:
|
||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,21 +28,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT UpdateServiceMeshRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeTemplatesRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateServiceMeshRequest();
|
||||
~UpdateServiceMeshRequest();
|
||||
DescribeTemplatesRequest();
|
||||
~DescribeTemplatesRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
std::string getTemplate_type()const;
|
||||
void setTemplate_type(const std::string& template_type);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
std::string template_type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESREQUEST_H_
|
||||
61
cs/include/alibabacloud/cs/model/DescribeTemplatesResult.h
Normal file
61
cs/include/alibabacloud/cs/model/DescribeTemplatesResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_CS_MODEL_DESCRIBETEMPLATESRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeTemplatesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeTemplatesResult();
|
||||
explicit DescribeTemplatesResult(const std::string &payload);
|
||||
~DescribeTemplatesResult();
|
||||
std::string get_Template()const;
|
||||
std::string getDescription()const;
|
||||
std::string getAcl()const;
|
||||
std::string getTemplate_type()const;
|
||||
std::string getTags()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string _template_;
|
||||
std::string description_;
|
||||
std::string acl_;
|
||||
std::string template_type_;
|
||||
std::string tags_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_CHECKALIYUNCSSERVICEROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CHECKALIYUNCSSERVICEROLEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEUSERQUOTAREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBEUSERQUOTAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT CheckAliyunCSServiceRoleRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeUserQuotaRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckAliyunCSServiceRoleRequest();
|
||||
~CheckAliyunCSServiceRoleRequest();
|
||||
DescribeUserQuotaRequest();
|
||||
~DescribeUserQuotaRequest();
|
||||
|
||||
|
||||
private:
|
||||
@@ -42,4 +42,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CHECKALIYUNCSSERVICEROLEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEUSERQUOTAREQUEST_H_
|
||||
57
cs/include/alibabacloud/cs/model/DescribeUserQuotaResult.h
Normal file
57
cs/include/alibabacloud/cs/model/DescribeUserQuotaResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_CS_MODEL_DESCRIBEUSERQUOTARESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBEUSERQUOTARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeUserQuotaResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeUserQuotaResult();
|
||||
explicit DescribeUserQuotaResult(const std::string &payload);
|
||||
~DescribeUserQuotaResult();
|
||||
int getNode_quota()const;
|
||||
int getAmk_cluster_quota()const;
|
||||
int getCluster_quota()const;
|
||||
int getAsk_cluster_quota()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int node_quota_;
|
||||
int amk_cluster_quota_;
|
||||
int cluster_quota_;
|
||||
int ask_cluster_quota_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEUSERQUOTARESULT_H_
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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_CS_MODEL_DOWNLOADCLUSTERNODECERTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DOWNLOADCLUSTERNODECERTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT DownloadClusterNodeCertsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DownloadClusterNodeCertsRequest();
|
||||
~DownloadClusterNodeCertsRequest();
|
||||
|
||||
std::string getNodeId()const;
|
||||
void setNodeId(const std::string& nodeId);
|
||||
std::string getToken()const;
|
||||
void setToken(const std::string& token);
|
||||
|
||||
private:
|
||||
std::string nodeId_;
|
||||
std::string token_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DOWNLOADCLUSTERNODECERTSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODEREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_GETUPGRADESTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_GETUPGRADESTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,24 +28,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ResetClusterNodeRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT GetUpgradeStatusRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResetClusterNodeRequest();
|
||||
~ResetClusterNodeRequest();
|
||||
GetUpgradeStatusRequest();
|
||||
~GetUpgradeStatusRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_GETUPGRADESTATUSREQUEST_H_
|
||||
57
cs/include/alibabacloud/cs/model/GetUpgradeStatusResult.h
Normal file
57
cs/include/alibabacloud/cs/model/GetUpgradeStatusResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_CS_MODEL_GETUPGRADESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_GETUPGRADESTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT GetUpgradeStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetUpgradeStatusResult();
|
||||
explicit GetUpgradeStatusResult(const std::string &payload);
|
||||
~GetUpgradeStatusResult();
|
||||
std::string getStatus()const;
|
||||
std::string getError_message()const;
|
||||
std::string getPrecheck_report_id()const;
|
||||
std::string getUpgrade_step()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string error_message_;
|
||||
std::string precheck_report_id_;
|
||||
std::string upgrade_step_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_GETUPGRADESTATUSRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODEREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,36 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT DeleteClusterNodeRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT InstallClusterAddonsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteClusterNodeRequest();
|
||||
~DeleteClusterNodeRequest();
|
||||
InstallClusterAddonsRequest();
|
||||
~InstallClusterAddonsRequest();
|
||||
|
||||
std::string getReleaseInstance()const;
|
||||
void setReleaseInstance(const std::string& releaseInstance);
|
||||
std::string getIp()const;
|
||||
void setIp(const std::string& ip);
|
||||
std::string getForce()const;
|
||||
void setForce(const std::string& force);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
bool getDisabled()const;
|
||||
void setDisabled(bool disabled);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getConfig()const;
|
||||
void setConfig(const std::string& config);
|
||||
std::string getRequired()const;
|
||||
void setRequired(const std::string& required);
|
||||
|
||||
private:
|
||||
std::string releaseInstance_;
|
||||
std::string ip_;
|
||||
std::string force_;
|
||||
std::string name_;
|
||||
bool disabled_;
|
||||
std::string clusterId_;
|
||||
std::string version_;
|
||||
std::string config_;
|
||||
std::string required_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeClusterCertsResult : public ServiceResult
|
||||
class ALIBABACLOUD_CS_EXPORT InstallClusterAddonsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeClusterCertsResult();
|
||||
explicit DescribeClusterCertsResult(const std::string &payload);
|
||||
~DescribeClusterCertsResult();
|
||||
InstallClusterAddonsResult();
|
||||
explicit InstallClusterAddonsResult(const std::string &payload);
|
||||
~InstallClusterAddonsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSRESULT_H_
|
||||
57
cs/include/alibabacloud/cs/model/ListTagResourcesRequest.h
Normal file
57
cs/include/alibabacloud/cs/model/ListTagResourcesRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_CS_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ListTagResourcesRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListTagResourcesRequest();
|
||||
~ListTagResourcesRequest();
|
||||
|
||||
std::string getResource_type()const;
|
||||
void setResource_type(const std::string& resource_type);
|
||||
std::string getNext_token()const;
|
||||
void setNext_token(const std::string& next_token);
|
||||
std::string getResource_ids()const;
|
||||
void setResource_ids(const std::string& resource_ids);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
|
||||
private:
|
||||
std::string resource_type_;
|
||||
std::string next_token_;
|
||||
std::string resource_ids_;
|
||||
std::string tags_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODERESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ResetClusterNodeResult : public ServiceResult
|
||||
class ALIBABACLOUD_CS_EXPORT ListTagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResetClusterNodeResult();
|
||||
explicit ResetClusterNodeResult(const std::string &payload);
|
||||
~ResetClusterNodeResult();
|
||||
ListTagResourcesResult();
|
||||
explicit ListTagResourcesResult(const std::string &payload);
|
||||
~ListTagResourcesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
@@ -35,11 +35,29 @@ namespace AlibabaCloud
|
||||
ModifyClusterRequest();
|
||||
~ModifyClusterRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
bool getApi_server_eip()const;
|
||||
void setApi_server_eip(bool api_server_eip);
|
||||
std::string getResource_group_id()const;
|
||||
void setResource_group_id(const std::string& resource_group_id);
|
||||
std::string getIngress_domain_rebinding()const;
|
||||
void setIngress_domain_rebinding(const std::string& ingress_domain_rebinding);
|
||||
bool getDeletion_protection()const;
|
||||
void setDeletion_protection(bool deletion_protection);
|
||||
std::string getIngress_loadbalancer_id()const;
|
||||
void setIngress_loadbalancer_id(const std::string& ingress_loadbalancer_id);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getApi_server_eip_id()const;
|
||||
void setApi_server_eip_id(const std::string& api_server_eip_id);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
bool api_server_eip_;
|
||||
std::string resource_group_id_;
|
||||
std::string ingress_domain_rebinding_;
|
||||
bool deletion_protection_;
|
||||
std::string ingress_loadbalancer_id_;
|
||||
std::string clusterId_;
|
||||
std::string api_server_eip_id_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,10 +37,18 @@ namespace AlibabaCloud
|
||||
ModifyClusterResult();
|
||||
explicit ModifyClusterResult(const std::string &payload);
|
||||
~ModifyClusterResult();
|
||||
std::string getRequest_id()const;
|
||||
std::string getCluster_id()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getTask_id()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string request_id_;
|
||||
std::string cluster_id_;
|
||||
std::string instanceId_;
|
||||
std::string task_id_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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_CS_MODEL_PAUSECLUSTERUPGRADEREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_PAUSECLUSTERUPGRADEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT PauseClusterUpgradeRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PauseClusterUpgradeRequest();
|
||||
~PauseClusterUpgradeRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_PAUSECLUSTERUPGRADEREQUEST_H_
|
||||
49
cs/include/alibabacloud/cs/model/PauseClusterUpgradeResult.h
Normal file
49
cs/include/alibabacloud/cs/model/PauseClusterUpgradeResult.h
Normal file
@@ -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_CS_MODEL_PAUSECLUSTERUPGRADERESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_PAUSECLUSTERUPGRADERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT PauseClusterUpgradeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PauseClusterUpgradeResult();
|
||||
explicit PauseClusterUpgradeResult(const std::string &payload);
|
||||
~PauseClusterUpgradeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_PAUSECLUSTERUPGRADERESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_CREATECLUSTERBYRESOURCESGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_CREATECLUSTERBYRESOURCESGROUPREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_PAUSECOMPONENTUPGRADEREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_PAUSECOMPONENTUPGRADEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,21 +28,24 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT CreateClusterByResourcesGroupRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT PauseComponentUpgradeRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateClusterByResourcesGroupRequest();
|
||||
~CreateClusterByResourcesGroupRequest();
|
||||
PauseComponentUpgradeRequest();
|
||||
~PauseComponentUpgradeRequest();
|
||||
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getComponentid()const;
|
||||
void setComponentid(const std::string& componentid);
|
||||
std::string getClusterid()const;
|
||||
void setClusterid(const std::string& clusterid);
|
||||
|
||||
private:
|
||||
std::string resourceGroupId_;
|
||||
std::string componentid_;
|
||||
std::string clusterid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_CREATECLUSTERBYRESOURCESGROUPREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_PAUSECOMPONENTUPGRADEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_PAUSECOMPONENTUPGRADERESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_PAUSECOMPONENTUPGRADERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ServiceMeshAddClusterResult : public ServiceResult
|
||||
class ALIBABACLOUD_CS_EXPORT PauseComponentUpgradeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ServiceMeshAddClusterResult();
|
||||
explicit ServiceMeshAddClusterResult(const std::string &payload);
|
||||
~ServiceMeshAddClusterResult();
|
||||
PauseComponentUpgradeResult();
|
||||
explicit PauseComponentUpgradeResult(const std::string &payload);
|
||||
~PauseComponentUpgradeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_PAUSECOMPONENTUPGRADERESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,24 +28,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT DescribeEdgeClusterAttachScriptsRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT RemoveClusterNodesRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeEdgeClusterAttachScriptsRequest();
|
||||
~DescribeEdgeClusterAttachScriptsRequest();
|
||||
RemoveClusterNodesRequest();
|
||||
~RemoveClusterNodesRequest();
|
||||
|
||||
bool getRelease_node()const;
|
||||
void setRelease_node(bool release_node);
|
||||
bool getDrain_node()const;
|
||||
void setDrain_node(bool drain_node);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getNamePrefix()const;
|
||||
void setNamePrefix(const std::string& namePrefix);
|
||||
|
||||
private:
|
||||
bool release_node_;
|
||||
bool drain_node_;
|
||||
std::string clusterId_;
|
||||
std::string namePrefix_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT RevokeClusterTokenResult : public ServiceResult
|
||||
class ALIBABACLOUD_CS_EXPORT RemoveClusterNodesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RevokeClusterTokenResult();
|
||||
explicit RevokeClusterTokenResult(const std::string &payload);
|
||||
~RevokeClusterTokenResult();
|
||||
RemoveClusterNodesResult();
|
||||
explicit RemoveClusterNodesResult(const std::string &payload);
|
||||
~RemoveClusterNodesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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_CS_MODEL_RESUMECOMPONENTUPGRADEREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_RESUMECOMPONENTUPGRADEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ResumeComponentUpgradeRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResumeComponentUpgradeRequest();
|
||||
~ResumeComponentUpgradeRequest();
|
||||
|
||||
std::string getComponentid()const;
|
||||
void setComponentid(const std::string& componentid);
|
||||
std::string getClusterid()const;
|
||||
void setClusterid(const std::string& clusterid);
|
||||
|
||||
private:
|
||||
std::string componentid_;
|
||||
std::string clusterid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_RESUMECOMPONENTUPGRADEREQUEST_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_CS_MODEL_RESUMECOMPONENTUPGRADERESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_RESUMECOMPONENTUPGRADERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ResumeComponentUpgradeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResumeComponentUpgradeResult();
|
||||
explicit ResumeComponentUpgradeResult(const std::string &payload);
|
||||
~ResumeComponentUpgradeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_RESUMECOMPONENTUPGRADERESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CS_MODEL_RESUMEUPGRADECLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_RESUMEUPGRADECLUSTERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,21 +28,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ServiceMeshApiServerRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CS_EXPORT ResumeUpgradeClusterRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ServiceMeshApiServerRequest();
|
||||
~ServiceMeshApiServerRequest();
|
||||
ResumeUpgradeClusterRequest();
|
||||
~ResumeUpgradeClusterRequest();
|
||||
|
||||
std::string getServiceMeshId()const;
|
||||
void setServiceMeshId(const std::string& serviceMeshId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string serviceMeshId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_RESUMEUPGRADECLUSTERREQUEST_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_CS_MODEL_RESUMEUPGRADECLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_RESUMEUPGRADECLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT ResumeUpgradeClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResumeUpgradeClusterResult();
|
||||
explicit ResumeUpgradeClusterResult(const std::string &payload);
|
||||
~ResumeUpgradeClusterResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_RESUMEUPGRADECLUSTERRESULT_H_
|
||||
@@ -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_CS_MODEL_UPGRADECLUSTERADDONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERADDONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT UpgradeClusterAddonsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradeClusterAddonsRequest();
|
||||
~UpgradeClusterAddonsRequest();
|
||||
|
||||
std::string getComponent_name()const;
|
||||
void setComponent_name(const std::string& component_name);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
|
||||
private:
|
||||
std::string component_name_;
|
||||
std::string clusterId_;
|
||||
std::string version_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERADDONSREQUEST_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_CS_MODEL_UPGRADECLUSTERADDONSRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERADDONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT UpgradeClusterAddonsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpgradeClusterAddonsResult();
|
||||
explicit UpgradeClusterAddonsResult(const std::string &payload);
|
||||
~UpgradeClusterAddonsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERADDONSRESULT_H_
|
||||
51
cs/include/alibabacloud/cs/model/UpgradeClusterRequest.h
Normal file
51
cs/include/alibabacloud/cs/model/UpgradeClusterRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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_CS_MODEL_UPGRADECLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT UpgradeClusterRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradeClusterRequest();
|
||||
~UpgradeClusterRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string version_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERREQUEST_H_
|
||||
49
cs/include/alibabacloud/cs/model/UpgradeClusterResult.h
Normal file
49
cs/include/alibabacloud/cs/model/UpgradeClusterResult.h
Normal file
@@ -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_CS_MODEL_UPGRADECLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cs/CSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CS_EXPORT UpgradeClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpgradeClusterResult();
|
||||
explicit UpgradeClusterResult(const std::string &payload);
|
||||
~UpgradeClusterResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERRESULT_H_
|
||||
File diff suppressed because it is too large
Load Diff
@@ -14,25 +14,28 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterCertsRequest.h>
|
||||
#include <alibabacloud/cs/model/CancelClusterUpgradeRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterCertsRequest;
|
||||
using AlibabaCloud::CS::Model::CancelClusterUpgradeRequest;
|
||||
|
||||
DescribeClusterCertsRequest::DescribeClusterCertsRequest() :
|
||||
CancelClusterUpgradeRequest::CancelClusterUpgradeRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{
|
||||
setResourcePath("/api/v2/clusters/[ClusterId]/upgrade/cancel");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelClusterUpgradeRequest::~CancelClusterUpgradeRequest()
|
||||
{}
|
||||
|
||||
DescribeClusterCertsRequest::~DescribeClusterCertsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterCertsRequest::getClusterId()const
|
||||
std::string CancelClusterUpgradeRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterCertsRequest::setClusterId(const std::string& clusterId)
|
||||
void CancelClusterUpgradeRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/ServiceMeshApiServerResult.h>
|
||||
#include <alibabacloud/cs/model/CancelClusterUpgradeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
ServiceMeshApiServerResult::ServiceMeshApiServerResult() :
|
||||
CancelClusterUpgradeResult::CancelClusterUpgradeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ServiceMeshApiServerResult::ServiceMeshApiServerResult(const std::string &payload) :
|
||||
CancelClusterUpgradeResult::CancelClusterUpgradeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ServiceMeshApiServerResult::~ServiceMeshApiServerResult()
|
||||
CancelClusterUpgradeResult::~CancelClusterUpgradeResult()
|
||||
{}
|
||||
|
||||
void ServiceMeshApiServerResult::parse(const std::string &payload)
|
||||
void CancelClusterUpgradeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
52
cs/src/model/CancelComponentUpgradeRequest.cc
Normal file
52
cs/src/model/CancelComponentUpgradeRequest.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CancelComponentUpgradeRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CancelComponentUpgradeRequest;
|
||||
|
||||
CancelComponentUpgradeRequest::CancelComponentUpgradeRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{
|
||||
setResourcePath("/clusters/[clusterid]/components/[componentid]/cancel");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelComponentUpgradeRequest::~CancelComponentUpgradeRequest()
|
||||
{}
|
||||
|
||||
std::string CancelComponentUpgradeRequest::getComponentid()const
|
||||
{
|
||||
return componentid_;
|
||||
}
|
||||
|
||||
void CancelComponentUpgradeRequest::setComponentid(const std::string& componentid)
|
||||
{
|
||||
componentid_ = componentid;
|
||||
setParameter("Componentid", componentid);
|
||||
}
|
||||
|
||||
std::string CancelComponentUpgradeRequest::getClusterid()const
|
||||
{
|
||||
return clusterid_;
|
||||
}
|
||||
|
||||
void CancelComponentUpgradeRequest::setClusterid(const std::string& clusterid)
|
||||
{
|
||||
clusterid_ = clusterid;
|
||||
setParameter("Clusterid", clusterid);
|
||||
}
|
||||
|
||||
44
cs/src/model/CancelComponentUpgradeResult.cc
Normal file
44
cs/src/model/CancelComponentUpgradeResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CancelComponentUpgradeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
CancelComponentUpgradeResult::CancelComponentUpgradeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CancelComponentUpgradeResult::CancelComponentUpgradeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CancelComponentUpgradeResult::~CancelComponentUpgradeResult()
|
||||
{}
|
||||
|
||||
void CancelComponentUpgradeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateClusterByResourcesGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CreateClusterByResourcesGroupRequest;
|
||||
|
||||
CreateClusterByResourcesGroupRequest::CreateClusterByResourcesGroupRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
CreateClusterByResourcesGroupRequest::~CreateClusterByResourcesGroupRequest()
|
||||
{}
|
||||
|
||||
std::string CreateClusterByResourcesGroupRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateClusterByResourcesGroupRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateClusterByResourcesGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
CreateClusterByResourcesGroupResult::CreateClusterByResourcesGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateClusterByResourcesGroupResult::CreateClusterByResourcesGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateClusterByResourcesGroupResult::~CreateClusterByResourcesGroupResult()
|
||||
{}
|
||||
|
||||
void CreateClusterByResourcesGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -380,17 +380,6 @@ void CreateClusterRequest::setMaster_auto_renew_period(int master_auto_renew_per
|
||||
setBodyParameter("Master_auto_renew_period", std::to_string(master_auto_renew_period));
|
||||
}
|
||||
|
||||
int CreateClusterRequest::getTimeout_mins()const
|
||||
{
|
||||
return timeout_mins_;
|
||||
}
|
||||
|
||||
void CreateClusterRequest::setTimeout_mins(int timeout_mins)
|
||||
{
|
||||
timeout_mins_ = timeout_mins;
|
||||
setBodyParameter("Timeout_mins", std::to_string(timeout_mins));
|
||||
}
|
||||
|
||||
int CreateClusterRequest::getWorker_period()const
|
||||
{
|
||||
return worker_period_;
|
||||
@@ -402,6 +391,17 @@ void CreateClusterRequest::setWorker_period(int worker_period)
|
||||
setBodyParameter("Worker_period", std::to_string(worker_period));
|
||||
}
|
||||
|
||||
int CreateClusterRequest::getTimeout_mins()const
|
||||
{
|
||||
return timeout_mins_;
|
||||
}
|
||||
|
||||
void CreateClusterRequest::setTimeout_mins(int timeout_mins)
|
||||
{
|
||||
timeout_mins_ = timeout_mins;
|
||||
setBodyParameter("Timeout_mins", std::to_string(timeout_mins));
|
||||
}
|
||||
|
||||
int CreateClusterRequest::getWorker_system_disk_size()const
|
||||
{
|
||||
return worker_system_disk_size_;
|
||||
|
||||
74
cs/src/model/CreateTemplateRequest.cc
Normal file
74
cs/src/model/CreateTemplateRequest.cc
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CreateTemplateRequest;
|
||||
|
||||
CreateTemplateRequest::CreateTemplateRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{
|
||||
setResourcePath("/templates");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateTemplateRequest::~CreateTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string CreateTemplateRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setBodyParameter("_Template", _template);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setBodyParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getTemplate_type()const
|
||||
{
|
||||
return template_type_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setTemplate_type(const std::string& template_type)
|
||||
{
|
||||
template_type_ = template_type;
|
||||
setBodyParameter("Template_type", template_type);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void CreateTemplateRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setBodyParameter("Tags", tags);
|
||||
}
|
||||
|
||||
@@ -14,32 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DownloadClusterNodeCertsResult.h>
|
||||
#include <alibabacloud/cs/model/CreateTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DownloadClusterNodeCertsResult::DownloadClusterNodeCertsResult() :
|
||||
CreateTemplateResult::CreateTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DownloadClusterNodeCertsResult::DownloadClusterNodeCertsResult(const std::string &payload) :
|
||||
CreateTemplateResult::CreateTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DownloadClusterNodeCertsResult::~DownloadClusterNodeCertsResult()
|
||||
CreateTemplateResult::~CreateTemplateResult()
|
||||
{}
|
||||
|
||||
void DownloadClusterNodeCertsResult::parse(const std::string &payload)
|
||||
void CreateTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["template_id"].isNull())
|
||||
template_id_ = value["template_id"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateTemplateResult::getTemplate_id()const
|
||||
{
|
||||
return template_id_;
|
||||
}
|
||||
|
||||
85
cs/src/model/CreateTriggerHookRequest.cc
Normal file
85
cs/src/model/CreateTriggerHookRequest.cc
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateTriggerHookRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CreateTriggerHookRequest;
|
||||
|
||||
CreateTriggerHookRequest::CreateTriggerHookRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{
|
||||
setResourcePath("/hook/trigger");
|
||||
setMethod(HttpRequest::Method::Put);
|
||||
}
|
||||
|
||||
CreateTriggerHookRequest::~CreateTriggerHookRequest()
|
||||
{}
|
||||
|
||||
std::string CreateTriggerHookRequest::getCluster_id()const
|
||||
{
|
||||
return cluster_id_;
|
||||
}
|
||||
|
||||
void CreateTriggerHookRequest::setCluster_id(const std::string& cluster_id)
|
||||
{
|
||||
cluster_id_ = cluster_id;
|
||||
setBodyParameter("Cluster_id", cluster_id);
|
||||
}
|
||||
|
||||
std::string CreateTriggerHookRequest::getProject_id()const
|
||||
{
|
||||
return project_id_;
|
||||
}
|
||||
|
||||
void CreateTriggerHookRequest::setProject_id(const std::string& project_id)
|
||||
{
|
||||
project_id_ = project_id;
|
||||
setBodyParameter("Project_id", project_id);
|
||||
}
|
||||
|
||||
std::string CreateTriggerHookRequest::getTrigger_url()const
|
||||
{
|
||||
return trigger_url_;
|
||||
}
|
||||
|
||||
void CreateTriggerHookRequest::setTrigger_url(const std::string& trigger_url)
|
||||
{
|
||||
trigger_url_ = trigger_url;
|
||||
setBodyParameter("Trigger_url", trigger_url);
|
||||
}
|
||||
|
||||
std::string CreateTriggerHookRequest::getRegion_id()const
|
||||
{
|
||||
return region_id_;
|
||||
}
|
||||
|
||||
void CreateTriggerHookRequest::setRegion_id(const std::string& region_id)
|
||||
{
|
||||
region_id_ = region_id;
|
||||
setBodyParameter("Region_id", region_id);
|
||||
}
|
||||
|
||||
std::string CreateTriggerHookRequest::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
void CreateTriggerHookRequest::setAction(const std::string& action)
|
||||
{
|
||||
action_ = action;
|
||||
setBodyParameter("Action", action);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/UpdateServiceMeshResult.h>
|
||||
#include <alibabacloud/cs/model/CreateTriggerHookResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
UpdateServiceMeshResult::UpdateServiceMeshResult() :
|
||||
CreateTriggerHookResult::CreateTriggerHookResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateServiceMeshResult::UpdateServiceMeshResult(const std::string &payload) :
|
||||
CreateTriggerHookResult::CreateTriggerHookResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateServiceMeshResult::~UpdateServiceMeshResult()
|
||||
CreateTriggerHookResult::~CreateTriggerHookResult()
|
||||
{}
|
||||
|
||||
void UpdateServiceMeshResult::parse(const std::string &payload)
|
||||
void CreateTriggerHookResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -1,71 +0,0 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DeleteClusterNodeRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DeleteClusterNodeRequest;
|
||||
|
||||
DeleteClusterNodeRequest::DeleteClusterNodeRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DeleteClusterNodeRequest::~DeleteClusterNodeRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteClusterNodeRequest::getReleaseInstance()const
|
||||
{
|
||||
return releaseInstance_;
|
||||
}
|
||||
|
||||
void DeleteClusterNodeRequest::setReleaseInstance(const std::string& releaseInstance)
|
||||
{
|
||||
releaseInstance_ = releaseInstance;
|
||||
setParameter("ReleaseInstance", releaseInstance);
|
||||
}
|
||||
|
||||
std::string DeleteClusterNodeRequest::getIp()const
|
||||
{
|
||||
return ip_;
|
||||
}
|
||||
|
||||
void DeleteClusterNodeRequest::setIp(const std::string& ip)
|
||||
{
|
||||
ip_ = ip;
|
||||
setParameter("Ip", ip);
|
||||
}
|
||||
|
||||
std::string DeleteClusterNodeRequest::getForce()const
|
||||
{
|
||||
return force_;
|
||||
}
|
||||
|
||||
void DeleteClusterNodeRequest::setForce(const std::string& force)
|
||||
{
|
||||
force_ = force;
|
||||
setParameter("Force", force);
|
||||
}
|
||||
|
||||
std::string DeleteClusterNodeRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DeleteClusterNodeRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
@@ -14,25 +14,28 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/RevokeClusterTokenRequest.h>
|
||||
#include <alibabacloud/cs/model/DeleteTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::RevokeClusterTokenRequest;
|
||||
using AlibabaCloud::CS::Model::DeleteTemplateRequest;
|
||||
|
||||
RevokeClusterTokenRequest::RevokeClusterTokenRequest() :
|
||||
DeleteTemplateRequest::DeleteTemplateRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{
|
||||
setResourcePath("/templates/[TemplateId]");
|
||||
setMethod(HttpRequest::Method::Delete);
|
||||
}
|
||||
|
||||
DeleteTemplateRequest::~DeleteTemplateRequest()
|
||||
{}
|
||||
|
||||
RevokeClusterTokenRequest::~RevokeClusterTokenRequest()
|
||||
{}
|
||||
|
||||
std::string RevokeClusterTokenRequest::getToken()const
|
||||
std::string DeleteTemplateRequest::getTemplateId()const
|
||||
{
|
||||
return token_;
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void RevokeClusterTokenRequest::setToken(const std::string& token)
|
||||
void DeleteTemplateRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
token_ = token;
|
||||
setParameter("Token", token);
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", templateId);
|
||||
}
|
||||
|
||||
@@ -14,31 +14,30 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DeleteClusterNodeResult.h>
|
||||
#include <alibabacloud/cs/model/DeleteTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DeleteClusterNodeResult::DeleteClusterNodeResult() :
|
||||
DeleteTemplateResult::DeleteTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteClusterNodeResult::DeleteClusterNodeResult(const std::string &payload) :
|
||||
DeleteTemplateResult::DeleteTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteClusterNodeResult::~DeleteClusterNodeResult()
|
||||
DeleteTemplateResult::~DeleteTemplateResult()
|
||||
{}
|
||||
|
||||
void DeleteClusterNodeResult::parse(const std::string &payload)
|
||||
void DeleteTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
@@ -14,17 +14,17 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateServiceMeshRequest.h>
|
||||
#include <alibabacloud/cs/model/DeleteTriggerHookRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CreateServiceMeshRequest;
|
||||
using AlibabaCloud::CS::Model::DeleteTriggerHookRequest;
|
||||
|
||||
CreateServiceMeshRequest::CreateServiceMeshRequest() :
|
||||
DeleteTriggerHookRequest::DeleteTriggerHookRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{
|
||||
setResourcePath("/servicemesh");
|
||||
setResourcePath("/api/v2/hook/trigger");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateServiceMeshRequest::~CreateServiceMeshRequest()
|
||||
DeleteTriggerHookRequest::~DeleteTriggerHookRequest()
|
||||
{}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateServiceMeshResult.h>
|
||||
#include <alibabacloud/cs/model/DeleteTriggerHookResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
CreateServiceMeshResult::CreateServiceMeshResult() :
|
||||
DeleteTriggerHookResult::DeleteTriggerHookResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateServiceMeshResult::CreateServiceMeshResult(const std::string &payload) :
|
||||
DeleteTriggerHookResult::DeleteTriggerHookResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateServiceMeshResult::~CreateServiceMeshResult()
|
||||
DeleteTriggerHookResult::~DeleteTriggerHookResult()
|
||||
{}
|
||||
|
||||
void CreateServiceMeshResult::parse(const std::string &payload)
|
||||
void DeleteTriggerHookResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -28,6 +28,17 @@ DescribeAddonsRequest::DescribeAddonsRequest() :
|
||||
DescribeAddonsRequest::~DescribeAddonsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAddonsRequest::getCluster_type()const
|
||||
{
|
||||
return cluster_type_;
|
||||
}
|
||||
|
||||
void DescribeAddonsRequest::setCluster_type(const std::string& cluster_type)
|
||||
{
|
||||
cluster_type_ = cluster_type;
|
||||
setParameter("Cluster_type", cluster_type);
|
||||
}
|
||||
|
||||
std::string DescribeAddonsRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::CS::Model::DescribeApiVersionRequest;
|
||||
|
||||
DescribeApiVersionRequest::DescribeApiVersionRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/version");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeApiVersionRequest::~DescribeApiVersionRequest()
|
||||
{}
|
||||
|
||||
@@ -35,14 +35,38 @@ DescribeApiVersionResult::~DescribeApiVersionResult()
|
||||
|
||||
void DescribeApiVersionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["version"].isNull())
|
||||
version_ = value["version"].asString();
|
||||
if(!value["build"].isNull())
|
||||
build_ = value["build"].asString();
|
||||
if(!value["docker_version"].isNull())
|
||||
docker_version_ = value["docker_version"].asString();
|
||||
if(!value["docker_region_versions"].isNull())
|
||||
docker_region_versions_ = value["docker_region_versions"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeApiVersionResult::getDocker_version()const
|
||||
{
|
||||
return docker_version_;
|
||||
}
|
||||
|
||||
std::string DescribeApiVersionResult::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
std::string DescribeApiVersionResult::getBuild()const
|
||||
{
|
||||
return build_;
|
||||
}
|
||||
|
||||
std::string DescribeApiVersionResult::getDocker_region_versions()const
|
||||
{
|
||||
return docker_region_versions_;
|
||||
}
|
||||
|
||||
|
||||
@@ -39,38 +39,36 @@ void DescribeClusterAddonUpgradeStatusResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto componentIdNode = value["ComponentId"];
|
||||
if(!componentIdNode["template"].isNull())
|
||||
componentId_._template = componentIdNode["template"].asString();
|
||||
if(!componentIdNode["can_upgrade"].isNull())
|
||||
componentId_.can_upgrade = componentIdNode["can_upgrade"].asString() == "true";
|
||||
if(!componentIdNode["changed"].isNull())
|
||||
componentId_.changed = componentIdNode["changed"].asString();
|
||||
auto addon_infoNode = componentIdNode["addon_info"];
|
||||
if(!addon_infoNode["component_name"].isNull())
|
||||
componentId_.addon_info.component_name = addon_infoNode["component_name"].asString();
|
||||
if(!addon_infoNode["ready_to_upgrade"].isNull())
|
||||
componentId_.addon_info.ready_to_upgrade = addon_infoNode["ready_to_upgrade"].asString();
|
||||
auto addon_infoNode = value["addon_info"];
|
||||
if(!addon_infoNode["message"].isNull())
|
||||
componentId_.addon_info.message = addon_infoNode["message"].asString();
|
||||
if(!addon_infoNode["version"].isNull())
|
||||
componentId_.addon_info.version = addon_infoNode["version"].asString();
|
||||
addon_info_.message = addon_infoNode["message"].asString();
|
||||
if(!addon_infoNode["category"].isNull())
|
||||
addon_info_.category = addon_infoNode["category"].asString();
|
||||
if(!addon_infoNode["yaml"].isNull())
|
||||
componentId_.addon_info.yaml = addon_infoNode["yaml"].asString();
|
||||
auto tasksNode = componentIdNode["tasks"];
|
||||
if(!tasksNode["finished_at"].isNull())
|
||||
componentId_.tasks.finished_at = tasksNode["finished_at"].asString();
|
||||
if(!tasksNode["master_url"].isNull())
|
||||
componentId_.tasks.master_url = tasksNode["master_url"].asString();
|
||||
if(!tasksNode["created_at"].isNull())
|
||||
componentId_.tasks.created_at = tasksNode["created_at"].asString();
|
||||
if(!tasksNode["status"].isNull())
|
||||
componentId_.tasks.status = tasksNode["status"].asString();
|
||||
addon_info_.yaml = addon_infoNode["yaml"].asString();
|
||||
if(!addon_infoNode["component_name"].isNull())
|
||||
addon_info_.component_name = addon_infoNode["component_name"].asString();
|
||||
if(!addon_infoNode["version"].isNull())
|
||||
addon_info_.version = addon_infoNode["version"].asString();
|
||||
if(!value["template"].isNull())
|
||||
_template_ = value["template"].asString();
|
||||
if(!value["can_upgrade"].isNull())
|
||||
can_upgrade_ = value["can_upgrade"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
DescribeClusterAddonUpgradeStatusResult::ComponentId DescribeClusterAddonUpgradeStatusResult::getComponentId()const
|
||||
std::string DescribeClusterAddonUpgradeStatusResult::get_Template()const
|
||||
{
|
||||
return componentId_;
|
||||
return _template_;
|
||||
}
|
||||
|
||||
bool DescribeClusterAddonUpgradeStatusResult::getCan_upgrade()const
|
||||
{
|
||||
return can_upgrade_;
|
||||
}
|
||||
|
||||
DescribeClusterAddonUpgradeStatusResult::Addon_info DescribeClusterAddonUpgradeStatusResult::getAddon_info()const
|
||||
{
|
||||
return addon_info_;
|
||||
}
|
||||
|
||||
|
||||
@@ -41,8 +41,6 @@ void DescribeClusterAddonsVersionResult::parse(const std::string &payload)
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["template"].isNull())
|
||||
_template_ = value["template"].asString();
|
||||
if(!value["ready_to_upgrade"].isNull())
|
||||
ready_to_upgrade_ = value["ready_to_upgrade"].asString();
|
||||
if(!value["next_version"].isNull())
|
||||
next_version_ = value["next_version"].asString();
|
||||
if(!value["can_upgrade"].isNull())
|
||||
@@ -55,22 +53,11 @@ void DescribeClusterAddonsVersionResult::parse(const std::string &payload)
|
||||
changed_ = value["changed"].asString();
|
||||
if(!value["message"].isNull())
|
||||
message_ = value["message"].asString();
|
||||
if(!value["policy"].isNull())
|
||||
policy_ = value["policy"].asString();
|
||||
if(!value["force"].isNull())
|
||||
force_ = value["force"].asString() == "true";
|
||||
if(!value["required"].isNull())
|
||||
required_ = value["required"].asString() == "true";
|
||||
if(!value["exist"].isNull())
|
||||
exist_ = value["exist"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeClusterAddonsVersionResult::getPolicy()const
|
||||
{
|
||||
return policy_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterAddonsVersionResult::getNext_version()const
|
||||
{
|
||||
return next_version_;
|
||||
@@ -86,11 +73,6 @@ bool DescribeClusterAddonsVersionResult::getCan_upgrade()const
|
||||
return can_upgrade_;
|
||||
}
|
||||
|
||||
bool DescribeClusterAddonsVersionResult::getExist()const
|
||||
{
|
||||
return exist_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterAddonsVersionResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
@@ -106,16 +88,6 @@ std::string DescribeClusterAddonsVersionResult::getVersion()const
|
||||
return version_;
|
||||
}
|
||||
|
||||
bool DescribeClusterAddonsVersionResult::getForce()const
|
||||
{
|
||||
return force_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterAddonsVersionResult::getReady_to_upgrade()const
|
||||
{
|
||||
return ready_to_upgrade_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterAddonsVersionResult::getChanged()const
|
||||
{
|
||||
return changed_;
|
||||
|
||||
@@ -20,19 +20,22 @@ using AlibabaCloud::CS::Model::DescribeClusterAttachScriptsRequest;
|
||||
|
||||
DescribeClusterAttachScriptsRequest::DescribeClusterAttachScriptsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/clusters/[ClusterId]/attachscript");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeClusterAttachScriptsRequest::~DescribeClusterAttachScriptsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterAttachScriptsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterAttachScriptsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterAttachScriptsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterAttachScriptsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeClusterAttachScriptsResult::~DescribeClusterAttachScriptsResult()
|
||||
|
||||
void DescribeClusterAttachScriptsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterCertsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterCertsResult::DescribeClusterCertsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterCertsResult::DescribeClusterCertsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterCertsResult::~DescribeClusterCertsResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterCertsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::CS::Model::DescribeClusterDetailRequest;
|
||||
|
||||
DescribeClusterDetailRequest::DescribeClusterDetailRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/clusters/[ClusterId]");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeClusterDetailRequest::~DescribeClusterDetailRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string DescribeClusterDetailRequest::getClusterId()const
|
||||
void DescribeClusterDetailRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,14 +35,186 @@ DescribeClusterDetailResult::~DescribeClusterDetailResult()
|
||||
|
||||
void DescribeClusterDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto alltagsNode = value["tags"]["tagsItem"];
|
||||
for (auto valuetagstagsItem : alltagsNode)
|
||||
{
|
||||
TagsItem tagsObject;
|
||||
if(!valuetagstagsItem["key"].isNull())
|
||||
tagsObject.key = valuetagstagsItem["key"].asString();
|
||||
if(!valuetagstagsItem["value"].isNull())
|
||||
tagsObject.value = valuetagstagsItem["value"].asString();
|
||||
tags_.push_back(tagsObject);
|
||||
}
|
||||
if(!value["name"].isNull())
|
||||
name_ = value["name"].asString();
|
||||
if(!value["cluster_id"].isNull())
|
||||
cluster_id_ = value["cluster_id"].asString();
|
||||
if(!value["region_id"].isNull())
|
||||
region_id_ = value["region_id"].asString();
|
||||
if(!value["state"].isNull())
|
||||
state_ = value["state"].asString();
|
||||
if(!value["cluster_type"].isNull())
|
||||
cluster_type_ = value["cluster_type"].asString();
|
||||
if(!value["current_version"].isNull())
|
||||
current_version_ = value["current_version"].asString();
|
||||
if(!value["meta_data"].isNull())
|
||||
meta_data_ = value["meta_data"].asString();
|
||||
if(!value["resource_group_id"].isNull())
|
||||
resource_group_id_ = value["resource_group_id"].asString();
|
||||
if(!value["instance_type"].isNull())
|
||||
instance_type_ = value["instance_type"].asString();
|
||||
if(!value["vpc_id"].isNull())
|
||||
vpc_id_ = value["vpc_id"].asString();
|
||||
if(!value["vswitch_id"].isNull())
|
||||
vswitch_id_ = value["vswitch_id"].asString();
|
||||
if(!value["vswitch_cidr"].isNull())
|
||||
vswitch_cidr_ = value["vswitch_cidr"].asString();
|
||||
if(!value["data_disk_size"].isNull())
|
||||
data_disk_size_ = std::stoi(value["data_disk_size"].asString());
|
||||
if(!value["data_disk_category"].isNull())
|
||||
data_disk_category_ = value["data_disk_category"].asString();
|
||||
if(!value["security_group_id"].isNull())
|
||||
security_group_id_ = value["security_group_id"].asString();
|
||||
if(!value["zone_id"].isNull())
|
||||
zone_id_ = value["zone_id"].asString();
|
||||
if(!value["network_mode"].isNull())
|
||||
network_mode_ = value["network_mode"].asString();
|
||||
if(!value["docker_version"].isNull())
|
||||
docker_version_ = value["docker_version"].asString();
|
||||
if(!value["deletion_protection"].isNull())
|
||||
deletion_protection_ = value["deletion_protection"].asString() == "true";
|
||||
if(!value["external_loadbalancer_id"].isNull())
|
||||
external_loadbalancer_id_ = value["external_loadbalancer_id"].asString();
|
||||
if(!value["created"].isNull())
|
||||
created_ = value["created"].asString();
|
||||
if(!value["updated"].isNull())
|
||||
updated_ = value["updated"].asString();
|
||||
if(!value["size"].isNull())
|
||||
size_ = value["size"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getCluster_type()const
|
||||
{
|
||||
return cluster_type_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getResource_group_id()const
|
||||
{
|
||||
return resource_group_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getData_disk_category()const
|
||||
{
|
||||
return data_disk_category_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getDocker_version()const
|
||||
{
|
||||
return docker_version_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getCluster_id()const
|
||||
{
|
||||
return cluster_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getExternal_loadbalancer_id()const
|
||||
{
|
||||
return external_loadbalancer_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getUpdated()const
|
||||
{
|
||||
return updated_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getRegion_id()const
|
||||
{
|
||||
return region_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getVpc_id()const
|
||||
{
|
||||
return vpc_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getVswitch_id()const
|
||||
{
|
||||
return vswitch_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getMeta_data()const
|
||||
{
|
||||
return meta_data_;
|
||||
}
|
||||
|
||||
bool DescribeClusterDetailResult::getDeletion_protection()const
|
||||
{
|
||||
return deletion_protection_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getNetwork_mode()const
|
||||
{
|
||||
return network_mode_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getSecurity_group_id()const
|
||||
{
|
||||
return security_group_id_;
|
||||
}
|
||||
|
||||
std::vector<DescribeClusterDetailResult::TagsItem> DescribeClusterDetailResult::gettags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
int DescribeClusterDetailResult::getData_disk_size()const
|
||||
{
|
||||
return data_disk_size_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getCreated()const
|
||||
{
|
||||
return created_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getZone_id()const
|
||||
{
|
||||
return zone_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getVswitch_cidr()const
|
||||
{
|
||||
return vswitch_cidr_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getCurrent_version()const
|
||||
{
|
||||
return current_version_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterDetailResult::getInstance_type()const
|
||||
{
|
||||
return instance_type_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterEndpointsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterEndpointsResult::DescribeClusterEndpointsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterEndpointsResult::DescribeClusterEndpointsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterEndpointsResult::~DescribeClusterEndpointsResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterEndpointsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::CS::Model::DescribeClusterLogsRequest;
|
||||
|
||||
DescribeClusterLogsRequest::DescribeClusterLogsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/clusters/[ClusterId]/logs");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeClusterLogsRequest::~DescribeClusterLogsRequest()
|
||||
{}
|
||||
@@ -33,6 +36,6 @@ std::string DescribeClusterLogsRequest::getClusterId()const
|
||||
void DescribeClusterLogsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,14 +35,38 @@ DescribeClusterLogsResult::~DescribeClusterLogsResult()
|
||||
|
||||
void DescribeClusterLogsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["cluster_id"].isNull())
|
||||
cluster_id_ = value["cluster_id"].asString();
|
||||
if(!value["cluster_log"].isNull())
|
||||
cluster_log_ = value["cluster_log"].asString();
|
||||
if(!value["log_level"].isNull())
|
||||
log_level_ = value["log_level"].asString();
|
||||
if(!value["created"].isNull())
|
||||
created_ = value["created"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeClusterLogsResult::getCluster_id()const
|
||||
{
|
||||
return cluster_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterLogsResult::getLog_level()const
|
||||
{
|
||||
return log_level_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterLogsResult::getCluster_log()const
|
||||
{
|
||||
return cluster_log_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterLogsResult::getCreated()const
|
||||
{
|
||||
return created_;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,10 @@ using AlibabaCloud::CS::Model::DescribeClusterNodesRequest;
|
||||
|
||||
DescribeClusterNodesRequest::DescribeClusterNodesRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
{
|
||||
setResourcePath("/clusters/[ClusterId]/nodes");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeClusterNodesRequest::~DescribeClusterNodesRequest()
|
||||
{}
|
||||
@@ -47,6 +50,28 @@ void DescribeClusterNodesRequest::setClusterId(const std::string& clusterId)
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterNodesRequest::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
void DescribeClusterNodesRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string DescribeClusterNodesRequest::getNodepool_id()const
|
||||
{
|
||||
return nodepool_id_;
|
||||
}
|
||||
|
||||
void DescribeClusterNodesRequest::setNodepool_id(const std::string& nodepool_id)
|
||||
{
|
||||
nodepool_id_ = nodepool_id;
|
||||
setParameter("Nodepool_id", nodepool_id);
|
||||
}
|
||||
|
||||
std::string DescribeClusterNodesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
|
||||
@@ -38,8 +38,69 @@ void DescribeClusterNodesResult::parse(const std::string &payload)
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allnodesNode = value["nodes"]["node"];
|
||||
for (auto valuenodesnode : allnodesNode)
|
||||
{
|
||||
Node nodesObject;
|
||||
if(!valuenodesnode["instance_type"].isNull())
|
||||
nodesObject.instance_type = valuenodesnode["instance_type"].asString();
|
||||
if(!valuenodesnode["instance_role"].isNull())
|
||||
nodesObject.instance_role = valuenodesnode["instance_role"].asString();
|
||||
if(!valuenodesnode["expired_time"].isNull())
|
||||
nodesObject.expired_time = valuenodesnode["expired_time"].asString();
|
||||
if(!valuenodesnode["state"].isNull())
|
||||
nodesObject.state = valuenodesnode["state"].asString();
|
||||
if(!valuenodesnode["instance_name"].isNull())
|
||||
nodesObject.instance_name = valuenodesnode["instance_name"].asString();
|
||||
if(!valuenodesnode["is_aliyun_node"].isNull())
|
||||
nodesObject.is_aliyun_node = valuenodesnode["is_aliyun_node"].asString() == "true";
|
||||
if(!valuenodesnode["host_name"].isNull())
|
||||
nodesObject.host_name = valuenodesnode["host_name"].asString();
|
||||
if(!valuenodesnode["image_id"].isNull())
|
||||
nodesObject.image_id = valuenodesnode["image_id"].asString();
|
||||
if(!valuenodesnode["instance_status"].isNull())
|
||||
nodesObject.instance_status = valuenodesnode["instance_status"].asString();
|
||||
if(!valuenodesnode["instance_charge_type"].isNull())
|
||||
nodesObject.instance_charge_type = valuenodesnode["instance_charge_type"].asString();
|
||||
if(!valuenodesnode["source"].isNull())
|
||||
nodesObject.source = valuenodesnode["source"].asString();
|
||||
if(!valuenodesnode["error_message"].isNull())
|
||||
nodesObject.error_message = valuenodesnode["error_message"].asString();
|
||||
if(!valuenodesnode["node_status"].isNull())
|
||||
nodesObject.node_status = valuenodesnode["node_status"].asString();
|
||||
if(!valuenodesnode["creation_time"].isNull())
|
||||
nodesObject.creation_time = valuenodesnode["creation_time"].asString();
|
||||
if(!valuenodesnode["node_name"].isNull())
|
||||
nodesObject.node_name = valuenodesnode["node_name"].asString();
|
||||
if(!valuenodesnode["instance_type_family"].isNull())
|
||||
nodesObject.instance_type_family = valuenodesnode["instance_type_family"].asString();
|
||||
if(!valuenodesnode["nodepool_id"].isNull())
|
||||
nodesObject.nodepool_id = valuenodesnode["nodepool_id"].asString();
|
||||
if(!valuenodesnode["instance_id"].isNull())
|
||||
nodesObject.instance_id = valuenodesnode["instance_id"].asString();
|
||||
auto allIp_address = value["ip_address"]["ip"];
|
||||
for (auto value : allIp_address)
|
||||
nodesObject.ip_address.push_back(value.asString());
|
||||
nodes_.push_back(nodesObject);
|
||||
}
|
||||
auto pageNode = value["page"];
|
||||
if(!pageNode["page_size"].isNull())
|
||||
page_.page_size = std::stoi(pageNode["page_size"].asString());
|
||||
if(!pageNode["page_number"].isNull())
|
||||
page_.page_number = std::stoi(pageNode["page_number"].asString());
|
||||
if(!pageNode["total_count"].isNull())
|
||||
page_.total_count = std::stoi(pageNode["total_count"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeClusterNodesResult::Node> DescribeClusterNodesResult::getnodes()const
|
||||
{
|
||||
return nodes_;
|
||||
}
|
||||
|
||||
DescribeClusterNodesResult::Page DescribeClusterNodesResult::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,34 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/ResetClusterNodeRequest.h>
|
||||
#include <alibabacloud/cs/model/DescribeClusterResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::ResetClusterNodeRequest;
|
||||
using AlibabaCloud::CS::Model::DescribeClusterResourcesRequest;
|
||||
|
||||
ResetClusterNodeRequest::ResetClusterNodeRequest() :
|
||||
DescribeClusterResourcesRequest::DescribeClusterResourcesRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{
|
||||
setResourcePath("/clusters/[ClusterId]/resources");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeClusterResourcesRequest::~DescribeClusterResourcesRequest()
|
||||
{}
|
||||
|
||||
ResetClusterNodeRequest::~ResetClusterNodeRequest()
|
||||
{}
|
||||
|
||||
std::string ResetClusterNodeRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ResetClusterNodeRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ResetClusterNodeRequest::getClusterId()const
|
||||
std::string DescribeClusterResourcesRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ResetClusterNodeRequest::setClusterId(const std::string& clusterId)
|
||||
void DescribeClusterResourcesRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
63
cs/src/model/DescribeClusterResourcesResult.cc
Normal file
63
cs/src/model/DescribeClusterResourcesResult.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterResourcesResult::DescribeClusterResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterResourcesResult::DescribeClusterResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterResourcesResult::~DescribeClusterResourcesResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allresourcesNode = value["resources"]["resourcesItem"];
|
||||
for (auto valueresourcesresourcesItem : allresourcesNode)
|
||||
{
|
||||
ResourcesItem resourcesObject;
|
||||
if(!valueresourcesresourcesItem["instance_id"].isNull())
|
||||
resourcesObject.instance_id = valueresourcesresourcesItem["instance_id"].asString();
|
||||
if(!valueresourcesresourcesItem["resource_type"].isNull())
|
||||
resourcesObject.resource_type = valueresourcesresourcesItem["resource_type"].asString();
|
||||
if(!valueresourcesresourcesItem["resource_info"].isNull())
|
||||
resourcesObject.resource_info = valueresourcesresourcesItem["resource_info"].asString();
|
||||
if(!valueresourcesresourcesItem["state"].isNull())
|
||||
resourcesObject.state = valueresourcesresourcesItem["state"].asString();
|
||||
resources_.push_back(resourcesObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeClusterResourcesResult::ResourcesItem> DescribeClusterResourcesResult::getresources()const
|
||||
{
|
||||
return resources_;
|
||||
}
|
||||
|
||||
@@ -39,104 +39,73 @@ void DescribeClustersResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["agent_version"].isNull())
|
||||
agent_version_ = value["agent_version"].asString();
|
||||
if(!value["cluster_id"].isNull())
|
||||
cluster_id_ = value["cluster_id"].asString();
|
||||
if(!value["created"].isNull())
|
||||
created_ = value["created"].asString();
|
||||
if(!value["external_loadbalancer_id"].isNull())
|
||||
external_loadbalancer_id_ = value["external_loadbalancer_id"].asString();
|
||||
if(!value["master_url"].isNull())
|
||||
master_url_ = value["master_url"].asString();
|
||||
if(!value["name"].isNull())
|
||||
name_ = value["name"].asString();
|
||||
if(!value["network_mode"].isNull())
|
||||
network_mode_ = value["network_mode"].asString();
|
||||
if(!value["region_id"].isNull())
|
||||
region_id_ = value["region_id"].asString();
|
||||
if(!value["security_group_id"].isNull())
|
||||
security_group_id_ = value["security_group_id"].asString();
|
||||
if(!value["size"].isNull())
|
||||
size_ = value["size"].asString();
|
||||
if(!value["state"].isNull())
|
||||
state_ = value["state"].asString();
|
||||
if(!value["updated"].isNull())
|
||||
updated_ = value["updated"].asString();
|
||||
if(!value["vpc_id"].isNull())
|
||||
vpc_id_ = value["vpc_id"].asString();
|
||||
if(!value["vpc_id"].isNull())
|
||||
vpc_id1_ = value["vpc_id"].asString();
|
||||
auto allclustersNode = value["clusters"]["clusterDetail"];
|
||||
for (auto valueclustersclusterDetail : allclustersNode)
|
||||
{
|
||||
ClusterDetail clustersObject;
|
||||
if(!valueclustersclusterDetail["name"].isNull())
|
||||
clustersObject.name = valueclustersclusterDetail["name"].asString();
|
||||
if(!valueclustersclusterDetail["cluster_id"].isNull())
|
||||
clustersObject.cluster_id = valueclustersclusterDetail["cluster_id"].asString();
|
||||
if(!valueclustersclusterDetail["region_id"].isNull())
|
||||
clustersObject.region_id = valueclustersclusterDetail["region_id"].asString();
|
||||
if(!valueclustersclusterDetail["state"].isNull())
|
||||
clustersObject.state = valueclustersclusterDetail["state"].asString();
|
||||
if(!valueclustersclusterDetail["cluster_type"].isNull())
|
||||
clustersObject.cluster_type = valueclustersclusterDetail["cluster_type"].asString();
|
||||
if(!valueclustersclusterDetail["current_version"].isNull())
|
||||
clustersObject.current_version = valueclustersclusterDetail["current_version"].asString();
|
||||
if(!valueclustersclusterDetail["meta_data"].isNull())
|
||||
clustersObject.meta_data = valueclustersclusterDetail["meta_data"].asString();
|
||||
if(!valueclustersclusterDetail["resource_group_id"].isNull())
|
||||
clustersObject.resource_group_id = valueclustersclusterDetail["resource_group_id"].asString();
|
||||
if(!valueclustersclusterDetail["vpc_id"].isNull())
|
||||
clustersObject.vpc_id = valueclustersclusterDetail["vpc_id"].asString();
|
||||
if(!valueclustersclusterDetail["vswitch_id"].isNull())
|
||||
clustersObject.vswitch_id = valueclustersclusterDetail["vswitch_id"].asString();
|
||||
if(!valueclustersclusterDetail["vswitch_cidr"].isNull())
|
||||
clustersObject.vswitch_cidr = valueclustersclusterDetail["vswitch_cidr"].asString();
|
||||
if(!valueclustersclusterDetail["data_disk_size"].isNull())
|
||||
clustersObject.data_disk_size = std::stoi(valueclustersclusterDetail["data_disk_size"].asString());
|
||||
if(!valueclustersclusterDetail["data_disk_category"].isNull())
|
||||
clustersObject.data_disk_category = valueclustersclusterDetail["data_disk_category"].asString();
|
||||
if(!valueclustersclusterDetail["security_group_id"].isNull())
|
||||
clustersObject.security_group_id = valueclustersclusterDetail["security_group_id"].asString();
|
||||
if(!valueclustersclusterDetail["zone_id"].isNull())
|
||||
clustersObject.zone_id = valueclustersclusterDetail["zone_id"].asString();
|
||||
if(!valueclustersclusterDetail["network_mode"].isNull())
|
||||
clustersObject.network_mode = valueclustersclusterDetail["network_mode"].asString();
|
||||
if(!valueclustersclusterDetail["master_url"].isNull())
|
||||
clustersObject.master_url = valueclustersclusterDetail["master_url"].asString();
|
||||
if(!valueclustersclusterDetail["docker_version"].isNull())
|
||||
clustersObject.docker_version = valueclustersclusterDetail["docker_version"].asString();
|
||||
if(!valueclustersclusterDetail["deletion_protection"].isNull())
|
||||
clustersObject.deletion_protection = valueclustersclusterDetail["deletion_protection"].asString() == "true";
|
||||
if(!valueclustersclusterDetail["external_loadbalancer_id"].isNull())
|
||||
clustersObject.external_loadbalancer_id = valueclustersclusterDetail["external_loadbalancer_id"].asString();
|
||||
if(!valueclustersclusterDetail["created"].isNull())
|
||||
clustersObject.created = valueclustersclusterDetail["created"].asString();
|
||||
if(!valueclustersclusterDetail["updated"].isNull())
|
||||
clustersObject.updated = valueclustersclusterDetail["updated"].asString();
|
||||
if(!valueclustersclusterDetail["size"].isNull())
|
||||
clustersObject.size = valueclustersclusterDetail["size"].asString();
|
||||
auto alltagsNode = allclustersNode["tags"]["tagsItem"];
|
||||
for (auto allclustersNodetagstagsItem : alltagsNode)
|
||||
{
|
||||
ClusterDetail::TagsItem tagsObject;
|
||||
if(!allclustersNodetagstagsItem["key"].isNull())
|
||||
tagsObject.key = allclustersNodetagstagsItem["key"].asString();
|
||||
if(!allclustersNodetagstagsItem["value"].isNull())
|
||||
tagsObject.value = allclustersNodetagstagsItem["value"].asString();
|
||||
clustersObject.tags.push_back(tagsObject);
|
||||
}
|
||||
clusters_.push_back(clustersObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getCluster_id()const
|
||||
std::vector<DescribeClustersResult::ClusterDetail> DescribeClustersResult::getclusters()const
|
||||
{
|
||||
return cluster_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getExternal_loadbalancer_id()const
|
||||
{
|
||||
return external_loadbalancer_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getUpdated()const
|
||||
{
|
||||
return updated_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getRegion_id()const
|
||||
{
|
||||
return region_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getVpc_id()const
|
||||
{
|
||||
return vpc_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getNetwork_mode()const
|
||||
{
|
||||
return network_mode_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getSecurity_group_id()const
|
||||
{
|
||||
return security_group_id_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getCreated()const
|
||||
{
|
||||
return created_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getAgent_version()const
|
||||
{
|
||||
return agent_version_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getVpc_id1()const
|
||||
{
|
||||
return vpc_id1_;
|
||||
}
|
||||
|
||||
std::string DescribeClustersResult::getMaster_url()const
|
||||
{
|
||||
return master_url_;
|
||||
return clusters_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeEdgeClusterAttachScriptsRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeEdgeClusterAttachScriptsRequest;
|
||||
|
||||
DescribeEdgeClusterAttachScriptsRequest::DescribeEdgeClusterAttachScriptsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{
|
||||
setResourcePath("/clusters/[ClusterId]/attachscript");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeEdgeClusterAttachScriptsRequest::~DescribeEdgeClusterAttachScriptsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeEdgeClusterAttachScriptsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeEdgeClusterAttachScriptsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeEdgeClusterAttachScriptsRequest::getNamePrefix()const
|
||||
{
|
||||
return namePrefix_;
|
||||
}
|
||||
|
||||
void DescribeEdgeClusterAttachScriptsRequest::setNamePrefix(const std::string& namePrefix)
|
||||
{
|
||||
namePrefix_ = namePrefix;
|
||||
setParameter("NamePrefix", namePrefix);
|
||||
}
|
||||
|
||||
41
cs/src/model/DescribeExternalAgentRequest.cc
Normal file
41
cs/src/model/DescribeExternalAgentRequest.cc
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeExternalAgentRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeExternalAgentRequest;
|
||||
|
||||
DescribeExternalAgentRequest::DescribeExternalAgentRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{
|
||||
setResourcePath("/k8s/[ClusterId]/external/agent/deployment");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeExternalAgentRequest::~DescribeExternalAgentRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeExternalAgentRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeExternalAgentRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeEdgeClusterAttachScriptsResult.h>
|
||||
#include <alibabacloud/cs/model/DescribeExternalAgentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeEdgeClusterAttachScriptsResult::DescribeEdgeClusterAttachScriptsResult() :
|
||||
DescribeExternalAgentResult::DescribeExternalAgentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeEdgeClusterAttachScriptsResult::DescribeEdgeClusterAttachScriptsResult(const std::string &payload) :
|
||||
DescribeExternalAgentResult::DescribeExternalAgentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeEdgeClusterAttachScriptsResult::~DescribeEdgeClusterAttachScriptsResult()
|
||||
DescribeExternalAgentResult::~DescribeExternalAgentResult()
|
||||
{}
|
||||
|
||||
void DescribeEdgeClusterAttachScriptsResult::parse(const std::string &payload)
|
||||
void DescribeExternalAgentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -44,7 +44,7 @@ void DescribeEdgeClusterAttachScriptsResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeEdgeClusterAttachScriptsResult::getConfig()const
|
||||
std::string DescribeExternalAgentResult::getConfig()const
|
||||
{
|
||||
return config_;
|
||||
}
|
||||
@@ -14,28 +14,28 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/UpdateServiceMeshRequest.h>
|
||||
#include <alibabacloud/cs/model/DescribeTemplatesRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::UpdateServiceMeshRequest;
|
||||
using AlibabaCloud::CS::Model::DescribeTemplatesRequest;
|
||||
|
||||
UpdateServiceMeshRequest::UpdateServiceMeshRequest() :
|
||||
DescribeTemplatesRequest::DescribeTemplatesRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{
|
||||
setResourcePath("/servicemesh/[ServiceMeshId]");
|
||||
setMethod(HttpRequest::Method::Put);
|
||||
setResourcePath("/templates");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
UpdateServiceMeshRequest::~UpdateServiceMeshRequest()
|
||||
DescribeTemplatesRequest::~DescribeTemplatesRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateServiceMeshRequest::getServiceMeshId()const
|
||||
std::string DescribeTemplatesRequest::getTemplate_type()const
|
||||
{
|
||||
return serviceMeshId_;
|
||||
return template_type_;
|
||||
}
|
||||
|
||||
void UpdateServiceMeshRequest::setServiceMeshId(const std::string& serviceMeshId)
|
||||
void DescribeTemplatesRequest::setTemplate_type(const std::string& template_type)
|
||||
{
|
||||
serviceMeshId_ = serviceMeshId;
|
||||
setParameter("ServiceMeshId", serviceMeshId);
|
||||
template_type_ = template_type;
|
||||
setParameter("Template_type", template_type);
|
||||
}
|
||||
|
||||
86
cs/src/model/DescribeTemplatesResult.cc
Normal file
86
cs/src/model/DescribeTemplatesResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeTemplatesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeTemplatesResult::DescribeTemplatesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTemplatesResult::DescribeTemplatesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTemplatesResult::~DescribeTemplatesResult()
|
||||
{}
|
||||
|
||||
void DescribeTemplatesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["template"].isNull())
|
||||
_template_ = value["template"].asString();
|
||||
if(!value["acl"].isNull())
|
||||
acl_ = value["acl"].asString();
|
||||
if(!value["name"].isNull())
|
||||
name_ = value["name"].asString();
|
||||
if(!value["tags"].isNull())
|
||||
tags_ = value["tags"].asString();
|
||||
if(!value["template_type"].isNull())
|
||||
template_type_ = value["template_type"].asString();
|
||||
if(!value["description"].isNull())
|
||||
description_ = value["description"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeTemplatesResult::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
std::string DescribeTemplatesResult::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
std::string DescribeTemplatesResult::getAcl()const
|
||||
{
|
||||
return acl_;
|
||||
}
|
||||
|
||||
std::string DescribeTemplatesResult::getTemplate_type()const
|
||||
{
|
||||
return template_type_;
|
||||
}
|
||||
|
||||
std::string DescribeTemplatesResult::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
std::string DescribeTemplatesResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -14,14 +14,17 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CheckAliyunCSServiceRoleRequest.h>
|
||||
#include <alibabacloud/cs/model/DescribeUserQuotaRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CheckAliyunCSServiceRoleRequest;
|
||||
using AlibabaCloud::CS::Model::DescribeUserQuotaRequest;
|
||||
|
||||
CheckAliyunCSServiceRoleRequest::CheckAliyunCSServiceRoleRequest() :
|
||||
DescribeUserQuotaRequest::DescribeUserQuotaRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
CheckAliyunCSServiceRoleRequest::~CheckAliyunCSServiceRoleRequest()
|
||||
{
|
||||
setResourcePath("/quota");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeUserQuotaRequest::~DescribeUserQuotaRequest()
|
||||
{}
|
||||
|
||||
72
cs/src/model/DescribeUserQuotaResult.cc
Normal file
72
cs/src/model/DescribeUserQuotaResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeUserQuotaResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeUserQuotaResult::DescribeUserQuotaResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeUserQuotaResult::DescribeUserQuotaResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeUserQuotaResult::~DescribeUserQuotaResult()
|
||||
{}
|
||||
|
||||
void DescribeUserQuotaResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["cluster_quota"].isNull())
|
||||
cluster_quota_ = std::stoi(value["cluster_quota"].asString());
|
||||
if(!value["node_quota"].isNull())
|
||||
node_quota_ = std::stoi(value["node_quota"].asString());
|
||||
if(!value["ask_cluster_quota"].isNull())
|
||||
ask_cluster_quota_ = std::stoi(value["ask_cluster_quota"].asString());
|
||||
if(!value["amk_cluster_quota"].isNull())
|
||||
amk_cluster_quota_ = std::stoi(value["amk_cluster_quota"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeUserQuotaResult::getNode_quota()const
|
||||
{
|
||||
return node_quota_;
|
||||
}
|
||||
|
||||
int DescribeUserQuotaResult::getAmk_cluster_quota()const
|
||||
{
|
||||
return amk_cluster_quota_;
|
||||
}
|
||||
|
||||
int DescribeUserQuotaResult::getCluster_quota()const
|
||||
{
|
||||
return cluster_quota_;
|
||||
}
|
||||
|
||||
int DescribeUserQuotaResult::getAsk_cluster_quota()const
|
||||
{
|
||||
return ask_cluster_quota_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user