@alicloud/ehpcinstant20230701 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +45 -3395
- package/dist/client.js +45 -3892
- package/dist/client.js.map +1 -1
- package/dist/models/AddImageRequest.d.ts +32 -0
- package/dist/models/AddImageRequest.js +76 -0
- package/dist/models/AddImageRequest.js.map +1 -0
- package/dist/models/AddImageRequestContainerImageSpec.d.ts +35 -0
- package/dist/models/AddImageRequestContainerImageSpec.js +70 -0
- package/dist/models/AddImageRequestContainerImageSpec.js.map +1 -0
- package/dist/models/AddImageRequestContainerImageSpecRegistryCredential.d.ts +30 -0
- package/dist/models/AddImageRequestContainerImageSpecRegistryCredential.js +64 -0
- package/dist/models/AddImageRequestContainerImageSpecRegistryCredential.js.map +1 -0
- package/dist/models/AddImageRequestVmimageSpec.d.ts +18 -0
- package/dist/models/AddImageRequestVmimageSpec.js +58 -0
- package/dist/models/AddImageRequestVmimageSpec.js.map +1 -0
- package/dist/models/AddImageResponse.d.ts +19 -0
- package/dist/models/AddImageResponse.js +69 -0
- package/dist/models/AddImageResponse.js.map +1 -0
- package/dist/models/AddImageResponseBody.d.ts +28 -0
- package/dist/models/AddImageResponseBody.js +62 -0
- package/dist/models/AddImageResponseBody.js.map +1 -0
- package/dist/models/AddImageShrinkRequest.d.ts +30 -0
- package/dist/models/AddImageShrinkRequest.js +68 -0
- package/dist/models/AddImageShrinkRequest.js.map +1 -0
- package/dist/models/CreateJobRequest.d.ts +37 -0
- package/dist/models/CreateJobRequest.js +80 -0
- package/dist/models/CreateJobRequest.js.map +1 -0
- package/dist/models/CreateJobRequestDeploymentPolicy.d.ts +23 -0
- package/dist/models/CreateJobRequestDeploymentPolicy.js +72 -0
- package/dist/models/CreateJobRequestDeploymentPolicy.js.map +1 -0
- package/dist/models/CreateJobRequestDeploymentPolicyNetwork.d.ts +15 -0
- package/dist/models/CreateJobRequestDeploymentPolicyNetwork.js +63 -0
- package/dist/models/CreateJobRequestDeploymentPolicyNetwork.js.map +1 -0
- package/dist/models/CreateJobRequestDeploymentPolicyTag.d.ts +19 -0
- package/dist/models/CreateJobRequestDeploymentPolicyTag.js +60 -0
- package/dist/models/CreateJobRequestDeploymentPolicyTag.js.map +1 -0
- package/dist/models/CreateJobRequestSecurityPolicy.d.ts +15 -0
- package/dist/models/CreateJobRequestSecurityPolicy.js +62 -0
- package/dist/models/CreateJobRequestSecurityPolicy.js.map +1 -0
- package/dist/models/CreateJobRequestSecurityPolicySecurityGroup.d.ts +14 -0
- package/dist/models/CreateJobRequestSecurityPolicySecurityGroup.js +61 -0
- package/dist/models/CreateJobRequestSecurityPolicySecurityGroup.js.map +1 -0
- package/dist/models/CreateJobRequestTasks.d.ts +27 -0
- package/dist/models/CreateJobRequestTasks.js +72 -0
- package/dist/models/CreateJobRequestTasks.js.map +1 -0
- package/dist/models/CreateJobRequestTasksExecutorPolicy.d.ts +20 -0
- package/dist/models/CreateJobRequestTasksExecutorPolicy.js +64 -0
- package/dist/models/CreateJobRequestTasksExecutorPolicy.js.map +1 -0
- package/dist/models/CreateJobRequestTasksExecutorPolicyArraySpec.d.ts +28 -0
- package/dist/models/CreateJobRequestTasksExecutorPolicyArraySpec.js +62 -0
- package/dist/models/CreateJobRequestTasksExecutorPolicyArraySpec.js.map +1 -0
- package/dist/models/CreateJobRequestTasksTaskSpec.d.ts +23 -0
- package/dist/models/CreateJobRequestTasksTaskSpec.js +74 -0
- package/dist/models/CreateJobRequestTasksTaskSpec.js.map +1 -0
- package/dist/models/CreateJobRequestTasksTaskSpecResource.d.ts +25 -0
- package/dist/models/CreateJobRequestTasksTaskSpecResource.js +66 -0
- package/dist/models/CreateJobRequestTasksTaskSpecResource.js.map +1 -0
- package/dist/models/CreateJobRequestTasksTaskSpecResourceDisks.d.ts +23 -0
- package/dist/models/CreateJobRequestTasksTaskSpecResourceDisks.js +60 -0
- package/dist/models/CreateJobRequestTasksTaskSpecResourceDisks.js.map +1 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutor.d.ts +17 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutor.js +68 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutor.js.map +1 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutorContainer.d.ts +30 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutorContainer.js +73 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutorContainer.js.map +1 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars.d.ts +23 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars.js +60 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars.js.map +1 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutorVm.d.ts +32 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutorVm.js +64 -0
- package/dist/models/CreateJobRequestTasksTaskSpecTaskExecutorVm.js.map +1 -0
- package/dist/models/CreateJobRequestTasksTaskSpecVolumeMount.d.ts +28 -0
- package/dist/models/CreateJobRequestTasksTaskSpecVolumeMount.js +62 -0
- package/dist/models/CreateJobRequestTasksTaskSpecVolumeMount.js.map +1 -0
- package/dist/models/CreateJobResponse.d.ts +19 -0
- package/dist/models/CreateJobResponse.js +69 -0
- package/dist/models/CreateJobResponse.js.map +1 -0
- package/dist/models/CreateJobResponseBody.d.ts +25 -0
- package/dist/models/CreateJobResponseBody.js +66 -0
- package/dist/models/CreateJobResponseBody.js.map +1 -0
- package/dist/models/CreateJobResponseBodyTasks.d.ts +15 -0
- package/dist/models/CreateJobResponseBodyTasks.js +63 -0
- package/dist/models/CreateJobResponseBodyTasks.js.map +1 -0
- package/dist/models/CreateJobShrinkRequest.d.ts +34 -0
- package/dist/models/CreateJobShrinkRequest.js +68 -0
- package/dist/models/CreateJobShrinkRequest.js.map +1 -0
- package/dist/models/CreatePoolRequest.d.ts +28 -0
- package/dist/models/CreatePoolRequest.js +66 -0
- package/dist/models/CreatePoolRequest.js.map +1 -0
- package/dist/models/CreatePoolRequestResourceLimits.d.ts +18 -0
- package/dist/models/CreatePoolRequestResourceLimits.js +58 -0
- package/dist/models/CreatePoolRequestResourceLimits.js.map +1 -0
- package/dist/models/CreatePoolResponse.d.ts +19 -0
- package/dist/models/CreatePoolResponse.js +69 -0
- package/dist/models/CreatePoolResponse.js.map +1 -0
- package/dist/models/CreatePoolResponseBody.d.ts +21 -0
- package/dist/models/CreatePoolResponseBody.js +58 -0
- package/dist/models/CreatePoolResponseBody.js.map +1 -0
- package/dist/models/CreatePoolShrinkRequest.d.ts +27 -0
- package/dist/models/CreatePoolShrinkRequest.js +62 -0
- package/dist/models/CreatePoolShrinkRequest.js.map +1 -0
- package/dist/models/DeleteJobsRequest.d.ts +16 -0
- package/dist/models/DeleteJobsRequest.js +67 -0
- package/dist/models/DeleteJobsRequest.js.map +1 -0
- package/dist/models/DeleteJobsRequestJobSpec.d.ts +20 -0
- package/dist/models/DeleteJobsRequestJobSpec.js +64 -0
- package/dist/models/DeleteJobsRequestJobSpec.js.map +1 -0
- package/dist/models/DeleteJobsRequestJobSpecTaskSpec.d.ts +19 -0
- package/dist/models/DeleteJobsRequestJobSpecTaskSpec.js +63 -0
- package/dist/models/DeleteJobsRequestJobSpecTaskSpec.js.map +1 -0
- package/dist/models/DeleteJobsResponse.d.ts +19 -0
- package/dist/models/DeleteJobsResponse.js +69 -0
- package/dist/models/DeleteJobsResponse.js.map +1 -0
- package/dist/models/DeleteJobsResponseBody.d.ts +18 -0
- package/dist/models/DeleteJobsResponseBody.js +58 -0
- package/dist/models/DeleteJobsResponseBody.js.map +1 -0
- package/dist/models/DeleteJobsShrinkRequest.d.ts +15 -0
- package/dist/models/DeleteJobsShrinkRequest.js +60 -0
- package/dist/models/DeleteJobsShrinkRequest.js.map +1 -0
- package/dist/models/DeletePoolRequest.d.ts +21 -0
- package/dist/models/DeletePoolRequest.js +58 -0
- package/dist/models/DeletePoolRequest.js.map +1 -0
- package/dist/models/DeletePoolResponse.d.ts +19 -0
- package/dist/models/DeletePoolResponse.js +69 -0
- package/dist/models/DeletePoolResponse.js.map +1 -0
- package/dist/models/DeletePoolResponseBody.d.ts +21 -0
- package/dist/models/DeletePoolResponseBody.js +58 -0
- package/dist/models/DeletePoolResponseBody.js.map +1 -0
- package/dist/models/DescribeJobMetricDataRequest.d.ts +29 -0
- package/dist/models/DescribeJobMetricDataRequest.js +67 -0
- package/dist/models/DescribeJobMetricDataRequest.js.map +1 -0
- package/dist/models/DescribeJobMetricDataResponse.d.ts +19 -0
- package/dist/models/DescribeJobMetricDataResponse.js +69 -0
- package/dist/models/DescribeJobMetricDataResponse.js.map +1 -0
- package/dist/models/DescribeJobMetricDataResponseBody.d.ts +28 -0
- package/dist/models/DescribeJobMetricDataResponseBody.js +62 -0
- package/dist/models/DescribeJobMetricDataResponseBody.js.map +1 -0
- package/dist/models/DescribeJobMetricDataShrinkRequest.d.ts +29 -0
- package/dist/models/DescribeJobMetricDataShrinkRequest.js +64 -0
- package/dist/models/DescribeJobMetricDataShrinkRequest.js.map +1 -0
- package/dist/models/DescribeJobMetricLastRequest.d.ts +24 -0
- package/dist/models/DescribeJobMetricLastRequest.js +65 -0
- package/dist/models/DescribeJobMetricLastRequest.js.map +1 -0
- package/dist/models/DescribeJobMetricLastResponse.d.ts +19 -0
- package/dist/models/DescribeJobMetricLastResponse.js +69 -0
- package/dist/models/DescribeJobMetricLastResponse.js.map +1 -0
- package/dist/models/DescribeJobMetricLastResponseBody.d.ts +20 -0
- package/dist/models/DescribeJobMetricLastResponseBody.js +64 -0
- package/dist/models/DescribeJobMetricLastResponseBody.js.map +1 -0
- package/dist/models/DescribeJobMetricLastResponseBodyMetrics.d.ts +23 -0
- package/dist/models/DescribeJobMetricLastResponseBodyMetrics.js +60 -0
- package/dist/models/DescribeJobMetricLastResponseBodyMetrics.js.map +1 -0
- package/dist/models/DescribeJobMetricLastShrinkRequest.d.ts +24 -0
- package/dist/models/DescribeJobMetricLastShrinkRequest.js +62 -0
- package/dist/models/DescribeJobMetricLastShrinkRequest.js.map +1 -0
- package/dist/models/GetAppVersionsRequest.d.ts +41 -0
- package/dist/models/GetAppVersionsRequest.js +66 -0
- package/dist/models/GetAppVersionsRequest.js.map +1 -0
- package/dist/models/GetAppVersionsResponse.d.ts +19 -0
- package/dist/models/GetAppVersionsResponse.js +69 -0
- package/dist/models/GetAppVersionsResponse.js.map +1 -0
- package/dist/models/GetAppVersionsResponseBody.d.ts +40 -0
- package/dist/models/GetAppVersionsResponseBody.js +72 -0
- package/dist/models/GetAppVersionsResponseBody.js.map +1 -0
- package/dist/models/GetAppVersionsResponseBodyAppVersions.d.ts +31 -0
- package/dist/models/GetAppVersionsResponseBodyAppVersions.js +62 -0
- package/dist/models/GetAppVersionsResponseBodyAppVersions.js.map +1 -0
- package/dist/models/GetImageRequest.d.ts +23 -0
- package/dist/models/GetImageRequest.js +62 -0
- package/dist/models/GetImageRequest.js.map +1 -0
- package/dist/models/GetImageResponse.d.ts +19 -0
- package/dist/models/GetImageResponse.js +69 -0
- package/dist/models/GetImageResponse.js.map +1 -0
- package/dist/models/GetImageResponseBody.d.ts +30 -0
- package/dist/models/GetImageResponseBody.js +68 -0
- package/dist/models/GetImageResponseBody.js.map +1 -0
- package/dist/models/GetImageResponseBodyImage.d.ts +50 -0
- package/dist/models/GetImageResponseBodyImage.js +90 -0
- package/dist/models/GetImageResponseBodyImage.js.map +1 -0
- package/dist/models/GetImageResponseBodyImageContainerImageSpec.d.ts +38 -0
- package/dist/models/GetImageResponseBodyImageContainerImageSpec.js +76 -0
- package/dist/models/GetImageResponseBodyImageContainerImageSpec.js.map +1 -0
- package/dist/models/GetImageResponseBodyImageContainerImageSpecRegistryCredential.d.ts +28 -0
- package/dist/models/GetImageResponseBodyImageContainerImageSpecRegistryCredential.js +62 -0
- package/dist/models/GetImageResponseBodyImageContainerImageSpecRegistryCredential.js.map +1 -0
- package/dist/models/GetImageResponseBodyImageDocumentInfo.d.ts +16 -0
- package/dist/models/GetImageResponseBodyImageDocumentInfo.js +62 -0
- package/dist/models/GetImageResponseBodyImageDocumentInfo.js.map +1 -0
- package/dist/models/GetImageResponseBodyImageVmimageSpec.d.ts +33 -0
- package/dist/models/GetImageResponseBodyImageVmimageSpec.js +64 -0
- package/dist/models/GetImageResponseBodyImageVmimageSpec.js.map +1 -0
- package/dist/models/GetJobRequest.d.ts +18 -0
- package/dist/models/GetJobRequest.js +58 -0
- package/dist/models/GetJobRequest.js.map +1 -0
- package/dist/models/GetJobResponse.d.ts +19 -0
- package/dist/models/GetJobResponse.js +69 -0
- package/dist/models/GetJobResponse.js.map +1 -0
- package/dist/models/GetJobResponseBody.d.ts +20 -0
- package/dist/models/GetJobResponseBody.js +64 -0
- package/dist/models/GetJobResponseBody.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfo.d.ts +54 -0
- package/dist/models/GetJobResponseBodyJobInfo.js +86 -0
- package/dist/models/GetJobResponseBodyJobInfo.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoDeploymentPolicy.d.ts +23 -0
- package/dist/models/GetJobResponseBodyJobInfoDeploymentPolicy.js +72 -0
- package/dist/models/GetJobResponseBodyJobInfoDeploymentPolicy.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoDeploymentPolicyNetwork.d.ts +16 -0
- package/dist/models/GetJobResponseBodyJobInfoDeploymentPolicyNetwork.js +65 -0
- package/dist/models/GetJobResponseBodyJobInfoDeploymentPolicyNetwork.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoDeploymentPolicyTags.d.ts +15 -0
- package/dist/models/GetJobResponseBodyJobInfoDeploymentPolicyTags.js +60 -0
- package/dist/models/GetJobResponseBodyJobInfoDeploymentPolicyTags.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoTasks.d.ts +29 -0
- package/dist/models/GetJobResponseBodyJobInfoTasks.js +78 -0
- package/dist/models/GetJobResponseBodyJobInfoTasks.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksExecutorPolicy.d.ts +20 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksExecutorPolicy.js +64 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksExecutorPolicy.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec.d.ts +28 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec.js +62 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksExecutorStatus.d.ts +43 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksExecutorStatus.js +68 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksExecutorStatus.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpec.d.ts +17 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpec.js +68 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpec.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecResource.d.ts +25 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecResource.js +66 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecResource.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks.d.ts +23 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks.js +60 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor.d.ts +15 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor.js +62 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor.js.map +1 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVm.d.ts +28 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVm.js +62 -0
- package/dist/models/GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVm.js.map +1 -0
- package/dist/models/GetPoolRequest.d.ts +21 -0
- package/dist/models/GetPoolRequest.js +58 -0
- package/dist/models/GetPoolRequest.js.map +1 -0
- package/dist/models/GetPoolResponse.d.ts +19 -0
- package/dist/models/GetPoolResponse.js +69 -0
- package/dist/models/GetPoolResponse.js.map +1 -0
- package/dist/models/GetPoolResponseBody.d.ts +23 -0
- package/dist/models/GetPoolResponseBody.js +64 -0
- package/dist/models/GetPoolResponseBody.js.map +1 -0
- package/dist/models/GetPoolResponseBodyPoolInfo.d.ts +58 -0
- package/dist/models/GetPoolResponseBodyPoolInfo.js +74 -0
- package/dist/models/GetPoolResponseBodyPoolInfo.js.map +1 -0
- package/dist/models/ListExecutorsRequest.d.ts +25 -0
- package/dist/models/ListExecutorsRequest.js +66 -0
- package/dist/models/ListExecutorsRequest.js.map +1 -0
- package/dist/models/ListExecutorsRequestFilter.d.ts +31 -0
- package/dist/models/ListExecutorsRequestFilter.js +77 -0
- package/dist/models/ListExecutorsRequestFilter.js.map +1 -0
- package/dist/models/ListExecutorsResponse.d.ts +19 -0
- package/dist/models/ListExecutorsResponse.js +69 -0
- package/dist/models/ListExecutorsResponse.js.map +1 -0
- package/dist/models/ListExecutorsResponseBody.d.ts +35 -0
- package/dist/models/ListExecutorsResponseBody.js +70 -0
- package/dist/models/ListExecutorsResponseBody.js.map +1 -0
- package/dist/models/ListExecutorsResponseBodyExecutors.d.ts +72 -0
- package/dist/models/ListExecutorsResponseBodyExecutors.js +115 -0
- package/dist/models/ListExecutorsResponseBodyExecutors.js.map +1 -0
- package/dist/models/ListExecutorsResponseBodyExecutorsResource.d.ts +17 -0
- package/dist/models/ListExecutorsResponseBodyExecutorsResource.js +66 -0
- package/dist/models/ListExecutorsResponseBodyExecutorsResource.js.map +1 -0
- package/dist/models/ListExecutorsResponseBodyExecutorsResourceDisks.d.ts +15 -0
- package/dist/models/ListExecutorsResponseBodyExecutorsResourceDisks.js +60 -0
- package/dist/models/ListExecutorsResponseBodyExecutorsResourceDisks.js.map +1 -0
- package/dist/models/ListExecutorsResponseBodyExecutorsTags.d.ts +15 -0
- package/dist/models/ListExecutorsResponseBodyExecutorsTags.js +60 -0
- package/dist/models/ListExecutorsResponseBodyExecutorsTags.js.map +1 -0
- package/dist/models/ListExecutorsShrinkRequest.d.ts +24 -0
- package/dist/models/ListExecutorsShrinkRequest.js +62 -0
- package/dist/models/ListExecutorsShrinkRequest.js.map +1 -0
- package/dist/models/ListImagesRequest.d.ts +28 -0
- package/dist/models/ListImagesRequest.js +76 -0
- package/dist/models/ListImagesRequest.js.map +1 -0
- package/dist/models/ListImagesResponse.d.ts +19 -0
- package/dist/models/ListImagesResponse.js +69 -0
- package/dist/models/ListImagesResponse.js.map +1 -0
- package/dist/models/ListImagesResponseBody.d.ts +40 -0
- package/dist/models/ListImagesResponseBody.js +72 -0
- package/dist/models/ListImagesResponseBody.js.map +1 -0
- package/dist/models/ListImagesResponseBodyImages.d.ts +54 -0
- package/dist/models/ListImagesResponseBodyImages.js +78 -0
- package/dist/models/ListImagesResponseBodyImages.js.map +1 -0
- package/dist/models/ListImagesShrinkRequest.d.ts +28 -0
- package/dist/models/ListImagesShrinkRequest.js +70 -0
- package/dist/models/ListImagesShrinkRequest.js.map +1 -0
- package/dist/models/ListJobExecutorsRequest.d.ts +33 -0
- package/dist/models/ListJobExecutorsRequest.js +64 -0
- package/dist/models/ListJobExecutorsRequest.js.map +1 -0
- package/dist/models/ListJobExecutorsResponse.d.ts +19 -0
- package/dist/models/ListJobExecutorsResponse.js +69 -0
- package/dist/models/ListJobExecutorsResponse.js.map +1 -0
- package/dist/models/ListJobExecutorsResponseBody.d.ts +47 -0
- package/dist/models/ListJobExecutorsResponseBody.js +80 -0
- package/dist/models/ListJobExecutorsResponseBody.js.map +1 -0
- package/dist/models/ListJobExecutorsResponseBodyExecutorStatus.d.ts +20 -0
- package/dist/models/ListJobExecutorsResponseBodyExecutorStatus.js +70 -0
- package/dist/models/ListJobExecutorsResponseBodyExecutorStatus.js.map +1 -0
- package/dist/models/ListJobExecutorsResponseBodyExecutors.d.ts +46 -0
- package/dist/models/ListJobExecutorsResponseBodyExecutors.js +93 -0
- package/dist/models/ListJobExecutorsResponseBodyExecutors.js.map +1 -0
- package/dist/models/ListJobExecutorsResponseBodyExecutorsTags.d.ts +15 -0
- package/dist/models/ListJobExecutorsResponseBodyExecutorsTags.js +60 -0
- package/dist/models/ListJobExecutorsResponseBodyExecutorsTags.js.map +1 -0
- package/dist/models/ListJobsRequest.d.ts +27 -0
- package/dist/models/ListJobsRequest.js +72 -0
- package/dist/models/ListJobsRequest.js.map +1 -0
- package/dist/models/ListJobsRequestFilter.d.ts +38 -0
- package/dist/models/ListJobsRequestFilter.js +66 -0
- package/dist/models/ListJobsRequestFilter.js.map +1 -0
- package/dist/models/ListJobsRequestSortBy.d.ts +23 -0
- package/dist/models/ListJobsRequestSortBy.js +60 -0
- package/dist/models/ListJobsRequestSortBy.js.map +1 -0
- package/dist/models/ListJobsResponse.d.ts +19 -0
- package/dist/models/ListJobsResponse.js +69 -0
- package/dist/models/ListJobsResponse.js.map +1 -0
- package/dist/models/ListJobsResponseBody.d.ts +35 -0
- package/dist/models/ListJobsResponseBody.js +70 -0
- package/dist/models/ListJobsResponseBody.js.map +1 -0
- package/dist/models/ListJobsResponseBodyJobList.d.ts +72 -0
- package/dist/models/ListJobsResponseBodyJobList.js +88 -0
- package/dist/models/ListJobsResponseBodyJobList.js.map +1 -0
- package/dist/models/ListJobsResponseBodyJobListTags.d.ts +15 -0
- package/dist/models/ListJobsResponseBodyJobListTags.js +60 -0
- package/dist/models/ListJobsResponseBodyJobListTags.js.map +1 -0
- package/dist/models/ListJobsShrinkRequest.d.ts +25 -0
- package/dist/models/ListJobsShrinkRequest.js +64 -0
- package/dist/models/ListJobsShrinkRequest.js.map +1 -0
- package/dist/models/ListPoolsRequest.d.ts +25 -0
- package/dist/models/ListPoolsRequest.js +66 -0
- package/dist/models/ListPoolsRequest.js.map +1 -0
- package/dist/models/ListPoolsRequestFilter.d.ts +25 -0
- package/dist/models/ListPoolsRequestFilter.js +70 -0
- package/dist/models/ListPoolsRequestFilter.js.map +1 -0
- package/dist/models/ListPoolsResponse.d.ts +19 -0
- package/dist/models/ListPoolsResponse.js +69 -0
- package/dist/models/ListPoolsResponse.js.map +1 -0
- package/dist/models/ListPoolsResponseBody.d.ts +38 -0
- package/dist/models/ListPoolsResponseBody.js +70 -0
- package/dist/models/ListPoolsResponseBody.js.map +1 -0
- package/dist/models/ListPoolsResponseBodyPoolList.d.ts +38 -0
- package/dist/models/ListPoolsResponseBodyPoolList.js +66 -0
- package/dist/models/ListPoolsResponseBodyPoolList.js.map +1 -0
- package/dist/models/ListPoolsShrinkRequest.d.ts +24 -0
- package/dist/models/ListPoolsShrinkRequest.js +62 -0
- package/dist/models/ListPoolsShrinkRequest.js.map +1 -0
- package/dist/models/ListTagResourcesRequest.d.ts +34 -0
- package/dist/models/ListTagResourcesRequest.js +73 -0
- package/dist/models/ListTagResourcesRequest.js.map +1 -0
- package/dist/models/ListTagResourcesRequestTag.d.ts +23 -0
- package/dist/models/ListTagResourcesRequestTag.js +60 -0
- package/dist/models/ListTagResourcesRequestTag.js.map +1 -0
- package/dist/models/ListTagResourcesResponse.d.ts +19 -0
- package/dist/models/ListTagResourcesResponse.js +69 -0
- package/dist/models/ListTagResourcesResponse.js.map +1 -0
- package/dist/models/ListTagResourcesResponseBody.d.ts +25 -0
- package/dist/models/ListTagResourcesResponseBody.js +66 -0
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
- package/dist/models/ListTagResourcesResponseBodyTagResources.d.ts +15 -0
- package/dist/models/ListTagResourcesResponseBodyTagResources.js +62 -0
- package/dist/models/ListTagResourcesResponseBodyTagResources.js.map +1 -0
- package/dist/models/ListTagResourcesResponseBodyTagResourcesTagResource.d.ts +33 -0
- package/dist/models/ListTagResourcesResponseBodyTagResourcesTagResource.js +64 -0
- package/dist/models/ListTagResourcesResponseBodyTagResourcesTagResource.js.map +1 -0
- package/dist/models/RemoveImageRequest.d.ts +22 -0
- package/dist/models/RemoveImageRequest.js +60 -0
- package/dist/models/RemoveImageRequest.js.map +1 -0
- package/dist/models/RemoveImageResponse.d.ts +19 -0
- package/dist/models/RemoveImageResponse.js +69 -0
- package/dist/models/RemoveImageResponse.js.map +1 -0
- package/dist/models/RemoveImageResponseBody.d.ts +23 -0
- package/dist/models/RemoveImageResponseBody.js +60 -0
- package/dist/models/RemoveImageResponseBody.js.map +1 -0
- package/dist/models/TagResourcesRequest.d.ts +32 -0
- package/dist/models/TagResourcesRequest.js +69 -0
- package/dist/models/TagResourcesRequest.js.map +1 -0
- package/dist/models/TagResourcesRequestTag.d.ts +26 -0
- package/dist/models/TagResourcesRequestTag.js +60 -0
- package/dist/models/TagResourcesRequestTag.js.map +1 -0
- package/dist/models/TagResourcesResponse.d.ts +19 -0
- package/dist/models/TagResourcesResponse.js +69 -0
- package/dist/models/TagResourcesResponse.js.map +1 -0
- package/dist/models/TagResourcesResponseBody.d.ts +18 -0
- package/dist/models/TagResourcesResponseBody.js +58 -0
- package/dist/models/TagResourcesResponseBody.js.map +1 -0
- package/dist/models/UnTagResourcesRequest.d.ts +32 -0
- package/dist/models/UnTagResourcesRequest.js +70 -0
- package/dist/models/UnTagResourcesRequest.js.map +1 -0
- package/dist/models/UnTagResourcesResponse.d.ts +19 -0
- package/dist/models/UnTagResourcesResponse.js +69 -0
- package/dist/models/UnTagResourcesResponse.js.map +1 -0
- package/dist/models/UnTagResourcesResponseBody.d.ts +18 -0
- package/dist/models/UnTagResourcesResponseBody.js +58 -0
- package/dist/models/UnTagResourcesResponseBody.js.map +1 -0
- package/dist/models/UpdatePoolRequest.d.ts +28 -0
- package/dist/models/UpdatePoolRequest.js +66 -0
- package/dist/models/UpdatePoolRequest.js.map +1 -0
- package/dist/models/UpdatePoolRequestResourceLimits.d.ts +18 -0
- package/dist/models/UpdatePoolRequestResourceLimits.js +58 -0
- package/dist/models/UpdatePoolRequestResourceLimits.js.map +1 -0
- package/dist/models/UpdatePoolResponse.d.ts +19 -0
- package/dist/models/UpdatePoolResponse.js +69 -0
- package/dist/models/UpdatePoolResponse.js.map +1 -0
- package/dist/models/UpdatePoolResponseBody.d.ts +21 -0
- package/dist/models/UpdatePoolResponseBody.js +58 -0
- package/dist/models/UpdatePoolResponseBody.js.map +1 -0
- package/dist/models/UpdatePoolShrinkRequest.d.ts +27 -0
- package/dist/models/UpdatePoolShrinkRequest.js +62 -0
- package/dist/models/UpdatePoolShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +138 -0
- package/dist/models/model.js +282 -0
- package/dist/models/model.js.map +1 -0
- package/package.json +1 -1
- package/src/client.ts +79 -5991
- package/src/models/AddImageRequest.ts +61 -0
- package/src/models/AddImageRequestContainerImageSpec.ts +59 -0
- package/src/models/AddImageRequestContainerImageSpecRegistryCredential.ts +47 -0
- package/src/models/AddImageRequestVmimageSpec.ts +31 -0
- package/src/models/AddImageResponse.ts +40 -0
- package/src/models/AddImageResponseBody.ts +45 -0
- package/src/models/AddImageShrinkRequest.ts +53 -0
- package/src/models/CreateJobRequest.ts +69 -0
- package/src/models/CreateJobRequestDeploymentPolicy.ts +48 -0
- package/src/models/CreateJobRequestDeploymentPolicyNetwork.ts +33 -0
- package/src/models/CreateJobRequestDeploymentPolicyTag.ts +34 -0
- package/src/models/CreateJobRequestSecurityPolicy.ts +31 -0
- package/src/models/CreateJobRequestSecurityPolicySecurityGroup.ts +30 -0
- package/src/models/CreateJobRequestTasks.ts +52 -0
- package/src/models/CreateJobRequestTasksExecutorPolicy.ts +38 -0
- package/src/models/CreateJobRequestTasksExecutorPolicyArraySpec.ts +45 -0
- package/src/models/CreateJobRequestTasksTaskSpec.ts +49 -0
- package/src/models/CreateJobRequestTasksTaskSpecResource.ts +45 -0
- package/src/models/CreateJobRequestTasksTaskSpecResourceDisks.ts +38 -0
- package/src/models/CreateJobRequestTasksTaskSpecTaskExecutor.ts +38 -0
- package/src/models/CreateJobRequestTasksTaskSpecTaskExecutorContainer.ts +57 -0
- package/src/models/CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars.ts +38 -0
- package/src/models/CreateJobRequestTasksTaskSpecTaskExecutorVm.ts +51 -0
- package/src/models/CreateJobRequestTasksTaskSpecVolumeMount.ts +45 -0
- package/src/models/CreateJobResponse.ts +40 -0
- package/src/models/CreateJobResponseBody.ts +45 -0
- package/src/models/CreateJobResponseBodyTasks.ts +33 -0
- package/src/models/CreateJobShrinkRequest.ts +57 -0
- package/src/models/CreatePoolRequest.ts +48 -0
- package/src/models/CreatePoolRequestResourceLimits.ts +31 -0
- package/src/models/CreatePoolResponse.ts +40 -0
- package/src/models/CreatePoolResponseBody.ts +34 -0
- package/src/models/CreatePoolShrinkRequest.ts +44 -0
- package/src/models/DeleteJobsRequest.ts +37 -0
- package/src/models/DeleteJobsRequestJobSpec.ts +38 -0
- package/src/models/DeleteJobsRequestJobSpecTaskSpec.ts +37 -0
- package/src/models/DeleteJobsResponse.ts +40 -0
- package/src/models/DeleteJobsResponseBody.ts +31 -0
- package/src/models/DeleteJobsShrinkRequest.ts +30 -0
- package/src/models/DeletePoolRequest.ts +34 -0
- package/src/models/DeletePoolResponse.ts +40 -0
- package/src/models/DeletePoolResponseBody.ts +34 -0
- package/src/models/DescribeJobMetricDataRequest.ts +51 -0
- package/src/models/DescribeJobMetricDataResponse.ts +40 -0
- package/src/models/DescribeJobMetricDataResponseBody.ts +45 -0
- package/src/models/DescribeJobMetricDataShrinkRequest.ts +48 -0
- package/src/models/DescribeJobMetricLastRequest.ts +44 -0
- package/src/models/DescribeJobMetricLastResponse.ts +40 -0
- package/src/models/DescribeJobMetricLastResponseBody.ts +38 -0
- package/src/models/DescribeJobMetricLastResponseBodyMetrics.ts +38 -0
- package/src/models/DescribeJobMetricLastShrinkRequest.ts +41 -0
- package/src/models/GetAppVersionsRequest.ts +62 -0
- package/src/models/GetAppVersionsResponse.ts +40 -0
- package/src/models/GetAppVersionsResponseBody.ts +66 -0
- package/src/models/GetAppVersionsResponseBodyAppVersions.ts +48 -0
- package/src/models/GetImageRequest.ts +40 -0
- package/src/models/GetImageResponse.ts +40 -0
- package/src/models/GetImageResponseBody.ts +52 -0
- package/src/models/GetImageResponseBodyImage.ts +92 -0
- package/src/models/GetImageResponseBodyImageContainerImageSpec.ts +68 -0
- package/src/models/GetImageResponseBodyImageContainerImageSpecRegistryCredential.ts +45 -0
- package/src/models/GetImageResponseBodyImageDocumentInfo.ts +33 -0
- package/src/models/GetImageResponseBodyImageVmimageSpec.ts +52 -0
- package/src/models/GetJobRequest.ts +31 -0
- package/src/models/GetJobResponse.ts +40 -0
- package/src/models/GetJobResponseBody.ts +38 -0
- package/src/models/GetJobResponseBodyJobInfo.ts +93 -0
- package/src/models/GetJobResponseBodyJobInfoDeploymentPolicy.ts +48 -0
- package/src/models/GetJobResponseBodyJobInfoDeploymentPolicyNetwork.ts +36 -0
- package/src/models/GetJobResponseBodyJobInfoDeploymentPolicyTags.ts +30 -0
- package/src/models/GetJobResponseBodyJobInfoTasks.ts +59 -0
- package/src/models/GetJobResponseBodyJobInfoTasksExecutorPolicy.ts +38 -0
- package/src/models/GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec.ts +45 -0
- package/src/models/GetJobResponseBodyJobInfoTasksExecutorStatus.ts +66 -0
- package/src/models/GetJobResponseBodyJobInfoTasksTaskSpec.ts +38 -0
- package/src/models/GetJobResponseBodyJobInfoTasksTaskSpecResource.ts +45 -0
- package/src/models/GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks.ts +38 -0
- package/src/models/GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor.ts +31 -0
- package/src/models/GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVm.ts +45 -0
- package/src/models/GetPoolRequest.ts +34 -0
- package/src/models/GetPoolResponse.ts +40 -0
- package/src/models/GetPoolResponseBody.ts +41 -0
- package/src/models/GetPoolResponseBodyPoolInfo.ts +87 -0
- package/src/models/ListExecutorsRequest.ts +45 -0
- package/src/models/ListExecutorsRequestFilter.ts +63 -0
- package/src/models/ListExecutorsResponse.ts +40 -0
- package/src/models/ListExecutorsResponseBody.ts +59 -0
- package/src/models/ListExecutorsResponseBodyExecutors.ts +140 -0
- package/src/models/ListExecutorsResponseBodyExecutorsResource.ts +37 -0
- package/src/models/ListExecutorsResponseBodyExecutorsResourceDisks.ts +30 -0
- package/src/models/ListExecutorsResponseBodyExecutorsTags.ts +30 -0
- package/src/models/ListExecutorsShrinkRequest.ts +41 -0
- package/src/models/ListImagesRequest.ts +59 -0
- package/src/models/ListImagesResponse.ts +40 -0
- package/src/models/ListImagesResponseBody.ts +66 -0
- package/src/models/ListImagesResponseBodyImages.ts +87 -0
- package/src/models/ListImagesShrinkRequest.ts +53 -0
- package/src/models/ListJobExecutorsRequest.ts +52 -0
- package/src/models/ListJobExecutorsResponse.ts +40 -0
- package/src/models/ListJobExecutorsResponseBody.ts +80 -0
- package/src/models/ListJobExecutorsResponseBodyExecutorStatus.ts +45 -0
- package/src/models/ListJobExecutorsResponseBodyExecutors.ts +93 -0
- package/src/models/ListJobExecutorsResponseBodyExecutorsTags.ts +30 -0
- package/src/models/ListJobsRequest.ts +52 -0
- package/src/models/ListJobsRequestFilter.ts +59 -0
- package/src/models/ListJobsRequestSortBy.ts +38 -0
- package/src/models/ListJobsResponse.ts +40 -0
- package/src/models/ListJobsResponseBody.ts +59 -0
- package/src/models/ListJobsResponseBodyJobList.ts +114 -0
- package/src/models/ListJobsResponseBodyJobListTags.ts +30 -0
- package/src/models/ListJobsShrinkRequest.ts +44 -0
- package/src/models/ListPoolsRequest.ts +45 -0
- package/src/models/ListPoolsRequestFilter.ts +50 -0
- package/src/models/ListPoolsResponse.ts +40 -0
- package/src/models/ListPoolsResponseBody.ts +62 -0
- package/src/models/ListPoolsResponseBodyPoolList.ts +59 -0
- package/src/models/ListPoolsShrinkRequest.ts +41 -0
- package/src/models/ListTagResourcesRequest.ts +61 -0
- package/src/models/ListTagResourcesRequestTag.ts +38 -0
- package/src/models/ListTagResourcesResponse.ts +40 -0
- package/src/models/ListTagResourcesResponseBody.ts +45 -0
- package/src/models/ListTagResourcesResponseBodyTagResources.ts +31 -0
- package/src/models/ListTagResourcesResponseBodyTagResourcesTagResource.ts +52 -0
- package/src/models/RemoveImageRequest.ts +37 -0
- package/src/models/RemoveImageResponse.ts +40 -0
- package/src/models/RemoveImageResponseBody.ts +38 -0
- package/src/models/TagResourcesRequest.ts +55 -0
- package/src/models/TagResourcesRequestTag.ts +41 -0
- package/src/models/TagResourcesResponse.ts +40 -0
- package/src/models/TagResourcesResponseBody.ts +31 -0
- package/src/models/UnTagResourcesRequest.ts +57 -0
- package/src/models/UnTagResourcesResponse.ts +40 -0
- package/src/models/UnTagResourcesResponseBody.ts +31 -0
- package/src/models/UpdatePoolRequest.ts +48 -0
- package/src/models/UpdatePoolRequestResourceLimits.ts +31 -0
- package/src/models/UpdatePoolResponse.ts +40 -0
- package/src/models/UpdatePoolResponseBody.ts +34 -0
- package/src/models/UpdatePoolShrinkRequest.ts +44 -0
- package/src/models/model.ts +138 -0
package/dist/client.js
CHANGED
|
@@ -32,3761 +32,19 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
-
var
|
|
36
|
-
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
// This file is auto-generated, don't edit it
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
class AddImageRequestContainerImageSpecRegistryCredential extends $dara.Model {
|
|
49
|
-
static names() {
|
|
50
|
-
return {
|
|
51
|
-
password: 'Password',
|
|
52
|
-
server: 'Server',
|
|
53
|
-
userName: 'UserName',
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
static types() {
|
|
57
|
-
return {
|
|
58
|
-
password: 'string',
|
|
59
|
-
server: 'string',
|
|
60
|
-
userName: 'string',
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
validate() {
|
|
64
|
-
super.validate();
|
|
65
|
-
}
|
|
66
|
-
constructor(map) {
|
|
67
|
-
super(map);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
exports.AddImageRequestContainerImageSpecRegistryCredential = AddImageRequestContainerImageSpecRegistryCredential;
|
|
71
|
-
class AddImageRequestContainerImageSpec extends $dara.Model {
|
|
72
|
-
static names() {
|
|
73
|
-
return {
|
|
74
|
-
isACREnterprise: 'IsACREnterprise',
|
|
75
|
-
isACRRegistry: 'IsACRRegistry',
|
|
76
|
-
registryCredential: 'RegistryCredential',
|
|
77
|
-
registryCriId: 'RegistryCriId',
|
|
78
|
-
registryUrl: 'RegistryUrl',
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
static types() {
|
|
82
|
-
return {
|
|
83
|
-
isACREnterprise: 'boolean',
|
|
84
|
-
isACRRegistry: 'boolean',
|
|
85
|
-
registryCredential: AddImageRequestContainerImageSpecRegistryCredential,
|
|
86
|
-
registryCriId: 'string',
|
|
87
|
-
registryUrl: 'string',
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
validate() {
|
|
91
|
-
if (this.registryCredential && typeof this.registryCredential.validate === 'function') {
|
|
92
|
-
this.registryCredential.validate();
|
|
93
|
-
}
|
|
94
|
-
super.validate();
|
|
95
|
-
}
|
|
96
|
-
constructor(map) {
|
|
97
|
-
super(map);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
exports.AddImageRequestContainerImageSpec = AddImageRequestContainerImageSpec;
|
|
101
|
-
class AddImageRequestVMImageSpec extends $dara.Model {
|
|
102
|
-
static names() {
|
|
103
|
-
return {
|
|
104
|
-
imageId: 'ImageId',
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
static types() {
|
|
108
|
-
return {
|
|
109
|
-
imageId: 'string',
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
validate() {
|
|
113
|
-
super.validate();
|
|
114
|
-
}
|
|
115
|
-
constructor(map) {
|
|
116
|
-
super(map);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
exports.AddImageRequestVMImageSpec = AddImageRequestVMImageSpec;
|
|
120
|
-
class CreateJobRequestDeploymentPolicyNetwork extends $dara.Model {
|
|
121
|
-
static names() {
|
|
122
|
-
return {
|
|
123
|
-
enableExternalIpAddress: 'EnableExternalIpAddress',
|
|
124
|
-
vswitch: 'Vswitch',
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
static types() {
|
|
128
|
-
return {
|
|
129
|
-
enableExternalIpAddress: 'boolean',
|
|
130
|
-
vswitch: { 'type': 'array', 'itemType': 'string' },
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
validate() {
|
|
134
|
-
if (Array.isArray(this.vswitch)) {
|
|
135
|
-
$dara.Model.validateArray(this.vswitch);
|
|
136
|
-
}
|
|
137
|
-
super.validate();
|
|
138
|
-
}
|
|
139
|
-
constructor(map) {
|
|
140
|
-
super(map);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
exports.CreateJobRequestDeploymentPolicyNetwork = CreateJobRequestDeploymentPolicyNetwork;
|
|
144
|
-
class CreateJobRequestDeploymentPolicyTag extends $dara.Model {
|
|
145
|
-
static names() {
|
|
146
|
-
return {
|
|
147
|
-
key: 'Key',
|
|
148
|
-
value: 'Value',
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
static types() {
|
|
152
|
-
return {
|
|
153
|
-
key: 'string',
|
|
154
|
-
value: 'string',
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
validate() {
|
|
158
|
-
super.validate();
|
|
159
|
-
}
|
|
160
|
-
constructor(map) {
|
|
161
|
-
super(map);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
exports.CreateJobRequestDeploymentPolicyTag = CreateJobRequestDeploymentPolicyTag;
|
|
165
|
-
class CreateJobRequestDeploymentPolicy extends $dara.Model {
|
|
166
|
-
static names() {
|
|
167
|
-
return {
|
|
168
|
-
allocationSpec: 'AllocationSpec',
|
|
169
|
-
level: 'Level',
|
|
170
|
-
network: 'Network',
|
|
171
|
-
tag: 'Tag',
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
static types() {
|
|
175
|
-
return {
|
|
176
|
-
allocationSpec: 'string',
|
|
177
|
-
level: 'string',
|
|
178
|
-
network: CreateJobRequestDeploymentPolicyNetwork,
|
|
179
|
-
tag: { 'type': 'array', 'itemType': CreateJobRequestDeploymentPolicyTag },
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
validate() {
|
|
183
|
-
if (this.network && typeof this.network.validate === 'function') {
|
|
184
|
-
this.network.validate();
|
|
185
|
-
}
|
|
186
|
-
if (Array.isArray(this.tag)) {
|
|
187
|
-
$dara.Model.validateArray(this.tag);
|
|
188
|
-
}
|
|
189
|
-
super.validate();
|
|
190
|
-
}
|
|
191
|
-
constructor(map) {
|
|
192
|
-
super(map);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
exports.CreateJobRequestDeploymentPolicy = CreateJobRequestDeploymentPolicy;
|
|
196
|
-
class CreateJobRequestSecurityPolicySecurityGroup extends $dara.Model {
|
|
197
|
-
static names() {
|
|
198
|
-
return {
|
|
199
|
-
securityGroupIds: 'SecurityGroupIds',
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
static types() {
|
|
203
|
-
return {
|
|
204
|
-
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
validate() {
|
|
208
|
-
if (Array.isArray(this.securityGroupIds)) {
|
|
209
|
-
$dara.Model.validateArray(this.securityGroupIds);
|
|
210
|
-
}
|
|
211
|
-
super.validate();
|
|
212
|
-
}
|
|
213
|
-
constructor(map) {
|
|
214
|
-
super(map);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
exports.CreateJobRequestSecurityPolicySecurityGroup = CreateJobRequestSecurityPolicySecurityGroup;
|
|
218
|
-
class CreateJobRequestSecurityPolicy extends $dara.Model {
|
|
219
|
-
static names() {
|
|
220
|
-
return {
|
|
221
|
-
securityGroup: 'SecurityGroup',
|
|
222
|
-
};
|
|
223
|
-
}
|
|
224
|
-
static types() {
|
|
225
|
-
return {
|
|
226
|
-
securityGroup: CreateJobRequestSecurityPolicySecurityGroup,
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
validate() {
|
|
230
|
-
if (this.securityGroup && typeof this.securityGroup.validate === 'function') {
|
|
231
|
-
this.securityGroup.validate();
|
|
232
|
-
}
|
|
233
|
-
super.validate();
|
|
234
|
-
}
|
|
235
|
-
constructor(map) {
|
|
236
|
-
super(map);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
exports.CreateJobRequestSecurityPolicy = CreateJobRequestSecurityPolicy;
|
|
240
|
-
class CreateJobRequestTasksExecutorPolicyArraySpec extends $dara.Model {
|
|
241
|
-
static names() {
|
|
242
|
-
return {
|
|
243
|
-
indexEnd: 'IndexEnd',
|
|
244
|
-
indexStart: 'IndexStart',
|
|
245
|
-
indexStep: 'IndexStep',
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
static types() {
|
|
249
|
-
return {
|
|
250
|
-
indexEnd: 'number',
|
|
251
|
-
indexStart: 'number',
|
|
252
|
-
indexStep: 'number',
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
validate() {
|
|
256
|
-
super.validate();
|
|
257
|
-
}
|
|
258
|
-
constructor(map) {
|
|
259
|
-
super(map);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
exports.CreateJobRequestTasksExecutorPolicyArraySpec = CreateJobRequestTasksExecutorPolicyArraySpec;
|
|
263
|
-
class CreateJobRequestTasksExecutorPolicy extends $dara.Model {
|
|
264
|
-
static names() {
|
|
265
|
-
return {
|
|
266
|
-
arraySpec: 'ArraySpec',
|
|
267
|
-
maxCount: 'MaxCount',
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
static types() {
|
|
271
|
-
return {
|
|
272
|
-
arraySpec: CreateJobRequestTasksExecutorPolicyArraySpec,
|
|
273
|
-
maxCount: 'number',
|
|
274
|
-
};
|
|
275
|
-
}
|
|
276
|
-
validate() {
|
|
277
|
-
if (this.arraySpec && typeof this.arraySpec.validate === 'function') {
|
|
278
|
-
this.arraySpec.validate();
|
|
279
|
-
}
|
|
280
|
-
super.validate();
|
|
281
|
-
}
|
|
282
|
-
constructor(map) {
|
|
283
|
-
super(map);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
exports.CreateJobRequestTasksExecutorPolicy = CreateJobRequestTasksExecutorPolicy;
|
|
287
|
-
class CreateJobRequestTasksTaskSpecResourceDisks extends $dara.Model {
|
|
288
|
-
static names() {
|
|
289
|
-
return {
|
|
290
|
-
size: 'Size',
|
|
291
|
-
type: 'Type',
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
static types() {
|
|
295
|
-
return {
|
|
296
|
-
size: 'number',
|
|
297
|
-
type: 'string',
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
validate() {
|
|
301
|
-
super.validate();
|
|
302
|
-
}
|
|
303
|
-
constructor(map) {
|
|
304
|
-
super(map);
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
exports.CreateJobRequestTasksTaskSpecResourceDisks = CreateJobRequestTasksTaskSpecResourceDisks;
|
|
308
|
-
class CreateJobRequestTasksTaskSpecResource extends $dara.Model {
|
|
309
|
-
static names() {
|
|
310
|
-
return {
|
|
311
|
-
cores: 'Cores',
|
|
312
|
-
disks: 'Disks',
|
|
313
|
-
memory: 'Memory',
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
static types() {
|
|
317
|
-
return {
|
|
318
|
-
cores: 'number',
|
|
319
|
-
disks: { 'type': 'array', 'itemType': CreateJobRequestTasksTaskSpecResourceDisks },
|
|
320
|
-
memory: 'number',
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
validate() {
|
|
324
|
-
if (Array.isArray(this.disks)) {
|
|
325
|
-
$dara.Model.validateArray(this.disks);
|
|
326
|
-
}
|
|
327
|
-
super.validate();
|
|
328
|
-
}
|
|
329
|
-
constructor(map) {
|
|
330
|
-
super(map);
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
exports.CreateJobRequestTasksTaskSpecResource = CreateJobRequestTasksTaskSpecResource;
|
|
334
|
-
class CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars extends $dara.Model {
|
|
335
|
-
static names() {
|
|
336
|
-
return {
|
|
337
|
-
name: 'Name',
|
|
338
|
-
value: 'Value',
|
|
339
|
-
};
|
|
340
|
-
}
|
|
341
|
-
static types() {
|
|
342
|
-
return {
|
|
343
|
-
name: 'string',
|
|
344
|
-
value: 'string',
|
|
345
|
-
};
|
|
346
|
-
}
|
|
347
|
-
validate() {
|
|
348
|
-
super.validate();
|
|
349
|
-
}
|
|
350
|
-
constructor(map) {
|
|
351
|
-
super(map);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
exports.CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars = CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars;
|
|
355
|
-
class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $dara.Model {
|
|
356
|
-
static names() {
|
|
357
|
-
return {
|
|
358
|
-
appId: 'AppId',
|
|
359
|
-
command: 'Command',
|
|
360
|
-
environmentVars: 'EnvironmentVars',
|
|
361
|
-
image: 'Image',
|
|
362
|
-
workingDir: 'WorkingDir',
|
|
363
|
-
};
|
|
364
|
-
}
|
|
365
|
-
static types() {
|
|
366
|
-
return {
|
|
367
|
-
appId: 'string',
|
|
368
|
-
command: { 'type': 'array', 'itemType': 'string' },
|
|
369
|
-
environmentVars: { 'type': 'array', 'itemType': CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars },
|
|
370
|
-
image: 'string',
|
|
371
|
-
workingDir: 'string',
|
|
372
|
-
};
|
|
373
|
-
}
|
|
374
|
-
validate() {
|
|
375
|
-
if (Array.isArray(this.command)) {
|
|
376
|
-
$dara.Model.validateArray(this.command);
|
|
377
|
-
}
|
|
378
|
-
if (Array.isArray(this.environmentVars)) {
|
|
379
|
-
$dara.Model.validateArray(this.environmentVars);
|
|
380
|
-
}
|
|
381
|
-
super.validate();
|
|
382
|
-
}
|
|
383
|
-
constructor(map) {
|
|
384
|
-
super(map);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
exports.CreateJobRequestTasksTaskSpecTaskExecutorContainer = CreateJobRequestTasksTaskSpecTaskExecutorContainer;
|
|
388
|
-
class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $dara.Model {
|
|
389
|
-
static names() {
|
|
390
|
-
return {
|
|
391
|
-
appId: 'AppId',
|
|
392
|
-
image: 'Image',
|
|
393
|
-
prologScript: 'PrologScript',
|
|
394
|
-
script: 'Script',
|
|
395
|
-
};
|
|
396
|
-
}
|
|
397
|
-
static types() {
|
|
398
|
-
return {
|
|
399
|
-
appId: 'string',
|
|
400
|
-
image: 'string',
|
|
401
|
-
prologScript: 'string',
|
|
402
|
-
script: 'string',
|
|
403
|
-
};
|
|
404
|
-
}
|
|
405
|
-
validate() {
|
|
406
|
-
super.validate();
|
|
407
|
-
}
|
|
408
|
-
constructor(map) {
|
|
409
|
-
super(map);
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
exports.CreateJobRequestTasksTaskSpecTaskExecutorVM = CreateJobRequestTasksTaskSpecTaskExecutorVM;
|
|
413
|
-
class CreateJobRequestTasksTaskSpecTaskExecutor extends $dara.Model {
|
|
414
|
-
static names() {
|
|
415
|
-
return {
|
|
416
|
-
container: 'Container',
|
|
417
|
-
VM: 'VM',
|
|
418
|
-
};
|
|
419
|
-
}
|
|
420
|
-
static types() {
|
|
421
|
-
return {
|
|
422
|
-
container: CreateJobRequestTasksTaskSpecTaskExecutorContainer,
|
|
423
|
-
VM: CreateJobRequestTasksTaskSpecTaskExecutorVM,
|
|
424
|
-
};
|
|
425
|
-
}
|
|
426
|
-
validate() {
|
|
427
|
-
if (this.container && typeof this.container.validate === 'function') {
|
|
428
|
-
this.container.validate();
|
|
429
|
-
}
|
|
430
|
-
if (this.VM && typeof this.VM.validate === 'function') {
|
|
431
|
-
this.VM.validate();
|
|
432
|
-
}
|
|
433
|
-
super.validate();
|
|
434
|
-
}
|
|
435
|
-
constructor(map) {
|
|
436
|
-
super(map);
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
exports.CreateJobRequestTasksTaskSpecTaskExecutor = CreateJobRequestTasksTaskSpecTaskExecutor;
|
|
440
|
-
class CreateJobRequestTasksTaskSpecVolumeMount extends $dara.Model {
|
|
441
|
-
static names() {
|
|
442
|
-
return {
|
|
443
|
-
mountOptions: 'MountOptions',
|
|
444
|
-
mountPath: 'MountPath',
|
|
445
|
-
volumeDriver: 'VolumeDriver',
|
|
446
|
-
};
|
|
447
|
-
}
|
|
448
|
-
static types() {
|
|
449
|
-
return {
|
|
450
|
-
mountOptions: 'string',
|
|
451
|
-
mountPath: 'string',
|
|
452
|
-
volumeDriver: 'string',
|
|
453
|
-
};
|
|
454
|
-
}
|
|
455
|
-
validate() {
|
|
456
|
-
super.validate();
|
|
457
|
-
}
|
|
458
|
-
constructor(map) {
|
|
459
|
-
super(map);
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
exports.CreateJobRequestTasksTaskSpecVolumeMount = CreateJobRequestTasksTaskSpecVolumeMount;
|
|
463
|
-
class CreateJobRequestTasksTaskSpec extends $dara.Model {
|
|
464
|
-
static names() {
|
|
465
|
-
return {
|
|
466
|
-
resource: 'Resource',
|
|
467
|
-
taskExecutor: 'TaskExecutor',
|
|
468
|
-
volumeMount: 'VolumeMount',
|
|
469
|
-
};
|
|
470
|
-
}
|
|
471
|
-
static types() {
|
|
472
|
-
return {
|
|
473
|
-
resource: CreateJobRequestTasksTaskSpecResource,
|
|
474
|
-
taskExecutor: { 'type': 'array', 'itemType': CreateJobRequestTasksTaskSpecTaskExecutor },
|
|
475
|
-
volumeMount: { 'type': 'array', 'itemType': CreateJobRequestTasksTaskSpecVolumeMount },
|
|
476
|
-
};
|
|
477
|
-
}
|
|
478
|
-
validate() {
|
|
479
|
-
if (this.resource && typeof this.resource.validate === 'function') {
|
|
480
|
-
this.resource.validate();
|
|
481
|
-
}
|
|
482
|
-
if (Array.isArray(this.taskExecutor)) {
|
|
483
|
-
$dara.Model.validateArray(this.taskExecutor);
|
|
484
|
-
}
|
|
485
|
-
if (Array.isArray(this.volumeMount)) {
|
|
486
|
-
$dara.Model.validateArray(this.volumeMount);
|
|
487
|
-
}
|
|
488
|
-
super.validate();
|
|
489
|
-
}
|
|
490
|
-
constructor(map) {
|
|
491
|
-
super(map);
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
exports.CreateJobRequestTasksTaskSpec = CreateJobRequestTasksTaskSpec;
|
|
495
|
-
class CreateJobRequestTasks extends $dara.Model {
|
|
496
|
-
static names() {
|
|
497
|
-
return {
|
|
498
|
-
executorPolicy: 'ExecutorPolicy',
|
|
499
|
-
taskName: 'TaskName',
|
|
500
|
-
taskSpec: 'TaskSpec',
|
|
501
|
-
taskSustainable: 'TaskSustainable',
|
|
502
|
-
};
|
|
503
|
-
}
|
|
504
|
-
static types() {
|
|
505
|
-
return {
|
|
506
|
-
executorPolicy: CreateJobRequestTasksExecutorPolicy,
|
|
507
|
-
taskName: 'string',
|
|
508
|
-
taskSpec: CreateJobRequestTasksTaskSpec,
|
|
509
|
-
taskSustainable: 'boolean',
|
|
510
|
-
};
|
|
511
|
-
}
|
|
512
|
-
validate() {
|
|
513
|
-
if (this.executorPolicy && typeof this.executorPolicy.validate === 'function') {
|
|
514
|
-
this.executorPolicy.validate();
|
|
515
|
-
}
|
|
516
|
-
if (this.taskSpec && typeof this.taskSpec.validate === 'function') {
|
|
517
|
-
this.taskSpec.validate();
|
|
518
|
-
}
|
|
519
|
-
super.validate();
|
|
520
|
-
}
|
|
521
|
-
constructor(map) {
|
|
522
|
-
super(map);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
exports.CreateJobRequestTasks = CreateJobRequestTasks;
|
|
526
|
-
class CreateJobResponseBodyTasks extends $dara.Model {
|
|
527
|
-
static names() {
|
|
528
|
-
return {
|
|
529
|
-
executorIds: 'ExecutorIds',
|
|
530
|
-
taskName: 'TaskName',
|
|
531
|
-
};
|
|
532
|
-
}
|
|
533
|
-
static types() {
|
|
534
|
-
return {
|
|
535
|
-
executorIds: { 'type': 'array', 'itemType': 'string' },
|
|
536
|
-
taskName: 'string',
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
|
-
validate() {
|
|
540
|
-
if (Array.isArray(this.executorIds)) {
|
|
541
|
-
$dara.Model.validateArray(this.executorIds);
|
|
542
|
-
}
|
|
543
|
-
super.validate();
|
|
544
|
-
}
|
|
545
|
-
constructor(map) {
|
|
546
|
-
super(map);
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
exports.CreateJobResponseBodyTasks = CreateJobResponseBodyTasks;
|
|
550
|
-
class CreatePoolRequestResourceLimits extends $dara.Model {
|
|
551
|
-
static names() {
|
|
552
|
-
return {
|
|
553
|
-
maxExectorNum: 'MaxExectorNum',
|
|
554
|
-
};
|
|
555
|
-
}
|
|
556
|
-
static types() {
|
|
557
|
-
return {
|
|
558
|
-
maxExectorNum: 'number',
|
|
559
|
-
};
|
|
560
|
-
}
|
|
561
|
-
validate() {
|
|
562
|
-
super.validate();
|
|
563
|
-
}
|
|
564
|
-
constructor(map) {
|
|
565
|
-
super(map);
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
exports.CreatePoolRequestResourceLimits = CreatePoolRequestResourceLimits;
|
|
569
|
-
class DeleteJobsRequestJobSpecTaskSpec extends $dara.Model {
|
|
570
|
-
static names() {
|
|
571
|
-
return {
|
|
572
|
-
arrayIndex: 'ArrayIndex',
|
|
573
|
-
taskName: 'TaskName',
|
|
574
|
-
};
|
|
575
|
-
}
|
|
576
|
-
static types() {
|
|
577
|
-
return {
|
|
578
|
-
arrayIndex: { 'type': 'array', 'itemType': 'number' },
|
|
579
|
-
taskName: 'string',
|
|
580
|
-
};
|
|
581
|
-
}
|
|
582
|
-
validate() {
|
|
583
|
-
if (Array.isArray(this.arrayIndex)) {
|
|
584
|
-
$dara.Model.validateArray(this.arrayIndex);
|
|
585
|
-
}
|
|
586
|
-
super.validate();
|
|
587
|
-
}
|
|
588
|
-
constructor(map) {
|
|
589
|
-
super(map);
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
exports.DeleteJobsRequestJobSpecTaskSpec = DeleteJobsRequestJobSpecTaskSpec;
|
|
593
|
-
class DeleteJobsRequestJobSpec extends $dara.Model {
|
|
594
|
-
static names() {
|
|
595
|
-
return {
|
|
596
|
-
jobId: 'JobId',
|
|
597
|
-
taskSpec: 'TaskSpec',
|
|
598
|
-
};
|
|
599
|
-
}
|
|
600
|
-
static types() {
|
|
601
|
-
return {
|
|
602
|
-
jobId: 'string',
|
|
603
|
-
taskSpec: { 'type': 'array', 'itemType': DeleteJobsRequestJobSpecTaskSpec },
|
|
604
|
-
};
|
|
605
|
-
}
|
|
606
|
-
validate() {
|
|
607
|
-
if (Array.isArray(this.taskSpec)) {
|
|
608
|
-
$dara.Model.validateArray(this.taskSpec);
|
|
609
|
-
}
|
|
610
|
-
super.validate();
|
|
611
|
-
}
|
|
612
|
-
constructor(map) {
|
|
613
|
-
super(map);
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
exports.DeleteJobsRequestJobSpec = DeleteJobsRequestJobSpec;
|
|
617
|
-
class DescribeJobMetricLastResponseBodyMetrics extends $dara.Model {
|
|
618
|
-
static names() {
|
|
619
|
-
return {
|
|
620
|
-
arrayIndex: 'ArrayIndex',
|
|
621
|
-
metric: 'Metric',
|
|
622
|
-
};
|
|
623
|
-
}
|
|
624
|
-
static types() {
|
|
625
|
-
return {
|
|
626
|
-
arrayIndex: 'number',
|
|
627
|
-
metric: 'string',
|
|
628
|
-
};
|
|
629
|
-
}
|
|
630
|
-
validate() {
|
|
631
|
-
super.validate();
|
|
632
|
-
}
|
|
633
|
-
constructor(map) {
|
|
634
|
-
super(map);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
exports.DescribeJobMetricLastResponseBodyMetrics = DescribeJobMetricLastResponseBodyMetrics;
|
|
638
|
-
class GetAppVersionsResponseBodyAppVersions extends $dara.Model {
|
|
639
|
-
static names() {
|
|
640
|
-
return {
|
|
641
|
-
imageId: 'ImageId',
|
|
642
|
-
name: 'Name',
|
|
643
|
-
version: 'Version',
|
|
644
|
-
};
|
|
645
|
-
}
|
|
646
|
-
static types() {
|
|
647
|
-
return {
|
|
648
|
-
imageId: 'string',
|
|
649
|
-
name: 'string',
|
|
650
|
-
version: 'string',
|
|
651
|
-
};
|
|
652
|
-
}
|
|
653
|
-
validate() {
|
|
654
|
-
super.validate();
|
|
655
|
-
}
|
|
656
|
-
constructor(map) {
|
|
657
|
-
super(map);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
exports.GetAppVersionsResponseBodyAppVersions = GetAppVersionsResponseBodyAppVersions;
|
|
661
|
-
class GetImageResponseBodyImageContainerImageSpecRegistryCredential extends $dara.Model {
|
|
662
|
-
static names() {
|
|
663
|
-
return {
|
|
664
|
-
password: 'Password',
|
|
665
|
-
server: 'Server',
|
|
666
|
-
userName: 'UserName',
|
|
667
|
-
};
|
|
668
|
-
}
|
|
669
|
-
static types() {
|
|
670
|
-
return {
|
|
671
|
-
password: 'string',
|
|
672
|
-
server: 'string',
|
|
673
|
-
userName: 'string',
|
|
674
|
-
};
|
|
675
|
-
}
|
|
676
|
-
validate() {
|
|
677
|
-
super.validate();
|
|
678
|
-
}
|
|
679
|
-
constructor(map) {
|
|
680
|
-
super(map);
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
exports.GetImageResponseBodyImageContainerImageSpecRegistryCredential = GetImageResponseBodyImageContainerImageSpecRegistryCredential;
|
|
684
|
-
class GetImageResponseBodyImageContainerImageSpec extends $dara.Model {
|
|
685
|
-
static names() {
|
|
686
|
-
return {
|
|
687
|
-
architecture: 'Architecture',
|
|
688
|
-
isACREnterprise: 'IsACREnterprise',
|
|
689
|
-
isACRRegistry: 'IsACRRegistry',
|
|
690
|
-
osTag: 'OsTag',
|
|
691
|
-
platform: 'Platform',
|
|
692
|
-
registryCredential: 'RegistryCredential',
|
|
693
|
-
registryCriId: 'RegistryCriId',
|
|
694
|
-
registryUrl: 'RegistryUrl',
|
|
695
|
-
};
|
|
696
|
-
}
|
|
697
|
-
static types() {
|
|
698
|
-
return {
|
|
699
|
-
architecture: 'string',
|
|
700
|
-
isACREnterprise: 'boolean',
|
|
701
|
-
isACRRegistry: 'boolean',
|
|
702
|
-
osTag: 'string',
|
|
703
|
-
platform: 'string',
|
|
704
|
-
registryCredential: GetImageResponseBodyImageContainerImageSpecRegistryCredential,
|
|
705
|
-
registryCriId: 'string',
|
|
706
|
-
registryUrl: 'string',
|
|
707
|
-
};
|
|
708
|
-
}
|
|
709
|
-
validate() {
|
|
710
|
-
if (this.registryCredential && typeof this.registryCredential.validate === 'function') {
|
|
711
|
-
this.registryCredential.validate();
|
|
712
|
-
}
|
|
713
|
-
super.validate();
|
|
714
|
-
}
|
|
715
|
-
constructor(map) {
|
|
716
|
-
super(map);
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
exports.GetImageResponseBodyImageContainerImageSpec = GetImageResponseBodyImageContainerImageSpec;
|
|
720
|
-
class GetImageResponseBodyImageDocumentInfo extends $dara.Model {
|
|
721
|
-
static names() {
|
|
722
|
-
return {
|
|
723
|
-
document: 'Document',
|
|
724
|
-
documentId: 'DocumentId',
|
|
725
|
-
encodingMode: 'EncodingMode',
|
|
726
|
-
};
|
|
727
|
-
}
|
|
728
|
-
static types() {
|
|
729
|
-
return {
|
|
730
|
-
document: 'string',
|
|
731
|
-
documentId: 'string',
|
|
732
|
-
encodingMode: 'string',
|
|
733
|
-
};
|
|
734
|
-
}
|
|
735
|
-
validate() {
|
|
736
|
-
super.validate();
|
|
737
|
-
}
|
|
738
|
-
constructor(map) {
|
|
739
|
-
super(map);
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
exports.GetImageResponseBodyImageDocumentInfo = GetImageResponseBodyImageDocumentInfo;
|
|
743
|
-
class GetImageResponseBodyImageVMImageSpec extends $dara.Model {
|
|
744
|
-
static names() {
|
|
745
|
-
return {
|
|
746
|
-
architecture: 'Architecture',
|
|
747
|
-
imageId: 'ImageId',
|
|
748
|
-
osTag: 'OsTag',
|
|
749
|
-
platform: 'Platform',
|
|
750
|
-
};
|
|
751
|
-
}
|
|
752
|
-
static types() {
|
|
753
|
-
return {
|
|
754
|
-
architecture: 'string',
|
|
755
|
-
imageId: 'string',
|
|
756
|
-
osTag: 'string',
|
|
757
|
-
platform: 'string',
|
|
758
|
-
};
|
|
759
|
-
}
|
|
760
|
-
validate() {
|
|
761
|
-
super.validate();
|
|
762
|
-
}
|
|
763
|
-
constructor(map) {
|
|
764
|
-
super(map);
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
exports.GetImageResponseBodyImageVMImageSpec = GetImageResponseBodyImageVMImageSpec;
|
|
768
|
-
class GetImageResponseBodyImage extends $dara.Model {
|
|
769
|
-
static names() {
|
|
770
|
-
return {
|
|
771
|
-
appId: 'AppId',
|
|
772
|
-
containerImageSpec: 'ContainerImageSpec',
|
|
773
|
-
createTime: 'CreateTime',
|
|
774
|
-
description: 'Description',
|
|
775
|
-
documentInfo: 'DocumentInfo',
|
|
776
|
-
imageType: 'ImageType',
|
|
777
|
-
name: 'Name',
|
|
778
|
-
size: 'Size',
|
|
779
|
-
status: 'Status',
|
|
780
|
-
VMImageSpec: 'VMImageSpec',
|
|
781
|
-
version: 'Version',
|
|
782
|
-
};
|
|
783
|
-
}
|
|
784
|
-
static types() {
|
|
785
|
-
return {
|
|
786
|
-
appId: 'string',
|
|
787
|
-
containerImageSpec: GetImageResponseBodyImageContainerImageSpec,
|
|
788
|
-
createTime: 'string',
|
|
789
|
-
description: 'string',
|
|
790
|
-
documentInfo: GetImageResponseBodyImageDocumentInfo,
|
|
791
|
-
imageType: 'string',
|
|
792
|
-
name: 'string',
|
|
793
|
-
size: 'string',
|
|
794
|
-
status: 'string',
|
|
795
|
-
VMImageSpec: GetImageResponseBodyImageVMImageSpec,
|
|
796
|
-
version: 'string',
|
|
797
|
-
};
|
|
798
|
-
}
|
|
799
|
-
validate() {
|
|
800
|
-
if (this.containerImageSpec && typeof this.containerImageSpec.validate === 'function') {
|
|
801
|
-
this.containerImageSpec.validate();
|
|
802
|
-
}
|
|
803
|
-
if (this.documentInfo && typeof this.documentInfo.validate === 'function') {
|
|
804
|
-
this.documentInfo.validate();
|
|
805
|
-
}
|
|
806
|
-
if (this.VMImageSpec && typeof this.VMImageSpec.validate === 'function') {
|
|
807
|
-
this.VMImageSpec.validate();
|
|
808
|
-
}
|
|
809
|
-
super.validate();
|
|
810
|
-
}
|
|
811
|
-
constructor(map) {
|
|
812
|
-
super(map);
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
exports.GetImageResponseBodyImage = GetImageResponseBodyImage;
|
|
816
|
-
class GetJobResponseBodyJobInfoDeploymentPolicyNetwork extends $dara.Model {
|
|
817
|
-
static names() {
|
|
818
|
-
return {
|
|
819
|
-
enableENIMapping: 'EnableENIMapping',
|
|
820
|
-
enableExternalIpAddress: 'EnableExternalIpAddress',
|
|
821
|
-
vswitch: 'Vswitch',
|
|
822
|
-
};
|
|
823
|
-
}
|
|
824
|
-
static types() {
|
|
825
|
-
return {
|
|
826
|
-
enableENIMapping: 'boolean',
|
|
827
|
-
enableExternalIpAddress: 'boolean',
|
|
828
|
-
vswitch: { 'type': 'array', 'itemType': 'string' },
|
|
829
|
-
};
|
|
830
|
-
}
|
|
831
|
-
validate() {
|
|
832
|
-
if (Array.isArray(this.vswitch)) {
|
|
833
|
-
$dara.Model.validateArray(this.vswitch);
|
|
834
|
-
}
|
|
835
|
-
super.validate();
|
|
836
|
-
}
|
|
837
|
-
constructor(map) {
|
|
838
|
-
super(map);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
exports.GetJobResponseBodyJobInfoDeploymentPolicyNetwork = GetJobResponseBodyJobInfoDeploymentPolicyNetwork;
|
|
842
|
-
class GetJobResponseBodyJobInfoDeploymentPolicyTags extends $dara.Model {
|
|
843
|
-
static names() {
|
|
844
|
-
return {
|
|
845
|
-
tagKey: 'TagKey',
|
|
846
|
-
tagValue: 'TagValue',
|
|
847
|
-
};
|
|
848
|
-
}
|
|
849
|
-
static types() {
|
|
850
|
-
return {
|
|
851
|
-
tagKey: 'string',
|
|
852
|
-
tagValue: 'string',
|
|
853
|
-
};
|
|
854
|
-
}
|
|
855
|
-
validate() {
|
|
856
|
-
super.validate();
|
|
857
|
-
}
|
|
858
|
-
constructor(map) {
|
|
859
|
-
super(map);
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
exports.GetJobResponseBodyJobInfoDeploymentPolicyTags = GetJobResponseBodyJobInfoDeploymentPolicyTags;
|
|
863
|
-
class GetJobResponseBodyJobInfoDeploymentPolicy extends $dara.Model {
|
|
864
|
-
static names() {
|
|
865
|
-
return {
|
|
866
|
-
allocationSpec: 'AllocationSpec',
|
|
867
|
-
level: 'Level',
|
|
868
|
-
network: 'Network',
|
|
869
|
-
tags: 'Tags',
|
|
870
|
-
};
|
|
871
|
-
}
|
|
872
|
-
static types() {
|
|
873
|
-
return {
|
|
874
|
-
allocationSpec: 'string',
|
|
875
|
-
level: 'string',
|
|
876
|
-
network: GetJobResponseBodyJobInfoDeploymentPolicyNetwork,
|
|
877
|
-
tags: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoDeploymentPolicyTags },
|
|
878
|
-
};
|
|
879
|
-
}
|
|
880
|
-
validate() {
|
|
881
|
-
if (this.network && typeof this.network.validate === 'function') {
|
|
882
|
-
this.network.validate();
|
|
883
|
-
}
|
|
884
|
-
if (Array.isArray(this.tags)) {
|
|
885
|
-
$dara.Model.validateArray(this.tags);
|
|
886
|
-
}
|
|
887
|
-
super.validate();
|
|
888
|
-
}
|
|
889
|
-
constructor(map) {
|
|
890
|
-
super(map);
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
exports.GetJobResponseBodyJobInfoDeploymentPolicy = GetJobResponseBodyJobInfoDeploymentPolicy;
|
|
894
|
-
class GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec extends $dara.Model {
|
|
895
|
-
static names() {
|
|
896
|
-
return {
|
|
897
|
-
indexEnd: 'IndexEnd',
|
|
898
|
-
indexStart: 'IndexStart',
|
|
899
|
-
indexStep: 'IndexStep',
|
|
900
|
-
};
|
|
901
|
-
}
|
|
902
|
-
static types() {
|
|
903
|
-
return {
|
|
904
|
-
indexEnd: 'number',
|
|
905
|
-
indexStart: 'number',
|
|
906
|
-
indexStep: 'number',
|
|
907
|
-
};
|
|
908
|
-
}
|
|
909
|
-
validate() {
|
|
910
|
-
super.validate();
|
|
911
|
-
}
|
|
912
|
-
constructor(map) {
|
|
913
|
-
super(map);
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
exports.GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec = GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec;
|
|
917
|
-
class GetJobResponseBodyJobInfoTasksExecutorPolicy extends $dara.Model {
|
|
918
|
-
static names() {
|
|
919
|
-
return {
|
|
920
|
-
arraySpec: 'ArraySpec',
|
|
921
|
-
maxCount: 'MaxCount',
|
|
922
|
-
};
|
|
923
|
-
}
|
|
924
|
-
static types() {
|
|
925
|
-
return {
|
|
926
|
-
arraySpec: GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec,
|
|
927
|
-
maxCount: 'number',
|
|
928
|
-
};
|
|
929
|
-
}
|
|
930
|
-
validate() {
|
|
931
|
-
if (this.arraySpec && typeof this.arraySpec.validate === 'function') {
|
|
932
|
-
this.arraySpec.validate();
|
|
933
|
-
}
|
|
934
|
-
super.validate();
|
|
935
|
-
}
|
|
936
|
-
constructor(map) {
|
|
937
|
-
super(map);
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
exports.GetJobResponseBodyJobInfoTasksExecutorPolicy = GetJobResponseBodyJobInfoTasksExecutorPolicy;
|
|
941
|
-
class GetJobResponseBodyJobInfoTasksExecutorStatus extends $dara.Model {
|
|
942
|
-
static names() {
|
|
943
|
-
return {
|
|
944
|
-
arrayId: 'ArrayId',
|
|
945
|
-
createTime: 'CreateTime',
|
|
946
|
-
endTime: 'EndTime',
|
|
947
|
-
startTime: 'StartTime',
|
|
948
|
-
status: 'Status',
|
|
949
|
-
statusReason: 'StatusReason',
|
|
950
|
-
};
|
|
951
|
-
}
|
|
952
|
-
static types() {
|
|
953
|
-
return {
|
|
954
|
-
arrayId: 'number',
|
|
955
|
-
createTime: 'string',
|
|
956
|
-
endTime: 'string',
|
|
957
|
-
startTime: 'string',
|
|
958
|
-
status: 'string',
|
|
959
|
-
statusReason: 'string',
|
|
960
|
-
};
|
|
961
|
-
}
|
|
962
|
-
validate() {
|
|
963
|
-
super.validate();
|
|
964
|
-
}
|
|
965
|
-
constructor(map) {
|
|
966
|
-
super(map);
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
exports.GetJobResponseBodyJobInfoTasksExecutorStatus = GetJobResponseBodyJobInfoTasksExecutorStatus;
|
|
970
|
-
class GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks extends $dara.Model {
|
|
971
|
-
static names() {
|
|
972
|
-
return {
|
|
973
|
-
size: 'Size',
|
|
974
|
-
type: 'Type',
|
|
975
|
-
};
|
|
976
|
-
}
|
|
977
|
-
static types() {
|
|
978
|
-
return {
|
|
979
|
-
size: 'number',
|
|
980
|
-
type: 'string',
|
|
981
|
-
};
|
|
982
|
-
}
|
|
983
|
-
validate() {
|
|
984
|
-
super.validate();
|
|
985
|
-
}
|
|
986
|
-
constructor(map) {
|
|
987
|
-
super(map);
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
exports.GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks = GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks;
|
|
991
|
-
class GetJobResponseBodyJobInfoTasksTaskSpecResource extends $dara.Model {
|
|
992
|
-
static names() {
|
|
993
|
-
return {
|
|
994
|
-
cores: 'Cores',
|
|
995
|
-
disks: 'Disks',
|
|
996
|
-
memory: 'Memory',
|
|
997
|
-
};
|
|
998
|
-
}
|
|
999
|
-
static types() {
|
|
1000
|
-
return {
|
|
1001
|
-
cores: 'number',
|
|
1002
|
-
disks: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks },
|
|
1003
|
-
memory: 'number',
|
|
1004
|
-
};
|
|
1005
|
-
}
|
|
1006
|
-
validate() {
|
|
1007
|
-
if (Array.isArray(this.disks)) {
|
|
1008
|
-
$dara.Model.validateArray(this.disks);
|
|
1009
|
-
}
|
|
1010
|
-
super.validate();
|
|
1011
|
-
}
|
|
1012
|
-
constructor(map) {
|
|
1013
|
-
super(map);
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
exports.GetJobResponseBodyJobInfoTasksTaskSpecResource = GetJobResponseBodyJobInfoTasksTaskSpecResource;
|
|
1017
|
-
class GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM extends $dara.Model {
|
|
1018
|
-
static names() {
|
|
1019
|
-
return {
|
|
1020
|
-
image: 'Image',
|
|
1021
|
-
prologScript: 'PrologScript',
|
|
1022
|
-
script: 'Script',
|
|
1023
|
-
};
|
|
1024
|
-
}
|
|
1025
|
-
static types() {
|
|
1026
|
-
return {
|
|
1027
|
-
image: 'string',
|
|
1028
|
-
prologScript: 'string',
|
|
1029
|
-
script: 'string',
|
|
1030
|
-
};
|
|
1031
|
-
}
|
|
1032
|
-
validate() {
|
|
1033
|
-
super.validate();
|
|
1034
|
-
}
|
|
1035
|
-
constructor(map) {
|
|
1036
|
-
super(map);
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
exports.GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM = GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM;
|
|
1040
|
-
class GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor extends $dara.Model {
|
|
1041
|
-
static names() {
|
|
1042
|
-
return {
|
|
1043
|
-
VM: 'VM',
|
|
1044
|
-
};
|
|
1045
|
-
}
|
|
1046
|
-
static types() {
|
|
1047
|
-
return {
|
|
1048
|
-
VM: GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM,
|
|
1049
|
-
};
|
|
1050
|
-
}
|
|
1051
|
-
validate() {
|
|
1052
|
-
if (this.VM && typeof this.VM.validate === 'function') {
|
|
1053
|
-
this.VM.validate();
|
|
1054
|
-
}
|
|
1055
|
-
super.validate();
|
|
1056
|
-
}
|
|
1057
|
-
constructor(map) {
|
|
1058
|
-
super(map);
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
exports.GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor = GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor;
|
|
1062
|
-
class GetJobResponseBodyJobInfoTasksTaskSpec extends $dara.Model {
|
|
1063
|
-
static names() {
|
|
1064
|
-
return {
|
|
1065
|
-
resource: 'Resource',
|
|
1066
|
-
taskExecutor: 'TaskExecutor',
|
|
1067
|
-
};
|
|
1068
|
-
}
|
|
1069
|
-
static types() {
|
|
1070
|
-
return {
|
|
1071
|
-
resource: GetJobResponseBodyJobInfoTasksTaskSpecResource,
|
|
1072
|
-
taskExecutor: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor },
|
|
1073
|
-
};
|
|
1074
|
-
}
|
|
1075
|
-
validate() {
|
|
1076
|
-
if (this.resource && typeof this.resource.validate === 'function') {
|
|
1077
|
-
this.resource.validate();
|
|
1078
|
-
}
|
|
1079
|
-
if (Array.isArray(this.taskExecutor)) {
|
|
1080
|
-
$dara.Model.validateArray(this.taskExecutor);
|
|
1081
|
-
}
|
|
1082
|
-
super.validate();
|
|
1083
|
-
}
|
|
1084
|
-
constructor(map) {
|
|
1085
|
-
super(map);
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
exports.GetJobResponseBodyJobInfoTasksTaskSpec = GetJobResponseBodyJobInfoTasksTaskSpec;
|
|
1089
|
-
class GetJobResponseBodyJobInfoTasks extends $dara.Model {
|
|
1090
|
-
static names() {
|
|
1091
|
-
return {
|
|
1092
|
-
executorPolicy: 'ExecutorPolicy',
|
|
1093
|
-
executorStatus: 'ExecutorStatus',
|
|
1094
|
-
taskName: 'TaskName',
|
|
1095
|
-
taskSpec: 'TaskSpec',
|
|
1096
|
-
taskSustainable: 'TaskSustainable',
|
|
1097
|
-
};
|
|
1098
|
-
}
|
|
1099
|
-
static types() {
|
|
1100
|
-
return {
|
|
1101
|
-
executorPolicy: GetJobResponseBodyJobInfoTasksExecutorPolicy,
|
|
1102
|
-
executorStatus: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoTasksExecutorStatus },
|
|
1103
|
-
taskName: 'string',
|
|
1104
|
-
taskSpec: GetJobResponseBodyJobInfoTasksTaskSpec,
|
|
1105
|
-
taskSustainable: 'boolean',
|
|
1106
|
-
};
|
|
1107
|
-
}
|
|
1108
|
-
validate() {
|
|
1109
|
-
if (this.executorPolicy && typeof this.executorPolicy.validate === 'function') {
|
|
1110
|
-
this.executorPolicy.validate();
|
|
1111
|
-
}
|
|
1112
|
-
if (Array.isArray(this.executorStatus)) {
|
|
1113
|
-
$dara.Model.validateArray(this.executorStatus);
|
|
1114
|
-
}
|
|
1115
|
-
if (this.taskSpec && typeof this.taskSpec.validate === 'function') {
|
|
1116
|
-
this.taskSpec.validate();
|
|
1117
|
-
}
|
|
1118
|
-
super.validate();
|
|
1119
|
-
}
|
|
1120
|
-
constructor(map) {
|
|
1121
|
-
super(map);
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
exports.GetJobResponseBodyJobInfoTasks = GetJobResponseBodyJobInfoTasks;
|
|
1125
|
-
class GetJobResponseBodyJobInfo extends $dara.Model {
|
|
1126
|
-
static names() {
|
|
1127
|
-
return {
|
|
1128
|
-
createTime: 'CreateTime',
|
|
1129
|
-
deploymentPolicy: 'DeploymentPolicy',
|
|
1130
|
-
endTime: 'EndTime',
|
|
1131
|
-
jobDescription: 'JobDescription',
|
|
1132
|
-
jobId: 'JobId',
|
|
1133
|
-
jobName: 'JobName',
|
|
1134
|
-
jobScheduler: 'JobScheduler',
|
|
1135
|
-
startTime: 'StartTime',
|
|
1136
|
-
status: 'Status',
|
|
1137
|
-
tasks: 'Tasks',
|
|
1138
|
-
};
|
|
1139
|
-
}
|
|
1140
|
-
static types() {
|
|
1141
|
-
return {
|
|
1142
|
-
createTime: 'string',
|
|
1143
|
-
deploymentPolicy: GetJobResponseBodyJobInfoDeploymentPolicy,
|
|
1144
|
-
endTime: 'string',
|
|
1145
|
-
jobDescription: 'string',
|
|
1146
|
-
jobId: 'string',
|
|
1147
|
-
jobName: 'string',
|
|
1148
|
-
jobScheduler: 'string',
|
|
1149
|
-
startTime: 'string',
|
|
1150
|
-
status: 'string',
|
|
1151
|
-
tasks: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoTasks },
|
|
1152
|
-
};
|
|
1153
|
-
}
|
|
1154
|
-
validate() {
|
|
1155
|
-
if (this.deploymentPolicy && typeof this.deploymentPolicy.validate === 'function') {
|
|
1156
|
-
this.deploymentPolicy.validate();
|
|
1157
|
-
}
|
|
1158
|
-
if (Array.isArray(this.tasks)) {
|
|
1159
|
-
$dara.Model.validateArray(this.tasks);
|
|
1160
|
-
}
|
|
1161
|
-
super.validate();
|
|
1162
|
-
}
|
|
1163
|
-
constructor(map) {
|
|
1164
|
-
super(map);
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
exports.GetJobResponseBodyJobInfo = GetJobResponseBodyJobInfo;
|
|
1168
|
-
class GetPoolResponseBodyPoolInfo extends $dara.Model {
|
|
1169
|
-
static names() {
|
|
1170
|
-
return {
|
|
1171
|
-
createTime: 'CreateTime',
|
|
1172
|
-
exectorUsage: 'ExectorUsage',
|
|
1173
|
-
isDefault: 'IsDefault',
|
|
1174
|
-
maxExectorNum: 'MaxExectorNum',
|
|
1175
|
-
poolName: 'PoolName',
|
|
1176
|
-
priority: 'Priority',
|
|
1177
|
-
reason: 'Reason',
|
|
1178
|
-
status: 'Status',
|
|
1179
|
-
updateTime: 'UpdateTime',
|
|
1180
|
-
};
|
|
1181
|
-
}
|
|
1182
|
-
static types() {
|
|
1183
|
-
return {
|
|
1184
|
-
createTime: 'string',
|
|
1185
|
-
exectorUsage: 'number',
|
|
1186
|
-
isDefault: 'boolean',
|
|
1187
|
-
maxExectorNum: 'number',
|
|
1188
|
-
poolName: 'string',
|
|
1189
|
-
priority: 'number',
|
|
1190
|
-
reason: 'string',
|
|
1191
|
-
status: 'string',
|
|
1192
|
-
updateTime: 'string',
|
|
1193
|
-
};
|
|
1194
|
-
}
|
|
1195
|
-
validate() {
|
|
1196
|
-
super.validate();
|
|
1197
|
-
}
|
|
1198
|
-
constructor(map) {
|
|
1199
|
-
super(map);
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
exports.GetPoolResponseBodyPoolInfo = GetPoolResponseBodyPoolInfo;
|
|
1203
|
-
class ListExecutorsRequestFilter extends $dara.Model {
|
|
1204
|
-
static names() {
|
|
1205
|
-
return {
|
|
1206
|
-
executorIds: 'ExecutorIds',
|
|
1207
|
-
ipAddresses: 'IpAddresses',
|
|
1208
|
-
jobName: 'JobName',
|
|
1209
|
-
status: 'Status',
|
|
1210
|
-
timeCreatedAfter: 'TimeCreatedAfter',
|
|
1211
|
-
timeCreatedBefore: 'TimeCreatedBefore',
|
|
1212
|
-
};
|
|
1213
|
-
}
|
|
1214
|
-
static types() {
|
|
1215
|
-
return {
|
|
1216
|
-
executorIds: { 'type': 'array', 'itemType': 'string' },
|
|
1217
|
-
ipAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
1218
|
-
jobName: 'string',
|
|
1219
|
-
status: { 'type': 'array', 'itemType': 'string' },
|
|
1220
|
-
timeCreatedAfter: 'number',
|
|
1221
|
-
timeCreatedBefore: 'number',
|
|
1222
|
-
};
|
|
1223
|
-
}
|
|
1224
|
-
validate() {
|
|
1225
|
-
if (Array.isArray(this.executorIds)) {
|
|
1226
|
-
$dara.Model.validateArray(this.executorIds);
|
|
1227
|
-
}
|
|
1228
|
-
if (Array.isArray(this.ipAddresses)) {
|
|
1229
|
-
$dara.Model.validateArray(this.ipAddresses);
|
|
1230
|
-
}
|
|
1231
|
-
if (Array.isArray(this.status)) {
|
|
1232
|
-
$dara.Model.validateArray(this.status);
|
|
1233
|
-
}
|
|
1234
|
-
super.validate();
|
|
1235
|
-
}
|
|
1236
|
-
constructor(map) {
|
|
1237
|
-
super(map);
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
exports.ListExecutorsRequestFilter = ListExecutorsRequestFilter;
|
|
1241
|
-
class ListExecutorsResponseBodyExecutorsResourceDisks extends $dara.Model {
|
|
1242
|
-
static names() {
|
|
1243
|
-
return {
|
|
1244
|
-
size: 'Size',
|
|
1245
|
-
type: 'Type',
|
|
1246
|
-
};
|
|
1247
|
-
}
|
|
1248
|
-
static types() {
|
|
1249
|
-
return {
|
|
1250
|
-
size: 'number',
|
|
1251
|
-
type: 'string',
|
|
1252
|
-
};
|
|
1253
|
-
}
|
|
1254
|
-
validate() {
|
|
1255
|
-
super.validate();
|
|
1256
|
-
}
|
|
1257
|
-
constructor(map) {
|
|
1258
|
-
super(map);
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
exports.ListExecutorsResponseBodyExecutorsResourceDisks = ListExecutorsResponseBodyExecutorsResourceDisks;
|
|
1262
|
-
class ListExecutorsResponseBodyExecutorsResource extends $dara.Model {
|
|
1263
|
-
static names() {
|
|
1264
|
-
return {
|
|
1265
|
-
cores: 'Cores',
|
|
1266
|
-
disks: 'Disks',
|
|
1267
|
-
memory: 'Memory',
|
|
1268
|
-
};
|
|
1269
|
-
}
|
|
1270
|
-
static types() {
|
|
1271
|
-
return {
|
|
1272
|
-
cores: 'number',
|
|
1273
|
-
disks: { 'type': 'array', 'itemType': ListExecutorsResponseBodyExecutorsResourceDisks },
|
|
1274
|
-
memory: 'number',
|
|
1275
|
-
};
|
|
1276
|
-
}
|
|
1277
|
-
validate() {
|
|
1278
|
-
if (Array.isArray(this.disks)) {
|
|
1279
|
-
$dara.Model.validateArray(this.disks);
|
|
1280
|
-
}
|
|
1281
|
-
super.validate();
|
|
1282
|
-
}
|
|
1283
|
-
constructor(map) {
|
|
1284
|
-
super(map);
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1287
|
-
exports.ListExecutorsResponseBodyExecutorsResource = ListExecutorsResponseBodyExecutorsResource;
|
|
1288
|
-
class ListExecutorsResponseBodyExecutorsTags extends $dara.Model {
|
|
1289
|
-
static names() {
|
|
1290
|
-
return {
|
|
1291
|
-
tagKey: 'TagKey',
|
|
1292
|
-
tagValue: 'TagValue',
|
|
1293
|
-
};
|
|
1294
|
-
}
|
|
1295
|
-
static types() {
|
|
1296
|
-
return {
|
|
1297
|
-
tagKey: 'string',
|
|
1298
|
-
tagValue: 'string',
|
|
1299
|
-
};
|
|
1300
|
-
}
|
|
1301
|
-
validate() {
|
|
1302
|
-
super.validate();
|
|
1303
|
-
}
|
|
1304
|
-
constructor(map) {
|
|
1305
|
-
super(map);
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
exports.ListExecutorsResponseBodyExecutorsTags = ListExecutorsResponseBodyExecutorsTags;
|
|
1309
|
-
class ListExecutorsResponseBodyExecutors extends $dara.Model {
|
|
1310
|
-
static names() {
|
|
1311
|
-
return {
|
|
1312
|
-
appName: 'AppName',
|
|
1313
|
-
arrayIndex: 'ArrayIndex',
|
|
1314
|
-
createTime: 'CreateTime',
|
|
1315
|
-
endTime: 'EndTime',
|
|
1316
|
-
executorId: 'ExecutorId',
|
|
1317
|
-
expirationTime: 'ExpirationTime',
|
|
1318
|
-
externalIpAddress: 'ExternalIpAddress',
|
|
1319
|
-
hostName: 'HostName',
|
|
1320
|
-
image: 'Image',
|
|
1321
|
-
ipAddress: 'IpAddress',
|
|
1322
|
-
jobId: 'JobId',
|
|
1323
|
-
jobName: 'JobName',
|
|
1324
|
-
resource: 'Resource',
|
|
1325
|
-
resourceType: 'ResourceType',
|
|
1326
|
-
startTime: 'StartTime',
|
|
1327
|
-
status: 'Status',
|
|
1328
|
-
statusReason: 'StatusReason',
|
|
1329
|
-
tags: 'Tags',
|
|
1330
|
-
taskName: 'TaskName',
|
|
1331
|
-
taskSustainable: 'TaskSustainable',
|
|
1332
|
-
vswitchId: 'VswitchId',
|
|
1333
|
-
};
|
|
1334
|
-
}
|
|
1335
|
-
static types() {
|
|
1336
|
-
return {
|
|
1337
|
-
appName: 'string',
|
|
1338
|
-
arrayIndex: 'number',
|
|
1339
|
-
createTime: 'string',
|
|
1340
|
-
endTime: 'string',
|
|
1341
|
-
executorId: 'string',
|
|
1342
|
-
expirationTime: 'string',
|
|
1343
|
-
externalIpAddress: { 'type': 'array', 'itemType': 'string' },
|
|
1344
|
-
hostName: { 'type': 'array', 'itemType': 'string' },
|
|
1345
|
-
image: 'string',
|
|
1346
|
-
ipAddress: { 'type': 'array', 'itemType': 'string' },
|
|
1347
|
-
jobId: 'string',
|
|
1348
|
-
jobName: 'string',
|
|
1349
|
-
resource: ListExecutorsResponseBodyExecutorsResource,
|
|
1350
|
-
resourceType: 'string',
|
|
1351
|
-
startTime: 'string',
|
|
1352
|
-
status: 'string',
|
|
1353
|
-
statusReason: 'string',
|
|
1354
|
-
tags: { 'type': 'array', 'itemType': ListExecutorsResponseBodyExecutorsTags },
|
|
1355
|
-
taskName: 'string',
|
|
1356
|
-
taskSustainable: 'boolean',
|
|
1357
|
-
vswitchId: 'string',
|
|
1358
|
-
};
|
|
1359
|
-
}
|
|
1360
|
-
validate() {
|
|
1361
|
-
if (Array.isArray(this.externalIpAddress)) {
|
|
1362
|
-
$dara.Model.validateArray(this.externalIpAddress);
|
|
1363
|
-
}
|
|
1364
|
-
if (Array.isArray(this.hostName)) {
|
|
1365
|
-
$dara.Model.validateArray(this.hostName);
|
|
1366
|
-
}
|
|
1367
|
-
if (Array.isArray(this.ipAddress)) {
|
|
1368
|
-
$dara.Model.validateArray(this.ipAddress);
|
|
1369
|
-
}
|
|
1370
|
-
if (this.resource && typeof this.resource.validate === 'function') {
|
|
1371
|
-
this.resource.validate();
|
|
1372
|
-
}
|
|
1373
|
-
if (Array.isArray(this.tags)) {
|
|
1374
|
-
$dara.Model.validateArray(this.tags);
|
|
1375
|
-
}
|
|
1376
|
-
super.validate();
|
|
1377
|
-
}
|
|
1378
|
-
constructor(map) {
|
|
1379
|
-
super(map);
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
exports.ListExecutorsResponseBodyExecutors = ListExecutorsResponseBodyExecutors;
|
|
1383
|
-
class ListImagesResponseBodyImages extends $dara.Model {
|
|
1384
|
-
static names() {
|
|
1385
|
-
return {
|
|
1386
|
-
appId: 'AppId',
|
|
1387
|
-
createTime: 'CreateTime',
|
|
1388
|
-
description: 'Description',
|
|
1389
|
-
documentId: 'DocumentId',
|
|
1390
|
-
imageId: 'ImageId',
|
|
1391
|
-
imageType: 'ImageType',
|
|
1392
|
-
name: 'Name',
|
|
1393
|
-
osTag: 'OsTag',
|
|
1394
|
-
updateTime: 'UpdateTime',
|
|
1395
|
-
version: 'Version',
|
|
1396
|
-
weight: 'Weight',
|
|
1397
|
-
};
|
|
1398
|
-
}
|
|
1399
|
-
static types() {
|
|
1400
|
-
return {
|
|
1401
|
-
appId: 'string',
|
|
1402
|
-
createTime: 'string',
|
|
1403
|
-
description: 'string',
|
|
1404
|
-
documentId: 'number',
|
|
1405
|
-
imageId: 'string',
|
|
1406
|
-
imageType: 'string',
|
|
1407
|
-
name: 'string',
|
|
1408
|
-
osTag: 'string',
|
|
1409
|
-
updateTime: 'string',
|
|
1410
|
-
version: 'string',
|
|
1411
|
-
weight: 'number',
|
|
1412
|
-
};
|
|
1413
|
-
}
|
|
1414
|
-
validate() {
|
|
1415
|
-
super.validate();
|
|
1416
|
-
}
|
|
1417
|
-
constructor(map) {
|
|
1418
|
-
super(map);
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
exports.ListImagesResponseBodyImages = ListImagesResponseBodyImages;
|
|
1422
|
-
class ListJobExecutorsResponseBodyExecutorStatus extends $dara.Model {
|
|
1423
|
-
static names() {
|
|
1424
|
-
return {
|
|
1425
|
-
deleted: 'Deleted',
|
|
1426
|
-
exception: 'Exception',
|
|
1427
|
-
failed: 'Failed',
|
|
1428
|
-
initing: 'Initing',
|
|
1429
|
-
pending: 'Pending',
|
|
1430
|
-
running: 'Running',
|
|
1431
|
-
succeeded: 'Succeeded',
|
|
1432
|
-
};
|
|
1433
|
-
}
|
|
1434
|
-
static types() {
|
|
1435
|
-
return {
|
|
1436
|
-
deleted: 'number',
|
|
1437
|
-
exception: 'number',
|
|
1438
|
-
failed: 'number',
|
|
1439
|
-
initing: 'number',
|
|
1440
|
-
pending: 'number',
|
|
1441
|
-
running: 'number',
|
|
1442
|
-
succeeded: 'number',
|
|
1443
|
-
};
|
|
1444
|
-
}
|
|
1445
|
-
validate() {
|
|
1446
|
-
super.validate();
|
|
1447
|
-
}
|
|
1448
|
-
constructor(map) {
|
|
1449
|
-
super(map);
|
|
1450
|
-
}
|
|
1451
|
-
}
|
|
1452
|
-
exports.ListJobExecutorsResponseBodyExecutorStatus = ListJobExecutorsResponseBodyExecutorStatus;
|
|
1453
|
-
class ListJobExecutorsResponseBodyExecutorsTags extends $dara.Model {
|
|
1454
|
-
static names() {
|
|
1455
|
-
return {
|
|
1456
|
-
tagKey: 'TagKey',
|
|
1457
|
-
tagValue: 'TagValue',
|
|
1458
|
-
};
|
|
1459
|
-
}
|
|
1460
|
-
static types() {
|
|
1461
|
-
return {
|
|
1462
|
-
tagKey: 'string',
|
|
1463
|
-
tagValue: 'string',
|
|
1464
|
-
};
|
|
1465
|
-
}
|
|
1466
|
-
validate() {
|
|
1467
|
-
super.validate();
|
|
1468
|
-
}
|
|
1469
|
-
constructor(map) {
|
|
1470
|
-
super(map);
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
exports.ListJobExecutorsResponseBodyExecutorsTags = ListJobExecutorsResponseBodyExecutorsTags;
|
|
1474
|
-
class ListJobExecutorsResponseBodyExecutors extends $dara.Model {
|
|
1475
|
-
static names() {
|
|
1476
|
-
return {
|
|
1477
|
-
arrayIndex: 'ArrayIndex',
|
|
1478
|
-
createTime: 'CreateTime',
|
|
1479
|
-
endTime: 'EndTime',
|
|
1480
|
-
executorId: 'ExecutorId',
|
|
1481
|
-
expirationTime: 'ExpirationTime',
|
|
1482
|
-
externalIpAddress: 'ExternalIpAddress',
|
|
1483
|
-
hostName: 'HostName',
|
|
1484
|
-
ipAddress: 'IpAddress',
|
|
1485
|
-
startTime: 'StartTime',
|
|
1486
|
-
status: 'Status',
|
|
1487
|
-
statusReason: 'StatusReason',
|
|
1488
|
-
tags: 'Tags',
|
|
1489
|
-
};
|
|
1490
|
-
}
|
|
1491
|
-
static types() {
|
|
1492
|
-
return {
|
|
1493
|
-
arrayIndex: 'number',
|
|
1494
|
-
createTime: 'string',
|
|
1495
|
-
endTime: 'string',
|
|
1496
|
-
executorId: 'string',
|
|
1497
|
-
expirationTime: 'string',
|
|
1498
|
-
externalIpAddress: { 'type': 'array', 'itemType': 'string' },
|
|
1499
|
-
hostName: { 'type': 'array', 'itemType': 'string' },
|
|
1500
|
-
ipAddress: { 'type': 'array', 'itemType': 'string' },
|
|
1501
|
-
startTime: 'string',
|
|
1502
|
-
status: 'string',
|
|
1503
|
-
statusReason: 'string',
|
|
1504
|
-
tags: { 'type': 'array', 'itemType': ListJobExecutorsResponseBodyExecutorsTags },
|
|
1505
|
-
};
|
|
1506
|
-
}
|
|
1507
|
-
validate() {
|
|
1508
|
-
if (Array.isArray(this.externalIpAddress)) {
|
|
1509
|
-
$dara.Model.validateArray(this.externalIpAddress);
|
|
1510
|
-
}
|
|
1511
|
-
if (Array.isArray(this.hostName)) {
|
|
1512
|
-
$dara.Model.validateArray(this.hostName);
|
|
1513
|
-
}
|
|
1514
|
-
if (Array.isArray(this.ipAddress)) {
|
|
1515
|
-
$dara.Model.validateArray(this.ipAddress);
|
|
1516
|
-
}
|
|
1517
|
-
if (Array.isArray(this.tags)) {
|
|
1518
|
-
$dara.Model.validateArray(this.tags);
|
|
1519
|
-
}
|
|
1520
|
-
super.validate();
|
|
1521
|
-
}
|
|
1522
|
-
constructor(map) {
|
|
1523
|
-
super(map);
|
|
1524
|
-
}
|
|
1525
|
-
}
|
|
1526
|
-
exports.ListJobExecutorsResponseBodyExecutors = ListJobExecutorsResponseBodyExecutors;
|
|
1527
|
-
class ListJobsRequestFilter extends $dara.Model {
|
|
1528
|
-
static names() {
|
|
1529
|
-
return {
|
|
1530
|
-
jobId: 'JobId',
|
|
1531
|
-
jobName: 'JobName',
|
|
1532
|
-
status: 'Status',
|
|
1533
|
-
timeCreatedAfter: 'TimeCreatedAfter',
|
|
1534
|
-
timeCreatedBefore: 'TimeCreatedBefore',
|
|
1535
|
-
};
|
|
1536
|
-
}
|
|
1537
|
-
static types() {
|
|
1538
|
-
return {
|
|
1539
|
-
jobId: 'string',
|
|
1540
|
-
jobName: 'string',
|
|
1541
|
-
status: 'string',
|
|
1542
|
-
timeCreatedAfter: 'number',
|
|
1543
|
-
timeCreatedBefore: 'number',
|
|
1544
|
-
};
|
|
1545
|
-
}
|
|
1546
|
-
validate() {
|
|
1547
|
-
super.validate();
|
|
1548
|
-
}
|
|
1549
|
-
constructor(map) {
|
|
1550
|
-
super(map);
|
|
1551
|
-
}
|
|
1552
|
-
}
|
|
1553
|
-
exports.ListJobsRequestFilter = ListJobsRequestFilter;
|
|
1554
|
-
class ListJobsRequestSortBy extends $dara.Model {
|
|
1555
|
-
static names() {
|
|
1556
|
-
return {
|
|
1557
|
-
label: 'Label',
|
|
1558
|
-
order: 'Order',
|
|
1559
|
-
};
|
|
1560
|
-
}
|
|
1561
|
-
static types() {
|
|
1562
|
-
return {
|
|
1563
|
-
label: 'string',
|
|
1564
|
-
order: 'string',
|
|
1565
|
-
};
|
|
1566
|
-
}
|
|
1567
|
-
validate() {
|
|
1568
|
-
super.validate();
|
|
1569
|
-
}
|
|
1570
|
-
constructor(map) {
|
|
1571
|
-
super(map);
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1574
|
-
exports.ListJobsRequestSortBy = ListJobsRequestSortBy;
|
|
1575
|
-
class ListJobsResponseBodyJobListTags extends $dara.Model {
|
|
1576
|
-
static names() {
|
|
1577
|
-
return {
|
|
1578
|
-
tagKey: 'TagKey',
|
|
1579
|
-
tagValue: 'TagValue',
|
|
1580
|
-
};
|
|
1581
|
-
}
|
|
1582
|
-
static types() {
|
|
1583
|
-
return {
|
|
1584
|
-
tagKey: 'string',
|
|
1585
|
-
tagValue: 'string',
|
|
1586
|
-
};
|
|
1587
|
-
}
|
|
1588
|
-
validate() {
|
|
1589
|
-
super.validate();
|
|
1590
|
-
}
|
|
1591
|
-
constructor(map) {
|
|
1592
|
-
super(map);
|
|
1593
|
-
}
|
|
1594
|
-
}
|
|
1595
|
-
exports.ListJobsResponseBodyJobListTags = ListJobsResponseBodyJobListTags;
|
|
1596
|
-
class ListJobsResponseBodyJobList extends $dara.Model {
|
|
1597
|
-
static names() {
|
|
1598
|
-
return {
|
|
1599
|
-
appName: 'AppName',
|
|
1600
|
-
createTime: 'CreateTime',
|
|
1601
|
-
endTime: 'EndTime',
|
|
1602
|
-
executorCount: 'ExecutorCount',
|
|
1603
|
-
jobDescription: 'JobDescription',
|
|
1604
|
-
jobId: 'JobId',
|
|
1605
|
-
jobName: 'JobName',
|
|
1606
|
-
ownerUid: 'OwnerUid',
|
|
1607
|
-
startTime: 'StartTime',
|
|
1608
|
-
status: 'Status',
|
|
1609
|
-
tags: 'Tags',
|
|
1610
|
-
taskCount: 'TaskCount',
|
|
1611
|
-
taskSustainable: 'TaskSustainable',
|
|
1612
|
-
};
|
|
1613
|
-
}
|
|
1614
|
-
static types() {
|
|
1615
|
-
return {
|
|
1616
|
-
appName: 'string',
|
|
1617
|
-
createTime: 'string',
|
|
1618
|
-
endTime: 'string',
|
|
1619
|
-
executorCount: 'number',
|
|
1620
|
-
jobDescription: 'string',
|
|
1621
|
-
jobId: 'string',
|
|
1622
|
-
jobName: 'string',
|
|
1623
|
-
ownerUid: 'string',
|
|
1624
|
-
startTime: 'string',
|
|
1625
|
-
status: 'string',
|
|
1626
|
-
tags: { 'type': 'array', 'itemType': ListJobsResponseBodyJobListTags },
|
|
1627
|
-
taskCount: 'number',
|
|
1628
|
-
taskSustainable: 'boolean',
|
|
1629
|
-
};
|
|
1630
|
-
}
|
|
1631
|
-
validate() {
|
|
1632
|
-
if (Array.isArray(this.tags)) {
|
|
1633
|
-
$dara.Model.validateArray(this.tags);
|
|
1634
|
-
}
|
|
1635
|
-
super.validate();
|
|
1636
|
-
}
|
|
1637
|
-
constructor(map) {
|
|
1638
|
-
super(map);
|
|
1639
|
-
}
|
|
1640
|
-
}
|
|
1641
|
-
exports.ListJobsResponseBodyJobList = ListJobsResponseBodyJobList;
|
|
1642
|
-
class ListPoolsRequestFilter extends $dara.Model {
|
|
1643
|
-
static names() {
|
|
1644
|
-
return {
|
|
1645
|
-
poolName: 'PoolName',
|
|
1646
|
-
status: 'Status',
|
|
1647
|
-
timeCreatedAfter: 'TimeCreatedAfter',
|
|
1648
|
-
timeCreatedBefore: 'TimeCreatedBefore',
|
|
1649
|
-
};
|
|
1650
|
-
}
|
|
1651
|
-
static types() {
|
|
1652
|
-
return {
|
|
1653
|
-
poolName: { 'type': 'array', 'itemType': 'string' },
|
|
1654
|
-
status: { 'type': 'array', 'itemType': 'string' },
|
|
1655
|
-
timeCreatedAfter: 'number',
|
|
1656
|
-
timeCreatedBefore: 'number',
|
|
1657
|
-
};
|
|
1658
|
-
}
|
|
1659
|
-
validate() {
|
|
1660
|
-
if (Array.isArray(this.poolName)) {
|
|
1661
|
-
$dara.Model.validateArray(this.poolName);
|
|
1662
|
-
}
|
|
1663
|
-
if (Array.isArray(this.status)) {
|
|
1664
|
-
$dara.Model.validateArray(this.status);
|
|
1665
|
-
}
|
|
1666
|
-
super.validate();
|
|
1667
|
-
}
|
|
1668
|
-
constructor(map) {
|
|
1669
|
-
super(map);
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1672
|
-
exports.ListPoolsRequestFilter = ListPoolsRequestFilter;
|
|
1673
|
-
class ListPoolsResponseBodyPoolList extends $dara.Model {
|
|
1674
|
-
static names() {
|
|
1675
|
-
return {
|
|
1676
|
-
isDefault: 'IsDefault',
|
|
1677
|
-
maxExectorNum: 'MaxExectorNum',
|
|
1678
|
-
poolName: 'PoolName',
|
|
1679
|
-
priority: 'Priority',
|
|
1680
|
-
status: 'Status',
|
|
1681
|
-
};
|
|
1682
|
-
}
|
|
1683
|
-
static types() {
|
|
1684
|
-
return {
|
|
1685
|
-
isDefault: 'boolean',
|
|
1686
|
-
maxExectorNum: 'number',
|
|
1687
|
-
poolName: 'string',
|
|
1688
|
-
priority: 'number',
|
|
1689
|
-
status: 'string',
|
|
1690
|
-
};
|
|
1691
|
-
}
|
|
1692
|
-
validate() {
|
|
1693
|
-
super.validate();
|
|
1694
|
-
}
|
|
1695
|
-
constructor(map) {
|
|
1696
|
-
super(map);
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
exports.ListPoolsResponseBodyPoolList = ListPoolsResponseBodyPoolList;
|
|
1700
|
-
class ListTagResourcesRequestTag extends $dara.Model {
|
|
1701
|
-
static names() {
|
|
1702
|
-
return {
|
|
1703
|
-
key: 'Key',
|
|
1704
|
-
value: 'Value',
|
|
1705
|
-
};
|
|
1706
|
-
}
|
|
1707
|
-
static types() {
|
|
1708
|
-
return {
|
|
1709
|
-
key: 'string',
|
|
1710
|
-
value: 'string',
|
|
1711
|
-
};
|
|
1712
|
-
}
|
|
1713
|
-
validate() {
|
|
1714
|
-
super.validate();
|
|
1715
|
-
}
|
|
1716
|
-
constructor(map) {
|
|
1717
|
-
super(map);
|
|
1718
|
-
}
|
|
1719
|
-
}
|
|
1720
|
-
exports.ListTagResourcesRequestTag = ListTagResourcesRequestTag;
|
|
1721
|
-
class ListTagResourcesResponseBodyTagResourcesTagResource extends $dara.Model {
|
|
1722
|
-
static names() {
|
|
1723
|
-
return {
|
|
1724
|
-
resourceId: 'ResourceId',
|
|
1725
|
-
resourceType: 'ResourceType',
|
|
1726
|
-
tagKey: 'TagKey',
|
|
1727
|
-
tagValue: 'TagValue',
|
|
1728
|
-
};
|
|
1729
|
-
}
|
|
1730
|
-
static types() {
|
|
1731
|
-
return {
|
|
1732
|
-
resourceId: 'string',
|
|
1733
|
-
resourceType: 'string',
|
|
1734
|
-
tagKey: 'string',
|
|
1735
|
-
tagValue: 'string',
|
|
1736
|
-
};
|
|
1737
|
-
}
|
|
1738
|
-
validate() {
|
|
1739
|
-
super.validate();
|
|
1740
|
-
}
|
|
1741
|
-
constructor(map) {
|
|
1742
|
-
super(map);
|
|
1743
|
-
}
|
|
1744
|
-
}
|
|
1745
|
-
exports.ListTagResourcesResponseBodyTagResourcesTagResource = ListTagResourcesResponseBodyTagResourcesTagResource;
|
|
1746
|
-
class ListTagResourcesResponseBodyTagResources extends $dara.Model {
|
|
1747
|
-
static names() {
|
|
1748
|
-
return {
|
|
1749
|
-
tagResource: 'TagResource',
|
|
1750
|
-
};
|
|
1751
|
-
}
|
|
1752
|
-
static types() {
|
|
1753
|
-
return {
|
|
1754
|
-
tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
|
|
1755
|
-
};
|
|
1756
|
-
}
|
|
1757
|
-
validate() {
|
|
1758
|
-
if (Array.isArray(this.tagResource)) {
|
|
1759
|
-
$dara.Model.validateArray(this.tagResource);
|
|
1760
|
-
}
|
|
1761
|
-
super.validate();
|
|
1762
|
-
}
|
|
1763
|
-
constructor(map) {
|
|
1764
|
-
super(map);
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1767
|
-
exports.ListTagResourcesResponseBodyTagResources = ListTagResourcesResponseBodyTagResources;
|
|
1768
|
-
class TagResourcesRequestTag extends $dara.Model {
|
|
1769
|
-
static names() {
|
|
1770
|
-
return {
|
|
1771
|
-
key: 'Key',
|
|
1772
|
-
value: 'Value',
|
|
1773
|
-
};
|
|
1774
|
-
}
|
|
1775
|
-
static types() {
|
|
1776
|
-
return {
|
|
1777
|
-
key: 'string',
|
|
1778
|
-
value: 'string',
|
|
1779
|
-
};
|
|
1780
|
-
}
|
|
1781
|
-
validate() {
|
|
1782
|
-
super.validate();
|
|
1783
|
-
}
|
|
1784
|
-
constructor(map) {
|
|
1785
|
-
super(map);
|
|
1786
|
-
}
|
|
1787
|
-
}
|
|
1788
|
-
exports.TagResourcesRequestTag = TagResourcesRequestTag;
|
|
1789
|
-
class UpdatePoolRequestResourceLimits extends $dara.Model {
|
|
1790
|
-
static names() {
|
|
1791
|
-
return {
|
|
1792
|
-
maxExectorNum: 'MaxExectorNum',
|
|
1793
|
-
};
|
|
1794
|
-
}
|
|
1795
|
-
static types() {
|
|
1796
|
-
return {
|
|
1797
|
-
maxExectorNum: 'number',
|
|
1798
|
-
};
|
|
1799
|
-
}
|
|
1800
|
-
validate() {
|
|
1801
|
-
super.validate();
|
|
1802
|
-
}
|
|
1803
|
-
constructor(map) {
|
|
1804
|
-
super(map);
|
|
1805
|
-
}
|
|
1806
|
-
}
|
|
1807
|
-
exports.UpdatePoolRequestResourceLimits = UpdatePoolRequestResourceLimits;
|
|
1808
|
-
class AddImageRequest extends $dara.Model {
|
|
1809
|
-
static names() {
|
|
1810
|
-
return {
|
|
1811
|
-
containerImageSpec: 'ContainerImageSpec',
|
|
1812
|
-
description: 'Description',
|
|
1813
|
-
imageType: 'ImageType',
|
|
1814
|
-
imageVersion: 'ImageVersion',
|
|
1815
|
-
name: 'Name',
|
|
1816
|
-
VMImageSpec: 'VMImageSpec',
|
|
1817
|
-
};
|
|
1818
|
-
}
|
|
1819
|
-
static types() {
|
|
1820
|
-
return {
|
|
1821
|
-
containerImageSpec: AddImageRequestContainerImageSpec,
|
|
1822
|
-
description: 'string',
|
|
1823
|
-
imageType: 'string',
|
|
1824
|
-
imageVersion: 'string',
|
|
1825
|
-
name: 'string',
|
|
1826
|
-
VMImageSpec: AddImageRequestVMImageSpec,
|
|
1827
|
-
};
|
|
1828
|
-
}
|
|
1829
|
-
validate() {
|
|
1830
|
-
if (this.containerImageSpec && typeof this.containerImageSpec.validate === 'function') {
|
|
1831
|
-
this.containerImageSpec.validate();
|
|
1832
|
-
}
|
|
1833
|
-
if (this.VMImageSpec && typeof this.VMImageSpec.validate === 'function') {
|
|
1834
|
-
this.VMImageSpec.validate();
|
|
1835
|
-
}
|
|
1836
|
-
super.validate();
|
|
1837
|
-
}
|
|
1838
|
-
constructor(map) {
|
|
1839
|
-
super(map);
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
exports.AddImageRequest = AddImageRequest;
|
|
1843
|
-
class AddImageShrinkRequest extends $dara.Model {
|
|
1844
|
-
static names() {
|
|
1845
|
-
return {
|
|
1846
|
-
containerImageSpecShrink: 'ContainerImageSpec',
|
|
1847
|
-
description: 'Description',
|
|
1848
|
-
imageType: 'ImageType',
|
|
1849
|
-
imageVersion: 'ImageVersion',
|
|
1850
|
-
name: 'Name',
|
|
1851
|
-
VMImageSpecShrink: 'VMImageSpec',
|
|
1852
|
-
};
|
|
1853
|
-
}
|
|
1854
|
-
static types() {
|
|
1855
|
-
return {
|
|
1856
|
-
containerImageSpecShrink: 'string',
|
|
1857
|
-
description: 'string',
|
|
1858
|
-
imageType: 'string',
|
|
1859
|
-
imageVersion: 'string',
|
|
1860
|
-
name: 'string',
|
|
1861
|
-
VMImageSpecShrink: 'string',
|
|
1862
|
-
};
|
|
1863
|
-
}
|
|
1864
|
-
validate() {
|
|
1865
|
-
super.validate();
|
|
1866
|
-
}
|
|
1867
|
-
constructor(map) {
|
|
1868
|
-
super(map);
|
|
1869
|
-
}
|
|
1870
|
-
}
|
|
1871
|
-
exports.AddImageShrinkRequest = AddImageShrinkRequest;
|
|
1872
|
-
class AddImageResponseBody extends $dara.Model {
|
|
1873
|
-
static names() {
|
|
1874
|
-
return {
|
|
1875
|
-
imageId: 'ImageId',
|
|
1876
|
-
requestId: 'RequestId',
|
|
1877
|
-
success: 'Success',
|
|
1878
|
-
};
|
|
1879
|
-
}
|
|
1880
|
-
static types() {
|
|
1881
|
-
return {
|
|
1882
|
-
imageId: 'string',
|
|
1883
|
-
requestId: 'string',
|
|
1884
|
-
success: 'boolean',
|
|
1885
|
-
};
|
|
1886
|
-
}
|
|
1887
|
-
validate() {
|
|
1888
|
-
super.validate();
|
|
1889
|
-
}
|
|
1890
|
-
constructor(map) {
|
|
1891
|
-
super(map);
|
|
1892
|
-
}
|
|
1893
|
-
}
|
|
1894
|
-
exports.AddImageResponseBody = AddImageResponseBody;
|
|
1895
|
-
class AddImageResponse extends $dara.Model {
|
|
1896
|
-
static names() {
|
|
1897
|
-
return {
|
|
1898
|
-
headers: 'headers',
|
|
1899
|
-
statusCode: 'statusCode',
|
|
1900
|
-
body: 'body',
|
|
1901
|
-
};
|
|
1902
|
-
}
|
|
1903
|
-
static types() {
|
|
1904
|
-
return {
|
|
1905
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1906
|
-
statusCode: 'number',
|
|
1907
|
-
body: AddImageResponseBody,
|
|
1908
|
-
};
|
|
1909
|
-
}
|
|
1910
|
-
validate() {
|
|
1911
|
-
if (this.headers) {
|
|
1912
|
-
$dara.Model.validateMap(this.headers);
|
|
1913
|
-
}
|
|
1914
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
1915
|
-
this.body.validate();
|
|
1916
|
-
}
|
|
1917
|
-
super.validate();
|
|
1918
|
-
}
|
|
1919
|
-
constructor(map) {
|
|
1920
|
-
super(map);
|
|
1921
|
-
}
|
|
1922
|
-
}
|
|
1923
|
-
exports.AddImageResponse = AddImageResponse;
|
|
1924
|
-
class CreateJobRequest extends $dara.Model {
|
|
1925
|
-
static names() {
|
|
1926
|
-
return {
|
|
1927
|
-
deploymentPolicy: 'DeploymentPolicy',
|
|
1928
|
-
jobDescription: 'JobDescription',
|
|
1929
|
-
jobName: 'JobName',
|
|
1930
|
-
jobScheduler: 'JobScheduler',
|
|
1931
|
-
securityPolicy: 'SecurityPolicy',
|
|
1932
|
-
tasks: 'Tasks',
|
|
1933
|
-
};
|
|
1934
|
-
}
|
|
1935
|
-
static types() {
|
|
1936
|
-
return {
|
|
1937
|
-
deploymentPolicy: CreateJobRequestDeploymentPolicy,
|
|
1938
|
-
jobDescription: 'string',
|
|
1939
|
-
jobName: 'string',
|
|
1940
|
-
jobScheduler: 'string',
|
|
1941
|
-
securityPolicy: CreateJobRequestSecurityPolicy,
|
|
1942
|
-
tasks: { 'type': 'array', 'itemType': CreateJobRequestTasks },
|
|
1943
|
-
};
|
|
1944
|
-
}
|
|
1945
|
-
validate() {
|
|
1946
|
-
if (this.deploymentPolicy && typeof this.deploymentPolicy.validate === 'function') {
|
|
1947
|
-
this.deploymentPolicy.validate();
|
|
1948
|
-
}
|
|
1949
|
-
if (this.securityPolicy && typeof this.securityPolicy.validate === 'function') {
|
|
1950
|
-
this.securityPolicy.validate();
|
|
1951
|
-
}
|
|
1952
|
-
if (Array.isArray(this.tasks)) {
|
|
1953
|
-
$dara.Model.validateArray(this.tasks);
|
|
1954
|
-
}
|
|
1955
|
-
super.validate();
|
|
1956
|
-
}
|
|
1957
|
-
constructor(map) {
|
|
1958
|
-
super(map);
|
|
1959
|
-
}
|
|
1960
|
-
}
|
|
1961
|
-
exports.CreateJobRequest = CreateJobRequest;
|
|
1962
|
-
class CreateJobShrinkRequest extends $dara.Model {
|
|
1963
|
-
static names() {
|
|
1964
|
-
return {
|
|
1965
|
-
deploymentPolicyShrink: 'DeploymentPolicy',
|
|
1966
|
-
jobDescription: 'JobDescription',
|
|
1967
|
-
jobName: 'JobName',
|
|
1968
|
-
jobScheduler: 'JobScheduler',
|
|
1969
|
-
securityPolicyShrink: 'SecurityPolicy',
|
|
1970
|
-
tasksShrink: 'Tasks',
|
|
1971
|
-
};
|
|
1972
|
-
}
|
|
1973
|
-
static types() {
|
|
1974
|
-
return {
|
|
1975
|
-
deploymentPolicyShrink: 'string',
|
|
1976
|
-
jobDescription: 'string',
|
|
1977
|
-
jobName: 'string',
|
|
1978
|
-
jobScheduler: 'string',
|
|
1979
|
-
securityPolicyShrink: 'string',
|
|
1980
|
-
tasksShrink: 'string',
|
|
1981
|
-
};
|
|
1982
|
-
}
|
|
1983
|
-
validate() {
|
|
1984
|
-
super.validate();
|
|
1985
|
-
}
|
|
1986
|
-
constructor(map) {
|
|
1987
|
-
super(map);
|
|
1988
|
-
}
|
|
1989
|
-
}
|
|
1990
|
-
exports.CreateJobShrinkRequest = CreateJobShrinkRequest;
|
|
1991
|
-
class CreateJobResponseBody extends $dara.Model {
|
|
1992
|
-
static names() {
|
|
1993
|
-
return {
|
|
1994
|
-
jobId: 'JobId',
|
|
1995
|
-
requestId: 'RequestId',
|
|
1996
|
-
tasks: 'Tasks',
|
|
1997
|
-
};
|
|
1998
|
-
}
|
|
1999
|
-
static types() {
|
|
2000
|
-
return {
|
|
2001
|
-
jobId: 'string',
|
|
2002
|
-
requestId: 'string',
|
|
2003
|
-
tasks: { 'type': 'array', 'itemType': CreateJobResponseBodyTasks },
|
|
2004
|
-
};
|
|
2005
|
-
}
|
|
2006
|
-
validate() {
|
|
2007
|
-
if (Array.isArray(this.tasks)) {
|
|
2008
|
-
$dara.Model.validateArray(this.tasks);
|
|
2009
|
-
}
|
|
2010
|
-
super.validate();
|
|
2011
|
-
}
|
|
2012
|
-
constructor(map) {
|
|
2013
|
-
super(map);
|
|
2014
|
-
}
|
|
2015
|
-
}
|
|
2016
|
-
exports.CreateJobResponseBody = CreateJobResponseBody;
|
|
2017
|
-
class CreateJobResponse extends $dara.Model {
|
|
2018
|
-
static names() {
|
|
2019
|
-
return {
|
|
2020
|
-
headers: 'headers',
|
|
2021
|
-
statusCode: 'statusCode',
|
|
2022
|
-
body: 'body',
|
|
2023
|
-
};
|
|
2024
|
-
}
|
|
2025
|
-
static types() {
|
|
2026
|
-
return {
|
|
2027
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2028
|
-
statusCode: 'number',
|
|
2029
|
-
body: CreateJobResponseBody,
|
|
2030
|
-
};
|
|
2031
|
-
}
|
|
2032
|
-
validate() {
|
|
2033
|
-
if (this.headers) {
|
|
2034
|
-
$dara.Model.validateMap(this.headers);
|
|
2035
|
-
}
|
|
2036
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2037
|
-
this.body.validate();
|
|
2038
|
-
}
|
|
2039
|
-
super.validate();
|
|
2040
|
-
}
|
|
2041
|
-
constructor(map) {
|
|
2042
|
-
super(map);
|
|
2043
|
-
}
|
|
2044
|
-
}
|
|
2045
|
-
exports.CreateJobResponse = CreateJobResponse;
|
|
2046
|
-
class CreatePoolRequest extends $dara.Model {
|
|
2047
|
-
static names() {
|
|
2048
|
-
return {
|
|
2049
|
-
poolName: 'PoolName',
|
|
2050
|
-
priority: 'Priority',
|
|
2051
|
-
resourceLimits: 'ResourceLimits',
|
|
2052
|
-
};
|
|
2053
|
-
}
|
|
2054
|
-
static types() {
|
|
2055
|
-
return {
|
|
2056
|
-
poolName: 'string',
|
|
2057
|
-
priority: 'number',
|
|
2058
|
-
resourceLimits: CreatePoolRequestResourceLimits,
|
|
2059
|
-
};
|
|
2060
|
-
}
|
|
2061
|
-
validate() {
|
|
2062
|
-
if (this.resourceLimits && typeof this.resourceLimits.validate === 'function') {
|
|
2063
|
-
this.resourceLimits.validate();
|
|
2064
|
-
}
|
|
2065
|
-
super.validate();
|
|
2066
|
-
}
|
|
2067
|
-
constructor(map) {
|
|
2068
|
-
super(map);
|
|
2069
|
-
}
|
|
2070
|
-
}
|
|
2071
|
-
exports.CreatePoolRequest = CreatePoolRequest;
|
|
2072
|
-
class CreatePoolShrinkRequest extends $dara.Model {
|
|
2073
|
-
static names() {
|
|
2074
|
-
return {
|
|
2075
|
-
poolName: 'PoolName',
|
|
2076
|
-
priority: 'Priority',
|
|
2077
|
-
resourceLimitsShrink: 'ResourceLimits',
|
|
2078
|
-
};
|
|
2079
|
-
}
|
|
2080
|
-
static types() {
|
|
2081
|
-
return {
|
|
2082
|
-
poolName: 'string',
|
|
2083
|
-
priority: 'number',
|
|
2084
|
-
resourceLimitsShrink: 'string',
|
|
2085
|
-
};
|
|
2086
|
-
}
|
|
2087
|
-
validate() {
|
|
2088
|
-
super.validate();
|
|
2089
|
-
}
|
|
2090
|
-
constructor(map) {
|
|
2091
|
-
super(map);
|
|
2092
|
-
}
|
|
2093
|
-
}
|
|
2094
|
-
exports.CreatePoolShrinkRequest = CreatePoolShrinkRequest;
|
|
2095
|
-
class CreatePoolResponseBody extends $dara.Model {
|
|
2096
|
-
static names() {
|
|
2097
|
-
return {
|
|
2098
|
-
requestId: 'RequestId',
|
|
2099
|
-
};
|
|
2100
|
-
}
|
|
2101
|
-
static types() {
|
|
2102
|
-
return {
|
|
2103
|
-
requestId: 'string',
|
|
2104
|
-
};
|
|
2105
|
-
}
|
|
2106
|
-
validate() {
|
|
2107
|
-
super.validate();
|
|
2108
|
-
}
|
|
2109
|
-
constructor(map) {
|
|
2110
|
-
super(map);
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
2113
|
-
exports.CreatePoolResponseBody = CreatePoolResponseBody;
|
|
2114
|
-
class CreatePoolResponse extends $dara.Model {
|
|
2115
|
-
static names() {
|
|
2116
|
-
return {
|
|
2117
|
-
headers: 'headers',
|
|
2118
|
-
statusCode: 'statusCode',
|
|
2119
|
-
body: 'body',
|
|
2120
|
-
};
|
|
2121
|
-
}
|
|
2122
|
-
static types() {
|
|
2123
|
-
return {
|
|
2124
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2125
|
-
statusCode: 'number',
|
|
2126
|
-
body: CreatePoolResponseBody,
|
|
2127
|
-
};
|
|
2128
|
-
}
|
|
2129
|
-
validate() {
|
|
2130
|
-
if (this.headers) {
|
|
2131
|
-
$dara.Model.validateMap(this.headers);
|
|
2132
|
-
}
|
|
2133
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2134
|
-
this.body.validate();
|
|
2135
|
-
}
|
|
2136
|
-
super.validate();
|
|
2137
|
-
}
|
|
2138
|
-
constructor(map) {
|
|
2139
|
-
super(map);
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
exports.CreatePoolResponse = CreatePoolResponse;
|
|
2143
|
-
class DeleteJobsRequest extends $dara.Model {
|
|
2144
|
-
static names() {
|
|
2145
|
-
return {
|
|
2146
|
-
executorIds: 'ExecutorIds',
|
|
2147
|
-
jobSpec: 'JobSpec',
|
|
2148
|
-
};
|
|
2149
|
-
}
|
|
2150
|
-
static types() {
|
|
2151
|
-
return {
|
|
2152
|
-
executorIds: { 'type': 'array', 'itemType': 'string' },
|
|
2153
|
-
jobSpec: { 'type': 'array', 'itemType': DeleteJobsRequestJobSpec },
|
|
2154
|
-
};
|
|
2155
|
-
}
|
|
2156
|
-
validate() {
|
|
2157
|
-
if (Array.isArray(this.executorIds)) {
|
|
2158
|
-
$dara.Model.validateArray(this.executorIds);
|
|
2159
|
-
}
|
|
2160
|
-
if (Array.isArray(this.jobSpec)) {
|
|
2161
|
-
$dara.Model.validateArray(this.jobSpec);
|
|
2162
|
-
}
|
|
2163
|
-
super.validate();
|
|
2164
|
-
}
|
|
2165
|
-
constructor(map) {
|
|
2166
|
-
super(map);
|
|
2167
|
-
}
|
|
2168
|
-
}
|
|
2169
|
-
exports.DeleteJobsRequest = DeleteJobsRequest;
|
|
2170
|
-
class DeleteJobsShrinkRequest extends $dara.Model {
|
|
2171
|
-
static names() {
|
|
2172
|
-
return {
|
|
2173
|
-
executorIdsShrink: 'ExecutorIds',
|
|
2174
|
-
jobSpecShrink: 'JobSpec',
|
|
2175
|
-
};
|
|
2176
|
-
}
|
|
2177
|
-
static types() {
|
|
2178
|
-
return {
|
|
2179
|
-
executorIdsShrink: 'string',
|
|
2180
|
-
jobSpecShrink: 'string',
|
|
2181
|
-
};
|
|
2182
|
-
}
|
|
2183
|
-
validate() {
|
|
2184
|
-
super.validate();
|
|
2185
|
-
}
|
|
2186
|
-
constructor(map) {
|
|
2187
|
-
super(map);
|
|
2188
|
-
}
|
|
2189
|
-
}
|
|
2190
|
-
exports.DeleteJobsShrinkRequest = DeleteJobsShrinkRequest;
|
|
2191
|
-
class DeleteJobsResponseBody extends $dara.Model {
|
|
2192
|
-
static names() {
|
|
2193
|
-
return {
|
|
2194
|
-
requestId: 'RequestId',
|
|
2195
|
-
};
|
|
2196
|
-
}
|
|
2197
|
-
static types() {
|
|
2198
|
-
return {
|
|
2199
|
-
requestId: 'string',
|
|
2200
|
-
};
|
|
2201
|
-
}
|
|
2202
|
-
validate() {
|
|
2203
|
-
super.validate();
|
|
2204
|
-
}
|
|
2205
|
-
constructor(map) {
|
|
2206
|
-
super(map);
|
|
2207
|
-
}
|
|
2208
|
-
}
|
|
2209
|
-
exports.DeleteJobsResponseBody = DeleteJobsResponseBody;
|
|
2210
|
-
class DeleteJobsResponse extends $dara.Model {
|
|
2211
|
-
static names() {
|
|
2212
|
-
return {
|
|
2213
|
-
headers: 'headers',
|
|
2214
|
-
statusCode: 'statusCode',
|
|
2215
|
-
body: 'body',
|
|
2216
|
-
};
|
|
2217
|
-
}
|
|
2218
|
-
static types() {
|
|
2219
|
-
return {
|
|
2220
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2221
|
-
statusCode: 'number',
|
|
2222
|
-
body: DeleteJobsResponseBody,
|
|
2223
|
-
};
|
|
2224
|
-
}
|
|
2225
|
-
validate() {
|
|
2226
|
-
if (this.headers) {
|
|
2227
|
-
$dara.Model.validateMap(this.headers);
|
|
2228
|
-
}
|
|
2229
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2230
|
-
this.body.validate();
|
|
2231
|
-
}
|
|
2232
|
-
super.validate();
|
|
2233
|
-
}
|
|
2234
|
-
constructor(map) {
|
|
2235
|
-
super(map);
|
|
2236
|
-
}
|
|
2237
|
-
}
|
|
2238
|
-
exports.DeleteJobsResponse = DeleteJobsResponse;
|
|
2239
|
-
class DeletePoolRequest extends $dara.Model {
|
|
2240
|
-
static names() {
|
|
2241
|
-
return {
|
|
2242
|
-
poolName: 'PoolName',
|
|
2243
|
-
};
|
|
2244
|
-
}
|
|
2245
|
-
static types() {
|
|
2246
|
-
return {
|
|
2247
|
-
poolName: 'string',
|
|
2248
|
-
};
|
|
2249
|
-
}
|
|
2250
|
-
validate() {
|
|
2251
|
-
super.validate();
|
|
2252
|
-
}
|
|
2253
|
-
constructor(map) {
|
|
2254
|
-
super(map);
|
|
2255
|
-
}
|
|
2256
|
-
}
|
|
2257
|
-
exports.DeletePoolRequest = DeletePoolRequest;
|
|
2258
|
-
class DeletePoolResponseBody extends $dara.Model {
|
|
2259
|
-
static names() {
|
|
2260
|
-
return {
|
|
2261
|
-
requestId: 'RequestId',
|
|
2262
|
-
};
|
|
2263
|
-
}
|
|
2264
|
-
static types() {
|
|
2265
|
-
return {
|
|
2266
|
-
requestId: 'string',
|
|
2267
|
-
};
|
|
2268
|
-
}
|
|
2269
|
-
validate() {
|
|
2270
|
-
super.validate();
|
|
2271
|
-
}
|
|
2272
|
-
constructor(map) {
|
|
2273
|
-
super(map);
|
|
2274
|
-
}
|
|
2275
|
-
}
|
|
2276
|
-
exports.DeletePoolResponseBody = DeletePoolResponseBody;
|
|
2277
|
-
class DeletePoolResponse extends $dara.Model {
|
|
2278
|
-
static names() {
|
|
2279
|
-
return {
|
|
2280
|
-
headers: 'headers',
|
|
2281
|
-
statusCode: 'statusCode',
|
|
2282
|
-
body: 'body',
|
|
2283
|
-
};
|
|
2284
|
-
}
|
|
2285
|
-
static types() {
|
|
2286
|
-
return {
|
|
2287
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2288
|
-
statusCode: 'number',
|
|
2289
|
-
body: DeletePoolResponseBody,
|
|
2290
|
-
};
|
|
2291
|
-
}
|
|
2292
|
-
validate() {
|
|
2293
|
-
if (this.headers) {
|
|
2294
|
-
$dara.Model.validateMap(this.headers);
|
|
2295
|
-
}
|
|
2296
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2297
|
-
this.body.validate();
|
|
2298
|
-
}
|
|
2299
|
-
super.validate();
|
|
2300
|
-
}
|
|
2301
|
-
constructor(map) {
|
|
2302
|
-
super(map);
|
|
2303
|
-
}
|
|
2304
|
-
}
|
|
2305
|
-
exports.DeletePoolResponse = DeletePoolResponse;
|
|
2306
|
-
class DescribeJobMetricDataRequest extends $dara.Model {
|
|
2307
|
-
static names() {
|
|
2308
|
-
return {
|
|
2309
|
-
arrayIndex: 'ArrayIndex',
|
|
2310
|
-
jobId: 'JobId',
|
|
2311
|
-
metricName: 'MetricName',
|
|
2312
|
-
taskName: 'TaskName',
|
|
2313
|
-
};
|
|
2314
|
-
}
|
|
2315
|
-
static types() {
|
|
2316
|
-
return {
|
|
2317
|
-
arrayIndex: { 'type': 'array', 'itemType': 'number' },
|
|
2318
|
-
jobId: 'string',
|
|
2319
|
-
metricName: 'string',
|
|
2320
|
-
taskName: 'string',
|
|
2321
|
-
};
|
|
2322
|
-
}
|
|
2323
|
-
validate() {
|
|
2324
|
-
if (Array.isArray(this.arrayIndex)) {
|
|
2325
|
-
$dara.Model.validateArray(this.arrayIndex);
|
|
2326
|
-
}
|
|
2327
|
-
super.validate();
|
|
2328
|
-
}
|
|
2329
|
-
constructor(map) {
|
|
2330
|
-
super(map);
|
|
2331
|
-
}
|
|
2332
|
-
}
|
|
2333
|
-
exports.DescribeJobMetricDataRequest = DescribeJobMetricDataRequest;
|
|
2334
|
-
class DescribeJobMetricDataShrinkRequest extends $dara.Model {
|
|
2335
|
-
static names() {
|
|
2336
|
-
return {
|
|
2337
|
-
arrayIndexShrink: 'ArrayIndex',
|
|
2338
|
-
jobId: 'JobId',
|
|
2339
|
-
metricName: 'MetricName',
|
|
2340
|
-
taskName: 'TaskName',
|
|
2341
|
-
};
|
|
2342
|
-
}
|
|
2343
|
-
static types() {
|
|
2344
|
-
return {
|
|
2345
|
-
arrayIndexShrink: 'string',
|
|
2346
|
-
jobId: 'string',
|
|
2347
|
-
metricName: 'string',
|
|
2348
|
-
taskName: 'string',
|
|
2349
|
-
};
|
|
2350
|
-
}
|
|
2351
|
-
validate() {
|
|
2352
|
-
super.validate();
|
|
2353
|
-
}
|
|
2354
|
-
constructor(map) {
|
|
2355
|
-
super(map);
|
|
2356
|
-
}
|
|
2357
|
-
}
|
|
2358
|
-
exports.DescribeJobMetricDataShrinkRequest = DescribeJobMetricDataShrinkRequest;
|
|
2359
|
-
class DescribeJobMetricDataResponseBody extends $dara.Model {
|
|
2360
|
-
static names() {
|
|
2361
|
-
return {
|
|
2362
|
-
dataPoints: 'DataPoints',
|
|
2363
|
-
period: 'Period',
|
|
2364
|
-
requestId: 'RequestId',
|
|
2365
|
-
};
|
|
2366
|
-
}
|
|
2367
|
-
static types() {
|
|
2368
|
-
return {
|
|
2369
|
-
dataPoints: 'string',
|
|
2370
|
-
period: 'number',
|
|
2371
|
-
requestId: 'string',
|
|
2372
|
-
};
|
|
2373
|
-
}
|
|
2374
|
-
validate() {
|
|
2375
|
-
super.validate();
|
|
2376
|
-
}
|
|
2377
|
-
constructor(map) {
|
|
2378
|
-
super(map);
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
exports.DescribeJobMetricDataResponseBody = DescribeJobMetricDataResponseBody;
|
|
2382
|
-
class DescribeJobMetricDataResponse extends $dara.Model {
|
|
2383
|
-
static names() {
|
|
2384
|
-
return {
|
|
2385
|
-
headers: 'headers',
|
|
2386
|
-
statusCode: 'statusCode',
|
|
2387
|
-
body: 'body',
|
|
2388
|
-
};
|
|
2389
|
-
}
|
|
2390
|
-
static types() {
|
|
2391
|
-
return {
|
|
2392
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2393
|
-
statusCode: 'number',
|
|
2394
|
-
body: DescribeJobMetricDataResponseBody,
|
|
2395
|
-
};
|
|
2396
|
-
}
|
|
2397
|
-
validate() {
|
|
2398
|
-
if (this.headers) {
|
|
2399
|
-
$dara.Model.validateMap(this.headers);
|
|
2400
|
-
}
|
|
2401
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2402
|
-
this.body.validate();
|
|
2403
|
-
}
|
|
2404
|
-
super.validate();
|
|
2405
|
-
}
|
|
2406
|
-
constructor(map) {
|
|
2407
|
-
super(map);
|
|
2408
|
-
}
|
|
2409
|
-
}
|
|
2410
|
-
exports.DescribeJobMetricDataResponse = DescribeJobMetricDataResponse;
|
|
2411
|
-
class DescribeJobMetricLastRequest extends $dara.Model {
|
|
2412
|
-
static names() {
|
|
2413
|
-
return {
|
|
2414
|
-
arrayIndex: 'ArrayIndex',
|
|
2415
|
-
jobId: 'JobId',
|
|
2416
|
-
taskName: 'TaskName',
|
|
2417
|
-
};
|
|
2418
|
-
}
|
|
2419
|
-
static types() {
|
|
2420
|
-
return {
|
|
2421
|
-
arrayIndex: { 'type': 'array', 'itemType': 'number' },
|
|
2422
|
-
jobId: 'string',
|
|
2423
|
-
taskName: 'string',
|
|
2424
|
-
};
|
|
2425
|
-
}
|
|
2426
|
-
validate() {
|
|
2427
|
-
if (Array.isArray(this.arrayIndex)) {
|
|
2428
|
-
$dara.Model.validateArray(this.arrayIndex);
|
|
2429
|
-
}
|
|
2430
|
-
super.validate();
|
|
2431
|
-
}
|
|
2432
|
-
constructor(map) {
|
|
2433
|
-
super(map);
|
|
2434
|
-
}
|
|
2435
|
-
}
|
|
2436
|
-
exports.DescribeJobMetricLastRequest = DescribeJobMetricLastRequest;
|
|
2437
|
-
class DescribeJobMetricLastShrinkRequest extends $dara.Model {
|
|
2438
|
-
static names() {
|
|
2439
|
-
return {
|
|
2440
|
-
arrayIndexShrink: 'ArrayIndex',
|
|
2441
|
-
jobId: 'JobId',
|
|
2442
|
-
taskName: 'TaskName',
|
|
2443
|
-
};
|
|
2444
|
-
}
|
|
2445
|
-
static types() {
|
|
2446
|
-
return {
|
|
2447
|
-
arrayIndexShrink: 'string',
|
|
2448
|
-
jobId: 'string',
|
|
2449
|
-
taskName: 'string',
|
|
2450
|
-
};
|
|
2451
|
-
}
|
|
2452
|
-
validate() {
|
|
2453
|
-
super.validate();
|
|
2454
|
-
}
|
|
2455
|
-
constructor(map) {
|
|
2456
|
-
super(map);
|
|
2457
|
-
}
|
|
2458
|
-
}
|
|
2459
|
-
exports.DescribeJobMetricLastShrinkRequest = DescribeJobMetricLastShrinkRequest;
|
|
2460
|
-
class DescribeJobMetricLastResponseBody extends $dara.Model {
|
|
2461
|
-
static names() {
|
|
2462
|
-
return {
|
|
2463
|
-
metrics: 'Metrics',
|
|
2464
|
-
requestId: 'RequestId',
|
|
2465
|
-
};
|
|
2466
|
-
}
|
|
2467
|
-
static types() {
|
|
2468
|
-
return {
|
|
2469
|
-
metrics: { 'type': 'array', 'itemType': DescribeJobMetricLastResponseBodyMetrics },
|
|
2470
|
-
requestId: 'string',
|
|
2471
|
-
};
|
|
2472
|
-
}
|
|
2473
|
-
validate() {
|
|
2474
|
-
if (Array.isArray(this.metrics)) {
|
|
2475
|
-
$dara.Model.validateArray(this.metrics);
|
|
2476
|
-
}
|
|
2477
|
-
super.validate();
|
|
2478
|
-
}
|
|
2479
|
-
constructor(map) {
|
|
2480
|
-
super(map);
|
|
2481
|
-
}
|
|
2482
|
-
}
|
|
2483
|
-
exports.DescribeJobMetricLastResponseBody = DescribeJobMetricLastResponseBody;
|
|
2484
|
-
class DescribeJobMetricLastResponse extends $dara.Model {
|
|
2485
|
-
static names() {
|
|
2486
|
-
return {
|
|
2487
|
-
headers: 'headers',
|
|
2488
|
-
statusCode: 'statusCode',
|
|
2489
|
-
body: 'body',
|
|
2490
|
-
};
|
|
2491
|
-
}
|
|
2492
|
-
static types() {
|
|
2493
|
-
return {
|
|
2494
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2495
|
-
statusCode: 'number',
|
|
2496
|
-
body: DescribeJobMetricLastResponseBody,
|
|
2497
|
-
};
|
|
2498
|
-
}
|
|
2499
|
-
validate() {
|
|
2500
|
-
if (this.headers) {
|
|
2501
|
-
$dara.Model.validateMap(this.headers);
|
|
2502
|
-
}
|
|
2503
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2504
|
-
this.body.validate();
|
|
2505
|
-
}
|
|
2506
|
-
super.validate();
|
|
2507
|
-
}
|
|
2508
|
-
constructor(map) {
|
|
2509
|
-
super(map);
|
|
2510
|
-
}
|
|
2511
|
-
}
|
|
2512
|
-
exports.DescribeJobMetricLastResponse = DescribeJobMetricLastResponse;
|
|
2513
|
-
class GetAppVersionsRequest extends $dara.Model {
|
|
2514
|
-
static names() {
|
|
2515
|
-
return {
|
|
2516
|
-
appName: 'AppName',
|
|
2517
|
-
imageCategory: 'ImageCategory',
|
|
2518
|
-
imageType: 'ImageType',
|
|
2519
|
-
pageNumber: 'PageNumber',
|
|
2520
|
-
pageSize: 'PageSize',
|
|
2521
|
-
};
|
|
2522
|
-
}
|
|
2523
|
-
static types() {
|
|
2524
|
-
return {
|
|
2525
|
-
appName: 'string',
|
|
2526
|
-
imageCategory: 'string',
|
|
2527
|
-
imageType: 'string',
|
|
2528
|
-
pageNumber: 'number',
|
|
2529
|
-
pageSize: 'number',
|
|
2530
|
-
};
|
|
2531
|
-
}
|
|
2532
|
-
validate() {
|
|
2533
|
-
super.validate();
|
|
2534
|
-
}
|
|
2535
|
-
constructor(map) {
|
|
2536
|
-
super(map);
|
|
2537
|
-
}
|
|
2538
|
-
}
|
|
2539
|
-
exports.GetAppVersionsRequest = GetAppVersionsRequest;
|
|
2540
|
-
class GetAppVersionsResponseBody extends $dara.Model {
|
|
2541
|
-
static names() {
|
|
2542
|
-
return {
|
|
2543
|
-
appVersions: 'AppVersions',
|
|
2544
|
-
pageNumber: 'PageNumber',
|
|
2545
|
-
pageSize: 'PageSize',
|
|
2546
|
-
requestId: 'RequestId',
|
|
2547
|
-
success: 'Success',
|
|
2548
|
-
totalCount: 'TotalCount',
|
|
2549
|
-
};
|
|
2550
|
-
}
|
|
2551
|
-
static types() {
|
|
2552
|
-
return {
|
|
2553
|
-
appVersions: { 'type': 'array', 'itemType': GetAppVersionsResponseBodyAppVersions },
|
|
2554
|
-
pageNumber: 'number',
|
|
2555
|
-
pageSize: 'number',
|
|
2556
|
-
requestId: 'string',
|
|
2557
|
-
success: 'boolean',
|
|
2558
|
-
totalCount: 'number',
|
|
2559
|
-
};
|
|
2560
|
-
}
|
|
2561
|
-
validate() {
|
|
2562
|
-
if (Array.isArray(this.appVersions)) {
|
|
2563
|
-
$dara.Model.validateArray(this.appVersions);
|
|
2564
|
-
}
|
|
2565
|
-
super.validate();
|
|
2566
|
-
}
|
|
2567
|
-
constructor(map) {
|
|
2568
|
-
super(map);
|
|
2569
|
-
}
|
|
2570
|
-
}
|
|
2571
|
-
exports.GetAppVersionsResponseBody = GetAppVersionsResponseBody;
|
|
2572
|
-
class GetAppVersionsResponse extends $dara.Model {
|
|
2573
|
-
static names() {
|
|
2574
|
-
return {
|
|
2575
|
-
headers: 'headers',
|
|
2576
|
-
statusCode: 'statusCode',
|
|
2577
|
-
body: 'body',
|
|
2578
|
-
};
|
|
2579
|
-
}
|
|
2580
|
-
static types() {
|
|
2581
|
-
return {
|
|
2582
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2583
|
-
statusCode: 'number',
|
|
2584
|
-
body: GetAppVersionsResponseBody,
|
|
2585
|
-
};
|
|
2586
|
-
}
|
|
2587
|
-
validate() {
|
|
2588
|
-
if (this.headers) {
|
|
2589
|
-
$dara.Model.validateMap(this.headers);
|
|
2590
|
-
}
|
|
2591
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2592
|
-
this.body.validate();
|
|
2593
|
-
}
|
|
2594
|
-
super.validate();
|
|
2595
|
-
}
|
|
2596
|
-
constructor(map) {
|
|
2597
|
-
super(map);
|
|
2598
|
-
}
|
|
2599
|
-
}
|
|
2600
|
-
exports.GetAppVersionsResponse = GetAppVersionsResponse;
|
|
2601
|
-
class GetImageRequest extends $dara.Model {
|
|
2602
|
-
static names() {
|
|
2603
|
-
return {
|
|
2604
|
-
imageCategory: 'ImageCategory',
|
|
2605
|
-
imageId: 'ImageId',
|
|
2606
|
-
imageType: 'ImageType',
|
|
2607
|
-
};
|
|
2608
|
-
}
|
|
2609
|
-
static types() {
|
|
2610
|
-
return {
|
|
2611
|
-
imageCategory: 'string',
|
|
2612
|
-
imageId: 'string',
|
|
2613
|
-
imageType: 'string',
|
|
2614
|
-
};
|
|
2615
|
-
}
|
|
2616
|
-
validate() {
|
|
2617
|
-
super.validate();
|
|
2618
|
-
}
|
|
2619
|
-
constructor(map) {
|
|
2620
|
-
super(map);
|
|
2621
|
-
}
|
|
2622
|
-
}
|
|
2623
|
-
exports.GetImageRequest = GetImageRequest;
|
|
2624
|
-
class GetImageResponseBody extends $dara.Model {
|
|
2625
|
-
static names() {
|
|
2626
|
-
return {
|
|
2627
|
-
image: 'Image',
|
|
2628
|
-
requestId: 'RequestId',
|
|
2629
|
-
success: 'Success',
|
|
2630
|
-
totalCount: 'TotalCount',
|
|
2631
|
-
};
|
|
2632
|
-
}
|
|
2633
|
-
static types() {
|
|
2634
|
-
return {
|
|
2635
|
-
image: GetImageResponseBodyImage,
|
|
2636
|
-
requestId: 'string',
|
|
2637
|
-
success: 'boolean',
|
|
2638
|
-
totalCount: 'number',
|
|
2639
|
-
};
|
|
2640
|
-
}
|
|
2641
|
-
validate() {
|
|
2642
|
-
if (this.image && typeof this.image.validate === 'function') {
|
|
2643
|
-
this.image.validate();
|
|
2644
|
-
}
|
|
2645
|
-
super.validate();
|
|
2646
|
-
}
|
|
2647
|
-
constructor(map) {
|
|
2648
|
-
super(map);
|
|
2649
|
-
}
|
|
2650
|
-
}
|
|
2651
|
-
exports.GetImageResponseBody = GetImageResponseBody;
|
|
2652
|
-
class GetImageResponse extends $dara.Model {
|
|
2653
|
-
static names() {
|
|
2654
|
-
return {
|
|
2655
|
-
headers: 'headers',
|
|
2656
|
-
statusCode: 'statusCode',
|
|
2657
|
-
body: 'body',
|
|
2658
|
-
};
|
|
2659
|
-
}
|
|
2660
|
-
static types() {
|
|
2661
|
-
return {
|
|
2662
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2663
|
-
statusCode: 'number',
|
|
2664
|
-
body: GetImageResponseBody,
|
|
2665
|
-
};
|
|
2666
|
-
}
|
|
2667
|
-
validate() {
|
|
2668
|
-
if (this.headers) {
|
|
2669
|
-
$dara.Model.validateMap(this.headers);
|
|
2670
|
-
}
|
|
2671
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2672
|
-
this.body.validate();
|
|
2673
|
-
}
|
|
2674
|
-
super.validate();
|
|
2675
|
-
}
|
|
2676
|
-
constructor(map) {
|
|
2677
|
-
super(map);
|
|
2678
|
-
}
|
|
2679
|
-
}
|
|
2680
|
-
exports.GetImageResponse = GetImageResponse;
|
|
2681
|
-
class GetJobRequest extends $dara.Model {
|
|
2682
|
-
static names() {
|
|
2683
|
-
return {
|
|
2684
|
-
jobId: 'JobId',
|
|
2685
|
-
};
|
|
2686
|
-
}
|
|
2687
|
-
static types() {
|
|
2688
|
-
return {
|
|
2689
|
-
jobId: 'string',
|
|
2690
|
-
};
|
|
2691
|
-
}
|
|
2692
|
-
validate() {
|
|
2693
|
-
super.validate();
|
|
2694
|
-
}
|
|
2695
|
-
constructor(map) {
|
|
2696
|
-
super(map);
|
|
2697
|
-
}
|
|
2698
|
-
}
|
|
2699
|
-
exports.GetJobRequest = GetJobRequest;
|
|
2700
|
-
class GetJobResponseBody extends $dara.Model {
|
|
2701
|
-
static names() {
|
|
2702
|
-
return {
|
|
2703
|
-
jobInfo: 'JobInfo',
|
|
2704
|
-
requestId: 'RequestId',
|
|
2705
|
-
};
|
|
2706
|
-
}
|
|
2707
|
-
static types() {
|
|
2708
|
-
return {
|
|
2709
|
-
jobInfo: GetJobResponseBodyJobInfo,
|
|
2710
|
-
requestId: 'string',
|
|
2711
|
-
};
|
|
2712
|
-
}
|
|
2713
|
-
validate() {
|
|
2714
|
-
if (this.jobInfo && typeof this.jobInfo.validate === 'function') {
|
|
2715
|
-
this.jobInfo.validate();
|
|
2716
|
-
}
|
|
2717
|
-
super.validate();
|
|
2718
|
-
}
|
|
2719
|
-
constructor(map) {
|
|
2720
|
-
super(map);
|
|
2721
|
-
}
|
|
2722
|
-
}
|
|
2723
|
-
exports.GetJobResponseBody = GetJobResponseBody;
|
|
2724
|
-
class GetJobResponse extends $dara.Model {
|
|
2725
|
-
static names() {
|
|
2726
|
-
return {
|
|
2727
|
-
headers: 'headers',
|
|
2728
|
-
statusCode: 'statusCode',
|
|
2729
|
-
body: 'body',
|
|
2730
|
-
};
|
|
2731
|
-
}
|
|
2732
|
-
static types() {
|
|
2733
|
-
return {
|
|
2734
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2735
|
-
statusCode: 'number',
|
|
2736
|
-
body: GetJobResponseBody,
|
|
2737
|
-
};
|
|
2738
|
-
}
|
|
2739
|
-
validate() {
|
|
2740
|
-
if (this.headers) {
|
|
2741
|
-
$dara.Model.validateMap(this.headers);
|
|
2742
|
-
}
|
|
2743
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2744
|
-
this.body.validate();
|
|
2745
|
-
}
|
|
2746
|
-
super.validate();
|
|
2747
|
-
}
|
|
2748
|
-
constructor(map) {
|
|
2749
|
-
super(map);
|
|
2750
|
-
}
|
|
2751
|
-
}
|
|
2752
|
-
exports.GetJobResponse = GetJobResponse;
|
|
2753
|
-
class GetPoolRequest extends $dara.Model {
|
|
2754
|
-
static names() {
|
|
2755
|
-
return {
|
|
2756
|
-
poolName: 'PoolName',
|
|
2757
|
-
};
|
|
2758
|
-
}
|
|
2759
|
-
static types() {
|
|
2760
|
-
return {
|
|
2761
|
-
poolName: 'string',
|
|
2762
|
-
};
|
|
2763
|
-
}
|
|
2764
|
-
validate() {
|
|
2765
|
-
super.validate();
|
|
2766
|
-
}
|
|
2767
|
-
constructor(map) {
|
|
2768
|
-
super(map);
|
|
2769
|
-
}
|
|
2770
|
-
}
|
|
2771
|
-
exports.GetPoolRequest = GetPoolRequest;
|
|
2772
|
-
class GetPoolResponseBody extends $dara.Model {
|
|
2773
|
-
static names() {
|
|
2774
|
-
return {
|
|
2775
|
-
poolInfo: 'PoolInfo',
|
|
2776
|
-
requestId: 'RequestId',
|
|
2777
|
-
};
|
|
2778
|
-
}
|
|
2779
|
-
static types() {
|
|
2780
|
-
return {
|
|
2781
|
-
poolInfo: GetPoolResponseBodyPoolInfo,
|
|
2782
|
-
requestId: 'string',
|
|
2783
|
-
};
|
|
2784
|
-
}
|
|
2785
|
-
validate() {
|
|
2786
|
-
if (this.poolInfo && typeof this.poolInfo.validate === 'function') {
|
|
2787
|
-
this.poolInfo.validate();
|
|
2788
|
-
}
|
|
2789
|
-
super.validate();
|
|
2790
|
-
}
|
|
2791
|
-
constructor(map) {
|
|
2792
|
-
super(map);
|
|
2793
|
-
}
|
|
2794
|
-
}
|
|
2795
|
-
exports.GetPoolResponseBody = GetPoolResponseBody;
|
|
2796
|
-
class GetPoolResponse extends $dara.Model {
|
|
2797
|
-
static names() {
|
|
2798
|
-
return {
|
|
2799
|
-
headers: 'headers',
|
|
2800
|
-
statusCode: 'statusCode',
|
|
2801
|
-
body: 'body',
|
|
2802
|
-
};
|
|
2803
|
-
}
|
|
2804
|
-
static types() {
|
|
2805
|
-
return {
|
|
2806
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2807
|
-
statusCode: 'number',
|
|
2808
|
-
body: GetPoolResponseBody,
|
|
2809
|
-
};
|
|
2810
|
-
}
|
|
2811
|
-
validate() {
|
|
2812
|
-
if (this.headers) {
|
|
2813
|
-
$dara.Model.validateMap(this.headers);
|
|
2814
|
-
}
|
|
2815
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2816
|
-
this.body.validate();
|
|
2817
|
-
}
|
|
2818
|
-
super.validate();
|
|
2819
|
-
}
|
|
2820
|
-
constructor(map) {
|
|
2821
|
-
super(map);
|
|
2822
|
-
}
|
|
2823
|
-
}
|
|
2824
|
-
exports.GetPoolResponse = GetPoolResponse;
|
|
2825
|
-
class ListExecutorsRequest extends $dara.Model {
|
|
2826
|
-
static names() {
|
|
2827
|
-
return {
|
|
2828
|
-
filter: 'Filter',
|
|
2829
|
-
pageNumber: 'PageNumber',
|
|
2830
|
-
pageSize: 'PageSize',
|
|
2831
|
-
};
|
|
2832
|
-
}
|
|
2833
|
-
static types() {
|
|
2834
|
-
return {
|
|
2835
|
-
filter: ListExecutorsRequestFilter,
|
|
2836
|
-
pageNumber: 'number',
|
|
2837
|
-
pageSize: 'number',
|
|
2838
|
-
};
|
|
2839
|
-
}
|
|
2840
|
-
validate() {
|
|
2841
|
-
if (this.filter && typeof this.filter.validate === 'function') {
|
|
2842
|
-
this.filter.validate();
|
|
2843
|
-
}
|
|
2844
|
-
super.validate();
|
|
2845
|
-
}
|
|
2846
|
-
constructor(map) {
|
|
2847
|
-
super(map);
|
|
2848
|
-
}
|
|
2849
|
-
}
|
|
2850
|
-
exports.ListExecutorsRequest = ListExecutorsRequest;
|
|
2851
|
-
class ListExecutorsShrinkRequest extends $dara.Model {
|
|
2852
|
-
static names() {
|
|
2853
|
-
return {
|
|
2854
|
-
filterShrink: 'Filter',
|
|
2855
|
-
pageNumber: 'PageNumber',
|
|
2856
|
-
pageSize: 'PageSize',
|
|
2857
|
-
};
|
|
2858
|
-
}
|
|
2859
|
-
static types() {
|
|
2860
|
-
return {
|
|
2861
|
-
filterShrink: 'string',
|
|
2862
|
-
pageNumber: 'number',
|
|
2863
|
-
pageSize: 'number',
|
|
2864
|
-
};
|
|
2865
|
-
}
|
|
2866
|
-
validate() {
|
|
2867
|
-
super.validate();
|
|
2868
|
-
}
|
|
2869
|
-
constructor(map) {
|
|
2870
|
-
super(map);
|
|
2871
|
-
}
|
|
2872
|
-
}
|
|
2873
|
-
exports.ListExecutorsShrinkRequest = ListExecutorsShrinkRequest;
|
|
2874
|
-
class ListExecutorsResponseBody extends $dara.Model {
|
|
2875
|
-
static names() {
|
|
2876
|
-
return {
|
|
2877
|
-
executors: 'Executors',
|
|
2878
|
-
pageNumber: 'PageNumber',
|
|
2879
|
-
pageSize: 'PageSize',
|
|
2880
|
-
requestId: 'RequestId',
|
|
2881
|
-
totalCount: 'TotalCount',
|
|
2882
|
-
};
|
|
2883
|
-
}
|
|
2884
|
-
static types() {
|
|
2885
|
-
return {
|
|
2886
|
-
executors: { 'type': 'array', 'itemType': ListExecutorsResponseBodyExecutors },
|
|
2887
|
-
pageNumber: 'number',
|
|
2888
|
-
pageSize: 'number',
|
|
2889
|
-
requestId: 'string',
|
|
2890
|
-
totalCount: 'string',
|
|
2891
|
-
};
|
|
2892
|
-
}
|
|
2893
|
-
validate() {
|
|
2894
|
-
if (Array.isArray(this.executors)) {
|
|
2895
|
-
$dara.Model.validateArray(this.executors);
|
|
2896
|
-
}
|
|
2897
|
-
super.validate();
|
|
2898
|
-
}
|
|
2899
|
-
constructor(map) {
|
|
2900
|
-
super(map);
|
|
2901
|
-
}
|
|
2902
|
-
}
|
|
2903
|
-
exports.ListExecutorsResponseBody = ListExecutorsResponseBody;
|
|
2904
|
-
class ListExecutorsResponse extends $dara.Model {
|
|
2905
|
-
static names() {
|
|
2906
|
-
return {
|
|
2907
|
-
headers: 'headers',
|
|
2908
|
-
statusCode: 'statusCode',
|
|
2909
|
-
body: 'body',
|
|
2910
|
-
};
|
|
2911
|
-
}
|
|
2912
|
-
static types() {
|
|
2913
|
-
return {
|
|
2914
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2915
|
-
statusCode: 'number',
|
|
2916
|
-
body: ListExecutorsResponseBody,
|
|
2917
|
-
};
|
|
2918
|
-
}
|
|
2919
|
-
validate() {
|
|
2920
|
-
if (this.headers) {
|
|
2921
|
-
$dara.Model.validateMap(this.headers);
|
|
2922
|
-
}
|
|
2923
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
2924
|
-
this.body.validate();
|
|
2925
|
-
}
|
|
2926
|
-
super.validate();
|
|
2927
|
-
}
|
|
2928
|
-
constructor(map) {
|
|
2929
|
-
super(map);
|
|
2930
|
-
}
|
|
2931
|
-
}
|
|
2932
|
-
exports.ListExecutorsResponse = ListExecutorsResponse;
|
|
2933
|
-
class ListImagesRequest extends $dara.Model {
|
|
2934
|
-
static names() {
|
|
2935
|
-
return {
|
|
2936
|
-
imageCategory: 'ImageCategory',
|
|
2937
|
-
imageIds: 'ImageIds',
|
|
2938
|
-
imageNames: 'ImageNames',
|
|
2939
|
-
imageType: 'ImageType',
|
|
2940
|
-
mode: 'Mode',
|
|
2941
|
-
pageNumber: 'PageNumber',
|
|
2942
|
-
pageSize: 'PageSize',
|
|
2943
|
-
};
|
|
2944
|
-
}
|
|
2945
|
-
static types() {
|
|
2946
|
-
return {
|
|
2947
|
-
imageCategory: 'string',
|
|
2948
|
-
imageIds: { 'type': 'array', 'itemType': 'string' },
|
|
2949
|
-
imageNames: { 'type': 'array', 'itemType': 'string' },
|
|
2950
|
-
imageType: 'string',
|
|
2951
|
-
mode: 'string',
|
|
2952
|
-
pageNumber: 'number',
|
|
2953
|
-
pageSize: 'number',
|
|
2954
|
-
};
|
|
2955
|
-
}
|
|
2956
|
-
validate() {
|
|
2957
|
-
if (Array.isArray(this.imageIds)) {
|
|
2958
|
-
$dara.Model.validateArray(this.imageIds);
|
|
2959
|
-
}
|
|
2960
|
-
if (Array.isArray(this.imageNames)) {
|
|
2961
|
-
$dara.Model.validateArray(this.imageNames);
|
|
2962
|
-
}
|
|
2963
|
-
super.validate();
|
|
2964
|
-
}
|
|
2965
|
-
constructor(map) {
|
|
2966
|
-
super(map);
|
|
2967
|
-
}
|
|
2968
|
-
}
|
|
2969
|
-
exports.ListImagesRequest = ListImagesRequest;
|
|
2970
|
-
class ListImagesShrinkRequest extends $dara.Model {
|
|
2971
|
-
static names() {
|
|
2972
|
-
return {
|
|
2973
|
-
imageCategory: 'ImageCategory',
|
|
2974
|
-
imageIdsShrink: 'ImageIds',
|
|
2975
|
-
imageNamesShrink: 'ImageNames',
|
|
2976
|
-
imageType: 'ImageType',
|
|
2977
|
-
mode: 'Mode',
|
|
2978
|
-
pageNumber: 'PageNumber',
|
|
2979
|
-
pageSize: 'PageSize',
|
|
2980
|
-
};
|
|
2981
|
-
}
|
|
2982
|
-
static types() {
|
|
2983
|
-
return {
|
|
2984
|
-
imageCategory: 'string',
|
|
2985
|
-
imageIdsShrink: 'string',
|
|
2986
|
-
imageNamesShrink: 'string',
|
|
2987
|
-
imageType: 'string',
|
|
2988
|
-
mode: 'string',
|
|
2989
|
-
pageNumber: 'number',
|
|
2990
|
-
pageSize: 'number',
|
|
2991
|
-
};
|
|
2992
|
-
}
|
|
2993
|
-
validate() {
|
|
2994
|
-
super.validate();
|
|
2995
|
-
}
|
|
2996
|
-
constructor(map) {
|
|
2997
|
-
super(map);
|
|
2998
|
-
}
|
|
2999
|
-
}
|
|
3000
|
-
exports.ListImagesShrinkRequest = ListImagesShrinkRequest;
|
|
3001
|
-
class ListImagesResponseBody extends $dara.Model {
|
|
3002
|
-
static names() {
|
|
3003
|
-
return {
|
|
3004
|
-
images: 'Images',
|
|
3005
|
-
pageNumber: 'PageNumber',
|
|
3006
|
-
pageSize: 'PageSize',
|
|
3007
|
-
requestId: 'RequestId',
|
|
3008
|
-
success: 'Success',
|
|
3009
|
-
totalCount: 'TotalCount',
|
|
3010
|
-
};
|
|
3011
|
-
}
|
|
3012
|
-
static types() {
|
|
3013
|
-
return {
|
|
3014
|
-
images: { 'type': 'array', 'itemType': ListImagesResponseBodyImages },
|
|
3015
|
-
pageNumber: 'number',
|
|
3016
|
-
pageSize: 'number',
|
|
3017
|
-
requestId: 'string',
|
|
3018
|
-
success: 'boolean',
|
|
3019
|
-
totalCount: 'number',
|
|
3020
|
-
};
|
|
3021
|
-
}
|
|
3022
|
-
validate() {
|
|
3023
|
-
if (Array.isArray(this.images)) {
|
|
3024
|
-
$dara.Model.validateArray(this.images);
|
|
3025
|
-
}
|
|
3026
|
-
super.validate();
|
|
3027
|
-
}
|
|
3028
|
-
constructor(map) {
|
|
3029
|
-
super(map);
|
|
3030
|
-
}
|
|
3031
|
-
}
|
|
3032
|
-
exports.ListImagesResponseBody = ListImagesResponseBody;
|
|
3033
|
-
class ListImagesResponse extends $dara.Model {
|
|
3034
|
-
static names() {
|
|
3035
|
-
return {
|
|
3036
|
-
headers: 'headers',
|
|
3037
|
-
statusCode: 'statusCode',
|
|
3038
|
-
body: 'body',
|
|
3039
|
-
};
|
|
3040
|
-
}
|
|
3041
|
-
static types() {
|
|
3042
|
-
return {
|
|
3043
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3044
|
-
statusCode: 'number',
|
|
3045
|
-
body: ListImagesResponseBody,
|
|
3046
|
-
};
|
|
3047
|
-
}
|
|
3048
|
-
validate() {
|
|
3049
|
-
if (this.headers) {
|
|
3050
|
-
$dara.Model.validateMap(this.headers);
|
|
3051
|
-
}
|
|
3052
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
3053
|
-
this.body.validate();
|
|
3054
|
-
}
|
|
3055
|
-
super.validate();
|
|
3056
|
-
}
|
|
3057
|
-
constructor(map) {
|
|
3058
|
-
super(map);
|
|
3059
|
-
}
|
|
3060
|
-
}
|
|
3061
|
-
exports.ListImagesResponse = ListImagesResponse;
|
|
3062
|
-
class ListJobExecutorsRequest extends $dara.Model {
|
|
3063
|
-
static names() {
|
|
3064
|
-
return {
|
|
3065
|
-
jobId: 'JobId',
|
|
3066
|
-
pageNumber: 'PageNumber',
|
|
3067
|
-
pageSize: 'PageSize',
|
|
3068
|
-
taskName: 'TaskName',
|
|
3069
|
-
};
|
|
3070
|
-
}
|
|
3071
|
-
static types() {
|
|
3072
|
-
return {
|
|
3073
|
-
jobId: 'string',
|
|
3074
|
-
pageNumber: 'number',
|
|
3075
|
-
pageSize: 'number',
|
|
3076
|
-
taskName: 'string',
|
|
3077
|
-
};
|
|
3078
|
-
}
|
|
3079
|
-
validate() {
|
|
3080
|
-
super.validate();
|
|
3081
|
-
}
|
|
3082
|
-
constructor(map) {
|
|
3083
|
-
super(map);
|
|
3084
|
-
}
|
|
3085
|
-
}
|
|
3086
|
-
exports.ListJobExecutorsRequest = ListJobExecutorsRequest;
|
|
3087
|
-
class ListJobExecutorsResponseBody extends $dara.Model {
|
|
3088
|
-
static names() {
|
|
3089
|
-
return {
|
|
3090
|
-
executorStatus: 'ExecutorStatus',
|
|
3091
|
-
executors: 'Executors',
|
|
3092
|
-
jobId: 'JobId',
|
|
3093
|
-
pageNumber: 'PageNumber',
|
|
3094
|
-
pageSize: 'PageSize',
|
|
3095
|
-
requestId: 'RequestId',
|
|
3096
|
-
taskName: 'TaskName',
|
|
3097
|
-
totalCount: 'TotalCount',
|
|
3098
|
-
};
|
|
3099
|
-
}
|
|
3100
|
-
static types() {
|
|
3101
|
-
return {
|
|
3102
|
-
executorStatus: ListJobExecutorsResponseBodyExecutorStatus,
|
|
3103
|
-
executors: { 'type': 'array', 'itemType': ListJobExecutorsResponseBodyExecutors },
|
|
3104
|
-
jobId: 'string',
|
|
3105
|
-
pageNumber: 'number',
|
|
3106
|
-
pageSize: 'number',
|
|
3107
|
-
requestId: 'string',
|
|
3108
|
-
taskName: 'string',
|
|
3109
|
-
totalCount: 'string',
|
|
3110
|
-
};
|
|
3111
|
-
}
|
|
3112
|
-
validate() {
|
|
3113
|
-
if (this.executorStatus && typeof this.executorStatus.validate === 'function') {
|
|
3114
|
-
this.executorStatus.validate();
|
|
3115
|
-
}
|
|
3116
|
-
if (Array.isArray(this.executors)) {
|
|
3117
|
-
$dara.Model.validateArray(this.executors);
|
|
3118
|
-
}
|
|
3119
|
-
super.validate();
|
|
3120
|
-
}
|
|
3121
|
-
constructor(map) {
|
|
3122
|
-
super(map);
|
|
3123
|
-
}
|
|
3124
|
-
}
|
|
3125
|
-
exports.ListJobExecutorsResponseBody = ListJobExecutorsResponseBody;
|
|
3126
|
-
class ListJobExecutorsResponse extends $dara.Model {
|
|
3127
|
-
static names() {
|
|
3128
|
-
return {
|
|
3129
|
-
headers: 'headers',
|
|
3130
|
-
statusCode: 'statusCode',
|
|
3131
|
-
body: 'body',
|
|
3132
|
-
};
|
|
3133
|
-
}
|
|
3134
|
-
static types() {
|
|
3135
|
-
return {
|
|
3136
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3137
|
-
statusCode: 'number',
|
|
3138
|
-
body: ListJobExecutorsResponseBody,
|
|
3139
|
-
};
|
|
3140
|
-
}
|
|
3141
|
-
validate() {
|
|
3142
|
-
if (this.headers) {
|
|
3143
|
-
$dara.Model.validateMap(this.headers);
|
|
3144
|
-
}
|
|
3145
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
3146
|
-
this.body.validate();
|
|
3147
|
-
}
|
|
3148
|
-
super.validate();
|
|
3149
|
-
}
|
|
3150
|
-
constructor(map) {
|
|
3151
|
-
super(map);
|
|
3152
|
-
}
|
|
3153
|
-
}
|
|
3154
|
-
exports.ListJobExecutorsResponse = ListJobExecutorsResponse;
|
|
3155
|
-
class ListJobsRequest extends $dara.Model {
|
|
3156
|
-
static names() {
|
|
3157
|
-
return {
|
|
3158
|
-
filter: 'Filter',
|
|
3159
|
-
pageNumber: 'PageNumber',
|
|
3160
|
-
pageSize: 'PageSize',
|
|
3161
|
-
sortBy: 'SortBy',
|
|
3162
|
-
};
|
|
3163
|
-
}
|
|
3164
|
-
static types() {
|
|
3165
|
-
return {
|
|
3166
|
-
filter: ListJobsRequestFilter,
|
|
3167
|
-
pageNumber: 'number',
|
|
3168
|
-
pageSize: 'number',
|
|
3169
|
-
sortBy: ListJobsRequestSortBy,
|
|
3170
|
-
};
|
|
3171
|
-
}
|
|
3172
|
-
validate() {
|
|
3173
|
-
if (this.filter && typeof this.filter.validate === 'function') {
|
|
3174
|
-
this.filter.validate();
|
|
3175
|
-
}
|
|
3176
|
-
if (this.sortBy && typeof this.sortBy.validate === 'function') {
|
|
3177
|
-
this.sortBy.validate();
|
|
3178
|
-
}
|
|
3179
|
-
super.validate();
|
|
3180
|
-
}
|
|
3181
|
-
constructor(map) {
|
|
3182
|
-
super(map);
|
|
3183
|
-
}
|
|
3184
|
-
}
|
|
3185
|
-
exports.ListJobsRequest = ListJobsRequest;
|
|
3186
|
-
class ListJobsShrinkRequest extends $dara.Model {
|
|
3187
|
-
static names() {
|
|
3188
|
-
return {
|
|
3189
|
-
filterShrink: 'Filter',
|
|
3190
|
-
pageNumber: 'PageNumber',
|
|
3191
|
-
pageSize: 'PageSize',
|
|
3192
|
-
sortByShrink: 'SortBy',
|
|
3193
|
-
};
|
|
3194
|
-
}
|
|
3195
|
-
static types() {
|
|
3196
|
-
return {
|
|
3197
|
-
filterShrink: 'string',
|
|
3198
|
-
pageNumber: 'number',
|
|
3199
|
-
pageSize: 'number',
|
|
3200
|
-
sortByShrink: 'string',
|
|
3201
|
-
};
|
|
3202
|
-
}
|
|
3203
|
-
validate() {
|
|
3204
|
-
super.validate();
|
|
3205
|
-
}
|
|
3206
|
-
constructor(map) {
|
|
3207
|
-
super(map);
|
|
3208
|
-
}
|
|
3209
|
-
}
|
|
3210
|
-
exports.ListJobsShrinkRequest = ListJobsShrinkRequest;
|
|
3211
|
-
class ListJobsResponseBody extends $dara.Model {
|
|
3212
|
-
static names() {
|
|
3213
|
-
return {
|
|
3214
|
-
jobList: 'JobList',
|
|
3215
|
-
pageNumber: 'PageNumber',
|
|
3216
|
-
pageSize: 'PageSize',
|
|
3217
|
-
requestId: 'RequestId',
|
|
3218
|
-
totalCount: 'TotalCount',
|
|
3219
|
-
};
|
|
3220
|
-
}
|
|
3221
|
-
static types() {
|
|
3222
|
-
return {
|
|
3223
|
-
jobList: { 'type': 'array', 'itemType': ListJobsResponseBodyJobList },
|
|
3224
|
-
pageNumber: 'number',
|
|
3225
|
-
pageSize: 'number',
|
|
3226
|
-
requestId: 'string',
|
|
3227
|
-
totalCount: 'number',
|
|
3228
|
-
};
|
|
3229
|
-
}
|
|
3230
|
-
validate() {
|
|
3231
|
-
if (Array.isArray(this.jobList)) {
|
|
3232
|
-
$dara.Model.validateArray(this.jobList);
|
|
3233
|
-
}
|
|
3234
|
-
super.validate();
|
|
3235
|
-
}
|
|
3236
|
-
constructor(map) {
|
|
3237
|
-
super(map);
|
|
3238
|
-
}
|
|
3239
|
-
}
|
|
3240
|
-
exports.ListJobsResponseBody = ListJobsResponseBody;
|
|
3241
|
-
class ListJobsResponse extends $dara.Model {
|
|
3242
|
-
static names() {
|
|
3243
|
-
return {
|
|
3244
|
-
headers: 'headers',
|
|
3245
|
-
statusCode: 'statusCode',
|
|
3246
|
-
body: 'body',
|
|
3247
|
-
};
|
|
3248
|
-
}
|
|
3249
|
-
static types() {
|
|
3250
|
-
return {
|
|
3251
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3252
|
-
statusCode: 'number',
|
|
3253
|
-
body: ListJobsResponseBody,
|
|
3254
|
-
};
|
|
3255
|
-
}
|
|
3256
|
-
validate() {
|
|
3257
|
-
if (this.headers) {
|
|
3258
|
-
$dara.Model.validateMap(this.headers);
|
|
3259
|
-
}
|
|
3260
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
3261
|
-
this.body.validate();
|
|
3262
|
-
}
|
|
3263
|
-
super.validate();
|
|
3264
|
-
}
|
|
3265
|
-
constructor(map) {
|
|
3266
|
-
super(map);
|
|
3267
|
-
}
|
|
3268
|
-
}
|
|
3269
|
-
exports.ListJobsResponse = ListJobsResponse;
|
|
3270
|
-
class ListPoolsRequest extends $dara.Model {
|
|
3271
|
-
static names() {
|
|
3272
|
-
return {
|
|
3273
|
-
filter: 'Filter',
|
|
3274
|
-
pageNumber: 'PageNumber',
|
|
3275
|
-
pageSize: 'PageSize',
|
|
3276
|
-
};
|
|
3277
|
-
}
|
|
3278
|
-
static types() {
|
|
3279
|
-
return {
|
|
3280
|
-
filter: ListPoolsRequestFilter,
|
|
3281
|
-
pageNumber: 'number',
|
|
3282
|
-
pageSize: 'number',
|
|
3283
|
-
};
|
|
3284
|
-
}
|
|
3285
|
-
validate() {
|
|
3286
|
-
if (this.filter && typeof this.filter.validate === 'function') {
|
|
3287
|
-
this.filter.validate();
|
|
3288
|
-
}
|
|
3289
|
-
super.validate();
|
|
3290
|
-
}
|
|
3291
|
-
constructor(map) {
|
|
3292
|
-
super(map);
|
|
3293
|
-
}
|
|
3294
|
-
}
|
|
3295
|
-
exports.ListPoolsRequest = ListPoolsRequest;
|
|
3296
|
-
class ListPoolsShrinkRequest extends $dara.Model {
|
|
3297
|
-
static names() {
|
|
3298
|
-
return {
|
|
3299
|
-
filterShrink: 'Filter',
|
|
3300
|
-
pageNumber: 'PageNumber',
|
|
3301
|
-
pageSize: 'PageSize',
|
|
3302
|
-
};
|
|
3303
|
-
}
|
|
3304
|
-
static types() {
|
|
3305
|
-
return {
|
|
3306
|
-
filterShrink: 'string',
|
|
3307
|
-
pageNumber: 'number',
|
|
3308
|
-
pageSize: 'number',
|
|
3309
|
-
};
|
|
3310
|
-
}
|
|
3311
|
-
validate() {
|
|
3312
|
-
super.validate();
|
|
3313
|
-
}
|
|
3314
|
-
constructor(map) {
|
|
3315
|
-
super(map);
|
|
3316
|
-
}
|
|
3317
|
-
}
|
|
3318
|
-
exports.ListPoolsShrinkRequest = ListPoolsShrinkRequest;
|
|
3319
|
-
class ListPoolsResponseBody extends $dara.Model {
|
|
3320
|
-
static names() {
|
|
3321
|
-
return {
|
|
3322
|
-
pageNumber: 'PageNumber',
|
|
3323
|
-
pageSize: 'PageSize',
|
|
3324
|
-
poolList: 'PoolList',
|
|
3325
|
-
requestId: 'RequestId',
|
|
3326
|
-
totalCount: 'TotalCount',
|
|
3327
|
-
};
|
|
3328
|
-
}
|
|
3329
|
-
static types() {
|
|
3330
|
-
return {
|
|
3331
|
-
pageNumber: 'number',
|
|
3332
|
-
pageSize: 'number',
|
|
3333
|
-
poolList: { 'type': 'array', 'itemType': ListPoolsResponseBodyPoolList },
|
|
3334
|
-
requestId: 'string',
|
|
3335
|
-
totalCount: 'number',
|
|
3336
|
-
};
|
|
3337
|
-
}
|
|
3338
|
-
validate() {
|
|
3339
|
-
if (Array.isArray(this.poolList)) {
|
|
3340
|
-
$dara.Model.validateArray(this.poolList);
|
|
3341
|
-
}
|
|
3342
|
-
super.validate();
|
|
3343
|
-
}
|
|
3344
|
-
constructor(map) {
|
|
3345
|
-
super(map);
|
|
3346
|
-
}
|
|
3347
|
-
}
|
|
3348
|
-
exports.ListPoolsResponseBody = ListPoolsResponseBody;
|
|
3349
|
-
class ListPoolsResponse extends $dara.Model {
|
|
3350
|
-
static names() {
|
|
3351
|
-
return {
|
|
3352
|
-
headers: 'headers',
|
|
3353
|
-
statusCode: 'statusCode',
|
|
3354
|
-
body: 'body',
|
|
3355
|
-
};
|
|
3356
|
-
}
|
|
3357
|
-
static types() {
|
|
3358
|
-
return {
|
|
3359
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3360
|
-
statusCode: 'number',
|
|
3361
|
-
body: ListPoolsResponseBody,
|
|
3362
|
-
};
|
|
3363
|
-
}
|
|
3364
|
-
validate() {
|
|
3365
|
-
if (this.headers) {
|
|
3366
|
-
$dara.Model.validateMap(this.headers);
|
|
3367
|
-
}
|
|
3368
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
3369
|
-
this.body.validate();
|
|
3370
|
-
}
|
|
3371
|
-
super.validate();
|
|
3372
|
-
}
|
|
3373
|
-
constructor(map) {
|
|
3374
|
-
super(map);
|
|
3375
|
-
}
|
|
3376
|
-
}
|
|
3377
|
-
exports.ListPoolsResponse = ListPoolsResponse;
|
|
3378
|
-
class ListTagResourcesRequest extends $dara.Model {
|
|
3379
|
-
static names() {
|
|
3380
|
-
return {
|
|
3381
|
-
maxResult: 'MaxResult',
|
|
3382
|
-
nextToken: 'NextToken',
|
|
3383
|
-
resourceId: 'ResourceId',
|
|
3384
|
-
resourceType: 'ResourceType',
|
|
3385
|
-
tag: 'Tag',
|
|
3386
|
-
};
|
|
3387
|
-
}
|
|
3388
|
-
static types() {
|
|
3389
|
-
return {
|
|
3390
|
-
maxResult: 'number',
|
|
3391
|
-
nextToken: 'string',
|
|
3392
|
-
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
3393
|
-
resourceType: 'string',
|
|
3394
|
-
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
3395
|
-
};
|
|
3396
|
-
}
|
|
3397
|
-
validate() {
|
|
3398
|
-
if (Array.isArray(this.resourceId)) {
|
|
3399
|
-
$dara.Model.validateArray(this.resourceId);
|
|
3400
|
-
}
|
|
3401
|
-
if (Array.isArray(this.tag)) {
|
|
3402
|
-
$dara.Model.validateArray(this.tag);
|
|
3403
|
-
}
|
|
3404
|
-
super.validate();
|
|
3405
|
-
}
|
|
3406
|
-
constructor(map) {
|
|
3407
|
-
super(map);
|
|
3408
|
-
}
|
|
3409
|
-
}
|
|
3410
|
-
exports.ListTagResourcesRequest = ListTagResourcesRequest;
|
|
3411
|
-
class ListTagResourcesResponseBody extends $dara.Model {
|
|
3412
|
-
static names() {
|
|
3413
|
-
return {
|
|
3414
|
-
nextToken: 'NextToken',
|
|
3415
|
-
requestId: 'RequestId',
|
|
3416
|
-
tagResources: 'TagResources',
|
|
3417
|
-
};
|
|
3418
|
-
}
|
|
3419
|
-
static types() {
|
|
3420
|
-
return {
|
|
3421
|
-
nextToken: 'string',
|
|
3422
|
-
requestId: 'string',
|
|
3423
|
-
tagResources: ListTagResourcesResponseBodyTagResources,
|
|
3424
|
-
};
|
|
3425
|
-
}
|
|
3426
|
-
validate() {
|
|
3427
|
-
if (this.tagResources && typeof this.tagResources.validate === 'function') {
|
|
3428
|
-
this.tagResources.validate();
|
|
3429
|
-
}
|
|
3430
|
-
super.validate();
|
|
3431
|
-
}
|
|
3432
|
-
constructor(map) {
|
|
3433
|
-
super(map);
|
|
3434
|
-
}
|
|
3435
|
-
}
|
|
3436
|
-
exports.ListTagResourcesResponseBody = ListTagResourcesResponseBody;
|
|
3437
|
-
class ListTagResourcesResponse extends $dara.Model {
|
|
3438
|
-
static names() {
|
|
3439
|
-
return {
|
|
3440
|
-
headers: 'headers',
|
|
3441
|
-
statusCode: 'statusCode',
|
|
3442
|
-
body: 'body',
|
|
3443
|
-
};
|
|
3444
|
-
}
|
|
3445
|
-
static types() {
|
|
3446
|
-
return {
|
|
3447
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3448
|
-
statusCode: 'number',
|
|
3449
|
-
body: ListTagResourcesResponseBody,
|
|
3450
|
-
};
|
|
3451
|
-
}
|
|
3452
|
-
validate() {
|
|
3453
|
-
if (this.headers) {
|
|
3454
|
-
$dara.Model.validateMap(this.headers);
|
|
3455
|
-
}
|
|
3456
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
3457
|
-
this.body.validate();
|
|
3458
|
-
}
|
|
3459
|
-
super.validate();
|
|
3460
|
-
}
|
|
3461
|
-
constructor(map) {
|
|
3462
|
-
super(map);
|
|
3463
|
-
}
|
|
3464
|
-
}
|
|
3465
|
-
exports.ListTagResourcesResponse = ListTagResourcesResponse;
|
|
3466
|
-
class RemoveImageRequest extends $dara.Model {
|
|
3467
|
-
static names() {
|
|
3468
|
-
return {
|
|
3469
|
-
imageId: 'ImageId',
|
|
3470
|
-
imageType: 'ImageType',
|
|
3471
|
-
};
|
|
3472
|
-
}
|
|
3473
|
-
static types() {
|
|
3474
|
-
return {
|
|
3475
|
-
imageId: 'string',
|
|
3476
|
-
imageType: 'string',
|
|
3477
|
-
};
|
|
3478
|
-
}
|
|
3479
|
-
validate() {
|
|
3480
|
-
super.validate();
|
|
3481
|
-
}
|
|
3482
|
-
constructor(map) {
|
|
3483
|
-
super(map);
|
|
3484
|
-
}
|
|
3485
|
-
}
|
|
3486
|
-
exports.RemoveImageRequest = RemoveImageRequest;
|
|
3487
|
-
class RemoveImageResponseBody extends $dara.Model {
|
|
3488
|
-
static names() {
|
|
3489
|
-
return {
|
|
3490
|
-
requestId: 'RequestId',
|
|
3491
|
-
success: 'Success',
|
|
3492
|
-
};
|
|
3493
|
-
}
|
|
3494
|
-
static types() {
|
|
3495
|
-
return {
|
|
3496
|
-
requestId: 'string',
|
|
3497
|
-
success: 'boolean',
|
|
3498
|
-
};
|
|
3499
|
-
}
|
|
3500
|
-
validate() {
|
|
3501
|
-
super.validate();
|
|
3502
|
-
}
|
|
3503
|
-
constructor(map) {
|
|
3504
|
-
super(map);
|
|
3505
|
-
}
|
|
3506
|
-
}
|
|
3507
|
-
exports.RemoveImageResponseBody = RemoveImageResponseBody;
|
|
3508
|
-
class RemoveImageResponse extends $dara.Model {
|
|
3509
|
-
static names() {
|
|
3510
|
-
return {
|
|
3511
|
-
headers: 'headers',
|
|
3512
|
-
statusCode: 'statusCode',
|
|
3513
|
-
body: 'body',
|
|
3514
|
-
};
|
|
3515
|
-
}
|
|
3516
|
-
static types() {
|
|
3517
|
-
return {
|
|
3518
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3519
|
-
statusCode: 'number',
|
|
3520
|
-
body: RemoveImageResponseBody,
|
|
3521
|
-
};
|
|
3522
|
-
}
|
|
3523
|
-
validate() {
|
|
3524
|
-
if (this.headers) {
|
|
3525
|
-
$dara.Model.validateMap(this.headers);
|
|
3526
|
-
}
|
|
3527
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
3528
|
-
this.body.validate();
|
|
3529
|
-
}
|
|
3530
|
-
super.validate();
|
|
3531
|
-
}
|
|
3532
|
-
constructor(map) {
|
|
3533
|
-
super(map);
|
|
3534
|
-
}
|
|
3535
|
-
}
|
|
3536
|
-
exports.RemoveImageResponse = RemoveImageResponse;
|
|
3537
|
-
class TagResourcesRequest extends $dara.Model {
|
|
3538
|
-
static names() {
|
|
3539
|
-
return {
|
|
3540
|
-
resourceId: 'ResourceId',
|
|
3541
|
-
resourceType: 'ResourceType',
|
|
3542
|
-
tag: 'Tag',
|
|
3543
|
-
};
|
|
3544
|
-
}
|
|
3545
|
-
static types() {
|
|
3546
|
-
return {
|
|
3547
|
-
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
3548
|
-
resourceType: 'string',
|
|
3549
|
-
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
3550
|
-
};
|
|
3551
|
-
}
|
|
3552
|
-
validate() {
|
|
3553
|
-
if (Array.isArray(this.resourceId)) {
|
|
3554
|
-
$dara.Model.validateArray(this.resourceId);
|
|
3555
|
-
}
|
|
3556
|
-
if (Array.isArray(this.tag)) {
|
|
3557
|
-
$dara.Model.validateArray(this.tag);
|
|
3558
|
-
}
|
|
3559
|
-
super.validate();
|
|
3560
|
-
}
|
|
3561
|
-
constructor(map) {
|
|
3562
|
-
super(map);
|
|
3563
|
-
}
|
|
3564
|
-
}
|
|
3565
|
-
exports.TagResourcesRequest = TagResourcesRequest;
|
|
3566
|
-
class TagResourcesResponseBody extends $dara.Model {
|
|
3567
|
-
static names() {
|
|
3568
|
-
return {
|
|
3569
|
-
requestId: 'RequestId',
|
|
3570
|
-
};
|
|
3571
|
-
}
|
|
3572
|
-
static types() {
|
|
3573
|
-
return {
|
|
3574
|
-
requestId: 'string',
|
|
3575
|
-
};
|
|
3576
|
-
}
|
|
3577
|
-
validate() {
|
|
3578
|
-
super.validate();
|
|
3579
|
-
}
|
|
3580
|
-
constructor(map) {
|
|
3581
|
-
super(map);
|
|
3582
|
-
}
|
|
3583
|
-
}
|
|
3584
|
-
exports.TagResourcesResponseBody = TagResourcesResponseBody;
|
|
3585
|
-
class TagResourcesResponse extends $dara.Model {
|
|
3586
|
-
static names() {
|
|
3587
|
-
return {
|
|
3588
|
-
headers: 'headers',
|
|
3589
|
-
statusCode: 'statusCode',
|
|
3590
|
-
body: 'body',
|
|
3591
|
-
};
|
|
3592
|
-
}
|
|
3593
|
-
static types() {
|
|
3594
|
-
return {
|
|
3595
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3596
|
-
statusCode: 'number',
|
|
3597
|
-
body: TagResourcesResponseBody,
|
|
3598
|
-
};
|
|
3599
|
-
}
|
|
3600
|
-
validate() {
|
|
3601
|
-
if (this.headers) {
|
|
3602
|
-
$dara.Model.validateMap(this.headers);
|
|
3603
|
-
}
|
|
3604
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
3605
|
-
this.body.validate();
|
|
3606
|
-
}
|
|
3607
|
-
super.validate();
|
|
3608
|
-
}
|
|
3609
|
-
constructor(map) {
|
|
3610
|
-
super(map);
|
|
3611
|
-
}
|
|
3612
|
-
}
|
|
3613
|
-
exports.TagResourcesResponse = TagResourcesResponse;
|
|
3614
|
-
class UnTagResourcesRequest extends $dara.Model {
|
|
3615
|
-
static names() {
|
|
3616
|
-
return {
|
|
3617
|
-
all: 'All',
|
|
3618
|
-
resourceId: 'ResourceId',
|
|
3619
|
-
resourceType: 'ResourceType',
|
|
3620
|
-
tagKey: 'TagKey',
|
|
3621
|
-
};
|
|
3622
|
-
}
|
|
3623
|
-
static types() {
|
|
3624
|
-
return {
|
|
3625
|
-
all: 'boolean',
|
|
3626
|
-
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
3627
|
-
resourceType: 'string',
|
|
3628
|
-
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
3629
|
-
};
|
|
3630
|
-
}
|
|
3631
|
-
validate() {
|
|
3632
|
-
if (Array.isArray(this.resourceId)) {
|
|
3633
|
-
$dara.Model.validateArray(this.resourceId);
|
|
3634
|
-
}
|
|
3635
|
-
if (Array.isArray(this.tagKey)) {
|
|
3636
|
-
$dara.Model.validateArray(this.tagKey);
|
|
3637
|
-
}
|
|
3638
|
-
super.validate();
|
|
3639
|
-
}
|
|
3640
|
-
constructor(map) {
|
|
3641
|
-
super(map);
|
|
3642
|
-
}
|
|
3643
|
-
}
|
|
3644
|
-
exports.UnTagResourcesRequest = UnTagResourcesRequest;
|
|
3645
|
-
class UnTagResourcesResponseBody extends $dara.Model {
|
|
3646
|
-
static names() {
|
|
3647
|
-
return {
|
|
3648
|
-
requestId: 'RequestId',
|
|
3649
|
-
};
|
|
3650
|
-
}
|
|
3651
|
-
static types() {
|
|
3652
|
-
return {
|
|
3653
|
-
requestId: 'string',
|
|
3654
|
-
};
|
|
3655
|
-
}
|
|
3656
|
-
validate() {
|
|
3657
|
-
super.validate();
|
|
3658
|
-
}
|
|
3659
|
-
constructor(map) {
|
|
3660
|
-
super(map);
|
|
3661
|
-
}
|
|
3662
|
-
}
|
|
3663
|
-
exports.UnTagResourcesResponseBody = UnTagResourcesResponseBody;
|
|
3664
|
-
class UnTagResourcesResponse extends $dara.Model {
|
|
3665
|
-
static names() {
|
|
3666
|
-
return {
|
|
3667
|
-
headers: 'headers',
|
|
3668
|
-
statusCode: 'statusCode',
|
|
3669
|
-
body: 'body',
|
|
3670
|
-
};
|
|
3671
|
-
}
|
|
3672
|
-
static types() {
|
|
3673
|
-
return {
|
|
3674
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3675
|
-
statusCode: 'number',
|
|
3676
|
-
body: UnTagResourcesResponseBody,
|
|
3677
|
-
};
|
|
3678
|
-
}
|
|
3679
|
-
validate() {
|
|
3680
|
-
if (this.headers) {
|
|
3681
|
-
$dara.Model.validateMap(this.headers);
|
|
3682
|
-
}
|
|
3683
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
3684
|
-
this.body.validate();
|
|
3685
|
-
}
|
|
3686
|
-
super.validate();
|
|
3687
|
-
}
|
|
3688
|
-
constructor(map) {
|
|
3689
|
-
super(map);
|
|
3690
|
-
}
|
|
3691
|
-
}
|
|
3692
|
-
exports.UnTagResourcesResponse = UnTagResourcesResponse;
|
|
3693
|
-
class UpdatePoolRequest extends $dara.Model {
|
|
3694
|
-
static names() {
|
|
3695
|
-
return {
|
|
3696
|
-
poolName: 'PoolName',
|
|
3697
|
-
priority: 'Priority',
|
|
3698
|
-
resourceLimits: 'ResourceLimits',
|
|
3699
|
-
};
|
|
3700
|
-
}
|
|
3701
|
-
static types() {
|
|
3702
|
-
return {
|
|
3703
|
-
poolName: 'string',
|
|
3704
|
-
priority: 'number',
|
|
3705
|
-
resourceLimits: UpdatePoolRequestResourceLimits,
|
|
3706
|
-
};
|
|
3707
|
-
}
|
|
3708
|
-
validate() {
|
|
3709
|
-
if (this.resourceLimits && typeof this.resourceLimits.validate === 'function') {
|
|
3710
|
-
this.resourceLimits.validate();
|
|
3711
|
-
}
|
|
3712
|
-
super.validate();
|
|
3713
|
-
}
|
|
3714
|
-
constructor(map) {
|
|
3715
|
-
super(map);
|
|
3716
|
-
}
|
|
3717
|
-
}
|
|
3718
|
-
exports.UpdatePoolRequest = UpdatePoolRequest;
|
|
3719
|
-
class UpdatePoolShrinkRequest extends $dara.Model {
|
|
3720
|
-
static names() {
|
|
3721
|
-
return {
|
|
3722
|
-
poolName: 'PoolName',
|
|
3723
|
-
priority: 'Priority',
|
|
3724
|
-
resourceLimitsShrink: 'ResourceLimits',
|
|
3725
|
-
};
|
|
3726
|
-
}
|
|
3727
|
-
static types() {
|
|
3728
|
-
return {
|
|
3729
|
-
poolName: 'string',
|
|
3730
|
-
priority: 'number',
|
|
3731
|
-
resourceLimitsShrink: 'string',
|
|
3732
|
-
};
|
|
3733
|
-
}
|
|
3734
|
-
validate() {
|
|
3735
|
-
super.validate();
|
|
3736
|
-
}
|
|
3737
|
-
constructor(map) {
|
|
3738
|
-
super(map);
|
|
3739
|
-
}
|
|
3740
|
-
}
|
|
3741
|
-
exports.UpdatePoolShrinkRequest = UpdatePoolShrinkRequest;
|
|
3742
|
-
class UpdatePoolResponseBody extends $dara.Model {
|
|
3743
|
-
static names() {
|
|
3744
|
-
return {
|
|
3745
|
-
requestId: 'RequestId',
|
|
3746
|
-
};
|
|
3747
|
-
}
|
|
3748
|
-
static types() {
|
|
3749
|
-
return {
|
|
3750
|
-
requestId: 'string',
|
|
3751
|
-
};
|
|
3752
|
-
}
|
|
3753
|
-
validate() {
|
|
3754
|
-
super.validate();
|
|
3755
|
-
}
|
|
3756
|
-
constructor(map) {
|
|
3757
|
-
super(map);
|
|
3758
|
-
}
|
|
3759
|
-
}
|
|
3760
|
-
exports.UpdatePoolResponseBody = UpdatePoolResponseBody;
|
|
3761
|
-
class UpdatePoolResponse extends $dara.Model {
|
|
3762
|
-
static names() {
|
|
3763
|
-
return {
|
|
3764
|
-
headers: 'headers',
|
|
3765
|
-
statusCode: 'statusCode',
|
|
3766
|
-
body: 'body',
|
|
3767
|
-
};
|
|
3768
|
-
}
|
|
3769
|
-
static types() {
|
|
3770
|
-
return {
|
|
3771
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3772
|
-
statusCode: 'number',
|
|
3773
|
-
body: UpdatePoolResponseBody,
|
|
3774
|
-
};
|
|
3775
|
-
}
|
|
3776
|
-
validate() {
|
|
3777
|
-
if (this.headers) {
|
|
3778
|
-
$dara.Model.validateMap(this.headers);
|
|
3779
|
-
}
|
|
3780
|
-
if (this.body && typeof this.body.validate === 'function') {
|
|
3781
|
-
this.body.validate();
|
|
3782
|
-
}
|
|
3783
|
-
super.validate();
|
|
3784
|
-
}
|
|
3785
|
-
constructor(map) {
|
|
3786
|
-
super(map);
|
|
3787
|
-
}
|
|
3788
|
-
}
|
|
3789
|
-
exports.UpdatePoolResponse = UpdatePoolResponse;
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
|
+
};
|
|
41
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
+
// This file is auto-generated, don't edit it
|
|
43
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
44
|
+
const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
|
|
45
|
+
const openapi_core_2 = require("@alicloud/openapi-core");
|
|
46
|
+
const $_model = __importStar(require("./models/model"));
|
|
47
|
+
__exportStar(require("./models/model"), exports);
|
|
3790
48
|
class Client extends openapi_core_1.default {
|
|
3791
49
|
constructor(config) {
|
|
3792
50
|
super(config);
|
|
@@ -3812,7 +70,7 @@ class Client extends openapi_core_1.default {
|
|
|
3812
70
|
*/
|
|
3813
71
|
async addImageWithOptions(tmpReq, runtime) {
|
|
3814
72
|
tmpReq.validate();
|
|
3815
|
-
let request = new AddImageShrinkRequest({});
|
|
73
|
+
let request = new $_model.AddImageShrinkRequest({});
|
|
3816
74
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3817
75
|
if (!$dara.isNull(tmpReq.containerImageSpec)) {
|
|
3818
76
|
request.containerImageSpecShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.containerImageSpec, "ContainerImageSpec", "json");
|
|
@@ -3853,12 +111,7 @@ class Client extends openapi_core_1.default {
|
|
|
3853
111
|
reqBodyType: "formData",
|
|
3854
112
|
bodyType: "json",
|
|
3855
113
|
});
|
|
3856
|
-
|
|
3857
|
-
return $dara.cast(await this.callApi(params, req, runtime), new AddImageResponse({}));
|
|
3858
|
-
}
|
|
3859
|
-
else {
|
|
3860
|
-
return $dara.cast(await this.execute(params, req, runtime), new AddImageResponse({}));
|
|
3861
|
-
}
|
|
114
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddImageResponse({}));
|
|
3862
115
|
}
|
|
3863
116
|
/**
|
|
3864
117
|
* 添加托管侧用户自定义镜像
|
|
@@ -3879,7 +132,7 @@ class Client extends openapi_core_1.default {
|
|
|
3879
132
|
*/
|
|
3880
133
|
async createJobWithOptions(tmpReq, runtime) {
|
|
3881
134
|
tmpReq.validate();
|
|
3882
|
-
let request = new CreateJobShrinkRequest({});
|
|
135
|
+
let request = new $_model.CreateJobShrinkRequest({});
|
|
3883
136
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3884
137
|
if (!$dara.isNull(tmpReq.deploymentPolicy)) {
|
|
3885
138
|
request.deploymentPolicyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.deploymentPolicy, "DeploymentPolicy", "json");
|
|
@@ -3923,12 +176,7 @@ class Client extends openapi_core_1.default {
|
|
|
3923
176
|
reqBodyType: "formData",
|
|
3924
177
|
bodyType: "json",
|
|
3925
178
|
});
|
|
3926
|
-
|
|
3927
|
-
return $dara.cast(await this.callApi(params, req, runtime), new CreateJobResponse({}));
|
|
3928
|
-
}
|
|
3929
|
-
else {
|
|
3930
|
-
return $dara.cast(await this.execute(params, req, runtime), new CreateJobResponse({}));
|
|
3931
|
-
}
|
|
179
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateJobResponse({}));
|
|
3932
180
|
}
|
|
3933
181
|
/**
|
|
3934
182
|
* 提交任务
|
|
@@ -3949,7 +197,7 @@ class Client extends openapi_core_1.default {
|
|
|
3949
197
|
*/
|
|
3950
198
|
async createPoolWithOptions(tmpReq, runtime) {
|
|
3951
199
|
tmpReq.validate();
|
|
3952
|
-
let request = new CreatePoolShrinkRequest({});
|
|
200
|
+
let request = new $_model.CreatePoolShrinkRequest({});
|
|
3953
201
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3954
202
|
if (!$dara.isNull(tmpReq.resourceLimits)) {
|
|
3955
203
|
request.resourceLimitsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceLimits, "ResourceLimits", "json");
|
|
@@ -3978,12 +226,7 @@ class Client extends openapi_core_1.default {
|
|
|
3978
226
|
reqBodyType: "formData",
|
|
3979
227
|
bodyType: "json",
|
|
3980
228
|
});
|
|
3981
|
-
|
|
3982
|
-
return $dara.cast(await this.callApi(params, req, runtime), new CreatePoolResponse({}));
|
|
3983
|
-
}
|
|
3984
|
-
else {
|
|
3985
|
-
return $dara.cast(await this.execute(params, req, runtime), new CreatePoolResponse({}));
|
|
3986
|
-
}
|
|
229
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePoolResponse({}));
|
|
3987
230
|
}
|
|
3988
231
|
/**
|
|
3989
232
|
* 创建资源池
|
|
@@ -4004,7 +247,7 @@ class Client extends openapi_core_1.default {
|
|
|
4004
247
|
*/
|
|
4005
248
|
async deleteJobsWithOptions(tmpReq, runtime) {
|
|
4006
249
|
tmpReq.validate();
|
|
4007
|
-
let request = new DeleteJobsShrinkRequest({});
|
|
250
|
+
let request = new $_model.DeleteJobsShrinkRequest({});
|
|
4008
251
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4009
252
|
if (!$dara.isNull(tmpReq.executorIds)) {
|
|
4010
253
|
request.executorIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.executorIds, "ExecutorIds", "json");
|
|
@@ -4033,12 +276,7 @@ class Client extends openapi_core_1.default {
|
|
|
4033
276
|
reqBodyType: "formData",
|
|
4034
277
|
bodyType: "json",
|
|
4035
278
|
});
|
|
4036
|
-
|
|
4037
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DeleteJobsResponse({}));
|
|
4038
|
-
}
|
|
4039
|
-
else {
|
|
4040
|
-
return $dara.cast(await this.execute(params, req, runtime), new DeleteJobsResponse({}));
|
|
4041
|
-
}
|
|
279
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteJobsResponse({}));
|
|
4042
280
|
}
|
|
4043
281
|
/**
|
|
4044
282
|
* 删除作业
|
|
@@ -4077,12 +315,7 @@ class Client extends openapi_core_1.default {
|
|
|
4077
315
|
reqBodyType: "formData",
|
|
4078
316
|
bodyType: "json",
|
|
4079
317
|
});
|
|
4080
|
-
|
|
4081
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DeletePoolResponse({}));
|
|
4082
|
-
}
|
|
4083
|
-
else {
|
|
4084
|
-
return $dara.cast(await this.execute(params, req, runtime), new DeletePoolResponse({}));
|
|
4085
|
-
}
|
|
318
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePoolResponse({}));
|
|
4086
319
|
}
|
|
4087
320
|
/**
|
|
4088
321
|
* 删除资源池
|
|
@@ -4103,7 +336,7 @@ class Client extends openapi_core_1.default {
|
|
|
4103
336
|
*/
|
|
4104
337
|
async describeJobMetricDataWithOptions(tmpReq, runtime) {
|
|
4105
338
|
tmpReq.validate();
|
|
4106
|
-
let request = new DescribeJobMetricDataShrinkRequest({});
|
|
339
|
+
let request = new $_model.DescribeJobMetricDataShrinkRequest({});
|
|
4107
340
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4108
341
|
if (!$dara.isNull(tmpReq.arrayIndex)) {
|
|
4109
342
|
request.arrayIndexShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.arrayIndex, "ArrayIndex", "json");
|
|
@@ -4135,12 +368,7 @@ class Client extends openapi_core_1.default {
|
|
|
4135
368
|
reqBodyType: "formData",
|
|
4136
369
|
bodyType: "json",
|
|
4137
370
|
});
|
|
4138
|
-
|
|
4139
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DescribeJobMetricDataResponse({}));
|
|
4140
|
-
}
|
|
4141
|
-
else {
|
|
4142
|
-
return $dara.cast(await this.execute(params, req, runtime), new DescribeJobMetricDataResponse({}));
|
|
4143
|
-
}
|
|
371
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeJobMetricDataResponse({}));
|
|
4144
372
|
}
|
|
4145
373
|
/**
|
|
4146
374
|
* 查询作业性能数据
|
|
@@ -4161,7 +389,7 @@ class Client extends openapi_core_1.default {
|
|
|
4161
389
|
*/
|
|
4162
390
|
async describeJobMetricLastWithOptions(tmpReq, runtime) {
|
|
4163
391
|
tmpReq.validate();
|
|
4164
|
-
let request = new DescribeJobMetricLastShrinkRequest({});
|
|
392
|
+
let request = new $_model.DescribeJobMetricLastShrinkRequest({});
|
|
4165
393
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4166
394
|
if (!$dara.isNull(tmpReq.arrayIndex)) {
|
|
4167
395
|
request.arrayIndexShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.arrayIndex, "ArrayIndex", "json");
|
|
@@ -4190,12 +418,7 @@ class Client extends openapi_core_1.default {
|
|
|
4190
418
|
reqBodyType: "formData",
|
|
4191
419
|
bodyType: "json",
|
|
4192
420
|
});
|
|
4193
|
-
|
|
4194
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DescribeJobMetricLastResponse({}));
|
|
4195
|
-
}
|
|
4196
|
-
else {
|
|
4197
|
-
return $dara.cast(await this.execute(params, req, runtime), new DescribeJobMetricLastResponse({}));
|
|
4198
|
-
}
|
|
421
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeJobMetricLastResponse({}));
|
|
4199
422
|
}
|
|
4200
423
|
/**
|
|
4201
424
|
* 查询作业即时监控项
|
|
@@ -4246,12 +469,7 @@ class Client extends openapi_core_1.default {
|
|
|
4246
469
|
reqBodyType: "formData",
|
|
4247
470
|
bodyType: "json",
|
|
4248
471
|
});
|
|
4249
|
-
|
|
4250
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetAppVersionsResponse({}));
|
|
4251
|
-
}
|
|
4252
|
-
else {
|
|
4253
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetAppVersionsResponse({}));
|
|
4254
|
-
}
|
|
472
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAppVersionsResponse({}));
|
|
4255
473
|
}
|
|
4256
474
|
/**
|
|
4257
475
|
* 查看应用版本列表
|
|
@@ -4296,12 +514,7 @@ class Client extends openapi_core_1.default {
|
|
|
4296
514
|
reqBodyType: "formData",
|
|
4297
515
|
bodyType: "json",
|
|
4298
516
|
});
|
|
4299
|
-
|
|
4300
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetImageResponse({}));
|
|
4301
|
-
}
|
|
4302
|
-
else {
|
|
4303
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetImageResponse({}));
|
|
4304
|
-
}
|
|
517
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetImageResponse({}));
|
|
4305
518
|
}
|
|
4306
519
|
/**
|
|
4307
520
|
* 查询托管侧镜像详情。
|
|
@@ -4340,12 +553,7 @@ class Client extends openapi_core_1.default {
|
|
|
4340
553
|
reqBodyType: "formData",
|
|
4341
554
|
bodyType: "json",
|
|
4342
555
|
});
|
|
4343
|
-
|
|
4344
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetJobResponse({}));
|
|
4345
|
-
}
|
|
4346
|
-
else {
|
|
4347
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetJobResponse({}));
|
|
4348
|
-
}
|
|
556
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetJobResponse({}));
|
|
4349
557
|
}
|
|
4350
558
|
/**
|
|
4351
559
|
* 查询作业详情
|
|
@@ -4384,12 +592,7 @@ class Client extends openapi_core_1.default {
|
|
|
4384
592
|
reqBodyType: "formData",
|
|
4385
593
|
bodyType: "json",
|
|
4386
594
|
});
|
|
4387
|
-
|
|
4388
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetPoolResponse({}));
|
|
4389
|
-
}
|
|
4390
|
-
else {
|
|
4391
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetPoolResponse({}));
|
|
4392
|
-
}
|
|
595
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPoolResponse({}));
|
|
4393
596
|
}
|
|
4394
597
|
/**
|
|
4395
598
|
* 查询队列详细信息
|
|
@@ -4410,7 +613,7 @@ class Client extends openapi_core_1.default {
|
|
|
4410
613
|
*/
|
|
4411
614
|
async listExecutorsWithOptions(tmpReq, runtime) {
|
|
4412
615
|
tmpReq.validate();
|
|
4413
|
-
let request = new ListExecutorsShrinkRequest({});
|
|
616
|
+
let request = new $_model.ListExecutorsShrinkRequest({});
|
|
4414
617
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4415
618
|
if (!$dara.isNull(tmpReq.filter)) {
|
|
4416
619
|
request.filterShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filter, "Filter", "json");
|
|
@@ -4439,12 +642,7 @@ class Client extends openapi_core_1.default {
|
|
|
4439
642
|
reqBodyType: "formData",
|
|
4440
643
|
bodyType: "json",
|
|
4441
644
|
});
|
|
4442
|
-
|
|
4443
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ListExecutorsResponse({}));
|
|
4444
|
-
}
|
|
4445
|
-
else {
|
|
4446
|
-
return $dara.cast(await this.execute(params, req, runtime), new ListExecutorsResponse({}));
|
|
4447
|
-
}
|
|
645
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListExecutorsResponse({}));
|
|
4448
646
|
}
|
|
4449
647
|
/**
|
|
4450
648
|
* 查询全局Executor信息
|
|
@@ -4465,7 +663,7 @@ class Client extends openapi_core_1.default {
|
|
|
4465
663
|
*/
|
|
4466
664
|
async listImagesWithOptions(tmpReq, runtime) {
|
|
4467
665
|
tmpReq.validate();
|
|
4468
|
-
let request = new ListImagesShrinkRequest({});
|
|
666
|
+
let request = new $_model.ListImagesShrinkRequest({});
|
|
4469
667
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4470
668
|
if (!$dara.isNull(tmpReq.imageIds)) {
|
|
4471
669
|
request.imageIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.imageIds, "ImageIds", "json");
|
|
@@ -4509,12 +707,7 @@ class Client extends openapi_core_1.default {
|
|
|
4509
707
|
reqBodyType: "formData",
|
|
4510
708
|
bodyType: "json",
|
|
4511
709
|
});
|
|
4512
|
-
|
|
4513
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ListImagesResponse({}));
|
|
4514
|
-
}
|
|
4515
|
-
else {
|
|
4516
|
-
return $dara.cast(await this.execute(params, req, runtime), new ListImagesResponse({}));
|
|
4517
|
-
}
|
|
710
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListImagesResponse({}));
|
|
4518
711
|
}
|
|
4519
712
|
/**
|
|
4520
713
|
* 查看托管侧镜像列表
|
|
@@ -4562,12 +755,7 @@ class Client extends openapi_core_1.default {
|
|
|
4562
755
|
reqBodyType: "formData",
|
|
4563
756
|
bodyType: "json",
|
|
4564
757
|
});
|
|
4565
|
-
|
|
4566
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ListJobExecutorsResponse({}));
|
|
4567
|
-
}
|
|
4568
|
-
else {
|
|
4569
|
-
return $dara.cast(await this.execute(params, req, runtime), new ListJobExecutorsResponse({}));
|
|
4570
|
-
}
|
|
758
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListJobExecutorsResponse({}));
|
|
4571
759
|
}
|
|
4572
760
|
/**
|
|
4573
761
|
* 查询作业Executor信息
|
|
@@ -4588,7 +776,7 @@ class Client extends openapi_core_1.default {
|
|
|
4588
776
|
*/
|
|
4589
777
|
async listJobsWithOptions(tmpReq, runtime) {
|
|
4590
778
|
tmpReq.validate();
|
|
4591
|
-
let request = new ListJobsShrinkRequest({});
|
|
779
|
+
let request = new $_model.ListJobsShrinkRequest({});
|
|
4592
780
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4593
781
|
if (!$dara.isNull(tmpReq.filter)) {
|
|
4594
782
|
request.filterShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filter, "Filter", "json");
|
|
@@ -4623,12 +811,7 @@ class Client extends openapi_core_1.default {
|
|
|
4623
811
|
reqBodyType: "formData",
|
|
4624
812
|
bodyType: "json",
|
|
4625
813
|
});
|
|
4626
|
-
|
|
4627
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ListJobsResponse({}));
|
|
4628
|
-
}
|
|
4629
|
-
else {
|
|
4630
|
-
return $dara.cast(await this.execute(params, req, runtime), new ListJobsResponse({}));
|
|
4631
|
-
}
|
|
814
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListJobsResponse({}));
|
|
4632
815
|
}
|
|
4633
816
|
/**
|
|
4634
817
|
* 查询作业列表
|
|
@@ -4649,7 +832,7 @@ class Client extends openapi_core_1.default {
|
|
|
4649
832
|
*/
|
|
4650
833
|
async listPoolsWithOptions(tmpReq, runtime) {
|
|
4651
834
|
tmpReq.validate();
|
|
4652
|
-
let request = new ListPoolsShrinkRequest({});
|
|
835
|
+
let request = new $_model.ListPoolsShrinkRequest({});
|
|
4653
836
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4654
837
|
if (!$dara.isNull(tmpReq.filter)) {
|
|
4655
838
|
request.filterShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filter, "Filter", "json");
|
|
@@ -4678,12 +861,7 @@ class Client extends openapi_core_1.default {
|
|
|
4678
861
|
reqBodyType: "formData",
|
|
4679
862
|
bodyType: "json",
|
|
4680
863
|
});
|
|
4681
|
-
|
|
4682
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ListPoolsResponse({}));
|
|
4683
|
-
}
|
|
4684
|
-
else {
|
|
4685
|
-
return $dara.cast(await this.execute(params, req, runtime), new ListPoolsResponse({}));
|
|
4686
|
-
}
|
|
864
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPoolsResponse({}));
|
|
4687
865
|
}
|
|
4688
866
|
/**
|
|
4689
867
|
* 查询资源池列表
|
|
@@ -4734,12 +912,7 @@ class Client extends openapi_core_1.default {
|
|
|
4734
912
|
reqBodyType: "formData",
|
|
4735
913
|
bodyType: "json",
|
|
4736
914
|
});
|
|
4737
|
-
|
|
4738
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
4739
|
-
}
|
|
4740
|
-
else {
|
|
4741
|
-
return $dara.cast(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
|
|
4742
|
-
}
|
|
915
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
|
|
4743
916
|
}
|
|
4744
917
|
/**
|
|
4745
918
|
* 查询一个或多个资源已经绑定的标签列表
|
|
@@ -4781,12 +954,7 @@ class Client extends openapi_core_1.default {
|
|
|
4781
954
|
reqBodyType: "formData",
|
|
4782
955
|
bodyType: "json",
|
|
4783
956
|
});
|
|
4784
|
-
|
|
4785
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RemoveImageResponse({}));
|
|
4786
|
-
}
|
|
4787
|
-
else {
|
|
4788
|
-
return $dara.cast(await this.execute(params, req, runtime), new RemoveImageResponse({}));
|
|
4789
|
-
}
|
|
957
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveImageResponse({}));
|
|
4790
958
|
}
|
|
4791
959
|
/**
|
|
4792
960
|
* 移除托管侧镜像信息。
|
|
@@ -4831,12 +999,7 @@ class Client extends openapi_core_1.default {
|
|
|
4831
999
|
reqBodyType: "formData",
|
|
4832
1000
|
bodyType: "json",
|
|
4833
1001
|
});
|
|
4834
|
-
|
|
4835
|
-
return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
4836
|
-
}
|
|
4837
|
-
else {
|
|
4838
|
-
return $dara.cast(await this.execute(params, req, runtime), new TagResourcesResponse({}));
|
|
4839
|
-
}
|
|
1002
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
|
|
4840
1003
|
}
|
|
4841
1004
|
/**
|
|
4842
1005
|
* 为指定的资源列表统一创建并绑定标签
|
|
@@ -4884,12 +1047,7 @@ class Client extends openapi_core_1.default {
|
|
|
4884
1047
|
reqBodyType: "formData",
|
|
4885
1048
|
bodyType: "json",
|
|
4886
1049
|
});
|
|
4887
|
-
|
|
4888
|
-
return $dara.cast(await this.callApi(params, req, runtime), new UnTagResourcesResponse({}));
|
|
4889
|
-
}
|
|
4890
|
-
else {
|
|
4891
|
-
return $dara.cast(await this.execute(params, req, runtime), new UnTagResourcesResponse({}));
|
|
4892
|
-
}
|
|
1050
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnTagResourcesResponse({}));
|
|
4893
1051
|
}
|
|
4894
1052
|
/**
|
|
4895
1053
|
* 为指定的ECS资源列表统一解绑标签
|
|
@@ -4910,7 +1068,7 @@ class Client extends openapi_core_1.default {
|
|
|
4910
1068
|
*/
|
|
4911
1069
|
async updatePoolWithOptions(tmpReq, runtime) {
|
|
4912
1070
|
tmpReq.validate();
|
|
4913
|
-
let request = new UpdatePoolShrinkRequest({});
|
|
1071
|
+
let request = new $_model.UpdatePoolShrinkRequest({});
|
|
4914
1072
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4915
1073
|
if (!$dara.isNull(tmpReq.resourceLimits)) {
|
|
4916
1074
|
request.resourceLimitsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceLimits, "ResourceLimits", "json");
|
|
@@ -4939,12 +1097,7 @@ class Client extends openapi_core_1.default {
|
|
|
4939
1097
|
reqBodyType: "formData",
|
|
4940
1098
|
bodyType: "json",
|
|
4941
1099
|
});
|
|
4942
|
-
|
|
4943
|
-
return $dara.cast(await this.callApi(params, req, runtime), new UpdatePoolResponse({}));
|
|
4944
|
-
}
|
|
4945
|
-
else {
|
|
4946
|
-
return $dara.cast(await this.execute(params, req, runtime), new UpdatePoolResponse({}));
|
|
4947
|
-
}
|
|
1100
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePoolResponse({}));
|
|
4948
1101
|
}
|
|
4949
1102
|
/**
|
|
4950
1103
|
* 更新资源池
|