@alicloud/eas20210701 4.2.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.d.ts +987 -10
- package/dist/client.js +992 -10
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +997 -10
package/dist/client.js
CHANGED
|
@@ -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) {
|
|
@@ -5095,6 +5105,14 @@ class Client extends openapi_client_1.default {
|
|
|
5095
5105
|
}
|
|
5096
5106
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
5097
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
|
+
*/
|
|
5098
5116
|
async cloneServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
5099
5117
|
tea_util_1.default.validateModel(request);
|
|
5100
5118
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -5114,11 +5132,24 @@ class Client extends openapi_client_1.default {
|
|
|
5114
5132
|
});
|
|
5115
5133
|
return $tea.cast(await this.callApi(params, req, runtime), new CloneServiceResponse({}));
|
|
5116
5134
|
}
|
|
5135
|
+
/**
|
|
5136
|
+
* @summary Clones a service.
|
|
5137
|
+
*
|
|
5138
|
+
* @param request CloneServiceRequest
|
|
5139
|
+
* @return CloneServiceResponse
|
|
5140
|
+
*/
|
|
5117
5141
|
async cloneService(ClusterId, ServiceName, request) {
|
|
5118
5142
|
let runtime = new $Util.RuntimeOptions({});
|
|
5119
5143
|
let headers = {};
|
|
5120
5144
|
return await this.cloneServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
5121
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
|
+
*/
|
|
5122
5153
|
async commitServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
5123
5154
|
let req = new $OpenApi.OpenApiRequest({
|
|
5124
5155
|
headers: headers,
|
|
@@ -5136,11 +5167,24 @@ class Client extends openapi_client_1.default {
|
|
|
5136
5167
|
});
|
|
5137
5168
|
return $tea.cast(await this.callApi(params, req, runtime), new CommitServiceResponse({}));
|
|
5138
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
|
+
*/
|
|
5139
5175
|
async commitService(ClusterId, ServiceName) {
|
|
5140
5176
|
let runtime = new $Util.RuntimeOptions({});
|
|
5141
5177
|
let headers = {};
|
|
5142
5178
|
return await this.commitServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
5143
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
|
+
*/
|
|
5144
5188
|
async createAppServiceWithOptions(request, headers, runtime) {
|
|
5145
5189
|
tea_util_1.default.validateModel(request);
|
|
5146
5190
|
let query = {};
|
|
@@ -5187,11 +5231,25 @@ class Client extends openapi_client_1.default {
|
|
|
5187
5231
|
});
|
|
5188
5232
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAppServiceResponse({}));
|
|
5189
5233
|
}
|
|
5234
|
+
/**
|
|
5235
|
+
* @summary Creates an application service.
|
|
5236
|
+
*
|
|
5237
|
+
* @param request CreateAppServiceRequest
|
|
5238
|
+
* @return CreateAppServiceResponse
|
|
5239
|
+
*/
|
|
5190
5240
|
async createAppService(request) {
|
|
5191
5241
|
let runtime = new $Util.RuntimeOptions({});
|
|
5192
5242
|
let headers = {};
|
|
5193
5243
|
return await this.createAppServiceWithOptions(request, headers, runtime);
|
|
5194
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
|
+
*/
|
|
5195
5253
|
async createBenchmarkTaskWithOptions(request, headers, runtime) {
|
|
5196
5254
|
tea_util_1.default.validateModel(request);
|
|
5197
5255
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -5211,11 +5269,25 @@ class Client extends openapi_client_1.default {
|
|
|
5211
5269
|
});
|
|
5212
5270
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateBenchmarkTaskResponse({}));
|
|
5213
5271
|
}
|
|
5272
|
+
/**
|
|
5273
|
+
* @summary Creates a stress testing task.
|
|
5274
|
+
*
|
|
5275
|
+
* @param request CreateBenchmarkTaskRequest
|
|
5276
|
+
* @return CreateBenchmarkTaskResponse
|
|
5277
|
+
*/
|
|
5214
5278
|
async createBenchmarkTask(request) {
|
|
5215
5279
|
let runtime = new $Util.RuntimeOptions({});
|
|
5216
5280
|
let headers = {};
|
|
5217
5281
|
return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
|
|
5218
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
|
+
*/
|
|
5219
5291
|
async createGatewayWithOptions(request, headers, runtime) {
|
|
5220
5292
|
tea_util_1.default.validateModel(request);
|
|
5221
5293
|
let query = {};
|
|
@@ -5253,11 +5325,25 @@ class Client extends openapi_client_1.default {
|
|
|
5253
5325
|
});
|
|
5254
5326
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGatewayResponse({}));
|
|
5255
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
|
+
*/
|
|
5256
5334
|
async createGateway(request) {
|
|
5257
5335
|
let runtime = new $Util.RuntimeOptions({});
|
|
5258
5336
|
let headers = {};
|
|
5259
5337
|
return await this.createGatewayWithOptions(request, headers, runtime);
|
|
5260
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
|
+
*/
|
|
5261
5347
|
async createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime) {
|
|
5262
5348
|
tea_util_1.default.validateModel(request);
|
|
5263
5349
|
let query = {};
|
|
@@ -5284,18 +5370,26 @@ class Client extends openapi_client_1.default {
|
|
|
5284
5370
|
});
|
|
5285
5371
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcResponse({}));
|
|
5286
5372
|
}
|
|
5373
|
+
/**
|
|
5374
|
+
* @summary Creates an internal endpoint of a private gateway.
|
|
5375
|
+
*
|
|
5376
|
+
* @param request CreateGatewayIntranetLinkedVpcRequest
|
|
5377
|
+
* @return CreateGatewayIntranetLinkedVpcResponse
|
|
5378
|
+
*/
|
|
5287
5379
|
async createGatewayIntranetLinkedVpc(ClusterId, GatewayId, request) {
|
|
5288
5380
|
let runtime = new $Util.RuntimeOptions({});
|
|
5289
5381
|
let headers = {};
|
|
5290
5382
|
return await this.createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
5291
5383
|
}
|
|
5292
5384
|
/**
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
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
|
|
5299
5393
|
*/
|
|
5300
5394
|
async createResourceWithOptions(request, headers, runtime) {
|
|
5301
5395
|
tea_util_1.default.validateModel(request);
|
|
@@ -5342,16 +5436,26 @@ class Client extends openapi_client_1.default {
|
|
|
5342
5436
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateResourceResponse({}));
|
|
5343
5437
|
}
|
|
5344
5438
|
/**
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
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
|
|
5349
5445
|
*/
|
|
5350
5446
|
async createResource(request) {
|
|
5351
5447
|
let runtime = new $Util.RuntimeOptions({});
|
|
5352
5448
|
let headers = {};
|
|
5353
5449
|
return await this.createResourceWithOptions(request, headers, runtime);
|
|
5354
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
|
+
*/
|
|
5355
5459
|
async createResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime) {
|
|
5356
5460
|
tea_util_1.default.validateModel(request);
|
|
5357
5461
|
let body = {};
|
|
@@ -5393,11 +5497,25 @@ class Client extends openapi_client_1.default {
|
|
|
5393
5497
|
});
|
|
5394
5498
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateResourceInstancesResponse({}));
|
|
5395
5499
|
}
|
|
5500
|
+
/**
|
|
5501
|
+
* @summary Creates instances in a dedicated resource group.
|
|
5502
|
+
*
|
|
5503
|
+
* @param request CreateResourceInstancesRequest
|
|
5504
|
+
* @return CreateResourceInstancesResponse
|
|
5505
|
+
*/
|
|
5396
5506
|
async createResourceInstances(ClusterId, ResourceId, request) {
|
|
5397
5507
|
let runtime = new $Util.RuntimeOptions({});
|
|
5398
5508
|
let headers = {};
|
|
5399
5509
|
return await this.createResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
5400
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
|
+
*/
|
|
5401
5519
|
async createResourceLogWithOptions(ClusterId, ResourceId, request, headers, runtime) {
|
|
5402
5520
|
tea_util_1.default.validateModel(request);
|
|
5403
5521
|
let body = {};
|
|
@@ -5424,11 +5542,27 @@ class Client extends openapi_client_1.default {
|
|
|
5424
5542
|
});
|
|
5425
5543
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateResourceLogResponse({}));
|
|
5426
5544
|
}
|
|
5545
|
+
/**
|
|
5546
|
+
* @summary Enables the LogShipper feature of Log Service for a resource group.
|
|
5547
|
+
*
|
|
5548
|
+
* @param request CreateResourceLogRequest
|
|
5549
|
+
* @return CreateResourceLogResponse
|
|
5550
|
+
*/
|
|
5427
5551
|
async createResourceLog(ClusterId, ResourceId, request) {
|
|
5428
5552
|
let runtime = new $Util.RuntimeOptions({});
|
|
5429
5553
|
let headers = {};
|
|
5430
5554
|
return await this.createResourceLogWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
5431
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
|
+
*/
|
|
5432
5566
|
async createServiceWithOptions(tmpReq, headers, runtime) {
|
|
5433
5567
|
tea_util_1.default.validateModel(tmpReq);
|
|
5434
5568
|
let request = new CreateServiceShrinkRequest({});
|
|
@@ -5464,11 +5598,27 @@ class Client extends openapi_client_1.default {
|
|
|
5464
5598
|
});
|
|
5465
5599
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceResponse({}));
|
|
5466
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
|
+
*/
|
|
5467
5609
|
async createService(request) {
|
|
5468
5610
|
let runtime = new $Util.RuntimeOptions({});
|
|
5469
5611
|
let headers = {};
|
|
5470
5612
|
return await this.createServiceWithOptions(request, headers, runtime);
|
|
5471
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
|
+
*/
|
|
5472
5622
|
async createServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
5473
5623
|
tea_util_1.default.validateModel(request);
|
|
5474
5624
|
let body = {};
|
|
@@ -5501,11 +5651,25 @@ class Client extends openapi_client_1.default {
|
|
|
5501
5651
|
});
|
|
5502
5652
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceAutoScalerResponse({}));
|
|
5503
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
|
+
*/
|
|
5504
5660
|
async createServiceAutoScaler(ClusterId, ServiceName, request) {
|
|
5505
5661
|
let runtime = new $Util.RuntimeOptions({});
|
|
5506
5662
|
let headers = {};
|
|
5507
5663
|
return await this.createServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
5508
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
|
+
*/
|
|
5509
5673
|
async createServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
5510
5674
|
tea_util_1.default.validateModel(request);
|
|
5511
5675
|
let body = {};
|
|
@@ -5532,11 +5696,25 @@ class Client extends openapi_client_1.default {
|
|
|
5532
5696
|
});
|
|
5533
5697
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceCronScalerResponse({}));
|
|
5534
5698
|
}
|
|
5699
|
+
/**
|
|
5700
|
+
* @summary Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.
|
|
5701
|
+
*
|
|
5702
|
+
* @param request CreateServiceCronScalerRequest
|
|
5703
|
+
* @return CreateServiceCronScalerResponse
|
|
5704
|
+
*/
|
|
5535
5705
|
async createServiceCronScaler(ClusterId, ServiceName, request) {
|
|
5536
5706
|
let runtime = new $Util.RuntimeOptions({});
|
|
5537
5707
|
let headers = {};
|
|
5538
5708
|
return await this.createServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
5539
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
|
+
*/
|
|
5540
5718
|
async createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
5541
5719
|
tea_util_1.default.validateModel(request);
|
|
5542
5720
|
let body = {};
|
|
@@ -5563,11 +5741,24 @@ class Client extends openapi_client_1.default {
|
|
|
5563
5741
|
});
|
|
5564
5742
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
|
|
5565
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
|
+
*/
|
|
5566
5750
|
async createServiceMirror(ClusterId, ServiceName, request) {
|
|
5567
5751
|
let runtime = new $Util.RuntimeOptions({});
|
|
5568
5752
|
let headers = {};
|
|
5569
5753
|
return await this.createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
5570
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
|
+
*/
|
|
5571
5762
|
async deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime) {
|
|
5572
5763
|
let req = new $OpenApi.OpenApiRequest({
|
|
5573
5764
|
headers: headers,
|
|
@@ -5585,11 +5776,23 @@ class Client extends openapi_client_1.default {
|
|
|
5585
5776
|
});
|
|
5586
5777
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBenchmarkTaskResponse({}));
|
|
5587
5778
|
}
|
|
5779
|
+
/**
|
|
5780
|
+
* @summary Deletes a stress testing task.
|
|
5781
|
+
*
|
|
5782
|
+
* @return DeleteBenchmarkTaskResponse
|
|
5783
|
+
*/
|
|
5588
5784
|
async deleteBenchmarkTask(ClusterId, TaskName) {
|
|
5589
5785
|
let runtime = new $Util.RuntimeOptions({});
|
|
5590
5786
|
let headers = {};
|
|
5591
5787
|
return await this.deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
5592
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
|
+
*/
|
|
5593
5796
|
async deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime) {
|
|
5594
5797
|
let req = new $OpenApi.OpenApiRequest({
|
|
5595
5798
|
headers: headers,
|
|
@@ -5607,11 +5810,24 @@ class Client extends openapi_client_1.default {
|
|
|
5607
5810
|
});
|
|
5608
5811
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGatewayResponse({}));
|
|
5609
5812
|
}
|
|
5813
|
+
/**
|
|
5814
|
+
* @summary Deletes a private gateway.
|
|
5815
|
+
*
|
|
5816
|
+
* @return DeleteGatewayResponse
|
|
5817
|
+
*/
|
|
5610
5818
|
async deleteGateway(ClusterId, GatewayId) {
|
|
5611
5819
|
let runtime = new $Util.RuntimeOptions({});
|
|
5612
5820
|
let headers = {};
|
|
5613
5821
|
return await this.deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
5614
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
|
+
*/
|
|
5615
5831
|
async deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime) {
|
|
5616
5832
|
tea_util_1.default.validateModel(request);
|
|
5617
5833
|
let query = {};
|
|
@@ -5638,11 +5854,24 @@ class Client extends openapi_client_1.default {
|
|
|
5638
5854
|
});
|
|
5639
5855
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
|
|
5640
5856
|
}
|
|
5857
|
+
/**
|
|
5858
|
+
* @summary 删除网关内网访问端点
|
|
5859
|
+
*
|
|
5860
|
+
* @param request DeleteGatewayIntranetLinkedVpcRequest
|
|
5861
|
+
* @return DeleteGatewayIntranetLinkedVpcResponse
|
|
5862
|
+
*/
|
|
5641
5863
|
async deleteGatewayIntranetLinkedVpc(ClusterId, GatewayId, request) {
|
|
5642
5864
|
let runtime = new $Util.RuntimeOptions({});
|
|
5643
5865
|
let headers = {};
|
|
5644
5866
|
return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
5645
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
|
+
*/
|
|
5646
5875
|
async deleteResourceWithOptions(ClusterId, ResourceId, headers, runtime) {
|
|
5647
5876
|
let req = new $OpenApi.OpenApiRequest({
|
|
5648
5877
|
headers: headers,
|
|
@@ -5660,11 +5889,23 @@ class Client extends openapi_client_1.default {
|
|
|
5660
5889
|
});
|
|
5661
5890
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteResourceResponse({}));
|
|
5662
5891
|
}
|
|
5892
|
+
/**
|
|
5893
|
+
* @summary Deletes a resource group that contains no resources or instances.
|
|
5894
|
+
*
|
|
5895
|
+
* @return DeleteResourceResponse
|
|
5896
|
+
*/
|
|
5663
5897
|
async deleteResource(ClusterId, ResourceId) {
|
|
5664
5898
|
let runtime = new $Util.RuntimeOptions({});
|
|
5665
5899
|
let headers = {};
|
|
5666
5900
|
return await this.deleteResourceWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
5667
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
|
+
*/
|
|
5668
5909
|
async deleteResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime) {
|
|
5669
5910
|
let req = new $OpenApi.OpenApiRequest({
|
|
5670
5911
|
headers: headers,
|
|
@@ -5682,11 +5923,24 @@ class Client extends openapi_client_1.default {
|
|
|
5682
5923
|
});
|
|
5683
5924
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteResourceDLinkResponse({}));
|
|
5684
5925
|
}
|
|
5926
|
+
/**
|
|
5927
|
+
* @summary Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.
|
|
5928
|
+
*
|
|
5929
|
+
* @return DeleteResourceDLinkResponse
|
|
5930
|
+
*/
|
|
5685
5931
|
async deleteResourceDLink(ClusterId, ResourceId) {
|
|
5686
5932
|
let runtime = new $Util.RuntimeOptions({});
|
|
5687
5933
|
let headers = {};
|
|
5688
5934
|
return await this.deleteResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
5689
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
|
+
*/
|
|
5690
5944
|
async deleteResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime) {
|
|
5691
5945
|
tea_util_1.default.validateModel(request);
|
|
5692
5946
|
let query = {};
|
|
@@ -5713,11 +5967,24 @@ class Client extends openapi_client_1.default {
|
|
|
5713
5967
|
});
|
|
5714
5968
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteResourceInstancesResponse({}));
|
|
5715
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
|
+
*/
|
|
5716
5976
|
async deleteResourceInstances(ClusterId, ResourceId, request) {
|
|
5717
5977
|
let runtime = new $Util.RuntimeOptions({});
|
|
5718
5978
|
let headers = {};
|
|
5719
5979
|
return await this.deleteResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
5720
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
|
+
*/
|
|
5721
5988
|
async deleteResourceLogWithOptions(ClusterId, ResourceId, headers, runtime) {
|
|
5722
5989
|
let req = new $OpenApi.OpenApiRequest({
|
|
5723
5990
|
headers: headers,
|
|
@@ -5735,11 +6002,23 @@ class Client extends openapi_client_1.default {
|
|
|
5735
6002
|
});
|
|
5736
6003
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteResourceLogResponse({}));
|
|
5737
6004
|
}
|
|
6005
|
+
/**
|
|
6006
|
+
* @summary Disables the LogShipper feature of Log Service for a dedicated resource group.
|
|
6007
|
+
*
|
|
6008
|
+
* @return DeleteResourceLogResponse
|
|
6009
|
+
*/
|
|
5738
6010
|
async deleteResourceLog(ClusterId, ResourceId) {
|
|
5739
6011
|
let runtime = new $Util.RuntimeOptions({});
|
|
5740
6012
|
let headers = {};
|
|
5741
6013
|
return await this.deleteResourceLogWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
5742
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
|
+
*/
|
|
5743
6022
|
async deleteServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
5744
6023
|
let req = new $OpenApi.OpenApiRequest({
|
|
5745
6024
|
headers: headers,
|
|
@@ -5757,11 +6036,23 @@ class Client extends openapi_client_1.default {
|
|
|
5757
6036
|
});
|
|
5758
6037
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceResponse({}));
|
|
5759
6038
|
}
|
|
6039
|
+
/**
|
|
6040
|
+
* @summary Deletes a service.
|
|
6041
|
+
*
|
|
6042
|
+
* @return DeleteServiceResponse
|
|
6043
|
+
*/
|
|
5760
6044
|
async deleteService(ClusterId, ServiceName) {
|
|
5761
6045
|
let runtime = new $Util.RuntimeOptions({});
|
|
5762
6046
|
let headers = {};
|
|
5763
6047
|
return await this.deleteServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
5764
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
|
+
*/
|
|
5765
6056
|
async deleteServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
5766
6057
|
let req = new $OpenApi.OpenApiRequest({
|
|
5767
6058
|
headers: headers,
|
|
@@ -5779,11 +6070,23 @@ class Client extends openapi_client_1.default {
|
|
|
5779
6070
|
});
|
|
5780
6071
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceAutoScalerResponse({}));
|
|
5781
6072
|
}
|
|
6073
|
+
/**
|
|
6074
|
+
* @summary Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.
|
|
6075
|
+
*
|
|
6076
|
+
* @return DeleteServiceAutoScalerResponse
|
|
6077
|
+
*/
|
|
5782
6078
|
async deleteServiceAutoScaler(ClusterId, ServiceName) {
|
|
5783
6079
|
let runtime = new $Util.RuntimeOptions({});
|
|
5784
6080
|
let headers = {};
|
|
5785
6081
|
return await this.deleteServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
5786
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
|
+
*/
|
|
5787
6090
|
async deleteServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
5788
6091
|
let req = new $OpenApi.OpenApiRequest({
|
|
5789
6092
|
headers: headers,
|
|
@@ -5801,11 +6104,24 @@ class Client extends openapi_client_1.default {
|
|
|
5801
6104
|
});
|
|
5802
6105
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceCronScalerResponse({}));
|
|
5803
6106
|
}
|
|
6107
|
+
/**
|
|
6108
|
+
* @summary Disables the Cronscaler feature for a service.
|
|
6109
|
+
*
|
|
6110
|
+
* @return DeleteServiceCronScalerResponse
|
|
6111
|
+
*/
|
|
5804
6112
|
async deleteServiceCronScaler(ClusterId, ServiceName) {
|
|
5805
6113
|
let runtime = new $Util.RuntimeOptions({});
|
|
5806
6114
|
let headers = {};
|
|
5807
6115
|
return await this.deleteServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
5808
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
|
+
*/
|
|
5809
6125
|
async deleteServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
5810
6126
|
tea_util_1.default.validateModel(request);
|
|
5811
6127
|
let query = {};
|
|
@@ -5835,11 +6151,25 @@ class Client extends openapi_client_1.default {
|
|
|
5835
6151
|
});
|
|
5836
6152
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceInstancesResponse({}));
|
|
5837
6153
|
}
|
|
6154
|
+
/**
|
|
6155
|
+
* @summary Restarts the instances of a service.
|
|
6156
|
+
*
|
|
6157
|
+
* @param request DeleteServiceInstancesRequest
|
|
6158
|
+
* @return DeleteServiceInstancesResponse
|
|
6159
|
+
*/
|
|
5838
6160
|
async deleteServiceInstances(ClusterId, ServiceName, request) {
|
|
5839
6161
|
let runtime = new $Util.RuntimeOptions({});
|
|
5840
6162
|
let headers = {};
|
|
5841
6163
|
return await this.deleteServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
5842
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
|
+
*/
|
|
5843
6173
|
async deleteServiceLabelWithOptions(ClusterId, ServiceName, tmpReq, headers, runtime) {
|
|
5844
6174
|
tea_util_1.default.validateModel(tmpReq);
|
|
5845
6175
|
let request = new DeleteServiceLabelShrinkRequest({});
|
|
@@ -5868,11 +6198,24 @@ class Client extends openapi_client_1.default {
|
|
|
5868
6198
|
});
|
|
5869
6199
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceLabelResponse({}));
|
|
5870
6200
|
}
|
|
6201
|
+
/**
|
|
6202
|
+
* @summary Deletes existing service tags.
|
|
6203
|
+
*
|
|
6204
|
+
* @param request DeleteServiceLabelRequest
|
|
6205
|
+
* @return DeleteServiceLabelResponse
|
|
6206
|
+
*/
|
|
5871
6207
|
async deleteServiceLabel(ClusterId, ServiceName, request) {
|
|
5872
6208
|
let runtime = new $Util.RuntimeOptions({});
|
|
5873
6209
|
let headers = {};
|
|
5874
6210
|
return await this.deleteServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
5875
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
|
+
*/
|
|
5876
6219
|
async deleteServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
5877
6220
|
let req = new $OpenApi.OpenApiRequest({
|
|
5878
6221
|
headers: headers,
|
|
@@ -5890,11 +6233,23 @@ class Client extends openapi_client_1.default {
|
|
|
5890
6233
|
});
|
|
5891
6234
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteServiceMirrorResponse({}));
|
|
5892
6235
|
}
|
|
6236
|
+
/**
|
|
6237
|
+
* @summary Disables the traffic mirroring feature for a service.
|
|
6238
|
+
*
|
|
6239
|
+
* @return DeleteServiceMirrorResponse
|
|
6240
|
+
*/
|
|
5893
6241
|
async deleteServiceMirror(ClusterId, ServiceName) {
|
|
5894
6242
|
let runtime = new $Util.RuntimeOptions({});
|
|
5895
6243
|
let headers = {};
|
|
5896
6244
|
return await this.deleteServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
5897
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
|
+
*/
|
|
5898
6253
|
async describeBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime) {
|
|
5899
6254
|
let req = new $OpenApi.OpenApiRequest({
|
|
5900
6255
|
headers: headers,
|
|
@@ -5912,11 +6267,24 @@ class Client extends openapi_client_1.default {
|
|
|
5912
6267
|
});
|
|
5913
6268
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskResponse({}));
|
|
5914
6269
|
}
|
|
6270
|
+
/**
|
|
6271
|
+
* @summary Queries details about the configurations of a stress testing task.
|
|
6272
|
+
*
|
|
6273
|
+
* @return DescribeBenchmarkTaskResponse
|
|
6274
|
+
*/
|
|
5915
6275
|
async describeBenchmarkTask(ClusterId, TaskName) {
|
|
5916
6276
|
let runtime = new $Util.RuntimeOptions({});
|
|
5917
6277
|
let headers = {};
|
|
5918
6278
|
return await this.describeBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
5919
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
|
+
*/
|
|
5920
6288
|
async describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, request, headers, runtime) {
|
|
5921
6289
|
tea_util_1.default.validateModel(request);
|
|
5922
6290
|
let query = {};
|
|
@@ -5940,11 +6308,24 @@ class Client extends openapi_client_1.default {
|
|
|
5940
6308
|
});
|
|
5941
6309
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskReportResponse({}));
|
|
5942
6310
|
}
|
|
6311
|
+
/**
|
|
6312
|
+
* @summary Queries the report of a stress testing task.
|
|
6313
|
+
*
|
|
6314
|
+
* @param request DescribeBenchmarkTaskReportRequest
|
|
6315
|
+
* @return DescribeBenchmarkTaskReportResponse
|
|
6316
|
+
*/
|
|
5943
6317
|
async describeBenchmarkTaskReport(ClusterId, TaskName, request) {
|
|
5944
6318
|
let runtime = new $Util.RuntimeOptions({});
|
|
5945
6319
|
let headers = {};
|
|
5946
6320
|
return await this.describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
5947
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
|
+
*/
|
|
5948
6329
|
async describeGatewayWithOptions(ClusterId, GatewayId, headers, runtime) {
|
|
5949
6330
|
let req = new $OpenApi.OpenApiRequest({
|
|
5950
6331
|
headers: headers,
|
|
@@ -5962,11 +6343,23 @@ class Client extends openapi_client_1.default {
|
|
|
5962
6343
|
});
|
|
5963
6344
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGatewayResponse({}));
|
|
5964
6345
|
}
|
|
6346
|
+
/**
|
|
6347
|
+
* @summary Queries the details of a private gateway.
|
|
6348
|
+
*
|
|
6349
|
+
* @return DescribeGatewayResponse
|
|
6350
|
+
*/
|
|
5965
6351
|
async describeGateway(ClusterId, GatewayId) {
|
|
5966
6352
|
let runtime = new $Util.RuntimeOptions({});
|
|
5967
6353
|
let headers = {};
|
|
5968
6354
|
return await this.describeGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
5969
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
|
+
*/
|
|
5970
6363
|
async describeGroupWithOptions(ClusterId, GroupName, headers, runtime) {
|
|
5971
6364
|
let req = new $OpenApi.OpenApiRequest({
|
|
5972
6365
|
headers: headers,
|
|
@@ -5984,11 +6377,23 @@ class Client extends openapi_client_1.default {
|
|
|
5984
6377
|
});
|
|
5985
6378
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGroupResponse({}));
|
|
5986
6379
|
}
|
|
6380
|
+
/**
|
|
6381
|
+
* @summary Queries the information about a service group.
|
|
6382
|
+
*
|
|
6383
|
+
* @return DescribeGroupResponse
|
|
6384
|
+
*/
|
|
5987
6385
|
async describeGroup(ClusterId, GroupName) {
|
|
5988
6386
|
let runtime = new $Util.RuntimeOptions({});
|
|
5989
6387
|
let headers = {};
|
|
5990
6388
|
return await this.describeGroupWithOptions(ClusterId, GroupName, headers, runtime);
|
|
5991
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
|
+
*/
|
|
5992
6397
|
async describeResourceWithOptions(ClusterId, ResourceId, headers, runtime) {
|
|
5993
6398
|
let req = new $OpenApi.OpenApiRequest({
|
|
5994
6399
|
headers: headers,
|
|
@@ -6006,11 +6411,23 @@ class Client extends openapi_client_1.default {
|
|
|
6006
6411
|
});
|
|
6007
6412
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeResourceResponse({}));
|
|
6008
6413
|
}
|
|
6414
|
+
/**
|
|
6415
|
+
* @summary Queries the information about a resource group.
|
|
6416
|
+
*
|
|
6417
|
+
* @return DescribeResourceResponse
|
|
6418
|
+
*/
|
|
6009
6419
|
async describeResource(ClusterId, ResourceId) {
|
|
6010
6420
|
let runtime = new $Util.RuntimeOptions({});
|
|
6011
6421
|
let headers = {};
|
|
6012
6422
|
return await this.describeResourceWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
6013
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
|
+
*/
|
|
6014
6431
|
async describeResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime) {
|
|
6015
6432
|
let req = new $OpenApi.OpenApiRequest({
|
|
6016
6433
|
headers: headers,
|
|
@@ -6028,11 +6445,23 @@ class Client extends openapi_client_1.default {
|
|
|
6028
6445
|
});
|
|
6029
6446
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeResourceDLinkResponse({}));
|
|
6030
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
|
+
*/
|
|
6031
6453
|
async describeResourceDLink(ClusterId, ResourceId) {
|
|
6032
6454
|
let runtime = new $Util.RuntimeOptions({});
|
|
6033
6455
|
let headers = {};
|
|
6034
6456
|
return await this.describeResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
6035
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
|
+
*/
|
|
6036
6465
|
async describeResourceLogWithOptions(ClusterId, ResourceId, headers, runtime) {
|
|
6037
6466
|
let req = new $OpenApi.OpenApiRequest({
|
|
6038
6467
|
headers: headers,
|
|
@@ -6050,11 +6479,23 @@ class Client extends openapi_client_1.default {
|
|
|
6050
6479
|
});
|
|
6051
6480
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeResourceLogResponse({}));
|
|
6052
6481
|
}
|
|
6482
|
+
/**
|
|
6483
|
+
* @summary Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.
|
|
6484
|
+
*
|
|
6485
|
+
* @return DescribeResourceLogResponse
|
|
6486
|
+
*/
|
|
6053
6487
|
async describeResourceLog(ClusterId, ResourceId) {
|
|
6054
6488
|
let runtime = new $Util.RuntimeOptions({});
|
|
6055
6489
|
let headers = {};
|
|
6056
6490
|
return await this.describeResourceLogWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
6057
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
|
+
*/
|
|
6058
6499
|
async describeServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
6059
6500
|
let req = new $OpenApi.OpenApiRequest({
|
|
6060
6501
|
headers: headers,
|
|
@@ -6072,11 +6513,23 @@ class Client extends openapi_client_1.default {
|
|
|
6072
6513
|
});
|
|
6073
6514
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceResponse({}));
|
|
6074
6515
|
}
|
|
6516
|
+
/**
|
|
6517
|
+
* @summary Queries the details about a service.
|
|
6518
|
+
*
|
|
6519
|
+
* @return DescribeServiceResponse
|
|
6520
|
+
*/
|
|
6075
6521
|
async describeService(ClusterId, ServiceName) {
|
|
6076
6522
|
let runtime = new $Util.RuntimeOptions({});
|
|
6077
6523
|
let headers = {};
|
|
6078
6524
|
return await this.describeServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6079
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
|
+
*/
|
|
6080
6533
|
async describeServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
6081
6534
|
let req = new $OpenApi.OpenApiRequest({
|
|
6082
6535
|
headers: headers,
|
|
@@ -6094,11 +6547,23 @@ class Client extends openapi_client_1.default {
|
|
|
6094
6547
|
});
|
|
6095
6548
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceAutoScalerResponse({}));
|
|
6096
6549
|
}
|
|
6550
|
+
/**
|
|
6551
|
+
* @summary Queries information about the Autoscaler configurations of a service.
|
|
6552
|
+
*
|
|
6553
|
+
* @return DescribeServiceAutoScalerResponse
|
|
6554
|
+
*/
|
|
6097
6555
|
async describeServiceAutoScaler(ClusterId, ServiceName) {
|
|
6098
6556
|
let runtime = new $Util.RuntimeOptions({});
|
|
6099
6557
|
let headers = {};
|
|
6100
6558
|
return await this.describeServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6101
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
|
+
*/
|
|
6102
6567
|
async describeServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
6103
6568
|
let req = new $OpenApi.OpenApiRequest({
|
|
6104
6569
|
headers: headers,
|
|
@@ -6116,11 +6581,23 @@ class Client extends openapi_client_1.default {
|
|
|
6116
6581
|
});
|
|
6117
6582
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceCronScalerResponse({}));
|
|
6118
6583
|
}
|
|
6584
|
+
/**
|
|
6585
|
+
* @summary Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.
|
|
6586
|
+
*
|
|
6587
|
+
* @return DescribeServiceCronScalerResponse
|
|
6588
|
+
*/
|
|
6119
6589
|
async describeServiceCronScaler(ClusterId, ServiceName) {
|
|
6120
6590
|
let runtime = new $Util.RuntimeOptions({});
|
|
6121
6591
|
let headers = {};
|
|
6122
6592
|
return await this.describeServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6123
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
|
+
*/
|
|
6124
6601
|
async describeServiceDiagnosisWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
6125
6602
|
let req = new $OpenApi.OpenApiRequest({
|
|
6126
6603
|
headers: headers,
|
|
@@ -6138,11 +6615,24 @@ class Client extends openapi_client_1.default {
|
|
|
6138
6615
|
});
|
|
6139
6616
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceDiagnosisResponse({}));
|
|
6140
6617
|
}
|
|
6618
|
+
/**
|
|
6619
|
+
* @summary Queries the diagnostics details of a service.
|
|
6620
|
+
*
|
|
6621
|
+
* @return DescribeServiceDiagnosisResponse
|
|
6622
|
+
*/
|
|
6141
6623
|
async describeServiceDiagnosis(ClusterId, ServiceName) {
|
|
6142
6624
|
let runtime = new $Util.RuntimeOptions({});
|
|
6143
6625
|
let headers = {};
|
|
6144
6626
|
return await this.describeServiceDiagnosisWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6145
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
|
+
*/
|
|
6146
6636
|
async describeServiceEventWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
6147
6637
|
tea_util_1.default.validateModel(request);
|
|
6148
6638
|
let query = {};
|
|
@@ -6181,11 +6671,24 @@ class Client extends openapi_client_1.default {
|
|
|
6181
6671
|
});
|
|
6182
6672
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceEventResponse({}));
|
|
6183
6673
|
}
|
|
6674
|
+
/**
|
|
6675
|
+
* @summary Queries information about recent service deployment events.
|
|
6676
|
+
*
|
|
6677
|
+
* @param request DescribeServiceEventRequest
|
|
6678
|
+
* @return DescribeServiceEventResponse
|
|
6679
|
+
*/
|
|
6184
6680
|
async describeServiceEvent(ClusterId, ServiceName, request) {
|
|
6185
6681
|
let runtime = new $Util.RuntimeOptions({});
|
|
6186
6682
|
let headers = {};
|
|
6187
6683
|
return await this.describeServiceEventWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6188
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
|
+
*/
|
|
6189
6692
|
async describeServiceInstanceDiagnosisWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime) {
|
|
6190
6693
|
let req = new $OpenApi.OpenApiRequest({
|
|
6191
6694
|
headers: headers,
|
|
@@ -6203,11 +6706,24 @@ class Client extends openapi_client_1.default {
|
|
|
6203
6706
|
});
|
|
6204
6707
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceInstanceDiagnosisResponse({}));
|
|
6205
6708
|
}
|
|
6709
|
+
/**
|
|
6710
|
+
* @summary Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).
|
|
6711
|
+
*
|
|
6712
|
+
* @return DescribeServiceInstanceDiagnosisResponse
|
|
6713
|
+
*/
|
|
6206
6714
|
async describeServiceInstanceDiagnosis(ClusterId, ServiceName, InstanceName) {
|
|
6207
6715
|
let runtime = new $Util.RuntimeOptions({});
|
|
6208
6716
|
let headers = {};
|
|
6209
6717
|
return await this.describeServiceInstanceDiagnosisWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime);
|
|
6210
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
|
+
*/
|
|
6211
6727
|
async describeServiceLogWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
6212
6728
|
tea_util_1.default.validateModel(request);
|
|
6213
6729
|
let query = {};
|
|
@@ -6255,11 +6771,24 @@ class Client extends openapi_client_1.default {
|
|
|
6255
6771
|
});
|
|
6256
6772
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceLogResponse({}));
|
|
6257
6773
|
}
|
|
6774
|
+
/**
|
|
6775
|
+
* @summary Queries the information about the logs of a service.
|
|
6776
|
+
*
|
|
6777
|
+
* @param request DescribeServiceLogRequest
|
|
6778
|
+
* @return DescribeServiceLogResponse
|
|
6779
|
+
*/
|
|
6258
6780
|
async describeServiceLog(ClusterId, ServiceName, request) {
|
|
6259
6781
|
let runtime = new $Util.RuntimeOptions({});
|
|
6260
6782
|
let headers = {};
|
|
6261
6783
|
return await this.describeServiceLogWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6262
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
|
+
*/
|
|
6263
6792
|
async describeServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
6264
6793
|
let req = new $OpenApi.OpenApiRequest({
|
|
6265
6794
|
headers: headers,
|
|
@@ -6277,11 +6806,24 @@ class Client extends openapi_client_1.default {
|
|
|
6277
6806
|
});
|
|
6278
6807
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceMirrorResponse({}));
|
|
6279
6808
|
}
|
|
6809
|
+
/**
|
|
6810
|
+
* @summary Queries details about the traffic mirroring settings of a service.
|
|
6811
|
+
*
|
|
6812
|
+
* @return DescribeServiceMirrorResponse
|
|
6813
|
+
*/
|
|
6280
6814
|
async describeServiceMirror(ClusterId, ServiceName) {
|
|
6281
6815
|
let runtime = new $Util.RuntimeOptions({});
|
|
6282
6816
|
let headers = {};
|
|
6283
6817
|
return await this.describeServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6284
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
|
+
*/
|
|
6285
6827
|
async describeSpotDiscountHistoryWithOptions(request, headers, runtime) {
|
|
6286
6828
|
tea_util_1.default.validateModel(request);
|
|
6287
6829
|
let query = {};
|
|
@@ -6308,11 +6850,25 @@ class Client extends openapi_client_1.default {
|
|
|
6308
6850
|
});
|
|
6309
6851
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSpotDiscountHistoryResponse({}));
|
|
6310
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
|
+
*/
|
|
6311
6859
|
async describeSpotDiscountHistory(request) {
|
|
6312
6860
|
let runtime = new $Util.RuntimeOptions({});
|
|
6313
6861
|
let headers = {};
|
|
6314
6862
|
return await this.describeSpotDiscountHistoryWithOptions(request, headers, runtime);
|
|
6315
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
|
+
*/
|
|
6316
6872
|
async developServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
6317
6873
|
tea_util_1.default.validateModel(request);
|
|
6318
6874
|
let query = {};
|
|
@@ -6336,11 +6892,25 @@ class Client extends openapi_client_1.default {
|
|
|
6336
6892
|
});
|
|
6337
6893
|
return $tea.cast(await this.callApi(params, req, runtime), new DevelopServiceResponse({}));
|
|
6338
6894
|
}
|
|
6895
|
+
/**
|
|
6896
|
+
* @summary Switches a container service to development mode or exits development mode.
|
|
6897
|
+
*
|
|
6898
|
+
* @param request DevelopServiceRequest
|
|
6899
|
+
* @return DevelopServiceResponse
|
|
6900
|
+
*/
|
|
6339
6901
|
async developService(ClusterId, ServiceName, request) {
|
|
6340
6902
|
let runtime = new $Util.RuntimeOptions({});
|
|
6341
6903
|
let headers = {};
|
|
6342
6904
|
return await this.developServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6343
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
|
+
*/
|
|
6344
6914
|
async listBenchmarkTaskWithOptions(request, headers, runtime) {
|
|
6345
6915
|
tea_util_1.default.validateModel(request);
|
|
6346
6916
|
let query = {};
|
|
@@ -6373,11 +6943,24 @@ class Client extends openapi_client_1.default {
|
|
|
6373
6943
|
});
|
|
6374
6944
|
return $tea.cast(await this.callApi(params, req, runtime), new ListBenchmarkTaskResponse({}));
|
|
6375
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
|
+
*/
|
|
6376
6952
|
async listBenchmarkTask(request) {
|
|
6377
6953
|
let runtime = new $Util.RuntimeOptions({});
|
|
6378
6954
|
let headers = {};
|
|
6379
6955
|
return await this.listBenchmarkTaskWithOptions(request, headers, runtime);
|
|
6380
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
|
+
*/
|
|
6381
6964
|
async listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime) {
|
|
6382
6965
|
let req = new $OpenApi.OpenApiRequest({
|
|
6383
6966
|
headers: headers,
|
|
@@ -6395,11 +6978,24 @@ class Client extends openapi_client_1.default {
|
|
|
6395
6978
|
});
|
|
6396
6979
|
return $tea.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcResponse({}));
|
|
6397
6980
|
}
|
|
6981
|
+
/**
|
|
6982
|
+
* @summary Queries a list of the internal endpoints of a private gateway.
|
|
6983
|
+
*
|
|
6984
|
+
* @return ListGatewayIntranetLinkedVpcResponse
|
|
6985
|
+
*/
|
|
6398
6986
|
async listGatewayIntranetLinkedVpc(ClusterId, GatewayId) {
|
|
6399
6987
|
let runtime = new $Util.RuntimeOptions({});
|
|
6400
6988
|
let headers = {};
|
|
6401
6989
|
return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
6402
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
|
+
*/
|
|
6403
6999
|
async listGroupsWithOptions(request, headers, runtime) {
|
|
6404
7000
|
tea_util_1.default.validateModel(request);
|
|
6405
7001
|
let query = {};
|
|
@@ -6432,11 +7028,25 @@ class Client extends openapi_client_1.default {
|
|
|
6432
7028
|
});
|
|
6433
7029
|
return $tea.cast(await this.callApi(params, req, runtime), new ListGroupsResponse({}));
|
|
6434
7030
|
}
|
|
7031
|
+
/**
|
|
7032
|
+
* @summary Queries created service groups.
|
|
7033
|
+
*
|
|
7034
|
+
* @param request ListGroupsRequest
|
|
7035
|
+
* @return ListGroupsResponse
|
|
7036
|
+
*/
|
|
6435
7037
|
async listGroups(request) {
|
|
6436
7038
|
let runtime = new $Util.RuntimeOptions({});
|
|
6437
7039
|
let headers = {};
|
|
6438
7040
|
return await this.listGroupsWithOptions(request, headers, runtime);
|
|
6439
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
|
+
*/
|
|
6440
7050
|
async listResourceInstanceWorkerWithOptions(ClusterId, ResourceId, InstanceName, request, headers, runtime) {
|
|
6441
7051
|
tea_util_1.default.validateModel(request);
|
|
6442
7052
|
let query = {};
|
|
@@ -6463,11 +7073,25 @@ class Client extends openapi_client_1.default {
|
|
|
6463
7073
|
});
|
|
6464
7074
|
return $tea.cast(await this.callApi(params, req, runtime), new ListResourceInstanceWorkerResponse({}));
|
|
6465
7075
|
}
|
|
7076
|
+
/**
|
|
7077
|
+
* @summary Queries a list of workers in a resource group.
|
|
7078
|
+
*
|
|
7079
|
+
* @param request ListResourceInstanceWorkerRequest
|
|
7080
|
+
* @return ListResourceInstanceWorkerResponse
|
|
7081
|
+
*/
|
|
6466
7082
|
async listResourceInstanceWorker(ClusterId, ResourceId, InstanceName, request) {
|
|
6467
7083
|
let runtime = new $Util.RuntimeOptions({});
|
|
6468
7084
|
let headers = {};
|
|
6469
7085
|
return await this.listResourceInstanceWorkerWithOptions(ClusterId, ResourceId, InstanceName, request, headers, runtime);
|
|
6470
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
|
+
*/
|
|
6471
7095
|
async listResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime) {
|
|
6472
7096
|
tea_util_1.default.validateModel(request);
|
|
6473
7097
|
let query = {};
|
|
@@ -6518,11 +7142,25 @@ class Client extends openapi_client_1.default {
|
|
|
6518
7142
|
});
|
|
6519
7143
|
return $tea.cast(await this.callApi(params, req, runtime), new ListResourceInstancesResponse({}));
|
|
6520
7144
|
}
|
|
7145
|
+
/**
|
|
7146
|
+
* @summary Queries a list of instances in a dedicated resource group.
|
|
7147
|
+
*
|
|
7148
|
+
* @param request ListResourceInstancesRequest
|
|
7149
|
+
* @return ListResourceInstancesResponse
|
|
7150
|
+
*/
|
|
6521
7151
|
async listResourceInstances(ClusterId, ResourceId, request) {
|
|
6522
7152
|
let runtime = new $Util.RuntimeOptions({});
|
|
6523
7153
|
let headers = {};
|
|
6524
7154
|
return await this.listResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
6525
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
|
+
*/
|
|
6526
7164
|
async listResourceServicesWithOptions(ClusterId, ResourceId, request, headers, runtime) {
|
|
6527
7165
|
tea_util_1.default.validateModel(request);
|
|
6528
7166
|
let query = {};
|
|
@@ -6549,11 +7187,25 @@ class Client extends openapi_client_1.default {
|
|
|
6549
7187
|
});
|
|
6550
7188
|
return $tea.cast(await this.callApi(params, req, runtime), new ListResourceServicesResponse({}));
|
|
6551
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
|
+
*/
|
|
6552
7196
|
async listResourceServices(ClusterId, ResourceId, request) {
|
|
6553
7197
|
let runtime = new $Util.RuntimeOptions({});
|
|
6554
7198
|
let headers = {};
|
|
6555
7199
|
return await this.listResourceServicesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
6556
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
|
+
*/
|
|
6557
7209
|
async listResourcesWithOptions(request, headers, runtime) {
|
|
6558
7210
|
tea_util_1.default.validateModel(request);
|
|
6559
7211
|
let query = {};
|
|
@@ -6589,11 +7241,24 @@ class Client extends openapi_client_1.default {
|
|
|
6589
7241
|
});
|
|
6590
7242
|
return $tea.cast(await this.callApi(params, req, runtime), new ListResourcesResponse({}));
|
|
6591
7243
|
}
|
|
7244
|
+
/**
|
|
7245
|
+
* @summary Queries a list of dedicated resource groups for the current user.
|
|
7246
|
+
*
|
|
7247
|
+
* @param request ListResourcesRequest
|
|
7248
|
+
* @return ListResourcesResponse
|
|
7249
|
+
*/
|
|
6592
7250
|
async listResources(request) {
|
|
6593
7251
|
let runtime = new $Util.RuntimeOptions({});
|
|
6594
7252
|
let headers = {};
|
|
6595
7253
|
return await this.listResourcesWithOptions(request, headers, runtime);
|
|
6596
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
|
+
*/
|
|
6597
7262
|
async listServiceContainersWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime) {
|
|
6598
7263
|
let req = new $OpenApi.OpenApiRequest({
|
|
6599
7264
|
headers: headers,
|
|
@@ -6611,11 +7276,24 @@ class Client extends openapi_client_1.default {
|
|
|
6611
7276
|
});
|
|
6612
7277
|
return $tea.cast(await this.callApi(params, req, runtime), new ListServiceContainersResponse({}));
|
|
6613
7278
|
}
|
|
7279
|
+
/**
|
|
7280
|
+
* @summary Queries the containers of a service.
|
|
7281
|
+
*
|
|
7282
|
+
* @return ListServiceContainersResponse
|
|
7283
|
+
*/
|
|
6614
7284
|
async listServiceContainers(ClusterId, ServiceName, InstanceName) {
|
|
6615
7285
|
let runtime = new $Util.RuntimeOptions({});
|
|
6616
7286
|
let headers = {};
|
|
6617
7287
|
return await this.listServiceContainersWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime);
|
|
6618
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
|
+
*/
|
|
6619
7297
|
async listServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
6620
7298
|
tea_util_1.default.validateModel(request);
|
|
6621
7299
|
let query = {};
|
|
@@ -6675,11 +7353,25 @@ class Client extends openapi_client_1.default {
|
|
|
6675
7353
|
});
|
|
6676
7354
|
return $tea.cast(await this.callApi(params, req, runtime), new ListServiceInstancesResponse({}));
|
|
6677
7355
|
}
|
|
7356
|
+
/**
|
|
7357
|
+
* @summary Queries instances of a service.
|
|
7358
|
+
*
|
|
7359
|
+
* @param request ListServiceInstancesRequest
|
|
7360
|
+
* @return ListServiceInstancesResponse
|
|
7361
|
+
*/
|
|
6678
7362
|
async listServiceInstances(ClusterId, ServiceName, request) {
|
|
6679
7363
|
let runtime = new $Util.RuntimeOptions({});
|
|
6680
7364
|
let headers = {};
|
|
6681
7365
|
return await this.listServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6682
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
|
+
*/
|
|
6683
7375
|
async listServiceVersionsWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
6684
7376
|
tea_util_1.default.validateModel(request);
|
|
6685
7377
|
let query = {};
|
|
@@ -6706,11 +7398,25 @@ class Client extends openapi_client_1.default {
|
|
|
6706
7398
|
});
|
|
6707
7399
|
return $tea.cast(await this.callApi(params, req, runtime), new ListServiceVersionsResponse({}));
|
|
6708
7400
|
}
|
|
7401
|
+
/**
|
|
7402
|
+
* @summary Queries the information about the historical versions of a service.
|
|
7403
|
+
*
|
|
7404
|
+
* @param request ListServiceVersionsRequest
|
|
7405
|
+
* @return ListServiceVersionsResponse
|
|
7406
|
+
*/
|
|
6709
7407
|
async listServiceVersions(ClusterId, ServiceName, request) {
|
|
6710
7408
|
let runtime = new $Util.RuntimeOptions({});
|
|
6711
7409
|
let headers = {};
|
|
6712
7410
|
return await this.listServiceVersionsWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6713
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
|
+
*/
|
|
6714
7420
|
async listServicesWithOptions(tmpReq, headers, runtime) {
|
|
6715
7421
|
tea_util_1.default.validateModel(tmpReq);
|
|
6716
7422
|
let request = new ListServicesShrinkRequest({});
|
|
@@ -6781,11 +7487,25 @@ class Client extends openapi_client_1.default {
|
|
|
6781
7487
|
});
|
|
6782
7488
|
return $tea.cast(await this.callApi(params, req, runtime), new ListServicesResponse({}));
|
|
6783
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
|
+
*/
|
|
6784
7496
|
async listServices(request) {
|
|
6785
7497
|
let runtime = new $Util.RuntimeOptions({});
|
|
6786
7498
|
let headers = {};
|
|
6787
7499
|
return await this.listServicesWithOptions(request, headers, runtime);
|
|
6788
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
|
+
*/
|
|
6789
7509
|
async releaseServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
6790
7510
|
tea_util_1.default.validateModel(request);
|
|
6791
7511
|
let body = {};
|
|
@@ -6812,11 +7532,24 @@ class Client extends openapi_client_1.default {
|
|
|
6812
7532
|
});
|
|
6813
7533
|
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseServiceResponse({}));
|
|
6814
7534
|
}
|
|
7535
|
+
/**
|
|
7536
|
+
* @summary Performs canary release or blue-green release of a service.
|
|
7537
|
+
*
|
|
7538
|
+
* @param request ReleaseServiceRequest
|
|
7539
|
+
* @return ReleaseServiceResponse
|
|
7540
|
+
*/
|
|
6815
7541
|
async releaseService(ClusterId, ServiceName, request) {
|
|
6816
7542
|
let runtime = new $Util.RuntimeOptions({});
|
|
6817
7543
|
let headers = {};
|
|
6818
7544
|
return await this.releaseServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6819
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
|
+
*/
|
|
6820
7553
|
async restartServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
6821
7554
|
let req = new $OpenApi.OpenApiRequest({
|
|
6822
7555
|
headers: headers,
|
|
@@ -6834,11 +7567,23 @@ class Client extends openapi_client_1.default {
|
|
|
6834
7567
|
});
|
|
6835
7568
|
return $tea.cast(await this.callApi(params, req, runtime), new RestartServiceResponse({}));
|
|
6836
7569
|
}
|
|
7570
|
+
/**
|
|
7571
|
+
* @summary Restarts a service.
|
|
7572
|
+
*
|
|
7573
|
+
* @return RestartServiceResponse
|
|
7574
|
+
*/
|
|
6837
7575
|
async restartService(ClusterId, ServiceName) {
|
|
6838
7576
|
let runtime = new $Util.RuntimeOptions({});
|
|
6839
7577
|
let headers = {};
|
|
6840
7578
|
return await this.restartServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6841
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
|
+
*/
|
|
6842
7587
|
async startBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime) {
|
|
6843
7588
|
let req = new $OpenApi.OpenApiRequest({
|
|
6844
7589
|
headers: headers,
|
|
@@ -6856,11 +7601,23 @@ class Client extends openapi_client_1.default {
|
|
|
6856
7601
|
});
|
|
6857
7602
|
return $tea.cast(await this.callApi(params, req, runtime), new StartBenchmarkTaskResponse({}));
|
|
6858
7603
|
}
|
|
7604
|
+
/**
|
|
7605
|
+
* @summary Starts a stress testing task.
|
|
7606
|
+
*
|
|
7607
|
+
* @return StartBenchmarkTaskResponse
|
|
7608
|
+
*/
|
|
6859
7609
|
async startBenchmarkTask(ClusterId, TaskName) {
|
|
6860
7610
|
let runtime = new $Util.RuntimeOptions({});
|
|
6861
7611
|
let headers = {};
|
|
6862
7612
|
return await this.startBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
6863
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
|
+
*/
|
|
6864
7621
|
async startServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
6865
7622
|
let req = new $OpenApi.OpenApiRequest({
|
|
6866
7623
|
headers: headers,
|
|
@@ -6878,11 +7635,23 @@ class Client extends openapi_client_1.default {
|
|
|
6878
7635
|
});
|
|
6879
7636
|
return $tea.cast(await this.callApi(params, req, runtime), new StartServiceResponse({}));
|
|
6880
7637
|
}
|
|
7638
|
+
/**
|
|
7639
|
+
* @summary Starts a service.
|
|
7640
|
+
*
|
|
7641
|
+
* @return StartServiceResponse
|
|
7642
|
+
*/
|
|
6881
7643
|
async startService(ClusterId, ServiceName) {
|
|
6882
7644
|
let runtime = new $Util.RuntimeOptions({});
|
|
6883
7645
|
let headers = {};
|
|
6884
7646
|
return await this.startServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6885
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
|
+
*/
|
|
6886
7655
|
async stopBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime) {
|
|
6887
7656
|
let req = new $OpenApi.OpenApiRequest({
|
|
6888
7657
|
headers: headers,
|
|
@@ -6900,11 +7669,23 @@ class Client extends openapi_client_1.default {
|
|
|
6900
7669
|
});
|
|
6901
7670
|
return $tea.cast(await this.callApi(params, req, runtime), new StopBenchmarkTaskResponse({}));
|
|
6902
7671
|
}
|
|
7672
|
+
/**
|
|
7673
|
+
* @summary Stops a stress testing task.
|
|
7674
|
+
*
|
|
7675
|
+
* @return StopBenchmarkTaskResponse
|
|
7676
|
+
*/
|
|
6903
7677
|
async stopBenchmarkTask(ClusterId, TaskName) {
|
|
6904
7678
|
let runtime = new $Util.RuntimeOptions({});
|
|
6905
7679
|
let headers = {};
|
|
6906
7680
|
return await this.stopBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
6907
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
|
+
*/
|
|
6908
7689
|
async stopServiceWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
6909
7690
|
let req = new $OpenApi.OpenApiRequest({
|
|
6910
7691
|
headers: headers,
|
|
@@ -6922,11 +7703,24 @@ class Client extends openapi_client_1.default {
|
|
|
6922
7703
|
});
|
|
6923
7704
|
return $tea.cast(await this.callApi(params, req, runtime), new StopServiceResponse({}));
|
|
6924
7705
|
}
|
|
7706
|
+
/**
|
|
7707
|
+
* @summary Stops a running service.
|
|
7708
|
+
*
|
|
7709
|
+
* @return StopServiceResponse
|
|
7710
|
+
*/
|
|
6925
7711
|
async stopService(ClusterId, ServiceName) {
|
|
6926
7712
|
let runtime = new $Util.RuntimeOptions({});
|
|
6927
7713
|
let headers = {};
|
|
6928
7714
|
return await this.stopServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6929
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
|
+
*/
|
|
6930
7724
|
async updateAppServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
6931
7725
|
tea_util_1.default.validateModel(request);
|
|
6932
7726
|
let query = {};
|
|
@@ -6970,11 +7764,25 @@ class Client extends openapi_client_1.default {
|
|
|
6970
7764
|
});
|
|
6971
7765
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAppServiceResponse({}));
|
|
6972
7766
|
}
|
|
7767
|
+
/**
|
|
7768
|
+
* @summary Updates an application service.
|
|
7769
|
+
*
|
|
7770
|
+
* @param request UpdateAppServiceRequest
|
|
7771
|
+
* @return UpdateAppServiceResponse
|
|
7772
|
+
*/
|
|
6973
7773
|
async updateAppService(ClusterId, ServiceName, request) {
|
|
6974
7774
|
let runtime = new $Util.RuntimeOptions({});
|
|
6975
7775
|
let headers = {};
|
|
6976
7776
|
return await this.updateAppServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6977
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
|
+
*/
|
|
6978
7786
|
async updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime) {
|
|
6979
7787
|
tea_util_1.default.validateModel(request);
|
|
6980
7788
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -6994,11 +7802,25 @@ class Client extends openapi_client_1.default {
|
|
|
6994
7802
|
});
|
|
6995
7803
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateBenchmarkTaskResponse({}));
|
|
6996
7804
|
}
|
|
7805
|
+
/**
|
|
7806
|
+
* @summary Updates a stress testing task.
|
|
7807
|
+
*
|
|
7808
|
+
* @param request UpdateBenchmarkTaskRequest
|
|
7809
|
+
* @return UpdateBenchmarkTaskResponse
|
|
7810
|
+
*/
|
|
6997
7811
|
async updateBenchmarkTask(ClusterId, TaskName, request) {
|
|
6998
7812
|
let runtime = new $Util.RuntimeOptions({});
|
|
6999
7813
|
let headers = {};
|
|
7000
7814
|
return await this.updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
7001
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
|
+
*/
|
|
7002
7824
|
async updateGatewayWithOptions(GatewayId, ClusterId, request, headers, runtime) {
|
|
7003
7825
|
tea_util_1.default.validateModel(request);
|
|
7004
7826
|
let body = {};
|
|
@@ -7031,11 +7853,25 @@ class Client extends openapi_client_1.default {
|
|
|
7031
7853
|
});
|
|
7032
7854
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateGatewayResponse({}));
|
|
7033
7855
|
}
|
|
7856
|
+
/**
|
|
7857
|
+
* @summary Update a private gateway.
|
|
7858
|
+
*
|
|
7859
|
+
* @param request UpdateGatewayRequest
|
|
7860
|
+
* @return UpdateGatewayResponse
|
|
7861
|
+
*/
|
|
7034
7862
|
async updateGateway(GatewayId, ClusterId, request) {
|
|
7035
7863
|
let runtime = new $Util.RuntimeOptions({});
|
|
7036
7864
|
let headers = {};
|
|
7037
7865
|
return await this.updateGatewayWithOptions(GatewayId, ClusterId, request, headers, runtime);
|
|
7038
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
|
+
*/
|
|
7039
7875
|
async updateResourceWithOptions(ClusterId, ResourceId, request, headers, runtime) {
|
|
7040
7876
|
tea_util_1.default.validateModel(request);
|
|
7041
7877
|
let body = {};
|
|
@@ -7062,11 +7898,25 @@ class Client extends openapi_client_1.default {
|
|
|
7062
7898
|
});
|
|
7063
7899
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateResourceResponse({}));
|
|
7064
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
|
+
*/
|
|
7065
7907
|
async updateResource(ClusterId, ResourceId, request) {
|
|
7066
7908
|
let runtime = new $Util.RuntimeOptions({});
|
|
7067
7909
|
let headers = {};
|
|
7068
7910
|
return await this.updateResourceWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
7069
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
|
+
*/
|
|
7070
7920
|
async updateResourceDLinkWithOptions(ClusterId, ResourceId, request, headers, runtime) {
|
|
7071
7921
|
tea_util_1.default.validateModel(request);
|
|
7072
7922
|
let body = {};
|
|
@@ -7099,11 +7949,25 @@ class Client extends openapi_client_1.default {
|
|
|
7099
7949
|
});
|
|
7100
7950
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateResourceDLinkResponse({}));
|
|
7101
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
|
+
*/
|
|
7102
7958
|
async updateResourceDLink(ClusterId, ResourceId, request) {
|
|
7103
7959
|
let runtime = new $Util.RuntimeOptions({});
|
|
7104
7960
|
let headers = {};
|
|
7105
7961
|
return await this.updateResourceDLinkWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
7106
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
|
+
*/
|
|
7107
7971
|
async updateResourceInstanceWithOptions(ClusterId, ResourceId, InstanceId, request, headers, runtime) {
|
|
7108
7972
|
tea_util_1.default.validateModel(request);
|
|
7109
7973
|
let body = {};
|
|
@@ -7127,11 +7991,25 @@ class Client extends openapi_client_1.default {
|
|
|
7127
7991
|
});
|
|
7128
7992
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateResourceInstanceResponse({}));
|
|
7129
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
|
+
*/
|
|
7130
8000
|
async updateResourceInstance(ClusterId, ResourceId, InstanceId, request) {
|
|
7131
8001
|
let runtime = new $Util.RuntimeOptions({});
|
|
7132
8002
|
let headers = {};
|
|
7133
8003
|
return await this.updateResourceInstanceWithOptions(ClusterId, ResourceId, InstanceId, request, headers, runtime);
|
|
7134
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
|
+
*/
|
|
7135
8013
|
async updateServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
7136
8014
|
tea_util_1.default.validateModel(request);
|
|
7137
8015
|
let query = {};
|
|
@@ -7156,11 +8034,25 @@ class Client extends openapi_client_1.default {
|
|
|
7156
8034
|
});
|
|
7157
8035
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceResponse({}));
|
|
7158
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
|
+
*/
|
|
7159
8043
|
async updateService(ClusterId, ServiceName, request) {
|
|
7160
8044
|
let runtime = new $Util.RuntimeOptions({});
|
|
7161
8045
|
let headers = {};
|
|
7162
8046
|
return await this.updateServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7163
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
|
+
*/
|
|
7164
8056
|
async updateServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
7165
8057
|
tea_util_1.default.validateModel(request);
|
|
7166
8058
|
let body = {};
|
|
@@ -7193,11 +8085,25 @@ class Client extends openapi_client_1.default {
|
|
|
7193
8085
|
});
|
|
7194
8086
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceAutoScalerResponse({}));
|
|
7195
8087
|
}
|
|
8088
|
+
/**
|
|
8089
|
+
* @summary Updates the Autoscaler configurations of a service.
|
|
8090
|
+
*
|
|
8091
|
+
* @param request UpdateServiceAutoScalerRequest
|
|
8092
|
+
* @return UpdateServiceAutoScalerResponse
|
|
8093
|
+
*/
|
|
7196
8094
|
async updateServiceAutoScaler(ClusterId, ServiceName, request) {
|
|
7197
8095
|
let runtime = new $Util.RuntimeOptions({});
|
|
7198
8096
|
let headers = {};
|
|
7199
8097
|
return await this.updateServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7200
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
|
+
*/
|
|
7201
8107
|
async updateServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
7202
8108
|
tea_util_1.default.validateModel(request);
|
|
7203
8109
|
let body = {};
|
|
@@ -7224,11 +8130,25 @@ class Client extends openapi_client_1.default {
|
|
|
7224
8130
|
});
|
|
7225
8131
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceCronScalerResponse({}));
|
|
7226
8132
|
}
|
|
8133
|
+
/**
|
|
8134
|
+
* @summary Updates the Cron Horizontal Pod Autoscaler (CronHPA) settings of a service.
|
|
8135
|
+
*
|
|
8136
|
+
* @param request UpdateServiceCronScalerRequest
|
|
8137
|
+
* @return UpdateServiceCronScalerResponse
|
|
8138
|
+
*/
|
|
7227
8139
|
async updateServiceCronScaler(ClusterId, ServiceName, request) {
|
|
7228
8140
|
let runtime = new $Util.RuntimeOptions({});
|
|
7229
8141
|
let headers = {};
|
|
7230
8142
|
return await this.updateServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7231
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
|
+
*/
|
|
7232
8152
|
async updateServiceInstanceWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime) {
|
|
7233
8153
|
tea_util_1.default.validateModel(request);
|
|
7234
8154
|
let body = {};
|
|
@@ -7252,11 +8172,25 @@ class Client extends openapi_client_1.default {
|
|
|
7252
8172
|
});
|
|
7253
8173
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceInstanceResponse({}));
|
|
7254
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
|
+
*/
|
|
7255
8181
|
async updateServiceInstance(ClusterId, ServiceName, InstanceName, request) {
|
|
7256
8182
|
let runtime = new $Util.RuntimeOptions({});
|
|
7257
8183
|
let headers = {};
|
|
7258
8184
|
return await this.updateServiceInstanceWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime);
|
|
7259
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
|
+
*/
|
|
7260
8194
|
async updateServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
7261
8195
|
tea_util_1.default.validateModel(request);
|
|
7262
8196
|
let body = {};
|
|
@@ -7280,11 +8214,25 @@ class Client extends openapi_client_1.default {
|
|
|
7280
8214
|
});
|
|
7281
8215
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceLabelResponse({}));
|
|
7282
8216
|
}
|
|
8217
|
+
/**
|
|
8218
|
+
* @summary Adds service tags or updates existing service tags.
|
|
8219
|
+
*
|
|
8220
|
+
* @param request UpdateServiceLabelRequest
|
|
8221
|
+
* @return UpdateServiceLabelResponse
|
|
8222
|
+
*/
|
|
7283
8223
|
async updateServiceLabel(ClusterId, ServiceName, request) {
|
|
7284
8224
|
let runtime = new $Util.RuntimeOptions({});
|
|
7285
8225
|
let headers = {};
|
|
7286
8226
|
return await this.updateServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7287
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
|
+
*/
|
|
7288
8236
|
async updateServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
7289
8237
|
tea_util_1.default.validateModel(request);
|
|
7290
8238
|
let body = {};
|
|
@@ -7311,11 +8259,25 @@ class Client extends openapi_client_1.default {
|
|
|
7311
8259
|
});
|
|
7312
8260
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceMirrorResponse({}));
|
|
7313
8261
|
}
|
|
8262
|
+
/**
|
|
8263
|
+
* @summary Updates the traffic mirroring configurations of a service.
|
|
8264
|
+
*
|
|
8265
|
+
* @param request UpdateServiceMirrorRequest
|
|
8266
|
+
* @return UpdateServiceMirrorResponse
|
|
8267
|
+
*/
|
|
7314
8268
|
async updateServiceMirror(ClusterId, ServiceName, request) {
|
|
7315
8269
|
let runtime = new $Util.RuntimeOptions({});
|
|
7316
8270
|
let headers = {};
|
|
7317
8271
|
return await this.updateServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7318
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
|
+
*/
|
|
7319
8281
|
async updateServiceSafetyLockWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
7320
8282
|
tea_util_1.default.validateModel(request);
|
|
7321
8283
|
let body = {};
|
|
@@ -7339,11 +8301,25 @@ class Client extends openapi_client_1.default {
|
|
|
7339
8301
|
});
|
|
7340
8302
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceSafetyLockResponse({}));
|
|
7341
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
|
+
*/
|
|
7342
8310
|
async updateServiceSafetyLock(ClusterId, ServiceName, request) {
|
|
7343
8311
|
let runtime = new $Util.RuntimeOptions({});
|
|
7344
8312
|
let headers = {};
|
|
7345
8313
|
return await this.updateServiceSafetyLockWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7346
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
|
+
*/
|
|
7347
8323
|
async updateServiceVersionWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
7348
8324
|
tea_util_1.default.validateModel(request);
|
|
7349
8325
|
let body = {};
|
|
@@ -7367,6 +8343,12 @@ class Client extends openapi_client_1.default {
|
|
|
7367
8343
|
});
|
|
7368
8344
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceVersionResponse({}));
|
|
7369
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
|
+
*/
|
|
7370
8352
|
async updateServiceVersion(ClusterId, ServiceName, request) {
|
|
7371
8353
|
let runtime = new $Util.RuntimeOptions({});
|
|
7372
8354
|
let headers = {};
|