@alicloud/eas20210701 4.1.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1048 -10
- package/dist/client.js +1104 -13
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1129 -10
package/src/client.ts
CHANGED
|
@@ -99,6 +99,8 @@ export class Group extends $tea.Model {
|
|
|
99
99
|
|
|
100
100
|
export class Instance extends $tea.Model {
|
|
101
101
|
currentAmount?: number;
|
|
102
|
+
externalIP?: string;
|
|
103
|
+
externalInstancePort?: number;
|
|
102
104
|
hostIP?: string;
|
|
103
105
|
hostName?: string;
|
|
104
106
|
innerIP?: string;
|
|
@@ -115,13 +117,17 @@ export class Instance extends $tea.Model {
|
|
|
115
117
|
restartCount?: number;
|
|
116
118
|
role?: string;
|
|
117
119
|
startAt?: string;
|
|
120
|
+
startTime?: string;
|
|
118
121
|
status?: string;
|
|
119
122
|
tenantHostIP?: string;
|
|
120
123
|
tenantInstanceIP?: string;
|
|
121
124
|
totalProcesses?: number;
|
|
125
|
+
zone?: string;
|
|
122
126
|
static names(): { [key: string]: string } {
|
|
123
127
|
return {
|
|
124
128
|
currentAmount: 'CurrentAmount',
|
|
129
|
+
externalIP: 'ExternalIP',
|
|
130
|
+
externalInstancePort: 'ExternalInstancePort',
|
|
125
131
|
hostIP: 'HostIP',
|
|
126
132
|
hostName: 'HostName',
|
|
127
133
|
innerIP: 'InnerIP',
|
|
@@ -138,16 +144,20 @@ export class Instance extends $tea.Model {
|
|
|
138
144
|
restartCount: 'RestartCount',
|
|
139
145
|
role: 'Role',
|
|
140
146
|
startAt: 'StartAt',
|
|
147
|
+
startTime: 'StartTime',
|
|
141
148
|
status: 'Status',
|
|
142
149
|
tenantHostIP: 'TenantHostIP',
|
|
143
150
|
tenantInstanceIP: 'TenantInstanceIP',
|
|
144
151
|
totalProcesses: 'TotalProcesses',
|
|
152
|
+
zone: 'Zone',
|
|
145
153
|
};
|
|
146
154
|
}
|
|
147
155
|
|
|
148
156
|
static types(): { [key: string]: any } {
|
|
149
157
|
return {
|
|
150
158
|
currentAmount: 'number',
|
|
159
|
+
externalIP: 'string',
|
|
160
|
+
externalInstancePort: 'number',
|
|
151
161
|
hostIP: 'string',
|
|
152
162
|
hostName: 'string',
|
|
153
163
|
innerIP: 'string',
|
|
@@ -164,10 +174,12 @@ export class Instance extends $tea.Model {
|
|
|
164
174
|
restartCount: 'number',
|
|
165
175
|
role: 'string',
|
|
166
176
|
startAt: 'string',
|
|
177
|
+
startTime: 'string',
|
|
167
178
|
status: 'string',
|
|
168
179
|
tenantHostIP: 'string',
|
|
169
180
|
tenantInstanceIP: 'string',
|
|
170
181
|
totalProcesses: 'number',
|
|
182
|
+
zone: 'string',
|
|
171
183
|
};
|
|
172
184
|
}
|
|
173
185
|
|
|
@@ -191,6 +203,7 @@ export class Resource extends $tea.Model {
|
|
|
191
203
|
resourceType?: string;
|
|
192
204
|
status?: string;
|
|
193
205
|
updateTime?: string;
|
|
206
|
+
vendor?: string;
|
|
194
207
|
static names(): { [key: string]: string } {
|
|
195
208
|
return {
|
|
196
209
|
clusterId: 'ClusterId',
|
|
@@ -207,6 +220,7 @@ export class Resource extends $tea.Model {
|
|
|
207
220
|
resourceType: 'ResourceType',
|
|
208
221
|
status: 'Status',
|
|
209
222
|
updateTime: 'UpdateTime',
|
|
223
|
+
vendor: 'Vendor',
|
|
210
224
|
};
|
|
211
225
|
}
|
|
212
226
|
|
|
@@ -226,6 +240,7 @@ export class Resource extends $tea.Model {
|
|
|
226
240
|
resourceType: 'string',
|
|
227
241
|
status: 'string',
|
|
228
242
|
updateTime: 'string',
|
|
243
|
+
vendor: 'string',
|
|
229
244
|
};
|
|
230
245
|
}
|
|
231
246
|
|
|
@@ -3227,6 +3242,75 @@ export class DescribeServiceMirrorResponse extends $tea.Model {
|
|
|
3227
3242
|
}
|
|
3228
3243
|
}
|
|
3229
3244
|
|
|
3245
|
+
export class DescribeSpotDiscountHistoryRequest extends $tea.Model {
|
|
3246
|
+
instanceType?: string;
|
|
3247
|
+
isProtect?: boolean;
|
|
3248
|
+
static names(): { [key: string]: string } {
|
|
3249
|
+
return {
|
|
3250
|
+
instanceType: 'InstanceType',
|
|
3251
|
+
isProtect: 'IsProtect',
|
|
3252
|
+
};
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3255
|
+
static types(): { [key: string]: any } {
|
|
3256
|
+
return {
|
|
3257
|
+
instanceType: 'string',
|
|
3258
|
+
isProtect: 'boolean',
|
|
3259
|
+
};
|
|
3260
|
+
}
|
|
3261
|
+
|
|
3262
|
+
constructor(map?: { [key: string]: any }) {
|
|
3263
|
+
super(map);
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
3266
|
+
|
|
3267
|
+
export class DescribeSpotDiscountHistoryResponseBody extends $tea.Model {
|
|
3268
|
+
requestId?: string;
|
|
3269
|
+
spotDiscounts?: DescribeSpotDiscountHistoryResponseBodySpotDiscounts[];
|
|
3270
|
+
static names(): { [key: string]: string } {
|
|
3271
|
+
return {
|
|
3272
|
+
requestId: 'RequestId',
|
|
3273
|
+
spotDiscounts: 'SpotDiscounts',
|
|
3274
|
+
};
|
|
3275
|
+
}
|
|
3276
|
+
|
|
3277
|
+
static types(): { [key: string]: any } {
|
|
3278
|
+
return {
|
|
3279
|
+
requestId: 'string',
|
|
3280
|
+
spotDiscounts: { 'type': 'array', 'itemType': DescribeSpotDiscountHistoryResponseBodySpotDiscounts },
|
|
3281
|
+
};
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
constructor(map?: { [key: string]: any }) {
|
|
3285
|
+
super(map);
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
|
|
3289
|
+
export class DescribeSpotDiscountHistoryResponse extends $tea.Model {
|
|
3290
|
+
headers?: { [key: string]: string };
|
|
3291
|
+
statusCode?: number;
|
|
3292
|
+
body?: DescribeSpotDiscountHistoryResponseBody;
|
|
3293
|
+
static names(): { [key: string]: string } {
|
|
3294
|
+
return {
|
|
3295
|
+
headers: 'headers',
|
|
3296
|
+
statusCode: 'statusCode',
|
|
3297
|
+
body: 'body',
|
|
3298
|
+
};
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
static types(): { [key: string]: any } {
|
|
3302
|
+
return {
|
|
3303
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3304
|
+
statusCode: 'number',
|
|
3305
|
+
body: DescribeSpotDiscountHistoryResponseBody,
|
|
3306
|
+
};
|
|
3307
|
+
}
|
|
3308
|
+
|
|
3309
|
+
constructor(map?: { [key: string]: any }) {
|
|
3310
|
+
super(map);
|
|
3311
|
+
}
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3230
3314
|
export class DevelopServiceRequest extends $tea.Model {
|
|
3231
3315
|
exit?: string;
|
|
3232
3316
|
static names(): { [key: string]: string } {
|
|
@@ -6001,6 +6085,34 @@ export class DescribeServiceInstanceDiagnosisResponseBodyDiagnosis extends $tea.
|
|
|
6001
6085
|
}
|
|
6002
6086
|
}
|
|
6003
6087
|
|
|
6088
|
+
export class DescribeSpotDiscountHistoryResponseBodySpotDiscounts extends $tea.Model {
|
|
6089
|
+
instanceType?: string;
|
|
6090
|
+
spotDiscount?: string;
|
|
6091
|
+
timestamp?: string;
|
|
6092
|
+
zoneId?: string;
|
|
6093
|
+
static names(): { [key: string]: string } {
|
|
6094
|
+
return {
|
|
6095
|
+
instanceType: 'InstanceType',
|
|
6096
|
+
spotDiscount: 'SpotDiscount',
|
|
6097
|
+
timestamp: 'Timestamp',
|
|
6098
|
+
zoneId: 'ZoneId',
|
|
6099
|
+
};
|
|
6100
|
+
}
|
|
6101
|
+
|
|
6102
|
+
static types(): { [key: string]: any } {
|
|
6103
|
+
return {
|
|
6104
|
+
instanceType: 'string',
|
|
6105
|
+
spotDiscount: 'string',
|
|
6106
|
+
timestamp: 'string',
|
|
6107
|
+
zoneId: 'string',
|
|
6108
|
+
};
|
|
6109
|
+
}
|
|
6110
|
+
|
|
6111
|
+
constructor(map?: { [key: string]: any }) {
|
|
6112
|
+
super(map);
|
|
6113
|
+
}
|
|
6114
|
+
}
|
|
6115
|
+
|
|
6004
6116
|
export class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
6005
6117
|
availableAgent?: number;
|
|
6006
6118
|
createTime?: string;
|
|
@@ -6334,6 +6446,14 @@ export default class Client extends OpenApi {
|
|
|
6334
6446
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
6335
6447
|
}
|
|
6336
6448
|
|
|
6449
|
+
/**
|
|
6450
|
+
* @summary Clones a service.
|
|
6451
|
+
*
|
|
6452
|
+
* @param request CloneServiceRequest
|
|
6453
|
+
* @param headers map
|
|
6454
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6455
|
+
* @return CloneServiceResponse
|
|
6456
|
+
*/
|
|
6337
6457
|
async cloneServiceWithOptions(ClusterId: string, ServiceName: string, request: CloneServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CloneServiceResponse> {
|
|
6338
6458
|
Util.validateModel(request);
|
|
6339
6459
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -6354,12 +6474,25 @@ export default class Client extends OpenApi {
|
|
|
6354
6474
|
return $tea.cast<CloneServiceResponse>(await this.callApi(params, req, runtime), new CloneServiceResponse({}));
|
|
6355
6475
|
}
|
|
6356
6476
|
|
|
6477
|
+
/**
|
|
6478
|
+
* @summary Clones a service.
|
|
6479
|
+
*
|
|
6480
|
+
* @param request CloneServiceRequest
|
|
6481
|
+
* @return CloneServiceResponse
|
|
6482
|
+
*/
|
|
6357
6483
|
async cloneService(ClusterId: string, ServiceName: string, request: CloneServiceRequest): Promise<CloneServiceResponse> {
|
|
6358
6484
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6359
6485
|
let headers : {[key: string ]: string} = { };
|
|
6360
6486
|
return await this.cloneServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6361
6487
|
}
|
|
6362
6488
|
|
|
6489
|
+
/**
|
|
6490
|
+
* @summary Commits the Worker0 container in the custom container service and deploys the container as a new image.
|
|
6491
|
+
*
|
|
6492
|
+
* @param headers map
|
|
6493
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6494
|
+
* @return CommitServiceResponse
|
|
6495
|
+
*/
|
|
6363
6496
|
async commitServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CommitServiceResponse> {
|
|
6364
6497
|
let req = new $OpenApi.OpenApiRequest({
|
|
6365
6498
|
headers: headers,
|
|
@@ -6378,12 +6511,25 @@ export default class Client extends OpenApi {
|
|
|
6378
6511
|
return $tea.cast<CommitServiceResponse>(await this.callApi(params, req, runtime), new CommitServiceResponse({}));
|
|
6379
6512
|
}
|
|
6380
6513
|
|
|
6514
|
+
/**
|
|
6515
|
+
* @summary Commits the Worker0 container in the custom container service and deploys the container as a new image.
|
|
6516
|
+
*
|
|
6517
|
+
* @return CommitServiceResponse
|
|
6518
|
+
*/
|
|
6381
6519
|
async commitService(ClusterId: string, ServiceName: string): Promise<CommitServiceResponse> {
|
|
6382
6520
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6383
6521
|
let headers : {[key: string ]: string} = { };
|
|
6384
6522
|
return await this.commitServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6385
6523
|
}
|
|
6386
6524
|
|
|
6525
|
+
/**
|
|
6526
|
+
* @summary Creates an application service.
|
|
6527
|
+
*
|
|
6528
|
+
* @param request CreateAppServiceRequest
|
|
6529
|
+
* @param headers map
|
|
6530
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6531
|
+
* @return CreateAppServiceResponse
|
|
6532
|
+
*/
|
|
6387
6533
|
async createAppServiceWithOptions(request: CreateAppServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateAppServiceResponse> {
|
|
6388
6534
|
Util.validateModel(request);
|
|
6389
6535
|
let query : {[key: string ]: any} = { };
|
|
@@ -6439,12 +6585,26 @@ export default class Client extends OpenApi {
|
|
|
6439
6585
|
return $tea.cast<CreateAppServiceResponse>(await this.callApi(params, req, runtime), new CreateAppServiceResponse({}));
|
|
6440
6586
|
}
|
|
6441
6587
|
|
|
6588
|
+
/**
|
|
6589
|
+
* @summary Creates an application service.
|
|
6590
|
+
*
|
|
6591
|
+
* @param request CreateAppServiceRequest
|
|
6592
|
+
* @return CreateAppServiceResponse
|
|
6593
|
+
*/
|
|
6442
6594
|
async createAppService(request: CreateAppServiceRequest): Promise<CreateAppServiceResponse> {
|
|
6443
6595
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6444
6596
|
let headers : {[key: string ]: string} = { };
|
|
6445
6597
|
return await this.createAppServiceWithOptions(request, headers, runtime);
|
|
6446
6598
|
}
|
|
6447
6599
|
|
|
6600
|
+
/**
|
|
6601
|
+
* @summary Creates a stress testing task.
|
|
6602
|
+
*
|
|
6603
|
+
* @param request CreateBenchmarkTaskRequest
|
|
6604
|
+
* @param headers map
|
|
6605
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6606
|
+
* @return CreateBenchmarkTaskResponse
|
|
6607
|
+
*/
|
|
6448
6608
|
async createBenchmarkTaskWithOptions(request: CreateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateBenchmarkTaskResponse> {
|
|
6449
6609
|
Util.validateModel(request);
|
|
6450
6610
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -6465,12 +6625,26 @@ export default class Client extends OpenApi {
|
|
|
6465
6625
|
return $tea.cast<CreateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new CreateBenchmarkTaskResponse({}));
|
|
6466
6626
|
}
|
|
6467
6627
|
|
|
6628
|
+
/**
|
|
6629
|
+
* @summary Creates a stress testing task.
|
|
6630
|
+
*
|
|
6631
|
+
* @param request CreateBenchmarkTaskRequest
|
|
6632
|
+
* @return CreateBenchmarkTaskResponse
|
|
6633
|
+
*/
|
|
6468
6634
|
async createBenchmarkTask(request: CreateBenchmarkTaskRequest): Promise<CreateBenchmarkTaskResponse> {
|
|
6469
6635
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6470
6636
|
let headers : {[key: string ]: string} = { };
|
|
6471
6637
|
return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
|
|
6472
6638
|
}
|
|
6473
6639
|
|
|
6640
|
+
/**
|
|
6641
|
+
* @summary Creates a private gateway. You can create a private gateway only in a self-managed resource group.
|
|
6642
|
+
*
|
|
6643
|
+
* @param request CreateGatewayRequest
|
|
6644
|
+
* @param headers map
|
|
6645
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6646
|
+
* @return CreateGatewayResponse
|
|
6647
|
+
*/
|
|
6474
6648
|
async createGatewayWithOptions(request: CreateGatewayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateGatewayResponse> {
|
|
6475
6649
|
Util.validateModel(request);
|
|
6476
6650
|
let query : {[key: string ]: any} = { };
|
|
@@ -6514,12 +6688,26 @@ export default class Client extends OpenApi {
|
|
|
6514
6688
|
return $tea.cast<CreateGatewayResponse>(await this.callApi(params, req, runtime), new CreateGatewayResponse({}));
|
|
6515
6689
|
}
|
|
6516
6690
|
|
|
6691
|
+
/**
|
|
6692
|
+
* @summary Creates a private gateway. You can create a private gateway only in a self-managed resource group.
|
|
6693
|
+
*
|
|
6694
|
+
* @param request CreateGatewayRequest
|
|
6695
|
+
* @return CreateGatewayResponse
|
|
6696
|
+
*/
|
|
6517
6697
|
async createGateway(request: CreateGatewayRequest): Promise<CreateGatewayResponse> {
|
|
6518
6698
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6519
6699
|
let headers : {[key: string ]: string} = { };
|
|
6520
6700
|
return await this.createGatewayWithOptions(request, headers, runtime);
|
|
6521
6701
|
}
|
|
6522
6702
|
|
|
6703
|
+
/**
|
|
6704
|
+
* @summary Creates an internal endpoint of a private gateway.
|
|
6705
|
+
*
|
|
6706
|
+
* @param request CreateGatewayIntranetLinkedVpcRequest
|
|
6707
|
+
* @param headers map
|
|
6708
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6709
|
+
* @return CreateGatewayIntranetLinkedVpcResponse
|
|
6710
|
+
*/
|
|
6523
6711
|
async createGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, request: CreateGatewayIntranetLinkedVpcRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateGatewayIntranetLinkedVpcResponse> {
|
|
6524
6712
|
Util.validateModel(request);
|
|
6525
6713
|
let query : {[key: string ]: any} = { };
|
|
@@ -6549,6 +6737,12 @@ export default class Client extends OpenApi {
|
|
|
6549
6737
|
return $tea.cast<CreateGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcResponse({}));
|
|
6550
6738
|
}
|
|
6551
6739
|
|
|
6740
|
+
/**
|
|
6741
|
+
* @summary Creates an internal endpoint of a private gateway.
|
|
6742
|
+
*
|
|
6743
|
+
* @param request CreateGatewayIntranetLinkedVpcRequest
|
|
6744
|
+
* @return CreateGatewayIntranetLinkedVpcResponse
|
|
6745
|
+
*/
|
|
6552
6746
|
async createGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string, request: CreateGatewayIntranetLinkedVpcRequest): Promise<CreateGatewayIntranetLinkedVpcResponse> {
|
|
6553
6747
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6554
6748
|
let headers : {[key: string ]: string} = { };
|
|
@@ -6556,12 +6750,14 @@ export default class Client extends OpenApi {
|
|
|
6556
6750
|
}
|
|
6557
6751
|
|
|
6558
6752
|
/**
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6753
|
+
* @summary Creates a resource group.
|
|
6754
|
+
*
|
|
6755
|
+
* @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).
|
|
6756
|
+
*
|
|
6757
|
+
* @param request CreateResourceRequest
|
|
6758
|
+
* @param headers map
|
|
6759
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6760
|
+
* @return CreateResourceResponse
|
|
6565
6761
|
*/
|
|
6566
6762
|
async createResourceWithOptions(request: CreateResourceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateResourceResponse> {
|
|
6567
6763
|
Util.validateModel(request);
|
|
@@ -6617,10 +6813,12 @@ export default class Client extends OpenApi {
|
|
|
6617
6813
|
}
|
|
6618
6814
|
|
|
6619
6815
|
/**
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6816
|
+
* @summary Creates a resource group.
|
|
6817
|
+
*
|
|
6818
|
+
* @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).
|
|
6819
|
+
*
|
|
6820
|
+
* @param request CreateResourceRequest
|
|
6821
|
+
* @return CreateResourceResponse
|
|
6624
6822
|
*/
|
|
6625
6823
|
async createResource(request: CreateResourceRequest): Promise<CreateResourceResponse> {
|
|
6626
6824
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -6628,6 +6826,14 @@ export default class Client extends OpenApi {
|
|
|
6628
6826
|
return await this.createResourceWithOptions(request, headers, runtime);
|
|
6629
6827
|
}
|
|
6630
6828
|
|
|
6829
|
+
/**
|
|
6830
|
+
* @summary Creates instances in a dedicated resource group.
|
|
6831
|
+
*
|
|
6832
|
+
* @param request CreateResourceInstancesRequest
|
|
6833
|
+
* @param headers map
|
|
6834
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6835
|
+
* @return CreateResourceInstancesResponse
|
|
6836
|
+
*/
|
|
6631
6837
|
async createResourceInstancesWithOptions(ClusterId: string, ResourceId: string, request: CreateResourceInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateResourceInstancesResponse> {
|
|
6632
6838
|
Util.validateModel(request);
|
|
6633
6839
|
let body : {[key: string ]: any} = { };
|
|
@@ -6677,12 +6883,26 @@ export default class Client extends OpenApi {
|
|
|
6677
6883
|
return $tea.cast<CreateResourceInstancesResponse>(await this.callApi(params, req, runtime), new CreateResourceInstancesResponse({}));
|
|
6678
6884
|
}
|
|
6679
6885
|
|
|
6886
|
+
/**
|
|
6887
|
+
* @summary Creates instances in a dedicated resource group.
|
|
6888
|
+
*
|
|
6889
|
+
* @param request CreateResourceInstancesRequest
|
|
6890
|
+
* @return CreateResourceInstancesResponse
|
|
6891
|
+
*/
|
|
6680
6892
|
async createResourceInstances(ClusterId: string, ResourceId: string, request: CreateResourceInstancesRequest): Promise<CreateResourceInstancesResponse> {
|
|
6681
6893
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6682
6894
|
let headers : {[key: string ]: string} = { };
|
|
6683
6895
|
return await this.createResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
6684
6896
|
}
|
|
6685
6897
|
|
|
6898
|
+
/**
|
|
6899
|
+
* @summary Enables the LogShipper feature of Log Service for a resource group.
|
|
6900
|
+
*
|
|
6901
|
+
* @param request CreateResourceLogRequest
|
|
6902
|
+
* @param headers map
|
|
6903
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6904
|
+
* @return CreateResourceLogResponse
|
|
6905
|
+
*/
|
|
6686
6906
|
async createResourceLogWithOptions(ClusterId: string, ResourceId: string, request: CreateResourceLogRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateResourceLogResponse> {
|
|
6687
6907
|
Util.validateModel(request);
|
|
6688
6908
|
let body : {[key: string ]: any} = { };
|
|
@@ -6712,12 +6932,28 @@ export default class Client extends OpenApi {
|
|
|
6712
6932
|
return $tea.cast<CreateResourceLogResponse>(await this.callApi(params, req, runtime), new CreateResourceLogResponse({}));
|
|
6713
6933
|
}
|
|
6714
6934
|
|
|
6935
|
+
/**
|
|
6936
|
+
* @summary Enables the LogShipper feature of Log Service for a resource group.
|
|
6937
|
+
*
|
|
6938
|
+
* @param request CreateResourceLogRequest
|
|
6939
|
+
* @return CreateResourceLogResponse
|
|
6940
|
+
*/
|
|
6715
6941
|
async createResourceLog(ClusterId: string, ResourceId: string, request: CreateResourceLogRequest): Promise<CreateResourceLogResponse> {
|
|
6716
6942
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6717
6943
|
let headers : {[key: string ]: string} = { };
|
|
6718
6944
|
return await this.createResourceLogWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
6719
6945
|
}
|
|
6720
6946
|
|
|
6947
|
+
/**
|
|
6948
|
+
* @summary Creates a model service in Elastic Algorithm Service (EAS).
|
|
6949
|
+
*
|
|
6950
|
+
* @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).
|
|
6951
|
+
*
|
|
6952
|
+
* @param tmpReq CreateServiceRequest
|
|
6953
|
+
* @param headers map
|
|
6954
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6955
|
+
* @return CreateServiceResponse
|
|
6956
|
+
*/
|
|
6721
6957
|
async createServiceWithOptions(tmpReq: CreateServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateServiceResponse> {
|
|
6722
6958
|
Util.validateModel(tmpReq);
|
|
6723
6959
|
let request = new CreateServiceShrinkRequest({ });
|
|
@@ -6758,12 +6994,28 @@ export default class Client extends OpenApi {
|
|
|
6758
6994
|
return $tea.cast<CreateServiceResponse>(await this.callApi(params, req, runtime), new CreateServiceResponse({}));
|
|
6759
6995
|
}
|
|
6760
6996
|
|
|
6997
|
+
/**
|
|
6998
|
+
* @summary Creates a model service in Elastic Algorithm Service (EAS).
|
|
6999
|
+
*
|
|
7000
|
+
* @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).
|
|
7001
|
+
*
|
|
7002
|
+
* @param request CreateServiceRequest
|
|
7003
|
+
* @return CreateServiceResponse
|
|
7004
|
+
*/
|
|
6761
7005
|
async createService(request: CreateServiceRequest): Promise<CreateServiceResponse> {
|
|
6762
7006
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6763
7007
|
let headers : {[key: string ]: string} = { };
|
|
6764
7008
|
return await this.createServiceWithOptions(request, headers, runtime);
|
|
6765
7009
|
}
|
|
6766
7010
|
|
|
7011
|
+
/**
|
|
7012
|
+
* @summary Enables the Autoscaler feature and creates an Autoscaler controller for a service.
|
|
7013
|
+
*
|
|
7014
|
+
* @param request CreateServiceAutoScalerRequest
|
|
7015
|
+
* @param headers map
|
|
7016
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7017
|
+
* @return CreateServiceAutoScalerResponse
|
|
7018
|
+
*/
|
|
6767
7019
|
async createServiceAutoScalerWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceAutoScalerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateServiceAutoScalerResponse> {
|
|
6768
7020
|
Util.validateModel(request);
|
|
6769
7021
|
let body : {[key: string ]: any} = { };
|
|
@@ -6801,12 +7053,26 @@ export default class Client extends OpenApi {
|
|
|
6801
7053
|
return $tea.cast<CreateServiceAutoScalerResponse>(await this.callApi(params, req, runtime), new CreateServiceAutoScalerResponse({}));
|
|
6802
7054
|
}
|
|
6803
7055
|
|
|
7056
|
+
/**
|
|
7057
|
+
* @summary Enables the Autoscaler feature and creates an Autoscaler controller for a service.
|
|
7058
|
+
*
|
|
7059
|
+
* @param request CreateServiceAutoScalerRequest
|
|
7060
|
+
* @return CreateServiceAutoScalerResponse
|
|
7061
|
+
*/
|
|
6804
7062
|
async createServiceAutoScaler(ClusterId: string, ServiceName: string, request: CreateServiceAutoScalerRequest): Promise<CreateServiceAutoScalerResponse> {
|
|
6805
7063
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6806
7064
|
let headers : {[key: string ]: string} = { };
|
|
6807
7065
|
return await this.createServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6808
7066
|
}
|
|
6809
7067
|
|
|
7068
|
+
/**
|
|
7069
|
+
* @summary Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.
|
|
7070
|
+
*
|
|
7071
|
+
* @param request CreateServiceCronScalerRequest
|
|
7072
|
+
* @param headers map
|
|
7073
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7074
|
+
* @return CreateServiceCronScalerResponse
|
|
7075
|
+
*/
|
|
6810
7076
|
async createServiceCronScalerWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceCronScalerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateServiceCronScalerResponse> {
|
|
6811
7077
|
Util.validateModel(request);
|
|
6812
7078
|
let body : {[key: string ]: any} = { };
|
|
@@ -6836,12 +7102,26 @@ export default class Client extends OpenApi {
|
|
|
6836
7102
|
return $tea.cast<CreateServiceCronScalerResponse>(await this.callApi(params, req, runtime), new CreateServiceCronScalerResponse({}));
|
|
6837
7103
|
}
|
|
6838
7104
|
|
|
7105
|
+
/**
|
|
7106
|
+
* @summary Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.
|
|
7107
|
+
*
|
|
7108
|
+
* @param request CreateServiceCronScalerRequest
|
|
7109
|
+
* @return CreateServiceCronScalerResponse
|
|
7110
|
+
*/
|
|
6839
7111
|
async createServiceCronScaler(ClusterId: string, ServiceName: string, request: CreateServiceCronScalerRequest): Promise<CreateServiceCronScalerResponse> {
|
|
6840
7112
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6841
7113
|
let headers : {[key: string ]: string} = { };
|
|
6842
7114
|
return await this.createServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6843
7115
|
}
|
|
6844
7116
|
|
|
7117
|
+
/**
|
|
7118
|
+
* @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.
|
|
7119
|
+
*
|
|
7120
|
+
* @param request CreateServiceMirrorRequest
|
|
7121
|
+
* @param headers map
|
|
7122
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7123
|
+
* @return CreateServiceMirrorResponse
|
|
7124
|
+
*/
|
|
6845
7125
|
async createServiceMirrorWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateServiceMirrorResponse> {
|
|
6846
7126
|
Util.validateModel(request);
|
|
6847
7127
|
let body : {[key: string ]: any} = { };
|
|
@@ -6871,12 +7151,25 @@ export default class Client extends OpenApi {
|
|
|
6871
7151
|
return $tea.cast<CreateServiceMirrorResponse>(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
|
|
6872
7152
|
}
|
|
6873
7153
|
|
|
7154
|
+
/**
|
|
7155
|
+
* @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.
|
|
7156
|
+
*
|
|
7157
|
+
* @param request CreateServiceMirrorRequest
|
|
7158
|
+
* @return CreateServiceMirrorResponse
|
|
7159
|
+
*/
|
|
6874
7160
|
async createServiceMirror(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest): Promise<CreateServiceMirrorResponse> {
|
|
6875
7161
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6876
7162
|
let headers : {[key: string ]: string} = { };
|
|
6877
7163
|
return await this.createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6878
7164
|
}
|
|
6879
7165
|
|
|
7166
|
+
/**
|
|
7167
|
+
* @summary Deletes a stress testing task.
|
|
7168
|
+
*
|
|
7169
|
+
* @param headers map
|
|
7170
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7171
|
+
* @return DeleteBenchmarkTaskResponse
|
|
7172
|
+
*/
|
|
6880
7173
|
async deleteBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteBenchmarkTaskResponse> {
|
|
6881
7174
|
let req = new $OpenApi.OpenApiRequest({
|
|
6882
7175
|
headers: headers,
|
|
@@ -6895,12 +7188,24 @@ export default class Client extends OpenApi {
|
|
|
6895
7188
|
return $tea.cast<DeleteBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new DeleteBenchmarkTaskResponse({}));
|
|
6896
7189
|
}
|
|
6897
7190
|
|
|
7191
|
+
/**
|
|
7192
|
+
* @summary Deletes a stress testing task.
|
|
7193
|
+
*
|
|
7194
|
+
* @return DeleteBenchmarkTaskResponse
|
|
7195
|
+
*/
|
|
6898
7196
|
async deleteBenchmarkTask(ClusterId: string, TaskName: string): Promise<DeleteBenchmarkTaskResponse> {
|
|
6899
7197
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6900
7198
|
let headers : {[key: string ]: string} = { };
|
|
6901
7199
|
return await this.deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
6902
7200
|
}
|
|
6903
7201
|
|
|
7202
|
+
/**
|
|
7203
|
+
* @summary Deletes a private gateway.
|
|
7204
|
+
*
|
|
7205
|
+
* @param headers map
|
|
7206
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7207
|
+
* @return DeleteGatewayResponse
|
|
7208
|
+
*/
|
|
6904
7209
|
async deleteGatewayWithOptions(ClusterId: string, GatewayId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteGatewayResponse> {
|
|
6905
7210
|
let req = new $OpenApi.OpenApiRequest({
|
|
6906
7211
|
headers: headers,
|
|
@@ -6919,12 +7224,25 @@ export default class Client extends OpenApi {
|
|
|
6919
7224
|
return $tea.cast<DeleteGatewayResponse>(await this.callApi(params, req, runtime), new DeleteGatewayResponse({}));
|
|
6920
7225
|
}
|
|
6921
7226
|
|
|
7227
|
+
/**
|
|
7228
|
+
* @summary Deletes a private gateway.
|
|
7229
|
+
*
|
|
7230
|
+
* @return DeleteGatewayResponse
|
|
7231
|
+
*/
|
|
6922
7232
|
async deleteGateway(ClusterId: string, GatewayId: string): Promise<DeleteGatewayResponse> {
|
|
6923
7233
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6924
7234
|
let headers : {[key: string ]: string} = { };
|
|
6925
7235
|
return await this.deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
6926
7236
|
}
|
|
6927
7237
|
|
|
7238
|
+
/**
|
|
7239
|
+
* @summary 删除网关内网访问端点
|
|
7240
|
+
*
|
|
7241
|
+
* @param request DeleteGatewayIntranetLinkedVpcRequest
|
|
7242
|
+
* @param headers map
|
|
7243
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7244
|
+
* @return DeleteGatewayIntranetLinkedVpcResponse
|
|
7245
|
+
*/
|
|
6928
7246
|
async deleteGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
|
|
6929
7247
|
Util.validateModel(request);
|
|
6930
7248
|
let query : {[key: string ]: any} = { };
|
|
@@ -6954,12 +7272,25 @@ export default class Client extends OpenApi {
|
|
|
6954
7272
|
return $tea.cast<DeleteGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
|
|
6955
7273
|
}
|
|
6956
7274
|
|
|
7275
|
+
/**
|
|
7276
|
+
* @summary 删除网关内网访问端点
|
|
7277
|
+
*
|
|
7278
|
+
* @param request DeleteGatewayIntranetLinkedVpcRequest
|
|
7279
|
+
* @return DeleteGatewayIntranetLinkedVpcResponse
|
|
7280
|
+
*/
|
|
6957
7281
|
async deleteGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
|
|
6958
7282
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6959
7283
|
let headers : {[key: string ]: string} = { };
|
|
6960
7284
|
return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
6961
7285
|
}
|
|
6962
7286
|
|
|
7287
|
+
/**
|
|
7288
|
+
* @summary Deletes a resource group that contains no resources or instances.
|
|
7289
|
+
*
|
|
7290
|
+
* @param headers map
|
|
7291
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7292
|
+
* @return DeleteResourceResponse
|
|
7293
|
+
*/
|
|
6963
7294
|
async deleteResourceWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteResourceResponse> {
|
|
6964
7295
|
let req = new $OpenApi.OpenApiRequest({
|
|
6965
7296
|
headers: headers,
|
|
@@ -6978,12 +7309,24 @@ export default class Client extends OpenApi {
|
|
|
6978
7309
|
return $tea.cast<DeleteResourceResponse>(await this.callApi(params, req, runtime), new DeleteResourceResponse({}));
|
|
6979
7310
|
}
|
|
6980
7311
|
|
|
7312
|
+
/**
|
|
7313
|
+
* @summary Deletes a resource group that contains no resources or instances.
|
|
7314
|
+
*
|
|
7315
|
+
* @return DeleteResourceResponse
|
|
7316
|
+
*/
|
|
6981
7317
|
async deleteResource(ClusterId: string, ResourceId: string): Promise<DeleteResourceResponse> {
|
|
6982
7318
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6983
7319
|
let headers : {[key: string ]: string} = { };
|
|
6984
7320
|
return await this.deleteResourceWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
6985
7321
|
}
|
|
6986
7322
|
|
|
7323
|
+
/**
|
|
7324
|
+
* @summary Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.
|
|
7325
|
+
*
|
|
7326
|
+
* @param headers map
|
|
7327
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7328
|
+
* @return DeleteResourceDLinkResponse
|
|
7329
|
+
*/
|
|
6987
7330
|
async deleteResourceDLinkWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteResourceDLinkResponse> {
|
|
6988
7331
|
let req = new $OpenApi.OpenApiRequest({
|
|
6989
7332
|
headers: headers,
|
|
@@ -7002,12 +7345,25 @@ export default class Client extends OpenApi {
|
|
|
7002
7345
|
return $tea.cast<DeleteResourceDLinkResponse>(await this.callApi(params, req, runtime), new DeleteResourceDLinkResponse({}));
|
|
7003
7346
|
}
|
|
7004
7347
|
|
|
7348
|
+
/**
|
|
7349
|
+
* @summary Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.
|
|
7350
|
+
*
|
|
7351
|
+
* @return DeleteResourceDLinkResponse
|
|
7352
|
+
*/
|
|
7005
7353
|
async deleteResourceDLink(ClusterId: string, ResourceId: string): Promise<DeleteResourceDLinkResponse> {
|
|
7006
7354
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7007
7355
|
let headers : {[key: string ]: string} = { };
|
|
7008
7356
|
return await this.deleteResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7009
7357
|
}
|
|
7010
7358
|
|
|
7359
|
+
/**
|
|
7360
|
+
* @summary Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.
|
|
7361
|
+
*
|
|
7362
|
+
* @param request DeleteResourceInstancesRequest
|
|
7363
|
+
* @param headers map
|
|
7364
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7365
|
+
* @return DeleteResourceInstancesResponse
|
|
7366
|
+
*/
|
|
7011
7367
|
async deleteResourceInstancesWithOptions(ClusterId: string, ResourceId: string, request: DeleteResourceInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteResourceInstancesResponse> {
|
|
7012
7368
|
Util.validateModel(request);
|
|
7013
7369
|
let query : {[key: string ]: any} = { };
|
|
@@ -7037,12 +7393,25 @@ export default class Client extends OpenApi {
|
|
|
7037
7393
|
return $tea.cast<DeleteResourceInstancesResponse>(await this.callApi(params, req, runtime), new DeleteResourceInstancesResponse({}));
|
|
7038
7394
|
}
|
|
7039
7395
|
|
|
7396
|
+
/**
|
|
7397
|
+
* @summary Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.
|
|
7398
|
+
*
|
|
7399
|
+
* @param request DeleteResourceInstancesRequest
|
|
7400
|
+
* @return DeleteResourceInstancesResponse
|
|
7401
|
+
*/
|
|
7040
7402
|
async deleteResourceInstances(ClusterId: string, ResourceId: string, request: DeleteResourceInstancesRequest): Promise<DeleteResourceInstancesResponse> {
|
|
7041
7403
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7042
7404
|
let headers : {[key: string ]: string} = { };
|
|
7043
7405
|
return await this.deleteResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
7044
7406
|
}
|
|
7045
7407
|
|
|
7408
|
+
/**
|
|
7409
|
+
* @summary Disables the LogShipper feature of Log Service for a dedicated resource group.
|
|
7410
|
+
*
|
|
7411
|
+
* @param headers map
|
|
7412
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7413
|
+
* @return DeleteResourceLogResponse
|
|
7414
|
+
*/
|
|
7046
7415
|
async deleteResourceLogWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteResourceLogResponse> {
|
|
7047
7416
|
let req = new $OpenApi.OpenApiRequest({
|
|
7048
7417
|
headers: headers,
|
|
@@ -7061,12 +7430,24 @@ export default class Client extends OpenApi {
|
|
|
7061
7430
|
return $tea.cast<DeleteResourceLogResponse>(await this.callApi(params, req, runtime), new DeleteResourceLogResponse({}));
|
|
7062
7431
|
}
|
|
7063
7432
|
|
|
7433
|
+
/**
|
|
7434
|
+
* @summary Disables the LogShipper feature of Log Service for a dedicated resource group.
|
|
7435
|
+
*
|
|
7436
|
+
* @return DeleteResourceLogResponse
|
|
7437
|
+
*/
|
|
7064
7438
|
async deleteResourceLog(ClusterId: string, ResourceId: string): Promise<DeleteResourceLogResponse> {
|
|
7065
7439
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7066
7440
|
let headers : {[key: string ]: string} = { };
|
|
7067
7441
|
return await this.deleteResourceLogWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7068
7442
|
}
|
|
7069
7443
|
|
|
7444
|
+
/**
|
|
7445
|
+
* @summary Deletes a service.
|
|
7446
|
+
*
|
|
7447
|
+
* @param headers map
|
|
7448
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7449
|
+
* @return DeleteServiceResponse
|
|
7450
|
+
*/
|
|
7070
7451
|
async deleteServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceResponse> {
|
|
7071
7452
|
let req = new $OpenApi.OpenApiRequest({
|
|
7072
7453
|
headers: headers,
|
|
@@ -7085,12 +7466,24 @@ export default class Client extends OpenApi {
|
|
|
7085
7466
|
return $tea.cast<DeleteServiceResponse>(await this.callApi(params, req, runtime), new DeleteServiceResponse({}));
|
|
7086
7467
|
}
|
|
7087
7468
|
|
|
7469
|
+
/**
|
|
7470
|
+
* @summary Deletes a service.
|
|
7471
|
+
*
|
|
7472
|
+
* @return DeleteServiceResponse
|
|
7473
|
+
*/
|
|
7088
7474
|
async deleteService(ClusterId: string, ServiceName: string): Promise<DeleteServiceResponse> {
|
|
7089
7475
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7090
7476
|
let headers : {[key: string ]: string} = { };
|
|
7091
7477
|
return await this.deleteServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7092
7478
|
}
|
|
7093
7479
|
|
|
7480
|
+
/**
|
|
7481
|
+
* @summary Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.
|
|
7482
|
+
*
|
|
7483
|
+
* @param headers map
|
|
7484
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7485
|
+
* @return DeleteServiceAutoScalerResponse
|
|
7486
|
+
*/
|
|
7094
7487
|
async deleteServiceAutoScalerWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceAutoScalerResponse> {
|
|
7095
7488
|
let req = new $OpenApi.OpenApiRequest({
|
|
7096
7489
|
headers: headers,
|
|
@@ -7109,12 +7502,24 @@ export default class Client extends OpenApi {
|
|
|
7109
7502
|
return $tea.cast<DeleteServiceAutoScalerResponse>(await this.callApi(params, req, runtime), new DeleteServiceAutoScalerResponse({}));
|
|
7110
7503
|
}
|
|
7111
7504
|
|
|
7505
|
+
/**
|
|
7506
|
+
* @summary Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.
|
|
7507
|
+
*
|
|
7508
|
+
* @return DeleteServiceAutoScalerResponse
|
|
7509
|
+
*/
|
|
7112
7510
|
async deleteServiceAutoScaler(ClusterId: string, ServiceName: string): Promise<DeleteServiceAutoScalerResponse> {
|
|
7113
7511
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7114
7512
|
let headers : {[key: string ]: string} = { };
|
|
7115
7513
|
return await this.deleteServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7116
7514
|
}
|
|
7117
7515
|
|
|
7516
|
+
/**
|
|
7517
|
+
* @summary Disables the Cronscaler feature for a service.
|
|
7518
|
+
*
|
|
7519
|
+
* @param headers map
|
|
7520
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7521
|
+
* @return DeleteServiceCronScalerResponse
|
|
7522
|
+
*/
|
|
7118
7523
|
async deleteServiceCronScalerWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceCronScalerResponse> {
|
|
7119
7524
|
let req = new $OpenApi.OpenApiRequest({
|
|
7120
7525
|
headers: headers,
|
|
@@ -7133,12 +7538,25 @@ export default class Client extends OpenApi {
|
|
|
7133
7538
|
return $tea.cast<DeleteServiceCronScalerResponse>(await this.callApi(params, req, runtime), new DeleteServiceCronScalerResponse({}));
|
|
7134
7539
|
}
|
|
7135
7540
|
|
|
7541
|
+
/**
|
|
7542
|
+
* @summary Disables the Cronscaler feature for a service.
|
|
7543
|
+
*
|
|
7544
|
+
* @return DeleteServiceCronScalerResponse
|
|
7545
|
+
*/
|
|
7136
7546
|
async deleteServiceCronScaler(ClusterId: string, ServiceName: string): Promise<DeleteServiceCronScalerResponse> {
|
|
7137
7547
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7138
7548
|
let headers : {[key: string ]: string} = { };
|
|
7139
7549
|
return await this.deleteServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7140
7550
|
}
|
|
7141
7551
|
|
|
7552
|
+
/**
|
|
7553
|
+
* @summary Restarts the instances of a service.
|
|
7554
|
+
*
|
|
7555
|
+
* @param request DeleteServiceInstancesRequest
|
|
7556
|
+
* @param headers map
|
|
7557
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7558
|
+
* @return DeleteServiceInstancesResponse
|
|
7559
|
+
*/
|
|
7142
7560
|
async deleteServiceInstancesWithOptions(ClusterId: string, ServiceName: string, request: DeleteServiceInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceInstancesResponse> {
|
|
7143
7561
|
Util.validateModel(request);
|
|
7144
7562
|
let query : {[key: string ]: any} = { };
|
|
@@ -7172,12 +7590,26 @@ export default class Client extends OpenApi {
|
|
|
7172
7590
|
return $tea.cast<DeleteServiceInstancesResponse>(await this.callApi(params, req, runtime), new DeleteServiceInstancesResponse({}));
|
|
7173
7591
|
}
|
|
7174
7592
|
|
|
7593
|
+
/**
|
|
7594
|
+
* @summary Restarts the instances of a service.
|
|
7595
|
+
*
|
|
7596
|
+
* @param request DeleteServiceInstancesRequest
|
|
7597
|
+
* @return DeleteServiceInstancesResponse
|
|
7598
|
+
*/
|
|
7175
7599
|
async deleteServiceInstances(ClusterId: string, ServiceName: string, request: DeleteServiceInstancesRequest): Promise<DeleteServiceInstancesResponse> {
|
|
7176
7600
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7177
7601
|
let headers : {[key: string ]: string} = { };
|
|
7178
7602
|
return await this.deleteServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7179
7603
|
}
|
|
7180
7604
|
|
|
7605
|
+
/**
|
|
7606
|
+
* @summary Deletes existing service tags.
|
|
7607
|
+
*
|
|
7608
|
+
* @param tmpReq DeleteServiceLabelRequest
|
|
7609
|
+
* @param headers map
|
|
7610
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7611
|
+
* @return DeleteServiceLabelResponse
|
|
7612
|
+
*/
|
|
7181
7613
|
async deleteServiceLabelWithOptions(ClusterId: string, ServiceName: string, tmpReq: DeleteServiceLabelRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceLabelResponse> {
|
|
7182
7614
|
Util.validateModel(tmpReq);
|
|
7183
7615
|
let request = new DeleteServiceLabelShrinkRequest({ });
|
|
@@ -7209,12 +7641,25 @@ export default class Client extends OpenApi {
|
|
|
7209
7641
|
return $tea.cast<DeleteServiceLabelResponse>(await this.callApi(params, req, runtime), new DeleteServiceLabelResponse({}));
|
|
7210
7642
|
}
|
|
7211
7643
|
|
|
7644
|
+
/**
|
|
7645
|
+
* @summary Deletes existing service tags.
|
|
7646
|
+
*
|
|
7647
|
+
* @param request DeleteServiceLabelRequest
|
|
7648
|
+
* @return DeleteServiceLabelResponse
|
|
7649
|
+
*/
|
|
7212
7650
|
async deleteServiceLabel(ClusterId: string, ServiceName: string, request: DeleteServiceLabelRequest): Promise<DeleteServiceLabelResponse> {
|
|
7213
7651
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7214
7652
|
let headers : {[key: string ]: string} = { };
|
|
7215
7653
|
return await this.deleteServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7216
7654
|
}
|
|
7217
7655
|
|
|
7656
|
+
/**
|
|
7657
|
+
* @summary Disables the traffic mirroring feature for a service.
|
|
7658
|
+
*
|
|
7659
|
+
* @param headers map
|
|
7660
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7661
|
+
* @return DeleteServiceMirrorResponse
|
|
7662
|
+
*/
|
|
7218
7663
|
async deleteServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceMirrorResponse> {
|
|
7219
7664
|
let req = new $OpenApi.OpenApiRequest({
|
|
7220
7665
|
headers: headers,
|
|
@@ -7233,12 +7678,24 @@ export default class Client extends OpenApi {
|
|
|
7233
7678
|
return $tea.cast<DeleteServiceMirrorResponse>(await this.callApi(params, req, runtime), new DeleteServiceMirrorResponse({}));
|
|
7234
7679
|
}
|
|
7235
7680
|
|
|
7681
|
+
/**
|
|
7682
|
+
* @summary Disables the traffic mirroring feature for a service.
|
|
7683
|
+
*
|
|
7684
|
+
* @return DeleteServiceMirrorResponse
|
|
7685
|
+
*/
|
|
7236
7686
|
async deleteServiceMirror(ClusterId: string, ServiceName: string): Promise<DeleteServiceMirrorResponse> {
|
|
7237
7687
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7238
7688
|
let headers : {[key: string ]: string} = { };
|
|
7239
7689
|
return await this.deleteServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7240
7690
|
}
|
|
7241
7691
|
|
|
7692
|
+
/**
|
|
7693
|
+
* @summary Queries details about the configurations of a stress testing task.
|
|
7694
|
+
*
|
|
7695
|
+
* @param headers map
|
|
7696
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7697
|
+
* @return DescribeBenchmarkTaskResponse
|
|
7698
|
+
*/
|
|
7242
7699
|
async describeBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskResponse> {
|
|
7243
7700
|
let req = new $OpenApi.OpenApiRequest({
|
|
7244
7701
|
headers: headers,
|
|
@@ -7257,12 +7714,25 @@ export default class Client extends OpenApi {
|
|
|
7257
7714
|
return $tea.cast<DescribeBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskResponse({}));
|
|
7258
7715
|
}
|
|
7259
7716
|
|
|
7717
|
+
/**
|
|
7718
|
+
* @summary Queries details about the configurations of a stress testing task.
|
|
7719
|
+
*
|
|
7720
|
+
* @return DescribeBenchmarkTaskResponse
|
|
7721
|
+
*/
|
|
7260
7722
|
async describeBenchmarkTask(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskResponse> {
|
|
7261
7723
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7262
7724
|
let headers : {[key: string ]: string} = { };
|
|
7263
7725
|
return await this.describeBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
7264
7726
|
}
|
|
7265
7727
|
|
|
7728
|
+
/**
|
|
7729
|
+
* @summary Queries the report of a stress testing task.
|
|
7730
|
+
*
|
|
7731
|
+
* @param request DescribeBenchmarkTaskReportRequest
|
|
7732
|
+
* @param headers map
|
|
7733
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7734
|
+
* @return DescribeBenchmarkTaskReportResponse
|
|
7735
|
+
*/
|
|
7266
7736
|
async describeBenchmarkTaskReportWithOptions(ClusterId: string, TaskName: string, request: DescribeBenchmarkTaskReportRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskReportResponse> {
|
|
7267
7737
|
Util.validateModel(request);
|
|
7268
7738
|
let query : {[key: string ]: any} = { };
|
|
@@ -7288,12 +7758,25 @@ export default class Client extends OpenApi {
|
|
|
7288
7758
|
return $tea.cast<DescribeBenchmarkTaskReportResponse>(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskReportResponse({}));
|
|
7289
7759
|
}
|
|
7290
7760
|
|
|
7761
|
+
/**
|
|
7762
|
+
* @summary Queries the report of a stress testing task.
|
|
7763
|
+
*
|
|
7764
|
+
* @param request DescribeBenchmarkTaskReportRequest
|
|
7765
|
+
* @return DescribeBenchmarkTaskReportResponse
|
|
7766
|
+
*/
|
|
7291
7767
|
async describeBenchmarkTaskReport(ClusterId: string, TaskName: string, request: DescribeBenchmarkTaskReportRequest): Promise<DescribeBenchmarkTaskReportResponse> {
|
|
7292
7768
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7293
7769
|
let headers : {[key: string ]: string} = { };
|
|
7294
7770
|
return await this.describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
7295
7771
|
}
|
|
7296
7772
|
|
|
7773
|
+
/**
|
|
7774
|
+
* @summary Queries the details of a private gateway.
|
|
7775
|
+
*
|
|
7776
|
+
* @param headers map
|
|
7777
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7778
|
+
* @return DescribeGatewayResponse
|
|
7779
|
+
*/
|
|
7297
7780
|
async describeGatewayWithOptions(ClusterId: string, GatewayId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeGatewayResponse> {
|
|
7298
7781
|
let req = new $OpenApi.OpenApiRequest({
|
|
7299
7782
|
headers: headers,
|
|
@@ -7312,12 +7795,24 @@ export default class Client extends OpenApi {
|
|
|
7312
7795
|
return $tea.cast<DescribeGatewayResponse>(await this.callApi(params, req, runtime), new DescribeGatewayResponse({}));
|
|
7313
7796
|
}
|
|
7314
7797
|
|
|
7798
|
+
/**
|
|
7799
|
+
* @summary Queries the details of a private gateway.
|
|
7800
|
+
*
|
|
7801
|
+
* @return DescribeGatewayResponse
|
|
7802
|
+
*/
|
|
7315
7803
|
async describeGateway(ClusterId: string, GatewayId: string): Promise<DescribeGatewayResponse> {
|
|
7316
7804
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7317
7805
|
let headers : {[key: string ]: string} = { };
|
|
7318
7806
|
return await this.describeGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
7319
7807
|
}
|
|
7320
7808
|
|
|
7809
|
+
/**
|
|
7810
|
+
* @summary Queries the information about a service group.
|
|
7811
|
+
*
|
|
7812
|
+
* @param headers map
|
|
7813
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7814
|
+
* @return DescribeGroupResponse
|
|
7815
|
+
*/
|
|
7321
7816
|
async describeGroupWithOptions(ClusterId: string, GroupName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeGroupResponse> {
|
|
7322
7817
|
let req = new $OpenApi.OpenApiRequest({
|
|
7323
7818
|
headers: headers,
|
|
@@ -7336,12 +7831,24 @@ export default class Client extends OpenApi {
|
|
|
7336
7831
|
return $tea.cast<DescribeGroupResponse>(await this.callApi(params, req, runtime), new DescribeGroupResponse({}));
|
|
7337
7832
|
}
|
|
7338
7833
|
|
|
7834
|
+
/**
|
|
7835
|
+
* @summary Queries the information about a service group.
|
|
7836
|
+
*
|
|
7837
|
+
* @return DescribeGroupResponse
|
|
7838
|
+
*/
|
|
7339
7839
|
async describeGroup(ClusterId: string, GroupName: string): Promise<DescribeGroupResponse> {
|
|
7340
7840
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7341
7841
|
let headers : {[key: string ]: string} = { };
|
|
7342
7842
|
return await this.describeGroupWithOptions(ClusterId, GroupName, headers, runtime);
|
|
7343
7843
|
}
|
|
7344
7844
|
|
|
7845
|
+
/**
|
|
7846
|
+
* @summary Queries the information about a resource group.
|
|
7847
|
+
*
|
|
7848
|
+
* @param headers map
|
|
7849
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7850
|
+
* @return DescribeResourceResponse
|
|
7851
|
+
*/
|
|
7345
7852
|
async describeResourceWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeResourceResponse> {
|
|
7346
7853
|
let req = new $OpenApi.OpenApiRequest({
|
|
7347
7854
|
headers: headers,
|
|
@@ -7360,12 +7867,24 @@ export default class Client extends OpenApi {
|
|
|
7360
7867
|
return $tea.cast<DescribeResourceResponse>(await this.callApi(params, req, runtime), new DescribeResourceResponse({}));
|
|
7361
7868
|
}
|
|
7362
7869
|
|
|
7870
|
+
/**
|
|
7871
|
+
* @summary Queries the information about a resource group.
|
|
7872
|
+
*
|
|
7873
|
+
* @return DescribeResourceResponse
|
|
7874
|
+
*/
|
|
7363
7875
|
async describeResource(ClusterId: string, ResourceId: string): Promise<DescribeResourceResponse> {
|
|
7364
7876
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7365
7877
|
let headers : {[key: string ]: string} = { };
|
|
7366
7878
|
return await this.describeResourceWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7367
7879
|
}
|
|
7368
7880
|
|
|
7881
|
+
/**
|
|
7882
|
+
* @summary Queries detailed configurations about a virtual private cloud (VPC) direct connection of a dedicated resource group.
|
|
7883
|
+
*
|
|
7884
|
+
* @param headers map
|
|
7885
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7886
|
+
* @return DescribeResourceDLinkResponse
|
|
7887
|
+
*/
|
|
7369
7888
|
async describeResourceDLinkWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeResourceDLinkResponse> {
|
|
7370
7889
|
let req = new $OpenApi.OpenApiRequest({
|
|
7371
7890
|
headers: headers,
|
|
@@ -7384,12 +7903,24 @@ export default class Client extends OpenApi {
|
|
|
7384
7903
|
return $tea.cast<DescribeResourceDLinkResponse>(await this.callApi(params, req, runtime), new DescribeResourceDLinkResponse({}));
|
|
7385
7904
|
}
|
|
7386
7905
|
|
|
7906
|
+
/**
|
|
7907
|
+
* @summary Queries detailed configurations about a virtual private cloud (VPC) direct connection of a dedicated resource group.
|
|
7908
|
+
*
|
|
7909
|
+
* @return DescribeResourceDLinkResponse
|
|
7910
|
+
*/
|
|
7387
7911
|
async describeResourceDLink(ClusterId: string, ResourceId: string): Promise<DescribeResourceDLinkResponse> {
|
|
7388
7912
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7389
7913
|
let headers : {[key: string ]: string} = { };
|
|
7390
7914
|
return await this.describeResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7391
7915
|
}
|
|
7392
7916
|
|
|
7917
|
+
/**
|
|
7918
|
+
* @summary Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.
|
|
7919
|
+
*
|
|
7920
|
+
* @param headers map
|
|
7921
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7922
|
+
* @return DescribeResourceLogResponse
|
|
7923
|
+
*/
|
|
7393
7924
|
async describeResourceLogWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeResourceLogResponse> {
|
|
7394
7925
|
let req = new $OpenApi.OpenApiRequest({
|
|
7395
7926
|
headers: headers,
|
|
@@ -7408,12 +7939,24 @@ export default class Client extends OpenApi {
|
|
|
7408
7939
|
return $tea.cast<DescribeResourceLogResponse>(await this.callApi(params, req, runtime), new DescribeResourceLogResponse({}));
|
|
7409
7940
|
}
|
|
7410
7941
|
|
|
7942
|
+
/**
|
|
7943
|
+
* @summary Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.
|
|
7944
|
+
*
|
|
7945
|
+
* @return DescribeResourceLogResponse
|
|
7946
|
+
*/
|
|
7411
7947
|
async describeResourceLog(ClusterId: string, ResourceId: string): Promise<DescribeResourceLogResponse> {
|
|
7412
7948
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7413
7949
|
let headers : {[key: string ]: string} = { };
|
|
7414
7950
|
return await this.describeResourceLogWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7415
7951
|
}
|
|
7416
7952
|
|
|
7953
|
+
/**
|
|
7954
|
+
* @summary Queries the details about a service.
|
|
7955
|
+
*
|
|
7956
|
+
* @param headers map
|
|
7957
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7958
|
+
* @return DescribeServiceResponse
|
|
7959
|
+
*/
|
|
7417
7960
|
async describeServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceResponse> {
|
|
7418
7961
|
let req = new $OpenApi.OpenApiRequest({
|
|
7419
7962
|
headers: headers,
|
|
@@ -7432,12 +7975,24 @@ export default class Client extends OpenApi {
|
|
|
7432
7975
|
return $tea.cast<DescribeServiceResponse>(await this.callApi(params, req, runtime), new DescribeServiceResponse({}));
|
|
7433
7976
|
}
|
|
7434
7977
|
|
|
7978
|
+
/**
|
|
7979
|
+
* @summary Queries the details about a service.
|
|
7980
|
+
*
|
|
7981
|
+
* @return DescribeServiceResponse
|
|
7982
|
+
*/
|
|
7435
7983
|
async describeService(ClusterId: string, ServiceName: string): Promise<DescribeServiceResponse> {
|
|
7436
7984
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7437
7985
|
let headers : {[key: string ]: string} = { };
|
|
7438
7986
|
return await this.describeServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7439
7987
|
}
|
|
7440
7988
|
|
|
7989
|
+
/**
|
|
7990
|
+
* @summary Queries information about the Autoscaler configurations of a service.
|
|
7991
|
+
*
|
|
7992
|
+
* @param headers map
|
|
7993
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7994
|
+
* @return DescribeServiceAutoScalerResponse
|
|
7995
|
+
*/
|
|
7441
7996
|
async describeServiceAutoScalerWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceAutoScalerResponse> {
|
|
7442
7997
|
let req = new $OpenApi.OpenApiRequest({
|
|
7443
7998
|
headers: headers,
|
|
@@ -7456,12 +8011,24 @@ export default class Client extends OpenApi {
|
|
|
7456
8011
|
return $tea.cast<DescribeServiceAutoScalerResponse>(await this.callApi(params, req, runtime), new DescribeServiceAutoScalerResponse({}));
|
|
7457
8012
|
}
|
|
7458
8013
|
|
|
8014
|
+
/**
|
|
8015
|
+
* @summary Queries information about the Autoscaler configurations of a service.
|
|
8016
|
+
*
|
|
8017
|
+
* @return DescribeServiceAutoScalerResponse
|
|
8018
|
+
*/
|
|
7459
8019
|
async describeServiceAutoScaler(ClusterId: string, ServiceName: string): Promise<DescribeServiceAutoScalerResponse> {
|
|
7460
8020
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7461
8021
|
let headers : {[key: string ]: string} = { };
|
|
7462
8022
|
return await this.describeServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7463
8023
|
}
|
|
7464
8024
|
|
|
8025
|
+
/**
|
|
8026
|
+
* @summary Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.
|
|
8027
|
+
*
|
|
8028
|
+
* @param headers map
|
|
8029
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8030
|
+
* @return DescribeServiceCronScalerResponse
|
|
8031
|
+
*/
|
|
7465
8032
|
async describeServiceCronScalerWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceCronScalerResponse> {
|
|
7466
8033
|
let req = new $OpenApi.OpenApiRequest({
|
|
7467
8034
|
headers: headers,
|
|
@@ -7480,12 +8047,24 @@ export default class Client extends OpenApi {
|
|
|
7480
8047
|
return $tea.cast<DescribeServiceCronScalerResponse>(await this.callApi(params, req, runtime), new DescribeServiceCronScalerResponse({}));
|
|
7481
8048
|
}
|
|
7482
8049
|
|
|
8050
|
+
/**
|
|
8051
|
+
* @summary Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.
|
|
8052
|
+
*
|
|
8053
|
+
* @return DescribeServiceCronScalerResponse
|
|
8054
|
+
*/
|
|
7483
8055
|
async describeServiceCronScaler(ClusterId: string, ServiceName: string): Promise<DescribeServiceCronScalerResponse> {
|
|
7484
8056
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7485
8057
|
let headers : {[key: string ]: string} = { };
|
|
7486
8058
|
return await this.describeServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7487
8059
|
}
|
|
7488
8060
|
|
|
8061
|
+
/**
|
|
8062
|
+
* @summary Queries the diagnostics details of a service.
|
|
8063
|
+
*
|
|
8064
|
+
* @param headers map
|
|
8065
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8066
|
+
* @return DescribeServiceDiagnosisResponse
|
|
8067
|
+
*/
|
|
7489
8068
|
async describeServiceDiagnosisWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceDiagnosisResponse> {
|
|
7490
8069
|
let req = new $OpenApi.OpenApiRequest({
|
|
7491
8070
|
headers: headers,
|
|
@@ -7504,12 +8083,25 @@ export default class Client extends OpenApi {
|
|
|
7504
8083
|
return $tea.cast<DescribeServiceDiagnosisResponse>(await this.callApi(params, req, runtime), new DescribeServiceDiagnosisResponse({}));
|
|
7505
8084
|
}
|
|
7506
8085
|
|
|
8086
|
+
/**
|
|
8087
|
+
* @summary Queries the diagnostics details of a service.
|
|
8088
|
+
*
|
|
8089
|
+
* @return DescribeServiceDiagnosisResponse
|
|
8090
|
+
*/
|
|
7507
8091
|
async describeServiceDiagnosis(ClusterId: string, ServiceName: string): Promise<DescribeServiceDiagnosisResponse> {
|
|
7508
8092
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7509
8093
|
let headers : {[key: string ]: string} = { };
|
|
7510
8094
|
return await this.describeServiceDiagnosisWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7511
8095
|
}
|
|
7512
8096
|
|
|
8097
|
+
/**
|
|
8098
|
+
* @summary Queries information about recent service deployment events.
|
|
8099
|
+
*
|
|
8100
|
+
* @param request DescribeServiceEventRequest
|
|
8101
|
+
* @param headers map
|
|
8102
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8103
|
+
* @return DescribeServiceEventResponse
|
|
8104
|
+
*/
|
|
7513
8105
|
async describeServiceEventWithOptions(ClusterId: string, ServiceName: string, request: DescribeServiceEventRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceEventResponse> {
|
|
7514
8106
|
Util.validateModel(request);
|
|
7515
8107
|
let query : {[key: string ]: any} = { };
|
|
@@ -7555,12 +8147,25 @@ export default class Client extends OpenApi {
|
|
|
7555
8147
|
return $tea.cast<DescribeServiceEventResponse>(await this.callApi(params, req, runtime), new DescribeServiceEventResponse({}));
|
|
7556
8148
|
}
|
|
7557
8149
|
|
|
8150
|
+
/**
|
|
8151
|
+
* @summary Queries information about recent service deployment events.
|
|
8152
|
+
*
|
|
8153
|
+
* @param request DescribeServiceEventRequest
|
|
8154
|
+
* @return DescribeServiceEventResponse
|
|
8155
|
+
*/
|
|
7558
8156
|
async describeServiceEvent(ClusterId: string, ServiceName: string, request: DescribeServiceEventRequest): Promise<DescribeServiceEventResponse> {
|
|
7559
8157
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7560
8158
|
let headers : {[key: string ]: string} = { };
|
|
7561
8159
|
return await this.describeServiceEventWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7562
8160
|
}
|
|
7563
8161
|
|
|
8162
|
+
/**
|
|
8163
|
+
* @summary Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).
|
|
8164
|
+
*
|
|
8165
|
+
* @param headers map
|
|
8166
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8167
|
+
* @return DescribeServiceInstanceDiagnosisResponse
|
|
8168
|
+
*/
|
|
7564
8169
|
async describeServiceInstanceDiagnosisWithOptions(ClusterId: string, ServiceName: string, InstanceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceInstanceDiagnosisResponse> {
|
|
7565
8170
|
let req = new $OpenApi.OpenApiRequest({
|
|
7566
8171
|
headers: headers,
|
|
@@ -7579,12 +8184,25 @@ export default class Client extends OpenApi {
|
|
|
7579
8184
|
return $tea.cast<DescribeServiceInstanceDiagnosisResponse>(await this.callApi(params, req, runtime), new DescribeServiceInstanceDiagnosisResponse({}));
|
|
7580
8185
|
}
|
|
7581
8186
|
|
|
8187
|
+
/**
|
|
8188
|
+
* @summary Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).
|
|
8189
|
+
*
|
|
8190
|
+
* @return DescribeServiceInstanceDiagnosisResponse
|
|
8191
|
+
*/
|
|
7582
8192
|
async describeServiceInstanceDiagnosis(ClusterId: string, ServiceName: string, InstanceName: string): Promise<DescribeServiceInstanceDiagnosisResponse> {
|
|
7583
8193
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7584
8194
|
let headers : {[key: string ]: string} = { };
|
|
7585
8195
|
return await this.describeServiceInstanceDiagnosisWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime);
|
|
7586
8196
|
}
|
|
7587
8197
|
|
|
8198
|
+
/**
|
|
8199
|
+
* @summary Queries the information about the logs of a service.
|
|
8200
|
+
*
|
|
8201
|
+
* @param request DescribeServiceLogRequest
|
|
8202
|
+
* @param headers map
|
|
8203
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8204
|
+
* @return DescribeServiceLogResponse
|
|
8205
|
+
*/
|
|
7588
8206
|
async describeServiceLogWithOptions(ClusterId: string, ServiceName: string, request: DescribeServiceLogRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceLogResponse> {
|
|
7589
8207
|
Util.validateModel(request);
|
|
7590
8208
|
let query : {[key: string ]: any} = { };
|
|
@@ -7642,12 +8260,25 @@ export default class Client extends OpenApi {
|
|
|
7642
8260
|
return $tea.cast<DescribeServiceLogResponse>(await this.callApi(params, req, runtime), new DescribeServiceLogResponse({}));
|
|
7643
8261
|
}
|
|
7644
8262
|
|
|
8263
|
+
/**
|
|
8264
|
+
* @summary Queries the information about the logs of a service.
|
|
8265
|
+
*
|
|
8266
|
+
* @param request DescribeServiceLogRequest
|
|
8267
|
+
* @return DescribeServiceLogResponse
|
|
8268
|
+
*/
|
|
7645
8269
|
async describeServiceLog(ClusterId: string, ServiceName: string, request: DescribeServiceLogRequest): Promise<DescribeServiceLogResponse> {
|
|
7646
8270
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7647
8271
|
let headers : {[key: string ]: string} = { };
|
|
7648
8272
|
return await this.describeServiceLogWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7649
8273
|
}
|
|
7650
8274
|
|
|
8275
|
+
/**
|
|
8276
|
+
* @summary Queries details about the traffic mirroring settings of a service.
|
|
8277
|
+
*
|
|
8278
|
+
* @param headers map
|
|
8279
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8280
|
+
* @return DescribeServiceMirrorResponse
|
|
8281
|
+
*/
|
|
7651
8282
|
async describeServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceMirrorResponse> {
|
|
7652
8283
|
let req = new $OpenApi.OpenApiRequest({
|
|
7653
8284
|
headers: headers,
|
|
@@ -7666,12 +8297,74 @@ export default class Client extends OpenApi {
|
|
|
7666
8297
|
return $tea.cast<DescribeServiceMirrorResponse>(await this.callApi(params, req, runtime), new DescribeServiceMirrorResponse({}));
|
|
7667
8298
|
}
|
|
7668
8299
|
|
|
8300
|
+
/**
|
|
8301
|
+
* @summary Queries details about the traffic mirroring settings of a service.
|
|
8302
|
+
*
|
|
8303
|
+
* @return DescribeServiceMirrorResponse
|
|
8304
|
+
*/
|
|
7669
8305
|
async describeServiceMirror(ClusterId: string, ServiceName: string): Promise<DescribeServiceMirrorResponse> {
|
|
7670
8306
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7671
8307
|
let headers : {[key: string ]: string} = { };
|
|
7672
8308
|
return await this.describeServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7673
8309
|
}
|
|
7674
8310
|
|
|
8311
|
+
/**
|
|
8312
|
+
* @summary Queries the historical prices of preemptible instances. For more information about preemptible instances, see Create and use preemptible instances.
|
|
8313
|
+
*
|
|
8314
|
+
* @param request DescribeSpotDiscountHistoryRequest
|
|
8315
|
+
* @param headers map
|
|
8316
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8317
|
+
* @return DescribeSpotDiscountHistoryResponse
|
|
8318
|
+
*/
|
|
8319
|
+
async describeSpotDiscountHistoryWithOptions(request: DescribeSpotDiscountHistoryRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeSpotDiscountHistoryResponse> {
|
|
8320
|
+
Util.validateModel(request);
|
|
8321
|
+
let query : {[key: string ]: any} = { };
|
|
8322
|
+
if (!Util.isUnset(request.instanceType)) {
|
|
8323
|
+
query["InstanceType"] = request.instanceType;
|
|
8324
|
+
}
|
|
8325
|
+
|
|
8326
|
+
if (!Util.isUnset(request.isProtect)) {
|
|
8327
|
+
query["IsProtect"] = request.isProtect;
|
|
8328
|
+
}
|
|
8329
|
+
|
|
8330
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8331
|
+
headers: headers,
|
|
8332
|
+
query: OpenApiUtil.query(query),
|
|
8333
|
+
});
|
|
8334
|
+
let params = new $OpenApi.Params({
|
|
8335
|
+
action: "DescribeSpotDiscountHistory",
|
|
8336
|
+
version: "2021-07-01",
|
|
8337
|
+
protocol: "HTTPS",
|
|
8338
|
+
pathname: `/api/v2/public/spot_discount`,
|
|
8339
|
+
method: "GET",
|
|
8340
|
+
authType: "AK",
|
|
8341
|
+
style: "ROA",
|
|
8342
|
+
reqBodyType: "json",
|
|
8343
|
+
bodyType: "json",
|
|
8344
|
+
});
|
|
8345
|
+
return $tea.cast<DescribeSpotDiscountHistoryResponse>(await this.callApi(params, req, runtime), new DescribeSpotDiscountHistoryResponse({}));
|
|
8346
|
+
}
|
|
8347
|
+
|
|
8348
|
+
/**
|
|
8349
|
+
* @summary Queries the historical prices of preemptible instances. For more information about preemptible instances, see Create and use preemptible instances.
|
|
8350
|
+
*
|
|
8351
|
+
* @param request DescribeSpotDiscountHistoryRequest
|
|
8352
|
+
* @return DescribeSpotDiscountHistoryResponse
|
|
8353
|
+
*/
|
|
8354
|
+
async describeSpotDiscountHistory(request: DescribeSpotDiscountHistoryRequest): Promise<DescribeSpotDiscountHistoryResponse> {
|
|
8355
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8356
|
+
let headers : {[key: string ]: string} = { };
|
|
8357
|
+
return await this.describeSpotDiscountHistoryWithOptions(request, headers, runtime);
|
|
8358
|
+
}
|
|
8359
|
+
|
|
8360
|
+
/**
|
|
8361
|
+
* @summary Switches a container service to development mode or exits development mode.
|
|
8362
|
+
*
|
|
8363
|
+
* @param request DevelopServiceRequest
|
|
8364
|
+
* @param headers map
|
|
8365
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8366
|
+
* @return DevelopServiceResponse
|
|
8367
|
+
*/
|
|
7675
8368
|
async developServiceWithOptions(ClusterId: string, ServiceName: string, request: DevelopServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DevelopServiceResponse> {
|
|
7676
8369
|
Util.validateModel(request);
|
|
7677
8370
|
let query : {[key: string ]: any} = { };
|
|
@@ -7697,12 +8390,26 @@ export default class Client extends OpenApi {
|
|
|
7697
8390
|
return $tea.cast<DevelopServiceResponse>(await this.callApi(params, req, runtime), new DevelopServiceResponse({}));
|
|
7698
8391
|
}
|
|
7699
8392
|
|
|
8393
|
+
/**
|
|
8394
|
+
* @summary Switches a container service to development mode or exits development mode.
|
|
8395
|
+
*
|
|
8396
|
+
* @param request DevelopServiceRequest
|
|
8397
|
+
* @return DevelopServiceResponse
|
|
8398
|
+
*/
|
|
7700
8399
|
async developService(ClusterId: string, ServiceName: string, request: DevelopServiceRequest): Promise<DevelopServiceResponse> {
|
|
7701
8400
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7702
8401
|
let headers : {[key: string ]: string} = { };
|
|
7703
8402
|
return await this.developServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7704
8403
|
}
|
|
7705
8404
|
|
|
8405
|
+
/**
|
|
8406
|
+
* @summary Queries a list of stress testing tasks that are created by the current user.
|
|
8407
|
+
*
|
|
8408
|
+
* @param request ListBenchmarkTaskRequest
|
|
8409
|
+
* @param headers map
|
|
8410
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8411
|
+
* @return ListBenchmarkTaskResponse
|
|
8412
|
+
*/
|
|
7706
8413
|
async listBenchmarkTaskWithOptions(request: ListBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListBenchmarkTaskResponse> {
|
|
7707
8414
|
Util.validateModel(request);
|
|
7708
8415
|
let query : {[key: string ]: any} = { };
|
|
@@ -7740,12 +8447,25 @@ export default class Client extends OpenApi {
|
|
|
7740
8447
|
return $tea.cast<ListBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new ListBenchmarkTaskResponse({}));
|
|
7741
8448
|
}
|
|
7742
8449
|
|
|
8450
|
+
/**
|
|
8451
|
+
* @summary Queries a list of stress testing tasks that are created by the current user.
|
|
8452
|
+
*
|
|
8453
|
+
* @param request ListBenchmarkTaskRequest
|
|
8454
|
+
* @return ListBenchmarkTaskResponse
|
|
8455
|
+
*/
|
|
7743
8456
|
async listBenchmarkTask(request: ListBenchmarkTaskRequest): Promise<ListBenchmarkTaskResponse> {
|
|
7744
8457
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7745
8458
|
let headers : {[key: string ]: string} = { };
|
|
7746
8459
|
return await this.listBenchmarkTaskWithOptions(request, headers, runtime);
|
|
7747
8460
|
}
|
|
7748
8461
|
|
|
8462
|
+
/**
|
|
8463
|
+
* @summary Queries a list of the internal endpoints of a private gateway.
|
|
8464
|
+
*
|
|
8465
|
+
* @param headers map
|
|
8466
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8467
|
+
* @return ListGatewayIntranetLinkedVpcResponse
|
|
8468
|
+
*/
|
|
7749
8469
|
async listGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListGatewayIntranetLinkedVpcResponse> {
|
|
7750
8470
|
let req = new $OpenApi.OpenApiRequest({
|
|
7751
8471
|
headers: headers,
|
|
@@ -7764,12 +8484,25 @@ export default class Client extends OpenApi {
|
|
|
7764
8484
|
return $tea.cast<ListGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcResponse({}));
|
|
7765
8485
|
}
|
|
7766
8486
|
|
|
8487
|
+
/**
|
|
8488
|
+
* @summary Queries a list of the internal endpoints of a private gateway.
|
|
8489
|
+
*
|
|
8490
|
+
* @return ListGatewayIntranetLinkedVpcResponse
|
|
8491
|
+
*/
|
|
7767
8492
|
async listGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string): Promise<ListGatewayIntranetLinkedVpcResponse> {
|
|
7768
8493
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7769
8494
|
let headers : {[key: string ]: string} = { };
|
|
7770
8495
|
return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
7771
8496
|
}
|
|
7772
8497
|
|
|
8498
|
+
/**
|
|
8499
|
+
* @summary Queries created service groups.
|
|
8500
|
+
*
|
|
8501
|
+
* @param request ListGroupsRequest
|
|
8502
|
+
* @param headers map
|
|
8503
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8504
|
+
* @return ListGroupsResponse
|
|
8505
|
+
*/
|
|
7773
8506
|
async listGroupsWithOptions(request: ListGroupsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListGroupsResponse> {
|
|
7774
8507
|
Util.validateModel(request);
|
|
7775
8508
|
let query : {[key: string ]: any} = { };
|
|
@@ -7807,12 +8540,26 @@ export default class Client extends OpenApi {
|
|
|
7807
8540
|
return $tea.cast<ListGroupsResponse>(await this.callApi(params, req, runtime), new ListGroupsResponse({}));
|
|
7808
8541
|
}
|
|
7809
8542
|
|
|
8543
|
+
/**
|
|
8544
|
+
* @summary Queries created service groups.
|
|
8545
|
+
*
|
|
8546
|
+
* @param request ListGroupsRequest
|
|
8547
|
+
* @return ListGroupsResponse
|
|
8548
|
+
*/
|
|
7810
8549
|
async listGroups(request: ListGroupsRequest): Promise<ListGroupsResponse> {
|
|
7811
8550
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7812
8551
|
let headers : {[key: string ]: string} = { };
|
|
7813
8552
|
return await this.listGroupsWithOptions(request, headers, runtime);
|
|
7814
8553
|
}
|
|
7815
8554
|
|
|
8555
|
+
/**
|
|
8556
|
+
* @summary Queries a list of workers in a resource group.
|
|
8557
|
+
*
|
|
8558
|
+
* @param request ListResourceInstanceWorkerRequest
|
|
8559
|
+
* @param headers map
|
|
8560
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8561
|
+
* @return ListResourceInstanceWorkerResponse
|
|
8562
|
+
*/
|
|
7816
8563
|
async listResourceInstanceWorkerWithOptions(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListResourceInstanceWorkerResponse> {
|
|
7817
8564
|
Util.validateModel(request);
|
|
7818
8565
|
let query : {[key: string ]: any} = { };
|
|
@@ -7842,12 +8589,26 @@ export default class Client extends OpenApi {
|
|
|
7842
8589
|
return $tea.cast<ListResourceInstanceWorkerResponse>(await this.callApi(params, req, runtime), new ListResourceInstanceWorkerResponse({}));
|
|
7843
8590
|
}
|
|
7844
8591
|
|
|
8592
|
+
/**
|
|
8593
|
+
* @summary Queries a list of workers in a resource group.
|
|
8594
|
+
*
|
|
8595
|
+
* @param request ListResourceInstanceWorkerRequest
|
|
8596
|
+
* @return ListResourceInstanceWorkerResponse
|
|
8597
|
+
*/
|
|
7845
8598
|
async listResourceInstanceWorker(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest): Promise<ListResourceInstanceWorkerResponse> {
|
|
7846
8599
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7847
8600
|
let headers : {[key: string ]: string} = { };
|
|
7848
8601
|
return await this.listResourceInstanceWorkerWithOptions(ClusterId, ResourceId, InstanceName, request, headers, runtime);
|
|
7849
8602
|
}
|
|
7850
8603
|
|
|
8604
|
+
/**
|
|
8605
|
+
* @summary Queries a list of instances in a dedicated resource group.
|
|
8606
|
+
*
|
|
8607
|
+
* @param request ListResourceInstancesRequest
|
|
8608
|
+
* @param headers map
|
|
8609
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8610
|
+
* @return ListResourceInstancesResponse
|
|
8611
|
+
*/
|
|
7851
8612
|
async listResourceInstancesWithOptions(ClusterId: string, ResourceId: string, request: ListResourceInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListResourceInstancesResponse> {
|
|
7852
8613
|
Util.validateModel(request);
|
|
7853
8614
|
let query : {[key: string ]: any} = { };
|
|
@@ -7909,12 +8670,26 @@ export default class Client extends OpenApi {
|
|
|
7909
8670
|
return $tea.cast<ListResourceInstancesResponse>(await this.callApi(params, req, runtime), new ListResourceInstancesResponse({}));
|
|
7910
8671
|
}
|
|
7911
8672
|
|
|
8673
|
+
/**
|
|
8674
|
+
* @summary Queries a list of instances in a dedicated resource group.
|
|
8675
|
+
*
|
|
8676
|
+
* @param request ListResourceInstancesRequest
|
|
8677
|
+
* @return ListResourceInstancesResponse
|
|
8678
|
+
*/
|
|
7912
8679
|
async listResourceInstances(ClusterId: string, ResourceId: string, request: ListResourceInstancesRequest): Promise<ListResourceInstancesResponse> {
|
|
7913
8680
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7914
8681
|
let headers : {[key: string ]: string} = { };
|
|
7915
8682
|
return await this.listResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
7916
8683
|
}
|
|
7917
8684
|
|
|
8685
|
+
/**
|
|
8686
|
+
* @summary Queries a list of services that are deployed in the dedicated resource group.
|
|
8687
|
+
*
|
|
8688
|
+
* @param request ListResourceServicesRequest
|
|
8689
|
+
* @param headers map
|
|
8690
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8691
|
+
* @return ListResourceServicesResponse
|
|
8692
|
+
*/
|
|
7918
8693
|
async listResourceServicesWithOptions(ClusterId: string, ResourceId: string, request: ListResourceServicesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListResourceServicesResponse> {
|
|
7919
8694
|
Util.validateModel(request);
|
|
7920
8695
|
let query : {[key: string ]: any} = { };
|
|
@@ -7944,12 +8719,26 @@ export default class Client extends OpenApi {
|
|
|
7944
8719
|
return $tea.cast<ListResourceServicesResponse>(await this.callApi(params, req, runtime), new ListResourceServicesResponse({}));
|
|
7945
8720
|
}
|
|
7946
8721
|
|
|
8722
|
+
/**
|
|
8723
|
+
* @summary Queries a list of services that are deployed in the dedicated resource group.
|
|
8724
|
+
*
|
|
8725
|
+
* @param request ListResourceServicesRequest
|
|
8726
|
+
* @return ListResourceServicesResponse
|
|
8727
|
+
*/
|
|
7947
8728
|
async listResourceServices(ClusterId: string, ResourceId: string, request: ListResourceServicesRequest): Promise<ListResourceServicesResponse> {
|
|
7948
8729
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7949
8730
|
let headers : {[key: string ]: string} = { };
|
|
7950
8731
|
return await this.listResourceServicesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
7951
8732
|
}
|
|
7952
8733
|
|
|
8734
|
+
/**
|
|
8735
|
+
* @summary Queries a list of dedicated resource groups for the current user.
|
|
8736
|
+
*
|
|
8737
|
+
* @param request ListResourcesRequest
|
|
8738
|
+
* @param headers map
|
|
8739
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8740
|
+
* @return ListResourcesResponse
|
|
8741
|
+
*/
|
|
7953
8742
|
async listResourcesWithOptions(request: ListResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListResourcesResponse> {
|
|
7954
8743
|
Util.validateModel(request);
|
|
7955
8744
|
let query : {[key: string ]: any} = { };
|
|
@@ -7991,12 +8780,25 @@ export default class Client extends OpenApi {
|
|
|
7991
8780
|
return $tea.cast<ListResourcesResponse>(await this.callApi(params, req, runtime), new ListResourcesResponse({}));
|
|
7992
8781
|
}
|
|
7993
8782
|
|
|
8783
|
+
/**
|
|
8784
|
+
* @summary Queries a list of dedicated resource groups for the current user.
|
|
8785
|
+
*
|
|
8786
|
+
* @param request ListResourcesRequest
|
|
8787
|
+
* @return ListResourcesResponse
|
|
8788
|
+
*/
|
|
7994
8789
|
async listResources(request: ListResourcesRequest): Promise<ListResourcesResponse> {
|
|
7995
8790
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7996
8791
|
let headers : {[key: string ]: string} = { };
|
|
7997
8792
|
return await this.listResourcesWithOptions(request, headers, runtime);
|
|
7998
8793
|
}
|
|
7999
8794
|
|
|
8795
|
+
/**
|
|
8796
|
+
* @summary Queries the containers of a service.
|
|
8797
|
+
*
|
|
8798
|
+
* @param headers map
|
|
8799
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8800
|
+
* @return ListServiceContainersResponse
|
|
8801
|
+
*/
|
|
8000
8802
|
async listServiceContainersWithOptions(ClusterId: string, ServiceName: string, InstanceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListServiceContainersResponse> {
|
|
8001
8803
|
let req = new $OpenApi.OpenApiRequest({
|
|
8002
8804
|
headers: headers,
|
|
@@ -8015,12 +8817,25 @@ export default class Client extends OpenApi {
|
|
|
8015
8817
|
return $tea.cast<ListServiceContainersResponse>(await this.callApi(params, req, runtime), new ListServiceContainersResponse({}));
|
|
8016
8818
|
}
|
|
8017
8819
|
|
|
8820
|
+
/**
|
|
8821
|
+
* @summary Queries the containers of a service.
|
|
8822
|
+
*
|
|
8823
|
+
* @return ListServiceContainersResponse
|
|
8824
|
+
*/
|
|
8018
8825
|
async listServiceContainers(ClusterId: string, ServiceName: string, InstanceName: string): Promise<ListServiceContainersResponse> {
|
|
8019
8826
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8020
8827
|
let headers : {[key: string ]: string} = { };
|
|
8021
8828
|
return await this.listServiceContainersWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime);
|
|
8022
8829
|
}
|
|
8023
8830
|
|
|
8831
|
+
/**
|
|
8832
|
+
* @summary Queries instances of a service.
|
|
8833
|
+
*
|
|
8834
|
+
* @param request ListServiceInstancesRequest
|
|
8835
|
+
* @param headers map
|
|
8836
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8837
|
+
* @return ListServiceInstancesResponse
|
|
8838
|
+
*/
|
|
8024
8839
|
async listServiceInstancesWithOptions(ClusterId: string, ServiceName: string, request: ListServiceInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListServiceInstancesResponse> {
|
|
8025
8840
|
Util.validateModel(request);
|
|
8026
8841
|
let query : {[key: string ]: any} = { };
|
|
@@ -8094,12 +8909,26 @@ export default class Client extends OpenApi {
|
|
|
8094
8909
|
return $tea.cast<ListServiceInstancesResponse>(await this.callApi(params, req, runtime), new ListServiceInstancesResponse({}));
|
|
8095
8910
|
}
|
|
8096
8911
|
|
|
8912
|
+
/**
|
|
8913
|
+
* @summary Queries instances of a service.
|
|
8914
|
+
*
|
|
8915
|
+
* @param request ListServiceInstancesRequest
|
|
8916
|
+
* @return ListServiceInstancesResponse
|
|
8917
|
+
*/
|
|
8097
8918
|
async listServiceInstances(ClusterId: string, ServiceName: string, request: ListServiceInstancesRequest): Promise<ListServiceInstancesResponse> {
|
|
8098
8919
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8099
8920
|
let headers : {[key: string ]: string} = { };
|
|
8100
8921
|
return await this.listServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8101
8922
|
}
|
|
8102
8923
|
|
|
8924
|
+
/**
|
|
8925
|
+
* @summary Queries the information about the historical versions of a service.
|
|
8926
|
+
*
|
|
8927
|
+
* @param request ListServiceVersionsRequest
|
|
8928
|
+
* @param headers map
|
|
8929
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8930
|
+
* @return ListServiceVersionsResponse
|
|
8931
|
+
*/
|
|
8103
8932
|
async listServiceVersionsWithOptions(ClusterId: string, ServiceName: string, request: ListServiceVersionsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListServiceVersionsResponse> {
|
|
8104
8933
|
Util.validateModel(request);
|
|
8105
8934
|
let query : {[key: string ]: any} = { };
|
|
@@ -8129,12 +8958,26 @@ export default class Client extends OpenApi {
|
|
|
8129
8958
|
return $tea.cast<ListServiceVersionsResponse>(await this.callApi(params, req, runtime), new ListServiceVersionsResponse({}));
|
|
8130
8959
|
}
|
|
8131
8960
|
|
|
8961
|
+
/**
|
|
8962
|
+
* @summary Queries the information about the historical versions of a service.
|
|
8963
|
+
*
|
|
8964
|
+
* @param request ListServiceVersionsRequest
|
|
8965
|
+
* @return ListServiceVersionsResponse
|
|
8966
|
+
*/
|
|
8132
8967
|
async listServiceVersions(ClusterId: string, ServiceName: string, request: ListServiceVersionsRequest): Promise<ListServiceVersionsResponse> {
|
|
8133
8968
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8134
8969
|
let headers : {[key: string ]: string} = { };
|
|
8135
8970
|
return await this.listServiceVersionsWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8136
8971
|
}
|
|
8137
8972
|
|
|
8973
|
+
/**
|
|
8974
|
+
* @summary Queries a list of services that are created by the current user.
|
|
8975
|
+
*
|
|
8976
|
+
* @param tmpReq ListServicesRequest
|
|
8977
|
+
* @param headers map
|
|
8978
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8979
|
+
* @return ListServicesResponse
|
|
8980
|
+
*/
|
|
8138
8981
|
async listServicesWithOptions(tmpReq: ListServicesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListServicesResponse> {
|
|
8139
8982
|
Util.validateModel(tmpReq);
|
|
8140
8983
|
let request = new ListServicesShrinkRequest({ });
|
|
@@ -8222,12 +9065,26 @@ export default class Client extends OpenApi {
|
|
|
8222
9065
|
return $tea.cast<ListServicesResponse>(await this.callApi(params, req, runtime), new ListServicesResponse({}));
|
|
8223
9066
|
}
|
|
8224
9067
|
|
|
9068
|
+
/**
|
|
9069
|
+
* @summary Queries a list of services that are created by the current user.
|
|
9070
|
+
*
|
|
9071
|
+
* @param request ListServicesRequest
|
|
9072
|
+
* @return ListServicesResponse
|
|
9073
|
+
*/
|
|
8225
9074
|
async listServices(request: ListServicesRequest): Promise<ListServicesResponse> {
|
|
8226
9075
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8227
9076
|
let headers : {[key: string ]: string} = { };
|
|
8228
9077
|
return await this.listServicesWithOptions(request, headers, runtime);
|
|
8229
9078
|
}
|
|
8230
9079
|
|
|
9080
|
+
/**
|
|
9081
|
+
* @summary Performs canary release or blue-green release of a service.
|
|
9082
|
+
*
|
|
9083
|
+
* @param request ReleaseServiceRequest
|
|
9084
|
+
* @param headers map
|
|
9085
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9086
|
+
* @return ReleaseServiceResponse
|
|
9087
|
+
*/
|
|
8231
9088
|
async releaseServiceWithOptions(ClusterId: string, ServiceName: string, request: ReleaseServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ReleaseServiceResponse> {
|
|
8232
9089
|
Util.validateModel(request);
|
|
8233
9090
|
let body : {[key: string ]: any} = { };
|
|
@@ -8257,12 +9114,25 @@ export default class Client extends OpenApi {
|
|
|
8257
9114
|
return $tea.cast<ReleaseServiceResponse>(await this.callApi(params, req, runtime), new ReleaseServiceResponse({}));
|
|
8258
9115
|
}
|
|
8259
9116
|
|
|
9117
|
+
/**
|
|
9118
|
+
* @summary Performs canary release or blue-green release of a service.
|
|
9119
|
+
*
|
|
9120
|
+
* @param request ReleaseServiceRequest
|
|
9121
|
+
* @return ReleaseServiceResponse
|
|
9122
|
+
*/
|
|
8260
9123
|
async releaseService(ClusterId: string, ServiceName: string, request: ReleaseServiceRequest): Promise<ReleaseServiceResponse> {
|
|
8261
9124
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8262
9125
|
let headers : {[key: string ]: string} = { };
|
|
8263
9126
|
return await this.releaseServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8264
9127
|
}
|
|
8265
9128
|
|
|
9129
|
+
/**
|
|
9130
|
+
* @summary Restarts a service.
|
|
9131
|
+
*
|
|
9132
|
+
* @param headers map
|
|
9133
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9134
|
+
* @return RestartServiceResponse
|
|
9135
|
+
*/
|
|
8266
9136
|
async restartServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RestartServiceResponse> {
|
|
8267
9137
|
let req = new $OpenApi.OpenApiRequest({
|
|
8268
9138
|
headers: headers,
|
|
@@ -8281,12 +9151,24 @@ export default class Client extends OpenApi {
|
|
|
8281
9151
|
return $tea.cast<RestartServiceResponse>(await this.callApi(params, req, runtime), new RestartServiceResponse({}));
|
|
8282
9152
|
}
|
|
8283
9153
|
|
|
9154
|
+
/**
|
|
9155
|
+
* @summary Restarts a service.
|
|
9156
|
+
*
|
|
9157
|
+
* @return RestartServiceResponse
|
|
9158
|
+
*/
|
|
8284
9159
|
async restartService(ClusterId: string, ServiceName: string): Promise<RestartServiceResponse> {
|
|
8285
9160
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8286
9161
|
let headers : {[key: string ]: string} = { };
|
|
8287
9162
|
return await this.restartServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
8288
9163
|
}
|
|
8289
9164
|
|
|
9165
|
+
/**
|
|
9166
|
+
* @summary Starts a stress testing task.
|
|
9167
|
+
*
|
|
9168
|
+
* @param headers map
|
|
9169
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9170
|
+
* @return StartBenchmarkTaskResponse
|
|
9171
|
+
*/
|
|
8290
9172
|
async startBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartBenchmarkTaskResponse> {
|
|
8291
9173
|
let req = new $OpenApi.OpenApiRequest({
|
|
8292
9174
|
headers: headers,
|
|
@@ -8305,12 +9187,24 @@ export default class Client extends OpenApi {
|
|
|
8305
9187
|
return $tea.cast<StartBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new StartBenchmarkTaskResponse({}));
|
|
8306
9188
|
}
|
|
8307
9189
|
|
|
9190
|
+
/**
|
|
9191
|
+
* @summary Starts a stress testing task.
|
|
9192
|
+
*
|
|
9193
|
+
* @return StartBenchmarkTaskResponse
|
|
9194
|
+
*/
|
|
8308
9195
|
async startBenchmarkTask(ClusterId: string, TaskName: string): Promise<StartBenchmarkTaskResponse> {
|
|
8309
9196
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8310
9197
|
let headers : {[key: string ]: string} = { };
|
|
8311
9198
|
return await this.startBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
8312
9199
|
}
|
|
8313
9200
|
|
|
9201
|
+
/**
|
|
9202
|
+
* @summary Starts a service.
|
|
9203
|
+
*
|
|
9204
|
+
* @param headers map
|
|
9205
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9206
|
+
* @return StartServiceResponse
|
|
9207
|
+
*/
|
|
8314
9208
|
async startServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartServiceResponse> {
|
|
8315
9209
|
let req = new $OpenApi.OpenApiRequest({
|
|
8316
9210
|
headers: headers,
|
|
@@ -8329,12 +9223,24 @@ export default class Client extends OpenApi {
|
|
|
8329
9223
|
return $tea.cast<StartServiceResponse>(await this.callApi(params, req, runtime), new StartServiceResponse({}));
|
|
8330
9224
|
}
|
|
8331
9225
|
|
|
9226
|
+
/**
|
|
9227
|
+
* @summary Starts a service.
|
|
9228
|
+
*
|
|
9229
|
+
* @return StartServiceResponse
|
|
9230
|
+
*/
|
|
8332
9231
|
async startService(ClusterId: string, ServiceName: string): Promise<StartServiceResponse> {
|
|
8333
9232
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8334
9233
|
let headers : {[key: string ]: string} = { };
|
|
8335
9234
|
return await this.startServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
8336
9235
|
}
|
|
8337
9236
|
|
|
9237
|
+
/**
|
|
9238
|
+
* @summary Stops a stress testing task.
|
|
9239
|
+
*
|
|
9240
|
+
* @param headers map
|
|
9241
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9242
|
+
* @return StopBenchmarkTaskResponse
|
|
9243
|
+
*/
|
|
8338
9244
|
async stopBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopBenchmarkTaskResponse> {
|
|
8339
9245
|
let req = new $OpenApi.OpenApiRequest({
|
|
8340
9246
|
headers: headers,
|
|
@@ -8353,12 +9259,24 @@ export default class Client extends OpenApi {
|
|
|
8353
9259
|
return $tea.cast<StopBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new StopBenchmarkTaskResponse({}));
|
|
8354
9260
|
}
|
|
8355
9261
|
|
|
9262
|
+
/**
|
|
9263
|
+
* @summary Stops a stress testing task.
|
|
9264
|
+
*
|
|
9265
|
+
* @return StopBenchmarkTaskResponse
|
|
9266
|
+
*/
|
|
8356
9267
|
async stopBenchmarkTask(ClusterId: string, TaskName: string): Promise<StopBenchmarkTaskResponse> {
|
|
8357
9268
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8358
9269
|
let headers : {[key: string ]: string} = { };
|
|
8359
9270
|
return await this.stopBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
8360
9271
|
}
|
|
8361
9272
|
|
|
9273
|
+
/**
|
|
9274
|
+
* @summary Stops a running service.
|
|
9275
|
+
*
|
|
9276
|
+
* @param headers map
|
|
9277
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9278
|
+
* @return StopServiceResponse
|
|
9279
|
+
*/
|
|
8362
9280
|
async stopServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopServiceResponse> {
|
|
8363
9281
|
let req = new $OpenApi.OpenApiRequest({
|
|
8364
9282
|
headers: headers,
|
|
@@ -8377,12 +9295,25 @@ export default class Client extends OpenApi {
|
|
|
8377
9295
|
return $tea.cast<StopServiceResponse>(await this.callApi(params, req, runtime), new StopServiceResponse({}));
|
|
8378
9296
|
}
|
|
8379
9297
|
|
|
9298
|
+
/**
|
|
9299
|
+
* @summary Stops a running service.
|
|
9300
|
+
*
|
|
9301
|
+
* @return StopServiceResponse
|
|
9302
|
+
*/
|
|
8380
9303
|
async stopService(ClusterId: string, ServiceName: string): Promise<StopServiceResponse> {
|
|
8381
9304
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8382
9305
|
let headers : {[key: string ]: string} = { };
|
|
8383
9306
|
return await this.stopServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
8384
9307
|
}
|
|
8385
9308
|
|
|
9309
|
+
/**
|
|
9310
|
+
* @summary Updates an application service.
|
|
9311
|
+
*
|
|
9312
|
+
* @param request UpdateAppServiceRequest
|
|
9313
|
+
* @param headers map
|
|
9314
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9315
|
+
* @return UpdateAppServiceResponse
|
|
9316
|
+
*/
|
|
8386
9317
|
async updateAppServiceWithOptions(ClusterId: string, ServiceName: string, request: UpdateAppServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateAppServiceResponse> {
|
|
8387
9318
|
Util.validateModel(request);
|
|
8388
9319
|
let query : {[key: string ]: any} = { };
|
|
@@ -8434,12 +9365,26 @@ export default class Client extends OpenApi {
|
|
|
8434
9365
|
return $tea.cast<UpdateAppServiceResponse>(await this.callApi(params, req, runtime), new UpdateAppServiceResponse({}));
|
|
8435
9366
|
}
|
|
8436
9367
|
|
|
9368
|
+
/**
|
|
9369
|
+
* @summary Updates an application service.
|
|
9370
|
+
*
|
|
9371
|
+
* @param request UpdateAppServiceRequest
|
|
9372
|
+
* @return UpdateAppServiceResponse
|
|
9373
|
+
*/
|
|
8437
9374
|
async updateAppService(ClusterId: string, ServiceName: string, request: UpdateAppServiceRequest): Promise<UpdateAppServiceResponse> {
|
|
8438
9375
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8439
9376
|
let headers : {[key: string ]: string} = { };
|
|
8440
9377
|
return await this.updateAppServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8441
9378
|
}
|
|
8442
9379
|
|
|
9380
|
+
/**
|
|
9381
|
+
* @summary Updates a stress testing task.
|
|
9382
|
+
*
|
|
9383
|
+
* @param request UpdateBenchmarkTaskRequest
|
|
9384
|
+
* @param headers map
|
|
9385
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9386
|
+
* @return UpdateBenchmarkTaskResponse
|
|
9387
|
+
*/
|
|
8443
9388
|
async updateBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateBenchmarkTaskResponse> {
|
|
8444
9389
|
Util.validateModel(request);
|
|
8445
9390
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -8460,12 +9405,26 @@ export default class Client extends OpenApi {
|
|
|
8460
9405
|
return $tea.cast<UpdateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new UpdateBenchmarkTaskResponse({}));
|
|
8461
9406
|
}
|
|
8462
9407
|
|
|
9408
|
+
/**
|
|
9409
|
+
* @summary Updates a stress testing task.
|
|
9410
|
+
*
|
|
9411
|
+
* @param request UpdateBenchmarkTaskRequest
|
|
9412
|
+
* @return UpdateBenchmarkTaskResponse
|
|
9413
|
+
*/
|
|
8463
9414
|
async updateBenchmarkTask(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest): Promise<UpdateBenchmarkTaskResponse> {
|
|
8464
9415
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8465
9416
|
let headers : {[key: string ]: string} = { };
|
|
8466
9417
|
return await this.updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
8467
9418
|
}
|
|
8468
9419
|
|
|
9420
|
+
/**
|
|
9421
|
+
* @summary Update a private gateway.
|
|
9422
|
+
*
|
|
9423
|
+
* @param request UpdateGatewayRequest
|
|
9424
|
+
* @param headers map
|
|
9425
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9426
|
+
* @return UpdateGatewayResponse
|
|
9427
|
+
*/
|
|
8469
9428
|
async updateGatewayWithOptions(GatewayId: string, ClusterId: string, request: UpdateGatewayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateGatewayResponse> {
|
|
8470
9429
|
Util.validateModel(request);
|
|
8471
9430
|
let body : {[key: string ]: any} = { };
|
|
@@ -8503,12 +9462,26 @@ export default class Client extends OpenApi {
|
|
|
8503
9462
|
return $tea.cast<UpdateGatewayResponse>(await this.callApi(params, req, runtime), new UpdateGatewayResponse({}));
|
|
8504
9463
|
}
|
|
8505
9464
|
|
|
9465
|
+
/**
|
|
9466
|
+
* @summary Update a private gateway.
|
|
9467
|
+
*
|
|
9468
|
+
* @param request UpdateGatewayRequest
|
|
9469
|
+
* @return UpdateGatewayResponse
|
|
9470
|
+
*/
|
|
8506
9471
|
async updateGateway(GatewayId: string, ClusterId: string, request: UpdateGatewayRequest): Promise<UpdateGatewayResponse> {
|
|
8507
9472
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8508
9473
|
let headers : {[key: string ]: string} = { };
|
|
8509
9474
|
return await this.updateGatewayWithOptions(GatewayId, ClusterId, request, headers, runtime);
|
|
8510
9475
|
}
|
|
8511
9476
|
|
|
9477
|
+
/**
|
|
9478
|
+
* @summary Updates the information about a dedicated resource group. Only the name of a dedicated resource group can be updated.
|
|
9479
|
+
*
|
|
9480
|
+
* @param request UpdateResourceRequest
|
|
9481
|
+
* @param headers map
|
|
9482
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9483
|
+
* @return UpdateResourceResponse
|
|
9484
|
+
*/
|
|
8512
9485
|
async updateResourceWithOptions(ClusterId: string, ResourceId: string, request: UpdateResourceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateResourceResponse> {
|
|
8513
9486
|
Util.validateModel(request);
|
|
8514
9487
|
let body : {[key: string ]: any} = { };
|
|
@@ -8538,12 +9511,26 @@ export default class Client extends OpenApi {
|
|
|
8538
9511
|
return $tea.cast<UpdateResourceResponse>(await this.callApi(params, req, runtime), new UpdateResourceResponse({}));
|
|
8539
9512
|
}
|
|
8540
9513
|
|
|
9514
|
+
/**
|
|
9515
|
+
* @summary Updates the information about a dedicated resource group. Only the name of a dedicated resource group can be updated.
|
|
9516
|
+
*
|
|
9517
|
+
* @param request UpdateResourceRequest
|
|
9518
|
+
* @return UpdateResourceResponse
|
|
9519
|
+
*/
|
|
8541
9520
|
async updateResource(ClusterId: string, ResourceId: string, request: UpdateResourceRequest): Promise<UpdateResourceResponse> {
|
|
8542
9521
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8543
9522
|
let headers : {[key: string ]: string} = { };
|
|
8544
9523
|
return await this.updateResourceWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
8545
9524
|
}
|
|
8546
9525
|
|
|
9526
|
+
/**
|
|
9527
|
+
* @summary Updates the configurations of a virtual private cloud (VPC) direct connection for a dedicated resource group.
|
|
9528
|
+
*
|
|
9529
|
+
* @param request UpdateResourceDLinkRequest
|
|
9530
|
+
* @param headers map
|
|
9531
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9532
|
+
* @return UpdateResourceDLinkResponse
|
|
9533
|
+
*/
|
|
8547
9534
|
async updateResourceDLinkWithOptions(ClusterId: string, ResourceId: string, request: UpdateResourceDLinkRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateResourceDLinkResponse> {
|
|
8548
9535
|
Util.validateModel(request);
|
|
8549
9536
|
let body : {[key: string ]: any} = { };
|
|
@@ -8581,12 +9568,26 @@ export default class Client extends OpenApi {
|
|
|
8581
9568
|
return $tea.cast<UpdateResourceDLinkResponse>(await this.callApi(params, req, runtime), new UpdateResourceDLinkResponse({}));
|
|
8582
9569
|
}
|
|
8583
9570
|
|
|
9571
|
+
/**
|
|
9572
|
+
* @summary Updates the configurations of a virtual private cloud (VPC) direct connection for a dedicated resource group.
|
|
9573
|
+
*
|
|
9574
|
+
* @param request UpdateResourceDLinkRequest
|
|
9575
|
+
* @return UpdateResourceDLinkResponse
|
|
9576
|
+
*/
|
|
8584
9577
|
async updateResourceDLink(ClusterId: string, ResourceId: string, request: UpdateResourceDLinkRequest): Promise<UpdateResourceDLinkResponse> {
|
|
8585
9578
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8586
9579
|
let headers : {[key: string ]: string} = { };
|
|
8587
9580
|
return await this.updateResourceDLinkWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
8588
9581
|
}
|
|
8589
9582
|
|
|
9583
|
+
/**
|
|
9584
|
+
* @summary Updates the service scheduling status of an instance in a dedicated resource group.
|
|
9585
|
+
*
|
|
9586
|
+
* @param request UpdateResourceInstanceRequest
|
|
9587
|
+
* @param headers map
|
|
9588
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9589
|
+
* @return UpdateResourceInstanceResponse
|
|
9590
|
+
*/
|
|
8590
9591
|
async updateResourceInstanceWithOptions(ClusterId: string, ResourceId: string, InstanceId: string, request: UpdateResourceInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateResourceInstanceResponse> {
|
|
8591
9592
|
Util.validateModel(request);
|
|
8592
9593
|
let body : {[key: string ]: any} = { };
|
|
@@ -8612,12 +9613,26 @@ export default class Client extends OpenApi {
|
|
|
8612
9613
|
return $tea.cast<UpdateResourceInstanceResponse>(await this.callApi(params, req, runtime), new UpdateResourceInstanceResponse({}));
|
|
8613
9614
|
}
|
|
8614
9615
|
|
|
9616
|
+
/**
|
|
9617
|
+
* @summary Updates the service scheduling status of an instance in a dedicated resource group.
|
|
9618
|
+
*
|
|
9619
|
+
* @param request UpdateResourceInstanceRequest
|
|
9620
|
+
* @return UpdateResourceInstanceResponse
|
|
9621
|
+
*/
|
|
8615
9622
|
async updateResourceInstance(ClusterId: string, ResourceId: string, InstanceId: string, request: UpdateResourceInstanceRequest): Promise<UpdateResourceInstanceResponse> {
|
|
8616
9623
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8617
9624
|
let headers : {[key: string ]: string} = { };
|
|
8618
9625
|
return await this.updateResourceInstanceWithOptions(ClusterId, ResourceId, InstanceId, request, headers, runtime);
|
|
8619
9626
|
}
|
|
8620
9627
|
|
|
9628
|
+
/**
|
|
9629
|
+
* @summary Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.
|
|
9630
|
+
*
|
|
9631
|
+
* @param request UpdateServiceRequest
|
|
9632
|
+
* @param headers map
|
|
9633
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9634
|
+
* @return UpdateServiceResponse
|
|
9635
|
+
*/
|
|
8621
9636
|
async updateServiceWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceResponse> {
|
|
8622
9637
|
Util.validateModel(request);
|
|
8623
9638
|
let query : {[key: string ]: any} = { };
|
|
@@ -8644,12 +9659,26 @@ export default class Client extends OpenApi {
|
|
|
8644
9659
|
return $tea.cast<UpdateServiceResponse>(await this.callApi(params, req, runtime), new UpdateServiceResponse({}));
|
|
8645
9660
|
}
|
|
8646
9661
|
|
|
9662
|
+
/**
|
|
9663
|
+
* @summary Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.
|
|
9664
|
+
*
|
|
9665
|
+
* @param request UpdateServiceRequest
|
|
9666
|
+
* @return UpdateServiceResponse
|
|
9667
|
+
*/
|
|
8647
9668
|
async updateService(ClusterId: string, ServiceName: string, request: UpdateServiceRequest): Promise<UpdateServiceResponse> {
|
|
8648
9669
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8649
9670
|
let headers : {[key: string ]: string} = { };
|
|
8650
9671
|
return await this.updateServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8651
9672
|
}
|
|
8652
9673
|
|
|
9674
|
+
/**
|
|
9675
|
+
* @summary Updates the Autoscaler configurations of a service.
|
|
9676
|
+
*
|
|
9677
|
+
* @param request UpdateServiceAutoScalerRequest
|
|
9678
|
+
* @param headers map
|
|
9679
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9680
|
+
* @return UpdateServiceAutoScalerResponse
|
|
9681
|
+
*/
|
|
8653
9682
|
async updateServiceAutoScalerWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceAutoScalerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceAutoScalerResponse> {
|
|
8654
9683
|
Util.validateModel(request);
|
|
8655
9684
|
let body : {[key: string ]: any} = { };
|
|
@@ -8687,12 +9716,26 @@ export default class Client extends OpenApi {
|
|
|
8687
9716
|
return $tea.cast<UpdateServiceAutoScalerResponse>(await this.callApi(params, req, runtime), new UpdateServiceAutoScalerResponse({}));
|
|
8688
9717
|
}
|
|
8689
9718
|
|
|
9719
|
+
/**
|
|
9720
|
+
* @summary Updates the Autoscaler configurations of a service.
|
|
9721
|
+
*
|
|
9722
|
+
* @param request UpdateServiceAutoScalerRequest
|
|
9723
|
+
* @return UpdateServiceAutoScalerResponse
|
|
9724
|
+
*/
|
|
8690
9725
|
async updateServiceAutoScaler(ClusterId: string, ServiceName: string, request: UpdateServiceAutoScalerRequest): Promise<UpdateServiceAutoScalerResponse> {
|
|
8691
9726
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8692
9727
|
let headers : {[key: string ]: string} = { };
|
|
8693
9728
|
return await this.updateServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8694
9729
|
}
|
|
8695
9730
|
|
|
9731
|
+
/**
|
|
9732
|
+
* @summary Updates the Cron Horizontal Pod Autoscaler (CronHPA) settings of a service.
|
|
9733
|
+
*
|
|
9734
|
+
* @param request UpdateServiceCronScalerRequest
|
|
9735
|
+
* @param headers map
|
|
9736
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9737
|
+
* @return UpdateServiceCronScalerResponse
|
|
9738
|
+
*/
|
|
8696
9739
|
async updateServiceCronScalerWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceCronScalerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceCronScalerResponse> {
|
|
8697
9740
|
Util.validateModel(request);
|
|
8698
9741
|
let body : {[key: string ]: any} = { };
|
|
@@ -8722,12 +9765,26 @@ export default class Client extends OpenApi {
|
|
|
8722
9765
|
return $tea.cast<UpdateServiceCronScalerResponse>(await this.callApi(params, req, runtime), new UpdateServiceCronScalerResponse({}));
|
|
8723
9766
|
}
|
|
8724
9767
|
|
|
9768
|
+
/**
|
|
9769
|
+
* @summary Updates the Cron Horizontal Pod Autoscaler (CronHPA) settings of a service.
|
|
9770
|
+
*
|
|
9771
|
+
* @param request UpdateServiceCronScalerRequest
|
|
9772
|
+
* @return UpdateServiceCronScalerResponse
|
|
9773
|
+
*/
|
|
8725
9774
|
async updateServiceCronScaler(ClusterId: string, ServiceName: string, request: UpdateServiceCronScalerRequest): Promise<UpdateServiceCronScalerResponse> {
|
|
8726
9775
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8727
9776
|
let headers : {[key: string ]: string} = { };
|
|
8728
9777
|
return await this.updateServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8729
9778
|
}
|
|
8730
9779
|
|
|
9780
|
+
/**
|
|
9781
|
+
* @summary Updates attributes of service instances. Only isolation can be performed for service instances.
|
|
9782
|
+
*
|
|
9783
|
+
* @param request UpdateServiceInstanceRequest
|
|
9784
|
+
* @param headers map
|
|
9785
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9786
|
+
* @return UpdateServiceInstanceResponse
|
|
9787
|
+
*/
|
|
8731
9788
|
async updateServiceInstanceWithOptions(ClusterId: string, ServiceName: string, InstanceName: string, request: UpdateServiceInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceInstanceResponse> {
|
|
8732
9789
|
Util.validateModel(request);
|
|
8733
9790
|
let body : {[key: string ]: any} = { };
|
|
@@ -8753,12 +9810,26 @@ export default class Client extends OpenApi {
|
|
|
8753
9810
|
return $tea.cast<UpdateServiceInstanceResponse>(await this.callApi(params, req, runtime), new UpdateServiceInstanceResponse({}));
|
|
8754
9811
|
}
|
|
8755
9812
|
|
|
9813
|
+
/**
|
|
9814
|
+
* @summary Updates attributes of service instances. Only isolation can be performed for service instances.
|
|
9815
|
+
*
|
|
9816
|
+
* @param request UpdateServiceInstanceRequest
|
|
9817
|
+
* @return UpdateServiceInstanceResponse
|
|
9818
|
+
*/
|
|
8756
9819
|
async updateServiceInstance(ClusterId: string, ServiceName: string, InstanceName: string, request: UpdateServiceInstanceRequest): Promise<UpdateServiceInstanceResponse> {
|
|
8757
9820
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8758
9821
|
let headers : {[key: string ]: string} = { };
|
|
8759
9822
|
return await this.updateServiceInstanceWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime);
|
|
8760
9823
|
}
|
|
8761
9824
|
|
|
9825
|
+
/**
|
|
9826
|
+
* @summary Adds service tags or updates existing service tags.
|
|
9827
|
+
*
|
|
9828
|
+
* @param request UpdateServiceLabelRequest
|
|
9829
|
+
* @param headers map
|
|
9830
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9831
|
+
* @return UpdateServiceLabelResponse
|
|
9832
|
+
*/
|
|
8762
9833
|
async updateServiceLabelWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceLabelRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceLabelResponse> {
|
|
8763
9834
|
Util.validateModel(request);
|
|
8764
9835
|
let body : {[key: string ]: any} = { };
|
|
@@ -8784,12 +9855,26 @@ export default class Client extends OpenApi {
|
|
|
8784
9855
|
return $tea.cast<UpdateServiceLabelResponse>(await this.callApi(params, req, runtime), new UpdateServiceLabelResponse({}));
|
|
8785
9856
|
}
|
|
8786
9857
|
|
|
9858
|
+
/**
|
|
9859
|
+
* @summary Adds service tags or updates existing service tags.
|
|
9860
|
+
*
|
|
9861
|
+
* @param request UpdateServiceLabelRequest
|
|
9862
|
+
* @return UpdateServiceLabelResponse
|
|
9863
|
+
*/
|
|
8787
9864
|
async updateServiceLabel(ClusterId: string, ServiceName: string, request: UpdateServiceLabelRequest): Promise<UpdateServiceLabelResponse> {
|
|
8788
9865
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8789
9866
|
let headers : {[key: string ]: string} = { };
|
|
8790
9867
|
return await this.updateServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8791
9868
|
}
|
|
8792
9869
|
|
|
9870
|
+
/**
|
|
9871
|
+
* @summary Updates the traffic mirroring configurations of a service.
|
|
9872
|
+
*
|
|
9873
|
+
* @param request UpdateServiceMirrorRequest
|
|
9874
|
+
* @param headers map
|
|
9875
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9876
|
+
* @return UpdateServiceMirrorResponse
|
|
9877
|
+
*/
|
|
8793
9878
|
async updateServiceMirrorWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceMirrorRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceMirrorResponse> {
|
|
8794
9879
|
Util.validateModel(request);
|
|
8795
9880
|
let body : {[key: string ]: any} = { };
|
|
@@ -8819,12 +9904,26 @@ export default class Client extends OpenApi {
|
|
|
8819
9904
|
return $tea.cast<UpdateServiceMirrorResponse>(await this.callApi(params, req, runtime), new UpdateServiceMirrorResponse({}));
|
|
8820
9905
|
}
|
|
8821
9906
|
|
|
9907
|
+
/**
|
|
9908
|
+
* @summary Updates the traffic mirroring configurations of a service.
|
|
9909
|
+
*
|
|
9910
|
+
* @param request UpdateServiceMirrorRequest
|
|
9911
|
+
* @return UpdateServiceMirrorResponse
|
|
9912
|
+
*/
|
|
8822
9913
|
async updateServiceMirror(ClusterId: string, ServiceName: string, request: UpdateServiceMirrorRequest): Promise<UpdateServiceMirrorResponse> {
|
|
8823
9914
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8824
9915
|
let headers : {[key: string ]: string} = { };
|
|
8825
9916
|
return await this.updateServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8826
9917
|
}
|
|
8827
9918
|
|
|
9919
|
+
/**
|
|
9920
|
+
* @summary Updates the safety lock of a service to minimize misoperations on the service.
|
|
9921
|
+
*
|
|
9922
|
+
* @param request UpdateServiceSafetyLockRequest
|
|
9923
|
+
* @param headers map
|
|
9924
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9925
|
+
* @return UpdateServiceSafetyLockResponse
|
|
9926
|
+
*/
|
|
8828
9927
|
async updateServiceSafetyLockWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceSafetyLockRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceSafetyLockResponse> {
|
|
8829
9928
|
Util.validateModel(request);
|
|
8830
9929
|
let body : {[key: string ]: any} = { };
|
|
@@ -8850,12 +9949,26 @@ export default class Client extends OpenApi {
|
|
|
8850
9949
|
return $tea.cast<UpdateServiceSafetyLockResponse>(await this.callApi(params, req, runtime), new UpdateServiceSafetyLockResponse({}));
|
|
8851
9950
|
}
|
|
8852
9951
|
|
|
9952
|
+
/**
|
|
9953
|
+
* @summary Updates the safety lock of a service to minimize misoperations on the service.
|
|
9954
|
+
*
|
|
9955
|
+
* @param request UpdateServiceSafetyLockRequest
|
|
9956
|
+
* @return UpdateServiceSafetyLockResponse
|
|
9957
|
+
*/
|
|
8853
9958
|
async updateServiceSafetyLock(ClusterId: string, ServiceName: string, request: UpdateServiceSafetyLockRequest): Promise<UpdateServiceSafetyLockResponse> {
|
|
8854
9959
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8855
9960
|
let headers : {[key: string ]: string} = { };
|
|
8856
9961
|
return await this.updateServiceSafetyLockWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8857
9962
|
}
|
|
8858
9963
|
|
|
9964
|
+
/**
|
|
9965
|
+
* @summary Updates the version of a service or rolls back the service to a specific version.
|
|
9966
|
+
*
|
|
9967
|
+
* @param request UpdateServiceVersionRequest
|
|
9968
|
+
* @param headers map
|
|
9969
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9970
|
+
* @return UpdateServiceVersionResponse
|
|
9971
|
+
*/
|
|
8859
9972
|
async updateServiceVersionWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceVersionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceVersionResponse> {
|
|
8860
9973
|
Util.validateModel(request);
|
|
8861
9974
|
let body : {[key: string ]: any} = { };
|
|
@@ -8881,6 +9994,12 @@ export default class Client extends OpenApi {
|
|
|
8881
9994
|
return $tea.cast<UpdateServiceVersionResponse>(await this.callApi(params, req, runtime), new UpdateServiceVersionResponse({}));
|
|
8882
9995
|
}
|
|
8883
9996
|
|
|
9997
|
+
/**
|
|
9998
|
+
* @summary Updates the version of a service or rolls back the service to a specific version.
|
|
9999
|
+
*
|
|
10000
|
+
* @param request UpdateServiceVersionRequest
|
|
10001
|
+
* @return UpdateServiceVersionResponse
|
|
10002
|
+
*/
|
|
8884
10003
|
async updateServiceVersion(ClusterId: string, ServiceName: string, request: UpdateServiceVersionRequest): Promise<UpdateServiceVersionResponse> {
|
|
8885
10004
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8886
10005
|
let headers : {[key: string ]: string} = { };
|