@alicloud/eas20210701 2.1.0 → 3.0.0
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 +592 -0
- package/dist/client.js +1164 -33
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1499 -94
package/dist/client.js
CHANGED
|
@@ -98,6 +98,7 @@ class Instance extends $tea.Model {
|
|
|
98
98
|
instanceName: 'InstanceName',
|
|
99
99
|
instancePort: 'InstancePort',
|
|
100
100
|
isSpot: 'IsSpot',
|
|
101
|
+
isolated: 'Isolated',
|
|
101
102
|
lastState: 'LastState',
|
|
102
103
|
namespace: 'Namespace',
|
|
103
104
|
originalAmount: 'OriginalAmount',
|
|
@@ -122,6 +123,7 @@ class Instance extends $tea.Model {
|
|
|
122
123
|
instanceName: 'string',
|
|
123
124
|
instancePort: 'number',
|
|
124
125
|
isSpot: 'boolean',
|
|
126
|
+
isolated: 'boolean',
|
|
125
127
|
lastState: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
126
128
|
namespace: 'string',
|
|
127
129
|
originalAmount: 'number',
|
|
@@ -156,6 +158,7 @@ class Resource extends $tea.Model {
|
|
|
156
158
|
prePaidInstanceCount: 'PrePaidInstanceCount',
|
|
157
159
|
resourceId: 'ResourceId',
|
|
158
160
|
resourceName: 'ResourceName',
|
|
161
|
+
resourceType: 'ResourceType',
|
|
159
162
|
status: 'Status',
|
|
160
163
|
updateTime: 'UpdateTime',
|
|
161
164
|
};
|
|
@@ -173,6 +176,7 @@ class Resource extends $tea.Model {
|
|
|
173
176
|
prePaidInstanceCount: 'number',
|
|
174
177
|
resourceId: 'string',
|
|
175
178
|
resourceName: 'string',
|
|
179
|
+
resourceType: 'string',
|
|
176
180
|
status: 'string',
|
|
177
181
|
updateTime: 'string',
|
|
178
182
|
};
|
|
@@ -284,6 +288,10 @@ class Service extends $tea.Model {
|
|
|
284
288
|
static names() {
|
|
285
289
|
return {
|
|
286
290
|
accessToken: 'AccessToken',
|
|
291
|
+
appConfig: 'AppConfig',
|
|
292
|
+
appSpecName: 'AppSpecName',
|
|
293
|
+
appType: 'AppType',
|
|
294
|
+
appVersion: 'AppVersion',
|
|
287
295
|
callerUid: 'CallerUid',
|
|
288
296
|
cpu: 'Cpu',
|
|
289
297
|
createTime: 'CreateTime',
|
|
@@ -321,11 +329,16 @@ class Service extends $tea.Model {
|
|
|
321
329
|
totalInstance: 'TotalInstance',
|
|
322
330
|
updateTime: 'UpdateTime',
|
|
323
331
|
weight: 'Weight',
|
|
332
|
+
workspaceId: 'WorkspaceId',
|
|
324
333
|
};
|
|
325
334
|
}
|
|
326
335
|
static types() {
|
|
327
336
|
return {
|
|
328
337
|
accessToken: 'string',
|
|
338
|
+
appConfig: 'string',
|
|
339
|
+
appSpecName: 'string',
|
|
340
|
+
appType: 'string',
|
|
341
|
+
appVersion: 'string',
|
|
329
342
|
callerUid: 'string',
|
|
330
343
|
cpu: 'number',
|
|
331
344
|
createTime: 'string',
|
|
@@ -363,6 +376,7 @@ class Service extends $tea.Model {
|
|
|
363
376
|
totalInstance: 'number',
|
|
364
377
|
updateTime: 'string',
|
|
365
378
|
weight: 'number',
|
|
379
|
+
workspaceId: 'string',
|
|
366
380
|
};
|
|
367
381
|
}
|
|
368
382
|
}
|
|
@@ -405,6 +419,84 @@ class CommitServiceResponse extends $tea.Model {
|
|
|
405
419
|
}
|
|
406
420
|
}
|
|
407
421
|
exports.CommitServiceResponse = CommitServiceResponse;
|
|
422
|
+
class CreateAppServiceRequest extends $tea.Model {
|
|
423
|
+
constructor(map) {
|
|
424
|
+
super(map);
|
|
425
|
+
}
|
|
426
|
+
static names() {
|
|
427
|
+
return {
|
|
428
|
+
quotaId: 'QuotaId',
|
|
429
|
+
workspaceId: 'WorkspaceId',
|
|
430
|
+
appType: 'AppType',
|
|
431
|
+
appVersion: 'AppVersion',
|
|
432
|
+
config: 'Config',
|
|
433
|
+
replicas: 'Replicas',
|
|
434
|
+
serviceName: 'ServiceName',
|
|
435
|
+
serviceSpec: 'ServiceSpec',
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
static types() {
|
|
439
|
+
return {
|
|
440
|
+
quotaId: 'string',
|
|
441
|
+
workspaceId: 'string',
|
|
442
|
+
appType: 'string',
|
|
443
|
+
appVersion: 'string',
|
|
444
|
+
config: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
445
|
+
replicas: 'number',
|
|
446
|
+
serviceName: 'string',
|
|
447
|
+
serviceSpec: 'string',
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
exports.CreateAppServiceRequest = CreateAppServiceRequest;
|
|
452
|
+
class CreateAppServiceResponseBody extends $tea.Model {
|
|
453
|
+
constructor(map) {
|
|
454
|
+
super(map);
|
|
455
|
+
}
|
|
456
|
+
static names() {
|
|
457
|
+
return {
|
|
458
|
+
internetEndpoint: 'InternetEndpoint',
|
|
459
|
+
intranetEndpoint: 'IntranetEndpoint',
|
|
460
|
+
region: 'Region',
|
|
461
|
+
requestId: 'RequestId',
|
|
462
|
+
serviceId: 'ServiceId',
|
|
463
|
+
serviceName: 'ServiceName',
|
|
464
|
+
status: 'Status',
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
static types() {
|
|
468
|
+
return {
|
|
469
|
+
internetEndpoint: 'string',
|
|
470
|
+
intranetEndpoint: 'string',
|
|
471
|
+
region: 'string',
|
|
472
|
+
requestId: 'string',
|
|
473
|
+
serviceId: 'string',
|
|
474
|
+
serviceName: 'string',
|
|
475
|
+
status: 'string',
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
exports.CreateAppServiceResponseBody = CreateAppServiceResponseBody;
|
|
480
|
+
class CreateAppServiceResponse extends $tea.Model {
|
|
481
|
+
constructor(map) {
|
|
482
|
+
super(map);
|
|
483
|
+
}
|
|
484
|
+
static names() {
|
|
485
|
+
return {
|
|
486
|
+
headers: 'headers',
|
|
487
|
+
statusCode: 'statusCode',
|
|
488
|
+
body: 'body',
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
static types() {
|
|
492
|
+
return {
|
|
493
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
494
|
+
statusCode: 'number',
|
|
495
|
+
body: CreateAppServiceResponseBody,
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
exports.CreateAppServiceResponse = CreateAppServiceResponse;
|
|
408
500
|
class CreateBenchmarkTaskRequest extends $tea.Model {
|
|
409
501
|
constructor(map) {
|
|
410
502
|
super(map);
|
|
@@ -463,6 +555,130 @@ class CreateBenchmarkTaskResponse extends $tea.Model {
|
|
|
463
555
|
}
|
|
464
556
|
}
|
|
465
557
|
exports.CreateBenchmarkTaskResponse = CreateBenchmarkTaskResponse;
|
|
558
|
+
class CreateGatewayRequest extends $tea.Model {
|
|
559
|
+
constructor(map) {
|
|
560
|
+
super(map);
|
|
561
|
+
}
|
|
562
|
+
static names() {
|
|
563
|
+
return {
|
|
564
|
+
resourceName: 'ResourceName',
|
|
565
|
+
enableInternet: 'EnableInternet',
|
|
566
|
+
enableIntranet: 'EnableIntranet',
|
|
567
|
+
instanceType: 'InstanceType',
|
|
568
|
+
name: 'Name',
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
static types() {
|
|
572
|
+
return {
|
|
573
|
+
resourceName: 'string',
|
|
574
|
+
enableInternet: 'boolean',
|
|
575
|
+
enableIntranet: 'boolean',
|
|
576
|
+
instanceType: 'string',
|
|
577
|
+
name: 'string',
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
exports.CreateGatewayRequest = CreateGatewayRequest;
|
|
582
|
+
class CreateGatewayResponseBody extends $tea.Model {
|
|
583
|
+
constructor(map) {
|
|
584
|
+
super(map);
|
|
585
|
+
}
|
|
586
|
+
static names() {
|
|
587
|
+
return {
|
|
588
|
+
clusterId: 'ClusterId',
|
|
589
|
+
gatewayId: 'GatewayId',
|
|
590
|
+
message: 'Message',
|
|
591
|
+
requestId: 'RequestId',
|
|
592
|
+
};
|
|
593
|
+
}
|
|
594
|
+
static types() {
|
|
595
|
+
return {
|
|
596
|
+
clusterId: 'string',
|
|
597
|
+
gatewayId: 'string',
|
|
598
|
+
message: 'string',
|
|
599
|
+
requestId: 'string',
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
exports.CreateGatewayResponseBody = CreateGatewayResponseBody;
|
|
604
|
+
class CreateGatewayResponse extends $tea.Model {
|
|
605
|
+
constructor(map) {
|
|
606
|
+
super(map);
|
|
607
|
+
}
|
|
608
|
+
static names() {
|
|
609
|
+
return {
|
|
610
|
+
headers: 'headers',
|
|
611
|
+
statusCode: 'statusCode',
|
|
612
|
+
body: 'body',
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
static types() {
|
|
616
|
+
return {
|
|
617
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
618
|
+
statusCode: 'number',
|
|
619
|
+
body: CreateGatewayResponseBody,
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
exports.CreateGatewayResponse = CreateGatewayResponse;
|
|
624
|
+
class CreateGatewayIntranetLinkedVpcRequest extends $tea.Model {
|
|
625
|
+
constructor(map) {
|
|
626
|
+
super(map);
|
|
627
|
+
}
|
|
628
|
+
static names() {
|
|
629
|
+
return {
|
|
630
|
+
vSwitchId: 'VSwitchId',
|
|
631
|
+
vpcId: 'VpcId',
|
|
632
|
+
};
|
|
633
|
+
}
|
|
634
|
+
static types() {
|
|
635
|
+
return {
|
|
636
|
+
vSwitchId: 'string',
|
|
637
|
+
vpcId: 'string',
|
|
638
|
+
};
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
exports.CreateGatewayIntranetLinkedVpcRequest = CreateGatewayIntranetLinkedVpcRequest;
|
|
642
|
+
class CreateGatewayIntranetLinkedVpcResponseBody extends $tea.Model {
|
|
643
|
+
constructor(map) {
|
|
644
|
+
super(map);
|
|
645
|
+
}
|
|
646
|
+
static names() {
|
|
647
|
+
return {
|
|
648
|
+
gatewayId: 'GatewayId',
|
|
649
|
+
message: 'Message',
|
|
650
|
+
requestId: 'RequestId',
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
static types() {
|
|
654
|
+
return {
|
|
655
|
+
gatewayId: 'string',
|
|
656
|
+
message: 'string',
|
|
657
|
+
requestId: 'string',
|
|
658
|
+
};
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
exports.CreateGatewayIntranetLinkedVpcResponseBody = CreateGatewayIntranetLinkedVpcResponseBody;
|
|
662
|
+
class CreateGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
663
|
+
constructor(map) {
|
|
664
|
+
super(map);
|
|
665
|
+
}
|
|
666
|
+
static names() {
|
|
667
|
+
return {
|
|
668
|
+
headers: 'headers',
|
|
669
|
+
statusCode: 'statusCode',
|
|
670
|
+
body: 'body',
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
static types() {
|
|
674
|
+
return {
|
|
675
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
676
|
+
statusCode: 'number',
|
|
677
|
+
body: CreateGatewayIntranetLinkedVpcResponseBody,
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
exports.CreateGatewayIntranetLinkedVpcResponse = CreateGatewayIntranetLinkedVpcResponse;
|
|
466
682
|
class CreateResourceRequest extends $tea.Model {
|
|
467
683
|
constructor(map) {
|
|
468
684
|
super(map);
|
|
@@ -473,6 +689,8 @@ class CreateResourceRequest extends $tea.Model {
|
|
|
473
689
|
chargeType: 'ChargeType',
|
|
474
690
|
ecsInstanceCount: 'EcsInstanceCount',
|
|
475
691
|
ecsInstanceType: 'EcsInstanceType',
|
|
692
|
+
resourceType: 'ResourceType',
|
|
693
|
+
selfManagedResourceOptions: 'SelfManagedResourceOptions',
|
|
476
694
|
systemDiskSize: 'SystemDiskSize',
|
|
477
695
|
zone: 'Zone',
|
|
478
696
|
};
|
|
@@ -483,6 +701,8 @@ class CreateResourceRequest extends $tea.Model {
|
|
|
483
701
|
chargeType: 'string',
|
|
484
702
|
ecsInstanceCount: 'number',
|
|
485
703
|
ecsInstanceType: 'string',
|
|
704
|
+
resourceType: 'string',
|
|
705
|
+
selfManagedResourceOptions: CreateResourceRequestSelfManagedResourceOptions,
|
|
486
706
|
systemDiskSize: 'number',
|
|
487
707
|
zone: 'string',
|
|
488
708
|
};
|
|
@@ -667,6 +887,7 @@ class CreateServiceRequest extends $tea.Model {
|
|
|
667
887
|
return {
|
|
668
888
|
develop: 'Develop',
|
|
669
889
|
labels: 'Labels',
|
|
890
|
+
workspaceId: 'WorkspaceId',
|
|
670
891
|
body: 'body',
|
|
671
892
|
};
|
|
672
893
|
}
|
|
@@ -674,6 +895,7 @@ class CreateServiceRequest extends $tea.Model {
|
|
|
674
895
|
return {
|
|
675
896
|
develop: 'string',
|
|
676
897
|
labels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
898
|
+
workspaceId: 'string',
|
|
677
899
|
body: 'string',
|
|
678
900
|
};
|
|
679
901
|
}
|
|
@@ -687,6 +909,7 @@ class CreateServiceShrinkRequest extends $tea.Model {
|
|
|
687
909
|
return {
|
|
688
910
|
develop: 'Develop',
|
|
689
911
|
labelsShrink: 'Labels',
|
|
912
|
+
workspaceId: 'WorkspaceId',
|
|
690
913
|
body: 'body',
|
|
691
914
|
};
|
|
692
915
|
}
|
|
@@ -694,6 +917,7 @@ class CreateServiceShrinkRequest extends $tea.Model {
|
|
|
694
917
|
return {
|
|
695
918
|
develop: 'string',
|
|
696
919
|
labelsShrink: 'string',
|
|
920
|
+
workspaceId: 'string',
|
|
697
921
|
body: 'string',
|
|
698
922
|
};
|
|
699
923
|
}
|
|
@@ -957,6 +1181,104 @@ class DeleteBenchmarkTaskResponse extends $tea.Model {
|
|
|
957
1181
|
}
|
|
958
1182
|
}
|
|
959
1183
|
exports.DeleteBenchmarkTaskResponse = DeleteBenchmarkTaskResponse;
|
|
1184
|
+
class DeleteGatewayResponseBody extends $tea.Model {
|
|
1185
|
+
constructor(map) {
|
|
1186
|
+
super(map);
|
|
1187
|
+
}
|
|
1188
|
+
static names() {
|
|
1189
|
+
return {
|
|
1190
|
+
gatewayId: 'GatewayId',
|
|
1191
|
+
message: 'Message',
|
|
1192
|
+
requestId: 'RequestId',
|
|
1193
|
+
};
|
|
1194
|
+
}
|
|
1195
|
+
static types() {
|
|
1196
|
+
return {
|
|
1197
|
+
gatewayId: 'string',
|
|
1198
|
+
message: 'string',
|
|
1199
|
+
requestId: 'string',
|
|
1200
|
+
};
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
exports.DeleteGatewayResponseBody = DeleteGatewayResponseBody;
|
|
1204
|
+
class DeleteGatewayResponse extends $tea.Model {
|
|
1205
|
+
constructor(map) {
|
|
1206
|
+
super(map);
|
|
1207
|
+
}
|
|
1208
|
+
static names() {
|
|
1209
|
+
return {
|
|
1210
|
+
headers: 'headers',
|
|
1211
|
+
statusCode: 'statusCode',
|
|
1212
|
+
body: 'body',
|
|
1213
|
+
};
|
|
1214
|
+
}
|
|
1215
|
+
static types() {
|
|
1216
|
+
return {
|
|
1217
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1218
|
+
statusCode: 'number',
|
|
1219
|
+
body: DeleteGatewayResponseBody,
|
|
1220
|
+
};
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
exports.DeleteGatewayResponse = DeleteGatewayResponse;
|
|
1224
|
+
class DeleteGatewayIntranetLinkedVpcRequest extends $tea.Model {
|
|
1225
|
+
constructor(map) {
|
|
1226
|
+
super(map);
|
|
1227
|
+
}
|
|
1228
|
+
static names() {
|
|
1229
|
+
return {
|
|
1230
|
+
vSwitchId: 'VSwitchId',
|
|
1231
|
+
vpcId: 'VpcId',
|
|
1232
|
+
};
|
|
1233
|
+
}
|
|
1234
|
+
static types() {
|
|
1235
|
+
return {
|
|
1236
|
+
vSwitchId: 'string',
|
|
1237
|
+
vpcId: 'string',
|
|
1238
|
+
};
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
exports.DeleteGatewayIntranetLinkedVpcRequest = DeleteGatewayIntranetLinkedVpcRequest;
|
|
1242
|
+
class DeleteGatewayIntranetLinkedVpcResponseBody extends $tea.Model {
|
|
1243
|
+
constructor(map) {
|
|
1244
|
+
super(map);
|
|
1245
|
+
}
|
|
1246
|
+
static names() {
|
|
1247
|
+
return {
|
|
1248
|
+
gatewayId: 'GatewayId',
|
|
1249
|
+
message: 'Message',
|
|
1250
|
+
requestId: 'RequestId',
|
|
1251
|
+
};
|
|
1252
|
+
}
|
|
1253
|
+
static types() {
|
|
1254
|
+
return {
|
|
1255
|
+
gatewayId: 'string',
|
|
1256
|
+
message: 'string',
|
|
1257
|
+
requestId: 'string',
|
|
1258
|
+
};
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
exports.DeleteGatewayIntranetLinkedVpcResponseBody = DeleteGatewayIntranetLinkedVpcResponseBody;
|
|
1262
|
+
class DeleteGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
1263
|
+
constructor(map) {
|
|
1264
|
+
super(map);
|
|
1265
|
+
}
|
|
1266
|
+
static names() {
|
|
1267
|
+
return {
|
|
1268
|
+
headers: 'headers',
|
|
1269
|
+
statusCode: 'statusCode',
|
|
1270
|
+
body: 'body',
|
|
1271
|
+
};
|
|
1272
|
+
}
|
|
1273
|
+
static types() {
|
|
1274
|
+
return {
|
|
1275
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1276
|
+
statusCode: 'number',
|
|
1277
|
+
body: DeleteGatewayIntranetLinkedVpcResponseBody,
|
|
1278
|
+
};
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
exports.DeleteGatewayIntranetLinkedVpcResponse = DeleteGatewayIntranetLinkedVpcResponse;
|
|
960
1282
|
class DeleteResourceResponseBody extends $tea.Model {
|
|
961
1283
|
constructor(map) {
|
|
962
1284
|
super(map);
|
|
@@ -1523,22 +1845,90 @@ class DescribeBenchmarkTaskReportResponse extends $tea.Model {
|
|
|
1523
1845
|
}
|
|
1524
1846
|
}
|
|
1525
1847
|
exports.DescribeBenchmarkTaskReportResponse = DescribeBenchmarkTaskReportResponse;
|
|
1526
|
-
class
|
|
1848
|
+
class DescribeGatewayResponseBody extends $tea.Model {
|
|
1527
1849
|
constructor(map) {
|
|
1528
1850
|
super(map);
|
|
1529
1851
|
}
|
|
1530
1852
|
static names() {
|
|
1531
1853
|
return {
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1854
|
+
callerUid: 'CallerUid',
|
|
1855
|
+
createTime: 'CreateTime',
|
|
1856
|
+
externalClusterId: 'ExternalClusterId',
|
|
1857
|
+
gatewayId: 'GatewayId',
|
|
1858
|
+
gatewayName: 'GatewayName',
|
|
1859
|
+
instanceType: 'InstanceType',
|
|
1860
|
+
internetAclPolicyList: 'InternetAclPolicyList',
|
|
1861
|
+
internetDomain: 'InternetDomain',
|
|
1862
|
+
internetEnabled: 'InternetEnabled',
|
|
1863
|
+
intranetDomain: 'IntranetDomain',
|
|
1864
|
+
intranetEnabled: 'IntranetEnabled',
|
|
1865
|
+
intranetLinkedVpcList: 'IntranetLinkedVpcList',
|
|
1866
|
+
parentUid: 'ParentUid',
|
|
1867
|
+
region: 'Region',
|
|
1868
|
+
requestId: 'RequestId',
|
|
1869
|
+
status: 'Status',
|
|
1870
|
+
updateTime: 'UpdateTime',
|
|
1871
|
+
};
|
|
1872
|
+
}
|
|
1873
|
+
static types() {
|
|
1874
|
+
return {
|
|
1875
|
+
callerUid: 'string',
|
|
1876
|
+
createTime: 'string',
|
|
1877
|
+
externalClusterId: 'string',
|
|
1878
|
+
gatewayId: 'string',
|
|
1879
|
+
gatewayName: 'string',
|
|
1880
|
+
instanceType: 'string',
|
|
1881
|
+
internetAclPolicyList: { 'type': 'array', 'itemType': DescribeGatewayResponseBodyInternetAclPolicyList },
|
|
1882
|
+
internetDomain: 'string',
|
|
1883
|
+
internetEnabled: 'boolean',
|
|
1884
|
+
intranetDomain: 'string',
|
|
1885
|
+
intranetEnabled: 'boolean',
|
|
1886
|
+
intranetLinkedVpcList: { 'type': 'array', 'itemType': DescribeGatewayResponseBodyIntranetLinkedVpcList },
|
|
1887
|
+
parentUid: 'string',
|
|
1888
|
+
region: 'string',
|
|
1889
|
+
requestId: 'string',
|
|
1890
|
+
status: 'string',
|
|
1891
|
+
updateTime: 'string',
|
|
1892
|
+
};
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
exports.DescribeGatewayResponseBody = DescribeGatewayResponseBody;
|
|
1896
|
+
class DescribeGatewayResponse extends $tea.Model {
|
|
1897
|
+
constructor(map) {
|
|
1898
|
+
super(map);
|
|
1899
|
+
}
|
|
1900
|
+
static names() {
|
|
1901
|
+
return {
|
|
1902
|
+
headers: 'headers',
|
|
1903
|
+
statusCode: 'statusCode',
|
|
1904
|
+
body: 'body',
|
|
1905
|
+
};
|
|
1906
|
+
}
|
|
1907
|
+
static types() {
|
|
1908
|
+
return {
|
|
1909
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1910
|
+
statusCode: 'number',
|
|
1911
|
+
body: DescribeGatewayResponseBody,
|
|
1912
|
+
};
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
exports.DescribeGatewayResponse = DescribeGatewayResponse;
|
|
1916
|
+
class DescribeGroupResponse extends $tea.Model {
|
|
1917
|
+
constructor(map) {
|
|
1918
|
+
super(map);
|
|
1919
|
+
}
|
|
1920
|
+
static names() {
|
|
1921
|
+
return {
|
|
1922
|
+
headers: 'headers',
|
|
1923
|
+
statusCode: 'statusCode',
|
|
1924
|
+
body: 'body',
|
|
1925
|
+
};
|
|
1926
|
+
}
|
|
1927
|
+
static types() {
|
|
1928
|
+
return {
|
|
1929
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1930
|
+
statusCode: 'number',
|
|
1931
|
+
body: Group,
|
|
1542
1932
|
};
|
|
1543
1933
|
}
|
|
1544
1934
|
}
|
|
@@ -1562,6 +1952,7 @@ class DescribeResourceResponseBody extends $tea.Model {
|
|
|
1562
1952
|
requestId: 'RequestId',
|
|
1563
1953
|
resourceId: 'ResourceId',
|
|
1564
1954
|
resourceName: 'ResourceName',
|
|
1955
|
+
resourceType: 'ResourceType',
|
|
1565
1956
|
status: 'Status',
|
|
1566
1957
|
updateTime: 'UpdateTime',
|
|
1567
1958
|
};
|
|
@@ -1581,6 +1972,7 @@ class DescribeResourceResponseBody extends $tea.Model {
|
|
|
1581
1972
|
requestId: 'string',
|
|
1582
1973
|
resourceId: 'string',
|
|
1583
1974
|
resourceName: 'string',
|
|
1975
|
+
resourceType: 'string',
|
|
1584
1976
|
status: 'string',
|
|
1585
1977
|
updateTime: 'string',
|
|
1586
1978
|
};
|
|
@@ -2191,6 +2583,46 @@ class ListBenchmarkTaskResponse extends $tea.Model {
|
|
|
2191
2583
|
}
|
|
2192
2584
|
}
|
|
2193
2585
|
exports.ListBenchmarkTaskResponse = ListBenchmarkTaskResponse;
|
|
2586
|
+
class ListGatewayIntranetLinkedVpcResponseBody extends $tea.Model {
|
|
2587
|
+
constructor(map) {
|
|
2588
|
+
super(map);
|
|
2589
|
+
}
|
|
2590
|
+
static names() {
|
|
2591
|
+
return {
|
|
2592
|
+
gatewayId: 'GatewayId',
|
|
2593
|
+
intranetLinkedVpcList: 'IntranetLinkedVpcList',
|
|
2594
|
+
requestId: 'RequestId',
|
|
2595
|
+
};
|
|
2596
|
+
}
|
|
2597
|
+
static types() {
|
|
2598
|
+
return {
|
|
2599
|
+
gatewayId: 'string',
|
|
2600
|
+
intranetLinkedVpcList: { 'type': 'array', 'itemType': ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList },
|
|
2601
|
+
requestId: 'string',
|
|
2602
|
+
};
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
exports.ListGatewayIntranetLinkedVpcResponseBody = ListGatewayIntranetLinkedVpcResponseBody;
|
|
2606
|
+
class ListGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
2607
|
+
constructor(map) {
|
|
2608
|
+
super(map);
|
|
2609
|
+
}
|
|
2610
|
+
static names() {
|
|
2611
|
+
return {
|
|
2612
|
+
headers: 'headers',
|
|
2613
|
+
statusCode: 'statusCode',
|
|
2614
|
+
body: 'body',
|
|
2615
|
+
};
|
|
2616
|
+
}
|
|
2617
|
+
static types() {
|
|
2618
|
+
return {
|
|
2619
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2620
|
+
statusCode: 'number',
|
|
2621
|
+
body: ListGatewayIntranetLinkedVpcResponseBody,
|
|
2622
|
+
};
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2625
|
+
exports.ListGatewayIntranetLinkedVpcResponse = ListGatewayIntranetLinkedVpcResponse;
|
|
2194
2626
|
class ListGroupsRequest extends $tea.Model {
|
|
2195
2627
|
constructor(map) {
|
|
2196
2628
|
super(map);
|
|
@@ -2200,6 +2632,7 @@ class ListGroupsRequest extends $tea.Model {
|
|
|
2200
2632
|
filter: 'Filter',
|
|
2201
2633
|
pageNumber: 'PageNumber',
|
|
2202
2634
|
pageSize: 'PageSize',
|
|
2635
|
+
workspaceId: 'WorkspaceId',
|
|
2203
2636
|
};
|
|
2204
2637
|
}
|
|
2205
2638
|
static types() {
|
|
@@ -2207,6 +2640,7 @@ class ListGroupsRequest extends $tea.Model {
|
|
|
2207
2640
|
filter: 'string',
|
|
2208
2641
|
pageNumber: 'string',
|
|
2209
2642
|
pageSize: 'string',
|
|
2643
|
+
workspaceId: 'string',
|
|
2210
2644
|
};
|
|
2211
2645
|
}
|
|
2212
2646
|
}
|
|
@@ -2467,6 +2901,7 @@ class ListResourcesRequest extends $tea.Model {
|
|
|
2467
2901
|
pageSize: 'PageSize',
|
|
2468
2902
|
resourceId: 'ResourceId',
|
|
2469
2903
|
resourceName: 'ResourceName',
|
|
2904
|
+
resourceType: 'ResourceType',
|
|
2470
2905
|
};
|
|
2471
2906
|
}
|
|
2472
2907
|
static types() {
|
|
@@ -2475,6 +2910,7 @@ class ListResourcesRequest extends $tea.Model {
|
|
|
2475
2910
|
pageSize: 'number',
|
|
2476
2911
|
resourceId: 'string',
|
|
2477
2912
|
resourceName: 'string',
|
|
2913
|
+
resourceType: 'string',
|
|
2478
2914
|
};
|
|
2479
2915
|
}
|
|
2480
2916
|
}
|
|
@@ -2728,6 +3164,7 @@ class ListServicesRequest extends $tea.Model {
|
|
|
2728
3164
|
serviceType: 'ServiceType',
|
|
2729
3165
|
serviceUid: 'ServiceUid',
|
|
2730
3166
|
sort: 'Sort',
|
|
3167
|
+
workspaceId: 'WorkspaceId',
|
|
2731
3168
|
};
|
|
2732
3169
|
}
|
|
2733
3170
|
static types() {
|
|
@@ -2745,6 +3182,7 @@ class ListServicesRequest extends $tea.Model {
|
|
|
2745
3182
|
serviceType: 'string',
|
|
2746
3183
|
serviceUid: 'string',
|
|
2747
3184
|
sort: 'string',
|
|
3185
|
+
workspaceId: 'string',
|
|
2748
3186
|
};
|
|
2749
3187
|
}
|
|
2750
3188
|
}
|
|
@@ -2768,6 +3206,7 @@ class ListServicesShrinkRequest extends $tea.Model {
|
|
|
2768
3206
|
serviceType: 'ServiceType',
|
|
2769
3207
|
serviceUid: 'ServiceUid',
|
|
2770
3208
|
sort: 'Sort',
|
|
3209
|
+
workspaceId: 'WorkspaceId',
|
|
2771
3210
|
};
|
|
2772
3211
|
}
|
|
2773
3212
|
static types() {
|
|
@@ -2785,6 +3224,7 @@ class ListServicesShrinkRequest extends $tea.Model {
|
|
|
2785
3224
|
serviceType: 'string',
|
|
2786
3225
|
serviceUid: 'string',
|
|
2787
3226
|
sort: 'string',
|
|
3227
|
+
workspaceId: 'string',
|
|
2788
3228
|
};
|
|
2789
3229
|
}
|
|
2790
3230
|
}
|
|
@@ -3079,6 +3519,72 @@ class StopServiceResponse extends $tea.Model {
|
|
|
3079
3519
|
}
|
|
3080
3520
|
}
|
|
3081
3521
|
exports.StopServiceResponse = StopServiceResponse;
|
|
3522
|
+
class UpdateAppServiceRequest extends $tea.Model {
|
|
3523
|
+
constructor(map) {
|
|
3524
|
+
super(map);
|
|
3525
|
+
}
|
|
3526
|
+
static names() {
|
|
3527
|
+
return {
|
|
3528
|
+
quotaId: 'QuotaId',
|
|
3529
|
+
workspaceId: 'WorkspaceId',
|
|
3530
|
+
appType: 'AppType',
|
|
3531
|
+
appVersion: 'AppVersion',
|
|
3532
|
+
config: 'Config',
|
|
3533
|
+
replicas: 'Replicas',
|
|
3534
|
+
serviceSpec: 'ServiceSpec',
|
|
3535
|
+
};
|
|
3536
|
+
}
|
|
3537
|
+
static types() {
|
|
3538
|
+
return {
|
|
3539
|
+
quotaId: 'string',
|
|
3540
|
+
workspaceId: 'string',
|
|
3541
|
+
appType: 'string',
|
|
3542
|
+
appVersion: 'string',
|
|
3543
|
+
config: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3544
|
+
replicas: 'string',
|
|
3545
|
+
serviceSpec: 'string',
|
|
3546
|
+
};
|
|
3547
|
+
}
|
|
3548
|
+
}
|
|
3549
|
+
exports.UpdateAppServiceRequest = UpdateAppServiceRequest;
|
|
3550
|
+
class UpdateAppServiceResponseBody extends $tea.Model {
|
|
3551
|
+
constructor(map) {
|
|
3552
|
+
super(map);
|
|
3553
|
+
}
|
|
3554
|
+
static names() {
|
|
3555
|
+
return {
|
|
3556
|
+
message: 'Message',
|
|
3557
|
+
requestId: 'RequestId',
|
|
3558
|
+
};
|
|
3559
|
+
}
|
|
3560
|
+
static types() {
|
|
3561
|
+
return {
|
|
3562
|
+
message: 'string',
|
|
3563
|
+
requestId: 'string',
|
|
3564
|
+
};
|
|
3565
|
+
}
|
|
3566
|
+
}
|
|
3567
|
+
exports.UpdateAppServiceResponseBody = UpdateAppServiceResponseBody;
|
|
3568
|
+
class UpdateAppServiceResponse extends $tea.Model {
|
|
3569
|
+
constructor(map) {
|
|
3570
|
+
super(map);
|
|
3571
|
+
}
|
|
3572
|
+
static names() {
|
|
3573
|
+
return {
|
|
3574
|
+
headers: 'headers',
|
|
3575
|
+
statusCode: 'statusCode',
|
|
3576
|
+
body: 'body',
|
|
3577
|
+
};
|
|
3578
|
+
}
|
|
3579
|
+
static types() {
|
|
3580
|
+
return {
|
|
3581
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3582
|
+
statusCode: 'number',
|
|
3583
|
+
body: UpdateAppServiceResponseBody,
|
|
3584
|
+
};
|
|
3585
|
+
}
|
|
3586
|
+
}
|
|
3587
|
+
exports.UpdateAppServiceResponse = UpdateAppServiceResponse;
|
|
3082
3588
|
class UpdateBenchmarkTaskRequest extends $tea.Model {
|
|
3083
3589
|
constructor(map) {
|
|
3084
3590
|
super(map);
|
|
@@ -3133,6 +3639,68 @@ class UpdateBenchmarkTaskResponse extends $tea.Model {
|
|
|
3133
3639
|
}
|
|
3134
3640
|
}
|
|
3135
3641
|
exports.UpdateBenchmarkTaskResponse = UpdateBenchmarkTaskResponse;
|
|
3642
|
+
class UpdateGatewayRequest extends $tea.Model {
|
|
3643
|
+
constructor(map) {
|
|
3644
|
+
super(map);
|
|
3645
|
+
}
|
|
3646
|
+
static names() {
|
|
3647
|
+
return {
|
|
3648
|
+
enableInternet: 'EnableInternet',
|
|
3649
|
+
enableIntranet: 'EnableIntranet',
|
|
3650
|
+
instanceType: 'InstanceType',
|
|
3651
|
+
name: 'Name',
|
|
3652
|
+
};
|
|
3653
|
+
}
|
|
3654
|
+
static types() {
|
|
3655
|
+
return {
|
|
3656
|
+
enableInternet: 'boolean',
|
|
3657
|
+
enableIntranet: 'boolean',
|
|
3658
|
+
instanceType: 'string',
|
|
3659
|
+
name: 'string',
|
|
3660
|
+
};
|
|
3661
|
+
}
|
|
3662
|
+
}
|
|
3663
|
+
exports.UpdateGatewayRequest = UpdateGatewayRequest;
|
|
3664
|
+
class UpdateGatewayResponseBody extends $tea.Model {
|
|
3665
|
+
constructor(map) {
|
|
3666
|
+
super(map);
|
|
3667
|
+
}
|
|
3668
|
+
static names() {
|
|
3669
|
+
return {
|
|
3670
|
+
gatewayId: 'GatewayId',
|
|
3671
|
+
message: 'Message',
|
|
3672
|
+
requestId: 'RequestId',
|
|
3673
|
+
};
|
|
3674
|
+
}
|
|
3675
|
+
static types() {
|
|
3676
|
+
return {
|
|
3677
|
+
gatewayId: 'string',
|
|
3678
|
+
message: 'string',
|
|
3679
|
+
requestId: 'string',
|
|
3680
|
+
};
|
|
3681
|
+
}
|
|
3682
|
+
}
|
|
3683
|
+
exports.UpdateGatewayResponseBody = UpdateGatewayResponseBody;
|
|
3684
|
+
class UpdateGatewayResponse extends $tea.Model {
|
|
3685
|
+
constructor(map) {
|
|
3686
|
+
super(map);
|
|
3687
|
+
}
|
|
3688
|
+
static names() {
|
|
3689
|
+
return {
|
|
3690
|
+
headers: 'headers',
|
|
3691
|
+
statusCode: 'statusCode',
|
|
3692
|
+
body: 'body',
|
|
3693
|
+
};
|
|
3694
|
+
}
|
|
3695
|
+
static types() {
|
|
3696
|
+
return {
|
|
3697
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3698
|
+
statusCode: 'number',
|
|
3699
|
+
body: UpdateGatewayResponseBody,
|
|
3700
|
+
};
|
|
3701
|
+
}
|
|
3702
|
+
}
|
|
3703
|
+
exports.UpdateGatewayResponse = UpdateGatewayResponse;
|
|
3136
3704
|
class UpdateResourceRequest extends $tea.Model {
|
|
3137
3705
|
constructor(map) {
|
|
3138
3706
|
super(map);
|
|
@@ -3140,11 +3708,13 @@ class UpdateResourceRequest extends $tea.Model {
|
|
|
3140
3708
|
static names() {
|
|
3141
3709
|
return {
|
|
3142
3710
|
resourceName: 'ResourceName',
|
|
3711
|
+
selfManagedResourceOptions: 'SelfManagedResourceOptions',
|
|
3143
3712
|
};
|
|
3144
3713
|
}
|
|
3145
3714
|
static types() {
|
|
3146
3715
|
return {
|
|
3147
3716
|
resourceName: 'string',
|
|
3717
|
+
selfManagedResourceOptions: UpdateResourceRequestSelfManagedResourceOptions,
|
|
3148
3718
|
};
|
|
3149
3719
|
}
|
|
3150
3720
|
}
|
|
@@ -3475,6 +4045,60 @@ class UpdateServiceCronScalerResponse extends $tea.Model {
|
|
|
3475
4045
|
}
|
|
3476
4046
|
}
|
|
3477
4047
|
exports.UpdateServiceCronScalerResponse = UpdateServiceCronScalerResponse;
|
|
4048
|
+
class UpdateServiceInstanceRequest extends $tea.Model {
|
|
4049
|
+
constructor(map) {
|
|
4050
|
+
super(map);
|
|
4051
|
+
}
|
|
4052
|
+
static names() {
|
|
4053
|
+
return {
|
|
4054
|
+
isolate: 'Isolate',
|
|
4055
|
+
};
|
|
4056
|
+
}
|
|
4057
|
+
static types() {
|
|
4058
|
+
return {
|
|
4059
|
+
isolate: 'boolean',
|
|
4060
|
+
};
|
|
4061
|
+
}
|
|
4062
|
+
}
|
|
4063
|
+
exports.UpdateServiceInstanceRequest = UpdateServiceInstanceRequest;
|
|
4064
|
+
class UpdateServiceInstanceResponseBody extends $tea.Model {
|
|
4065
|
+
constructor(map) {
|
|
4066
|
+
super(map);
|
|
4067
|
+
}
|
|
4068
|
+
static names() {
|
|
4069
|
+
return {
|
|
4070
|
+
message: 'Message',
|
|
4071
|
+
requestId: 'RequestId',
|
|
4072
|
+
};
|
|
4073
|
+
}
|
|
4074
|
+
static types() {
|
|
4075
|
+
return {
|
|
4076
|
+
message: 'string',
|
|
4077
|
+
requestId: 'string',
|
|
4078
|
+
};
|
|
4079
|
+
}
|
|
4080
|
+
}
|
|
4081
|
+
exports.UpdateServiceInstanceResponseBody = UpdateServiceInstanceResponseBody;
|
|
4082
|
+
class UpdateServiceInstanceResponse extends $tea.Model {
|
|
4083
|
+
constructor(map) {
|
|
4084
|
+
super(map);
|
|
4085
|
+
}
|
|
4086
|
+
static names() {
|
|
4087
|
+
return {
|
|
4088
|
+
headers: 'headers',
|
|
4089
|
+
statusCode: 'statusCode',
|
|
4090
|
+
body: 'body',
|
|
4091
|
+
};
|
|
4092
|
+
}
|
|
4093
|
+
static types() {
|
|
4094
|
+
return {
|
|
4095
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4096
|
+
statusCode: 'number',
|
|
4097
|
+
body: UpdateServiceInstanceResponseBody,
|
|
4098
|
+
};
|
|
4099
|
+
}
|
|
4100
|
+
}
|
|
4101
|
+
exports.UpdateServiceInstanceResponse = UpdateServiceInstanceResponse;
|
|
3478
4102
|
class UpdateServiceLabelRequest extends $tea.Model {
|
|
3479
4103
|
constructor(map) {
|
|
3480
4104
|
super(map);
|
|
@@ -3711,6 +4335,50 @@ class ServiceLabels extends $tea.Model {
|
|
|
3711
4335
|
}
|
|
3712
4336
|
}
|
|
3713
4337
|
exports.ServiceLabels = ServiceLabels;
|
|
4338
|
+
class CreateResourceRequestSelfManagedResourceOptionsNodeTolerations extends $tea.Model {
|
|
4339
|
+
constructor(map) {
|
|
4340
|
+
super(map);
|
|
4341
|
+
}
|
|
4342
|
+
static names() {
|
|
4343
|
+
return {
|
|
4344
|
+
effect: 'effect',
|
|
4345
|
+
key: 'key',
|
|
4346
|
+
operator: 'operator',
|
|
4347
|
+
value: 'value',
|
|
4348
|
+
};
|
|
4349
|
+
}
|
|
4350
|
+
static types() {
|
|
4351
|
+
return {
|
|
4352
|
+
effect: 'string',
|
|
4353
|
+
key: 'string',
|
|
4354
|
+
operator: 'string',
|
|
4355
|
+
value: 'string',
|
|
4356
|
+
};
|
|
4357
|
+
}
|
|
4358
|
+
}
|
|
4359
|
+
exports.CreateResourceRequestSelfManagedResourceOptionsNodeTolerations = CreateResourceRequestSelfManagedResourceOptionsNodeTolerations;
|
|
4360
|
+
class CreateResourceRequestSelfManagedResourceOptions extends $tea.Model {
|
|
4361
|
+
constructor(map) {
|
|
4362
|
+
super(map);
|
|
4363
|
+
}
|
|
4364
|
+
static names() {
|
|
4365
|
+
return {
|
|
4366
|
+
externalClusterId: 'ExternalClusterId',
|
|
4367
|
+
nodeMatchLabels: 'NodeMatchLabels',
|
|
4368
|
+
nodeTolerations: 'NodeTolerations',
|
|
4369
|
+
roleName: 'RoleName',
|
|
4370
|
+
};
|
|
4371
|
+
}
|
|
4372
|
+
static types() {
|
|
4373
|
+
return {
|
|
4374
|
+
externalClusterId: 'string',
|
|
4375
|
+
nodeMatchLabels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4376
|
+
nodeTolerations: { 'type': 'array', 'itemType': CreateResourceRequestSelfManagedResourceOptionsNodeTolerations },
|
|
4377
|
+
roleName: 'string',
|
|
4378
|
+
};
|
|
4379
|
+
}
|
|
4380
|
+
}
|
|
4381
|
+
exports.CreateResourceRequestSelfManagedResourceOptions = CreateResourceRequestSelfManagedResourceOptions;
|
|
3714
4382
|
class CreateServiceAutoScalerRequestBehaviorOnZero extends $tea.Model {
|
|
3715
4383
|
constructor(map) {
|
|
3716
4384
|
super(map);
|
|
@@ -3821,6 +4489,50 @@ class CreateServiceCronScalerRequestScaleJobs extends $tea.Model {
|
|
|
3821
4489
|
}
|
|
3822
4490
|
}
|
|
3823
4491
|
exports.CreateServiceCronScalerRequestScaleJobs = CreateServiceCronScalerRequestScaleJobs;
|
|
4492
|
+
class DescribeGatewayResponseBodyInternetAclPolicyList extends $tea.Model {
|
|
4493
|
+
constructor(map) {
|
|
4494
|
+
super(map);
|
|
4495
|
+
}
|
|
4496
|
+
static names() {
|
|
4497
|
+
return {
|
|
4498
|
+
comment: 'Comment',
|
|
4499
|
+
entry: 'Entry',
|
|
4500
|
+
status: 'Status',
|
|
4501
|
+
};
|
|
4502
|
+
}
|
|
4503
|
+
static types() {
|
|
4504
|
+
return {
|
|
4505
|
+
comment: 'string',
|
|
4506
|
+
entry: 'string',
|
|
4507
|
+
status: 'string',
|
|
4508
|
+
};
|
|
4509
|
+
}
|
|
4510
|
+
}
|
|
4511
|
+
exports.DescribeGatewayResponseBodyInternetAclPolicyList = DescribeGatewayResponseBodyInternetAclPolicyList;
|
|
4512
|
+
class DescribeGatewayResponseBodyIntranetLinkedVpcList extends $tea.Model {
|
|
4513
|
+
constructor(map) {
|
|
4514
|
+
super(map);
|
|
4515
|
+
}
|
|
4516
|
+
static names() {
|
|
4517
|
+
return {
|
|
4518
|
+
ip: 'Ip',
|
|
4519
|
+
securityGroupId: 'SecurityGroupId',
|
|
4520
|
+
status: 'Status',
|
|
4521
|
+
vSwitchId: 'VSwitchId',
|
|
4522
|
+
vpcId: 'VpcId',
|
|
4523
|
+
};
|
|
4524
|
+
}
|
|
4525
|
+
static types() {
|
|
4526
|
+
return {
|
|
4527
|
+
ip: 'string',
|
|
4528
|
+
securityGroupId: 'string',
|
|
4529
|
+
status: 'string',
|
|
4530
|
+
vSwitchId: 'string',
|
|
4531
|
+
vpcId: 'string',
|
|
4532
|
+
};
|
|
4533
|
+
}
|
|
4534
|
+
}
|
|
4535
|
+
exports.DescribeGatewayResponseBodyIntranetLinkedVpcList = DescribeGatewayResponseBodyIntranetLinkedVpcList;
|
|
3824
4536
|
class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $tea.Model {
|
|
3825
4537
|
constructor(map) {
|
|
3826
4538
|
super(map);
|
|
@@ -3970,43 +4682,107 @@ class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
|
3970
4682
|
}
|
|
3971
4683
|
static types() {
|
|
3972
4684
|
return {
|
|
3973
|
-
availableAgent: 'number',
|
|
3974
|
-
createTime: 'string',
|
|
3975
|
-
message: 'string',
|
|
3976
|
-
region: 'string',
|
|
3977
|
-
serviceName: 'string',
|
|
3978
|
-
status: 'string',
|
|
3979
|
-
taskId: 'string',
|
|
3980
|
-
taskName: 'string',
|
|
3981
|
-
updateTime: 'string',
|
|
4685
|
+
availableAgent: 'number',
|
|
4686
|
+
createTime: 'string',
|
|
4687
|
+
message: 'string',
|
|
4688
|
+
region: 'string',
|
|
4689
|
+
serviceName: 'string',
|
|
4690
|
+
status: 'string',
|
|
4691
|
+
taskId: 'string',
|
|
4692
|
+
taskName: 'string',
|
|
4693
|
+
updateTime: 'string',
|
|
4694
|
+
};
|
|
4695
|
+
}
|
|
4696
|
+
}
|
|
4697
|
+
exports.ListBenchmarkTaskResponseBodyTasks = ListBenchmarkTaskResponseBodyTasks;
|
|
4698
|
+
class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $tea.Model {
|
|
4699
|
+
constructor(map) {
|
|
4700
|
+
super(map);
|
|
4701
|
+
}
|
|
4702
|
+
static names() {
|
|
4703
|
+
return {
|
|
4704
|
+
ip: 'Ip',
|
|
4705
|
+
securityGroupId: 'SecurityGroupId',
|
|
4706
|
+
status: 'Status',
|
|
4707
|
+
vSwitchId: 'VSwitchId',
|
|
4708
|
+
vpcId: 'VpcId',
|
|
4709
|
+
};
|
|
4710
|
+
}
|
|
4711
|
+
static types() {
|
|
4712
|
+
return {
|
|
4713
|
+
ip: 'string',
|
|
4714
|
+
securityGroupId: 'string',
|
|
4715
|
+
status: 'string',
|
|
4716
|
+
vSwitchId: 'string',
|
|
4717
|
+
vpcId: 'string',
|
|
4718
|
+
};
|
|
4719
|
+
}
|
|
4720
|
+
}
|
|
4721
|
+
exports.ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList = ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList;
|
|
4722
|
+
class ListServiceVersionsResponseBodyVersions extends $tea.Model {
|
|
4723
|
+
constructor(map) {
|
|
4724
|
+
super(map);
|
|
4725
|
+
}
|
|
4726
|
+
static names() {
|
|
4727
|
+
return {
|
|
4728
|
+
buildTime: 'BuildTime',
|
|
4729
|
+
imageAvailable: 'ImageAvailable',
|
|
4730
|
+
imageId: 'ImageId',
|
|
4731
|
+
message: 'Message',
|
|
4732
|
+
serviceRunnable: 'ServiceRunnable',
|
|
4733
|
+
};
|
|
4734
|
+
}
|
|
4735
|
+
static types() {
|
|
4736
|
+
return {
|
|
4737
|
+
buildTime: 'string',
|
|
4738
|
+
imageAvailable: 'string',
|
|
4739
|
+
imageId: 'number',
|
|
4740
|
+
message: 'string',
|
|
4741
|
+
serviceRunnable: 'string',
|
|
4742
|
+
};
|
|
4743
|
+
}
|
|
4744
|
+
}
|
|
4745
|
+
exports.ListServiceVersionsResponseBodyVersions = ListServiceVersionsResponseBodyVersions;
|
|
4746
|
+
class UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations extends $tea.Model {
|
|
4747
|
+
constructor(map) {
|
|
4748
|
+
super(map);
|
|
4749
|
+
}
|
|
4750
|
+
static names() {
|
|
4751
|
+
return {
|
|
4752
|
+
effect: 'effect',
|
|
4753
|
+
key: 'key',
|
|
4754
|
+
operator: 'operator',
|
|
4755
|
+
value: 'value',
|
|
4756
|
+
};
|
|
4757
|
+
}
|
|
4758
|
+
static types() {
|
|
4759
|
+
return {
|
|
4760
|
+
effect: 'string',
|
|
4761
|
+
key: 'string',
|
|
4762
|
+
operator: 'string',
|
|
4763
|
+
value: 'string',
|
|
3982
4764
|
};
|
|
3983
4765
|
}
|
|
3984
4766
|
}
|
|
3985
|
-
exports.
|
|
3986
|
-
class
|
|
4767
|
+
exports.UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations = UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations;
|
|
4768
|
+
class UpdateResourceRequestSelfManagedResourceOptions extends $tea.Model {
|
|
3987
4769
|
constructor(map) {
|
|
3988
4770
|
super(map);
|
|
3989
4771
|
}
|
|
3990
4772
|
static names() {
|
|
3991
4773
|
return {
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
imageId: 'ImageId',
|
|
3995
|
-
message: 'Message',
|
|
3996
|
-
serviceRunnable: 'ServiceRunnable',
|
|
4774
|
+
nodeMatchLabels: 'NodeMatchLabels',
|
|
4775
|
+
nodeTolerations: 'NodeTolerations',
|
|
3997
4776
|
};
|
|
3998
4777
|
}
|
|
3999
4778
|
static types() {
|
|
4000
4779
|
return {
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
imageId: 'number',
|
|
4004
|
-
message: 'string',
|
|
4005
|
-
serviceRunnable: 'string',
|
|
4780
|
+
nodeMatchLabels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4781
|
+
nodeTolerations: { 'type': 'array', 'itemType': UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations },
|
|
4006
4782
|
};
|
|
4007
4783
|
}
|
|
4008
4784
|
}
|
|
4009
|
-
exports.
|
|
4785
|
+
exports.UpdateResourceRequestSelfManagedResourceOptions = UpdateResourceRequestSelfManagedResourceOptions;
|
|
4010
4786
|
class UpdateServiceAutoScalerRequestBehaviorOnZero extends $tea.Model {
|
|
4011
4787
|
constructor(map) {
|
|
4012
4788
|
super(map);
|
|
@@ -4172,6 +4948,57 @@ class Client extends openapi_client_1.default {
|
|
|
4172
4948
|
let headers = {};
|
|
4173
4949
|
return await this.commitServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
4174
4950
|
}
|
|
4951
|
+
async createAppServiceWithOptions(request, headers, runtime) {
|
|
4952
|
+
tea_util_1.default.validateModel(request);
|
|
4953
|
+
let query = {};
|
|
4954
|
+
if (!tea_util_1.default.isUnset(request.quotaId)) {
|
|
4955
|
+
query["QuotaId"] = request.quotaId;
|
|
4956
|
+
}
|
|
4957
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
4958
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
4959
|
+
}
|
|
4960
|
+
let body = {};
|
|
4961
|
+
if (!tea_util_1.default.isUnset(request.appType)) {
|
|
4962
|
+
body["AppType"] = request.appType;
|
|
4963
|
+
}
|
|
4964
|
+
if (!tea_util_1.default.isUnset(request.appVersion)) {
|
|
4965
|
+
body["AppVersion"] = request.appVersion;
|
|
4966
|
+
}
|
|
4967
|
+
if (!tea_util_1.default.isUnset(request.config)) {
|
|
4968
|
+
body["Config"] = request.config;
|
|
4969
|
+
}
|
|
4970
|
+
if (!tea_util_1.default.isUnset(request.replicas)) {
|
|
4971
|
+
body["Replicas"] = request.replicas;
|
|
4972
|
+
}
|
|
4973
|
+
if (!tea_util_1.default.isUnset(request.serviceName)) {
|
|
4974
|
+
body["ServiceName"] = request.serviceName;
|
|
4975
|
+
}
|
|
4976
|
+
if (!tea_util_1.default.isUnset(request.serviceSpec)) {
|
|
4977
|
+
body["ServiceSpec"] = request.serviceSpec;
|
|
4978
|
+
}
|
|
4979
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4980
|
+
headers: headers,
|
|
4981
|
+
query: openapi_util_1.default.query(query),
|
|
4982
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4983
|
+
});
|
|
4984
|
+
let params = new $OpenApi.Params({
|
|
4985
|
+
action: "CreateAppService",
|
|
4986
|
+
version: "2021-07-01",
|
|
4987
|
+
protocol: "HTTPS",
|
|
4988
|
+
pathname: `/api/v2/app_services`,
|
|
4989
|
+
method: "POST",
|
|
4990
|
+
authType: "AK",
|
|
4991
|
+
style: "ROA",
|
|
4992
|
+
reqBodyType: "json",
|
|
4993
|
+
bodyType: "json",
|
|
4994
|
+
});
|
|
4995
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateAppServiceResponse({}));
|
|
4996
|
+
}
|
|
4997
|
+
async createAppService(request) {
|
|
4998
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4999
|
+
let headers = {};
|
|
5000
|
+
return await this.createAppServiceWithOptions(request, headers, runtime);
|
|
5001
|
+
}
|
|
4175
5002
|
async createBenchmarkTaskWithOptions(request, headers, runtime) {
|
|
4176
5003
|
tea_util_1.default.validateModel(request);
|
|
4177
5004
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -4196,6 +5023,79 @@ class Client extends openapi_client_1.default {
|
|
|
4196
5023
|
let headers = {};
|
|
4197
5024
|
return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
|
|
4198
5025
|
}
|
|
5026
|
+
async createGatewayWithOptions(request, headers, runtime) {
|
|
5027
|
+
tea_util_1.default.validateModel(request);
|
|
5028
|
+
let query = {};
|
|
5029
|
+
if (!tea_util_1.default.isUnset(request.resourceName)) {
|
|
5030
|
+
query["ResourceName"] = request.resourceName;
|
|
5031
|
+
}
|
|
5032
|
+
let body = {};
|
|
5033
|
+
if (!tea_util_1.default.isUnset(request.enableInternet)) {
|
|
5034
|
+
body["EnableInternet"] = request.enableInternet;
|
|
5035
|
+
}
|
|
5036
|
+
if (!tea_util_1.default.isUnset(request.enableIntranet)) {
|
|
5037
|
+
body["EnableIntranet"] = request.enableIntranet;
|
|
5038
|
+
}
|
|
5039
|
+
if (!tea_util_1.default.isUnset(request.instanceType)) {
|
|
5040
|
+
body["InstanceType"] = request.instanceType;
|
|
5041
|
+
}
|
|
5042
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
5043
|
+
body["Name"] = request.name;
|
|
5044
|
+
}
|
|
5045
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5046
|
+
headers: headers,
|
|
5047
|
+
query: openapi_util_1.default.query(query),
|
|
5048
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
5049
|
+
});
|
|
5050
|
+
let params = new $OpenApi.Params({
|
|
5051
|
+
action: "CreateGateway",
|
|
5052
|
+
version: "2021-07-01",
|
|
5053
|
+
protocol: "HTTPS",
|
|
5054
|
+
pathname: `/api/v2/gateways`,
|
|
5055
|
+
method: "POST",
|
|
5056
|
+
authType: "AK",
|
|
5057
|
+
style: "ROA",
|
|
5058
|
+
reqBodyType: "json",
|
|
5059
|
+
bodyType: "json",
|
|
5060
|
+
});
|
|
5061
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateGatewayResponse({}));
|
|
5062
|
+
}
|
|
5063
|
+
async createGateway(request) {
|
|
5064
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5065
|
+
let headers = {};
|
|
5066
|
+
return await this.createGatewayWithOptions(request, headers, runtime);
|
|
5067
|
+
}
|
|
5068
|
+
async createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime) {
|
|
5069
|
+
tea_util_1.default.validateModel(request);
|
|
5070
|
+
let query = {};
|
|
5071
|
+
if (!tea_util_1.default.isUnset(request.vSwitchId)) {
|
|
5072
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
5073
|
+
}
|
|
5074
|
+
if (!tea_util_1.default.isUnset(request.vpcId)) {
|
|
5075
|
+
query["VpcId"] = request.vpcId;
|
|
5076
|
+
}
|
|
5077
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5078
|
+
headers: headers,
|
|
5079
|
+
query: openapi_util_1.default.query(query),
|
|
5080
|
+
});
|
|
5081
|
+
let params = new $OpenApi.Params({
|
|
5082
|
+
action: "CreateGatewayIntranetLinkedVpc",
|
|
5083
|
+
version: "2021-07-01",
|
|
5084
|
+
protocol: "HTTPS",
|
|
5085
|
+
pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc`,
|
|
5086
|
+
method: "POST",
|
|
5087
|
+
authType: "AK",
|
|
5088
|
+
style: "ROA",
|
|
5089
|
+
reqBodyType: "json",
|
|
5090
|
+
bodyType: "json",
|
|
5091
|
+
});
|
|
5092
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcResponse({}));
|
|
5093
|
+
}
|
|
5094
|
+
async createGatewayIntranetLinkedVpc(ClusterId, GatewayId, request) {
|
|
5095
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5096
|
+
let headers = {};
|
|
5097
|
+
return await this.createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
5098
|
+
}
|
|
4199
5099
|
async createResourceWithOptions(request, headers, runtime) {
|
|
4200
5100
|
tea_util_1.default.validateModel(request);
|
|
4201
5101
|
let body = {};
|
|
@@ -4211,6 +5111,12 @@ class Client extends openapi_client_1.default {
|
|
|
4211
5111
|
if (!tea_util_1.default.isUnset(request.ecsInstanceType)) {
|
|
4212
5112
|
body["EcsInstanceType"] = request.ecsInstanceType;
|
|
4213
5113
|
}
|
|
5114
|
+
if (!tea_util_1.default.isUnset(request.resourceType)) {
|
|
5115
|
+
body["ResourceType"] = request.resourceType;
|
|
5116
|
+
}
|
|
5117
|
+
if (!tea_util_1.default.isUnset(request.selfManagedResourceOptions)) {
|
|
5118
|
+
body["SelfManagedResourceOptions"] = request.selfManagedResourceOptions;
|
|
5119
|
+
}
|
|
4214
5120
|
if (!tea_util_1.default.isUnset(request.systemDiskSize)) {
|
|
4215
5121
|
body["SystemDiskSize"] = request.systemDiskSize;
|
|
4216
5122
|
}
|
|
@@ -4330,6 +5236,9 @@ class Client extends openapi_client_1.default {
|
|
|
4330
5236
|
if (!tea_util_1.default.isUnset(request.labelsShrink)) {
|
|
4331
5237
|
query["Labels"] = request.labelsShrink;
|
|
4332
5238
|
}
|
|
5239
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
5240
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
5241
|
+
}
|
|
4333
5242
|
let req = new $OpenApi.OpenApiRequest({
|
|
4334
5243
|
headers: headers,
|
|
4335
5244
|
query: openapi_util_1.default.query(query),
|
|
@@ -4474,6 +5383,59 @@ class Client extends openapi_client_1.default {
|
|
|
4474
5383
|
let headers = {};
|
|
4475
5384
|
return await this.deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
4476
5385
|
}
|
|
5386
|
+
async deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime) {
|
|
5387
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5388
|
+
headers: headers,
|
|
5389
|
+
});
|
|
5390
|
+
let params = new $OpenApi.Params({
|
|
5391
|
+
action: "DeleteGateway",
|
|
5392
|
+
version: "2021-07-01",
|
|
5393
|
+
protocol: "HTTPS",
|
|
5394
|
+
pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}`,
|
|
5395
|
+
method: "DELETE",
|
|
5396
|
+
authType: "AK",
|
|
5397
|
+
style: "ROA",
|
|
5398
|
+
reqBodyType: "json",
|
|
5399
|
+
bodyType: "json",
|
|
5400
|
+
});
|
|
5401
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGatewayResponse({}));
|
|
5402
|
+
}
|
|
5403
|
+
async deleteGateway(ClusterId, GatewayId) {
|
|
5404
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5405
|
+
let headers = {};
|
|
5406
|
+
return await this.deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
5407
|
+
}
|
|
5408
|
+
async deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime) {
|
|
5409
|
+
tea_util_1.default.validateModel(request);
|
|
5410
|
+
let query = {};
|
|
5411
|
+
if (!tea_util_1.default.isUnset(request.vSwitchId)) {
|
|
5412
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
5413
|
+
}
|
|
5414
|
+
if (!tea_util_1.default.isUnset(request.vpcId)) {
|
|
5415
|
+
query["VpcId"] = request.vpcId;
|
|
5416
|
+
}
|
|
5417
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5418
|
+
headers: headers,
|
|
5419
|
+
query: openapi_util_1.default.query(query),
|
|
5420
|
+
});
|
|
5421
|
+
let params = new $OpenApi.Params({
|
|
5422
|
+
action: "DeleteGatewayIntranetLinkedVpc",
|
|
5423
|
+
version: "2021-07-01",
|
|
5424
|
+
protocol: "HTTPS",
|
|
5425
|
+
pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc`,
|
|
5426
|
+
method: "DELETE",
|
|
5427
|
+
authType: "AK",
|
|
5428
|
+
style: "ROA",
|
|
5429
|
+
reqBodyType: "json",
|
|
5430
|
+
bodyType: "json",
|
|
5431
|
+
});
|
|
5432
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
|
|
5433
|
+
}
|
|
5434
|
+
async deleteGatewayIntranetLinkedVpc(ClusterId, GatewayId, request) {
|
|
5435
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5436
|
+
let headers = {};
|
|
5437
|
+
return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
5438
|
+
}
|
|
4477
5439
|
async deleteResourceWithOptions(ClusterId, ResourceId, headers, runtime) {
|
|
4478
5440
|
let req = new $OpenApi.OpenApiRequest({
|
|
4479
5441
|
headers: headers,
|
|
@@ -4776,6 +5738,28 @@ class Client extends openapi_client_1.default {
|
|
|
4776
5738
|
let headers = {};
|
|
4777
5739
|
return await this.describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
4778
5740
|
}
|
|
5741
|
+
async describeGatewayWithOptions(ClusterId, GatewayId, headers, runtime) {
|
|
5742
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5743
|
+
headers: headers,
|
|
5744
|
+
});
|
|
5745
|
+
let params = new $OpenApi.Params({
|
|
5746
|
+
action: "DescribeGateway",
|
|
5747
|
+
version: "2021-07-01",
|
|
5748
|
+
protocol: "HTTPS",
|
|
5749
|
+
pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}`,
|
|
5750
|
+
method: "GET",
|
|
5751
|
+
authType: "AK",
|
|
5752
|
+
style: "ROA",
|
|
5753
|
+
reqBodyType: "json",
|
|
5754
|
+
bodyType: "json",
|
|
5755
|
+
});
|
|
5756
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGatewayResponse({}));
|
|
5757
|
+
}
|
|
5758
|
+
async describeGateway(ClusterId, GatewayId) {
|
|
5759
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5760
|
+
let headers = {};
|
|
5761
|
+
return await this.describeGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
5762
|
+
}
|
|
4779
5763
|
async describeGroupWithOptions(ClusterId, GroupName, headers, runtime) {
|
|
4780
5764
|
let req = new $OpenApi.OpenApiRequest({
|
|
4781
5765
|
headers: headers,
|
|
@@ -5156,6 +6140,28 @@ class Client extends openapi_client_1.default {
|
|
|
5156
6140
|
let headers = {};
|
|
5157
6141
|
return await this.listBenchmarkTaskWithOptions(request, headers, runtime);
|
|
5158
6142
|
}
|
|
6143
|
+
async listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime) {
|
|
6144
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6145
|
+
headers: headers,
|
|
6146
|
+
});
|
|
6147
|
+
let params = new $OpenApi.Params({
|
|
6148
|
+
action: "ListGatewayIntranetLinkedVpc",
|
|
6149
|
+
version: "2021-07-01",
|
|
6150
|
+
protocol: "HTTPS",
|
|
6151
|
+
pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc`,
|
|
6152
|
+
method: "GET",
|
|
6153
|
+
authType: "AK",
|
|
6154
|
+
style: "ROA",
|
|
6155
|
+
reqBodyType: "json",
|
|
6156
|
+
bodyType: "json",
|
|
6157
|
+
});
|
|
6158
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcResponse({}));
|
|
6159
|
+
}
|
|
6160
|
+
async listGatewayIntranetLinkedVpc(ClusterId, GatewayId) {
|
|
6161
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6162
|
+
let headers = {};
|
|
6163
|
+
return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
6164
|
+
}
|
|
5159
6165
|
async listGroupsWithOptions(request, headers, runtime) {
|
|
5160
6166
|
tea_util_1.default.validateModel(request);
|
|
5161
6167
|
let query = {};
|
|
@@ -5168,6 +6174,9 @@ class Client extends openapi_client_1.default {
|
|
|
5168
6174
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
5169
6175
|
query["PageSize"] = request.pageSize;
|
|
5170
6176
|
}
|
|
6177
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
6178
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
6179
|
+
}
|
|
5171
6180
|
let req = new $OpenApi.OpenApiRequest({
|
|
5172
6181
|
headers: headers,
|
|
5173
6182
|
query: openapi_util_1.default.query(query),
|
|
@@ -5322,6 +6331,9 @@ class Client extends openapi_client_1.default {
|
|
|
5322
6331
|
if (!tea_util_1.default.isUnset(request.resourceName)) {
|
|
5323
6332
|
query["ResourceName"] = request.resourceName;
|
|
5324
6333
|
}
|
|
6334
|
+
if (!tea_util_1.default.isUnset(request.resourceType)) {
|
|
6335
|
+
query["ResourceType"] = request.resourceType;
|
|
6336
|
+
}
|
|
5325
6337
|
let req = new $OpenApi.OpenApiRequest({
|
|
5326
6338
|
headers: headers,
|
|
5327
6339
|
query: openapi_util_1.default.query(query),
|
|
@@ -5508,6 +6520,9 @@ class Client extends openapi_client_1.default {
|
|
|
5508
6520
|
if (!tea_util_1.default.isUnset(request.sort)) {
|
|
5509
6521
|
query["Sort"] = request.sort;
|
|
5510
6522
|
}
|
|
6523
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
6524
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
6525
|
+
}
|
|
5511
6526
|
let req = new $OpenApi.OpenApiRequest({
|
|
5512
6527
|
headers: headers,
|
|
5513
6528
|
query: openapi_util_1.default.query(query),
|
|
@@ -5671,6 +6686,54 @@ class Client extends openapi_client_1.default {
|
|
|
5671
6686
|
let headers = {};
|
|
5672
6687
|
return await this.stopServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
5673
6688
|
}
|
|
6689
|
+
async updateAppServiceWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
6690
|
+
tea_util_1.default.validateModel(request);
|
|
6691
|
+
let query = {};
|
|
6692
|
+
if (!tea_util_1.default.isUnset(request.quotaId)) {
|
|
6693
|
+
query["QuotaId"] = request.quotaId;
|
|
6694
|
+
}
|
|
6695
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
6696
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
6697
|
+
}
|
|
6698
|
+
let body = {};
|
|
6699
|
+
if (!tea_util_1.default.isUnset(request.appType)) {
|
|
6700
|
+
body["AppType"] = request.appType;
|
|
6701
|
+
}
|
|
6702
|
+
if (!tea_util_1.default.isUnset(request.appVersion)) {
|
|
6703
|
+
body["AppVersion"] = request.appVersion;
|
|
6704
|
+
}
|
|
6705
|
+
if (!tea_util_1.default.isUnset(request.config)) {
|
|
6706
|
+
body["Config"] = request.config;
|
|
6707
|
+
}
|
|
6708
|
+
if (!tea_util_1.default.isUnset(request.replicas)) {
|
|
6709
|
+
body["Replicas"] = request.replicas;
|
|
6710
|
+
}
|
|
6711
|
+
if (!tea_util_1.default.isUnset(request.serviceSpec)) {
|
|
6712
|
+
body["ServiceSpec"] = request.serviceSpec;
|
|
6713
|
+
}
|
|
6714
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6715
|
+
headers: headers,
|
|
6716
|
+
query: openapi_util_1.default.query(query),
|
|
6717
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
6718
|
+
});
|
|
6719
|
+
let params = new $OpenApi.Params({
|
|
6720
|
+
action: "UpdateAppService",
|
|
6721
|
+
version: "2021-07-01",
|
|
6722
|
+
protocol: "HTTPS",
|
|
6723
|
+
pathname: `/api/v2/app_services/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(ServiceName)}`,
|
|
6724
|
+
method: "PUT",
|
|
6725
|
+
authType: "AK",
|
|
6726
|
+
style: "ROA",
|
|
6727
|
+
reqBodyType: "json",
|
|
6728
|
+
bodyType: "json",
|
|
6729
|
+
});
|
|
6730
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAppServiceResponse({}));
|
|
6731
|
+
}
|
|
6732
|
+
async updateAppService(ClusterId, ServiceName, request) {
|
|
6733
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6734
|
+
let headers = {};
|
|
6735
|
+
return await this.updateAppServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6736
|
+
}
|
|
5674
6737
|
async updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime) {
|
|
5675
6738
|
tea_util_1.default.validateModel(request);
|
|
5676
6739
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -5695,12 +6758,52 @@ class Client extends openapi_client_1.default {
|
|
|
5695
6758
|
let headers = {};
|
|
5696
6759
|
return await this.updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
5697
6760
|
}
|
|
6761
|
+
async updateGatewayWithOptions(GatewayId, ClusterId, request, headers, runtime) {
|
|
6762
|
+
tea_util_1.default.validateModel(request);
|
|
6763
|
+
let body = {};
|
|
6764
|
+
if (!tea_util_1.default.isUnset(request.enableInternet)) {
|
|
6765
|
+
body["EnableInternet"] = request.enableInternet;
|
|
6766
|
+
}
|
|
6767
|
+
if (!tea_util_1.default.isUnset(request.enableIntranet)) {
|
|
6768
|
+
body["EnableIntranet"] = request.enableIntranet;
|
|
6769
|
+
}
|
|
6770
|
+
if (!tea_util_1.default.isUnset(request.instanceType)) {
|
|
6771
|
+
body["InstanceType"] = request.instanceType;
|
|
6772
|
+
}
|
|
6773
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
6774
|
+
body["Name"] = request.name;
|
|
6775
|
+
}
|
|
6776
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6777
|
+
headers: headers,
|
|
6778
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
6779
|
+
});
|
|
6780
|
+
let params = new $OpenApi.Params({
|
|
6781
|
+
action: "UpdateGateway",
|
|
6782
|
+
version: "2021-07-01",
|
|
6783
|
+
protocol: "HTTPS",
|
|
6784
|
+
pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}`,
|
|
6785
|
+
method: "PUT",
|
|
6786
|
+
authType: "AK",
|
|
6787
|
+
style: "ROA",
|
|
6788
|
+
reqBodyType: "json",
|
|
6789
|
+
bodyType: "json",
|
|
6790
|
+
});
|
|
6791
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateGatewayResponse({}));
|
|
6792
|
+
}
|
|
6793
|
+
async updateGateway(GatewayId, ClusterId, request) {
|
|
6794
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6795
|
+
let headers = {};
|
|
6796
|
+
return await this.updateGatewayWithOptions(GatewayId, ClusterId, request, headers, runtime);
|
|
6797
|
+
}
|
|
5698
6798
|
async updateResourceWithOptions(ClusterId, ResourceId, request, headers, runtime) {
|
|
5699
6799
|
tea_util_1.default.validateModel(request);
|
|
5700
6800
|
let body = {};
|
|
5701
6801
|
if (!tea_util_1.default.isUnset(request.resourceName)) {
|
|
5702
6802
|
body["ResourceName"] = request.resourceName;
|
|
5703
6803
|
}
|
|
6804
|
+
if (!tea_util_1.default.isUnset(request.selfManagedResourceOptions)) {
|
|
6805
|
+
body["SelfManagedResourceOptions"] = request.selfManagedResourceOptions;
|
|
6806
|
+
}
|
|
5704
6807
|
let req = new $OpenApi.OpenApiRequest({
|
|
5705
6808
|
headers: headers,
|
|
5706
6809
|
body: openapi_util_1.default.parseToMap(body),
|
|
@@ -5880,6 +6983,34 @@ class Client extends openapi_client_1.default {
|
|
|
5880
6983
|
let headers = {};
|
|
5881
6984
|
return await this.updateServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
5882
6985
|
}
|
|
6986
|
+
async updateServiceInstanceWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime) {
|
|
6987
|
+
tea_util_1.default.validateModel(request);
|
|
6988
|
+
let body = {};
|
|
6989
|
+
if (!tea_util_1.default.isUnset(request.isolate)) {
|
|
6990
|
+
body["Isolate"] = request.isolate;
|
|
6991
|
+
}
|
|
6992
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6993
|
+
headers: headers,
|
|
6994
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
6995
|
+
});
|
|
6996
|
+
let params = new $OpenApi.Params({
|
|
6997
|
+
action: "UpdateServiceInstance",
|
|
6998
|
+
version: "2021-07-01",
|
|
6999
|
+
protocol: "HTTPS",
|
|
7000
|
+
pathname: `/api/v2/services/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(ServiceName)}/instances/${openapi_util_1.default.getEncodeParam(InstanceName)}`,
|
|
7001
|
+
method: "PUT",
|
|
7002
|
+
authType: "AK",
|
|
7003
|
+
style: "ROA",
|
|
7004
|
+
reqBodyType: "json",
|
|
7005
|
+
bodyType: "json",
|
|
7006
|
+
});
|
|
7007
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceInstanceResponse({}));
|
|
7008
|
+
}
|
|
7009
|
+
async updateServiceInstance(ClusterId, ServiceName, InstanceName, request) {
|
|
7010
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7011
|
+
let headers = {};
|
|
7012
|
+
return await this.updateServiceInstanceWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime);
|
|
7013
|
+
}
|
|
5883
7014
|
async updateServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime) {
|
|
5884
7015
|
tea_util_1.default.validateModel(request);
|
|
5885
7016
|
let body = {};
|