ListNodesByQueue and ListJobsWithFilters add Async.

This commit is contained in:
sdk-team
2022-10-27 08:58:34 +00:00
parent b9383c3ee7
commit 250a0529f2
475 changed files with 30793 additions and 508 deletions

View File

@@ -1 +1 @@
1.36.1313
1.36.1314

View File

@@ -21,151 +21,535 @@ set(ehpc_public_header
include/alibabacloud/ehpc/EHPCExport.h )
set(ehpc_public_header_model
include/alibabacloud/ehpc/model/AddContainerAppRequest.h
include/alibabacloud/ehpc/model/AddContainerAppResult.h
include/alibabacloud/ehpc/model/AddExistedNodesRequest.h
include/alibabacloud/ehpc/model/AddExistedNodesResult.h
include/alibabacloud/ehpc/model/AddLocalNodesRequest.h
include/alibabacloud/ehpc/model/AddLocalNodesResult.h
include/alibabacloud/ehpc/model/AddNodesRequest.h
include/alibabacloud/ehpc/model/AddNodesResult.h
include/alibabacloud/ehpc/model/AddQueueRequest.h
include/alibabacloud/ehpc/model/AddQueueResult.h
include/alibabacloud/ehpc/model/AddSecurityGroupRequest.h
include/alibabacloud/ehpc/model/AddSecurityGroupResult.h
include/alibabacloud/ehpc/model/AddUsersRequest.h
include/alibabacloud/ehpc/model/AddUsersResult.h
include/alibabacloud/ehpc/model/ApplyNodesRequest.h
include/alibabacloud/ehpc/model/ApplyNodesResult.h
include/alibabacloud/ehpc/model/CreateClusterRequest.h
include/alibabacloud/ehpc/model/CreateClusterResult.h
include/alibabacloud/ehpc/model/CreateGWSClusterRequest.h
include/alibabacloud/ehpc/model/CreateGWSClusterResult.h
include/alibabacloud/ehpc/model/CreateGWSImageRequest.h
include/alibabacloud/ehpc/model/CreateGWSImageResult.h
include/alibabacloud/ehpc/model/CreateGWSInstanceRequest.h
include/alibabacloud/ehpc/model/CreateGWSInstanceResult.h
include/alibabacloud/ehpc/model/CreateHybridClusterRequest.h
include/alibabacloud/ehpc/model/CreateHybridClusterResult.h
include/alibabacloud/ehpc/model/CreateJobFileRequest.h
include/alibabacloud/ehpc/model/CreateJobFileResult.h
include/alibabacloud/ehpc/model/CreateJobTemplateRequest.h
include/alibabacloud/ehpc/model/CreateJobTemplateResult.h
include/alibabacloud/ehpc/model/DeleteClusterRequest.h
include/alibabacloud/ehpc/model/DeleteClusterResult.h
include/alibabacloud/ehpc/model/DeleteContainerAppsRequest.h
include/alibabacloud/ehpc/model/DeleteContainerAppsResult.h
include/alibabacloud/ehpc/model/DeleteGWSClusterRequest.h
include/alibabacloud/ehpc/model/DeleteGWSClusterResult.h
include/alibabacloud/ehpc/model/DeleteGWSInstanceRequest.h
include/alibabacloud/ehpc/model/DeleteGWSInstanceResult.h
include/alibabacloud/ehpc/model/DeleteImageRequest.h
include/alibabacloud/ehpc/model/DeleteImageResult.h
include/alibabacloud/ehpc/model/DeleteJobTemplatesRequest.h
include/alibabacloud/ehpc/model/DeleteJobTemplatesResult.h
include/alibabacloud/ehpc/model/DeleteJobsRequest.h
include/alibabacloud/ehpc/model/DeleteJobsResult.h
include/alibabacloud/ehpc/model/DeleteLocalImageRequest.h
include/alibabacloud/ehpc/model/DeleteLocalImageResult.h
include/alibabacloud/ehpc/model/DeleteNodesRequest.h
include/alibabacloud/ehpc/model/DeleteNodesResult.h
include/alibabacloud/ehpc/model/DeleteQueueRequest.h
include/alibabacloud/ehpc/model/DeleteQueueResult.h
include/alibabacloud/ehpc/model/DeleteSecurityGroupRequest.h
include/alibabacloud/ehpc/model/DeleteSecurityGroupResult.h
include/alibabacloud/ehpc/model/DeleteUsersRequest.h
include/alibabacloud/ehpc/model/DeleteUsersResult.h
include/alibabacloud/ehpc/model/DescribeAutoScaleConfigRequest.h
include/alibabacloud/ehpc/model/DescribeAutoScaleConfigResult.h
include/alibabacloud/ehpc/model/DescribeClusterRequest.h
include/alibabacloud/ehpc/model/DescribeClusterResult.h
include/alibabacloud/ehpc/model/DescribeContainerAppRequest.h
include/alibabacloud/ehpc/model/DescribeContainerAppResult.h
include/alibabacloud/ehpc/model/DescribeEstackImageRequest.h
include/alibabacloud/ehpc/model/DescribeEstackImageResult.h
include/alibabacloud/ehpc/model/DescribeGWSClusterPolicyRequest.h
include/alibabacloud/ehpc/model/DescribeGWSClusterPolicyResult.h
include/alibabacloud/ehpc/model/DescribeGWSClustersRequest.h
include/alibabacloud/ehpc/model/DescribeGWSClustersResult.h
include/alibabacloud/ehpc/model/DescribeGWSImagesRequest.h
include/alibabacloud/ehpc/model/DescribeGWSImagesResult.h
include/alibabacloud/ehpc/model/DescribeGWSInstancesRequest.h
include/alibabacloud/ehpc/model/DescribeGWSInstancesResult.h
include/alibabacloud/ehpc/model/DescribeImageRequest.h
include/alibabacloud/ehpc/model/DescribeImageResult.h
include/alibabacloud/ehpc/model/DescribeImageGatewayConfigRequest.h
include/alibabacloud/ehpc/model/DescribeImageGatewayConfigResult.h
include/alibabacloud/ehpc/model/DescribeImagePriceRequest.h
include/alibabacloud/ehpc/model/DescribeImagePriceResult.h
include/alibabacloud/ehpc/model/DescribeJobRequest.h
include/alibabacloud/ehpc/model/DescribeJobResult.h
include/alibabacloud/ehpc/model/DescribeNFSClientStatusRequest.h
include/alibabacloud/ehpc/model/DescribeNFSClientStatusResult.h
include/alibabacloud/ehpc/model/DescribePriceRequest.h
include/alibabacloud/ehpc/model/DescribePriceResult.h
include/alibabacloud/ehpc/model/EditJobTemplateRequest.h
include/alibabacloud/ehpc/model/EditJobTemplateResult.h
include/alibabacloud/ehpc/model/GetAccountingReportRequest.h
include/alibabacloud/ehpc/model/GetAccountingReportResult.h
include/alibabacloud/ehpc/model/GetAutoScaleConfigRequest.h
include/alibabacloud/ehpc/model/GetAutoScaleConfigResult.h
include/alibabacloud/ehpc/model/GetCloudMetricLogsRequest.h
include/alibabacloud/ehpc/model/GetCloudMetricLogsResult.h
include/alibabacloud/ehpc/model/GetCloudMetricProfilingRequest.h
include/alibabacloud/ehpc/model/GetCloudMetricProfilingResult.h
include/alibabacloud/ehpc/model/GetClusterVolumesRequest.h
include/alibabacloud/ehpc/model/GetClusterVolumesResult.h
include/alibabacloud/ehpc/model/GetCommonImageRequest.h
include/alibabacloud/ehpc/model/GetCommonImageResult.h
include/alibabacloud/ehpc/model/GetGWSConnectTicketRequest.h
include/alibabacloud/ehpc/model/GetGWSConnectTicketResult.h
include/alibabacloud/ehpc/model/GetHybridClusterConfigRequest.h
include/alibabacloud/ehpc/model/GetHybridClusterConfigResult.h
include/alibabacloud/ehpc/model/GetIfEcsTypeSupportHtConfigRequest.h
include/alibabacloud/ehpc/model/GetIfEcsTypeSupportHtConfigResult.h
include/alibabacloud/ehpc/model/GetPostScriptsRequest.h
include/alibabacloud/ehpc/model/GetPostScriptsResult.h
include/alibabacloud/ehpc/model/GetSchedulerInfoRequest.h
include/alibabacloud/ehpc/model/GetSchedulerInfoResult.h
include/alibabacloud/ehpc/model/GetUserImageRequest.h
include/alibabacloud/ehpc/model/GetUserImageResult.h
include/alibabacloud/ehpc/model/GetVisualServiceStatusRequest.h
include/alibabacloud/ehpc/model/GetVisualServiceStatusResult.h
include/alibabacloud/ehpc/model/InitializeEHPCRequest.h
include/alibabacloud/ehpc/model/InitializeEHPCResult.h
include/alibabacloud/ehpc/model/InspectImageRequest.h
include/alibabacloud/ehpc/model/InspectImageResult.h
include/alibabacloud/ehpc/model/InstallSoftwareRequest.h
include/alibabacloud/ehpc/model/InstallSoftwareResult.h
include/alibabacloud/ehpc/model/InvokeShellCommandRequest.h
include/alibabacloud/ehpc/model/InvokeShellCommandResult.h
include/alibabacloud/ehpc/model/ListAvailableEcsTypesRequest.h
include/alibabacloud/ehpc/model/ListAvailableEcsTypesResult.h
include/alibabacloud/ehpc/model/ListCloudMetricProfilingsRequest.h
include/alibabacloud/ehpc/model/ListCloudMetricProfilingsResult.h
include/alibabacloud/ehpc/model/ListClusterLogsRequest.h
include/alibabacloud/ehpc/model/ListClusterLogsResult.h
include/alibabacloud/ehpc/model/ListClustersRequest.h
include/alibabacloud/ehpc/model/ListClustersResult.h
include/alibabacloud/ehpc/model/ListClustersMetaRequest.h
include/alibabacloud/ehpc/model/ListClustersMetaResult.h
include/alibabacloud/ehpc/model/ListCommandsRequest.h
include/alibabacloud/ehpc/model/ListCommandsResult.h
include/alibabacloud/ehpc/model/ListCommunityImagesRequest.h
include/alibabacloud/ehpc/model/ListCommunityImagesResult.h
include/alibabacloud/ehpc/model/ListContainerAppsRequest.h
include/alibabacloud/ehpc/model/ListContainerAppsResult.h
include/alibabacloud/ehpc/model/ListContainerImagesRequest.h
include/alibabacloud/ehpc/model/ListContainerImagesResult.h
include/alibabacloud/ehpc/model/ListCpfsFileSystemsRequest.h
include/alibabacloud/ehpc/model/ListCpfsFileSystemsResult.h
include/alibabacloud/ehpc/model/ListCurrentClientVersionRequest.h
include/alibabacloud/ehpc/model/ListCurrentClientVersionResult.h
include/alibabacloud/ehpc/model/ListCustomImagesRequest.h
include/alibabacloud/ehpc/model/ListCustomImagesResult.h
include/alibabacloud/ehpc/model/ListFileSystemWithMountTargetsRequest.h
include/alibabacloud/ehpc/model/ListFileSystemWithMountTargetsResult.h
include/alibabacloud/ehpc/model/ListImagesRequest.h
include/alibabacloud/ehpc/model/ListImagesResult.h
include/alibabacloud/ehpc/model/ListInstalledSoftwareRequest.h
include/alibabacloud/ehpc/model/ListInstalledSoftwareResult.h
include/alibabacloud/ehpc/model/ListInvocationResultsRequest.h
include/alibabacloud/ehpc/model/ListInvocationResultsResult.h
include/alibabacloud/ehpc/model/ListInvocationStatusRequest.h
include/alibabacloud/ehpc/model/ListInvocationStatusResult.h
include/alibabacloud/ehpc/model/ListJobTemplatesRequest.h
include/alibabacloud/ehpc/model/ListJobTemplatesResult.h
include/alibabacloud/ehpc/model/ListJobsRequest.h
include/alibabacloud/ehpc/model/ListJobsResult.h
include/alibabacloud/ehpc/model/ListJobsWithFiltersRequest.h
include/alibabacloud/ehpc/model/ListJobsWithFiltersResult.h
include/alibabacloud/ehpc/model/ListNodesRequest.h
include/alibabacloud/ehpc/model/ListNodesResult.h
include/alibabacloud/ehpc/model/ListNodesByQueueRequest.h
include/alibabacloud/ehpc/model/ListNodesByQueueResult.h
include/alibabacloud/ehpc/model/ListNodesNoPagingRequest.h
include/alibabacloud/ehpc/model/ListNodesNoPagingResult.h
include/alibabacloud/ehpc/model/ListPreferredEcsTypesRequest.h
include/alibabacloud/ehpc/model/ListPreferredEcsTypesResult.h
include/alibabacloud/ehpc/model/ListQueuesRequest.h
include/alibabacloud/ehpc/model/ListQueuesResult.h
include/alibabacloud/ehpc/model/ListRegionsRequest.h
include/alibabacloud/ehpc/model/ListRegionsResult.h
include/alibabacloud/ehpc/model/ListSecurityGroupsRequest.h
include/alibabacloud/ehpc/model/ListSecurityGroupsResult.h
include/alibabacloud/ehpc/model/ListSoftwaresRequest.h
include/alibabacloud/ehpc/model/ListSoftwaresResult.h
include/alibabacloud/ehpc/model/ListTagResourcesRequest.h
include/alibabacloud/ehpc/model/ListTagResourcesResult.h
include/alibabacloud/ehpc/model/ListTasksRequest.h
include/alibabacloud/ehpc/model/ListTasksResult.h
include/alibabacloud/ehpc/model/ListUpgradeClientsRequest.h
include/alibabacloud/ehpc/model/ListUpgradeClientsResult.h
include/alibabacloud/ehpc/model/ListUsersRequest.h
include/alibabacloud/ehpc/model/ListUsersResult.h
include/alibabacloud/ehpc/model/ListUsersAsyncRequest.h
include/alibabacloud/ehpc/model/ListUsersAsyncResult.h
include/alibabacloud/ehpc/model/ListVolumesRequest.h
include/alibabacloud/ehpc/model/ListVolumesResult.h
include/alibabacloud/ehpc/model/ModifyClusterAttributesRequest.h
include/alibabacloud/ehpc/model/ModifyClusterAttributesResult.h
include/alibabacloud/ehpc/model/ModifyContainerAppAttributesRequest.h
include/alibabacloud/ehpc/model/ModifyContainerAppAttributesResult.h
include/alibabacloud/ehpc/model/ModifyImageGatewayConfigRequest.h
include/alibabacloud/ehpc/model/ModifyImageGatewayConfigResult.h
include/alibabacloud/ehpc/model/ModifyUserGroupsRequest.h
include/alibabacloud/ehpc/model/ModifyUserGroupsResult.h
include/alibabacloud/ehpc/model/ModifyUserPasswordsRequest.h
include/alibabacloud/ehpc/model/ModifyUserPasswordsResult.h
include/alibabacloud/ehpc/model/ModifyVisualServicePasswdRequest.h
include/alibabacloud/ehpc/model/ModifyVisualServicePasswdResult.h
include/alibabacloud/ehpc/model/MountNFSRequest.h
include/alibabacloud/ehpc/model/MountNFSResult.h
include/alibabacloud/ehpc/model/PullImageRequest.h
include/alibabacloud/ehpc/model/PullImageResult.h
include/alibabacloud/ehpc/model/QueryServicePackAndPriceRequest.h
include/alibabacloud/ehpc/model/QueryServicePackAndPriceResult.h
include/alibabacloud/ehpc/model/RecoverClusterRequest.h
include/alibabacloud/ehpc/model/RecoverClusterResult.h
include/alibabacloud/ehpc/model/RerunJobsRequest.h
include/alibabacloud/ehpc/model/RerunJobsResult.h
include/alibabacloud/ehpc/model/ResetNodesRequest.h
include/alibabacloud/ehpc/model/ResetNodesResult.h
include/alibabacloud/ehpc/model/RunCloudMetricProfilingRequest.h
include/alibabacloud/ehpc/model/RunCloudMetricProfilingResult.h
include/alibabacloud/ehpc/model/SetAutoScaleConfigRequest.h
include/alibabacloud/ehpc/model/SetAutoScaleConfigResult.h
include/alibabacloud/ehpc/model/SetJobUserRequest.h
include/alibabacloud/ehpc/model/SetJobUserResult.h
include/alibabacloud/ehpc/model/SetGWSClusterPolicyRequest.h
include/alibabacloud/ehpc/model/SetGWSClusterPolicyResult.h
include/alibabacloud/ehpc/model/SetGWSInstanceNameRequest.h
include/alibabacloud/ehpc/model/SetGWSInstanceNameResult.h
include/alibabacloud/ehpc/model/SetGWSInstanceUserRequest.h
include/alibabacloud/ehpc/model/SetGWSInstanceUserResult.h
include/alibabacloud/ehpc/model/SetPostScriptsRequest.h
include/alibabacloud/ehpc/model/SetPostScriptsResult.h
include/alibabacloud/ehpc/model/SetQueueRequest.h
include/alibabacloud/ehpc/model/SetQueueResult.h
include/alibabacloud/ehpc/model/SetSchedulerInfoRequest.h
include/alibabacloud/ehpc/model/SetSchedulerInfoResult.h
include/alibabacloud/ehpc/model/StartClusterRequest.h
include/alibabacloud/ehpc/model/StartClusterResult.h
include/alibabacloud/ehpc/model/StartGWSInstanceRequest.h
include/alibabacloud/ehpc/model/StartGWSInstanceResult.h
include/alibabacloud/ehpc/model/StartNodesRequest.h
include/alibabacloud/ehpc/model/StartNodesResult.h
include/alibabacloud/ehpc/model/StartVisualServiceRequest.h
include/alibabacloud/ehpc/model/StartVisualServiceResult.h
include/alibabacloud/ehpc/model/StopClusterRequest.h
include/alibabacloud/ehpc/model/StopClusterResult.h
include/alibabacloud/ehpc/model/StopGWSInstanceRequest.h
include/alibabacloud/ehpc/model/StopGWSInstanceResult.h
include/alibabacloud/ehpc/model/StopJobsRequest.h
include/alibabacloud/ehpc/model/StopJobsResult.h
include/alibabacloud/ehpc/model/StopNodesRequest.h
include/alibabacloud/ehpc/model/StopNodesResult.h
include/alibabacloud/ehpc/model/StopVisualServiceRequest.h
include/alibabacloud/ehpc/model/StopVisualServiceResult.h
include/alibabacloud/ehpc/model/SubmitJobRequest.h
include/alibabacloud/ehpc/model/SubmitJobResult.h
include/alibabacloud/ehpc/model/SummaryImagesRequest.h
include/alibabacloud/ehpc/model/SummaryImagesResult.h
include/alibabacloud/ehpc/model/SummaryImagesInfoRequest.h
include/alibabacloud/ehpc/model/SummaryImagesInfoResult.h
include/alibabacloud/ehpc/model/SyncUsersRequest.h
include/alibabacloud/ehpc/model/SyncUsersResult.h
include/alibabacloud/ehpc/model/TagResourcesRequest.h
include/alibabacloud/ehpc/model/TagResourcesResult.h
include/alibabacloud/ehpc/model/UnTagResourcesRequest.h
include/alibabacloud/ehpc/model/UnTagResourcesResult.h
include/alibabacloud/ehpc/model/UninstallSoftwareRequest.h
include/alibabacloud/ehpc/model/UninstallSoftwareResult.h
include/alibabacloud/ehpc/model/UpdateClusterVolumesRequest.h
include/alibabacloud/ehpc/model/UpdateClusterVolumesResult.h
include/alibabacloud/ehpc/model/UpdateQueueConfigRequest.h
include/alibabacloud/ehpc/model/UpdateQueueConfigResult.h
include/alibabacloud/ehpc/model/UpgradeClientRequest.h
include/alibabacloud/ehpc/model/UpgradeClientResult.h )
set(ehpc_src
src/EHPCClient.cc
src/model/AddContainerAppRequest.cc
src/model/AddContainerAppResult.cc
src/model/AddExistedNodesRequest.cc
src/model/AddExistedNodesResult.cc
src/model/AddLocalNodesRequest.cc
src/model/AddLocalNodesResult.cc
src/model/AddNodesRequest.cc
src/model/AddNodesResult.cc
src/model/AddQueueRequest.cc
src/model/AddQueueResult.cc
src/model/AddSecurityGroupRequest.cc
src/model/AddSecurityGroupResult.cc
src/model/AddUsersRequest.cc
src/model/AddUsersResult.cc
src/model/ApplyNodesRequest.cc
src/model/ApplyNodesResult.cc
src/model/CreateClusterRequest.cc
src/model/CreateClusterResult.cc
src/model/CreateGWSClusterRequest.cc
src/model/CreateGWSClusterResult.cc
src/model/CreateGWSImageRequest.cc
src/model/CreateGWSImageResult.cc
src/model/CreateGWSInstanceRequest.cc
src/model/CreateGWSInstanceResult.cc
src/model/CreateHybridClusterRequest.cc
src/model/CreateHybridClusterResult.cc
src/model/CreateJobFileRequest.cc
src/model/CreateJobFileResult.cc
src/model/CreateJobTemplateRequest.cc
src/model/CreateJobTemplateResult.cc
src/model/DeleteClusterRequest.cc
src/model/DeleteClusterResult.cc
src/model/DeleteContainerAppsRequest.cc
src/model/DeleteContainerAppsResult.cc
src/model/DeleteGWSClusterRequest.cc
src/model/DeleteGWSClusterResult.cc
src/model/DeleteGWSInstanceRequest.cc
src/model/DeleteGWSInstanceResult.cc
src/model/DeleteImageRequest.cc
src/model/DeleteImageResult.cc
src/model/DeleteJobTemplatesRequest.cc
src/model/DeleteJobTemplatesResult.cc
src/model/DeleteJobsRequest.cc
src/model/DeleteJobsResult.cc
src/model/DeleteLocalImageRequest.cc
src/model/DeleteLocalImageResult.cc
src/model/DeleteNodesRequest.cc
src/model/DeleteNodesResult.cc
src/model/DeleteQueueRequest.cc
src/model/DeleteQueueResult.cc
src/model/DeleteSecurityGroupRequest.cc
src/model/DeleteSecurityGroupResult.cc
src/model/DeleteUsersRequest.cc
src/model/DeleteUsersResult.cc
src/model/DescribeAutoScaleConfigRequest.cc
src/model/DescribeAutoScaleConfigResult.cc
src/model/DescribeClusterRequest.cc
src/model/DescribeClusterResult.cc
src/model/DescribeContainerAppRequest.cc
src/model/DescribeContainerAppResult.cc
src/model/DescribeEstackImageRequest.cc
src/model/DescribeEstackImageResult.cc
src/model/DescribeGWSClusterPolicyRequest.cc
src/model/DescribeGWSClusterPolicyResult.cc
src/model/DescribeGWSClustersRequest.cc
src/model/DescribeGWSClustersResult.cc
src/model/DescribeGWSImagesRequest.cc
src/model/DescribeGWSImagesResult.cc
src/model/DescribeGWSInstancesRequest.cc
src/model/DescribeGWSInstancesResult.cc
src/model/DescribeImageRequest.cc
src/model/DescribeImageResult.cc
src/model/DescribeImageGatewayConfigRequest.cc
src/model/DescribeImageGatewayConfigResult.cc
src/model/DescribeImagePriceRequest.cc
src/model/DescribeImagePriceResult.cc
src/model/DescribeJobRequest.cc
src/model/DescribeJobResult.cc
src/model/DescribeNFSClientStatusRequest.cc
src/model/DescribeNFSClientStatusResult.cc
src/model/DescribePriceRequest.cc
src/model/DescribePriceResult.cc
src/model/EditJobTemplateRequest.cc
src/model/EditJobTemplateResult.cc
src/model/GetAccountingReportRequest.cc
src/model/GetAccountingReportResult.cc
src/model/GetAutoScaleConfigRequest.cc
src/model/GetAutoScaleConfigResult.cc
src/model/GetCloudMetricLogsRequest.cc
src/model/GetCloudMetricLogsResult.cc
src/model/GetCloudMetricProfilingRequest.cc
src/model/GetCloudMetricProfilingResult.cc
src/model/GetClusterVolumesRequest.cc
src/model/GetClusterVolumesResult.cc
src/model/GetCommonImageRequest.cc
src/model/GetCommonImageResult.cc
src/model/GetGWSConnectTicketRequest.cc
src/model/GetGWSConnectTicketResult.cc
src/model/GetHybridClusterConfigRequest.cc
src/model/GetHybridClusterConfigResult.cc
src/model/GetIfEcsTypeSupportHtConfigRequest.cc
src/model/GetIfEcsTypeSupportHtConfigResult.cc
src/model/GetPostScriptsRequest.cc
src/model/GetPostScriptsResult.cc
src/model/GetSchedulerInfoRequest.cc
src/model/GetSchedulerInfoResult.cc
src/model/GetUserImageRequest.cc
src/model/GetUserImageResult.cc
src/model/GetVisualServiceStatusRequest.cc
src/model/GetVisualServiceStatusResult.cc
src/model/InitializeEHPCRequest.cc
src/model/InitializeEHPCResult.cc
src/model/InspectImageRequest.cc
src/model/InspectImageResult.cc
src/model/InstallSoftwareRequest.cc
src/model/InstallSoftwareResult.cc
src/model/InvokeShellCommandRequest.cc
src/model/InvokeShellCommandResult.cc
src/model/ListAvailableEcsTypesRequest.cc
src/model/ListAvailableEcsTypesResult.cc
src/model/ListCloudMetricProfilingsRequest.cc
src/model/ListCloudMetricProfilingsResult.cc
src/model/ListClusterLogsRequest.cc
src/model/ListClusterLogsResult.cc
src/model/ListClustersRequest.cc
src/model/ListClustersResult.cc
src/model/ListClustersMetaRequest.cc
src/model/ListClustersMetaResult.cc
src/model/ListCommandsRequest.cc
src/model/ListCommandsResult.cc
src/model/ListCommunityImagesRequest.cc
src/model/ListCommunityImagesResult.cc
src/model/ListContainerAppsRequest.cc
src/model/ListContainerAppsResult.cc
src/model/ListContainerImagesRequest.cc
src/model/ListContainerImagesResult.cc
src/model/ListCpfsFileSystemsRequest.cc
src/model/ListCpfsFileSystemsResult.cc
src/model/ListCurrentClientVersionRequest.cc
src/model/ListCurrentClientVersionResult.cc
src/model/ListCustomImagesRequest.cc
src/model/ListCustomImagesResult.cc
src/model/ListFileSystemWithMountTargetsRequest.cc
src/model/ListFileSystemWithMountTargetsResult.cc
src/model/ListImagesRequest.cc
src/model/ListImagesResult.cc
src/model/ListInstalledSoftwareRequest.cc
src/model/ListInstalledSoftwareResult.cc
src/model/ListInvocationResultsRequest.cc
src/model/ListInvocationResultsResult.cc
src/model/ListInvocationStatusRequest.cc
src/model/ListInvocationStatusResult.cc
src/model/ListJobTemplatesRequest.cc
src/model/ListJobTemplatesResult.cc
src/model/ListJobsRequest.cc
src/model/ListJobsResult.cc
src/model/ListJobsWithFiltersRequest.cc
src/model/ListJobsWithFiltersResult.cc
src/model/ListNodesRequest.cc
src/model/ListNodesResult.cc
src/model/ListNodesByQueueRequest.cc
src/model/ListNodesByQueueResult.cc
src/model/ListNodesNoPagingRequest.cc
src/model/ListNodesNoPagingResult.cc
src/model/ListPreferredEcsTypesRequest.cc
src/model/ListPreferredEcsTypesResult.cc
src/model/ListQueuesRequest.cc
src/model/ListQueuesResult.cc
src/model/ListRegionsRequest.cc
src/model/ListRegionsResult.cc
src/model/ListSecurityGroupsRequest.cc
src/model/ListSecurityGroupsResult.cc
src/model/ListSoftwaresRequest.cc
src/model/ListSoftwaresResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ListTasksRequest.cc
src/model/ListTasksResult.cc
src/model/ListUpgradeClientsRequest.cc
src/model/ListUpgradeClientsResult.cc
src/model/ListUsersRequest.cc
src/model/ListUsersResult.cc
src/model/ListUsersAsyncRequest.cc
src/model/ListUsersAsyncResult.cc
src/model/ListVolumesRequest.cc
src/model/ListVolumesResult.cc
src/model/ModifyClusterAttributesRequest.cc
src/model/ModifyClusterAttributesResult.cc
src/model/ModifyContainerAppAttributesRequest.cc
src/model/ModifyContainerAppAttributesResult.cc
src/model/ModifyImageGatewayConfigRequest.cc
src/model/ModifyImageGatewayConfigResult.cc
src/model/ModifyUserGroupsRequest.cc
src/model/ModifyUserGroupsResult.cc
src/model/ModifyUserPasswordsRequest.cc
src/model/ModifyUserPasswordsResult.cc
src/model/ModifyVisualServicePasswdRequest.cc
src/model/ModifyVisualServicePasswdResult.cc
src/model/MountNFSRequest.cc
src/model/MountNFSResult.cc
src/model/PullImageRequest.cc
src/model/PullImageResult.cc
src/model/QueryServicePackAndPriceRequest.cc
src/model/QueryServicePackAndPriceResult.cc
src/model/RecoverClusterRequest.cc
src/model/RecoverClusterResult.cc
src/model/RerunJobsRequest.cc
src/model/RerunJobsResult.cc
src/model/ResetNodesRequest.cc
src/model/ResetNodesResult.cc
src/model/RunCloudMetricProfilingRequest.cc
src/model/RunCloudMetricProfilingResult.cc
src/model/SetAutoScaleConfigRequest.cc
src/model/SetAutoScaleConfigResult.cc
src/model/SetJobUserRequest.cc
src/model/SetJobUserResult.cc
src/model/SetGWSClusterPolicyRequest.cc
src/model/SetGWSClusterPolicyResult.cc
src/model/SetGWSInstanceNameRequest.cc
src/model/SetGWSInstanceNameResult.cc
src/model/SetGWSInstanceUserRequest.cc
src/model/SetGWSInstanceUserResult.cc
src/model/SetPostScriptsRequest.cc
src/model/SetPostScriptsResult.cc
src/model/SetQueueRequest.cc
src/model/SetQueueResult.cc
src/model/SetSchedulerInfoRequest.cc
src/model/SetSchedulerInfoResult.cc
src/model/StartClusterRequest.cc
src/model/StartClusterResult.cc
src/model/StartGWSInstanceRequest.cc
src/model/StartGWSInstanceResult.cc
src/model/StartNodesRequest.cc
src/model/StartNodesResult.cc
src/model/StartVisualServiceRequest.cc
src/model/StartVisualServiceResult.cc
src/model/StopClusterRequest.cc
src/model/StopClusterResult.cc
src/model/StopGWSInstanceRequest.cc
src/model/StopGWSInstanceResult.cc
src/model/StopJobsRequest.cc
src/model/StopJobsResult.cc
src/model/StopNodesRequest.cc
src/model/StopNodesResult.cc
src/model/StopVisualServiceRequest.cc
src/model/StopVisualServiceResult.cc
src/model/SubmitJobRequest.cc
src/model/SubmitJobResult.cc
src/model/SummaryImagesRequest.cc
src/model/SummaryImagesResult.cc
src/model/SummaryImagesInfoRequest.cc
src/model/SummaryImagesInfoResult.cc
src/model/SyncUsersRequest.cc
src/model/SyncUsersResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UnTagResourcesRequest.cc
src/model/UnTagResourcesResult.cc
src/model/UninstallSoftwareRequest.cc
src/model/UninstallSoftwareResult.cc
src/model/UpdateClusterVolumesRequest.cc
src/model/UpdateClusterVolumesResult.cc
src/model/UpdateQueueConfigRequest.cc
src/model/UpdateQueueConfigResult.cc
src/model/UpgradeClientRequest.cc
src/model/UpgradeClientResult.cc )

File diff suppressed because it is too large Load Diff

View 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_EHPC_MODEL_ADDCONTAINERAPPREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDCONTAINERAPPREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT AddContainerAppRequest : public RpcServiceRequest {
public:
AddContainerAppRequest();
~AddContainerAppRequest();
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getRepository() const;
void setRepository(const std::string &repository);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getContainerType() const;
void setContainerType(const std::string &containerType);
std::string getName() const;
void setName(const std::string &name);
std::string getImageTag() const;
void setImageTag(const std::string &imageTag);
private:
std::string description_;
std::string repository_;
std::string accessKeyId_;
std::string containerType_;
std::string name_;
std::string imageTag_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDCONTAINERAPPREQUEST_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_EHPC_MODEL_ADDCONTAINERAPPRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDCONTAINERAPPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT AddContainerAppResult : public ServiceResult
{
public:
AddContainerAppResult();
explicit AddContainerAppResult(const std::string &payload);
~AddContainerAppResult();
std::vector<std::string> getContainerId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> containerId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDCONTAINERAPPRESULT_H_

View 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_EHPC_MODEL_ADDEXISTEDNODESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDEXISTEDNODESREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT AddExistedNodesRequest : public RpcServiceRequest {
public:
struct Instance {
std::string id;
};
AddExistedNodesRequest();
~AddExistedNodesRequest();
std::string getImageId() const;
void setImageId(const std::string &imageId);
std::vector<Instance> getInstance() const;
void setInstance(const std::vector<Instance> &instance);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getJobQueue() const;
void setJobQueue(const std::string &jobQueue);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getImageOwnerAlias() const;
void setImageOwnerAlias(const std::string &imageOwnerAlias);
private:
std::string imageId_;
std::vector<Instance> instance_;
std::string clusterId_;
std::string jobQueue_;
std::string accessKeyId_;
std::string imageOwnerAlias_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDEXISTEDNODESREQUEST_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_EHPC_MODEL_ADDEXISTEDNODESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDEXISTEDNODESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT AddExistedNodesResult : public ServiceResult
{
public:
AddExistedNodesResult();
explicit AddExistedNodesResult(const std::string &payload);
~AddExistedNodesResult();
std::string getTaskId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDEXISTEDNODESRESULT_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_EHPC_MODEL_ADDLOCALNODESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDLOCALNODESREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT AddLocalNodesRequest : public RpcServiceRequest {
public:
AddLocalNodesRequest();
~AddLocalNodesRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getNodes() const;
void setNodes(const std::string &nodes);
std::string getQueue() const;
void setQueue(const std::string &queue);
private:
std::string clusterId_;
std::string accessKeyId_;
std::string nodes_;
std::string queue_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDLOCALNODESREQUEST_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_EHPC_MODEL_ADDLOCALNODESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDLOCALNODESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT AddLocalNodesResult : public ServiceResult
{
public:
AddLocalNodesResult();
explicit AddLocalNodesResult(const std::string &payload);
~AddLocalNodesResult();
std::vector<std::string> getInstanceIds()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> instanceIds_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDLOCALNODESRESULT_H_

View File

@@ -28,31 +28,111 @@ namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT AddNodesRequest : public RpcServiceRequest {
public:
struct DataDisks {
bool dataDiskDeleteWithInstance;
bool dataDiskEncrypted;
std::string dataDiskKMSKeyId;
int dataDiskSize;
std::string dataDiskCategory;
std::string dataDiskPerformanceLevel;
};
AddNodesRequest();
~AddNodesRequest();
std::string getImageId() const;
void setImageId(const std::string &imageId);
std::string getSystemDiskLevel() const;
void setSystemDiskLevel(const std::string &systemDiskLevel);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
bool getAllocatePublicAddress() const;
void setAllocatePublicAddress(bool allocatePublicAddress);
int getInternetMaxBandWidthOut() const;
void setInternetMaxBandWidthOut(int internetMaxBandWidthOut);
std::string getJobQueue() const;
void setJobQueue(const std::string &jobQueue);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getImageOwnerAlias() const;
void setImageOwnerAlias(const std::string &imageOwnerAlias);
std::string getSystemDiskType() const;
void setSystemDiskType(const std::string &systemDiskType);
std::vector<DataDisks> getDataDisks() const;
void setDataDisks(const std::vector<DataDisks> &dataDisks);
int getMinCount() const;
void setMinCount(int minCount);
int getSystemDiskSize() const;
void setSystemDiskSize(int systemDiskSize);
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
std::string getHostNamePrefix() const;
void setHostNamePrefix(const std::string &hostNamePrefix);
std::string getComputeSpotPriceLimit() const;
void setComputeSpotPriceLimit(const std::string &computeSpotPriceLimit);
int getAutoRenewPeriod() const;
void setAutoRenewPeriod(int autoRenewPeriod);
int getPeriod() const;
void setPeriod(int period);
int getCount() const;
void setCount(int count);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getComputeSpotStrategy() const;
void setComputeSpotStrategy(const std::string &computeSpotStrategy);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getImageOwnerAlias() const;
void setImageOwnerAlias(const std::string &imageOwnerAlias);
std::string getComputeSpotPriceLimit() const;
void setComputeSpotPriceLimit(const std::string &computeSpotPriceLimit);
std::string getHostNameSuffix() const;
void setHostNameSuffix(const std::string &hostNameSuffix);
bool getSync() const;
void setSync(bool sync);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getPeriodUnit() const;
void setPeriodUnit(const std::string &periodUnit);
bool getComputeEnableHt() const;
void setComputeEnableHt(bool computeEnableHt);
std::string getAutoRenew() const;
void setAutoRenew(const std::string &autoRenew);
std::string getEcsChargeType() const;
void setEcsChargeType(const std::string &ecsChargeType);
std::string getInternetChargeType() const;
void setInternetChargeType(const std::string &internetChargeType);
std::string getCreateMode() const;
void setCreateMode(const std::string &createMode);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
int getInternetMaxBandWidthIn() const;
void setInternetMaxBandWidthIn(int internetMaxBandWidthIn);
private:
std::string imageId_;
std::string systemDiskLevel_;
std::string clientToken_;
bool allocatePublicAddress_;
int internetMaxBandWidthOut_;
std::string jobQueue_;
std::string accessKeyId_;
std::string imageOwnerAlias_;
std::string systemDiskType_;
std::vector<DataDisks> dataDisks_;
int minCount_;
int systemDiskSize_;
std::string instanceType_;
std::string hostNamePrefix_;
std::string computeSpotPriceLimit_;
int autoRenewPeriod_;
int period_;
int count_;
std::string clusterId_;
std::string computeSpotStrategy_;
std::string accessKeyId_;
std::string imageOwnerAlias_;
std::string computeSpotPriceLimit_;
std::string hostNameSuffix_;
bool sync_;
std::string vSwitchId_;
std::string periodUnit_;
bool computeEnableHt_;
std::string autoRenew_;
std::string ecsChargeType_;
std::string internetChargeType_;
std::string createMode_;
std::string zoneId_;
int internetMaxBandWidthIn_;
};
} // namespace Model
} // namespace EHPC

View File

@@ -37,11 +37,13 @@ namespace AlibabaCloud
AddNodesResult();
explicit AddNodesResult(const std::string &payload);
~AddNodesResult();
std::string getTaskId()const;
std::vector<std::string> getInstanceIds()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::vector<std::string> instanceIds_;
};

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_EHPC_MODEL_ADDQUEUEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDQUEUEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT AddQueueRequest : public RpcServiceRequest {
public:
AddQueueRequest();
~AddQueueRequest();
std::string getQueueName() const;
void setQueueName(const std::string &queueName);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::string queueName_;
std::string clusterId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDQUEUEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_SETJOBUSERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_SETJOBUSERRESULT_H_
#ifndef ALIBABACLOUD_EHPC_MODEL_ADDQUEUERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDQUEUERESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT SetJobUserResult : public ServiceResult
class ALIBABACLOUD_EHPC_EXPORT AddQueueResult : public ServiceResult
{
public:
SetJobUserResult();
explicit SetJobUserResult(const std::string &payload);
~SetJobUserResult();
AddQueueResult();
explicit AddQueueResult(const std::string &payload);
~AddQueueResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_SETJOBUSERRESULT_H_
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDQUEUERESULT_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_EHPC_MODEL_ADDSECURITYGROUPREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDSECURITYGROUPREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT AddSecurityGroupRequest : public RpcServiceRequest {
public:
AddSecurityGroupRequest();
~AddSecurityGroupRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getSecurityGroupId() const;
void setSecurityGroupId(const std::string &securityGroupId);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::string clientToken_;
std::string securityGroupId_;
std::string clusterId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDSECURITYGROUPREQUEST_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_EHPC_MODEL_ADDSECURITYGROUPRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDSECURITYGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT AddSecurityGroupResult : public ServiceResult
{
public:
AddSecurityGroupResult();
explicit AddSecurityGroupResult(const std::string &payload);
~AddSecurityGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDSECURITYGROUPRESULT_H_

View File

@@ -39,15 +39,12 @@ public:
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getReleaseInstance() const;
void setReleaseInstance(bool releaseInstance);
std::vector<User> getUser() const;
void setUser(const std::vector<User> &user);
private:
std::string clusterId_;
std::string accessKeyId_;
bool releaseInstance_;
std::vector<User> user_;
};
} // namespace Model

View File

@@ -0,0 +1,136 @@
/*
* 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_EHPC_MODEL_APPLYNODESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_APPLYNODESREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT ApplyNodesRequest : public RpcServiceRequest {
public:
struct ZoneInfos {
std::string vSwitchId;
std::string zoneId;
};
struct Tag {
std::string value;
std::string key;
};
struct InstanceTypeModel {
float maxPrice;
std::string targetImageId;
std::string instanceType;
};
ApplyNodesRequest();
~ApplyNodesRequest();
std::string getImageId() const;
void setImageId(const std::string &imageId);
int getMemory() const;
void setMemory(int memory);
std::string getSystemDiskLevel() const;
void setSystemDiskLevel(const std::string &systemDiskLevel);
bool getAllocatePublicAddress() const;
void setAllocatePublicAddress(bool allocatePublicAddress);
int getInternetMaxBandWidthOut() const;
void setInternetMaxBandWidthOut(int internetMaxBandWidthOut);
std::string getResourceAmountType() const;
void setResourceAmountType(const std::string &resourceAmountType);
bool getStrictResourceProvision() const;
void setStrictResourceProvision(bool strictResourceProvision);
std::string getJobQueue() const;
void setJobQueue(const std::string &jobQueue);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSystemDiskType() const;
void setSystemDiskType(const std::string &systemDiskType);
int getCores() const;
void setCores(int cores);
int getSystemDiskSize() const;
void setSystemDiskSize(int systemDiskSize);
std::vector<ZoneInfos> getZoneInfos() const;
void setZoneInfos(const std::vector<ZoneInfos> &zoneInfos);
std::string getHostNamePrefix() const;
void setHostNamePrefix(const std::string &hostNamePrefix);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
float getComputeSpotPriceLimit() const;
void setComputeSpotPriceLimit(float computeSpotPriceLimit);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getComputeSpotStrategy() const;
void setComputeSpotStrategy(const std::string &computeSpotStrategy);
std::string getHostNameSuffix() const;
void setHostNameSuffix(const std::string &hostNameSuffix);
std::string getPriorityStrategy() const;
void setPriorityStrategy(const std::string &priorityStrategy);
std::string getInstanceFamilyLevel() const;
void setInstanceFamilyLevel(const std::string &instanceFamilyLevel);
int getRound() const;
void setRound(int round);
std::string getInternetChargeType() const;
void setInternetChargeType(const std::string &internetChargeType);
int getInterval() const;
void setInterval(int interval);
std::vector<InstanceTypeModel> getInstanceTypeModel() const;
void setInstanceTypeModel(const std::vector<InstanceTypeModel> &instanceTypeModel);
int getInternetMaxBandWidthIn() const;
void setInternetMaxBandWidthIn(int internetMaxBandWidthIn);
int getTargetCapacity() const;
void setTargetCapacity(int targetCapacity);
bool getStrictSatisfiedTargetCapacity() const;
void setStrictSatisfiedTargetCapacity(bool strictSatisfiedTargetCapacity);
private:
std::string imageId_;
int memory_;
std::string systemDiskLevel_;
bool allocatePublicAddress_;
int internetMaxBandWidthOut_;
std::string resourceAmountType_;
bool strictResourceProvision_;
std::string jobQueue_;
std::string accessKeyId_;
std::string systemDiskType_;
int cores_;
int systemDiskSize_;
std::vector<ZoneInfos> zoneInfos_;
std::string hostNamePrefix_;
std::vector<Tag> tag_;
float computeSpotPriceLimit_;
std::string clusterId_;
std::string computeSpotStrategy_;
std::string hostNameSuffix_;
std::string priorityStrategy_;
std::string instanceFamilyLevel_;
int round_;
std::string internetChargeType_;
int interval_;
std::vector<InstanceTypeModel> instanceTypeModel_;
int internetMaxBandWidthIn_;
int targetCapacity_;
bool strictSatisfiedTargetCapacity_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_APPLYNODESREQUEST_H_

View 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_EHPC_MODEL_APPLYNODESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_APPLYNODESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT ApplyNodesResult : public ServiceResult
{
public:
ApplyNodesResult();
explicit ApplyNodesResult(const std::string &payload);
~ApplyNodesResult();
std::string getTaskId()const;
int getSatisfiedAmount()const;
std::vector<std::string> getInstanceIds()const;
std::string getDetail()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
int satisfiedAmount_;
std::vector<std::string> instanceIds_;
std::string detail_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_APPLYNODESRESULT_H_

View File

@@ -28,17 +28,104 @@ namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT CreateClusterRequest : public RpcServiceRequest {
public:
struct AdditionalVolumes {
std::string volumeType;
std::string volumeMountOption;
std::string volumeProtocol;
std::string localDirectory;
std::string remoteDirectory;
struct Roles {
std::string name;
};
std::vector<Roles> roles;
std::string volumeId;
std::string volumeMountpoint;
std::string location;
std::string jobQueue;
};
struct Tag {
std::string value;
std::string key;
};
struct PostInstallScript {
std::string args;
std::string url;
};
struct Application {
std::string tag;
};
CreateClusterRequest();
~CreateClusterRequest();
std::string getSccClusterId() const;
void setSccClusterId(const std::string &sccClusterId);
std::string getImageId() const;
void setImageId(const std::string &imageId);
std::vector<AdditionalVolumes> getAdditionalVolumes() const;
void setAdditionalVolumes(const std::vector<AdditionalVolumes> &additionalVolumes);
std::string getEcsOrderManagerInstanceType() const;
void setEcsOrderManagerInstanceType(const std::string &ecsOrderManagerInstanceType);
std::string getKeyPairName() const;
void setKeyPairName(const std::string &keyPairName);
std::string getSecurityGroupName() const;
void setSecurityGroupName(const std::string &securityGroupName);
std::string getImageOwnerAlias() const;
void setImageOwnerAlias(const std::string &imageOwnerAlias);
std::string getDeployMode() const;
void setDeployMode(const std::string &deployMode);
int getEcsOrderManagerCount() const;
void setEcsOrderManagerCount(int ecsOrderManagerCount);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getPassword() const;
void setPassword(const std::string &password);
int getEcsOrderLoginCount() const;
void setEcsOrderLoginCount(int ecsOrderLoginCount);
bool getWithoutElasticIp() const;
void setWithoutElasticIp(bool withoutElasticIp);
std::string getRemoteVisEnable() const;
void setRemoteVisEnable(const std::string &remoteVisEnable);
int getSystemDiskSize() const;
void setSystemDiskSize(int systemDiskSize);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getComputeSpotPriceLimit() const;
void setComputeSpotPriceLimit(const std::string &computeSpotPriceLimit);
int getAutoRenewPeriod() const;
void setAutoRenewPeriod(int autoRenewPeriod);
int getPeriod() const;
void setPeriod(int period);
std::string getRemoteDirectory() const;
void setRemoteDirectory(const std::string &remoteDirectory);
int getEcsOrderComputeCount() const;
void setEcsOrderComputeCount(int ecsOrderComputeCount);
std::string getComputeSpotStrategy() const;
void setComputeSpotStrategy(const std::string &computeSpotStrategy);
std::vector<PostInstallScript> getPostInstallScript() const;
void setPostInstallScript(const std::vector<PostInstallScript> &postInstallScript);
std::vector<std::string> getRamNodeTypes() const;
void setRamNodeTypes(const std::vector<std::string> &ramNodeTypes);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getPeriodUnit() const;
void setPeriodUnit(const std::string &periodUnit);
bool getComputeEnableHt() const;
void setComputeEnableHt(bool computeEnableHt);
std::string getAutoRenew() const;
void setAutoRenew(const std::string &autoRenew);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getName() const;
void setName(const std::string &name);
std::string getVolumeId() const;
void setVolumeId(const std::string &volumeId);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
std::string getSccClusterId() const;
void setSccClusterId(const std::string &sccClusterId);
std::string getVolumeMountOption() const;
void setVolumeMountOption(const std::string &volumeMountOption);
std::string getImageId() const;
void setImageId(const std::string &imageId);
std::string getSystemDiskLevel() const;
void setSystemDiskLevel(const std::string &systemDiskLevel);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getEhpcVersion() const;
void setEhpcVersion(const std::string &ehpcVersion);
std::string getAccountType() const;
@@ -47,93 +134,110 @@ public:
void setSecurityGroupId(const std::string &securityGroupId);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getKeyPairName() const;
void setKeyPairName(const std::string &keyPairName);
std::string getSecurityGroupName() const;
void setSecurityGroupName(const std::string &securityGroupName);
std::string getEcsOrderComputeInstanceType() const;
void setEcsOrderComputeInstanceType(const std::string &ecsOrderComputeInstanceType);
std::string getJobQueue() const;
void setJobQueue(const std::string &jobQueue);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getImageOwnerAlias() const;
void setImageOwnerAlias(const std::string &imageOwnerAlias);
std::string getVolumeType() const;
void setVolumeType(const std::string &volumeType);
int getEcsOrderManagerCount() const;
void setEcsOrderManagerCount(int ecsOrderManagerCount);
std::string getPassword() const;
void setPassword(const std::string &password);
int getEcsOrderLoginCount() const;
void setEcsOrderLoginCount(int ecsOrderLoginCount);
std::string getComputeSpotPriceLimit() const;
void setComputeSpotPriceLimit(const std::string &computeSpotPriceLimit);
std::string getSystemDiskType() const;
void setSystemDiskType(const std::string &systemDiskType);
std::string getVolumeProtocol() const;
void setVolumeProtocol(const std::string &volumeProtocol);
std::string getClientVersion() const;
void setClientVersion(const std::string &clientVersion);
std::string getOsTag() const;
void setOsTag(const std::string &osTag);
std::string getRemoteDirectory() const;
void setRemoteDirectory(const std::string &remoteDirectory);
int getEcsOrderComputeCount() const;
void setEcsOrderComputeCount(int ecsOrderComputeCount);
std::string getComputeSpotStrategy() const;
void setComputeSpotStrategy(const std::string &computeSpotStrategy);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getClusterVersion() const;
void setClusterVersion(const std::string &clusterVersion);
bool getIsComputeEss() const;
void setIsComputeEss(bool isComputeEss);
std::string getRamRoleName() const;
void setRamRoleName(const std::string &ramRoleName);
std::string getPlugin() const;
void setPlugin(const std::string &plugin);
std::vector<Application> getApplication() const;
void setApplication(const std::vector<Application> &application);
std::string getEcsChargeType() const;
void setEcsChargeType(const std::string &ecsChargeType);
std::string getInputFileUrl() const;
void setInputFileUrl(const std::string &inputFileUrl);
std::string getVpcId() const;
void setVpcId(const std::string &vpcId);
bool getHaEnable() const;
void setHaEnable(bool haEnable);
std::string getName() const;
void setName(const std::string &name);
bool getWithoutAgent() const;
void setWithoutAgent(bool withoutAgent);
std::string getSchedulerType() const;
void setSchedulerType(const std::string &schedulerType);
std::string getVolumeId() const;
void setVolumeId(const std::string &volumeId);
std::string getVolumeMountpoint() const;
void setVolumeMountpoint(const std::string &volumeMountpoint);
std::string getEcsOrderLoginInstanceType() const;
void setEcsOrderLoginInstanceType(const std::string &ecsOrderLoginInstanceType);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
private:
std::string sccClusterId_;
std::string imageId_;
std::vector<AdditionalVolumes> additionalVolumes_;
std::string ecsOrderManagerInstanceType_;
std::string keyPairName_;
std::string securityGroupName_;
std::string imageOwnerAlias_;
std::string deployMode_;
int ecsOrderManagerCount_;
std::string resourceGroupId_;
std::string password_;
int ecsOrderLoginCount_;
bool withoutElasticIp_;
std::string remoteVisEnable_;
int systemDiskSize_;
std::vector<Tag> tag_;
std::string computeSpotPriceLimit_;
int autoRenewPeriod_;
int period_;
std::string remoteDirectory_;
int ecsOrderComputeCount_;
std::string computeSpotStrategy_;
std::vector<PostInstallScript> postInstallScript_;
std::vector<std::string> ramNodeTypes_;
std::string vSwitchId_;
std::string periodUnit_;
bool computeEnableHt_;
std::string autoRenew_;
std::string domain_;
std::string name_;
std::string volumeId_;
std::string zoneId_;
std::string sccClusterId_;
std::string volumeMountOption_;
std::string imageId_;
std::string systemDiskLevel_;
std::string clientToken_;
std::string ehpcVersion_;
std::string accountType_;
std::string securityGroupId_;
std::string description_;
std::string keyPairName_;
std::string securityGroupName_;
std::string ecsOrderComputeInstanceType_;
std::string jobQueue_;
std::string accessKeyId_;
std::string imageOwnerAlias_;
std::string volumeType_;
int ecsOrderManagerCount_;
std::string password_;
int ecsOrderLoginCount_;
std::string computeSpotPriceLimit_;
std::string systemDiskType_;
std::string volumeProtocol_;
std::string clientVersion_;
std::string osTag_;
std::string remoteDirectory_;
int ecsOrderComputeCount_;
std::string computeSpotStrategy_;
std::string vSwitchId_;
std::string clusterVersion_;
bool isComputeEss_;
std::string ramRoleName_;
std::string plugin_;
std::vector<Application> application_;
std::string ecsChargeType_;
std::string inputFileUrl_;
std::string vpcId_;
bool haEnable_;
std::string name_;
bool withoutAgent_;
std::string schedulerType_;
std::string volumeId_;
std::string volumeMountpoint_;
std::string ecsOrderLoginInstanceType_;
std::string zoneId_;
};
} // namespace Model
} // namespace EHPC

View File

@@ -37,11 +37,13 @@ namespace AlibabaCloud
CreateClusterResult();
explicit CreateClusterResult(const std::string &payload);
~CreateClusterResult();
std::string getTaskId()const;
std::string getClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string clusterId_;
};

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_EHPC_MODEL_CREATEGWSCLUSTERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSCLUSTERREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT CreateGWSClusterRequest : public RpcServiceRequest {
public:
CreateGWSClusterRequest();
~CreateGWSClusterRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getClusterType() const;
void setClusterType(const std::string &clusterType);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getVpcId() const;
void setVpcId(const std::string &vpcId);
std::string getName() const;
void setName(const std::string &name);
private:
std::string accessKeyId_;
std::string clusterType_;
std::string vSwitchId_;
std::string vpcId_;
std::string name_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSCLUSTERREQUEST_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_EHPC_MODEL_CREATEGWSCLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateGWSClusterResult : public ServiceResult
{
public:
CreateGWSClusterResult();
explicit CreateGWSClusterResult(const std::string &payload);
~CreateGWSClusterResult();
std::string getClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSCLUSTERRESULT_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_EHPC_MODEL_CREATEGWSIMAGEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT CreateGWSImageRequest : public RpcServiceRequest {
public:
CreateGWSImageRequest();
~CreateGWSImageRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getName() const;
void setName(const std::string &name);
private:
std::string accessKeyId_;
std::string instanceId_;
std::string name_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGEREQUEST_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_EHPC_MODEL_CREATEGWSIMAGERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateGWSImageResult : public ServiceResult
{
public:
CreateGWSImageResult();
explicit CreateGWSImageResult(const std::string &payload);
~CreateGWSImageResult();
std::string getImageId()const;
protected:
void parse(const std::string &payload);
private:
std::string imageId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGERESULT_H_

View File

@@ -0,0 +1,93 @@
/*
* 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_EHPC_MODEL_CREATEGWSINSTANCEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSINSTANCEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT CreateGWSInstanceRequest : public RpcServiceRequest {
public:
CreateGWSInstanceRequest();
~CreateGWSInstanceRequest();
std::string getImageId() const;
void setImageId(const std::string &imageId);
bool getAllocatePublicAddress() const;
void setAllocatePublicAddress(bool allocatePublicAddress);
std::string getAppList() const;
void setAppList(const std::string &appList);
int getInternetMaxBandwidthOut() const;
void setInternetMaxBandwidthOut(int internetMaxBandwidthOut);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSystemDiskCategory() const;
void setSystemDiskCategory(const std::string &systemDiskCategory);
int getSystemDiskSize() const;
void setSystemDiskSize(int systemDiskSize);
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
std::string getInstanceChargeType() const;
void setInstanceChargeType(const std::string &instanceChargeType);
std::string getPeriod() const;
void setPeriod(const std::string &period);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getWorkMode() const;
void setWorkMode(const std::string &workMode);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getPeriodUnit() const;
void setPeriodUnit(const std::string &periodUnit);
bool getAutoRenew() const;
void setAutoRenew(bool autoRenew);
std::string getInternetChargeType() const;
void setInternetChargeType(const std::string &internetChargeType);
std::string getName() const;
void setName(const std::string &name);
int getInternetMaxBandwidthIn() const;
void setInternetMaxBandwidthIn(int internetMaxBandwidthIn);
private:
std::string imageId_;
bool allocatePublicAddress_;
std::string appList_;
int internetMaxBandwidthOut_;
std::string accessKeyId_;
std::string systemDiskCategory_;
int systemDiskSize_;
std::string instanceType_;
std::string instanceChargeType_;
std::string period_;
std::string clusterId_;
std::string workMode_;
std::string vSwitchId_;
std::string periodUnit_;
bool autoRenew_;
std::string internetChargeType_;
std::string name_;
int internetMaxBandwidthIn_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSINSTANCEREQUEST_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_EHPC_MODEL_CREATEGWSINSTANCERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateGWSInstanceResult : public ServiceResult
{
public:
CreateGWSInstanceResult();
explicit CreateGWSInstanceResult(const std::string &payload);
~CreateGWSInstanceResult();
std::string getInstanceId()const;
protected:
void parse(const std::string &payload);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSINSTANCERESULT_H_

View File

@@ -0,0 +1,168 @@
/*
* 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_EHPC_MODEL_CREATEHYBRIDCLUSTERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEHYBRIDCLUSTERREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT CreateHybridClusterRequest : public RpcServiceRequest {
public:
struct PostInstallScript {
std::string args;
std::string url;
};
struct Nodes {
std::string ipAddress;
std::string hostName;
std::string role;
std::string schedulerType;
std::string accountType;
std::string dir;
};
struct Application {
std::string tag;
};
CreateHybridClusterRequest();
~CreateHybridClusterRequest();
std::string getEcsOrderManagerInstanceType() const;
void setEcsOrderManagerInstanceType(const std::string &ecsOrderManagerInstanceType);
std::string getKeyPairName() const;
void setKeyPairName(const std::string &keyPairName);
bool getMultiOs() const;
void setMultiOs(bool multiOs);
std::string getSecurityGroupName() const;
void setSecurityGroupName(const std::string &securityGroupName);
std::string getOnPremiseVolumeRemotePath() const;
void setOnPremiseVolumeRemotePath(const std::string &onPremiseVolumeRemotePath);
std::string getImageOwnerAlias() const;
void setImageOwnerAlias(const std::string &imageOwnerAlias);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getPassword() const;
void setPassword(const std::string &password);
float getComputeSpotPriceLimit() const;
void setComputeSpotPriceLimit(float computeSpotPriceLimit);
std::string getOnPremiseVolumeLocalPath() const;
void setOnPremiseVolumeLocalPath(const std::string &onPremiseVolumeLocalPath);
std::string getRemoteDirectory() const;
void setRemoteDirectory(const std::string &remoteDirectory);
std::string getComputeSpotStrategy() const;
void setComputeSpotStrategy(const std::string &computeSpotStrategy);
std::vector<PostInstallScript> getPostInstallScript() const;
void setPostInstallScript(const std::vector<PostInstallScript> &postInstallScript);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getName() const;
void setName(const std::string &name);
std::string getVolumeId() const;
void setVolumeId(const std::string &volumeId);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
std::string getImageId() const;
void setImageId(const std::string &imageId);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getEhpcVersion() const;
void setEhpcVersion(const std::string &ehpcVersion);
std::string getSecurityGroupId() const;
void setSecurityGroupId(const std::string &securityGroupId);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getEcsOrderComputeInstanceType() const;
void setEcsOrderComputeInstanceType(const std::string &ecsOrderComputeInstanceType);
std::string getJobQueue() const;
void setJobQueue(const std::string &jobQueue);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getVolumeType() const;
void setVolumeType(const std::string &volumeType);
std::string getOnPremiseVolumeMountPoint() const;
void setOnPremiseVolumeMountPoint(const std::string &onPremiseVolumeMountPoint);
std::string getOnPremiseVolumeProtocol() const;
void setOnPremiseVolumeProtocol(const std::string &onPremiseVolumeProtocol);
std::string getVolumeProtocol() const;
void setVolumeProtocol(const std::string &volumeProtocol);
std::string getClientVersion() const;
void setClientVersion(const std::string &clientVersion);
std::string getOsTag() const;
void setOsTag(const std::string &osTag);
std::vector<Nodes> getNodes() const;
void setNodes(const std::vector<Nodes> &nodes);
std::vector<Application> getApplication() const;
void setApplication(const std::vector<Application> &application);
std::string getVpcId() const;
void setVpcId(const std::string &vpcId);
std::string getVolumeMountpoint() const;
void setVolumeMountpoint(const std::string &volumeMountpoint);
bool getSchedulerPreInstall() const;
void setSchedulerPreInstall(bool schedulerPreInstall);
std::string getLocation() const;
void setLocation(const std::string &location);
private:
std::string ecsOrderManagerInstanceType_;
std::string keyPairName_;
bool multiOs_;
std::string securityGroupName_;
std::string onPremiseVolumeRemotePath_;
std::string imageOwnerAlias_;
std::string resourceGroupId_;
std::string password_;
float computeSpotPriceLimit_;
std::string onPremiseVolumeLocalPath_;
std::string remoteDirectory_;
std::string computeSpotStrategy_;
std::vector<PostInstallScript> postInstallScript_;
std::string vSwitchId_;
std::string domain_;
std::string name_;
std::string volumeId_;
std::string zoneId_;
std::string imageId_;
std::string clientToken_;
std::string ehpcVersion_;
std::string securityGroupId_;
std::string description_;
std::string ecsOrderComputeInstanceType_;
std::string jobQueue_;
std::string accessKeyId_;
std::string volumeType_;
std::string onPremiseVolumeMountPoint_;
std::string onPremiseVolumeProtocol_;
std::string volumeProtocol_;
std::string clientVersion_;
std::string osTag_;
std::vector<Nodes> nodes_;
std::vector<Application> application_;
std::string vpcId_;
std::string volumeMountpoint_;
bool schedulerPreInstall_;
std::string location_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEHYBRIDCLUSTERREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_EHPC_MODEL_CREATEHYBRIDCLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEHYBRIDCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateHybridClusterResult : public ServiceResult
{
public:
CreateHybridClusterResult();
explicit CreateHybridClusterResult(const std::string &payload);
~CreateHybridClusterResult();
std::string getTaskId()const;
std::string getClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEHYBRIDCLUSTERRESULT_H_

View 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_EHPC_MODEL_CREATEJOBFILEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEJOBFILEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT CreateJobFileRequest : public RpcServiceRequest {
public:
CreateJobFileRequest();
~CreateJobFileRequest();
std::string getTargetFile() const;
void setTargetFile(const std::string &targetFile);
std::string getRunasUserPassword() const;
void setRunasUserPassword(const std::string &runasUserPassword);
std::string getRunasUser() const;
void setRunasUser(const std::string &runasUser);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getContent() const;
void setContent(const std::string &content);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::string targetFile_;
std::string runasUserPassword_;
std::string runasUser_;
std::string clusterId_;
std::string content_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEJOBFILEREQUEST_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_EHPC_MODEL_CREATEJOBFILERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEJOBFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateJobFileResult : public ServiceResult
{
public:
CreateJobFileResult();
explicit CreateJobFileResult(const std::string &payload);
~CreateJobFileResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEJOBFILERESULT_H_

View File

@@ -32,16 +32,20 @@ public:
~CreateJobTemplateRequest();
std::string getStderrRedirectPath() const;
void setStderrRedirectPath(const std::string &stderrRedirectPath);
std::string getClockTime() const;
void setClockTime(const std::string &clockTime);
std::string getCommandLine() const;
void setCommandLine(const std::string &commandLine);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getArrayRequest() const;
void setArrayRequest(const std::string &arrayRequest);
std::string getUnzipCmd() const;
void setUnzipCmd(const std::string &unzipCmd);
std::string getPackagePath() const;
void setPackagePath(const std::string &packagePath);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getMem() const;
void setMem(const std::string &mem);
std::string getStdoutRedirectPath() const;
void setStdoutRedirectPath(const std::string &stdoutRedirectPath);
std::string getVariables() const;
@@ -50,24 +54,47 @@ public:
void setRunasUser(const std::string &runasUser);
bool getReRunable() const;
void setReRunable(bool reRunable);
int getThread() const;
void setThread(int thread);
int getPriority() const;
void setPriority(int priority);
int getGpu() const;
void setGpu(int gpu);
bool getWithUnzipCmd() const;
void setWithUnzipCmd(bool withUnzipCmd);
int getNode() const;
void setNode(int node);
int getTask() const;
void setTask(int task);
std::string getInputFileUrl() const;
void setInputFileUrl(const std::string &inputFileUrl);
std::string getName() const;
void setName(const std::string &name);
std::string getQueue() const;
void setQueue(const std::string &queue);
private:
std::string stderrRedirectPath_;
std::string clockTime_;
std::string commandLine_;
std::string accessKeyId_;
std::string arrayRequest_;
std::string unzipCmd_;
std::string packagePath_;
std::string regionId_;
std::string mem_;
std::string stdoutRedirectPath_;
std::string variables_;
std::string runasUser_;
bool reRunable_;
int thread_;
int priority_;
int gpu_;
bool withUnzipCmd_;
int node_;
int task_;
std::string inputFileUrl_;
std::string name_;
std::string queue_;
};
} // namespace Model
} // namespace EHPC

View File

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

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_EHPC_MODEL_DELETECONTAINERAPPSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETECONTAINERAPPSREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DeleteContainerAppsRequest : public RpcServiceRequest {
public:
struct ContainerApp {
std::string id;
};
DeleteContainerAppsRequest();
~DeleteContainerAppsRequest();
std::vector<ContainerApp> getContainerApp() const;
void setContainerApp(const std::vector<ContainerApp> &containerApp);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::vector<ContainerApp> containerApp_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETECONTAINERAPPSREQUEST_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_EHPC_MODEL_DELETECONTAINERAPPSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETECONTAINERAPPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DeleteContainerAppsResult : public ServiceResult
{
public:
DeleteContainerAppsResult();
explicit DeleteContainerAppsResult(const std::string &payload);
~DeleteContainerAppsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETECONTAINERAPPSRESULT_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_EHPC_MODEL_DELETEGWSCLUSTERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEGWSCLUSTERREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DeleteGWSClusterRequest : public RpcServiceRequest {
public:
DeleteGWSClusterRequest();
~DeleteGWSClusterRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::string clusterId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEGWSCLUSTERREQUEST_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_EHPC_MODEL_DELETEGWSCLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEGWSCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DeleteGWSClusterResult : public ServiceResult
{
public:
DeleteGWSClusterResult();
explicit DeleteGWSClusterResult(const std::string &payload);
~DeleteGWSClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEGWSCLUSTERRESULT_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_EHPC_MODEL_DELETEGWSINSTANCEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEGWSINSTANCEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DeleteGWSInstanceRequest : public RpcServiceRequest {
public:
DeleteGWSInstanceRequest();
~DeleteGWSInstanceRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string accessKeyId_;
std::string instanceId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEGWSINSTANCEREQUEST_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_EHPC_MODEL_DELETEGWSINSTANCERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEGWSINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DeleteGWSInstanceResult : public ServiceResult
{
public:
DeleteGWSInstanceResult();
explicit DeleteGWSInstanceResult(const std::string &payload);
~DeleteGWSInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEGWSINSTANCERESULT_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_EHPC_MODEL_DELETEIMAGEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEIMAGEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DeleteImageRequest : public RpcServiceRequest {
public:
DeleteImageRequest();
~DeleteImageRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getRepository() const;
void setRepository(const std::string &repository);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getContainerType() const;
void setContainerType(const std::string &containerType);
std::string getImageTag() const;
void setImageTag(const std::string &imageTag);
private:
std::string clusterId_;
std::string repository_;
std::string accessKeyId_;
std::string containerType_;
std::string imageTag_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEIMAGEREQUEST_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_EHPC_MODEL_DELETEIMAGERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DeleteImageResult : public ServiceResult
{
public:
DeleteImageResult();
explicit DeleteImageResult(const std::string &payload);
~DeleteImageResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEIMAGERESULT_H_

View File

@@ -34,13 +34,10 @@ public:
void setTemplates(const std::string &templates);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string templates_;
std::string accessKeyId_;
std::string regionId_;
};
} // namespace Model
} // namespace EHPC

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_EHPC_MODEL_DELETELOCALIMAGEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETELOCALIMAGEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DeleteLocalImageRequest : public RpcServiceRequest {
public:
DeleteLocalImageRequest();
~DeleteLocalImageRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getContainerType() const;
void setContainerType(const std::string &containerType);
std::string getImageName() const;
void setImageName(const std::string &imageName);
private:
std::string clusterId_;
std::string containerType_;
std::string imageName_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETELOCALIMAGEREQUEST_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_EHPC_MODEL_DELETELOCALIMAGERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETELOCALIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DeleteLocalImageResult : public ServiceResult
{
public:
DeleteLocalImageResult();
explicit DeleteLocalImageResult(const std::string &payload);
~DeleteLocalImageResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETELOCALIMAGERESULT_H_

View File

@@ -37,6 +37,8 @@ public:
void setInstance(const std::vector<Instance> &instance);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
bool getSync() const;
void setSync(bool sync);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getReleaseInstance() const;
@@ -45,6 +47,7 @@ public:
private:
std::vector<Instance> instance_;
std::string clusterId_;
bool sync_;
std::string accessKeyId_;
bool releaseInstance_;
};

View File

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

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_EHPC_MODEL_DELETEQUEUEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEQUEUEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DeleteQueueRequest : public RpcServiceRequest {
public:
DeleteQueueRequest();
~DeleteQueueRequest();
std::string getQueueName() const;
void setQueueName(const std::string &queueName);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::string queueName_;
std::string clusterId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEQUEUEREQUEST_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_EHPC_MODEL_DELETEQUEUERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEQUEUERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DeleteQueueResult : public ServiceResult
{
public:
DeleteQueueResult();
explicit DeleteQueueResult(const std::string &payload);
~DeleteQueueResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEQUEUERESULT_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_EHPC_MODEL_DELETESECURITYGROUPREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETESECURITYGROUPREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DeleteSecurityGroupRequest : public RpcServiceRequest {
public:
DeleteSecurityGroupRequest();
~DeleteSecurityGroupRequest();
std::string getSecurityGroupId() const;
void setSecurityGroupId(const std::string &securityGroupId);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::string securityGroupId_;
std::string clusterId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETESECURITYGROUPREQUEST_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_EHPC_MODEL_DELETESECURITYGROUPRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETESECURITYGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DeleteSecurityGroupResult : public ServiceResult
{
public:
DeleteSecurityGroupResult();
explicit DeleteSecurityGroupResult(const std::string &payload);
~DeleteSecurityGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETESECURITYGROUPRESULT_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_EHPC_MODEL_DESCRIBEAUTOSCALECONFIGREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEAUTOSCALECONFIGREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeAutoScaleConfigRequest : public RpcServiceRequest {
public:
DescribeAutoScaleConfigRequest();
~DescribeAutoScaleConfigRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::string clusterId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEAUTOSCALECONFIGREQUEST_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_EHPC_MODEL_DESCRIBEAUTOSCALECONFIGRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEAUTOSCALECONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeAutoScaleConfigResult : public ServiceResult
{
public:
DescribeAutoScaleConfigResult();
explicit DescribeAutoScaleConfigResult(const std::string &payload);
~DescribeAutoScaleConfigResult();
int getExtraNodesGrowRatio()const;
bool getEnableAutoGrow()const;
std::string getClusterId()const;
int getMaxNodesInCluster()const;
int getShrinkIdleTimes()const;
bool getEnableAutoShrink()const;
std::string getClusterType()const;
int getGrowRatio()const;
int getGrowIntervalInMinutes()const;
std::string getUid()const;
int getGrowTimeoutInMinutes()const;
int getShrinkIntervalInMinutes()const;
std::string getSpotPriceLimit()const;
std::string getExcludeNodes()const;
std::string getSpotStrategy()const;
protected:
void parse(const std::string &payload);
private:
int extraNodesGrowRatio_;
bool enableAutoGrow_;
std::string clusterId_;
int maxNodesInCluster_;
int shrinkIdleTimes_;
bool enableAutoShrink_;
std::string clusterType_;
int growRatio_;
int growIntervalInMinutes_;
std::string uid_;
int growTimeoutInMinutes_;
int shrinkIntervalInMinutes_;
std::string spotPriceLimit_;
std::string excludeNodes_;
std::string spotStrategy_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEAUTOSCALECONFIGRESULT_H_

View File

@@ -51,8 +51,14 @@ namespace AlibabaCloud
int count;
std::string instanceType;
};
struct ProxyMgr
{
int count;
std::string instanceType;
};
Compute compute;
Login login;
ProxyMgr proxyMgr;
Manager manager;
};
struct ApplicationInfo
@@ -61,31 +67,49 @@ namespace AlibabaCloud
std::string tag;
std::string name;
};
std::string imageOwnerAlias;
struct PostInstallScriptInfo
{
std::string args;
std::string url;
};
struct OnPremiseInfoItem
{
std::string type;
std::string iP;
std::string hostName;
};
std::string volumeProtocol;
std::string imageOwnerAlias;
std::string description;
std::string clientVersion;
std::vector<OnPremiseInfoItem> onPremiseInfo;
std::string name;
std::string volumeId;
std::string volumeType;
std::string deployMode;
std::string imageId;
std::string status;
std::string keyPairName;
std::string remoteDirectory;
std::string sccClusterId;
std::vector<ApplicationInfo> applications;
std::vector<PostInstallScriptInfo> postInstallScripts;
std::string securityGroupId;
std::string createTime;
std::string vSwitchId;
std::string schedulerType;
std::string accountType;
std::string baseOsTag;
std::string volumeMountpoint;
std::string imageName;
std::string vpcId;
EcsInfo ecsInfo;
bool haEnable;
std::string osTag;
std::string ecsChargeType;
std::string regionId;
std::string id;
std::string location;
};

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_EHPC_MODEL_DESCRIBECONTAINERAPPREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBECONTAINERAPPREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeContainerAppRequest : public RpcServiceRequest {
public:
DescribeContainerAppRequest();
~DescribeContainerAppRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getContainerId() const;
void setContainerId(const std::string &containerId);
private:
std::string accessKeyId_;
std::string containerId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBECONTAINERAPPREQUEST_H_

View 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_EHPC_MODEL_DESCRIBECONTAINERAPPRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBECONTAINERAPPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeContainerAppResult : public ServiceResult
{
public:
struct ContainerAppInfo
{
std::string type;
std::string repository;
std::string imageTag;
std::string description;
std::string createTime;
std::string id;
std::string name;
};
DescribeContainerAppResult();
explicit DescribeContainerAppResult(const std::string &payload);
~DescribeContainerAppResult();
ContainerAppInfo getContainerAppInfo()const;
protected:
void parse(const std::string &payload);
private:
ContainerAppInfo containerAppInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBECONTAINERAPPRESULT_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_EHPC_MODEL_DESCRIBEESTACKIMAGEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEESTACKIMAGEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeEstackImageRequest : public RpcServiceRequest {
public:
DescribeEstackImageRequest();
~DescribeEstackImageRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
int getPageSize() const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string accessKeyId_;
int pageSize_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEESTACKIMAGEREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_EHPC_MODEL_DESCRIBEESTACKIMAGERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEESTACKIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeEstackImageResult : public ServiceResult
{
public:
struct ImageListInfo
{
std::string imageName;
int imageSize;
std::string recentUpdateTime;
std::string imageUrl;
std::string imageType;
};
DescribeEstackImageResult();
explicit DescribeEstackImageResult(const std::string &payload);
~DescribeEstackImageResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ImageListInfo> getImageList()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<ImageListInfo> imageList_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEESTACKIMAGERESULT_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_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSClusterPolicyRequest : public RpcServiceRequest {
public:
DescribeGWSClusterPolicyRequest();
~DescribeGWSClusterPolicyRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getAsyncMode() const;
void setAsyncMode(bool asyncMode);
std::string getTaskId() const;
void setTaskId(const std::string &taskId);
private:
std::string clusterId_;
std::string accessKeyId_;
bool asyncMode_;
std::string taskId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYREQUEST_H_

View 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_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSClusterPolicyResult : public ServiceResult
{
public:
DescribeGWSClusterPolicyResult();
explicit DescribeGWSClusterPolicyResult(const std::string &payload);
~DescribeGWSClusterPolicyResult();
std::string getLocalDrive()const;
std::string getUsbRedirect()const;
std::string getClipboard()const;
std::string getWatermark()const;
protected:
void parse(const std::string &payload);
private:
std::string localDrive_;
std::string usbRedirect_;
std::string clipboard_;
std::string watermark_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYRESULT_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_EHPC_MODEL_DESCRIBEGWSCLUSTERSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERSREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSClustersRequest : public RpcServiceRequest {
public:
DescribeGWSClustersRequest();
~DescribeGWSClustersRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string clusterId_;
int pageNumber_;
std::string accessKeyId_;
int pageSize_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_EHPC_MODEL_DESCRIBEGWSCLUSTERSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSClustersResult : public ServiceResult
{
public:
struct ClusterInfo
{
std::string status;
int instanceCount;
std::string vpcId;
std::string clusterId;
std::string createTime;
};
DescribeGWSClustersResult();
explicit DescribeGWSClustersResult(const std::string &payload);
~DescribeGWSClustersResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ClusterInfo> getClusters()const;
std::string getCallerType()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<ClusterInfo> clusters_;
std::string callerType_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERSRESULT_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_EHPC_MODEL_DESCRIBEGWSIMAGESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSIMAGESREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSImagesRequest : public RpcServiceRequest {
public:
DescribeGWSImagesRequest();
~DescribeGWSImagesRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
int getPageSize() const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string accessKeyId_;
int pageSize_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSIMAGESREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_EHPC_MODEL_DESCRIBEGWSIMAGESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSIMAGESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSImagesResult : public ServiceResult
{
public:
struct ImageInfo
{
std::string status;
std::string progress;
int size;
std::string createTime;
std::string imageId;
std::string imageType;
std::string name;
};
DescribeGWSImagesResult();
explicit DescribeGWSImagesResult(const std::string &payload);
~DescribeGWSImagesResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ImageInfo> getImages()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<ImageInfo> images_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSIMAGESRESULT_H_

View 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_EHPC_MODEL_DESCRIBEGWSINSTANCESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSINSTANCESREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSInstancesRequest : public RpcServiceRequest {
public:
DescribeGWSInstancesRequest();
~DescribeGWSInstancesRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
int getPageSize() const;
void setPageSize(int pageSize);
long getUserUid() const;
void setUserUid(long userUid);
std::string getUserName() const;
void setUserName(const std::string &userName);
private:
std::string clusterId_;
int pageNumber_;
std::string accessKeyId_;
std::string instanceId_;
int pageSize_;
long userUid_;
std::string userName_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSINSTANCESREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* 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_EHPC_MODEL_DESCRIBEGWSINSTANCESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSInstancesResult : public ServiceResult
{
public:
struct InstanceInfo
{
struct AppInfo
{
std::string appArgs;
std::string appPath;
std::string appName;
};
std::string status;
std::string userName;
std::string instanceId;
std::string clusterId;
std::string createTime;
std::string expireTime;
std::string instanceType;
std::vector<InstanceInfo::AppInfo> appList;
std::string workMode;
std::string name;
};
DescribeGWSInstancesResult();
explicit DescribeGWSInstancesResult(const std::string &payload);
~DescribeGWSInstancesResult();
std::vector<InstanceInfo> getInstances()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
std::vector<InstanceInfo> instances_;
int totalCount_;
int pageSize_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSINSTANCESRESULT_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_EHPC_MODEL_DESCRIBEIMAGEGATEWAYCONFIGREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGEGATEWAYCONFIGREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeImageGatewayConfigRequest : public RpcServiceRequest {
public:
DescribeImageGatewayConfigRequest();
~DescribeImageGatewayConfigRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::string clusterId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGEGATEWAYCONFIGREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_EHPC_MODEL_DESCRIBEIMAGEGATEWAYCONFIGRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGEGATEWAYCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeImageGatewayConfigResult : public ServiceResult
{
public:
struct Imagegw
{
struct LocationInfo
{
std::string remoteType;
std::string authentication;
std::string uRL;
std::string location;
};
std::string defaultImageLocation;
long pullUpdateTimeout;
std::string mongoDBURI;
std::vector<LocationInfo> locations;
std::string imageExpirationTimeout;
std::string updateDateTime;
};
DescribeImageGatewayConfigResult();
explicit DescribeImageGatewayConfigResult(const std::string &payload);
~DescribeImageGatewayConfigResult();
Imagegw getImagegw()const;
protected:
void parse(const std::string &payload);
private:
Imagegw imagegw_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGEGATEWAYCONFIGRESULT_H_

View 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_EHPC_MODEL_DESCRIBEIMAGEPRICEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGEPRICEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeImagePriceRequest : public RpcServiceRequest {
public:
DescribeImagePriceRequest();
~DescribeImagePriceRequest();
int getPeriod() const;
void setPeriod(int period);
int getAmount() const;
void setAmount(int amount);
std::string getImageId() const;
void setImageId(const std::string &imageId);
std::string getSkuCode() const;
void setSkuCode(const std::string &skuCode);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getPriceUnit() const;
void setPriceUnit(const std::string &priceUnit);
std::string getOrderType() const;
void setOrderType(const std::string &orderType);
private:
int period_;
int amount_;
std::string imageId_;
std::string skuCode_;
std::string accessKeyId_;
std::string priceUnit_;
std::string orderType_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGEPRICEREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_EHPC_MODEL_DESCRIBEIMAGEPRICERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGEPRICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeImagePriceResult : public ServiceResult
{
public:
DescribeImagePriceResult();
explicit DescribeImagePriceResult(const std::string &payload);
~DescribeImagePriceResult();
float getOriginalPrice()const;
int getAmount()const;
float getDiscountPrice()const;
std::string getImageId()const;
float getTradePrice()const;
protected:
void parse(const std::string &payload);
private:
float originalPrice_;
int amount_;
float discountPrice_;
std::string imageId_;
float tradePrice_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGEPRICERESULT_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_EHPC_MODEL_DESCRIBEIMAGEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeImageRequest : public RpcServiceRequest {
public:
DescribeImageRequest();
~DescribeImageRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getRepository() const;
void setRepository(const std::string &repository);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getContainerType() const;
void setContainerType(const std::string &containerType);
std::string getImageTag() const;
void setImageTag(const std::string &imageTag);
private:
std::string clusterId_;
std::string repository_;
std::string accessKeyId_;
std::string containerType_;
std::string imageTag_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGEREQUEST_H_

View 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_EHPC_MODEL_DESCRIBEIMAGERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeImageResult : public ServiceResult
{
public:
struct ImageInfo
{
std::string status;
std::string type;
std::string repository;
std::string imageId;
std::string updateDateTime;
std::string tag;
std::string system;
};
DescribeImageResult();
explicit DescribeImageResult(const std::string &payload);
~DescribeImageResult();
ImageInfo getImageInfo()const;
protected:
void parse(const std::string &payload);
private:
ImageInfo imageInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEIMAGERESULT_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_EHPC_MODEL_DESCRIBEJOBREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeJobRequest : public RpcServiceRequest {
public:
DescribeJobRequest();
~DescribeJobRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getJobId() const;
void setJobId(const std::string &jobId);
private:
std::string clusterId_;
std::string accessKeyId_;
std::string jobId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeJobResult : public ServiceResult
{
public:
struct Message
{
std::string jobInfo;
};
DescribeJobResult();
explicit DescribeJobResult(const std::string &payload);
~DescribeJobResult();
Message getMessage()const;
protected:
void parse(const std::string &payload);
private:
Message message_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBRESULT_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_EHPC_MODEL_DESCRIBENFSCLIENTSTATUSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBENFSCLIENTSTATUSREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeNFSClientStatusRequest : public RpcServiceRequest {
public:
DescribeNFSClientStatusRequest();
~DescribeNFSClientStatusRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string accessKeyId_;
std::string instanceId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBENFSCLIENTSTATUSREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_EHPC_MODEL_DESCRIBENFSCLIENTSTATUSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBENFSCLIENTSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeNFSClientStatusResult : public ServiceResult
{
public:
struct Result
{
std::string output;
int exitCode;
std::string invokeRecordStatus;
};
DescribeNFSClientStatusResult();
explicit DescribeNFSClientStatusResult(const std::string &payload);
~DescribeNFSClientStatusResult();
std::string getStatus()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBENFSCLIENTSTATUSRESULT_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_EHPC_MODEL_DESCRIBEPRICEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEPRICEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribePriceRequest : public RpcServiceRequest {
public:
struct Commodities {
int amount;
int period;
std::string nodeType;
struct DataDisks {
int size;
bool encrypted;
std::string performanceLevel;
std::string category;
bool deleteWithInstance;
};
std::vector<DataDisks> dataDisks;
std::string systemDiskCategory;
std::string internetChargeType;
std::string systemDiskPerformanceLevel;
int systemDiskSize;
int internetMaxBandWidthOut;
std::string instanceType;
std::string networkType;
};
DescribePriceRequest();
~DescribePriceRequest();
std::vector<Commodities> getCommodities() const;
void setCommodities(const std::vector<Commodities> &commodities);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getPriceUnit() const;
void setPriceUnit(const std::string &priceUnit);
std::string getChargeType() const;
void setChargeType(const std::string &chargeType);
std::string getOrderType() const;
void setOrderType(const std::string &orderType);
private:
std::vector<Commodities> commodities_;
std::string accessKeyId_;
std::string priceUnit_;
std::string chargeType_;
std::string orderType_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEPRICEREQUEST_H_

View 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_EHPC_MODEL_DESCRIBEPRICERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEPRICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribePriceResult : public ServiceResult
{
public:
struct PriceInfo
{
float originalPrice;
std::string nodeType;
std::string currency;
float tradePrice;
};
DescribePriceResult();
explicit DescribePriceResult(const std::string &payload);
~DescribePriceResult();
std::vector<PriceInfo> getPrices()const;
float getTotalTradePrice()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PriceInfo> prices_;
float totalTradePrice_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEPRICERESULT_H_

View File

@@ -32,16 +32,20 @@ public:
~EditJobTemplateRequest();
std::string getStderrRedirectPath() const;
void setStderrRedirectPath(const std::string &stderrRedirectPath);
std::string getClockTime() const;
void setClockTime(const std::string &clockTime);
std::string getCommandLine() const;
void setCommandLine(const std::string &commandLine);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getArrayRequest() const;
void setArrayRequest(const std::string &arrayRequest);
std::string getUnzipCmd() const;
void setUnzipCmd(const std::string &unzipCmd);
std::string getPackagePath() const;
void setPackagePath(const std::string &packagePath);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getMem() const;
void setMem(const std::string &mem);
std::string getStdoutRedirectPath() const;
void setStdoutRedirectPath(const std::string &stdoutRedirectPath);
std::string getVariables() const;
@@ -50,27 +54,50 @@ public:
void setRunasUser(const std::string &runasUser);
bool getReRunable() const;
void setReRunable(bool reRunable);
int getThread() const;
void setThread(int thread);
std::string getTemplateId() const;
void setTemplateId(const std::string &templateId);
int getPriority() const;
void setPriority(int priority);
int getGpu() const;
void setGpu(int gpu);
bool getWithUnzipCmd() const;
void setWithUnzipCmd(bool withUnzipCmd);
int getNode() const;
void setNode(int node);
int getTask() const;
void setTask(int task);
std::string getInputFileUrl() const;
void setInputFileUrl(const std::string &inputFileUrl);
std::string getName() const;
void setName(const std::string &name);
std::string getQueue() const;
void setQueue(const std::string &queue);
private:
std::string stderrRedirectPath_;
std::string clockTime_;
std::string commandLine_;
std::string accessKeyId_;
std::string arrayRequest_;
std::string unzipCmd_;
std::string packagePath_;
std::string regionId_;
std::string mem_;
std::string stdoutRedirectPath_;
std::string variables_;
std::string runasUser_;
bool reRunable_;
int thread_;
std::string templateId_;
int priority_;
int gpu_;
bool withUnzipCmd_;
int node_;
int task_;
std::string inputFileUrl_;
std::string name_;
std::string queue_;
};
} // namespace Model
} // namespace EHPC

View File

@@ -0,0 +1,69 @@
/*
* 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_EHPC_MODEL_GETACCOUNTINGREPORTREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETACCOUNTINGREPORTREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetAccountingReportRequest : public RpcServiceRequest {
public:
GetAccountingReportRequest();
~GetAccountingReportRequest();
std::string getReportType() const;
void setReportType(const std::string &reportType);
int getEndTime() const;
void setEndTime(int endTime);
std::string getFilterValue() const;
void setFilterValue(const std::string &filterValue);
std::string getDim() const;
void setDim(const std::string &dim);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
int getStartTime() const;
void setStartTime(int startTime);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getJobId() const;
void setJobId(const std::string &jobId);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string reportType_;
int endTime_;
std::string filterValue_;
std::string dim_;
std::string clusterId_;
int startTime_;
int pageNumber_;
std::string accessKeyId_;
std::string jobId_;
int pageSize_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETACCOUNTINGREPORTREQUEST_H_

View 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_EHPC_MODEL_GETACCOUNTINGREPORTRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETACCOUNTINGREPORTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetAccountingReportResult : public ServiceResult
{
public:
GetAccountingReportResult();
explicit GetAccountingReportResult(const std::string &payload);
~GetAccountingReportResult();
std::string getMetrics()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<std::string> getData()const;
int getTotalCoreTime()const;
protected:
void parse(const std::string &payload);
private:
std::string metrics_;
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<std::string> data_;
int totalCoreTime_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETACCOUNTINGREPORTRESULT_H_

View File

@@ -32,6 +32,46 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT GetAutoScaleConfigResult : public ServiceResult
{
public:
struct QueueInfo
{
struct InstanceTypeInfo
{
std::string zoneId;
std::string vSwitchId;
std::string hostNamePrefix;
float spotPriceLimit;
std::string instanceType;
std::string spotStrategy;
};
struct DataDisksInfo
{
std::string dataDiskPerformanceLevel;
std::string dataDiskKMSKeyId;
bool dataDiskDeleteWithInstance;
bool dataDiskEncrypted;
int dataDiskSize;
std::string dataDiskCategory;
};
std::string hostNameSuffix;
int minNodesInQueue;
int maxNodesInQueue;
std::vector<QueueInfo::DataDisksInfo> dataDisks;
bool enableAutoGrow;
std::string resourceGroupId;
std::string queueImageId;
int systemDiskSize;
std::string systemDiskLevel;
long minNodesPerCycle;
long maxNodesPerCycle;
bool enableAutoShrink;
std::string systemDiskCategory;
std::string hostNamePrefix;
float spotPriceLimit;
std::vector<QueueInfo::InstanceTypeInfo> instanceTypes;
std::string instanceType;
std::string queueName;
std::string spotStrategy;
};
GetAutoScaleConfigResult();
@@ -48,8 +88,12 @@ namespace AlibabaCloud
int getGrowIntervalInMinutes()const;
std::string getUid()const;
int getGrowTimeoutInMinutes()const;
std::string getImageId()const;
int getShrinkIntervalInMinutes()const;
float getSpotPriceLimit()const;
std::vector<QueueInfo> getQueues()const;
std::string getExcludeNodes()const;
std::string getSpotStrategy()const;
protected:
void parse(const std::string &payload);
@@ -65,8 +109,12 @@ namespace AlibabaCloud
int growIntervalInMinutes_;
std::string uid_;
int growTimeoutInMinutes_;
std::string imageId_;
int shrinkIntervalInMinutes_;
float spotPriceLimit_;
std::vector<QueueInfo> queues_;
std::string excludeNodes_;
std::string spotStrategy_;
};
}

View File

@@ -0,0 +1,69 @@
/*
* 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_EHPC_MODEL_GETCLOUDMETRICLOGSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICLOGSREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetCloudMetricLogsRequest : public RpcServiceRequest {
public:
GetCloudMetricLogsRequest();
~GetCloudMetricLogsRequest();
std::string getMetricScope() const;
void setMetricScope(const std::string &metricScope);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
int getAggregationInterval() const;
void setAggregationInterval(int aggregationInterval);
bool getReverse() const;
void setReverse(bool reverse);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getAggregationType() const;
void setAggregationType(const std::string &aggregationType);
std::string getFilter() const;
void setFilter(const std::string &filter);
std::string getMetricCategories() const;
void setMetricCategories(const std::string &metricCategories);
int getFrom() const;
void setFrom(int from);
int getTo() const;
void setTo(int to);
private:
std::string metricScope_;
std::string clusterId_;
int aggregationInterval_;
bool reverse_;
std::string accessKeyId_;
std::string aggregationType_;
std::string filter_;
std::string metricCategories_;
int from_;
int to_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICLOGSREQUEST_H_

View 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_EHPC_MODEL_GETCLOUDMETRICLOGSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICLOGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetCloudMetricLogsResult : public ServiceResult
{
public:
struct MetricLog
{
std::string instanceId;
std::string diskDevice;
std::string hostname;
std::string networkInterface;
int time;
std::string metricData;
};
GetCloudMetricLogsResult();
explicit GetCloudMetricLogsResult(const std::string &payload);
~GetCloudMetricLogsResult();
std::vector<MetricLog> getMetricLogs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<MetricLog> metricLogs_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICLOGSRESULT_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_EHPC_MODEL_GETCLOUDMETRICPROFILINGREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICPROFILINGREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetCloudMetricProfilingRequest : public RpcServiceRequest {
public:
GetCloudMetricProfilingRequest();
~GetCloudMetricProfilingRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getProfilingId() const;
void setProfilingId(const std::string &profilingId);
private:
std::string clusterId_;
std::string accessKeyId_;
std::string regionId_;
std::string profilingId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICPROFILINGREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* 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_EHPC_MODEL_GETCLOUDMETRICPROFILINGRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICPROFILINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetCloudMetricProfilingResult : public ServiceResult
{
public:
struct SvgInfo
{
std::string type;
int size;
std::string url;
std::string name;
};
GetCloudMetricProfilingResult();
explicit GetCloudMetricProfilingResult(const std::string &payload);
~GetCloudMetricProfilingResult();
std::vector<SvgInfo> getSvgUrls()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SvgInfo> svgUrls_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICPROFILINGRESULT_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_EHPC_MODEL_GETCLUSTERVOLUMESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETCLUSTERVOLUMESREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetClusterVolumesRequest : public RpcServiceRequest {
public:
GetClusterVolumesRequest();
~GetClusterVolumesRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::string clusterId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCLUSTERVOLUMESREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* 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_EHPC_MODEL_GETCLUSTERVOLUMESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETCLUSTERVOLUMESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetClusterVolumesResult : public ServiceResult
{
public:
struct VolumeInfo
{
struct RoleInfo
{
std::string name;
};
std::string volumeProtocol;
std::string volumeId;
std::string remoteDirectory;
std::string localDirectory;
std::string volumeType;
std::string jobQueue;
bool mustKeep;
std::vector<VolumeInfo::RoleInfo> roles;
std::string volumeMountpoint;
std::string location;
};
GetClusterVolumesResult();
explicit GetClusterVolumesResult(const std::string &payload);
~GetClusterVolumesResult();
std::vector<VolumeInfo> getVolumes()const;
std::string getRegionId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<VolumeInfo> volumes_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCLUSTERVOLUMESRESULT_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_EHPC_MODEL_GETCOMMONIMAGEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETCOMMONIMAGEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetCommonImageRequest : public RpcServiceRequest {
public:
GetCommonImageRequest();
~GetCommonImageRequest();
std::string getContainType() const;
void setContainType(const std::string &containType);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getImageName() const;
void setImageName(const std::string &imageName);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string containType_;
std::string clusterId_;
std::string imageName_;
std::string regionId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCOMMONIMAGEREQUEST_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_EHPC_MODEL_GETCOMMONIMAGERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETCOMMONIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetCommonImageResult : public ServiceResult
{
public:
GetCommonImageResult();
explicit GetCommonImageResult(const std::string &payload);
~GetCommonImageResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCOMMONIMAGERESULT_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_EHPC_MODEL_GETGWSCONNECTTICKETREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETGWSCONNECTTICKETREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetGWSConnectTicketRequest : public RpcServiceRequest {
public:
GetGWSConnectTicketRequest();
~GetGWSConnectTicketRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getAppName() const;
void setAppName(const std::string &appName);
private:
std::string accessKeyId_;
std::string instanceId_;
std::string appName_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETGWSCONNECTTICKETREQUEST_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_EHPC_MODEL_GETGWSCONNECTTICKETRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETGWSCONNECTTICKETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetGWSConnectTicketResult : public ServiceResult
{
public:
GetGWSConnectTicketResult();
explicit GetGWSConnectTicketResult(const std::string &payload);
~GetGWSConnectTicketResult();
std::string getTicket()const;
protected:
void parse(const std::string &payload);
private:
std::string ticket_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETGWSCONNECTTICKETRESULT_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_EHPC_MODEL_GETHYBRIDCLUSTERCONFIGREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETHYBRIDCLUSTERCONFIGREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetHybridClusterConfigRequest : public RpcServiceRequest {
public:
GetHybridClusterConfigRequest();
~GetHybridClusterConfigRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getNode() const;
void setNode(const std::string &node);
private:
std::string clusterId_;
std::string accessKeyId_;
std::string node_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETHYBRIDCLUSTERCONFIGREQUEST_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_EHPC_MODEL_GETHYBRIDCLUSTERCONFIGRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETHYBRIDCLUSTERCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetHybridClusterConfigResult : public ServiceResult
{
public:
GetHybridClusterConfigResult();
explicit GetHybridClusterConfigResult(const std::string &payload);
~GetHybridClusterConfigResult();
std::string getClusterConfig()const;
protected:
void parse(const std::string &payload);
private:
std::string clusterConfig_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETHYBRIDCLUSTERCONFIGRESULT_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_EHPC_MODEL_GETIFECSTYPESUPPORTHTCONFIGREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETIFECSTYPESUPPORTHTCONFIGREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetIfEcsTypeSupportHtConfigRequest : public RpcServiceRequest {
public:
GetIfEcsTypeSupportHtConfigRequest();
~GetIfEcsTypeSupportHtConfigRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
private:
std::string accessKeyId_;
std::string instanceType_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETIFECSTYPESUPPORTHTCONFIGREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_GETIFECSTYPESUPPORTHTCONFIGRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETIFECSTYPESUPPORTHTCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetIfEcsTypeSupportHtConfigResult : public ServiceResult
{
public:
GetIfEcsTypeSupportHtConfigResult();
explicit GetIfEcsTypeSupportHtConfigResult(const std::string &payload);
~GetIfEcsTypeSupportHtConfigResult();
bool getDefaultHtEnabled()const;
bool getSupportHtConfig()const;
std::string getInstanceType()const;
protected:
void parse(const std::string &payload);
private:
bool defaultHtEnabled_;
bool supportHtConfig_;
std::string instanceType_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETIFECSTYPESUPPORTHTCONFIGRESULT_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_EHPC_MODEL_GETPOSTSCRIPTSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETPOSTSCRIPTSREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetPostScriptsRequest : public RpcServiceRequest {
public:
GetPostScriptsRequest();
~GetPostScriptsRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string clusterId_;
std::string accessKeyId_;
std::string regionId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETPOSTSCRIPTSREQUEST_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_EHPC_MODEL_GETPOSTSCRIPTSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETPOSTSCRIPTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetPostScriptsResult : public ServiceResult
{
public:
struct PostInstallScriptsItem
{
std::string args;
std::string url;
};
GetPostScriptsResult();
explicit GetPostScriptsResult(const std::string &payload);
~GetPostScriptsResult();
std::vector<PostInstallScriptsItem> getPostInstallScripts()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PostInstallScriptsItem> postInstallScripts_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETPOSTSCRIPTSRESULT_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_EHPC_MODEL_GETSCHEDULERINFOREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETSCHEDULERINFOREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetSchedulerInfoRequest : public RpcServiceRequest {
public:
struct Scheduler {
std::string schedName;
};
GetSchedulerInfoRequest();
~GetSchedulerInfoRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::vector<Scheduler> getScheduler() const;
void setScheduler(const std::vector<Scheduler> &scheduler);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string clusterId_;
std::string accessKeyId_;
std::vector<Scheduler> scheduler_;
std::string regionId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETSCHEDULERINFOREQUEST_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_EHPC_MODEL_GETSCHEDULERINFORESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETSCHEDULERINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetSchedulerInfoResult : public ServiceResult
{
public:
struct SchedInfoItem
{
std::string configuration;
std::string schedName;
};
GetSchedulerInfoResult();
explicit GetSchedulerInfoResult(const std::string &payload);
~GetSchedulerInfoResult();
std::vector<SchedInfoItem> getSchedInfo()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SchedInfoItem> schedInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETSCHEDULERINFORESULT_H_

View 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_EHPC_MODEL_GETUSERIMAGEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETUSERIMAGEREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetUserImageRequest : public RpcServiceRequest {
public:
GetUserImageRequest();
~GetUserImageRequest();
std::string getOSSBucket() const;
void setOSSBucket(const std::string &oSSBucket);
std::string getOSSEndPoint() const;
void setOSSEndPoint(const std::string &oSSEndPoint);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getContainerType() const;
void setContainerType(const std::string &containerType);
std::string getImagePath() const;
void setImagePath(const std::string &imagePath);
std::string getImageName() const;
void setImageName(const std::string &imageName);
private:
std::string oSSBucket_;
std::string oSSEndPoint_;
std::string clusterId_;
std::string containerType_;
std::string imagePath_;
std::string imageName_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETUSERIMAGEREQUEST_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_EHPC_MODEL_GETUSERIMAGERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETUSERIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetUserImageResult : public ServiceResult
{
public:
GetUserImageResult();
explicit GetUserImageResult(const std::string &payload);
~GetUserImageResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETUSERIMAGERESULT_H_

Some files were not shown because too many files have changed in this diff Show More