Support Container for CreateJob.

This commit is contained in:
sdk-team
2024-04-16 03:38:31 +00:00
parent e98b3a0c80
commit e95083301e
566 changed files with 2448 additions and 42930 deletions

View File

@@ -1 +1 @@
1.36.1891
1.36.1892

View File

@@ -21,557 +21,57 @@ 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/AddImageRequest.h
include/alibabacloud/ehpc/model/AddImageResult.h
include/alibabacloud/ehpc/model/CreateJobRequest.h
include/alibabacloud/ehpc/model/CreateJobResult.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/DescribeServerlessJobsRequest.h
include/alibabacloud/ehpc/model/DescribeServerlessJobsResult.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/GetJobLogRequest.h
include/alibabacloud/ehpc/model/GetJobLogResult.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/DescribeJobMetricDataRequest.h
include/alibabacloud/ehpc/model/DescribeJobMetricDataResult.h
include/alibabacloud/ehpc/model/DescribeJobMetricLastRequest.h
include/alibabacloud/ehpc/model/DescribeJobMetricLastResult.h
include/alibabacloud/ehpc/model/GetImageRequest.h
include/alibabacloud/ehpc/model/GetImageResult.h
include/alibabacloud/ehpc/model/GetJobRequest.h
include/alibabacloud/ehpc/model/GetJobResult.h
include/alibabacloud/ehpc/model/ListExecutorsRequest.h
include/alibabacloud/ehpc/model/ListExecutorsResult.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/ListJobExecutorsRequest.h
include/alibabacloud/ehpc/model/ListJobExecutorsResult.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/ListServerlessJobsRequest.h
include/alibabacloud/ehpc/model/ListServerlessJobsResult.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/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/StopServerlessJobsRequest.h
include/alibabacloud/ehpc/model/StopServerlessJobsResult.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/SubmitServerlessJobRequest.h
include/alibabacloud/ehpc/model/SubmitServerlessJobResult.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 )
include/alibabacloud/ehpc/model/RemoveImageRequest.h
include/alibabacloud/ehpc/model/RemoveImageResult.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/AddImageRequest.cc
src/model/AddImageResult.cc
src/model/CreateJobRequest.cc
src/model/CreateJobResult.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/DescribeServerlessJobsRequest.cc
src/model/DescribeServerlessJobsResult.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/GetJobLogRequest.cc
src/model/GetJobLogResult.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/DescribeJobMetricDataRequest.cc
src/model/DescribeJobMetricDataResult.cc
src/model/DescribeJobMetricLastRequest.cc
src/model/DescribeJobMetricLastResult.cc
src/model/GetImageRequest.cc
src/model/GetImageResult.cc
src/model/GetJobRequest.cc
src/model/GetJobResult.cc
src/model/ListExecutorsRequest.cc
src/model/ListExecutorsResult.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/ListJobExecutorsRequest.cc
src/model/ListJobExecutorsResult.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/ListServerlessJobsRequest.cc
src/model/ListServerlessJobsResult.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/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/StopServerlessJobsRequest.cc
src/model/StopServerlessJobsResult.cc
src/model/StopVisualServiceRequest.cc
src/model/StopVisualServiceResult.cc
src/model/SubmitJobRequest.cc
src/model/SubmitJobResult.cc
src/model/SubmitServerlessJobRequest.cc
src/model/SubmitServerlessJobResult.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 )
src/model/RemoveImageRequest.cc
src/model/RemoveImageResult.cc )
add_library(ehpc ${LIB_TYPE}
${ehpc_public_header}

File diff suppressed because it is too large Load Diff

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_ADDIMAGEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDIMAGEREQUEST_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 AddImageRequest : public RpcServiceRequest {
public:
struct ContainerImageSpec {
bool isACREnterprise;
std::string registryUrl;
struct RegistryCredential {
std::string server;
std::string password;
std::string userName;
};
RegistryCredential registryCredential;
std::string registryCriId;
bool isACRRegistry;
};
struct VMImageSpec {
std::string imageId;
};
AddImageRequest();
~AddImageRequest();
std::string getImageType() const;
void setImageType(const std::string &imageType);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getVersion() const;
void setVersion(const std::string &version);
std::string getName() const;
void setName(const std::string &name);
ContainerImageSpec getContainerImageSpec() const;
void setContainerImageSpec(const ContainerImageSpec &containerImageSpec);
VMImageSpec getVMImageSpec() const;
void setVMImageSpec(const VMImageSpec &vMImageSpec);
private:
std::string imageType_;
std::string description_;
std::string version_;
std::string name_;
ContainerImageSpec containerImageSpec_;
VMImageSpec vMImageSpec_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDIMAGEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGERESULT_H_
#ifndef ALIBABACLOUD_EHPC_MODEL_ADDIMAGERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDIMAGERESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateGWSImageResult : public ServiceResult
class ALIBABACLOUD_EHPC_EXPORT AddImageResult : public ServiceResult
{
public:
CreateGWSImageResult();
explicit CreateGWSImageResult(const std::string &payload);
~CreateGWSImageResult();
AddImageResult();
explicit AddImageResult(const std::string &payload);
~AddImageResult();
std::string getAppId()const;
std::string getImageId()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string appId_;
std::string imageId_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGERESULT_H_
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDIMAGERESULT_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,152 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_ADDNODESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDNODESREQUEST_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 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 getDnsConfig() const;
void setDnsConfig(const std::string &dnsConfig);
std::string getImageOwnerAlias() const;
void setImageOwnerAlias(const std::string &imageOwnerAlias);
std::vector<DataDisks> getDataDisks() const;
void setDataDisks(const std::vector<DataDisks> &dataDisks);
int getSystemDiskSize() const;
void setSystemDiskSize(int systemDiskSize);
std::string getHostNamePrefix() const;
void setHostNamePrefix(const std::string &hostNamePrefix);
std::string getComputeSpotInterruptionBehavior() const;
void setComputeSpotInterruptionBehavior(const std::string &computeSpotInterruptionBehavior);
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 getComputeSpotStrategy() const;
void setComputeSpotStrategy(const std::string &computeSpotStrategy);
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 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);
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 getSystemDiskType() const;
void setSystemDiskType(const std::string &systemDiskType);
int getMinCount() const;
void setMinCount(int minCount);
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getNetworkInterfaceTrafficMode() const;
void setNetworkInterfaceTrafficMode(const std::string &networkInterfaceTrafficMode);
int getComputeSpotDuration() const;
void setComputeSpotDuration(int computeSpotDuration);
std::string getEcsChargeType() const;
void setEcsChargeType(const std::string &ecsChargeType);
private:
std::string dnsConfig_;
std::string imageOwnerAlias_;
std::vector<DataDisks> dataDisks_;
int systemDiskSize_;
std::string hostNamePrefix_;
std::string computeSpotInterruptionBehavior_;
std::string computeSpotPriceLimit_;
int autoRenewPeriod_;
int period_;
int count_;
std::string computeSpotStrategy_;
std::string hostNameSuffix_;
bool sync_;
std::string vSwitchId_;
std::string periodUnit_;
bool computeEnableHt_;
std::string autoRenew_;
std::string internetChargeType_;
std::string createMode_;
std::string zoneId_;
int internetMaxBandWidthIn_;
std::string imageId_;
std::string systemDiskLevel_;
std::string clientToken_;
bool allocatePublicAddress_;
int internetMaxBandWidthOut_;
std::string jobQueue_;
std::string accessKeyId_;
std::string systemDiskType_;
int minCount_;
std::string instanceType_;
std::string clusterId_;
std::string networkInterfaceTrafficMode_;
int computeSpotDuration_;
std::string ecsChargeType_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDNODESREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_ADDNODESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDNODESRESULT_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 AddNodesResult : public ServiceResult
{
public:
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_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDNODESRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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 getDeploymentSetId() const;
void setDeploymentSetId(const std::string &deploymentSetId);
std::string getQueueName() const;
void setQueueName(const std::string &queueName);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getNetworkInterfaceTrafficMode() const;
void setNetworkInterfaceTrafficMode(const std::string &networkInterfaceTrafficMode);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getUseESS() const;
void setUseESS(bool useESS);
private:
std::string deploymentSetId_;
std::string queueName_;
std::string clusterId_;
std::string networkInterfaceTrafficMode_;
std::string accessKeyId_;
bool useESS_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDQUEUEREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_ADDQUEUERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDQUEUERESULT_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 AddQueueResult : public ServiceResult
{
public:
AddQueueResult();
explicit AddQueueResult(const std::string &payload);
~AddQueueResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDQUEUERESULT_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,56 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_ADDUSERSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDUSERSREQUEST_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 AddUsersRequest : public RpcServiceRequest {
public:
struct User {
std::string password;
std::string name;
std::string group;
};
AddUsersRequest();
~AddUsersRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getAsync() const;
void setAsync(bool async);
std::vector<User> getUser() const;
void setUser(const std::vector<User> &user);
private:
std::string clusterId_;
std::string accessKeyId_;
bool async_;
std::vector<User> user_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDUSERSREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_ADDUSERSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDUSERSRESULT_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 AddUsersResult : public ServiceResult
{
public:
AddUsersResult();
explicit AddUsersResult(const std::string &payload);
~AddUsersResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDUSERSRESULT_H_

View File

@@ -1,139 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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);
std::string getUserData() const;
void setUserData(const std::string &userData);
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_;
std::string userData_;
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

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,266 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATECLUSTERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATECLUSTERREQUEST_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 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 AddOns {
std::string deployMode;
float port;
std::string configFile;
bool defaultStart;
std::string name;
std::string dBType;
std::string version;
};
struct Tag {
std::string value;
std::string key;
};
struct PostInstallScript {
std::string args;
std::string url;
};
struct Application {
std::string tag;
};
CreateClusterRequest();
~CreateClusterRequest();
std::vector<AdditionalVolumes> getAdditionalVolumes() const;
void setAdditionalVolumes(const std::vector<AdditionalVolumes> &additionalVolumes);
std::vector<AddOns> getAddOns() const;
void setAddOns(const std::vector<AddOns> &addOns);
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);
bool getWithoutNas() const;
void setWithoutNas(bool withoutNas);
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;
void setAccountType(const std::string &accountType);
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 getSystemDiskType() const;
void setSystemDiskType(const std::string &systemDiskType);
std::string getDeploymentSetId() const;
void setDeploymentSetId(const std::string &deploymentSetId);
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 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 getNetworkInterfaceTrafficMode() const;
void setNetworkInterfaceTrafficMode(const std::string &networkInterfaceTrafficMode);
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);
bool getWithoutAgent() const;
void setWithoutAgent(bool withoutAgent);
std::string getSchedulerType() const;
void setSchedulerType(const std::string &schedulerType);
std::string getVolumeMountpoint() const;
void setVolumeMountpoint(const std::string &volumeMountpoint);
std::string getEcsOrderLoginInstanceType() const;
void setEcsOrderLoginInstanceType(const std::string &ecsOrderLoginInstanceType);
private:
std::vector<AdditionalVolumes> additionalVolumes_;
std::vector<AddOns> addOns_;
std::string ecsOrderManagerInstanceType_;
std::string keyPairName_;
std::string securityGroupName_;
bool withoutNas_;
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 ecsOrderComputeInstanceType_;
std::string jobQueue_;
std::string accessKeyId_;
std::string volumeType_;
std::string systemDiskType_;
std::string deploymentSetId_;
std::string volumeProtocol_;
std::string clientVersion_;
std::string osTag_;
std::string clusterVersion_;
bool isComputeEss_;
std::string ramRoleName_;
std::string networkInterfaceTrafficMode_;
std::string plugin_;
std::vector<Application> application_;
std::string ecsChargeType_;
std::string inputFileUrl_;
std::string vpcId_;
bool haEnable_;
bool withoutAgent_;
std::string schedulerType_;
std::string volumeMountpoint_;
std::string ecsOrderLoginInstanceType_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATECLUSTERREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATECLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATECLUSTERRESULT_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 CreateClusterResult : public ServiceResult
{
public:
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_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATECLUSTERRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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

@@ -1,93 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,191 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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 WinAdPar {
std::string adUser;
std::string adUserPasswd;
std::string adIp;
std::string adDc;
};
struct PostInstallScript {
std::string args;
std::string url;
};
struct OpenldapPar {
std::string fallbackHomeDir;
std::string baseDn;
std::string ldapServerIp;
};
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);
std::string getHybridClusterOpMode() const;
void setHybridClusterOpMode(const std::string &hybridClusterOpMode);
WinAdPar getWinAdPar() const;
void setWinAdPar(const WinAdPar &winAdPar);
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);
OpenldapPar getOpenldapPar() const;
void setOpenldapPar(const OpenldapPar &openldapPar);
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::string getPlugin() const;
void setPlugin(const std::string &plugin);
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_;
std::string hybridClusterOpMode_;
WinAdPar winAdPar_;
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_;
OpenldapPar openldapPar_;
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::string plugin_;
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

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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);
bool getAsync() const;
void setAsync(bool async);
private:
std::string targetFile_;
std::string runasUserPassword_;
std::string runasUser_;
std::string clusterId_;
std::string content_;
std::string accessKeyId_;
bool async_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEJOBFILEREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -0,0 +1,152 @@
/*
* 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_CREATEJOBREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEJOBREQUEST_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 CreateJobRequest : public RpcServiceRequest {
public:
struct MonitorPolicy {
struct NotificationSpec {
struct MNSTopicItem {
std::string string;
std::vector<std::string> event;
std::string topicLocation;
};
MNSTopicItem mNSTopicItem;
std::vector<MNSTopicItem> mNSTopic;
};
NotificationSpec notificationSpec;
};
struct DeploymentPolicy {
std::string allocationSpec;
struct Network {
bool enableERI;
std::string string;
std::vector<std::string> vswitch;
bool enableENIMapping;
};
Network network;
};
struct Tasks {
bool taskSustainable;
std::string taskName;
struct ExecutorPolicy {
int maxCount;
struct ArraySpec {
int indexStart;
int indexStep;
int indexEnd;
};
ArraySpec arraySpec;
};
ExecutorPolicy executorPolicy;
struct TaskSpec {
struct VolumeMountItem {
std::string mountOptions;
std::string volumeDriver;
std::string mountPath;
};
VolumeMountItem volumeMountItem;
std::vector<VolumeMountItem> volumeMount;
struct RetryPolicy {
int retryCount;
struct ExitCodeActionsItem {
std::string action;
std::string exitCode;
};
ExitCodeActionsItem exitCodeActionsItem;
std::vector<ExitCodeActionsItem> exitCodeActions;
};
RetryPolicy retryPolicy;
struct Resource {
float cores;
float memory;
struct DisksItem {
int size;
std::string type;
};
DisksItem disksItem;
std::vector<DisksItem> disks;
bool enableHT;
};
Resource resource;
std::string taskDuration;
struct TaskExecutorItem {
struct Container {
std::string image;
struct EnvironmentVarsItem {
std::string name;
std::string value;
};
EnvironmentVarsItem environmentVarsItem;
std::vector<EnvironmentVarsItem> environmentVars;
std::string workingDir;
std::string string;
std::vector<std::string> command;
};
Container container;
struct VM {
std::string image;
std::string prologScript;
struct EnvironmentVarsItem {
std::string name;
std::string value;
};
EnvironmentVarsItem environmentVarsItem;
std::vector<EnvironmentVarsItem> environmentVars;
std::string script;
};
VM vM;
};
TaskExecutorItem taskExecutorItem;
std::vector<TaskExecutorItem> taskExecutor;
};
TaskSpec taskSpec;
};
CreateJobRequest();
~CreateJobRequest();
MonitorPolicy getMonitorPolicy() const;
void setMonitorPolicy(const MonitorPolicy &monitorPolicy);
std::string getJobDescription() const;
void setJobDescription(const std::string &jobDescription);
DeploymentPolicy getDeploymentPolicy() const;
void setDeploymentPolicy(const DeploymentPolicy &deploymentPolicy);
std::string getJobName() const;
void setJobName(const std::string &jobName);
std::vector<Tasks> getTasks() const;
void setTasks(const std::vector<Tasks> &tasks);
private:
MonitorPolicy monitorPolicy_;
std::string jobDescription_;
DeploymentPolicy deploymentPolicy_;
std::string jobName_;
std::vector<Tasks> tasks_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEJOBREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_SUBMITJOBRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_SUBMITJOBRESULT_H_
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATEJOBRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEJOBRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT SubmitJobResult : public ServiceResult
class ALIBABACLOUD_EHPC_EXPORT CreateJobResult : public ServiceResult
{
public:
SubmitJobResult();
explicit SubmitJobResult(const std::string &payload);
~SubmitJobResult();
CreateJobResult();
explicit CreateJobResult(const std::string &payload);
~CreateJobResult();
std::string getJobId()const;
protected:
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_SUBMITJOBRESULT_H_
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEJOBRESULT_H_

View File

@@ -1,102 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATEJOBTEMPLATEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEJOBTEMPLATEREQUEST_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 CreateJobTemplateRequest : public RpcServiceRequest {
public:
CreateJobTemplateRequest();
~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 getMem() const;
void setMem(const std::string &mem);
std::string getStdoutRedirectPath() const;
void setStdoutRedirectPath(const std::string &stdoutRedirectPath);
std::string getVariables() const;
void setVariables(const std::string &variables);
std::string getRunasUser() const;
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 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
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEJOBTEMPLATEREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATEJOBTEMPLATERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEJOBTEMPLATERESULT_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 CreateJobTemplateResult : public ServiceResult
{
public:
CreateJobTemplateResult();
explicit CreateJobTemplateResult(const std::string &payload);
~CreateJobTemplateResult();
std::string getTemplateId()const;
protected:
void parse(const std::string &payload);
private:
std::string templateId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEJOBTEMPLATERESULT_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DELETECLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETECLUSTERRESULT_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 DeleteClusterResult : public ServiceResult
{
public:
DeleteClusterResult();
explicit DeleteClusterResult(const std::string &payload);
~DeleteClusterResult();
std::string getTaskId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETECLUSTERRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DELETEJOBTEMPLATESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEJOBTEMPLATESREQUEST_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 DeleteJobTemplatesRequest : public RpcServiceRequest {
public:
DeleteJobTemplatesRequest();
~DeleteJobTemplatesRequest();
std::string getTemplates() const;
void setTemplates(const std::string &templates);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
std::string templates_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEJOBTEMPLATESREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DELETEJOBTEMPLATESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEJOBTEMPLATESRESULT_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 DeleteJobTemplatesResult : public ServiceResult
{
public:
DeleteJobTemplatesResult();
explicit DeleteJobTemplatesResult(const std::string &payload);
~DeleteJobTemplatesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEJOBTEMPLATESRESULT_H_

View File

@@ -28,22 +28,26 @@ namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DeleteJobsRequest : public RpcServiceRequest {
public:
struct JobSpec {
std::string jobId;
struct TaskSpecItem {
std::string taskName;
int integer;
std::vector<int> arrayIndex;
};
TaskSpecItem taskSpecItem;
std::vector<TaskSpecItem> taskSpec;
};
DeleteJobsRequest();
~DeleteJobsRequest();
std::string getJobs() const;
void setJobs(const std::string &jobs);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getAsync() const;
void setAsync(bool async);
std::vector<JobSpec> getJobSpec() const;
void setJobSpec(const std::vector<JobSpec> &jobSpec);
std::vector<std::string> getExecutorIds() const;
void setExecutorIds(const std::vector<std::string> &executorIds);
private:
std::string jobs_;
std::string clusterId_;
std::string accessKeyId_;
bool async_;
std::vector<JobSpec> jobSpec_;
std::vector<std::string> executorIds_;
};
} // namespace Model
} // namespace EHPC

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DELETENODESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETENODESREQUEST_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 DeleteNodesRequest : public RpcServiceRequest {
public:
struct Instance {
std::string id;
};
DeleteNodesRequest();
~DeleteNodesRequest();
std::vector<Instance> getInstance() const;
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;
void setReleaseInstance(bool releaseInstance);
private:
std::vector<Instance> instance_;
std::string clusterId_;
bool sync_;
std::string accessKeyId_;
bool releaseInstance_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETENODESREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DELETENODESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETENODESRESULT_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 DeleteNodesResult : public ServiceResult
{
public:
DeleteNodesResult();
explicit DeleteNodesResult(const std::string &payload);
~DeleteNodesResult();
std::string getTaskId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETENODESRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DELETEUSERSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEUSERSREQUEST_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 DeleteUsersRequest : public RpcServiceRequest {
public:
struct User {
std::string name;
};
DeleteUsersRequest();
~DeleteUsersRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getAsync() const;
void setAsync(bool async);
std::vector<User> getUser() const;
void setUser(const std::vector<User> &user);
private:
std::string clusterId_;
std::string accessKeyId_;
bool async_;
std::vector<User> user_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEUSERSREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DELETEUSERSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEUSERSRESULT_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 DeleteUsersResult : public ServiceResult
{
public:
DeleteUsersResult();
explicit DeleteUsersResult(const std::string &payload);
~DeleteUsersResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEUSERSRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,79 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBECLUSTERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBECLUSTERREQUEST_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 DescribeClusterRequest : public RpcServiceRequest {
public:
DescribeClusterRequest();
~DescribeClusterRequest();
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_DESCRIBECLUSTERREQUEST_H_

View File

@@ -1,174 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBECLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBECLUSTERRESULT_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 DescribeClusterResult : public ServiceResult
{
public:
struct ClusterInfo
{
struct EcsInfo
{
struct Manager
{
int count;
std::string instanceType;
};
struct Compute
{
int count;
std::string instanceType;
};
struct Login
{
int count;
std::string instanceType;
};
struct ProxyMgr
{
int count;
std::string instanceType;
};
Compute compute;
Login login;
ProxyMgr proxyMgr;
Manager manager;
};
struct InitialImage
{
std::string imageOwnerAlias;
std::string osTag;
std::string imageId;
};
struct ApplicationInfo
{
std::string version;
std::string tag;
std::string name;
};
struct PostInstallScriptInfo
{
std::string args;
std::string url;
};
struct OnPremiseInfoItem
{
std::string type;
std::string iP;
std::string hostName;
};
struct AddOnsInfoItem
{
std::string status;
std::string softwareId;
std::string deployMode;
int port;
std::string uRL;
};
struct NodesInfo
{
std::string role;
std::string ipAddress;
std::string schedulerType;
std::string dir;
std::string accountType;
std::string hostName;
};
std::string volumeProtocol;
std::string resourceGroupId;
std::vector<AddOnsInfoItem> addOnsInfo;
std::string name;
std::string volumeId;
std::string ramRoleName;
std::string deployMode;
std::string openldapPar;
std::string imageId;
std::string status;
std::vector<PostInstallScriptInfo> postInstallScripts;
std::string vSwitchId;
std::string period;
std::string computeSpotStrategy;
std::string volumeMountpoint;
std::string vpcId;
EcsInfo ecsInfo;
std::string id;
std::string domain;
InitialImage initialImage;
std::string periodUnit;
std::string imageOwnerAlias;
std::string description;
std::string autoRenew;
std::string computeSpotPriceLimit;
std::string ramNodeTypes;
std::string clientVersion;
std::vector<OnPremiseInfoItem> onPremiseInfo;
std::string winAdPar;
std::string volumeType;
int schedulerPreInstall;
std::string autoRenewPeriod;
std::string keyPairName;
std::string remoteDirectory;
std::string sccClusterId;
std::vector<ApplicationInfo> applications;
std::string zoneId;
std::string clusterVersion;
std::string securityGroupId;
std::string createTime;
std::string schedulerType;
std::string accountType;
std::vector<NodesInfo> nodes;
std::string baseOsTag;
int withoutAgent;
std::string imageName;
std::string schedulerVersion;
bool haEnable;
std::string osTag;
std::string ecsChargeType;
std::string regionId;
std::string location;
std::string plugin;
};
DescribeClusterResult();
explicit DescribeClusterResult(const std::string &payload);
~DescribeClusterResult();
ClusterInfo getClusterInfo()const;
protected:
void parse(const std::string &payload);
private:
ClusterInfo clusterInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBECLUSTERRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,61 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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

@@ -1,67 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,76 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,67 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,59 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,61 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_GETJOBLOGREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETJOBLOGREQUEST_H_
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICDATAREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICDATAREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,32 +26,26 @@
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT GetJobLogRequest : public RpcServiceRequest {
class ALIBABACLOUD_EHPC_EXPORT DescribeJobMetricDataRequest : public RpcServiceRequest {
public:
GetJobLogRequest();
~GetJobLogRequest();
long getOffset() const;
void setOffset(long offset);
std::string getExecHost() const;
void setExecHost(const std::string &execHost);
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
DescribeJobMetricDataRequest();
~DescribeJobMetricDataRequest();
std::string getTaskName() const;
void setTaskName(const std::string &taskName);
std::string getJobId() const;
void setJobId(const std::string &jobId);
int getSize() const;
void setSize(int size);
std::string getMetricName() const;
void setMetricName(const std::string &metricName);
std::vector<int> getArrayIndex() const;
void setArrayIndex(const std::vector<int> &arrayIndex);
private:
long offset_;
std::string execHost_;
std::string clusterId_;
std::string accessKeyId_;
std::string taskName_;
std::string jobId_;
int size_;
std::string metricName_;
std::vector<int> arrayIndex_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_GETJOBLOGREQUEST_H_
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICDATAREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_ADDLOCALNODESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDLOCALNODESRESULT_H_
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICDATARESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICDATARESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,25 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT AddLocalNodesResult : public ServiceResult
class ALIBABACLOUD_EHPC_EXPORT DescribeJobMetricDataResult : public ServiceResult
{
public:
AddLocalNodesResult();
explicit AddLocalNodesResult(const std::string &payload);
~AddLocalNodesResult();
std::vector<std::string> getInstanceIds()const;
DescribeJobMetricDataResult();
explicit DescribeJobMetricDataResult(const std::string &payload);
~DescribeJobMetricDataResult();
int getPeriod()const;
std::string getDataPoints()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> instanceIds_;
int period_;
std::string dataPoints_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDLOCALNODESRESULT_H_
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICDATARESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBREQUEST_H_
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICLASTREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICLASTREQUEST_H_
#include <alibabacloud/ehpc/EHPCExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,26 +26,23 @@
namespace AlibabaCloud {
namespace EHPC {
namespace Model {
class ALIBABACLOUD_EHPC_EXPORT DescribeJobRequest : public RpcServiceRequest {
class ALIBABACLOUD_EHPC_EXPORT DescribeJobMetricLastRequest : 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);
DescribeJobMetricLastRequest();
~DescribeJobMetricLastRequest();
std::string getTaskName() const;
void setTaskName(const std::string &taskName);
std::string getJobId() const;
void setJobId(const std::string &jobId);
bool getAsync() const;
void setAsync(bool async);
std::vector<int> getArrayIndex() const;
void setArrayIndex(const std::vector<int> &arrayIndex);
private:
std::string clusterId_;
std::string accessKeyId_;
std::string taskName_;
std::string jobId_;
bool async_;
std::vector<int> arrayIndex_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBREQUEST_H_
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICLASTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBRESULT_H_
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICLASTRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICLASTRESULT_H_
#include <string>
#include <vector>
@@ -29,27 +29,28 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeJobResult : public ServiceResult
class ALIBABACLOUD_EHPC_EXPORT DescribeJobMetricLastResult : public ServiceResult
{
public:
struct Message
struct MetricInfo
{
std::string jobInfo;
std::string metric;
int arrayIndex;
};
DescribeJobResult();
explicit DescribeJobResult(const std::string &payload);
~DescribeJobResult();
Message getMessage()const;
DescribeJobMetricLastResult();
explicit DescribeJobMetricLastResult(const std::string &payload);
~DescribeJobMetricLastResult();
std::vector<MetricInfo> getMetrics()const;
protected:
void parse(const std::string &payload);
private:
Message message_;
std::vector<MetricInfo> metrics_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBRESULT_H_
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBMETRICLASTRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,59 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,74 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBESERVERLESSJOBSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBESERVERLESSJOBSREQUEST_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 DescribeServerlessJobsRequest : public RpcServiceRequest {
public:
DescribeServerlessJobsRequest();
~DescribeServerlessJobsRequest();
std::string getClusterId() const;
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::vector<std::string> getJobIds() const;
void setJobIds(const std::vector<std::string> &jobIds);
private:
std::string clusterId_;
std::string accessKeyId_;
std::vector<std::string> jobIds_;
};
} // namespace Model
} // namespace EHPC
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBESERVERLESSJOBSREQUEST_H_

View File

@@ -1,383 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBESERVERLESSJOBSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBESERVERLESSJOBSRESULT_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 DescribeServerlessJobsResult : public ServiceResult
{
public:
struct JobInfo
{
struct ArrayProperties
{
long indexStart;
long indexEnd;
long indexStep;
};
struct ContainerGroup
{
struct DnsConfig
{
struct Option
{
std::string value;
std::string name;
};
std::vector<Option> options;
std::vector<std::string> searches;
std::vector<std::string> nameServers;
};
struct EciSecurityContext
{
struct Sysctl
{
std::string value;
std::string name;
};
std::vector<Sysctl> sysctls;
};
struct Container
{
struct CurrentState
{
long signal;
std::string finishTime;
std::string message;
std::string state;
long exitCode;
std::string startTime;
std::string detailStatus;
std::string reason;
};
struct LivenessProbe
{
struct HttpGet
{
std::string path;
std::string scheme;
long port;
};
struct TcpSocket
{
long port;
std::string host;
};
long initialDelaySeconds;
long timeoutSeconds;
std::vector<std::string> execs;
HttpGet httpGet;
long periodSeconds;
TcpSocket tcpSocket;
long failureThreshold;
long successThreshold;
};
struct PreviousState
{
long signal;
std::string finishTime;
std::string message;
std::string state;
long exitCode;
std::string startTime;
std::string detailStatus;
std::string reason;
};
struct ReadinessProbe
{
struct HttpGet2
{
std::string path;
std::string scheme;
long port;
};
struct TcpSocket3
{
long port;
std::string host;
};
long initialDelaySeconds;
long timeoutSeconds;
HttpGet2 httpGet2;
TcpSocket3 tcpSocket3;
std::vector<std::string> execs1;
long periodSeconds;
long failureThreshold;
long successThreshold;
};
struct SecurityContext
{
struct Capability
{
std::vector<std::string> adds;
};
long runAsUser;
Capability capability;
bool readOnlyRootFilesystem;
};
struct EnvironmentVar
{
struct ValueFrom
{
struct FieldRef
{
std::string fieldPath;
};
FieldRef fieldRef;
};
ValueFrom valueFrom;
std::string value;
std::string key;
};
struct Port
{
long port;
std::string protocol;
};
struct VolumeMount
{
std::string mountPath;
bool readOnly;
std::string subPath;
std::string mountPropagation;
std::string name;
};
ReadinessProbe readinessProbe;
std::vector<Container::EnvironmentVar> environmentVars;
std::vector<std::string> args;
LivenessProbe livenessProbe;
float memory;
std::vector<Container::Port> ports;
float cpu;
std::string image;
int gpu;
PreviousState previousState;
bool stdinOnce;
std::string name;
bool stdin;
int restartCount;
bool ready;
std::string workingDir;
std::vector<Container::VolumeMount> volumeMounts;
std::string imagePullPolicy;
CurrentState currentState;
SecurityContext securityContext;
bool tty;
std::vector<std::string> commands;
};
struct Volume
{
struct ConfigFileVolumeConfigFileToPath
{
std::string path;
std::string content;
};
std::string emptyDirVolumeSizeLimit;
std::string flexVolumeFsType;
std::string nFSVolumeServer;
std::vector<Volume::ConfigFileVolumeConfigFileToPath> configFileVolumeConfigFileToPaths;
bool nFSVolumeReadOnly;
std::string name;
std::string nFSVolumePath;
std::string type;
std::string flexVolumeDriver;
std::string diskVolumeDiskId;
std::string flexVolumeOptions;
std::string emptyDirVolumeMedium;
std::string diskVolumeFsType;
};
struct Event
{
std::string type;
std::string lastTimestamp;
std::string message;
int count;
std::string firstTimestamp;
std::string reason;
std::string name;
};
struct HostAlias
{
std::string ip;
std::vector<std::string> hostnames;
};
struct InitContainer
{
struct CurrentState5
{
long signal;
std::string finishTime;
std::string message;
std::string state;
long exitCode;
std::string startTime;
std::string detailStatus;
std::string reason;
};
struct PreviousState6
{
long signal;
std::string finishTime;
std::string message;
std::string state;
long exitCode;
std::string startTime;
std::string detailStatus;
std::string reason;
};
struct SecurityContext7
{
struct Capability16
{
std::vector<std::string> adds17;
};
long runAsUser;
bool readOnlyRootFilesystem;
Capability16 capability16;
};
struct EnvironmentVar11
{
struct ValueFrom12
{
struct FieldRef13
{
std::string fieldPath;
};
FieldRef13 fieldRef13;
};
std::string value;
std::string key;
ValueFrom12 valueFrom12;
};
struct Port14
{
long port;
std::string protocol;
};
struct VolumeMount15
{
std::string mountPath;
bool readOnly;
std::string mountPropagation;
std::string name;
};
PreviousState6 previousState6;
long memory;
long cpu;
std::string image;
long gpu;
std::string name;
CurrentState5 currentState5;
long restartCount;
std::vector<InitContainer::EnvironmentVar11> environmentVars8;
bool ready;
std::string workingDir;
std::vector<InitContainer::Port14> ports9;
std::vector<InitContainer::VolumeMount15> volumeMounts10;
std::string imagePullPolicy;
std::vector<std::string> command;
SecurityContext7 securityContext7;
std::vector<std::string> args4;
};
struct Tag
{
std::string value;
std::string key;
};
long discount;
std::string resourceGroupId;
float memory;
std::vector<ContainerGroup::Container> containers;
float cpu;
EciSecurityContext eciSecurityContext;
std::string tenantSecurityGroupId;
std::string failedTime;
std::string containerGroupName;
std::string intranetIp;
std::vector<ContainerGroup::Volume> volumes;
std::string ramRoleName;
DnsConfig dnsConfig;
std::string internetIp;
std::vector<ContainerGroup::Event> events;
std::string expiredTime;
float spotPriceLimit;
std::string instanceType;
std::vector<ContainerGroup::Tag> tags;
std::string spotStrategy;
std::string ipv6Address;
std::string status;
std::string tenantEniIp;
std::vector<ContainerGroup::InitContainer> initContainers;
std::string zoneId;
std::string succeededTime;
std::string securityGroupId;
std::string vSwitchId;
std::string restartPolicy;
std::string tenantEniInstanceId;
std::vector<ContainerGroup::HostAlias> hostAliases;
std::string tenantVSwitchId;
std::string vpcId;
std::string creationTime;
std::string eniInstanceId;
std::string containerGroupId;
std::string regionId;
long ephemeralStorage;
};
std::string user;
std::vector<JobInfo::ContainerGroup> containerGroups;
long endTime;
long priority;
std::string jobName;
long startTime;
long lastModifyTime;
long submitTime;
ArrayProperties arrayProperties;
std::string state;
bool isArrayJob;
std::string queue;
std::string jobId;
};
DescribeServerlessJobsResult();
explicit DescribeServerlessJobsResult(const std::string &payload);
~DescribeServerlessJobsResult();
int getTotalCount()const;
std::vector<JobInfo> getJobInfos()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<JobInfo> jobInfos_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBESERVERLESSJOBSRESULT_H_

View File

@@ -1,105 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_EDITJOBTEMPLATEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_EDITJOBTEMPLATEREQUEST_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 EditJobTemplateRequest : public RpcServiceRequest {
public:
EditJobTemplateRequest();
~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 getMem() const;
void setMem(const std::string &mem);
std::string getStdoutRedirectPath() const;
void setStdoutRedirectPath(const std::string &stdoutRedirectPath);
std::string getVariables() const;
void setVariables(const std::string &variables);
std::string getRunasUser() const;
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 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
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EHPC_MODEL_EDITJOBTEMPLATEREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_EDITJOBTEMPLATERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_EDITJOBTEMPLATERESULT_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 EditJobTemplateResult : public ServiceResult
{
public:
EditJobTemplateResult();
explicit EditJobTemplateResult(const std::string &payload);
~EditJobTemplateResult();
std::string getTemplateId()const;
protected:
void parse(const std::string &payload);
private:
std::string templateId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_EDITJOBTEMPLATERESULT_H_

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,61 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_GETAUTOSCALECONFIGREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETAUTOSCALECONFIGREQUEST_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 GetAutoScaleConfigRequest : public RpcServiceRequest {
public:
GetAutoScaleConfigRequest();
~GetAutoScaleConfigRequest();
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_GETAUTOSCALECONFIGREQUEST_H_

View File

@@ -1,131 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_GETAUTOSCALECONFIGRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETAUTOSCALECONFIGRESULT_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 GetAutoScaleConfigResult : public ServiceResult
{
public:
struct QueueInfo
{
struct InstanceTypeInfo
{
std::string spotInterruptionBehavior;
std::string zoneId;
std::string vSwitchId;
std::string hostNamePrefix;
float spotPriceLimit;
int spotDuration;
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;
bool sortedByInventory;
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;
bool autoMinNodesPerCycle;
std::string hostNamePrefix;
float spotPriceLimit;
std::vector<QueueInfo::InstanceTypeInfo> instanceTypes;
std::string instanceType;
std::string queueName;
std::string spotStrategy;
};
GetAutoScaleConfigResult();
explicit GetAutoScaleConfigResult(const std::string &payload);
~GetAutoScaleConfigResult();
int getExtraNodesGrowRatio()const;
bool getEnableAutoGrow()const;
bool getComputeEnableHt()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;
std::string getDnsConfig()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);
private:
int extraNodesGrowRatio_;
bool enableAutoGrow_;
bool computeEnableHt_;
std::string clusterId_;
int maxNodesInCluster_;
int shrinkIdleTimes_;
bool enableAutoShrink_;
std::string clusterType_;
int growRatio_;
int growIntervalInMinutes_;
std::string uid_;
int growTimeoutInMinutes_;
std::string dnsConfig_;
std::string imageId_;
int shrinkIntervalInMinutes_;
float spotPriceLimit_;
std::vector<QueueInfo> queues_;
std::string excludeNodes_;
std::string spotStrategy_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETAUTOSCALECONFIGRESULT_H_

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,58 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,70 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

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