regenerate code

This commit is contained in:
wb-hx510875
2020-03-26 17:27:13 +08:00
committed by Axios
parent cba94f2119
commit f0c2600a26
6249 changed files with 188711 additions and 43443 deletions

View File

@@ -24,20 +24,32 @@
#include "CSExport.h"
#include "model/AttachInstancesRequest.h"
#include "model/AttachInstancesResult.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/DeleteClusterRequest.h"
#include "model/DeleteClusterResult.h"
#include "model/DeleteClusterNodeRequest.h"
#include "model/DeleteClusterNodeResult.h"
#include "model/DeleteClusterNodesRequest.h"
#include "model/DeleteClusterNodesResult.h"
#include "model/DescirbeWorkflowRequest.h"
#include "model/DescirbeWorkflowResult.h"
#include "model/DescribeAddonsRequest.h"
#include "model/DescribeAddonsResult.h"
#include "model/DescribeApiVersionRequest.h"
#include "model/DescribeApiVersionResult.h"
#include "model/DescribeClusterAddonUpgradeStatusRequest.h"
#include "model/DescribeClusterAddonUpgradeStatusResult.h"
#include "model/DescribeClusterAddonsVersionRequest.h"
#include "model/DescribeClusterAddonsVersionResult.h"
#include "model/DescribeClusterAttachScriptsRequest.h"
#include "model/DescribeClusterAttachScriptsResult.h"
#include "model/DescribeClusterCertsRequest.h"
@@ -56,10 +68,18 @@
#include "model/DescribeClusterV2UserKubeconfigResult.h"
#include "model/DescribeClustersRequest.h"
#include "model/DescribeClustersResult.h"
#include "model/DescribeEdgeClusterAttachScriptsRequest.h"
#include "model/DescribeEdgeClusterAttachScriptsResult.h"
#include "model/DescribeWorkflowsRequest.h"
#include "model/DescribeWorkflowsResult.h"
#include "model/DownloadClusterNodeCertsRequest.h"
#include "model/DownloadClusterNodeCertsResult.h"
#include "model/ModifyClusterRequest.h"
#include "model/ModifyClusterResult.h"
#include "model/ModifyClusterTagsRequest.h"
#include "model/ModifyClusterTagsResult.h"
#include "model/RemoveWorkflowRequest.h"
#include "model/RemoveWorkflowResult.h"
#include "model/ResetClusterNodeRequest.h"
#include "model/ResetClusterNodeResult.h"
#include "model/RevokeClusterTokenRequest.h"
@@ -68,6 +88,20 @@
#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"
namespace AlibabaCloud
@@ -80,6 +114,9 @@ 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::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;
@@ -89,6 +126,9 @@ namespace AlibabaCloud
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::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;
@@ -98,9 +138,21 @@ namespace AlibabaCloud
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::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;
typedef Outcome<Error, Model::DescribeAddonsResult> DescribeAddonsOutcome;
typedef std::future<DescribeAddonsOutcome> DescribeAddonsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeAddonsRequest&, const DescribeAddonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAddonsAsyncHandler;
typedef Outcome<Error, Model::DescribeApiVersionResult> DescribeApiVersionOutcome;
typedef std::future<DescribeApiVersionOutcome> DescribeApiVersionOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeApiVersionRequest&, const DescribeApiVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApiVersionAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterAddonUpgradeStatusResult> DescribeClusterAddonUpgradeStatusOutcome;
typedef std::future<DescribeClusterAddonUpgradeStatusOutcome> DescribeClusterAddonUpgradeStatusOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterAddonUpgradeStatusRequest&, const DescribeClusterAddonUpgradeStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterAddonUpgradeStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterAddonsVersionResult> DescribeClusterAddonsVersionOutcome;
typedef std::future<DescribeClusterAddonsVersionOutcome> DescribeClusterAddonsVersionOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterAddonsVersionRequest&, const DescribeClusterAddonsVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterAddonsVersionAsyncHandler;
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;
@@ -128,12 +180,24 @@ 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::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::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::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;
@@ -146,6 +210,27 @@ namespace AlibabaCloud
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;
typedef Outcome<Error, Model::UnInstallClusterAddonsResult> UnInstallClusterAddonsOutcome;
typedef std::future<UnInstallClusterAddonsOutcome> UnInstallClusterAddonsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::UnInstallClusterAddonsRequest&, const UnInstallClusterAddonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnInstallClusterAddonsAsyncHandler;
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;
CSClient(const Credentials &credentials, const ClientConfiguration &configuration);
CSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -154,6 +239,9 @@ 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;
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;
@@ -163,6 +251,9 @@ namespace AlibabaCloud
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;
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;
@@ -172,9 +263,21 @@ namespace AlibabaCloud
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;
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;
DescribeAddonsOutcome describeAddons(const Model::DescribeAddonsRequest &request)const;
void describeAddonsAsync(const Model::DescribeAddonsRequest& request, const DescribeAddonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAddonsOutcomeCallable describeAddonsCallable(const Model::DescribeAddonsRequest& request) const;
DescribeApiVersionOutcome describeApiVersion(const Model::DescribeApiVersionRequest &request)const;
void describeApiVersionAsync(const Model::DescribeApiVersionRequest& request, const DescribeApiVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeApiVersionOutcomeCallable describeApiVersionCallable(const Model::DescribeApiVersionRequest& request) const;
DescribeClusterAddonUpgradeStatusOutcome describeClusterAddonUpgradeStatus(const Model::DescribeClusterAddonUpgradeStatusRequest &request)const;
void describeClusterAddonUpgradeStatusAsync(const Model::DescribeClusterAddonUpgradeStatusRequest& request, const DescribeClusterAddonUpgradeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterAddonUpgradeStatusOutcomeCallable describeClusterAddonUpgradeStatusCallable(const Model::DescribeClusterAddonUpgradeStatusRequest& request) const;
DescribeClusterAddonsVersionOutcome describeClusterAddonsVersion(const Model::DescribeClusterAddonsVersionRequest &request)const;
void describeClusterAddonsVersionAsync(const Model::DescribeClusterAddonsVersionRequest& request, const DescribeClusterAddonsVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterAddonsVersionOutcomeCallable describeClusterAddonsVersionCallable(const Model::DescribeClusterAddonsVersionRequest& request) const;
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;
@@ -202,12 +305,24 @@ 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;
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;
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;
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;
@@ -220,6 +335,27 @@ namespace AlibabaCloud
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;
UnInstallClusterAddonsOutcome unInstallClusterAddons(const Model::UnInstallClusterAddonsRequest &request)const;
void unInstallClusterAddonsAsync(const Model::UnInstallClusterAddonsRequest& request, const UnInstallClusterAddonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnInstallClusterAddonsOutcomeCallable unInstallClusterAddonsCallable(const Model::UnInstallClusterAddonsRequest& request) const;
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;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -35,11 +35,26 @@ namespace AlibabaCloud
AttachInstancesRequest();
~AttachInstancesRequest();
std::string getPassword()const;
void setPassword(const std::string& password);
bool getKeep_instance_name()const;
void setKeep_instance_name(bool keep_instance_name);
std::string getKey_pair()const;
void setKey_pair(const std::string& key_pair);
std::string getCpu_policy()const;
void setCpu_policy(const std::string& cpu_policy);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
bool getFormat_disk()const;
void setFormat_disk(bool format_disk);
private:
std::string password_;
bool keep_instance_name_;
std::string key_pair_;
std::string cpu_policy_;
std::string clusterId_;
bool format_disk_;
};
}

View File

@@ -32,15 +32,25 @@ namespace AlibabaCloud
class ALIBABACLOUD_CS_EXPORT AttachInstancesResult : public ServiceResult
{
public:
struct ListItem
{
std::string message;
std::string instanceId;
std::string code;
};
AttachInstancesResult();
explicit AttachInstancesResult(const std::string &payload);
~AttachInstancesResult();
std::vector<ListItem> getlist()const;
std::string getTask_id()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ListItem> list_;
std::string task_id_;
};
}

View File

@@ -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_CANCELWORKFLOWREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_CANCELWORKFLOWREQUEST_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 CancelWorkflowRequest : public RoaServiceRequest
{
public:
CancelWorkflowRequest();
~CancelWorkflowRequest();
std::string getWorkflowName()const;
void setWorkflowName(const std::string& workflowName);
private:
std::string workflowName_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CANCELWORKFLOWREQUEST_H_

View 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_CANCELWORKFLOWRESULT_H_
#define ALIBABACLOUD_CS_MODEL_CANCELWORKFLOWRESULT_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 CancelWorkflowResult : public ServiceResult
{
public:
CancelWorkflowResult();
explicit CancelWorkflowResult(const std::string &payload);
~CancelWorkflowResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CANCELWORKFLOWRESULT_H_

View File

@@ -35,8 +35,131 @@ namespace AlibabaCloud
CreateClusterRequest();
~CreateClusterRequest();
std::string getProxy_mode()const;
void setProxy_mode(const std::string& proxy_mode);
std::string getMaster_system_disk_category()const;
void setMaster_system_disk_category(const std::string& master_system_disk_category);
bool getCloud_monitor_flags()const;
void setCloud_monitor_flags(bool cloud_monitor_flags);
int getMaster_period()const;
void setMaster_period(int master_period);
bool getSsh_flags()const;
void setSsh_flags(bool ssh_flags);
std::string getSecurity_group_id()const;
void setSecurity_group_id(const std::string& security_group_id);
std::string getContainer_cidr()const;
void setContainer_cidr(const std::string& container_cidr);
std::string getCluster_type()const;
void setCluster_type(const std::string& cluster_type);
bool getEndpoint_public_access()const;
void setEndpoint_public_access(bool endpoint_public_access);
bool getWorker_auto_renew()const;
void setWorker_auto_renew(bool worker_auto_renew);
std::string getPlatform()const;
void setPlatform(const std::string& platform);
std::string getNode_port_range()const;
void setNode_port_range(const std::string& node_port_range);
std::string getService_cidr()const;
void setService_cidr(const std::string& service_cidr);
std::string getLogin_password()const;
void setLogin_password(const std::string& login_password);
std::string getKubernetes_version()const;
void setKubernetes_version(const std::string& kubernetes_version);
std::string getMaster_period_unit()const;
void setMaster_period_unit(const std::string& master_period_unit);
int getMaster_system_disk_size()const;
void setMaster_system_disk_size(int master_system_disk_size);
int getMaster_count()const;
void setMaster_count(int master_count);
int getNum_of_nodes()const;
void setNum_of_nodes(int num_of_nodes);
bool getDeletion_protection()const;
void setDeletion_protection(bool deletion_protection);
std::string getKey_pair()const;
void setKey_pair(const std::string& key_pair);
bool getWorker_data_disk()const;
void setWorker_data_disk(bool worker_data_disk);
bool getMaster_auto_renew()const;
void setMaster_auto_renew(bool master_auto_renew);
std::string getRegion_id()const;
void setRegion_id(const std::string& region_id);
bool getSnat_entry()const;
void setSnat_entry(bool snat_entry);
std::string getWorker_system_disk_category()const;
void setWorker_system_disk_category(const std::string& worker_system_disk_category);
std::string getRuntime()const;
void setRuntime(const std::string& runtime);
std::string getWorker_period_unit()const;
void setWorker_period_unit(const std::string& worker_period_unit);
std::string getMaster_instance_charge_type()const;
void setMaster_instance_charge_type(const std::string& master_instance_charge_type);
std::string getNode_cidr_mask()const;
void setNode_cidr_mask(const std::string& node_cidr_mask);
int getWorker_auto_renew_period()const;
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 getWorker_system_disk_size()const;
void setWorker_system_disk_size(int worker_system_disk_size);
std::string getOs_type()const;
void setOs_type(const std::string& os_type);
std::string getCpu_policy()const;
void setCpu_policy(const std::string& cpu_policy);
std::string getVpcid()const;
void setVpcid(const std::string& vpcid);
std::string getName()const;
void setName(const std::string& name);
bool getDisable_rollback()const;
void setDisable_rollback(bool disable_rollback);
std::string getWorker_instance_charge_type()const;
void setWorker_instance_charge_type(const std::string& worker_instance_charge_type);
private:
std::string proxy_mode_;
std::string master_system_disk_category_;
bool cloud_monitor_flags_;
int master_period_;
bool ssh_flags_;
std::string security_group_id_;
std::string container_cidr_;
std::string cluster_type_;
bool endpoint_public_access_;
bool worker_auto_renew_;
std::string platform_;
std::string node_port_range_;
std::string service_cidr_;
std::string login_password_;
std::string kubernetes_version_;
std::string master_period_unit_;
int master_system_disk_size_;
int master_count_;
int num_of_nodes_;
bool deletion_protection_;
std::string key_pair_;
bool worker_data_disk_;
bool master_auto_renew_;
std::string region_id_;
bool snat_entry_;
std::string worker_system_disk_category_;
std::string runtime_;
std::string worker_period_unit_;
std::string master_instance_charge_type_;
std::string node_cidr_mask_;
int worker_auto_renew_period_;
int master_auto_renew_period_;
int timeout_mins_;
int worker_period_;
int worker_system_disk_size_;
std::string os_type_;
std::string cpu_policy_;
std::string vpcid_;
std::string name_;
bool disable_rollback_;
std::string worker_instance_charge_type_;
};
}

View File

@@ -37,10 +37,16 @@ namespace AlibabaCloud
CreateClusterResult();
explicit CreateClusterResult(const std::string &payload);
~CreateClusterResult();
std::string getRequest_id()const;
std::string getCluster_id()const;
std::string getTask_id()const;
protected:
void parse(const std::string &payload);
private:
std::string request_id_;
std::string cluster_id_;
std::string task_id_;
};
}

View File

@@ -0,0 +1,45 @@
/*
* 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_CREATESERVICEMESHREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHREQUEST_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 CreateServiceMeshRequest : public RoaServiceRequest
{
public:
CreateServiceMeshRequest();
~CreateServiceMeshRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHREQUEST_H_

View 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_CREATESERVICEMESHRESULT_H_
#define ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHRESULT_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 CreateServiceMeshResult : public ServiceResult
{
public:
CreateServiceMeshResult();
explicit CreateServiceMeshResult(const std::string &payload);
~CreateServiceMeshResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHRESULT_H_

View File

@@ -35,11 +35,14 @@ namespace AlibabaCloud
DeleteClusterNodesRequest();
~DeleteClusterNodesRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getRelease_node()const;
void setRelease_node(const std::string& release_node);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string clusterId_;
std::string release_node_;
std::string clusterId_;
};
}

View File

@@ -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_DESCIRBEWORKFLOWREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCIRBEWORKFLOWREQUEST_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 DescirbeWorkflowRequest : public RoaServiceRequest
{
public:
DescirbeWorkflowRequest();
~DescirbeWorkflowRequest();
std::string getWorkflowName()const;
void setWorkflowName(const std::string& workflowName);
private:
std::string workflowName_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCIRBEWORKFLOWREQUEST_H_

View 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_DESCIRBEWORKFLOWRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCIRBEWORKFLOWRESULT_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 DescirbeWorkflowResult : public ServiceResult
{
public:
DescirbeWorkflowResult();
explicit DescirbeWorkflowResult(const std::string &payload);
~DescirbeWorkflowResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCIRBEWORKFLOWRESULT_H_

View File

@@ -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_DESCRIBEADDONSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEADDONSREQUEST_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 DescribeAddonsRequest : public RoaServiceRequest
{
public:
DescribeAddonsRequest();
~DescribeAddonsRequest();
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEADDONSREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* 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_DESCRIBEADDONSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEADDONSRESULT_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 DescribeAddonsResult : public ServiceResult
{
public:
struct StandardComponents
{
struct Addon_name
{
std::string required;
std::string version;
std::string config;
bool disabled;
std::string name;
};
Addon_name addon_name;
};
struct ComponentGroupsItem
{
struct ItemsItem
{
std::string required;
std::string version;
std::string config;
bool disabled;
std::string name;
};
std::string group_name;
std::vector<ComponentGroupsItem::ItemsItem> items;
std::vector<std::string> _default;
};
DescribeAddonsResult();
explicit DescribeAddonsResult(const std::string &payload);
~DescribeAddonsResult();
StandardComponents getStandardComponents()const;
std::vector<ComponentGroupsItem> getComponentGroups()const;
protected:
void parse(const std::string &payload);
private:
StandardComponents standardComponents_;
std::vector<ComponentGroupsItem> componentGroups_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEADDONSRESULT_H_

View 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_DESCRIBECLUSTERADDONUPGRADESTATUSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONUPGRADESTATUSREQUEST_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 DescribeClusterAddonUpgradeStatusRequest : public RoaServiceRequest
{
public:
DescribeClusterAddonUpgradeStatusRequest();
~DescribeClusterAddonUpgradeStatusRequest();
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_DESCRIBECLUSTERADDONUPGRADESTATUSREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONUPGRADESTATUSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONUPGRADESTATUSRESULT_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 DescribeClusterAddonUpgradeStatusResult : public ServiceResult
{
public:
struct ComponentId
{
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;
};
DescribeClusterAddonUpgradeStatusResult();
explicit DescribeClusterAddonUpgradeStatusResult(const std::string &payload);
~DescribeClusterAddonUpgradeStatusResult();
ComponentId getComponentId()const;
protected:
void parse(const std::string &payload);
private:
ComponentId componentId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONUPGRADESTATUSRESULT_H_

View File

@@ -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_DESCRIBECLUSTERADDONSVERSIONREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONSVERSIONREQUEST_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 DescribeClusterAddonsVersionRequest : public RoaServiceRequest
{
public:
DescribeClusterAddonsVersionRequest();
~DescribeClusterAddonsVersionRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONSVERSIONREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* 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_DESCRIBECLUSTERADDONSVERSIONRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONSVERSIONRESULT_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 DescribeClusterAddonsVersionResult : public ServiceResult
{
public:
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_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONSVERSIONRESULT_H_

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
DescribeClusterUserKubeconfigResult();
explicit DescribeClusterUserKubeconfigResult(const std::string &payload);
~DescribeClusterUserKubeconfigResult();
std::string getConfig()const;
protected:
void parse(const std::string &payload);
private:
std::string config_;
};
}

View File

@@ -35,14 +35,14 @@ namespace AlibabaCloud
DescribeClusterV2UserKubeconfigRequest();
~DescribeClusterV2UserKubeconfigRequest();
bool getPrivateIpAddress()const;
void setPrivateIpAddress(bool privateIpAddress);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
bool getPrivateIpAddress()const;
void setPrivateIpAddress(bool privateIpAddress);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
bool privateIpAddress_;
std::string clusterId_;
bool privateIpAddress_;
std::string clusterId_;
};
}

View File

@@ -37,10 +37,38 @@ namespace AlibabaCloud
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;
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_;
};
}

View 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_DESCRIBEEDGECLUSTERATTACHSCRIPTSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSREQUEST_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 DescribeEdgeClusterAttachScriptsRequest : public RoaServiceRequest
{
public:
DescribeEdgeClusterAttachScriptsRequest();
~DescribeEdgeClusterAttachScriptsRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getNamePrefix()const;
void setNamePrefix(const std::string& namePrefix);
private:
std::string clusterId_;
std::string namePrefix_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSREQUEST_H_

View 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_DESCRIBEEDGECLUSTERATTACHSCRIPTSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSRESULT_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 DescribeEdgeClusterAttachScriptsResult : public ServiceResult
{
public:
DescribeEdgeClusterAttachScriptsResult();
explicit DescribeEdgeClusterAttachScriptsResult(const std::string &payload);
~DescribeEdgeClusterAttachScriptsResult();
std::string getConfig()const;
protected:
void parse(const std::string &payload);
private:
std::string config_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* 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_DESCRIBEWORKFLOWSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEWORKFLOWSREQUEST_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 DescribeWorkflowsRequest : public RoaServiceRequest
{
public:
DescribeWorkflowsRequest();
~DescribeWorkflowsRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEWORKFLOWSREQUEST_H_

View 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_DESCRIBEWORKFLOWSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEWORKFLOWSRESULT_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 DescribeWorkflowsResult : public ServiceResult
{
public:
DescribeWorkflowsResult();
explicit DescribeWorkflowsResult(const std::string &payload);
~DescribeWorkflowsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEWORKFLOWSRESULT_H_

View File

@@ -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_MODIFYCLUSTERTAGSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_MODIFYCLUSTERTAGSREQUEST_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 ModifyClusterTagsRequest : public RoaServiceRequest
{
public:
ModifyClusterTagsRequest();
~ModifyClusterTagsRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getValue()const;
void setValue(const std::string& value);
std::string getKey()const;
void setKey(const std::string& key);
private:
std::string clusterId_;
std::string value_;
std::string key_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_MODIFYCLUSTERTAGSREQUEST_H_

View 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_MODIFYCLUSTERTAGSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_MODIFYCLUSTERTAGSRESULT_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 ModifyClusterTagsResult : public ServiceResult
{
public:
ModifyClusterTagsResult();
explicit ModifyClusterTagsResult(const std::string &payload);
~ModifyClusterTagsResult();
std::string getRequestId()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_MODIFYCLUSTERTAGSRESULT_H_

View File

@@ -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_REMOVEWORKFLOWREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_REMOVEWORKFLOWREQUEST_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 RemoveWorkflowRequest : public RoaServiceRequest
{
public:
RemoveWorkflowRequest();
~RemoveWorkflowRequest();
std::string getWorkflowName()const;
void setWorkflowName(const std::string& workflowName);
private:
std::string workflowName_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_REMOVEWORKFLOWREQUEST_H_

View 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_REMOVEWORKFLOWRESULT_H_
#define ALIBABACLOUD_CS_MODEL_REMOVEWORKFLOWRESULT_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 RemoveWorkflowResult : public ServiceResult
{
public:
RemoveWorkflowResult();
explicit RemoveWorkflowResult(const std::string &payload);
~RemoveWorkflowResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_REMOVEWORKFLOWRESULT_H_

View File

@@ -35,11 +35,53 @@ namespace AlibabaCloud
ScaleOutClusterRequest();
~ScaleOutClusterRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
bool getWorker_data_disk()const;
void setWorker_data_disk(bool worker_data_disk);
std::string getKey_pair()const;
void setKey_pair(const std::string& key_pair);
int getCount()const;
void setCount(int count);
std::string getWorker_system_disk_category()const;
void setWorker_system_disk_category(const std::string& worker_system_disk_category);
bool getCloud_monitor_flags()const;
void setCloud_monitor_flags(bool cloud_monitor_flags);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getWorker_period_unit()const;
void setWorker_period_unit(const std::string& worker_period_unit);
bool getWorker_auto_renew()const;
void setWorker_auto_renew(bool worker_auto_renew);
int getWorker_auto_renew_period()const;
void setWorker_auto_renew_period(int worker_auto_renew_period);
int getWorker_period()const;
void setWorker_period(int worker_period);
std::string getLogin_password()const;
void setLogin_password(const std::string& login_password);
int getWorker_system_disk_size()const;
void setWorker_system_disk_size(int worker_system_disk_size);
std::string getCpu_policy()const;
void setCpu_policy(const std::string& cpu_policy);
bool getDisable_rollback()const;
void setDisable_rollback(bool disable_rollback);
std::string getWorker_instance_charge_type()const;
void setWorker_instance_charge_type(const std::string& worker_instance_charge_type);
private:
std::string clusterId_;
bool worker_data_disk_;
std::string key_pair_;
int count_;
std::string worker_system_disk_category_;
bool cloud_monitor_flags_;
std::string clusterId_;
std::string worker_period_unit_;
bool worker_auto_renew_;
int worker_auto_renew_period_;
int worker_period_;
std::string login_password_;
int worker_system_disk_size_;
std::string cpu_policy_;
bool disable_rollback_;
std::string worker_instance_charge_type_;
};
}

View File

@@ -37,10 +37,18 @@ namespace AlibabaCloud
ScaleOutClusterResult();
explicit ScaleOutClusterResult(const std::string &payload);
~ScaleOutClusterResult();
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_;
};
}

View File

@@ -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_SERVICEMESHADDCLUSTERREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERREQUEST_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 ServiceMeshAddClusterRequest : public RoaServiceRequest
{
public:
ServiceMeshAddClusterRequest();
~ServiceMeshAddClusterRequest();
std::string getServiceMeshId()const;
void setServiceMeshId(const std::string& serviceMeshId);
private:
std::string serviceMeshId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERREQUEST_H_

View 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_SERVICEMESHADDCLUSTERRESULT_H_
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERRESULT_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 ServiceMeshAddClusterResult : public ServiceResult
{
public:
ServiceMeshAddClusterResult();
explicit ServiceMeshAddClusterResult(const std::string &payload);
~ServiceMeshAddClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERRESULT_H_

View File

@@ -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_SERVICEMESHAPISERVERREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERREQUEST_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 ServiceMeshApiServerRequest : public RoaServiceRequest
{
public:
ServiceMeshApiServerRequest();
~ServiceMeshApiServerRequest();
std::string getServiceMeshId()const;
void setServiceMeshId(const std::string& serviceMeshId);
private:
std::string serviceMeshId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERREQUEST_H_

View 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_SERVICEMESHAPISERVERRESULT_H_
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERRESULT_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 ServiceMeshApiServerResult : public ServiceResult
{
public:
ServiceMeshApiServerResult();
explicit ServiceMeshApiServerResult(const std::string &payload);
~ServiceMeshApiServerResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERRESULT_H_

View File

@@ -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_SERVICEMESHREMOVECLUSTERREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHREMOVECLUSTERREQUEST_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 ServiceMeshRemoveClusterRequest : public RoaServiceRequest
{
public:
ServiceMeshRemoveClusterRequest();
~ServiceMeshRemoveClusterRequest();
std::string getServiceMeshId()const;
void setServiceMeshId(const std::string& serviceMeshId);
private:
std::string serviceMeshId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHREMOVECLUSTERREQUEST_H_

View 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_SERVICEMESHREMOVECLUSTERRESULT_H_
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHREMOVECLUSTERRESULT_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 ServiceMeshRemoveClusterResult : public ServiceResult
{
public:
ServiceMeshRemoveClusterResult();
explicit ServiceMeshRemoveClusterResult(const std::string &payload);
~ServiceMeshRemoveClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHREMOVECLUSTERRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* 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_STARTWORKFLOWREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_STARTWORKFLOWREQUEST_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 StartWorkflowRequest : public RoaServiceRequest
{
public:
StartWorkflowRequest();
~StartWorkflowRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_STARTWORKFLOWREQUEST_H_

View 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_STARTWORKFLOWRESULT_H_
#define ALIBABACLOUD_CS_MODEL_STARTWORKFLOWRESULT_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 StartWorkflowResult : public ServiceResult
{
public:
StartWorkflowResult();
explicit StartWorkflowResult(const std::string &payload);
~StartWorkflowResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_STARTWORKFLOWRESULT_H_

View 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_UNINSTALLCLUSTERADDONSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_UNINSTALLCLUSTERADDONSREQUEST_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 UnInstallClusterAddonsRequest : public RoaServiceRequest
{
public:
UnInstallClusterAddonsRequest();
~UnInstallClusterAddonsRequest();
std::string getName()const;
void setName(const std::string& name);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string name_;
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UNINSTALLCLUSTERADDONSREQUEST_H_

View 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_UNINSTALLCLUSTERADDONSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_UNINSTALLCLUSTERADDONSRESULT_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 UnInstallClusterAddonsResult : public ServiceResult
{
public:
UnInstallClusterAddonsResult();
explicit UnInstallClusterAddonsResult(const std::string &payload);
~UnInstallClusterAddonsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UNINSTALLCLUSTERADDONSRESULT_H_

View File

@@ -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_UPDATEK8SCLUSTERUSERCONFIGEXPIREREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_UPDATEK8SCLUSTERUSERCONFIGEXPIREREQUEST_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 UpdateK8sClusterUserConfigExpireRequest : public RoaServiceRequest
{
public:
UpdateK8sClusterUserConfigExpireRequest();
~UpdateK8sClusterUserConfigExpireRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UPDATEK8SCLUSTERUSERCONFIGEXPIREREQUEST_H_

View 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_UPDATEK8SCLUSTERUSERCONFIGEXPIRERESULT_H_
#define ALIBABACLOUD_CS_MODEL_UPDATEK8SCLUSTERUSERCONFIGEXPIRERESULT_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 UpdateK8sClusterUserConfigExpireResult : public ServiceResult
{
public:
UpdateK8sClusterUserConfigExpireResult();
explicit UpdateK8sClusterUserConfigExpireResult(const std::string &payload);
~UpdateK8sClusterUserConfigExpireResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UPDATEK8SCLUSTERUSERCONFIGEXPIRERESULT_H_

View File

@@ -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_UPDATESERVICEMESHREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHREQUEST_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 UpdateServiceMeshRequest : public RoaServiceRequest
{
public:
UpdateServiceMeshRequest();
~UpdateServiceMeshRequest();
std::string getServiceMeshId()const;
void setServiceMeshId(const std::string& serviceMeshId);
private:
std::string serviceMeshId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHREQUEST_H_

View 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_UPDATESERVICEMESHRESULT_H_
#define ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHRESULT_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 UpdateServiceMeshResult : public ServiceResult
{
public:
UpdateServiceMeshResult();
explicit UpdateServiceMeshResult(const std::string &payload);
~UpdateServiceMeshResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHRESULT_H_