diff --git a/batchcompute-20151111/ChangeLog.md b/batchcompute-20151111/ChangeLog.md new file mode 100644 index 0000000000..6ee124507e --- /dev/null +++ b/batchcompute-20151111/ChangeLog.md @@ -0,0 +1,3 @@ +2020-12-30 Version: 1.0.0 +- AMP Version Change. + diff --git a/batchcompute-20151111/README-CN.md b/batchcompute-20151111/README-CN.md new file mode 100644 index 0000000000..7a3233aa34 --- /dev/null +++ b/batchcompute-20151111/README-CN.md @@ -0,0 +1,31 @@ +[English](README.md) | 简体中文 + +![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg) + +# Alibaba Cloud BatchCompute SDK for C# + +## 安装 + +### Composer + +```bash +composer require AlibabaCloud.SDK.BatchCompute20151111 +``` + +## 问题 + +[提交 Issue](https://github.com/aliyun/alibabacloud-csharp-sdk/issues/new),不符合指南的问题可能会立即关闭。 + +## 发行说明 + +每个版本的详细更改记录在[发行说明](./ChangeLog.md)中。 + +## 相关 + +* [最新源码](https://github.com/aliyun/alibabacloud-csharp-sdk/) + +## 许可证 + +[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) + +Copyright (c) 2009-present, Alibaba Cloud All rights reserved. diff --git a/batchcompute-20151111/README.md b/batchcompute-20151111/README.md new file mode 100644 index 0000000000..08067acb51 --- /dev/null +++ b/batchcompute-20151111/README.md @@ -0,0 +1,31 @@ +English | [简体中文](README-CN.md) + +![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg) + +# Alibaba Cloud BatchCompute SDK for C# + +## Installation + +### Composer + +```bash +composer require AlibabaCloud.SDK.BatchCompute20151111 +``` + +## Issues + +[Opening an Issue](https://github.com/aliyun/alibabacloud-csharp-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately. + +## Changelog + +Detailed changes for each release are documented in the [release notes](./ChangeLog.md). + +## References + +* [Latest Release](https://github.com/aliyun/alibabacloud-csharp-sdk/) + +## License + +[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) + +Copyright (c) 2009-present, Alibaba Cloud All rights reserved. diff --git a/batchcompute-20151111/core/Client.cs b/batchcompute-20151111/core/Client.cs new file mode 100644 index 0000000000..d183f7ea0d --- /dev/null +++ b/batchcompute-20151111/core/Client.cs @@ -0,0 +1,1737 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; + +using Tea; +using Tea.Utils; + +using AlibabaCloud.SDK.BatchCompute20151111.Models; + +namespace AlibabaCloud.SDK.BatchCompute20151111 +{ + public class Client : AlibabaCloud.OpenApiClient.Client + { + + public Client(AlibabaCloud.OpenApiClient.Models.Config config): base(config) + { + this._endpointRule = ""; + CheckConfig(config); + this._endpoint = GetEndpoint("batchcompute", _regionId, _endpointRule, _network, _suffix, _endpointMap, _endpoint); + } + + + public string GetEndpoint(string productId, string regionId, string endpointRule, string network, string suffix, Dictionary endpointMap, string endpoint) + { + if (!AlibabaCloud.TeaUtil.Common.Empty(endpoint)) + { + return endpoint; + } + if (!AlibabaCloud.TeaUtil.Common.IsUnset(endpointMap) && !AlibabaCloud.TeaUtil.Common.Empty(endpointMap.Get(regionId))) + { + return endpointMap.Get(regionId); + } + return AlibabaCloud.EndpointUtil.Common.GetEndpointRules(productId, regionId, endpointRule, network, suffix); + } + + public CancelImageResponse CancelImage(string ResourceName, CancelImageRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return CancelImageWithOptions(ResourceName, request, headers, runtime); + } + + public async Task CancelImageAsync(string ResourceName, CancelImageRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await CancelImageWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public CancelImageResponse CancelImageWithOptions(string ResourceName, CancelImageRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("CancelImage", "2015-11-11", "HTTPS", "PUT", "AK", "/images/" + ResourceName, "none", req, runtime)); + } + + public async Task CancelImageWithOptionsAsync(string ResourceName, CancelImageRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("CancelImage", "2015-11-11", "HTTPS", "PUT", "AK", "/images/" + ResourceName, "none", req, runtime)); + } + + public ChangeJobPriorityResponse ChangeJobPriority(string ResourceName, ChangeJobPriorityRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ChangeJobPriorityWithOptions(ResourceName, request, headers, runtime); + } + + public async Task ChangeJobPriorityAsync(string ResourceName, ChangeJobPriorityRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ChangeJobPriorityWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public ChangeJobPriorityResponse ChangeJobPriorityWithOptions(string ResourceName, ChangeJobPriorityRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("ChangeJobPriority", "2015-11-11", "HTTPS", "PUT", "AK", "/jobs/" + ResourceName, "none", req, runtime)); + } + + public async Task ChangeJobPriorityWithOptionsAsync(string ResourceName, ChangeJobPriorityRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("ChangeJobPriority", "2015-11-11", "HTTPS", "PUT", "AK", "/jobs/" + ResourceName, "none", req, runtime)); + } + + public CreateAppResponse CreateApp() + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return CreateAppWithOptions(headers, runtime); + } + + public async Task CreateAppAsync() + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await CreateAppWithOptionsAsync(headers, runtime); + } + + public CreateAppResponse CreateAppWithOptions(Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(DoROARequest("CreateApp", "2015-11-11", "HTTPS", "POST", "AK", "/apps", "none", req, runtime)); + } + + public async Task CreateAppWithOptionsAsync(Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(await DoROARequestAsync("CreateApp", "2015-11-11", "HTTPS", "POST", "AK", "/apps", "none", req, runtime)); + } + + public CreateClusterResponse CreateCluster(CreateClusterRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return CreateClusterWithOptions(request, headers, runtime); + } + + public async Task CreateClusterAsync(CreateClusterRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await CreateClusterWithOptionsAsync(request, headers, runtime); + } + + public CreateClusterResponse CreateClusterWithOptions(CreateClusterRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("CreateCluster", "2015-11-11", "HTTPS", "POST", "AK", "/clusters", "none", req, runtime)); + } + + public async Task CreateClusterWithOptionsAsync(CreateClusterRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("CreateCluster", "2015-11-11", "HTTPS", "POST", "AK", "/clusters", "none", req, runtime)); + } + + public CreateImageResponse CreateImage(CreateImageRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return CreateImageWithOptions(request, headers, runtime); + } + + public async Task CreateImageAsync(CreateImageRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await CreateImageWithOptionsAsync(request, headers, runtime); + } + + public CreateImageResponse CreateImageWithOptions(CreateImageRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("CreateImage", "2015-11-11", "HTTPS", "POST", "AK", "/images", "none", req, runtime)); + } + + public async Task CreateImageWithOptionsAsync(CreateImageRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("CreateImage", "2015-11-11", "HTTPS", "POST", "AK", "/images", "none", req, runtime)); + } + + public CreateJobResponse CreateJob(CreateJobRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return CreateJobWithOptions(request, headers, runtime); + } + + public async Task CreateJobAsync(CreateJobRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await CreateJobWithOptionsAsync(request, headers, runtime); + } + + public CreateJobResponse CreateJobWithOptions(CreateJobRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("CreateJob", "2015-11-11", "HTTPS", "POST", "AK", "/jobs", "none", req, runtime)); + } + + public async Task CreateJobWithOptionsAsync(CreateJobRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("CreateJob", "2015-11-11", "HTTPS", "POST", "AK", "/jobs", "none", req, runtime)); + } + + public DeleteAppResponse DeleteApp(string ResourceName) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return DeleteAppWithOptions(ResourceName, headers, runtime); + } + + public async Task DeleteAppAsync(string ResourceName) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await DeleteAppWithOptionsAsync(ResourceName, headers, runtime); + } + + public DeleteAppResponse DeleteAppWithOptions(string ResourceName, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(DoROARequest("DeleteApp", "2015-11-11", "HTTPS", "DELETE", "AK", "/apps/" + ResourceName, "none", req, runtime)); + } + + public async Task DeleteAppWithOptionsAsync(string ResourceName, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(await DoROARequestAsync("DeleteApp", "2015-11-11", "HTTPS", "DELETE", "AK", "/apps/" + ResourceName, "none", req, runtime)); + } + + public DeleteClusterResponse DeleteCluster(string ResourceName, DeleteClusterRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return DeleteClusterWithOptions(ResourceName, request, headers, runtime); + } + + public async Task DeleteClusterAsync(string ResourceName, DeleteClusterRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await DeleteClusterWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public DeleteClusterResponse DeleteClusterWithOptions(string ResourceName, DeleteClusterRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("DeleteCluster", "2015-11-11", "HTTPS", "DELETE", "AK", "/clusters/" + ResourceName, "none", req, runtime)); + } + + public async Task DeleteClusterWithOptionsAsync(string ResourceName, DeleteClusterRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("DeleteCluster", "2015-11-11", "HTTPS", "DELETE", "AK", "/clusters/" + ResourceName, "none", req, runtime)); + } + + public DeleteClusterInstanceResponse DeleteClusterInstance(string ClusterId, string GroupName, string InstanceId, DeleteClusterInstanceRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return DeleteClusterInstanceWithOptions(ClusterId, GroupName, InstanceId, request, headers, runtime); + } + + public async Task DeleteClusterInstanceAsync(string ClusterId, string GroupName, string InstanceId, DeleteClusterInstanceRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await DeleteClusterInstanceWithOptionsAsync(ClusterId, GroupName, InstanceId, request, headers, runtime); + } + + public DeleteClusterInstanceResponse DeleteClusterInstanceWithOptions(string ClusterId, string GroupName, string InstanceId, DeleteClusterInstanceRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("DeleteClusterInstance", "2015-11-11", "HTTPS", "DELETE", "AK", "/clusters/" + ClusterId + "/groups/{GroupName}/instances/{InstanceId}", "none", req, runtime)); + } + + public async Task DeleteClusterInstanceWithOptionsAsync(string ClusterId, string GroupName, string InstanceId, DeleteClusterInstanceRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("DeleteClusterInstance", "2015-11-11", "HTTPS", "DELETE", "AK", "/clusters/" + ClusterId + "/groups/{GroupName}/instances/{InstanceId}", "none", req, runtime)); + } + + public DeleteImageResponse DeleteImage(string ResourceName, DeleteImageRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return DeleteImageWithOptions(ResourceName, request, headers, runtime); + } + + public async Task DeleteImageAsync(string ResourceName, DeleteImageRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await DeleteImageWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public DeleteImageResponse DeleteImageWithOptions(string ResourceName, DeleteImageRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("DeleteImage", "2015-11-11", "HTTPS", "DELETE", "AK", "/images/" + ResourceName, "none", req, runtime)); + } + + public async Task DeleteImageWithOptionsAsync(string ResourceName, DeleteImageRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("DeleteImage", "2015-11-11", "HTTPS", "DELETE", "AK", "/images/" + ResourceName, "none", req, runtime)); + } + + public DeleteJobResponse DeleteJob(string ResourceName, DeleteJobRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return DeleteJobWithOptions(ResourceName, request, headers, runtime); + } + + public async Task DeleteJobAsync(string ResourceName, DeleteJobRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await DeleteJobWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public DeleteJobResponse DeleteJobWithOptions(string ResourceName, DeleteJobRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("DeleteJob", "2015-11-11", "HTTPS", "DELETE", "AK", "/jobs/" + ResourceName, "none", req, runtime)); + } + + public async Task DeleteJobWithOptionsAsync(string ResourceName, DeleteJobRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("DeleteJob", "2015-11-11", "HTTPS", "DELETE", "AK", "/jobs/" + ResourceName, "none", req, runtime)); + } + + public DeleteProjectResponse DeleteProject(string ProjectName, DeleteProjectRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return DeleteProjectWithOptions(ProjectName, request, headers, runtime); + } + + public async Task DeleteProjectAsync(string ProjectName, DeleteProjectRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await DeleteProjectWithOptionsAsync(ProjectName, request, headers, runtime); + } + + public DeleteProjectResponse DeleteProjectWithOptions(string ProjectName, DeleteProjectRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("DeleteProject", "2015-11-11", "HTTPS", "DELETE", "AK", "/projects/" + ProjectName, "none", req, runtime)); + } + + public async Task DeleteProjectWithOptionsAsync(string ProjectName, DeleteProjectRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("DeleteProject", "2015-11-11", "HTTPS", "DELETE", "AK", "/projects/" + ProjectName, "none", req, runtime)); + } + + public GetAppResponse GetApp(string ResourceName) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return GetAppWithOptions(ResourceName, headers, runtime); + } + + public async Task GetAppAsync(string ResourceName) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await GetAppWithOptionsAsync(ResourceName, headers, runtime); + } + + public GetAppResponse GetAppWithOptions(string ResourceName, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(DoROARequest("GetApp", "2015-11-11", "HTTPS", "GET", "AK", "/apps/" + ResourceName, "none", req, runtime)); + } + + public async Task GetAppWithOptionsAsync(string ResourceName, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(await DoROARequestAsync("GetApp", "2015-11-11", "HTTPS", "GET", "AK", "/apps/" + ResourceName, "none", req, runtime)); + } + + public GetClusterResponse GetCluster(string ResourceName, GetClusterRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return GetClusterWithOptions(ResourceName, request, headers, runtime); + } + + public async Task GetClusterAsync(string ResourceName, GetClusterRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await GetClusterWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public GetClusterResponse GetClusterWithOptions(string ResourceName, GetClusterRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("GetCluster", "2015-11-11", "HTTPS", "GET", "AK", "/clusters/" + ResourceName, "none", req, runtime)); + } + + public async Task GetClusterWithOptionsAsync(string ResourceName, GetClusterRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("GetCluster", "2015-11-11", "HTTPS", "GET", "AK", "/clusters/" + ResourceName, "none", req, runtime)); + } + + public GetClusterInstanceResponse GetClusterInstance(string ClusterId, string GroupName, string InstanceId, GetClusterInstanceRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return GetClusterInstanceWithOptions(ClusterId, GroupName, InstanceId, request, headers, runtime); + } + + public async Task GetClusterInstanceAsync(string ClusterId, string GroupName, string InstanceId, GetClusterInstanceRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await GetClusterInstanceWithOptionsAsync(ClusterId, GroupName, InstanceId, request, headers, runtime); + } + + public GetClusterInstanceResponse GetClusterInstanceWithOptions(string ClusterId, string GroupName, string InstanceId, GetClusterInstanceRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("GetClusterInstance", "2015-11-11", "HTTPS", "GET", "AK", "/clusters/" + ClusterId + "/groups/{GroupName}/instances/{InstanceId}", "none", req, runtime)); + } + + public async Task GetClusterInstanceWithOptionsAsync(string ClusterId, string GroupName, string InstanceId, GetClusterInstanceRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("GetClusterInstance", "2015-11-11", "HTTPS", "GET", "AK", "/clusters/" + ClusterId + "/groups/{GroupName}/instances/{InstanceId}", "none", req, runtime)); + } + + public GetImageResponse GetImage(string ResourceName, GetImageRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return GetImageWithOptions(ResourceName, request, headers, runtime); + } + + public async Task GetImageAsync(string ResourceName, GetImageRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await GetImageWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public GetImageResponse GetImageWithOptions(string ResourceName, GetImageRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("GetImage", "2015-11-11", "HTTPS", "GET", "AK", "/images/" + ResourceName, "none", req, runtime)); + } + + public async Task GetImageWithOptionsAsync(string ResourceName, GetImageRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("GetImage", "2015-11-11", "HTTPS", "GET", "AK", "/images/" + ResourceName, "none", req, runtime)); + } + + public GetInstanceResponse GetInstance(string ResourceName, string TaskName, string InstanceId, GetInstanceRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return GetInstanceWithOptions(ResourceName, TaskName, InstanceId, request, headers, runtime); + } + + public async Task GetInstanceAsync(string ResourceName, string TaskName, string InstanceId, GetInstanceRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await GetInstanceWithOptionsAsync(ResourceName, TaskName, InstanceId, request, headers, runtime); + } + + public GetInstanceResponse GetInstanceWithOptions(string ResourceName, string TaskName, string InstanceId, GetInstanceRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("GetInstance", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName + "/tasks/{TaskName}/instances/{InstanceId}", "none", req, runtime)); + } + + public async Task GetInstanceWithOptionsAsync(string ResourceName, string TaskName, string InstanceId, GetInstanceRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("GetInstance", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName + "/tasks/{TaskName}/instances/{InstanceId}", "none", req, runtime)); + } + + public GetJobResponse GetJob(string ResourceName, GetJobRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return GetJobWithOptions(ResourceName, request, headers, runtime); + } + + public async Task GetJobAsync(string ResourceName, GetJobRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await GetJobWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public GetJobResponse GetJobWithOptions(string ResourceName, GetJobRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("GetJob", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName, "none", req, runtime)); + } + + public async Task GetJobWithOptionsAsync(string ResourceName, GetJobRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("GetJob", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName, "none", req, runtime)); + } + + public GetJobDescriptionResponse GetJobDescription(string ResourceName, GetJobDescriptionRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return GetJobDescriptionWithOptions(ResourceName, request, headers, runtime); + } + + public async Task GetJobDescriptionAsync(string ResourceName, GetJobDescriptionRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await GetJobDescriptionWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public GetJobDescriptionResponse GetJobDescriptionWithOptions(string ResourceName, GetJobDescriptionRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("GetJobDescription", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName + "?description", "none", req, runtime)); + } + + public async Task GetJobDescriptionWithOptionsAsync(string ResourceName, GetJobDescriptionRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("GetJobDescription", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName + "?description", "none", req, runtime)); + } + + public GetQuotaResponse GetQuota(GetQuotaRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return GetQuotaWithOptions(request, headers, runtime); + } + + public async Task GetQuotaAsync(GetQuotaRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await GetQuotaWithOptionsAsync(request, headers, runtime); + } + + public GetQuotaResponse GetQuotaWithOptions(GetQuotaRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("GetQuota", "2015-11-11", "HTTPS", "GET", "AK", "/quotas", "none", req, runtime)); + } + + public async Task GetQuotaWithOptionsAsync(GetQuotaRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("GetQuota", "2015-11-11", "HTTPS", "GET", "AK", "/quotas", "none", req, runtime)); + } + + public GetTaskResponse GetTask(string ResourceName, string TaskName, GetTaskRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return GetTaskWithOptions(ResourceName, TaskName, request, headers, runtime); + } + + public async Task GetTaskAsync(string ResourceName, string TaskName, GetTaskRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await GetTaskWithOptionsAsync(ResourceName, TaskName, request, headers, runtime); + } + + public GetTaskResponse GetTaskWithOptions(string ResourceName, string TaskName, GetTaskRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("GetTask", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName + "/tasks/{TaskName}", "none", req, runtime)); + } + + public async Task GetTaskWithOptionsAsync(string ResourceName, string TaskName, GetTaskRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("GetTask", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName + "/tasks/{TaskName}", "none", req, runtime)); + } + + public ListAppsResponse ListApps() + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ListAppsWithOptions(headers, runtime); + } + + public async Task ListAppsAsync() + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ListAppsWithOptionsAsync(headers, runtime); + } + + public ListAppsResponse ListAppsWithOptions(Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(DoROARequest("ListApps", "2015-11-11", "HTTPS", "GET", "AK", "/apps", "none", req, runtime)); + } + + public async Task ListAppsWithOptionsAsync(Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(await DoROARequestAsync("ListApps", "2015-11-11", "HTTPS", "GET", "AK", "/apps", "none", req, runtime)); + } + + public ListAvailableInstanceTypeResponse ListAvailableInstanceType() + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ListAvailableInstanceTypeWithOptions(headers, runtime); + } + + public async Task ListAvailableInstanceTypeAsync() + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ListAvailableInstanceTypeWithOptionsAsync(headers, runtime); + } + + public ListAvailableInstanceTypeResponse ListAvailableInstanceTypeWithOptions(Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(DoROARequest("ListAvailableInstanceType", "2015-11-11", "HTTPS", "GET", "AK", "/available", "none", req, runtime)); + } + + public async Task ListAvailableInstanceTypeWithOptionsAsync(Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(await DoROARequestAsync("ListAvailableInstanceType", "2015-11-11", "HTTPS", "GET", "AK", "/available", "none", req, runtime)); + } + + public ListClusterInstancesResponse ListClusterInstances(string ClusterId, string GroupName, ListClusterInstancesRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ListClusterInstancesWithOptions(ClusterId, GroupName, request, headers, runtime); + } + + public async Task ListClusterInstancesAsync(string ClusterId, string GroupName, ListClusterInstancesRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ListClusterInstancesWithOptionsAsync(ClusterId, GroupName, request, headers, runtime); + } + + public ListClusterInstancesResponse ListClusterInstancesWithOptions(string ClusterId, string GroupName, ListClusterInstancesRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("ListClusterInstances", "2015-11-11", "HTTPS", "GET", "AK", "/clusters/" + ClusterId + "/groups/{GroupName}/instances", "none", req, runtime)); + } + + public async Task ListClusterInstancesWithOptionsAsync(string ClusterId, string GroupName, ListClusterInstancesRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("ListClusterInstances", "2015-11-11", "HTTPS", "GET", "AK", "/clusters/" + ClusterId + "/groups/{GroupName}/instances", "none", req, runtime)); + } + + public ListClustersResponse ListClusters(ListClustersRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ListClustersWithOptions(request, headers, runtime); + } + + public async Task ListClustersAsync(ListClustersRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ListClustersWithOptionsAsync(request, headers, runtime); + } + + public ListClustersResponse ListClustersWithOptions(ListClustersRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("ListClusters", "2015-11-11", "HTTPS", "GET", "AK", "/clusters", "none", req, runtime)); + } + + public async Task ListClustersWithOptionsAsync(ListClustersRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("ListClusters", "2015-11-11", "HTTPS", "GET", "AK", "/clusters", "none", req, runtime)); + } + + public ListImagesResponse ListImages(ListImagesRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ListImagesWithOptions(request, headers, runtime); + } + + public async Task ListImagesAsync(ListImagesRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ListImagesWithOptionsAsync(request, headers, runtime); + } + + public ListImagesResponse ListImagesWithOptions(ListImagesRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("ListImages", "2015-11-11", "HTTPS", "GET", "AK", "/images", "none", req, runtime)); + } + + public async Task ListImagesWithOptionsAsync(ListImagesRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("ListImages", "2015-11-11", "HTTPS", "GET", "AK", "/images", "none", req, runtime)); + } + + public ListInstancesResponse ListInstances(string ResourceName, string TaskName, ListInstancesRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ListInstancesWithOptions(ResourceName, TaskName, request, headers, runtime); + } + + public async Task ListInstancesAsync(string ResourceName, string TaskName, ListInstancesRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ListInstancesWithOptionsAsync(ResourceName, TaskName, request, headers, runtime); + } + + public ListInstancesResponse ListInstancesWithOptions(string ResourceName, string TaskName, ListInstancesRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("ListInstances", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName + "/tasks/{TaskName}/instances", "none", req, runtime)); + } + + public async Task ListInstancesWithOptionsAsync(string ResourceName, string TaskName, ListInstancesRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("ListInstances", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName + "/tasks/{TaskName}/instances", "none", req, runtime)); + } + + public ListJobsResponse ListJobs(ListJobsRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ListJobsWithOptions(request, headers, runtime); + } + + public async Task ListJobsAsync(ListJobsRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ListJobsWithOptionsAsync(request, headers, runtime); + } + + public ListJobsResponse ListJobsWithOptions(ListJobsRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("ListJobs", "2015-11-11", "HTTPS", "GET", "AK", "/jobs", "none", req, runtime)); + } + + public async Task ListJobsWithOptionsAsync(ListJobsRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("ListJobs", "2015-11-11", "HTTPS", "GET", "AK", "/jobs", "none", req, runtime)); + } + + public ListRegionsResponse ListRegions() + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ListRegionsWithOptions(headers, runtime); + } + + public async Task ListRegionsAsync() + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ListRegionsWithOptionsAsync(headers, runtime); + } + + public ListRegionsResponse ListRegionsWithOptions(Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(DoROARequest("ListRegions", "2015-11-11", "HTTPS", "GET", "AK", "/regions", "none", req, runtime)); + } + + public async Task ListRegionsWithOptionsAsync(Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(await DoROARequestAsync("ListRegions", "2015-11-11", "HTTPS", "GET", "AK", "/regions", "none", req, runtime)); + } + + public ListTasksResponse ListTasks(string ResourceName, ListTasksRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ListTasksWithOptions(ResourceName, request, headers, runtime); + } + + public async Task ListTasksAsync(string ResourceName, ListTasksRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ListTasksWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public ListTasksResponse ListTasksWithOptions(string ResourceName, ListTasksRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("ListTasks", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName + "/tasks", "none", req, runtime)); + } + + public async Task ListTasksWithOptionsAsync(string ResourceName, ListTasksRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("ListTasks", "2015-11-11", "HTTPS", "GET", "AK", "/jobs/" + ResourceName + "/tasks", "none", req, runtime)); + } + + public ModifyAppResponse ModifyApp(string ResourceName) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ModifyAppWithOptions(ResourceName, headers, runtime); + } + + public async Task ModifyAppAsync(string ResourceName) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ModifyAppWithOptionsAsync(ResourceName, headers, runtime); + } + + public ModifyAppResponse ModifyAppWithOptions(string ResourceName, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(DoROARequest("ModifyApp", "2015-11-11", "HTTPS", "PUT", "AK", "/apps/" + ResourceName, "none", req, runtime)); + } + + public async Task ModifyAppWithOptionsAsync(string ResourceName, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + }; + return TeaModel.ToObject(await DoROARequestAsync("ModifyApp", "2015-11-11", "HTTPS", "PUT", "AK", "/apps/" + ResourceName, "none", req, runtime)); + } + + public ModifyClusterResponse ModifyCluster(string ResourceName, ModifyClusterRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ModifyClusterWithOptions(ResourceName, request, headers, runtime); + } + + public async Task ModifyClusterAsync(string ResourceName, ModifyClusterRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ModifyClusterWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public ModifyClusterResponse ModifyClusterWithOptions(string ResourceName, ModifyClusterRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("ModifyCluster", "2015-11-11", "HTTPS", "PUT", "AK", "/clusters/" + ResourceName, "none", req, runtime)); + } + + public async Task ModifyClusterWithOptionsAsync(string ResourceName, ModifyClusterRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("ModifyCluster", "2015-11-11", "HTTPS", "PUT", "AK", "/clusters/" + ResourceName, "none", req, runtime)); + } + + public PollForTaskResponse PollForTask(string ClusterId, string WorkerId, PollForTaskRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return PollForTaskWithOptions(ClusterId, WorkerId, request, headers, runtime); + } + + public async Task PollForTaskAsync(string ClusterId, string WorkerId, PollForTaskRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await PollForTaskWithOptionsAsync(ClusterId, WorkerId, request, headers, runtime); + } + + public PollForTaskResponse PollForTaskWithOptions(string ClusterId, string WorkerId, PollForTaskRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("PollForTask", "2015-11-11", "HTTPS", "POST", "AK", "/clusters/" + ClusterId + "/workers/{WorkerId}/fetchTask", "none", req, runtime)); + } + + public async Task PollForTaskWithOptionsAsync(string ClusterId, string WorkerId, PollForTaskRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("PollForTask", "2015-11-11", "HTTPS", "POST", "AK", "/clusters/" + ClusterId + "/workers/{WorkerId}/fetchTask", "none", req, runtime)); + } + + public RecreateClusterInstanceResponse RecreateClusterInstance(string ClusterId, string GroupName, string InstanceId, RecreateClusterInstanceRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return RecreateClusterInstanceWithOptions(ClusterId, GroupName, InstanceId, request, headers, runtime); + } + + public async Task RecreateClusterInstanceAsync(string ClusterId, string GroupName, string InstanceId, RecreateClusterInstanceRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await RecreateClusterInstanceWithOptionsAsync(ClusterId, GroupName, InstanceId, request, headers, runtime); + } + + public RecreateClusterInstanceResponse RecreateClusterInstanceWithOptions(string ClusterId, string GroupName, string InstanceId, RecreateClusterInstanceRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("RecreateClusterInstance", "2015-11-11", "HTTPS", "POST", "AK", "/clusters/" + ClusterId + "/groups/{GroupName}/instances/{InstanceId}/recreate", "none", req, runtime)); + } + + public async Task RecreateClusterInstanceWithOptionsAsync(string ClusterId, string GroupName, string InstanceId, RecreateClusterInstanceRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("RecreateClusterInstance", "2015-11-11", "HTTPS", "POST", "AK", "/clusters/" + ClusterId + "/groups/{GroupName}/instances/{InstanceId}/recreate", "none", req, runtime)); + } + + public RenewClusterInstanceResponse RenewClusterInstance(string ClusterId, string GroupName, string InstanceId, RenewClusterInstanceRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return RenewClusterInstanceWithOptions(ClusterId, GroupName, InstanceId, request, headers, runtime); + } + + public async Task RenewClusterInstanceAsync(string ClusterId, string GroupName, string InstanceId, RenewClusterInstanceRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await RenewClusterInstanceWithOptionsAsync(ClusterId, GroupName, InstanceId, request, headers, runtime); + } + + public RenewClusterInstanceResponse RenewClusterInstanceWithOptions(string ClusterId, string GroupName, string InstanceId, RenewClusterInstanceRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("RenewClusterInstance", "2015-11-11", "HTTPS", "POST", "AK", "/clusters/" + ClusterId + "/groups/{GroupName}/instances/{InstanceId}/renew", "none", req, runtime)); + } + + public async Task RenewClusterInstanceWithOptionsAsync(string ClusterId, string GroupName, string InstanceId, RenewClusterInstanceRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("RenewClusterInstance", "2015-11-11", "HTTPS", "POST", "AK", "/clusters/" + ClusterId + "/groups/{GroupName}/instances/{InstanceId}/renew", "none", req, runtime)); + } + + public ReportTaskStatusResponse ReportTaskStatus(string ClusterId, string WorkerId, ReportTaskStatusRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ReportTaskStatusWithOptions(ClusterId, WorkerId, request, headers, runtime); + } + + public async Task ReportTaskStatusAsync(string ClusterId, string WorkerId, ReportTaskStatusRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ReportTaskStatusWithOptionsAsync(ClusterId, WorkerId, request, headers, runtime); + } + + public ReportTaskStatusResponse ReportTaskStatusWithOptions(string ClusterId, string WorkerId, ReportTaskStatusRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("ReportTaskStatus", "2015-11-11", "HTTPS", "POST", "AK", "/clusters/" + ClusterId + "/workers/{WorkerId}/updateTaskStatus", "none", req, runtime)); + } + + public async Task ReportTaskStatusWithOptionsAsync(string ClusterId, string WorkerId, ReportTaskStatusRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("ReportTaskStatus", "2015-11-11", "HTTPS", "POST", "AK", "/clusters/" + ClusterId + "/workers/{WorkerId}/updateTaskStatus", "none", req, runtime)); + } + + public ReportWorkerStatusResponse ReportWorkerStatus(string ClusterId, string WorkerId, ReportWorkerStatusRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return ReportWorkerStatusWithOptions(ClusterId, WorkerId, request, headers, runtime); + } + + public async Task ReportWorkerStatusAsync(string ClusterId, string WorkerId, ReportWorkerStatusRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await ReportWorkerStatusWithOptionsAsync(ClusterId, WorkerId, request, headers, runtime); + } + + public ReportWorkerStatusResponse ReportWorkerStatusWithOptions(string ClusterId, string WorkerId, ReportWorkerStatusRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("ReportWorkerStatus", "2015-11-11", "HTTPS", "POST", "AK", "/clusters/" + ClusterId + "/workers/{WorkerId}/updateStatus", "none", req, runtime)); + } + + public async Task ReportWorkerStatusWithOptionsAsync(string ClusterId, string WorkerId, ReportWorkerStatusRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("ReportWorkerStatus", "2015-11-11", "HTTPS", "POST", "AK", "/clusters/" + ClusterId + "/workers/{WorkerId}/updateStatus", "none", req, runtime)); + } + + public StartJobResponse StartJob(string ResourceName, StartJobRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return StartJobWithOptions(ResourceName, request, headers, runtime); + } + + public async Task StartJobAsync(string ResourceName, StartJobRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await StartJobWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public StartJobResponse StartJobWithOptions(string ResourceName, StartJobRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("StartJob", "2015-11-11", "HTTPS", "POST", "AK", "/jobs/" + ResourceName + "/start", "none", req, runtime)); + } + + public async Task StartJobWithOptionsAsync(string ResourceName, StartJobRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("StartJob", "2015-11-11", "HTTPS", "POST", "AK", "/jobs/" + ResourceName + "/start", "none", req, runtime)); + } + + public StopJobResponse StopJob(string ResourceName, StopJobRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return StopJobWithOptions(ResourceName, request, headers, runtime); + } + + public async Task StopJobAsync(string ResourceName, StopJobRequest request) + { + AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); + Dictionary headers = new Dictionary(){}; + return await StopJobWithOptionsAsync(ResourceName, request, headers, runtime); + } + + public StopJobResponse StopJobWithOptions(string ResourceName, StopJobRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(DoROARequest("StopJob", "2015-11-11", "HTTPS", "POST", "AK", "/jobs/" + ResourceName + "/stop", "none", req, runtime)); + } + + public async Task StopJobWithOptionsAsync(string ResourceName, StopJobRequest request, Dictionary headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) + { + AlibabaCloud.TeaUtil.Common.ValidateModel(request); + Dictionary query = new Dictionary(){}; + if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.RegionId)) + { + query["RegionId"] = request.RegionId; + } + AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest + { + Headers = headers, + Query = AlibabaCloud.OpenApiUtil.Client.Query(query), + }; + return TeaModel.ToObject(await DoROARequestAsync("StopJob", "2015-11-11", "HTTPS", "POST", "AK", "/jobs/" + ResourceName + "/stop", "none", req, runtime)); + } + + } +} diff --git a/batchcompute-20151111/core/Models/CancelImageRequest.cs b/batchcompute-20151111/core/Models/CancelImageRequest.cs new file mode 100644 index 0000000000..481f81054d --- /dev/null +++ b/batchcompute-20151111/core/Models/CancelImageRequest.cs @@ -0,0 +1,21 @@ +/** + * + */ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class CancelImageRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/CancelImageResponse.cs b/batchcompute-20151111/core/Models/CancelImageResponse.cs new file mode 100644 index 0000000000..65e89eb78b --- /dev/null +++ b/batchcompute-20151111/core/Models/CancelImageResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class CancelImageResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ChangeJobPriorityRequest.cs b/batchcompute-20151111/core/Models/ChangeJobPriorityRequest.cs new file mode 100644 index 0000000000..4c1b7c6745 --- /dev/null +++ b/batchcompute-20151111/core/Models/ChangeJobPriorityRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ChangeJobPriorityRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ChangeJobPriorityResponse.cs b/batchcompute-20151111/core/Models/ChangeJobPriorityResponse.cs new file mode 100644 index 0000000000..bb7d5591b7 --- /dev/null +++ b/batchcompute-20151111/core/Models/ChangeJobPriorityResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ChangeJobPriorityResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/CreateAppResponse.cs b/batchcompute-20151111/core/Models/CreateAppResponse.cs new file mode 100644 index 0000000000..6c80eba7a6 --- /dev/null +++ b/batchcompute-20151111/core/Models/CreateAppResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class CreateAppResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/CreateClusterRequest.cs b/batchcompute-20151111/core/Models/CreateClusterRequest.cs new file mode 100644 index 0000000000..1bdc842c4f --- /dev/null +++ b/batchcompute-20151111/core/Models/CreateClusterRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class CreateClusterRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/CreateClusterResponse.cs b/batchcompute-20151111/core/Models/CreateClusterResponse.cs new file mode 100644 index 0000000000..4b7c26735a --- /dev/null +++ b/batchcompute-20151111/core/Models/CreateClusterResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class CreateClusterResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/CreateImageRequest.cs b/batchcompute-20151111/core/Models/CreateImageRequest.cs new file mode 100644 index 0000000000..ba2ba08fd4 --- /dev/null +++ b/batchcompute-20151111/core/Models/CreateImageRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class CreateImageRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/CreateImageResponse.cs b/batchcompute-20151111/core/Models/CreateImageResponse.cs new file mode 100644 index 0000000000..f1d27cf5c8 --- /dev/null +++ b/batchcompute-20151111/core/Models/CreateImageResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class CreateImageResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/CreateJobRequest.cs b/batchcompute-20151111/core/Models/CreateJobRequest.cs new file mode 100644 index 0000000000..9a61960a8d --- /dev/null +++ b/batchcompute-20151111/core/Models/CreateJobRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class CreateJobRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/CreateJobResponse.cs b/batchcompute-20151111/core/Models/CreateJobResponse.cs new file mode 100644 index 0000000000..951c2ed12f --- /dev/null +++ b/batchcompute-20151111/core/Models/CreateJobResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class CreateJobResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteAppResponse.cs b/batchcompute-20151111/core/Models/DeleteAppResponse.cs new file mode 100644 index 0000000000..df3f5895c3 --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteAppResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteAppResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteClusterInstanceRequest.cs b/batchcompute-20151111/core/Models/DeleteClusterInstanceRequest.cs new file mode 100644 index 0000000000..b235d47042 --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteClusterInstanceRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteClusterInstanceRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteClusterInstanceResponse.cs b/batchcompute-20151111/core/Models/DeleteClusterInstanceResponse.cs new file mode 100644 index 0000000000..acb7378598 --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteClusterInstanceResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteClusterInstanceResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteClusterRequest.cs b/batchcompute-20151111/core/Models/DeleteClusterRequest.cs new file mode 100644 index 0000000000..dd5768648b --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteClusterRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteClusterRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteClusterResponse.cs b/batchcompute-20151111/core/Models/DeleteClusterResponse.cs new file mode 100644 index 0000000000..5dca15bf17 --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteClusterResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteClusterResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteImageRequest.cs b/batchcompute-20151111/core/Models/DeleteImageRequest.cs new file mode 100644 index 0000000000..aeff36639e --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteImageRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteImageRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteImageResponse.cs b/batchcompute-20151111/core/Models/DeleteImageResponse.cs new file mode 100644 index 0000000000..daec3662be --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteImageResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteImageResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteJobRequest.cs b/batchcompute-20151111/core/Models/DeleteJobRequest.cs new file mode 100644 index 0000000000..5303650c4e --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteJobRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteJobRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteJobResponse.cs b/batchcompute-20151111/core/Models/DeleteJobResponse.cs new file mode 100644 index 0000000000..f6bb572722 --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteJobResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteJobResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteProjectRequest.cs b/batchcompute-20151111/core/Models/DeleteProjectRequest.cs new file mode 100644 index 0000000000..65b9e22ded --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteProjectRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteProjectRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/DeleteProjectResponse.cs b/batchcompute-20151111/core/Models/DeleteProjectResponse.cs new file mode 100644 index 0000000000..23aaaf4c0f --- /dev/null +++ b/batchcompute-20151111/core/Models/DeleteProjectResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class DeleteProjectResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetAppResponse.cs b/batchcompute-20151111/core/Models/GetAppResponse.cs new file mode 100644 index 0000000000..c558d19a30 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetAppResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetAppResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetClusterInstanceRequest.cs b/batchcompute-20151111/core/Models/GetClusterInstanceRequest.cs new file mode 100644 index 0000000000..377cadbfc3 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetClusterInstanceRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetClusterInstanceRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetClusterInstanceResponse.cs b/batchcompute-20151111/core/Models/GetClusterInstanceResponse.cs new file mode 100644 index 0000000000..68ec84310c --- /dev/null +++ b/batchcompute-20151111/core/Models/GetClusterInstanceResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetClusterInstanceResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetClusterRequest.cs b/batchcompute-20151111/core/Models/GetClusterRequest.cs new file mode 100644 index 0000000000..31952c3cc8 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetClusterRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetClusterRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetClusterResponse.cs b/batchcompute-20151111/core/Models/GetClusterResponse.cs new file mode 100644 index 0000000000..a42c81221d --- /dev/null +++ b/batchcompute-20151111/core/Models/GetClusterResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetClusterResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetImageRequest.cs b/batchcompute-20151111/core/Models/GetImageRequest.cs new file mode 100644 index 0000000000..7896f45501 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetImageRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetImageRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetImageResponse.cs b/batchcompute-20151111/core/Models/GetImageResponse.cs new file mode 100644 index 0000000000..ab2c5c95ff --- /dev/null +++ b/batchcompute-20151111/core/Models/GetImageResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetImageResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetInstanceRequest.cs b/batchcompute-20151111/core/Models/GetInstanceRequest.cs new file mode 100644 index 0000000000..78203ddb56 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetInstanceRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetInstanceRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetInstanceResponse.cs b/batchcompute-20151111/core/Models/GetInstanceResponse.cs new file mode 100644 index 0000000000..11c04613a4 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetInstanceResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetInstanceResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetJobDescriptionRequest.cs b/batchcompute-20151111/core/Models/GetJobDescriptionRequest.cs new file mode 100644 index 0000000000..329deee068 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetJobDescriptionRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetJobDescriptionRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetJobDescriptionResponse.cs b/batchcompute-20151111/core/Models/GetJobDescriptionResponse.cs new file mode 100644 index 0000000000..15b5476e22 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetJobDescriptionResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetJobDescriptionResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetJobRequest.cs b/batchcompute-20151111/core/Models/GetJobRequest.cs new file mode 100644 index 0000000000..beb0e0374c --- /dev/null +++ b/batchcompute-20151111/core/Models/GetJobRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetJobRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetJobResponse.cs b/batchcompute-20151111/core/Models/GetJobResponse.cs new file mode 100644 index 0000000000..95abde6397 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetJobResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetJobResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetQuotaRequest.cs b/batchcompute-20151111/core/Models/GetQuotaRequest.cs new file mode 100644 index 0000000000..334b37feba --- /dev/null +++ b/batchcompute-20151111/core/Models/GetQuotaRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetQuotaRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetQuotaResponse.cs b/batchcompute-20151111/core/Models/GetQuotaResponse.cs new file mode 100644 index 0000000000..e5bc0d8c5a --- /dev/null +++ b/batchcompute-20151111/core/Models/GetQuotaResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetQuotaResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetTaskRequest.cs b/batchcompute-20151111/core/Models/GetTaskRequest.cs new file mode 100644 index 0000000000..7cb10fe558 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetTaskRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetTaskRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/GetTaskResponse.cs b/batchcompute-20151111/core/Models/GetTaskResponse.cs new file mode 100644 index 0000000000..1157ea31e6 --- /dev/null +++ b/batchcompute-20151111/core/Models/GetTaskResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class GetTaskResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListAppsResponse.cs b/batchcompute-20151111/core/Models/ListAppsResponse.cs new file mode 100644 index 0000000000..a386ff08ab --- /dev/null +++ b/batchcompute-20151111/core/Models/ListAppsResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListAppsResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListAvailableInstanceTypeResponse.cs b/batchcompute-20151111/core/Models/ListAvailableInstanceTypeResponse.cs new file mode 100644 index 0000000000..91041c74e2 --- /dev/null +++ b/batchcompute-20151111/core/Models/ListAvailableInstanceTypeResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListAvailableInstanceTypeResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListClusterInstancesRequest.cs b/batchcompute-20151111/core/Models/ListClusterInstancesRequest.cs new file mode 100644 index 0000000000..69a6eb5573 --- /dev/null +++ b/batchcompute-20151111/core/Models/ListClusterInstancesRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListClusterInstancesRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListClusterInstancesResponse.cs b/batchcompute-20151111/core/Models/ListClusterInstancesResponse.cs new file mode 100644 index 0000000000..a09b8bbad5 --- /dev/null +++ b/batchcompute-20151111/core/Models/ListClusterInstancesResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListClusterInstancesResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListClustersRequest.cs b/batchcompute-20151111/core/Models/ListClustersRequest.cs new file mode 100644 index 0000000000..bf7aea69eb --- /dev/null +++ b/batchcompute-20151111/core/Models/ListClustersRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListClustersRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListClustersResponse.cs b/batchcompute-20151111/core/Models/ListClustersResponse.cs new file mode 100644 index 0000000000..1fbc55ee8b --- /dev/null +++ b/batchcompute-20151111/core/Models/ListClustersResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListClustersResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListImagesRequest.cs b/batchcompute-20151111/core/Models/ListImagesRequest.cs new file mode 100644 index 0000000000..33b646f513 --- /dev/null +++ b/batchcompute-20151111/core/Models/ListImagesRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListImagesRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListImagesResponse.cs b/batchcompute-20151111/core/Models/ListImagesResponse.cs new file mode 100644 index 0000000000..e745373814 --- /dev/null +++ b/batchcompute-20151111/core/Models/ListImagesResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListImagesResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListInstancesRequest.cs b/batchcompute-20151111/core/Models/ListInstancesRequest.cs new file mode 100644 index 0000000000..4461ee636b --- /dev/null +++ b/batchcompute-20151111/core/Models/ListInstancesRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListInstancesRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListInstancesResponse.cs b/batchcompute-20151111/core/Models/ListInstancesResponse.cs new file mode 100644 index 0000000000..0a3b177ee6 --- /dev/null +++ b/batchcompute-20151111/core/Models/ListInstancesResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListInstancesResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListJobsRequest.cs b/batchcompute-20151111/core/Models/ListJobsRequest.cs new file mode 100644 index 0000000000..484b4a78b1 --- /dev/null +++ b/batchcompute-20151111/core/Models/ListJobsRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListJobsRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListJobsResponse.cs b/batchcompute-20151111/core/Models/ListJobsResponse.cs new file mode 100644 index 0000000000..7df3b34b5f --- /dev/null +++ b/batchcompute-20151111/core/Models/ListJobsResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListJobsResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListRegionsResponse.cs b/batchcompute-20151111/core/Models/ListRegionsResponse.cs new file mode 100644 index 0000000000..6271d65417 --- /dev/null +++ b/batchcompute-20151111/core/Models/ListRegionsResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListRegionsResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListTasksRequest.cs b/batchcompute-20151111/core/Models/ListTasksRequest.cs new file mode 100644 index 0000000000..107fa490e0 --- /dev/null +++ b/batchcompute-20151111/core/Models/ListTasksRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListTasksRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ListTasksResponse.cs b/batchcompute-20151111/core/Models/ListTasksResponse.cs new file mode 100644 index 0000000000..e113750a8f --- /dev/null +++ b/batchcompute-20151111/core/Models/ListTasksResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ListTasksResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ModifyAppResponse.cs b/batchcompute-20151111/core/Models/ModifyAppResponse.cs new file mode 100644 index 0000000000..8476e1da1b --- /dev/null +++ b/batchcompute-20151111/core/Models/ModifyAppResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ModifyAppResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ModifyClusterRequest.cs b/batchcompute-20151111/core/Models/ModifyClusterRequest.cs new file mode 100644 index 0000000000..c1dbff373e --- /dev/null +++ b/batchcompute-20151111/core/Models/ModifyClusterRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ModifyClusterRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ModifyClusterResponse.cs b/batchcompute-20151111/core/Models/ModifyClusterResponse.cs new file mode 100644 index 0000000000..4dde2aab04 --- /dev/null +++ b/batchcompute-20151111/core/Models/ModifyClusterResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ModifyClusterResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/PollForTaskRequest.cs b/batchcompute-20151111/core/Models/PollForTaskRequest.cs new file mode 100644 index 0000000000..f658fce5e0 --- /dev/null +++ b/batchcompute-20151111/core/Models/PollForTaskRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class PollForTaskRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/PollForTaskResponse.cs b/batchcompute-20151111/core/Models/PollForTaskResponse.cs new file mode 100644 index 0000000000..c2f8fb8876 --- /dev/null +++ b/batchcompute-20151111/core/Models/PollForTaskResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class PollForTaskResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/RecreateClusterInstanceRequest.cs b/batchcompute-20151111/core/Models/RecreateClusterInstanceRequest.cs new file mode 100644 index 0000000000..991922138f --- /dev/null +++ b/batchcompute-20151111/core/Models/RecreateClusterInstanceRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class RecreateClusterInstanceRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/RecreateClusterInstanceResponse.cs b/batchcompute-20151111/core/Models/RecreateClusterInstanceResponse.cs new file mode 100644 index 0000000000..a4d25b15a8 --- /dev/null +++ b/batchcompute-20151111/core/Models/RecreateClusterInstanceResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class RecreateClusterInstanceResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/RenewClusterInstanceRequest.cs b/batchcompute-20151111/core/Models/RenewClusterInstanceRequest.cs new file mode 100644 index 0000000000..202b314a84 --- /dev/null +++ b/batchcompute-20151111/core/Models/RenewClusterInstanceRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class RenewClusterInstanceRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/RenewClusterInstanceResponse.cs b/batchcompute-20151111/core/Models/RenewClusterInstanceResponse.cs new file mode 100644 index 0000000000..d741362a65 --- /dev/null +++ b/batchcompute-20151111/core/Models/RenewClusterInstanceResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class RenewClusterInstanceResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ReportTaskStatusRequest.cs b/batchcompute-20151111/core/Models/ReportTaskStatusRequest.cs new file mode 100644 index 0000000000..43b04263cd --- /dev/null +++ b/batchcompute-20151111/core/Models/ReportTaskStatusRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ReportTaskStatusRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ReportTaskStatusResponse.cs b/batchcompute-20151111/core/Models/ReportTaskStatusResponse.cs new file mode 100644 index 0000000000..af4c273278 --- /dev/null +++ b/batchcompute-20151111/core/Models/ReportTaskStatusResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ReportTaskStatusResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ReportWorkerStatusRequest.cs b/batchcompute-20151111/core/Models/ReportWorkerStatusRequest.cs new file mode 100644 index 0000000000..3859a35a79 --- /dev/null +++ b/batchcompute-20151111/core/Models/ReportWorkerStatusRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ReportWorkerStatusRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/ReportWorkerStatusResponse.cs b/batchcompute-20151111/core/Models/ReportWorkerStatusResponse.cs new file mode 100644 index 0000000000..80e7cc3df7 --- /dev/null +++ b/batchcompute-20151111/core/Models/ReportWorkerStatusResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class ReportWorkerStatusResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/StartJobRequest.cs b/batchcompute-20151111/core/Models/StartJobRequest.cs new file mode 100644 index 0000000000..797bd98748 --- /dev/null +++ b/batchcompute-20151111/core/Models/StartJobRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class StartJobRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/StartJobResponse.cs b/batchcompute-20151111/core/Models/StartJobResponse.cs new file mode 100644 index 0000000000..38e0e6101d --- /dev/null +++ b/batchcompute-20151111/core/Models/StartJobResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class StartJobResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/StopJobRequest.cs b/batchcompute-20151111/core/Models/StopJobRequest.cs new file mode 100644 index 0000000000..5f3607c59c --- /dev/null +++ b/batchcompute-20151111/core/Models/StopJobRequest.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class StopJobRequest : TeaModel { + [NameInMap("RegionId")] + [Validation(Required=false)] + public string RegionId { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Models/StopJobResponse.cs b/batchcompute-20151111/core/Models/StopJobResponse.cs new file mode 100644 index 0000000000..a1f4368005 --- /dev/null +++ b/batchcompute-20151111/core/Models/StopJobResponse.cs @@ -0,0 +1,18 @@ +// This file is auto-generated, don't edit it. Thanks. + +using System; +using System.Collections.Generic; +using System.IO; + +using Tea; + +namespace AlibabaCloud.SDK.BatchCompute20151111.Models +{ + public class StopJobResponse : TeaModel { + [NameInMap("headers")] + [Validation(Required=true)] + public Dictionary Headers { get; set; } + + } + +} diff --git a/batchcompute-20151111/core/Properties/AssemblyInfo.cs b/batchcompute-20151111/core/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..119d31211f --- /dev/null +++ b/batchcompute-20151111/core/Properties/AssemblyInfo.cs @@ -0,0 +1,33 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("alibabacloud-batchcompute")] +[assembly: AssemblyDescription("Alibaba Cloud BatchCompute (20151111) SDK Library for .NET")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Alibaba Cloud, Inc")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("54e56150-4a50-11eb-a097-9db15345e129")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("0.0.1.0")] +[assembly: AssemblyFileVersion("0.0.1.0")] diff --git a/batchcompute-20151111/core/batchcompute.csproj b/batchcompute-20151111/core/batchcompute.csproj new file mode 100644 index 0000000000..3979134db4 --- /dev/null +++ b/batchcompute-20151111/core/batchcompute.csproj @@ -0,0 +1,43 @@ + + + + netstandard2.0;net45 + AlibabaCloud.SDK.BatchCompute20151111 + Library + false + false + AlibabaCloud.SDK.BatchCompute20151111 + 1.0.0 + 5 + + + NETSTANDARD2_0 + + + NET45 + + + + + + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers + + + + + + + + \ No newline at end of file