@alicloud/eas20210701 4.1.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -28,9 +28,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.DeleteGatewayResponse = exports.DeleteGatewayResponseBody = exports.DeleteBenchmarkTaskResponse = exports.DeleteBenchmarkTaskResponseBody = exports.CreateServiceMirrorResponse = exports.CreateServiceMirrorResponseBody = exports.CreateServiceMirrorRequest = exports.CreateServiceCronScalerResponse = exports.CreateServiceCronScalerResponseBody = exports.CreateServiceCronScalerRequest = exports.CreateServiceAutoScalerResponse = exports.CreateServiceAutoScalerResponseBody = exports.CreateServiceAutoScalerRequest = exports.CreateServiceResponse = exports.CreateServiceResponseBody = exports.CreateServiceShrinkRequest = exports.CreateServiceRequest = exports.CreateResourceLogResponse = exports.CreateResourceLogResponseBody = exports.CreateResourceLogRequest = exports.CreateResourceInstancesResponse = exports.CreateResourceInstancesResponseBody = exports.CreateResourceInstancesRequest = exports.CreateResourceResponse = exports.CreateResourceResponseBody = exports.CreateResourceRequest = exports.CreateGatewayIntranetLinkedVpcResponse = exports.CreateGatewayIntranetLinkedVpcResponseBody = exports.CreateGatewayIntranetLinkedVpcRequest = exports.CreateGatewayResponse = exports.CreateGatewayResponseBody = exports.CreateGatewayRequest = exports.CreateBenchmarkTaskResponse = exports.CreateBenchmarkTaskResponseBody = exports.CreateBenchmarkTaskRequest = exports.CreateAppServiceResponse = exports.CreateAppServiceResponseBody = exports.CreateAppServiceRequest = exports.CommitServiceResponse = exports.CommitServiceResponseBody = exports.CloneServiceResponse = exports.CloneServiceResponseBody = exports.CloneServiceRequest = exports.Service = exports.ResourceInstanceWorker = exports.ResourceInstance = exports.Resource = exports.Instance = exports.Group = exports.ContainerInfo = void 0;
30
30
  exports.DescribeServiceEventResponseBody = exports.DescribeServiceEventRequest = exports.DescribeServiceDiagnosisResponse = exports.DescribeServiceDiagnosisResponseBody = exports.DescribeServiceCronScalerResponse = exports.DescribeServiceCronScalerResponseBody = exports.DescribeServiceAutoScalerResponse = exports.DescribeServiceAutoScalerResponseBody = exports.DescribeServiceResponse = exports.DescribeResourceLogResponse = exports.DescribeResourceLogResponseBody = exports.DescribeResourceDLinkResponse = exports.DescribeResourceDLinkResponseBody = exports.DescribeResourceResponse = exports.DescribeResourceResponseBody = exports.DescribeGroupResponse = exports.DescribeGatewayResponse = exports.DescribeGatewayResponseBody = exports.DescribeBenchmarkTaskReportResponse = exports.DescribeBenchmarkTaskReportResponseBody = exports.DescribeBenchmarkTaskReportRequest = exports.DescribeBenchmarkTaskResponse = exports.DescribeBenchmarkTaskResponseBody = exports.DeleteServiceMirrorResponse = exports.DeleteServiceMirrorResponseBody = exports.DeleteServiceLabelResponse = exports.DeleteServiceLabelResponseBody = exports.DeleteServiceLabelShrinkRequest = exports.DeleteServiceLabelRequest = exports.DeleteServiceInstancesResponse = exports.DeleteServiceInstancesResponseBody = exports.DeleteServiceInstancesRequest = exports.DeleteServiceCronScalerResponse = exports.DeleteServiceCronScalerResponseBody = exports.DeleteServiceAutoScalerResponse = exports.DeleteServiceAutoScalerResponseBody = exports.DeleteServiceResponse = exports.DeleteServiceResponseBody = exports.DeleteResourceLogResponse = exports.DeleteResourceLogResponseBody = exports.DeleteResourceInstancesResponse = exports.DeleteResourceInstancesResponseBody = exports.DeleteResourceInstancesRequest = exports.DeleteResourceDLinkResponse = exports.DeleteResourceDLinkResponseBody = exports.DeleteResourceResponse = exports.DeleteResourceResponseBody = exports.DeleteGatewayIntranetLinkedVpcResponse = exports.DeleteGatewayIntranetLinkedVpcResponseBody = exports.DeleteGatewayIntranetLinkedVpcRequest = void 0;
31
- exports.StartBenchmarkTaskResponse = exports.StartBenchmarkTaskResponseBody = exports.RestartServiceResponse = exports.RestartServiceResponseBody = exports.ReleaseServiceResponse = exports.ReleaseServiceResponseBody = exports.ReleaseServiceRequest = exports.ListServicesResponse = exports.ListServicesResponseBody = exports.ListServicesShrinkRequest = exports.ListServicesRequest = exports.ListServiceVersionsResponse = exports.ListServiceVersionsResponseBody = exports.ListServiceVersionsRequest = exports.ListServiceInstancesResponse = exports.ListServiceInstancesResponseBody = exports.ListServiceInstancesRequest = exports.ListServiceContainersResponse = exports.ListServiceContainersResponseBody = exports.ListResourcesResponse = exports.ListResourcesResponseBody = exports.ListResourcesRequest = exports.ListResourceServicesResponse = exports.ListResourceServicesResponseBody = exports.ListResourceServicesRequest = exports.ListResourceInstancesResponse = exports.ListResourceInstancesResponseBody = exports.ListResourceInstancesRequest = exports.ListResourceInstanceWorkerResponse = exports.ListResourceInstanceWorkerResponseBody = exports.ListResourceInstanceWorkerRequest = exports.ListGroupsResponse = exports.ListGroupsResponseBody = exports.ListGroupsRequest = exports.ListGatewayIntranetLinkedVpcResponse = exports.ListGatewayIntranetLinkedVpcResponseBody = exports.ListBenchmarkTaskResponse = exports.ListBenchmarkTaskResponseBody = exports.ListBenchmarkTaskRequest = exports.DevelopServiceResponse = exports.DevelopServiceResponseBody = exports.DevelopServiceRequest = exports.DescribeServiceMirrorResponse = exports.DescribeServiceMirrorResponseBody = exports.DescribeServiceLogResponse = exports.DescribeServiceLogResponseBody = exports.DescribeServiceLogRequest = exports.DescribeServiceInstanceDiagnosisResponse = exports.DescribeServiceInstanceDiagnosisResponseBody = exports.DescribeServiceEventResponse = void 0;
32
- exports.CreateResourceRequestSelfManagedResourceOptionsNodeTolerations = exports.ServiceLabels = exports.UpdateServiceVersionResponse = exports.UpdateServiceVersionResponseBody = exports.UpdateServiceVersionRequest = exports.UpdateServiceSafetyLockResponse = exports.UpdateServiceSafetyLockResponseBody = exports.UpdateServiceSafetyLockRequest = exports.UpdateServiceMirrorResponse = exports.UpdateServiceMirrorResponseBody = exports.UpdateServiceMirrorRequest = exports.UpdateServiceLabelResponse = exports.UpdateServiceLabelResponseBody = exports.UpdateServiceLabelRequest = exports.UpdateServiceInstanceResponse = exports.UpdateServiceInstanceResponseBody = exports.UpdateServiceInstanceRequest = exports.UpdateServiceCronScalerResponse = exports.UpdateServiceCronScalerResponseBody = exports.UpdateServiceCronScalerRequest = exports.UpdateServiceAutoScalerResponse = exports.UpdateServiceAutoScalerResponseBody = exports.UpdateServiceAutoScalerRequest = exports.UpdateServiceResponse = exports.UpdateServiceResponseBody = exports.UpdateServiceRequest = exports.UpdateResourceInstanceResponse = exports.UpdateResourceInstanceResponseBody = exports.UpdateResourceInstanceRequest = exports.UpdateResourceDLinkResponse = exports.UpdateResourceDLinkResponseBody = exports.UpdateResourceDLinkRequest = exports.UpdateResourceResponse = exports.UpdateResourceResponseBody = exports.UpdateResourceRequest = exports.UpdateGatewayResponse = exports.UpdateGatewayResponseBody = exports.UpdateGatewayRequest = exports.UpdateBenchmarkTaskResponse = exports.UpdateBenchmarkTaskResponseBody = exports.UpdateBenchmarkTaskRequest = exports.UpdateAppServiceResponse = exports.UpdateAppServiceResponseBody = exports.UpdateAppServiceRequest = exports.StopServiceResponse = exports.StopServiceResponseBody = exports.StopBenchmarkTaskResponse = exports.StopBenchmarkTaskResponseBody = exports.StartServiceResponse = exports.StartServiceResponseBody = void 0;
33
- exports.UpdateServiceCronScalerRequestScaleJobs = exports.UpdateServiceAutoScalerRequestScaleStrategies = exports.UpdateServiceAutoScalerRequestBehavior = exports.UpdateServiceAutoScalerRequestBehaviorScaleUp = exports.UpdateServiceAutoScalerRequestBehaviorScaleDown = exports.UpdateServiceAutoScalerRequestBehaviorOnZero = exports.UpdateResourceRequestSelfManagedResourceOptions = exports.UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations = exports.ListServiceVersionsResponseBodyVersions = exports.ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList = exports.ListBenchmarkTaskResponseBodyTasks = exports.DescribeServiceInstanceDiagnosisResponseBodyDiagnosis = exports.DescribeServiceEventResponseBodyEvents = exports.DescribeServiceDiagnosisResponseBodyDiagnosisList = exports.DescribeServiceCronScalerResponseBodyScaleJobs = exports.DescribeServiceAutoScalerResponseBodyScaleStrategies = exports.DescribeServiceAutoScalerResponseBodyCurrentMetrics = exports.DescribeGatewayResponseBodyIntranetLinkedVpcList = exports.DescribeGatewayResponseBodyInternetAclPolicyList = exports.CreateServiceCronScalerRequestScaleJobs = exports.CreateServiceAutoScalerRequestScaleStrategies = exports.CreateServiceAutoScalerRequestBehavior = exports.CreateServiceAutoScalerRequestBehaviorScaleUp = exports.CreateServiceAutoScalerRequestBehaviorScaleDown = exports.CreateServiceAutoScalerRequestBehaviorOnZero = exports.CreateResourceRequestSelfManagedResourceOptions = void 0;
31
+ exports.RestartServiceResponseBody = exports.ReleaseServiceResponse = exports.ReleaseServiceResponseBody = exports.ReleaseServiceRequest = exports.ListServicesResponse = exports.ListServicesResponseBody = exports.ListServicesShrinkRequest = exports.ListServicesRequest = exports.ListServiceVersionsResponse = exports.ListServiceVersionsResponseBody = exports.ListServiceVersionsRequest = exports.ListServiceInstancesResponse = exports.ListServiceInstancesResponseBody = exports.ListServiceInstancesRequest = exports.ListServiceContainersResponse = exports.ListServiceContainersResponseBody = exports.ListResourcesResponse = exports.ListResourcesResponseBody = exports.ListResourcesRequest = exports.ListResourceServicesResponse = exports.ListResourceServicesResponseBody = exports.ListResourceServicesRequest = exports.ListResourceInstancesResponse = exports.ListResourceInstancesResponseBody = exports.ListResourceInstancesRequest = exports.ListResourceInstanceWorkerResponse = exports.ListResourceInstanceWorkerResponseBody = exports.ListResourceInstanceWorkerRequest = exports.ListGroupsResponse = exports.ListGroupsResponseBody = exports.ListGroupsRequest = exports.ListGatewayIntranetLinkedVpcResponse = exports.ListGatewayIntranetLinkedVpcResponseBody = exports.ListBenchmarkTaskResponse = exports.ListBenchmarkTaskResponseBody = exports.ListBenchmarkTaskRequest = exports.DevelopServiceResponse = exports.DevelopServiceResponseBody = exports.DevelopServiceRequest = exports.DescribeSpotDiscountHistoryResponse = exports.DescribeSpotDiscountHistoryResponseBody = exports.DescribeSpotDiscountHistoryRequest = exports.DescribeServiceMirrorResponse = exports.DescribeServiceMirrorResponseBody = exports.DescribeServiceLogResponse = exports.DescribeServiceLogResponseBody = exports.DescribeServiceLogRequest = exports.DescribeServiceInstanceDiagnosisResponse = exports.DescribeServiceInstanceDiagnosisResponseBody = exports.DescribeServiceEventResponse = void 0;
32
+ exports.UpdateServiceVersionResponseBody = exports.UpdateServiceVersionRequest = exports.UpdateServiceSafetyLockResponse = exports.UpdateServiceSafetyLockResponseBody = exports.UpdateServiceSafetyLockRequest = exports.UpdateServiceMirrorResponse = exports.UpdateServiceMirrorResponseBody = exports.UpdateServiceMirrorRequest = exports.UpdateServiceLabelResponse = exports.UpdateServiceLabelResponseBody = exports.UpdateServiceLabelRequest = exports.UpdateServiceInstanceResponse = exports.UpdateServiceInstanceResponseBody = exports.UpdateServiceInstanceRequest = exports.UpdateServiceCronScalerResponse = exports.UpdateServiceCronScalerResponseBody = exports.UpdateServiceCronScalerRequest = exports.UpdateServiceAutoScalerResponse = exports.UpdateServiceAutoScalerResponseBody = exports.UpdateServiceAutoScalerRequest = exports.UpdateServiceResponse = exports.UpdateServiceResponseBody = exports.UpdateServiceRequest = exports.UpdateResourceInstanceResponse = exports.UpdateResourceInstanceResponseBody = exports.UpdateResourceInstanceRequest = exports.UpdateResourceDLinkResponse = exports.UpdateResourceDLinkResponseBody = exports.UpdateResourceDLinkRequest = exports.UpdateResourceResponse = exports.UpdateResourceResponseBody = exports.UpdateResourceRequest = exports.UpdateGatewayResponse = exports.UpdateGatewayResponseBody = exports.UpdateGatewayRequest = exports.UpdateBenchmarkTaskResponse = exports.UpdateBenchmarkTaskResponseBody = exports.UpdateBenchmarkTaskRequest = exports.UpdateAppServiceResponse = exports.UpdateAppServiceResponseBody = exports.UpdateAppServiceRequest = exports.StopServiceResponse = exports.StopServiceResponseBody = exports.StopBenchmarkTaskResponse = exports.StopBenchmarkTaskResponseBody = exports.StartServiceResponse = exports.StartServiceResponseBody = exports.StartBenchmarkTaskResponse = exports.StartBenchmarkTaskResponseBody = exports.RestartServiceResponse = void 0;
33
+ exports.UpdateServiceCronScalerRequestScaleJobs = exports.UpdateServiceAutoScalerRequestScaleStrategies = exports.UpdateServiceAutoScalerRequestBehavior = exports.UpdateServiceAutoScalerRequestBehaviorScaleUp = exports.UpdateServiceAutoScalerRequestBehaviorScaleDown = exports.UpdateServiceAutoScalerRequestBehaviorOnZero = exports.UpdateResourceRequestSelfManagedResourceOptions = exports.UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations = exports.ListServiceVersionsResponseBodyVersions = exports.ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList = exports.ListBenchmarkTaskResponseBodyTasks = exports.DescribeSpotDiscountHistoryResponseBodySpotDiscounts = exports.DescribeServiceInstanceDiagnosisResponseBodyDiagnosis = exports.DescribeServiceEventResponseBodyEvents = exports.DescribeServiceDiagnosisResponseBodyDiagnosisList = exports.DescribeServiceCronScalerResponseBodyScaleJobs = exports.DescribeServiceAutoScalerResponseBodyScaleStrategies = exports.DescribeServiceAutoScalerResponseBodyCurrentMetrics = exports.DescribeGatewayResponseBodyIntranetLinkedVpcList = exports.DescribeGatewayResponseBodyInternetAclPolicyList = exports.CreateServiceCronScalerRequestScaleJobs = exports.CreateServiceAutoScalerRequestScaleStrategies = exports.CreateServiceAutoScalerRequestBehavior = exports.CreateServiceAutoScalerRequestBehaviorScaleUp = exports.CreateServiceAutoScalerRequestBehaviorScaleDown = exports.CreateServiceAutoScalerRequestBehaviorOnZero = exports.CreateResourceRequestSelfManagedResourceOptions = exports.CreateResourceRequestSelfManagedResourceOptionsNodeTolerations = exports.ServiceLabels = exports.UpdateServiceVersionResponse = void 0;
34
34
  // This file is auto-generated, don't edit it
35
35
  /**
36
36
  *
@@ -110,6 +110,8 @@ class Instance extends $tea.Model {
110
110
  static names() {
111
111
  return {
112
112
  currentAmount: 'CurrentAmount',
113
+ externalIP: 'ExternalIP',
114
+ externalInstancePort: 'ExternalInstancePort',
113
115
  hostIP: 'HostIP',
114
116
  hostName: 'HostName',
115
117
  innerIP: 'InnerIP',
@@ -126,15 +128,19 @@ class Instance extends $tea.Model {
126
128
  restartCount: 'RestartCount',
127
129
  role: 'Role',
128
130
  startAt: 'StartAt',
131
+ startTime: 'StartTime',
129
132
  status: 'Status',
130
133
  tenantHostIP: 'TenantHostIP',
131
134
  tenantInstanceIP: 'TenantInstanceIP',
132
135
  totalProcesses: 'TotalProcesses',
136
+ zone: 'Zone',
133
137
  };
134
138
  }
135
139
  static types() {
136
140
  return {
137
141
  currentAmount: 'number',
142
+ externalIP: 'string',
143
+ externalInstancePort: 'number',
138
144
  hostIP: 'string',
139
145
  hostName: 'string',
140
146
  innerIP: 'string',
@@ -151,10 +157,12 @@ class Instance extends $tea.Model {
151
157
  restartCount: 'number',
152
158
  role: 'string',
153
159
  startAt: 'string',
160
+ startTime: 'string',
154
161
  status: 'string',
155
162
  tenantHostIP: 'string',
156
163
  tenantInstanceIP: 'string',
157
164
  totalProcesses: 'number',
165
+ zone: 'string',
158
166
  };
159
167
  }
160
168
  constructor(map) {
@@ -179,6 +187,7 @@ class Resource extends $tea.Model {
179
187
  resourceType: 'ResourceType',
180
188
  status: 'Status',
181
189
  updateTime: 'UpdateTime',
190
+ vendor: 'Vendor',
182
191
  };
183
192
  }
184
193
  static types() {
@@ -197,6 +206,7 @@ class Resource extends $tea.Model {
197
206
  resourceType: 'string',
198
207
  status: 'string',
199
208
  updateTime: 'string',
209
+ vendor: 'string',
200
210
  };
201
211
  }
202
212
  constructor(map) {
@@ -2546,6 +2556,62 @@ class DescribeServiceMirrorResponse extends $tea.Model {
2546
2556
  }
2547
2557
  }
2548
2558
  exports.DescribeServiceMirrorResponse = DescribeServiceMirrorResponse;
2559
+ class DescribeSpotDiscountHistoryRequest extends $tea.Model {
2560
+ static names() {
2561
+ return {
2562
+ instanceType: 'InstanceType',
2563
+ isProtect: 'IsProtect',
2564
+ };
2565
+ }
2566
+ static types() {
2567
+ return {
2568
+ instanceType: 'string',
2569
+ isProtect: 'boolean',
2570
+ };
2571
+ }
2572
+ constructor(map) {
2573
+ super(map);
2574
+ }
2575
+ }
2576
+ exports.DescribeSpotDiscountHistoryRequest = DescribeSpotDiscountHistoryRequest;
2577
+ class DescribeSpotDiscountHistoryResponseBody extends $tea.Model {
2578
+ static names() {
2579
+ return {
2580
+ requestId: 'RequestId',
2581
+ spotDiscounts: 'SpotDiscounts',
2582
+ };
2583
+ }
2584
+ static types() {
2585
+ return {
2586
+ requestId: 'string',
2587
+ spotDiscounts: { 'type': 'array', 'itemType': DescribeSpotDiscountHistoryResponseBodySpotDiscounts },
2588
+ };
2589
+ }
2590
+ constructor(map) {
2591
+ super(map);
2592
+ }
2593
+ }
2594
+ exports.DescribeSpotDiscountHistoryResponseBody = DescribeSpotDiscountHistoryResponseBody;
2595
+ class DescribeSpotDiscountHistoryResponse extends $tea.Model {
2596
+ static names() {
2597
+ return {
2598
+ headers: 'headers',
2599
+ statusCode: 'statusCode',
2600
+ body: 'body',
2601
+ };
2602
+ }
2603
+ static types() {
2604
+ return {
2605
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2606
+ statusCode: 'number',
2607
+ body: DescribeSpotDiscountHistoryResponseBody,
2608
+ };
2609
+ }
2610
+ constructor(map) {
2611
+ super(map);
2612
+ }
2613
+ }
2614
+ exports.DescribeSpotDiscountHistoryResponse = DescribeSpotDiscountHistoryResponse;
2549
2615
  class DevelopServiceRequest extends $tea.Model {
2550
2616
  static names() {
2551
2617
  return {
@@ -4752,6 +4818,28 @@ class DescribeServiceInstanceDiagnosisResponseBodyDiagnosis extends $tea.Model {
4752
4818
  }
4753
4819
  }
4754
4820
  exports.DescribeServiceInstanceDiagnosisResponseBodyDiagnosis = DescribeServiceInstanceDiagnosisResponseBodyDiagnosis;
4821
+ class DescribeSpotDiscountHistoryResponseBodySpotDiscounts extends $tea.Model {
4822
+ static names() {
4823
+ return {
4824
+ instanceType: 'InstanceType',
4825
+ spotDiscount: 'SpotDiscount',
4826
+ timestamp: 'Timestamp',
4827
+ zoneId: 'ZoneId',
4828
+ };
4829
+ }
4830
+ static types() {
4831
+ return {
4832
+ instanceType: 'string',
4833
+ spotDiscount: 'string',
4834
+ timestamp: 'string',
4835
+ zoneId: 'string',
4836
+ };
4837
+ }
4838
+ constructor(map) {
4839
+ super(map);
4840
+ }
4841
+ }
4842
+ exports.DescribeSpotDiscountHistoryResponseBodySpotDiscounts = DescribeSpotDiscountHistoryResponseBodySpotDiscounts;
4755
4843
  class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
4756
4844
  static names() {
4757
4845
  return {
@@ -5017,6 +5105,14 @@ class Client extends openapi_client_1.default {
5017
5105
  }
5018
5106
  return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
5019
5107
  }
5108
+ /**
5109
+ * @summary Clones a service.
5110
+ *
5111
+ * @param request CloneServiceRequest
5112
+ * @param headers map
5113
+ * @param runtime runtime options for this request RuntimeOptions
5114
+ * @return CloneServiceResponse
5115
+ */
5020
5116
  async cloneServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
5021
5117
  tea_util_1.default.validateModel(request);
5022
5118
  let req = new $OpenApi.OpenApiRequest({
@@ -5036,11 +5132,24 @@ class Client extends openapi_client_1.default {
5036
5132
  });
5037
5133
  return $tea.cast(await this.callApi(params, req, runtime), new CloneServiceResponse({}));
5038
5134
  }
5135
+ /**
5136
+ * @summary Clones a service.
5137
+ *
5138
+ * @param request CloneServiceRequest
5139
+ * @return CloneServiceResponse
5140
+ */
5039
5141
  async cloneService(ClusterId, ServiceName, request) {
5040
5142
  let runtime = new $Util.RuntimeOptions({});
5041
5143
  let headers = {};
5042
5144
  return await this.cloneServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
5043
5145
  }
5146
+ /**
5147
+ * @summary Commits the Worker0 container in the custom container service and deploys the container as a new image.
5148
+ *
5149
+ * @param headers map
5150
+ * @param runtime runtime options for this request RuntimeOptions
5151
+ * @return CommitServiceResponse
5152
+ */
5044
5153
  async commitServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
5045
5154
  let req = new $OpenApi.OpenApiRequest({
5046
5155
  headers: headers,
@@ -5058,11 +5167,24 @@ class Client extends openapi_client_1.default {
5058
5167
  });
5059
5168
  return $tea.cast(await this.callApi(params, req, runtime), new CommitServiceResponse({}));
5060
5169
  }
5170
+ /**
5171
+ * @summary Commits the Worker0 container in the custom container service and deploys the container as a new image.
5172
+ *
5173
+ * @return CommitServiceResponse
5174
+ */
5061
5175
  async commitService(ClusterId, ServiceName) {
5062
5176
  let runtime = new $Util.RuntimeOptions({});
5063
5177
  let headers = {};
5064
5178
  return await this.commitServiceWithOptions(ClusterId, ServiceName, headers, runtime);
5065
5179
  }
5180
+ /**
5181
+ * @summary Creates an application service.
5182
+ *
5183
+ * @param request CreateAppServiceRequest
5184
+ * @param headers map
5185
+ * @param runtime runtime options for this request RuntimeOptions
5186
+ * @return CreateAppServiceResponse
5187
+ */
5066
5188
  async createAppServiceWithOptions(request, headers, runtime) {
5067
5189
  tea_util_1.default.validateModel(request);
5068
5190
  let query = {};
@@ -5109,11 +5231,25 @@ class Client extends openapi_client_1.default {
5109
5231
  });
5110
5232
  return $tea.cast(await this.callApi(params, req, runtime), new CreateAppServiceResponse({}));
5111
5233
  }
5234
+ /**
5235
+ * @summary Creates an application service.
5236
+ *
5237
+ * @param request CreateAppServiceRequest
5238
+ * @return CreateAppServiceResponse
5239
+ */
5112
5240
  async createAppService(request) {
5113
5241
  let runtime = new $Util.RuntimeOptions({});
5114
5242
  let headers = {};
5115
5243
  return await this.createAppServiceWithOptions(request, headers, runtime);
5116
5244
  }
5245
+ /**
5246
+ * @summary Creates a stress testing task.
5247
+ *
5248
+ * @param request CreateBenchmarkTaskRequest
5249
+ * @param headers map
5250
+ * @param runtime runtime options for this request RuntimeOptions
5251
+ * @return CreateBenchmarkTaskResponse
5252
+ */
5117
5253
  async createBenchmarkTaskWithOptions(request, headers, runtime) {
5118
5254
  tea_util_1.default.validateModel(request);
5119
5255
  let req = new $OpenApi.OpenApiRequest({
@@ -5133,11 +5269,25 @@ class Client extends openapi_client_1.default {
5133
5269
  });
5134
5270
  return $tea.cast(await this.callApi(params, req, runtime), new CreateBenchmarkTaskResponse({}));
5135
5271
  }
5272
+ /**
5273
+ * @summary Creates a stress testing task.
5274
+ *
5275
+ * @param request CreateBenchmarkTaskRequest
5276
+ * @return CreateBenchmarkTaskResponse
5277
+ */
5136
5278
  async createBenchmarkTask(request) {
5137
5279
  let runtime = new $Util.RuntimeOptions({});
5138
5280
  let headers = {};
5139
5281
  return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
5140
5282
  }
5283
+ /**
5284
+ * @summary Creates a private gateway. You can create a private gateway only in a self-managed resource group.
5285
+ *
5286
+ * @param request CreateGatewayRequest
5287
+ * @param headers map
5288
+ * @param runtime runtime options for this request RuntimeOptions
5289
+ * @return CreateGatewayResponse
5290
+ */
5141
5291
  async createGatewayWithOptions(request, headers, runtime) {
5142
5292
  tea_util_1.default.validateModel(request);
5143
5293
  let query = {};
@@ -5175,11 +5325,25 @@ class Client extends openapi_client_1.default {
5175
5325
  });
5176
5326
  return $tea.cast(await this.callApi(params, req, runtime), new CreateGatewayResponse({}));
5177
5327
  }
5328
+ /**
5329
+ * @summary Creates a private gateway. You can create a private gateway only in a self-managed resource group.
5330
+ *
5331
+ * @param request CreateGatewayRequest
5332
+ * @return CreateGatewayResponse
5333
+ */
5178
5334
  async createGateway(request) {
5179
5335
  let runtime = new $Util.RuntimeOptions({});
5180
5336
  let headers = {};
5181
5337
  return await this.createGatewayWithOptions(request, headers, runtime);
5182
5338
  }
5339
+ /**
5340
+ * @summary Creates an internal endpoint of a private gateway.
5341
+ *
5342
+ * @param request CreateGatewayIntranetLinkedVpcRequest
5343
+ * @param headers map
5344
+ * @param runtime runtime options for this request RuntimeOptions
5345
+ * @return CreateGatewayIntranetLinkedVpcResponse
5346
+ */
5183
5347
  async createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime) {
5184
5348
  tea_util_1.default.validateModel(request);
5185
5349
  let query = {};
@@ -5206,18 +5370,26 @@ class Client extends openapi_client_1.default {
5206
5370
  });
5207
5371
  return $tea.cast(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcResponse({}));
5208
5372
  }
5373
+ /**
5374
+ * @summary Creates an internal endpoint of a private gateway.
5375
+ *
5376
+ * @param request CreateGatewayIntranetLinkedVpcRequest
5377
+ * @return CreateGatewayIntranetLinkedVpcResponse
5378
+ */
5209
5379
  async createGatewayIntranetLinkedVpc(ClusterId, GatewayId, request) {
5210
5380
  let runtime = new $Util.RuntimeOptions({});
5211
5381
  let headers = {};
5212
5382
  return await this.createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
5213
5383
  }
5214
5384
  /**
5215
- * **Before you call this operation, make sure that you are familiar with the [billing](~~144261~~) of Elastic Algorithm Service (EAS).
5216
- *
5217
- * @param request CreateResourceRequest
5218
- * @param headers map
5219
- * @param runtime runtime options for this request RuntimeOptions
5220
- * @return CreateResourceResponse
5385
+ * @summary Creates a resource group.
5386
+ *
5387
+ * @description **Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).
5388
+ *
5389
+ * @param request CreateResourceRequest
5390
+ * @param headers map
5391
+ * @param runtime runtime options for this request RuntimeOptions
5392
+ * @return CreateResourceResponse
5221
5393
  */
5222
5394
  async createResourceWithOptions(request, headers, runtime) {
5223
5395
  tea_util_1.default.validateModel(request);
@@ -5264,16 +5436,26 @@ class Client extends openapi_client_1.default {
5264
5436
  return $tea.cast(await this.callApi(params, req, runtime), new CreateResourceResponse({}));
5265
5437
  }
5266
5438
  /**
5267
- * **Before you call this operation, make sure that you are familiar with the [billing](~~144261~~) of Elastic Algorithm Service (EAS).
5268
- *
5269
- * @param request CreateResourceRequest
5270
- * @return CreateResourceResponse
5439
+ * @summary Creates a resource group.
5440
+ *
5441
+ * @description **Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).
5442
+ *
5443
+ * @param request CreateResourceRequest
5444
+ * @return CreateResourceResponse
5271
5445
  */
5272
5446
  async createResource(request) {
5273
5447
  let runtime = new $Util.RuntimeOptions({});
5274
5448
  let headers = {};
5275
5449
  return await this.createResourceWithOptions(request, headers, runtime);
5276
5450
  }
5451
+ /**
5452
+ * @summary Creates instances in a dedicated resource group.
5453
+ *
5454
+ * @param request CreateResourceInstancesRequest
5455
+ * @param headers map
5456
+ * @param runtime runtime options for this request RuntimeOptions
5457
+ * @return CreateResourceInstancesResponse
5458
+ */
5277
5459
  async createResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime) {
5278
5460
  tea_util_1.default.validateModel(request);
5279
5461
  let body = {};
@@ -5315,11 +5497,25 @@ class Client extends openapi_client_1.default {
5315
5497
  });
5316
5498
  return $tea.cast(await this.callApi(params, req, runtime), new CreateResourceInstancesResponse({}));
5317
5499
  }
5500
+ /**
5501
+ * @summary Creates instances in a dedicated resource group.
5502
+ *
5503
+ * @param request CreateResourceInstancesRequest
5504
+ * @return CreateResourceInstancesResponse
5505
+ */
5318
5506
  async createResourceInstances(ClusterId, ResourceId, request) {
5319
5507
  let runtime = new $Util.RuntimeOptions({});
5320
5508
  let headers = {};
5321
5509
  return await this.createResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
5322
5510
  }
5511
+ /**
5512
+ * @summary Enables the LogShipper feature of Log Service for a resource group.
5513
+ *
5514
+ * @param request CreateResourceLogRequest
5515
+ * @param headers map
5516
+ * @param runtime runtime options for this request RuntimeOptions
5517
+ * @return CreateResourceLogResponse
5518
+ */
5323
5519
  async createResourceLogWithOptions(ClusterId, ResourceId, request, headers, runtime) {
5324
5520
  tea_util_1.default.validateModel(request);
5325
5521
  let body = {};
@@ -5346,11 +5542,27 @@ class Client extends openapi_client_1.default {
5346
5542
  });
5347
5543
  return $tea.cast(await this.callApi(params, req, runtime), new CreateResourceLogResponse({}));
5348
5544
  }
5545
+ /**
5546
+ * @summary Enables the LogShipper feature of Log Service for a resource group.
5547
+ *
5548
+ * @param request CreateResourceLogRequest
5549
+ * @return CreateResourceLogResponse
5550
+ */
5349
5551
  async createResourceLog(ClusterId, ResourceId, request) {
5350
5552
  let runtime = new $Util.RuntimeOptions({});
5351
5553
  let headers = {};
5352
5554
  return await this.createResourceLogWithOptions(ClusterId, ResourceId, request, headers, runtime);
5353
5555
  }
5556
+ /**
5557
+ * @summary Creates a model service in Elastic Algorithm Service (EAS).
5558
+ *
5559
+ * @description **Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).
5560
+ *
5561
+ * @param tmpReq CreateServiceRequest
5562
+ * @param headers map
5563
+ * @param runtime runtime options for this request RuntimeOptions
5564
+ * @return CreateServiceResponse
5565
+ */
5354
5566
  async createServiceWithOptions(tmpReq, headers, runtime) {
5355
5567
  tea_util_1.default.validateModel(tmpReq);
5356
5568
  let request = new CreateServiceShrinkRequest({});
@@ -5386,11 +5598,27 @@ class Client extends openapi_client_1.default {
5386
5598
  });
5387
5599
  return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceResponse({}));
5388
5600
  }
5601
+ /**
5602
+ * @summary Creates a model service in Elastic Algorithm Service (EAS).
5603
+ *
5604
+ * @description **Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).
5605
+ *
5606
+ * @param request CreateServiceRequest
5607
+ * @return CreateServiceResponse
5608
+ */
5389
5609
  async createService(request) {
5390
5610
  let runtime = new $Util.RuntimeOptions({});
5391
5611
  let headers = {};
5392
5612
  return await this.createServiceWithOptions(request, headers, runtime);
5393
5613
  }
5614
+ /**
5615
+ * @summary Enables the Autoscaler feature and creates an Autoscaler controller for a service.
5616
+ *
5617
+ * @param request CreateServiceAutoScalerRequest
5618
+ * @param headers map
5619
+ * @param runtime runtime options for this request RuntimeOptions
5620
+ * @return CreateServiceAutoScalerResponse
5621
+ */
5394
5622
  async createServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime) {
5395
5623
  tea_util_1.default.validateModel(request);
5396
5624
  let body = {};
@@ -5423,11 +5651,25 @@ class Client extends openapi_client_1.default {
5423
5651
  });
5424
5652
  return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceAutoScalerResponse({}));
5425
5653
  }
5654
+ /**
5655
+ * @summary Enables the Autoscaler feature and creates an Autoscaler controller for a service.
5656
+ *
5657
+ * @param request CreateServiceAutoScalerRequest
5658
+ * @return CreateServiceAutoScalerResponse
5659
+ */
5426
5660
  async createServiceAutoScaler(ClusterId, ServiceName, request) {
5427
5661
  let runtime = new $Util.RuntimeOptions({});
5428
5662
  let headers = {};
5429
5663
  return await this.createServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
5430
5664
  }
5665
+ /**
5666
+ * @summary Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.
5667
+ *
5668
+ * @param request CreateServiceCronScalerRequest
5669
+ * @param headers map
5670
+ * @param runtime runtime options for this request RuntimeOptions
5671
+ * @return CreateServiceCronScalerResponse
5672
+ */
5431
5673
  async createServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime) {
5432
5674
  tea_util_1.default.validateModel(request);
5433
5675
  let body = {};
@@ -5454,11 +5696,25 @@ class Client extends openapi_client_1.default {
5454
5696
  });
5455
5697
  return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceCronScalerResponse({}));
5456
5698
  }
5699
+ /**
5700
+ * @summary Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.
5701
+ *
5702
+ * @param request CreateServiceCronScalerRequest
5703
+ * @return CreateServiceCronScalerResponse
5704
+ */
5457
5705
  async createServiceCronScaler(ClusterId, ServiceName, request) {
5458
5706
  let runtime = new $Util.RuntimeOptions({});
5459
5707
  let headers = {};
5460
5708
  return await this.createServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
5461
5709
  }
5710
+ /**
5711
+ * @summary Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.
5712
+ *
5713
+ * @param request CreateServiceMirrorRequest
5714
+ * @param headers map
5715
+ * @param runtime runtime options for this request RuntimeOptions
5716
+ * @return CreateServiceMirrorResponse
5717
+ */
5462
5718
  async createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime) {
5463
5719
  tea_util_1.default.validateModel(request);
5464
5720
  let body = {};
@@ -5485,11 +5741,24 @@ class Client extends openapi_client_1.default {
5485
5741
  });
5486
5742
  return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
5487
5743
  }
5744
+ /**
5745
+ * @summary Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.
5746
+ *
5747
+ * @param request CreateServiceMirrorRequest
5748
+ * @return CreateServiceMirrorResponse
5749
+ */
5488
5750
  async createServiceMirror(ClusterId, ServiceName, request) {
5489
5751
  let runtime = new $Util.RuntimeOptions({});
5490
5752
  let headers = {};
5491
5753
  return await this.createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
5492
5754
  }
5755
+ /**
5756
+ * @summary Deletes a stress testing task.
5757
+ *
5758
+ * @param headers map
5759
+ * @param runtime runtime options for this request RuntimeOptions
5760
+ * @return DeleteBenchmarkTaskResponse
5761
+ */
5493
5762
  async deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime) {
5494
5763
  let req = new $OpenApi.OpenApiRequest({
5495
5764
  headers: headers,
@@ -5507,11 +5776,23 @@ class Client extends openapi_client_1.default {
5507
5776
  });
5508
5777
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteBenchmarkTaskResponse({}));
5509
5778
  }
5779
+ /**
5780
+ * @summary Deletes a stress testing task.
5781
+ *
5782
+ * @return DeleteBenchmarkTaskResponse
5783
+ */
5510
5784
  async deleteBenchmarkTask(ClusterId, TaskName) {
5511
5785
  let runtime = new $Util.RuntimeOptions({});
5512
5786
  let headers = {};
5513
5787
  return await this.deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
5514
5788
  }
5789
+ /**
5790
+ * @summary Deletes a private gateway.
5791
+ *
5792
+ * @param headers map
5793
+ * @param runtime runtime options for this request RuntimeOptions
5794
+ * @return DeleteGatewayResponse
5795
+ */
5515
5796
  async deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime) {
5516
5797
  let req = new $OpenApi.OpenApiRequest({
5517
5798
  headers: headers,
@@ -5529,11 +5810,24 @@ class Client extends openapi_client_1.default {
5529
5810
  });
5530
5811
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteGatewayResponse({}));
5531
5812
  }
5813
+ /**
5814
+ * @summary Deletes a private gateway.
5815
+ *
5816
+ * @return DeleteGatewayResponse
5817
+ */
5532
5818
  async deleteGateway(ClusterId, GatewayId) {
5533
5819
  let runtime = new $Util.RuntimeOptions({});
5534
5820
  let headers = {};
5535
5821
  return await this.deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
5536
5822
  }
5823
+ /**
5824
+ * @summary 删除网关内网访问端点
5825
+ *
5826
+ * @param request DeleteGatewayIntranetLinkedVpcRequest
5827
+ * @param headers map
5828
+ * @param runtime runtime options for this request RuntimeOptions
5829
+ * @return DeleteGatewayIntranetLinkedVpcResponse
5830
+ */
5537
5831
  async deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime) {
5538
5832
  tea_util_1.default.validateModel(request);
5539
5833
  let query = {};
@@ -5560,11 +5854,24 @@ class Client extends openapi_client_1.default {
5560
5854
  });
5561
5855
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
5562
5856
  }
5857
+ /**
5858
+ * @summary 删除网关内网访问端点
5859
+ *
5860
+ * @param request DeleteGatewayIntranetLinkedVpcRequest
5861
+ * @return DeleteGatewayIntranetLinkedVpcResponse
5862
+ */
5563
5863
  async deleteGatewayIntranetLinkedVpc(ClusterId, GatewayId, request) {
5564
5864
  let runtime = new $Util.RuntimeOptions({});
5565
5865
  let headers = {};
5566
5866
  return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
5567
5867
  }
5868
+ /**
5869
+ * @summary Deletes a resource group that contains no resources or instances.
5870
+ *
5871
+ * @param headers map
5872
+ * @param runtime runtime options for this request RuntimeOptions
5873
+ * @return DeleteResourceResponse
5874
+ */
5568
5875
  async deleteResourceWithOptions(ClusterId, ResourceId, headers, runtime) {
5569
5876
  let req = new $OpenApi.OpenApiRequest({
5570
5877
  headers: headers,
@@ -5582,11 +5889,23 @@ class Client extends openapi_client_1.default {
5582
5889
  });
5583
5890
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteResourceResponse({}));
5584
5891
  }
5892
+ /**
5893
+ * @summary Deletes a resource group that contains no resources or instances.
5894
+ *
5895
+ * @return DeleteResourceResponse
5896
+ */
5585
5897
  async deleteResource(ClusterId, ResourceId) {
5586
5898
  let runtime = new $Util.RuntimeOptions({});
5587
5899
  let headers = {};
5588
5900
  return await this.deleteResourceWithOptions(ClusterId, ResourceId, headers, runtime);
5589
5901
  }
5902
+ /**
5903
+ * @summary Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.
5904
+ *
5905
+ * @param headers map
5906
+ * @param runtime runtime options for this request RuntimeOptions
5907
+ * @return DeleteResourceDLinkResponse
5908
+ */
5590
5909
  async deleteResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime) {
5591
5910
  let req = new $OpenApi.OpenApiRequest({
5592
5911
  headers: headers,
@@ -5604,11 +5923,24 @@ class Client extends openapi_client_1.default {
5604
5923
  });
5605
5924
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteResourceDLinkResponse({}));
5606
5925
  }
5926
+ /**
5927
+ * @summary Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.
5928
+ *
5929
+ * @return DeleteResourceDLinkResponse
5930
+ */
5607
5931
  async deleteResourceDLink(ClusterId, ResourceId) {
5608
5932
  let runtime = new $Util.RuntimeOptions({});
5609
5933
  let headers = {};
5610
5934
  return await this.deleteResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime);
5611
5935
  }
5936
+ /**
5937
+ * @summary Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.
5938
+ *
5939
+ * @param request DeleteResourceInstancesRequest
5940
+ * @param headers map
5941
+ * @param runtime runtime options for this request RuntimeOptions
5942
+ * @return DeleteResourceInstancesResponse
5943
+ */
5612
5944
  async deleteResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime) {
5613
5945
  tea_util_1.default.validateModel(request);
5614
5946
  let query = {};
@@ -5635,11 +5967,24 @@ class Client extends openapi_client_1.default {
5635
5967
  });
5636
5968
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteResourceInstancesResponse({}));
5637
5969
  }
5970
+ /**
5971
+ * @summary Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.
5972
+ *
5973
+ * @param request DeleteResourceInstancesRequest
5974
+ * @return DeleteResourceInstancesResponse
5975
+ */
5638
5976
  async deleteResourceInstances(ClusterId, ResourceId, request) {
5639
5977
  let runtime = new $Util.RuntimeOptions({});
5640
5978
  let headers = {};
5641
5979
  return await this.deleteResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
5642
5980
  }
5981
+ /**
5982
+ * @summary Disables the LogShipper feature of Log Service for a dedicated resource group.
5983
+ *
5984
+ * @param headers map
5985
+ * @param runtime runtime options for this request RuntimeOptions
5986
+ * @return DeleteResourceLogResponse
5987
+ */
5643
5988
  async deleteResourceLogWithOptions(ClusterId, ResourceId, headers, runtime) {
5644
5989
  let req = new $OpenApi.OpenApiRequest({
5645
5990
  headers: headers,
@@ -5657,11 +6002,23 @@ class Client extends openapi_client_1.default {
5657
6002
  });
5658
6003
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteResourceLogResponse({}));
5659
6004
  }
6005
+ /**
6006
+ * @summary Disables the LogShipper feature of Log Service for a dedicated resource group.
6007
+ *
6008
+ * @return DeleteResourceLogResponse
6009
+ */
5660
6010
  async deleteResourceLog(ClusterId, ResourceId) {
5661
6011
  let runtime = new $Util.RuntimeOptions({});
5662
6012
  let headers = {};
5663
6013
  return await this.deleteResourceLogWithOptions(ClusterId, ResourceId, headers, runtime);
5664
6014
  }
6015
+ /**
6016
+ * @summary Deletes a service.
6017
+ *
6018
+ * @param headers map
6019
+ * @param runtime runtime options for this request RuntimeOptions
6020
+ * @return DeleteServiceResponse
6021
+ */
5665
6022
  async deleteServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
5666
6023
  let req = new $OpenApi.OpenApiRequest({
5667
6024
  headers: headers,
@@ -5679,11 +6036,23 @@ class Client extends openapi_client_1.default {
5679
6036
  });
5680
6037
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceResponse({}));
5681
6038
  }
6039
+ /**
6040
+ * @summary Deletes a service.
6041
+ *
6042
+ * @return DeleteServiceResponse
6043
+ */
5682
6044
  async deleteService(ClusterId, ServiceName) {
5683
6045
  let runtime = new $Util.RuntimeOptions({});
5684
6046
  let headers = {};
5685
6047
  return await this.deleteServiceWithOptions(ClusterId, ServiceName, headers, runtime);
5686
6048
  }
6049
+ /**
6050
+ * @summary Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.
6051
+ *
6052
+ * @param headers map
6053
+ * @param runtime runtime options for this request RuntimeOptions
6054
+ * @return DeleteServiceAutoScalerResponse
6055
+ */
5687
6056
  async deleteServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime) {
5688
6057
  let req = new $OpenApi.OpenApiRequest({
5689
6058
  headers: headers,
@@ -5701,11 +6070,23 @@ class Client extends openapi_client_1.default {
5701
6070
  });
5702
6071
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceAutoScalerResponse({}));
5703
6072
  }
6073
+ /**
6074
+ * @summary Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.
6075
+ *
6076
+ * @return DeleteServiceAutoScalerResponse
6077
+ */
5704
6078
  async deleteServiceAutoScaler(ClusterId, ServiceName) {
5705
6079
  let runtime = new $Util.RuntimeOptions({});
5706
6080
  let headers = {};
5707
6081
  return await this.deleteServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime);
5708
6082
  }
6083
+ /**
6084
+ * @summary Disables the Cronscaler feature for a service.
6085
+ *
6086
+ * @param headers map
6087
+ * @param runtime runtime options for this request RuntimeOptions
6088
+ * @return DeleteServiceCronScalerResponse
6089
+ */
5709
6090
  async deleteServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime) {
5710
6091
  let req = new $OpenApi.OpenApiRequest({
5711
6092
  headers: headers,
@@ -5723,11 +6104,24 @@ class Client extends openapi_client_1.default {
5723
6104
  });
5724
6105
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceCronScalerResponse({}));
5725
6106
  }
6107
+ /**
6108
+ * @summary Disables the Cronscaler feature for a service.
6109
+ *
6110
+ * @return DeleteServiceCronScalerResponse
6111
+ */
5726
6112
  async deleteServiceCronScaler(ClusterId, ServiceName) {
5727
6113
  let runtime = new $Util.RuntimeOptions({});
5728
6114
  let headers = {};
5729
6115
  return await this.deleteServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime);
5730
6116
  }
6117
+ /**
6118
+ * @summary Restarts the instances of a service.
6119
+ *
6120
+ * @param request DeleteServiceInstancesRequest
6121
+ * @param headers map
6122
+ * @param runtime runtime options for this request RuntimeOptions
6123
+ * @return DeleteServiceInstancesResponse
6124
+ */
5731
6125
  async deleteServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime) {
5732
6126
  tea_util_1.default.validateModel(request);
5733
6127
  let query = {};
@@ -5757,11 +6151,25 @@ class Client extends openapi_client_1.default {
5757
6151
  });
5758
6152
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceInstancesResponse({}));
5759
6153
  }
6154
+ /**
6155
+ * @summary Restarts the instances of a service.
6156
+ *
6157
+ * @param request DeleteServiceInstancesRequest
6158
+ * @return DeleteServiceInstancesResponse
6159
+ */
5760
6160
  async deleteServiceInstances(ClusterId, ServiceName, request) {
5761
6161
  let runtime = new $Util.RuntimeOptions({});
5762
6162
  let headers = {};
5763
6163
  return await this.deleteServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime);
5764
6164
  }
6165
+ /**
6166
+ * @summary Deletes existing service tags.
6167
+ *
6168
+ * @param tmpReq DeleteServiceLabelRequest
6169
+ * @param headers map
6170
+ * @param runtime runtime options for this request RuntimeOptions
6171
+ * @return DeleteServiceLabelResponse
6172
+ */
5765
6173
  async deleteServiceLabelWithOptions(ClusterId, ServiceName, tmpReq, headers, runtime) {
5766
6174
  tea_util_1.default.validateModel(tmpReq);
5767
6175
  let request = new DeleteServiceLabelShrinkRequest({});
@@ -5790,11 +6198,24 @@ class Client extends openapi_client_1.default {
5790
6198
  });
5791
6199
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceLabelResponse({}));
5792
6200
  }
6201
+ /**
6202
+ * @summary Deletes existing service tags.
6203
+ *
6204
+ * @param request DeleteServiceLabelRequest
6205
+ * @return DeleteServiceLabelResponse
6206
+ */
5793
6207
  async deleteServiceLabel(ClusterId, ServiceName, request) {
5794
6208
  let runtime = new $Util.RuntimeOptions({});
5795
6209
  let headers = {};
5796
6210
  return await this.deleteServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime);
5797
6211
  }
6212
+ /**
6213
+ * @summary Disables the traffic mirroring feature for a service.
6214
+ *
6215
+ * @param headers map
6216
+ * @param runtime runtime options for this request RuntimeOptions
6217
+ * @return DeleteServiceMirrorResponse
6218
+ */
5798
6219
  async deleteServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime) {
5799
6220
  let req = new $OpenApi.OpenApiRequest({
5800
6221
  headers: headers,
@@ -5812,11 +6233,23 @@ class Client extends openapi_client_1.default {
5812
6233
  });
5813
6234
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceMirrorResponse({}));
5814
6235
  }
6236
+ /**
6237
+ * @summary Disables the traffic mirroring feature for a service.
6238
+ *
6239
+ * @return DeleteServiceMirrorResponse
6240
+ */
5815
6241
  async deleteServiceMirror(ClusterId, ServiceName) {
5816
6242
  let runtime = new $Util.RuntimeOptions({});
5817
6243
  let headers = {};
5818
6244
  return await this.deleteServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
5819
6245
  }
6246
+ /**
6247
+ * @summary Queries details about the configurations of a stress testing task.
6248
+ *
6249
+ * @param headers map
6250
+ * @param runtime runtime options for this request RuntimeOptions
6251
+ * @return DescribeBenchmarkTaskResponse
6252
+ */
5820
6253
  async describeBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime) {
5821
6254
  let req = new $OpenApi.OpenApiRequest({
5822
6255
  headers: headers,
@@ -5834,11 +6267,24 @@ class Client extends openapi_client_1.default {
5834
6267
  });
5835
6268
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskResponse({}));
5836
6269
  }
6270
+ /**
6271
+ * @summary Queries details about the configurations of a stress testing task.
6272
+ *
6273
+ * @return DescribeBenchmarkTaskResponse
6274
+ */
5837
6275
  async describeBenchmarkTask(ClusterId, TaskName) {
5838
6276
  let runtime = new $Util.RuntimeOptions({});
5839
6277
  let headers = {};
5840
6278
  return await this.describeBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
5841
6279
  }
6280
+ /**
6281
+ * @summary Queries the report of a stress testing task.
6282
+ *
6283
+ * @param request DescribeBenchmarkTaskReportRequest
6284
+ * @param headers map
6285
+ * @param runtime runtime options for this request RuntimeOptions
6286
+ * @return DescribeBenchmarkTaskReportResponse
6287
+ */
5842
6288
  async describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, request, headers, runtime) {
5843
6289
  tea_util_1.default.validateModel(request);
5844
6290
  let query = {};
@@ -5862,11 +6308,24 @@ class Client extends openapi_client_1.default {
5862
6308
  });
5863
6309
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskReportResponse({}));
5864
6310
  }
6311
+ /**
6312
+ * @summary Queries the report of a stress testing task.
6313
+ *
6314
+ * @param request DescribeBenchmarkTaskReportRequest
6315
+ * @return DescribeBenchmarkTaskReportResponse
6316
+ */
5865
6317
  async describeBenchmarkTaskReport(ClusterId, TaskName, request) {
5866
6318
  let runtime = new $Util.RuntimeOptions({});
5867
6319
  let headers = {};
5868
6320
  return await this.describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, request, headers, runtime);
5869
6321
  }
6322
+ /**
6323
+ * @summary Queries the details of a private gateway.
6324
+ *
6325
+ * @param headers map
6326
+ * @param runtime runtime options for this request RuntimeOptions
6327
+ * @return DescribeGatewayResponse
6328
+ */
5870
6329
  async describeGatewayWithOptions(ClusterId, GatewayId, headers, runtime) {
5871
6330
  let req = new $OpenApi.OpenApiRequest({
5872
6331
  headers: headers,
@@ -5884,11 +6343,23 @@ class Client extends openapi_client_1.default {
5884
6343
  });
5885
6344
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeGatewayResponse({}));
5886
6345
  }
6346
+ /**
6347
+ * @summary Queries the details of a private gateway.
6348
+ *
6349
+ * @return DescribeGatewayResponse
6350
+ */
5887
6351
  async describeGateway(ClusterId, GatewayId) {
5888
6352
  let runtime = new $Util.RuntimeOptions({});
5889
6353
  let headers = {};
5890
6354
  return await this.describeGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
5891
6355
  }
6356
+ /**
6357
+ * @summary Queries the information about a service group.
6358
+ *
6359
+ * @param headers map
6360
+ * @param runtime runtime options for this request RuntimeOptions
6361
+ * @return DescribeGroupResponse
6362
+ */
5892
6363
  async describeGroupWithOptions(ClusterId, GroupName, headers, runtime) {
5893
6364
  let req = new $OpenApi.OpenApiRequest({
5894
6365
  headers: headers,
@@ -5906,11 +6377,23 @@ class Client extends openapi_client_1.default {
5906
6377
  });
5907
6378
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeGroupResponse({}));
5908
6379
  }
6380
+ /**
6381
+ * @summary Queries the information about a service group.
6382
+ *
6383
+ * @return DescribeGroupResponse
6384
+ */
5909
6385
  async describeGroup(ClusterId, GroupName) {
5910
6386
  let runtime = new $Util.RuntimeOptions({});
5911
6387
  let headers = {};
5912
6388
  return await this.describeGroupWithOptions(ClusterId, GroupName, headers, runtime);
5913
6389
  }
6390
+ /**
6391
+ * @summary Queries the information about a resource group.
6392
+ *
6393
+ * @param headers map
6394
+ * @param runtime runtime options for this request RuntimeOptions
6395
+ * @return DescribeResourceResponse
6396
+ */
5914
6397
  async describeResourceWithOptions(ClusterId, ResourceId, headers, runtime) {
5915
6398
  let req = new $OpenApi.OpenApiRequest({
5916
6399
  headers: headers,
@@ -5928,11 +6411,23 @@ class Client extends openapi_client_1.default {
5928
6411
  });
5929
6412
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeResourceResponse({}));
5930
6413
  }
6414
+ /**
6415
+ * @summary Queries the information about a resource group.
6416
+ *
6417
+ * @return DescribeResourceResponse
6418
+ */
5931
6419
  async describeResource(ClusterId, ResourceId) {
5932
6420
  let runtime = new $Util.RuntimeOptions({});
5933
6421
  let headers = {};
5934
6422
  return await this.describeResourceWithOptions(ClusterId, ResourceId, headers, runtime);
5935
6423
  }
6424
+ /**
6425
+ * @summary Queries detailed configurations about a virtual private cloud (VPC) direct connection of a dedicated resource group.
6426
+ *
6427
+ * @param headers map
6428
+ * @param runtime runtime options for this request RuntimeOptions
6429
+ * @return DescribeResourceDLinkResponse
6430
+ */
5936
6431
  async describeResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime) {
5937
6432
  let req = new $OpenApi.OpenApiRequest({
5938
6433
  headers: headers,
@@ -5950,11 +6445,23 @@ class Client extends openapi_client_1.default {
5950
6445
  });
5951
6446
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeResourceDLinkResponse({}));
5952
6447
  }
6448
+ /**
6449
+ * @summary Queries detailed configurations about a virtual private cloud (VPC) direct connection of a dedicated resource group.
6450
+ *
6451
+ * @return DescribeResourceDLinkResponse
6452
+ */
5953
6453
  async describeResourceDLink(ClusterId, ResourceId) {
5954
6454
  let runtime = new $Util.RuntimeOptions({});
5955
6455
  let headers = {};
5956
6456
  return await this.describeResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime);
5957
6457
  }
6458
+ /**
6459
+ * @summary Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.
6460
+ *
6461
+ * @param headers map
6462
+ * @param runtime runtime options for this request RuntimeOptions
6463
+ * @return DescribeResourceLogResponse
6464
+ */
5958
6465
  async describeResourceLogWithOptions(ClusterId, ResourceId, headers, runtime) {
5959
6466
  let req = new $OpenApi.OpenApiRequest({
5960
6467
  headers: headers,
@@ -5972,11 +6479,23 @@ class Client extends openapi_client_1.default {
5972
6479
  });
5973
6480
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeResourceLogResponse({}));
5974
6481
  }
6482
+ /**
6483
+ * @summary Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.
6484
+ *
6485
+ * @return DescribeResourceLogResponse
6486
+ */
5975
6487
  async describeResourceLog(ClusterId, ResourceId) {
5976
6488
  let runtime = new $Util.RuntimeOptions({});
5977
6489
  let headers = {};
5978
6490
  return await this.describeResourceLogWithOptions(ClusterId, ResourceId, headers, runtime);
5979
6491
  }
6492
+ /**
6493
+ * @summary Queries the details about a service.
6494
+ *
6495
+ * @param headers map
6496
+ * @param runtime runtime options for this request RuntimeOptions
6497
+ * @return DescribeServiceResponse
6498
+ */
5980
6499
  async describeServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
5981
6500
  let req = new $OpenApi.OpenApiRequest({
5982
6501
  headers: headers,
@@ -5994,11 +6513,23 @@ class Client extends openapi_client_1.default {
5994
6513
  });
5995
6514
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceResponse({}));
5996
6515
  }
6516
+ /**
6517
+ * @summary Queries the details about a service.
6518
+ *
6519
+ * @return DescribeServiceResponse
6520
+ */
5997
6521
  async describeService(ClusterId, ServiceName) {
5998
6522
  let runtime = new $Util.RuntimeOptions({});
5999
6523
  let headers = {};
6000
6524
  return await this.describeServiceWithOptions(ClusterId, ServiceName, headers, runtime);
6001
6525
  }
6526
+ /**
6527
+ * @summary Queries information about the Autoscaler configurations of a service.
6528
+ *
6529
+ * @param headers map
6530
+ * @param runtime runtime options for this request RuntimeOptions
6531
+ * @return DescribeServiceAutoScalerResponse
6532
+ */
6002
6533
  async describeServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime) {
6003
6534
  let req = new $OpenApi.OpenApiRequest({
6004
6535
  headers: headers,
@@ -6016,11 +6547,23 @@ class Client extends openapi_client_1.default {
6016
6547
  });
6017
6548
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceAutoScalerResponse({}));
6018
6549
  }
6550
+ /**
6551
+ * @summary Queries information about the Autoscaler configurations of a service.
6552
+ *
6553
+ * @return DescribeServiceAutoScalerResponse
6554
+ */
6019
6555
  async describeServiceAutoScaler(ClusterId, ServiceName) {
6020
6556
  let runtime = new $Util.RuntimeOptions({});
6021
6557
  let headers = {};
6022
6558
  return await this.describeServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime);
6023
6559
  }
6560
+ /**
6561
+ * @summary Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.
6562
+ *
6563
+ * @param headers map
6564
+ * @param runtime runtime options for this request RuntimeOptions
6565
+ * @return DescribeServiceCronScalerResponse
6566
+ */
6024
6567
  async describeServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime) {
6025
6568
  let req = new $OpenApi.OpenApiRequest({
6026
6569
  headers: headers,
@@ -6038,11 +6581,23 @@ class Client extends openapi_client_1.default {
6038
6581
  });
6039
6582
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceCronScalerResponse({}));
6040
6583
  }
6584
+ /**
6585
+ * @summary Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.
6586
+ *
6587
+ * @return DescribeServiceCronScalerResponse
6588
+ */
6041
6589
  async describeServiceCronScaler(ClusterId, ServiceName) {
6042
6590
  let runtime = new $Util.RuntimeOptions({});
6043
6591
  let headers = {};
6044
6592
  return await this.describeServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime);
6045
6593
  }
6594
+ /**
6595
+ * @summary Queries the diagnostics details of a service.
6596
+ *
6597
+ * @param headers map
6598
+ * @param runtime runtime options for this request RuntimeOptions
6599
+ * @return DescribeServiceDiagnosisResponse
6600
+ */
6046
6601
  async describeServiceDiagnosisWithOptions(ClusterId, ServiceName, headers, runtime) {
6047
6602
  let req = new $OpenApi.OpenApiRequest({
6048
6603
  headers: headers,
@@ -6060,11 +6615,24 @@ class Client extends openapi_client_1.default {
6060
6615
  });
6061
6616
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceDiagnosisResponse({}));
6062
6617
  }
6618
+ /**
6619
+ * @summary Queries the diagnostics details of a service.
6620
+ *
6621
+ * @return DescribeServiceDiagnosisResponse
6622
+ */
6063
6623
  async describeServiceDiagnosis(ClusterId, ServiceName) {
6064
6624
  let runtime = new $Util.RuntimeOptions({});
6065
6625
  let headers = {};
6066
6626
  return await this.describeServiceDiagnosisWithOptions(ClusterId, ServiceName, headers, runtime);
6067
6627
  }
6628
+ /**
6629
+ * @summary Queries information about recent service deployment events.
6630
+ *
6631
+ * @param request DescribeServiceEventRequest
6632
+ * @param headers map
6633
+ * @param runtime runtime options for this request RuntimeOptions
6634
+ * @return DescribeServiceEventResponse
6635
+ */
6068
6636
  async describeServiceEventWithOptions(ClusterId, ServiceName, request, headers, runtime) {
6069
6637
  tea_util_1.default.validateModel(request);
6070
6638
  let query = {};
@@ -6103,11 +6671,24 @@ class Client extends openapi_client_1.default {
6103
6671
  });
6104
6672
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceEventResponse({}));
6105
6673
  }
6674
+ /**
6675
+ * @summary Queries information about recent service deployment events.
6676
+ *
6677
+ * @param request DescribeServiceEventRequest
6678
+ * @return DescribeServiceEventResponse
6679
+ */
6106
6680
  async describeServiceEvent(ClusterId, ServiceName, request) {
6107
6681
  let runtime = new $Util.RuntimeOptions({});
6108
6682
  let headers = {};
6109
6683
  return await this.describeServiceEventWithOptions(ClusterId, ServiceName, request, headers, runtime);
6110
6684
  }
6685
+ /**
6686
+ * @summary Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).
6687
+ *
6688
+ * @param headers map
6689
+ * @param runtime runtime options for this request RuntimeOptions
6690
+ * @return DescribeServiceInstanceDiagnosisResponse
6691
+ */
6111
6692
  async describeServiceInstanceDiagnosisWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime) {
6112
6693
  let req = new $OpenApi.OpenApiRequest({
6113
6694
  headers: headers,
@@ -6125,11 +6706,24 @@ class Client extends openapi_client_1.default {
6125
6706
  });
6126
6707
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceInstanceDiagnosisResponse({}));
6127
6708
  }
6709
+ /**
6710
+ * @summary Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).
6711
+ *
6712
+ * @return DescribeServiceInstanceDiagnosisResponse
6713
+ */
6128
6714
  async describeServiceInstanceDiagnosis(ClusterId, ServiceName, InstanceName) {
6129
6715
  let runtime = new $Util.RuntimeOptions({});
6130
6716
  let headers = {};
6131
6717
  return await this.describeServiceInstanceDiagnosisWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime);
6132
6718
  }
6719
+ /**
6720
+ * @summary Queries the information about the logs of a service.
6721
+ *
6722
+ * @param request DescribeServiceLogRequest
6723
+ * @param headers map
6724
+ * @param runtime runtime options for this request RuntimeOptions
6725
+ * @return DescribeServiceLogResponse
6726
+ */
6133
6727
  async describeServiceLogWithOptions(ClusterId, ServiceName, request, headers, runtime) {
6134
6728
  tea_util_1.default.validateModel(request);
6135
6729
  let query = {};
@@ -6177,11 +6771,24 @@ class Client extends openapi_client_1.default {
6177
6771
  });
6178
6772
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceLogResponse({}));
6179
6773
  }
6774
+ /**
6775
+ * @summary Queries the information about the logs of a service.
6776
+ *
6777
+ * @param request DescribeServiceLogRequest
6778
+ * @return DescribeServiceLogResponse
6779
+ */
6180
6780
  async describeServiceLog(ClusterId, ServiceName, request) {
6181
6781
  let runtime = new $Util.RuntimeOptions({});
6182
6782
  let headers = {};
6183
6783
  return await this.describeServiceLogWithOptions(ClusterId, ServiceName, request, headers, runtime);
6184
6784
  }
6785
+ /**
6786
+ * @summary Queries details about the traffic mirroring settings of a service.
6787
+ *
6788
+ * @param headers map
6789
+ * @param runtime runtime options for this request RuntimeOptions
6790
+ * @return DescribeServiceMirrorResponse
6791
+ */
6185
6792
  async describeServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime) {
6186
6793
  let req = new $OpenApi.OpenApiRequest({
6187
6794
  headers: headers,
@@ -6199,11 +6806,69 @@ class Client extends openapi_client_1.default {
6199
6806
  });
6200
6807
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceMirrorResponse({}));
6201
6808
  }
6809
+ /**
6810
+ * @summary Queries details about the traffic mirroring settings of a service.
6811
+ *
6812
+ * @return DescribeServiceMirrorResponse
6813
+ */
6202
6814
  async describeServiceMirror(ClusterId, ServiceName) {
6203
6815
  let runtime = new $Util.RuntimeOptions({});
6204
6816
  let headers = {};
6205
6817
  return await this.describeServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
6206
6818
  }
6819
+ /**
6820
+ * @summary Queries the historical prices of preemptible instances. For more information about preemptible instances, see Create and use preemptible instances.
6821
+ *
6822
+ * @param request DescribeSpotDiscountHistoryRequest
6823
+ * @param headers map
6824
+ * @param runtime runtime options for this request RuntimeOptions
6825
+ * @return DescribeSpotDiscountHistoryResponse
6826
+ */
6827
+ async describeSpotDiscountHistoryWithOptions(request, headers, runtime) {
6828
+ tea_util_1.default.validateModel(request);
6829
+ let query = {};
6830
+ if (!tea_util_1.default.isUnset(request.instanceType)) {
6831
+ query["InstanceType"] = request.instanceType;
6832
+ }
6833
+ if (!tea_util_1.default.isUnset(request.isProtect)) {
6834
+ query["IsProtect"] = request.isProtect;
6835
+ }
6836
+ let req = new $OpenApi.OpenApiRequest({
6837
+ headers: headers,
6838
+ query: openapi_util_1.default.query(query),
6839
+ });
6840
+ let params = new $OpenApi.Params({
6841
+ action: "DescribeSpotDiscountHistory",
6842
+ version: "2021-07-01",
6843
+ protocol: "HTTPS",
6844
+ pathname: `/api/v2/public/spot_discount`,
6845
+ method: "GET",
6846
+ authType: "AK",
6847
+ style: "ROA",
6848
+ reqBodyType: "json",
6849
+ bodyType: "json",
6850
+ });
6851
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeSpotDiscountHistoryResponse({}));
6852
+ }
6853
+ /**
6854
+ * @summary Queries the historical prices of preemptible instances. For more information about preemptible instances, see Create and use preemptible instances.
6855
+ *
6856
+ * @param request DescribeSpotDiscountHistoryRequest
6857
+ * @return DescribeSpotDiscountHistoryResponse
6858
+ */
6859
+ async describeSpotDiscountHistory(request) {
6860
+ let runtime = new $Util.RuntimeOptions({});
6861
+ let headers = {};
6862
+ return await this.describeSpotDiscountHistoryWithOptions(request, headers, runtime);
6863
+ }
6864
+ /**
6865
+ * @summary Switches a container service to development mode or exits development mode.
6866
+ *
6867
+ * @param request DevelopServiceRequest
6868
+ * @param headers map
6869
+ * @param runtime runtime options for this request RuntimeOptions
6870
+ * @return DevelopServiceResponse
6871
+ */
6207
6872
  async developServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
6208
6873
  tea_util_1.default.validateModel(request);
6209
6874
  let query = {};
@@ -6227,11 +6892,25 @@ class Client extends openapi_client_1.default {
6227
6892
  });
6228
6893
  return $tea.cast(await this.callApi(params, req, runtime), new DevelopServiceResponse({}));
6229
6894
  }
6895
+ /**
6896
+ * @summary Switches a container service to development mode or exits development mode.
6897
+ *
6898
+ * @param request DevelopServiceRequest
6899
+ * @return DevelopServiceResponse
6900
+ */
6230
6901
  async developService(ClusterId, ServiceName, request) {
6231
6902
  let runtime = new $Util.RuntimeOptions({});
6232
6903
  let headers = {};
6233
6904
  return await this.developServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
6234
6905
  }
6906
+ /**
6907
+ * @summary Queries a list of stress testing tasks that are created by the current user.
6908
+ *
6909
+ * @param request ListBenchmarkTaskRequest
6910
+ * @param headers map
6911
+ * @param runtime runtime options for this request RuntimeOptions
6912
+ * @return ListBenchmarkTaskResponse
6913
+ */
6235
6914
  async listBenchmarkTaskWithOptions(request, headers, runtime) {
6236
6915
  tea_util_1.default.validateModel(request);
6237
6916
  let query = {};
@@ -6264,11 +6943,24 @@ class Client extends openapi_client_1.default {
6264
6943
  });
6265
6944
  return $tea.cast(await this.callApi(params, req, runtime), new ListBenchmarkTaskResponse({}));
6266
6945
  }
6946
+ /**
6947
+ * @summary Queries a list of stress testing tasks that are created by the current user.
6948
+ *
6949
+ * @param request ListBenchmarkTaskRequest
6950
+ * @return ListBenchmarkTaskResponse
6951
+ */
6267
6952
  async listBenchmarkTask(request) {
6268
6953
  let runtime = new $Util.RuntimeOptions({});
6269
6954
  let headers = {};
6270
6955
  return await this.listBenchmarkTaskWithOptions(request, headers, runtime);
6271
6956
  }
6957
+ /**
6958
+ * @summary Queries a list of the internal endpoints of a private gateway.
6959
+ *
6960
+ * @param headers map
6961
+ * @param runtime runtime options for this request RuntimeOptions
6962
+ * @return ListGatewayIntranetLinkedVpcResponse
6963
+ */
6272
6964
  async listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime) {
6273
6965
  let req = new $OpenApi.OpenApiRequest({
6274
6966
  headers: headers,
@@ -6286,11 +6978,24 @@ class Client extends openapi_client_1.default {
6286
6978
  });
6287
6979
  return $tea.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcResponse({}));
6288
6980
  }
6981
+ /**
6982
+ * @summary Queries a list of the internal endpoints of a private gateway.
6983
+ *
6984
+ * @return ListGatewayIntranetLinkedVpcResponse
6985
+ */
6289
6986
  async listGatewayIntranetLinkedVpc(ClusterId, GatewayId) {
6290
6987
  let runtime = new $Util.RuntimeOptions({});
6291
6988
  let headers = {};
6292
6989
  return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime);
6293
6990
  }
6991
+ /**
6992
+ * @summary Queries created service groups.
6993
+ *
6994
+ * @param request ListGroupsRequest
6995
+ * @param headers map
6996
+ * @param runtime runtime options for this request RuntimeOptions
6997
+ * @return ListGroupsResponse
6998
+ */
6294
6999
  async listGroupsWithOptions(request, headers, runtime) {
6295
7000
  tea_util_1.default.validateModel(request);
6296
7001
  let query = {};
@@ -6323,11 +7028,25 @@ class Client extends openapi_client_1.default {
6323
7028
  });
6324
7029
  return $tea.cast(await this.callApi(params, req, runtime), new ListGroupsResponse({}));
6325
7030
  }
7031
+ /**
7032
+ * @summary Queries created service groups.
7033
+ *
7034
+ * @param request ListGroupsRequest
7035
+ * @return ListGroupsResponse
7036
+ */
6326
7037
  async listGroups(request) {
6327
7038
  let runtime = new $Util.RuntimeOptions({});
6328
7039
  let headers = {};
6329
7040
  return await this.listGroupsWithOptions(request, headers, runtime);
6330
7041
  }
7042
+ /**
7043
+ * @summary Queries a list of workers in a resource group.
7044
+ *
7045
+ * @param request ListResourceInstanceWorkerRequest
7046
+ * @param headers map
7047
+ * @param runtime runtime options for this request RuntimeOptions
7048
+ * @return ListResourceInstanceWorkerResponse
7049
+ */
6331
7050
  async listResourceInstanceWorkerWithOptions(ClusterId, ResourceId, InstanceName, request, headers, runtime) {
6332
7051
  tea_util_1.default.validateModel(request);
6333
7052
  let query = {};
@@ -6354,11 +7073,25 @@ class Client extends openapi_client_1.default {
6354
7073
  });
6355
7074
  return $tea.cast(await this.callApi(params, req, runtime), new ListResourceInstanceWorkerResponse({}));
6356
7075
  }
7076
+ /**
7077
+ * @summary Queries a list of workers in a resource group.
7078
+ *
7079
+ * @param request ListResourceInstanceWorkerRequest
7080
+ * @return ListResourceInstanceWorkerResponse
7081
+ */
6357
7082
  async listResourceInstanceWorker(ClusterId, ResourceId, InstanceName, request) {
6358
7083
  let runtime = new $Util.RuntimeOptions({});
6359
7084
  let headers = {};
6360
7085
  return await this.listResourceInstanceWorkerWithOptions(ClusterId, ResourceId, InstanceName, request, headers, runtime);
6361
7086
  }
7087
+ /**
7088
+ * @summary Queries a list of instances in a dedicated resource group.
7089
+ *
7090
+ * @param request ListResourceInstancesRequest
7091
+ * @param headers map
7092
+ * @param runtime runtime options for this request RuntimeOptions
7093
+ * @return ListResourceInstancesResponse
7094
+ */
6362
7095
  async listResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime) {
6363
7096
  tea_util_1.default.validateModel(request);
6364
7097
  let query = {};
@@ -6409,11 +7142,25 @@ class Client extends openapi_client_1.default {
6409
7142
  });
6410
7143
  return $tea.cast(await this.callApi(params, req, runtime), new ListResourceInstancesResponse({}));
6411
7144
  }
7145
+ /**
7146
+ * @summary Queries a list of instances in a dedicated resource group.
7147
+ *
7148
+ * @param request ListResourceInstancesRequest
7149
+ * @return ListResourceInstancesResponse
7150
+ */
6412
7151
  async listResourceInstances(ClusterId, ResourceId, request) {
6413
7152
  let runtime = new $Util.RuntimeOptions({});
6414
7153
  let headers = {};
6415
7154
  return await this.listResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
6416
7155
  }
7156
+ /**
7157
+ * @summary Queries a list of services that are deployed in the dedicated resource group.
7158
+ *
7159
+ * @param request ListResourceServicesRequest
7160
+ * @param headers map
7161
+ * @param runtime runtime options for this request RuntimeOptions
7162
+ * @return ListResourceServicesResponse
7163
+ */
6417
7164
  async listResourceServicesWithOptions(ClusterId, ResourceId, request, headers, runtime) {
6418
7165
  tea_util_1.default.validateModel(request);
6419
7166
  let query = {};
@@ -6440,11 +7187,25 @@ class Client extends openapi_client_1.default {
6440
7187
  });
6441
7188
  return $tea.cast(await this.callApi(params, req, runtime), new ListResourceServicesResponse({}));
6442
7189
  }
7190
+ /**
7191
+ * @summary Queries a list of services that are deployed in the dedicated resource group.
7192
+ *
7193
+ * @param request ListResourceServicesRequest
7194
+ * @return ListResourceServicesResponse
7195
+ */
6443
7196
  async listResourceServices(ClusterId, ResourceId, request) {
6444
7197
  let runtime = new $Util.RuntimeOptions({});
6445
7198
  let headers = {};
6446
7199
  return await this.listResourceServicesWithOptions(ClusterId, ResourceId, request, headers, runtime);
6447
7200
  }
7201
+ /**
7202
+ * @summary Queries a list of dedicated resource groups for the current user.
7203
+ *
7204
+ * @param request ListResourcesRequest
7205
+ * @param headers map
7206
+ * @param runtime runtime options for this request RuntimeOptions
7207
+ * @return ListResourcesResponse
7208
+ */
6448
7209
  async listResourcesWithOptions(request, headers, runtime) {
6449
7210
  tea_util_1.default.validateModel(request);
6450
7211
  let query = {};
@@ -6480,11 +7241,24 @@ class Client extends openapi_client_1.default {
6480
7241
  });
6481
7242
  return $tea.cast(await this.callApi(params, req, runtime), new ListResourcesResponse({}));
6482
7243
  }
7244
+ /**
7245
+ * @summary Queries a list of dedicated resource groups for the current user.
7246
+ *
7247
+ * @param request ListResourcesRequest
7248
+ * @return ListResourcesResponse
7249
+ */
6483
7250
  async listResources(request) {
6484
7251
  let runtime = new $Util.RuntimeOptions({});
6485
7252
  let headers = {};
6486
7253
  return await this.listResourcesWithOptions(request, headers, runtime);
6487
7254
  }
7255
+ /**
7256
+ * @summary Queries the containers of a service.
7257
+ *
7258
+ * @param headers map
7259
+ * @param runtime runtime options for this request RuntimeOptions
7260
+ * @return ListServiceContainersResponse
7261
+ */
6488
7262
  async listServiceContainersWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime) {
6489
7263
  let req = new $OpenApi.OpenApiRequest({
6490
7264
  headers: headers,
@@ -6502,11 +7276,24 @@ class Client extends openapi_client_1.default {
6502
7276
  });
6503
7277
  return $tea.cast(await this.callApi(params, req, runtime), new ListServiceContainersResponse({}));
6504
7278
  }
7279
+ /**
7280
+ * @summary Queries the containers of a service.
7281
+ *
7282
+ * @return ListServiceContainersResponse
7283
+ */
6505
7284
  async listServiceContainers(ClusterId, ServiceName, InstanceName) {
6506
7285
  let runtime = new $Util.RuntimeOptions({});
6507
7286
  let headers = {};
6508
7287
  return await this.listServiceContainersWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime);
6509
7288
  }
7289
+ /**
7290
+ * @summary Queries instances of a service.
7291
+ *
7292
+ * @param request ListServiceInstancesRequest
7293
+ * @param headers map
7294
+ * @param runtime runtime options for this request RuntimeOptions
7295
+ * @return ListServiceInstancesResponse
7296
+ */
6510
7297
  async listServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime) {
6511
7298
  tea_util_1.default.validateModel(request);
6512
7299
  let query = {};
@@ -6566,11 +7353,25 @@ class Client extends openapi_client_1.default {
6566
7353
  });
6567
7354
  return $tea.cast(await this.callApi(params, req, runtime), new ListServiceInstancesResponse({}));
6568
7355
  }
7356
+ /**
7357
+ * @summary Queries instances of a service.
7358
+ *
7359
+ * @param request ListServiceInstancesRequest
7360
+ * @return ListServiceInstancesResponse
7361
+ */
6569
7362
  async listServiceInstances(ClusterId, ServiceName, request) {
6570
7363
  let runtime = new $Util.RuntimeOptions({});
6571
7364
  let headers = {};
6572
7365
  return await this.listServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime);
6573
7366
  }
7367
+ /**
7368
+ * @summary Queries the information about the historical versions of a service.
7369
+ *
7370
+ * @param request ListServiceVersionsRequest
7371
+ * @param headers map
7372
+ * @param runtime runtime options for this request RuntimeOptions
7373
+ * @return ListServiceVersionsResponse
7374
+ */
6574
7375
  async listServiceVersionsWithOptions(ClusterId, ServiceName, request, headers, runtime) {
6575
7376
  tea_util_1.default.validateModel(request);
6576
7377
  let query = {};
@@ -6597,11 +7398,25 @@ class Client extends openapi_client_1.default {
6597
7398
  });
6598
7399
  return $tea.cast(await this.callApi(params, req, runtime), new ListServiceVersionsResponse({}));
6599
7400
  }
7401
+ /**
7402
+ * @summary Queries the information about the historical versions of a service.
7403
+ *
7404
+ * @param request ListServiceVersionsRequest
7405
+ * @return ListServiceVersionsResponse
7406
+ */
6600
7407
  async listServiceVersions(ClusterId, ServiceName, request) {
6601
7408
  let runtime = new $Util.RuntimeOptions({});
6602
7409
  let headers = {};
6603
7410
  return await this.listServiceVersionsWithOptions(ClusterId, ServiceName, request, headers, runtime);
6604
7411
  }
7412
+ /**
7413
+ * @summary Queries a list of services that are created by the current user.
7414
+ *
7415
+ * @param tmpReq ListServicesRequest
7416
+ * @param headers map
7417
+ * @param runtime runtime options for this request RuntimeOptions
7418
+ * @return ListServicesResponse
7419
+ */
6605
7420
  async listServicesWithOptions(tmpReq, headers, runtime) {
6606
7421
  tea_util_1.default.validateModel(tmpReq);
6607
7422
  let request = new ListServicesShrinkRequest({});
@@ -6672,11 +7487,25 @@ class Client extends openapi_client_1.default {
6672
7487
  });
6673
7488
  return $tea.cast(await this.callApi(params, req, runtime), new ListServicesResponse({}));
6674
7489
  }
7490
+ /**
7491
+ * @summary Queries a list of services that are created by the current user.
7492
+ *
7493
+ * @param request ListServicesRequest
7494
+ * @return ListServicesResponse
7495
+ */
6675
7496
  async listServices(request) {
6676
7497
  let runtime = new $Util.RuntimeOptions({});
6677
7498
  let headers = {};
6678
7499
  return await this.listServicesWithOptions(request, headers, runtime);
6679
7500
  }
7501
+ /**
7502
+ * @summary Performs canary release or blue-green release of a service.
7503
+ *
7504
+ * @param request ReleaseServiceRequest
7505
+ * @param headers map
7506
+ * @param runtime runtime options for this request RuntimeOptions
7507
+ * @return ReleaseServiceResponse
7508
+ */
6680
7509
  async releaseServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
6681
7510
  tea_util_1.default.validateModel(request);
6682
7511
  let body = {};
@@ -6703,11 +7532,24 @@ class Client extends openapi_client_1.default {
6703
7532
  });
6704
7533
  return $tea.cast(await this.callApi(params, req, runtime), new ReleaseServiceResponse({}));
6705
7534
  }
7535
+ /**
7536
+ * @summary Performs canary release or blue-green release of a service.
7537
+ *
7538
+ * @param request ReleaseServiceRequest
7539
+ * @return ReleaseServiceResponse
7540
+ */
6706
7541
  async releaseService(ClusterId, ServiceName, request) {
6707
7542
  let runtime = new $Util.RuntimeOptions({});
6708
7543
  let headers = {};
6709
7544
  return await this.releaseServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
6710
7545
  }
7546
+ /**
7547
+ * @summary Restarts a service.
7548
+ *
7549
+ * @param headers map
7550
+ * @param runtime runtime options for this request RuntimeOptions
7551
+ * @return RestartServiceResponse
7552
+ */
6711
7553
  async restartServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
6712
7554
  let req = new $OpenApi.OpenApiRequest({
6713
7555
  headers: headers,
@@ -6725,11 +7567,23 @@ class Client extends openapi_client_1.default {
6725
7567
  });
6726
7568
  return $tea.cast(await this.callApi(params, req, runtime), new RestartServiceResponse({}));
6727
7569
  }
7570
+ /**
7571
+ * @summary Restarts a service.
7572
+ *
7573
+ * @return RestartServiceResponse
7574
+ */
6728
7575
  async restartService(ClusterId, ServiceName) {
6729
7576
  let runtime = new $Util.RuntimeOptions({});
6730
7577
  let headers = {};
6731
7578
  return await this.restartServiceWithOptions(ClusterId, ServiceName, headers, runtime);
6732
7579
  }
7580
+ /**
7581
+ * @summary Starts a stress testing task.
7582
+ *
7583
+ * @param headers map
7584
+ * @param runtime runtime options for this request RuntimeOptions
7585
+ * @return StartBenchmarkTaskResponse
7586
+ */
6733
7587
  async startBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime) {
6734
7588
  let req = new $OpenApi.OpenApiRequest({
6735
7589
  headers: headers,
@@ -6747,11 +7601,23 @@ class Client extends openapi_client_1.default {
6747
7601
  });
6748
7602
  return $tea.cast(await this.callApi(params, req, runtime), new StartBenchmarkTaskResponse({}));
6749
7603
  }
7604
+ /**
7605
+ * @summary Starts a stress testing task.
7606
+ *
7607
+ * @return StartBenchmarkTaskResponse
7608
+ */
6750
7609
  async startBenchmarkTask(ClusterId, TaskName) {
6751
7610
  let runtime = new $Util.RuntimeOptions({});
6752
7611
  let headers = {};
6753
7612
  return await this.startBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
6754
7613
  }
7614
+ /**
7615
+ * @summary Starts a service.
7616
+ *
7617
+ * @param headers map
7618
+ * @param runtime runtime options for this request RuntimeOptions
7619
+ * @return StartServiceResponse
7620
+ */
6755
7621
  async startServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
6756
7622
  let req = new $OpenApi.OpenApiRequest({
6757
7623
  headers: headers,
@@ -6769,11 +7635,23 @@ class Client extends openapi_client_1.default {
6769
7635
  });
6770
7636
  return $tea.cast(await this.callApi(params, req, runtime), new StartServiceResponse({}));
6771
7637
  }
7638
+ /**
7639
+ * @summary Starts a service.
7640
+ *
7641
+ * @return StartServiceResponse
7642
+ */
6772
7643
  async startService(ClusterId, ServiceName) {
6773
7644
  let runtime = new $Util.RuntimeOptions({});
6774
7645
  let headers = {};
6775
7646
  return await this.startServiceWithOptions(ClusterId, ServiceName, headers, runtime);
6776
7647
  }
7648
+ /**
7649
+ * @summary Stops a stress testing task.
7650
+ *
7651
+ * @param headers map
7652
+ * @param runtime runtime options for this request RuntimeOptions
7653
+ * @return StopBenchmarkTaskResponse
7654
+ */
6777
7655
  async stopBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime) {
6778
7656
  let req = new $OpenApi.OpenApiRequest({
6779
7657
  headers: headers,
@@ -6791,11 +7669,23 @@ class Client extends openapi_client_1.default {
6791
7669
  });
6792
7670
  return $tea.cast(await this.callApi(params, req, runtime), new StopBenchmarkTaskResponse({}));
6793
7671
  }
7672
+ /**
7673
+ * @summary Stops a stress testing task.
7674
+ *
7675
+ * @return StopBenchmarkTaskResponse
7676
+ */
6794
7677
  async stopBenchmarkTask(ClusterId, TaskName) {
6795
7678
  let runtime = new $Util.RuntimeOptions({});
6796
7679
  let headers = {};
6797
7680
  return await this.stopBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
6798
7681
  }
7682
+ /**
7683
+ * @summary Stops a running service.
7684
+ *
7685
+ * @param headers map
7686
+ * @param runtime runtime options for this request RuntimeOptions
7687
+ * @return StopServiceResponse
7688
+ */
6799
7689
  async stopServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
6800
7690
  let req = new $OpenApi.OpenApiRequest({
6801
7691
  headers: headers,
@@ -6813,11 +7703,24 @@ class Client extends openapi_client_1.default {
6813
7703
  });
6814
7704
  return $tea.cast(await this.callApi(params, req, runtime), new StopServiceResponse({}));
6815
7705
  }
7706
+ /**
7707
+ * @summary Stops a running service.
7708
+ *
7709
+ * @return StopServiceResponse
7710
+ */
6816
7711
  async stopService(ClusterId, ServiceName) {
6817
7712
  let runtime = new $Util.RuntimeOptions({});
6818
7713
  let headers = {};
6819
7714
  return await this.stopServiceWithOptions(ClusterId, ServiceName, headers, runtime);
6820
7715
  }
7716
+ /**
7717
+ * @summary Updates an application service.
7718
+ *
7719
+ * @param request UpdateAppServiceRequest
7720
+ * @param headers map
7721
+ * @param runtime runtime options for this request RuntimeOptions
7722
+ * @return UpdateAppServiceResponse
7723
+ */
6821
7724
  async updateAppServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
6822
7725
  tea_util_1.default.validateModel(request);
6823
7726
  let query = {};
@@ -6861,11 +7764,25 @@ class Client extends openapi_client_1.default {
6861
7764
  });
6862
7765
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateAppServiceResponse({}));
6863
7766
  }
7767
+ /**
7768
+ * @summary Updates an application service.
7769
+ *
7770
+ * @param request UpdateAppServiceRequest
7771
+ * @return UpdateAppServiceResponse
7772
+ */
6864
7773
  async updateAppService(ClusterId, ServiceName, request) {
6865
7774
  let runtime = new $Util.RuntimeOptions({});
6866
7775
  let headers = {};
6867
7776
  return await this.updateAppServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
6868
7777
  }
7778
+ /**
7779
+ * @summary Updates a stress testing task.
7780
+ *
7781
+ * @param request UpdateBenchmarkTaskRequest
7782
+ * @param headers map
7783
+ * @param runtime runtime options for this request RuntimeOptions
7784
+ * @return UpdateBenchmarkTaskResponse
7785
+ */
6869
7786
  async updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime) {
6870
7787
  tea_util_1.default.validateModel(request);
6871
7788
  let req = new $OpenApi.OpenApiRequest({
@@ -6885,11 +7802,25 @@ class Client extends openapi_client_1.default {
6885
7802
  });
6886
7803
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateBenchmarkTaskResponse({}));
6887
7804
  }
7805
+ /**
7806
+ * @summary Updates a stress testing task.
7807
+ *
7808
+ * @param request UpdateBenchmarkTaskRequest
7809
+ * @return UpdateBenchmarkTaskResponse
7810
+ */
6888
7811
  async updateBenchmarkTask(ClusterId, TaskName, request) {
6889
7812
  let runtime = new $Util.RuntimeOptions({});
6890
7813
  let headers = {};
6891
7814
  return await this.updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
6892
7815
  }
7816
+ /**
7817
+ * @summary Update a private gateway.
7818
+ *
7819
+ * @param request UpdateGatewayRequest
7820
+ * @param headers map
7821
+ * @param runtime runtime options for this request RuntimeOptions
7822
+ * @return UpdateGatewayResponse
7823
+ */
6893
7824
  async updateGatewayWithOptions(GatewayId, ClusterId, request, headers, runtime) {
6894
7825
  tea_util_1.default.validateModel(request);
6895
7826
  let body = {};
@@ -6922,11 +7853,25 @@ class Client extends openapi_client_1.default {
6922
7853
  });
6923
7854
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateGatewayResponse({}));
6924
7855
  }
7856
+ /**
7857
+ * @summary Update a private gateway.
7858
+ *
7859
+ * @param request UpdateGatewayRequest
7860
+ * @return UpdateGatewayResponse
7861
+ */
6925
7862
  async updateGateway(GatewayId, ClusterId, request) {
6926
7863
  let runtime = new $Util.RuntimeOptions({});
6927
7864
  let headers = {};
6928
7865
  return await this.updateGatewayWithOptions(GatewayId, ClusterId, request, headers, runtime);
6929
7866
  }
7867
+ /**
7868
+ * @summary Updates the information about a dedicated resource group. Only the name of a dedicated resource group can be updated.
7869
+ *
7870
+ * @param request UpdateResourceRequest
7871
+ * @param headers map
7872
+ * @param runtime runtime options for this request RuntimeOptions
7873
+ * @return UpdateResourceResponse
7874
+ */
6930
7875
  async updateResourceWithOptions(ClusterId, ResourceId, request, headers, runtime) {
6931
7876
  tea_util_1.default.validateModel(request);
6932
7877
  let body = {};
@@ -6953,11 +7898,25 @@ class Client extends openapi_client_1.default {
6953
7898
  });
6954
7899
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateResourceResponse({}));
6955
7900
  }
7901
+ /**
7902
+ * @summary Updates the information about a dedicated resource group. Only the name of a dedicated resource group can be updated.
7903
+ *
7904
+ * @param request UpdateResourceRequest
7905
+ * @return UpdateResourceResponse
7906
+ */
6956
7907
  async updateResource(ClusterId, ResourceId, request) {
6957
7908
  let runtime = new $Util.RuntimeOptions({});
6958
7909
  let headers = {};
6959
7910
  return await this.updateResourceWithOptions(ClusterId, ResourceId, request, headers, runtime);
6960
7911
  }
7912
+ /**
7913
+ * @summary Updates the configurations of a virtual private cloud (VPC) direct connection for a dedicated resource group.
7914
+ *
7915
+ * @param request UpdateResourceDLinkRequest
7916
+ * @param headers map
7917
+ * @param runtime runtime options for this request RuntimeOptions
7918
+ * @return UpdateResourceDLinkResponse
7919
+ */
6961
7920
  async updateResourceDLinkWithOptions(ClusterId, ResourceId, request, headers, runtime) {
6962
7921
  tea_util_1.default.validateModel(request);
6963
7922
  let body = {};
@@ -6990,11 +7949,25 @@ class Client extends openapi_client_1.default {
6990
7949
  });
6991
7950
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateResourceDLinkResponse({}));
6992
7951
  }
7952
+ /**
7953
+ * @summary Updates the configurations of a virtual private cloud (VPC) direct connection for a dedicated resource group.
7954
+ *
7955
+ * @param request UpdateResourceDLinkRequest
7956
+ * @return UpdateResourceDLinkResponse
7957
+ */
6993
7958
  async updateResourceDLink(ClusterId, ResourceId, request) {
6994
7959
  let runtime = new $Util.RuntimeOptions({});
6995
7960
  let headers = {};
6996
7961
  return await this.updateResourceDLinkWithOptions(ClusterId, ResourceId, request, headers, runtime);
6997
7962
  }
7963
+ /**
7964
+ * @summary Updates the service scheduling status of an instance in a dedicated resource group.
7965
+ *
7966
+ * @param request UpdateResourceInstanceRequest
7967
+ * @param headers map
7968
+ * @param runtime runtime options for this request RuntimeOptions
7969
+ * @return UpdateResourceInstanceResponse
7970
+ */
6998
7971
  async updateResourceInstanceWithOptions(ClusterId, ResourceId, InstanceId, request, headers, runtime) {
6999
7972
  tea_util_1.default.validateModel(request);
7000
7973
  let body = {};
@@ -7018,11 +7991,25 @@ class Client extends openapi_client_1.default {
7018
7991
  });
7019
7992
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateResourceInstanceResponse({}));
7020
7993
  }
7994
+ /**
7995
+ * @summary Updates the service scheduling status of an instance in a dedicated resource group.
7996
+ *
7997
+ * @param request UpdateResourceInstanceRequest
7998
+ * @return UpdateResourceInstanceResponse
7999
+ */
7021
8000
  async updateResourceInstance(ClusterId, ResourceId, InstanceId, request) {
7022
8001
  let runtime = new $Util.RuntimeOptions({});
7023
8002
  let headers = {};
7024
8003
  return await this.updateResourceInstanceWithOptions(ClusterId, ResourceId, InstanceId, request, headers, runtime);
7025
8004
  }
8005
+ /**
8006
+ * @summary Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.
8007
+ *
8008
+ * @param request UpdateServiceRequest
8009
+ * @param headers map
8010
+ * @param runtime runtime options for this request RuntimeOptions
8011
+ * @return UpdateServiceResponse
8012
+ */
7026
8013
  async updateServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
7027
8014
  tea_util_1.default.validateModel(request);
7028
8015
  let query = {};
@@ -7047,11 +8034,25 @@ class Client extends openapi_client_1.default {
7047
8034
  });
7048
8035
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceResponse({}));
7049
8036
  }
8037
+ /**
8038
+ * @summary Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.
8039
+ *
8040
+ * @param request UpdateServiceRequest
8041
+ * @return UpdateServiceResponse
8042
+ */
7050
8043
  async updateService(ClusterId, ServiceName, request) {
7051
8044
  let runtime = new $Util.RuntimeOptions({});
7052
8045
  let headers = {};
7053
8046
  return await this.updateServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
7054
8047
  }
8048
+ /**
8049
+ * @summary Updates the Autoscaler configurations of a service.
8050
+ *
8051
+ * @param request UpdateServiceAutoScalerRequest
8052
+ * @param headers map
8053
+ * @param runtime runtime options for this request RuntimeOptions
8054
+ * @return UpdateServiceAutoScalerResponse
8055
+ */
7055
8056
  async updateServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime) {
7056
8057
  tea_util_1.default.validateModel(request);
7057
8058
  let body = {};
@@ -7084,11 +8085,25 @@ class Client extends openapi_client_1.default {
7084
8085
  });
7085
8086
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceAutoScalerResponse({}));
7086
8087
  }
8088
+ /**
8089
+ * @summary Updates the Autoscaler configurations of a service.
8090
+ *
8091
+ * @param request UpdateServiceAutoScalerRequest
8092
+ * @return UpdateServiceAutoScalerResponse
8093
+ */
7087
8094
  async updateServiceAutoScaler(ClusterId, ServiceName, request) {
7088
8095
  let runtime = new $Util.RuntimeOptions({});
7089
8096
  let headers = {};
7090
8097
  return await this.updateServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
7091
8098
  }
8099
+ /**
8100
+ * @summary Updates the Cron Horizontal Pod Autoscaler (CronHPA) settings of a service.
8101
+ *
8102
+ * @param request UpdateServiceCronScalerRequest
8103
+ * @param headers map
8104
+ * @param runtime runtime options for this request RuntimeOptions
8105
+ * @return UpdateServiceCronScalerResponse
8106
+ */
7092
8107
  async updateServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime) {
7093
8108
  tea_util_1.default.validateModel(request);
7094
8109
  let body = {};
@@ -7115,11 +8130,25 @@ class Client extends openapi_client_1.default {
7115
8130
  });
7116
8131
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceCronScalerResponse({}));
7117
8132
  }
8133
+ /**
8134
+ * @summary Updates the Cron Horizontal Pod Autoscaler (CronHPA) settings of a service.
8135
+ *
8136
+ * @param request UpdateServiceCronScalerRequest
8137
+ * @return UpdateServiceCronScalerResponse
8138
+ */
7118
8139
  async updateServiceCronScaler(ClusterId, ServiceName, request) {
7119
8140
  let runtime = new $Util.RuntimeOptions({});
7120
8141
  let headers = {};
7121
8142
  return await this.updateServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
7122
8143
  }
8144
+ /**
8145
+ * @summary Updates attributes of service instances. Only isolation can be performed for service instances.
8146
+ *
8147
+ * @param request UpdateServiceInstanceRequest
8148
+ * @param headers map
8149
+ * @param runtime runtime options for this request RuntimeOptions
8150
+ * @return UpdateServiceInstanceResponse
8151
+ */
7123
8152
  async updateServiceInstanceWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime) {
7124
8153
  tea_util_1.default.validateModel(request);
7125
8154
  let body = {};
@@ -7143,11 +8172,25 @@ class Client extends openapi_client_1.default {
7143
8172
  });
7144
8173
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceInstanceResponse({}));
7145
8174
  }
8175
+ /**
8176
+ * @summary Updates attributes of service instances. Only isolation can be performed for service instances.
8177
+ *
8178
+ * @param request UpdateServiceInstanceRequest
8179
+ * @return UpdateServiceInstanceResponse
8180
+ */
7146
8181
  async updateServiceInstance(ClusterId, ServiceName, InstanceName, request) {
7147
8182
  let runtime = new $Util.RuntimeOptions({});
7148
8183
  let headers = {};
7149
8184
  return await this.updateServiceInstanceWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime);
7150
8185
  }
8186
+ /**
8187
+ * @summary Adds service tags or updates existing service tags.
8188
+ *
8189
+ * @param request UpdateServiceLabelRequest
8190
+ * @param headers map
8191
+ * @param runtime runtime options for this request RuntimeOptions
8192
+ * @return UpdateServiceLabelResponse
8193
+ */
7151
8194
  async updateServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime) {
7152
8195
  tea_util_1.default.validateModel(request);
7153
8196
  let body = {};
@@ -7171,11 +8214,25 @@ class Client extends openapi_client_1.default {
7171
8214
  });
7172
8215
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceLabelResponse({}));
7173
8216
  }
8217
+ /**
8218
+ * @summary Adds service tags or updates existing service tags.
8219
+ *
8220
+ * @param request UpdateServiceLabelRequest
8221
+ * @return UpdateServiceLabelResponse
8222
+ */
7174
8223
  async updateServiceLabel(ClusterId, ServiceName, request) {
7175
8224
  let runtime = new $Util.RuntimeOptions({});
7176
8225
  let headers = {};
7177
8226
  return await this.updateServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime);
7178
8227
  }
8228
+ /**
8229
+ * @summary Updates the traffic mirroring configurations of a service.
8230
+ *
8231
+ * @param request UpdateServiceMirrorRequest
8232
+ * @param headers map
8233
+ * @param runtime runtime options for this request RuntimeOptions
8234
+ * @return UpdateServiceMirrorResponse
8235
+ */
7179
8236
  async updateServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime) {
7180
8237
  tea_util_1.default.validateModel(request);
7181
8238
  let body = {};
@@ -7202,11 +8259,25 @@ class Client extends openapi_client_1.default {
7202
8259
  });
7203
8260
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceMirrorResponse({}));
7204
8261
  }
8262
+ /**
8263
+ * @summary Updates the traffic mirroring configurations of a service.
8264
+ *
8265
+ * @param request UpdateServiceMirrorRequest
8266
+ * @return UpdateServiceMirrorResponse
8267
+ */
7205
8268
  async updateServiceMirror(ClusterId, ServiceName, request) {
7206
8269
  let runtime = new $Util.RuntimeOptions({});
7207
8270
  let headers = {};
7208
8271
  return await this.updateServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
7209
8272
  }
8273
+ /**
8274
+ * @summary Updates the safety lock of a service to minimize misoperations on the service.
8275
+ *
8276
+ * @param request UpdateServiceSafetyLockRequest
8277
+ * @param headers map
8278
+ * @param runtime runtime options for this request RuntimeOptions
8279
+ * @return UpdateServiceSafetyLockResponse
8280
+ */
7210
8281
  async updateServiceSafetyLockWithOptions(ClusterId, ServiceName, request, headers, runtime) {
7211
8282
  tea_util_1.default.validateModel(request);
7212
8283
  let body = {};
@@ -7230,11 +8301,25 @@ class Client extends openapi_client_1.default {
7230
8301
  });
7231
8302
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceSafetyLockResponse({}));
7232
8303
  }
8304
+ /**
8305
+ * @summary Updates the safety lock of a service to minimize misoperations on the service.
8306
+ *
8307
+ * @param request UpdateServiceSafetyLockRequest
8308
+ * @return UpdateServiceSafetyLockResponse
8309
+ */
7233
8310
  async updateServiceSafetyLock(ClusterId, ServiceName, request) {
7234
8311
  let runtime = new $Util.RuntimeOptions({});
7235
8312
  let headers = {};
7236
8313
  return await this.updateServiceSafetyLockWithOptions(ClusterId, ServiceName, request, headers, runtime);
7237
8314
  }
8315
+ /**
8316
+ * @summary Updates the version of a service or rolls back the service to a specific version.
8317
+ *
8318
+ * @param request UpdateServiceVersionRequest
8319
+ * @param headers map
8320
+ * @param runtime runtime options for this request RuntimeOptions
8321
+ * @return UpdateServiceVersionResponse
8322
+ */
7238
8323
  async updateServiceVersionWithOptions(ClusterId, ServiceName, request, headers, runtime) {
7239
8324
  tea_util_1.default.validateModel(request);
7240
8325
  let body = {};
@@ -7258,6 +8343,12 @@ class Client extends openapi_client_1.default {
7258
8343
  });
7259
8344
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceVersionResponse({}));
7260
8345
  }
8346
+ /**
8347
+ * @summary Updates the version of a service or rolls back the service to a specific version.
8348
+ *
8349
+ * @param request UpdateServiceVersionRequest
8350
+ * @return UpdateServiceVersionResponse
8351
+ */
7261
8352
  async updateServiceVersion(ClusterId, ServiceName, request) {
7262
8353
  let runtime = new $Util.RuntimeOptions({});
7263
8354
  let headers = {};