@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/src/client.ts
CHANGED
|
@@ -105,6 +105,7 @@ export class Instance extends $tea.Model {
|
|
|
105
105
|
instanceName?: string;
|
|
106
106
|
instancePort?: number;
|
|
107
107
|
isSpot?: boolean;
|
|
108
|
+
isolated?: boolean;
|
|
108
109
|
lastState?: { [key: string]: any }[];
|
|
109
110
|
namespace?: string;
|
|
110
111
|
originalAmount?: number;
|
|
@@ -127,6 +128,7 @@ export class Instance extends $tea.Model {
|
|
|
127
128
|
instanceName: 'InstanceName',
|
|
128
129
|
instancePort: 'InstancePort',
|
|
129
130
|
isSpot: 'IsSpot',
|
|
131
|
+
isolated: 'Isolated',
|
|
130
132
|
lastState: 'LastState',
|
|
131
133
|
namespace: 'Namespace',
|
|
132
134
|
originalAmount: 'OriginalAmount',
|
|
@@ -152,6 +154,7 @@ export class Instance extends $tea.Model {
|
|
|
152
154
|
instanceName: 'string',
|
|
153
155
|
instancePort: 'number',
|
|
154
156
|
isSpot: 'boolean',
|
|
157
|
+
isolated: 'boolean',
|
|
155
158
|
lastState: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
156
159
|
namespace: 'string',
|
|
157
160
|
originalAmount: 'number',
|
|
@@ -185,6 +188,7 @@ export class Resource extends $tea.Model {
|
|
|
185
188
|
prePaidInstanceCount?: number;
|
|
186
189
|
resourceId?: string;
|
|
187
190
|
resourceName?: string;
|
|
191
|
+
resourceType?: string;
|
|
188
192
|
status?: string;
|
|
189
193
|
updateTime?: string;
|
|
190
194
|
static names(): { [key: string]: string } {
|
|
@@ -200,6 +204,7 @@ export class Resource extends $tea.Model {
|
|
|
200
204
|
prePaidInstanceCount: 'PrePaidInstanceCount',
|
|
201
205
|
resourceId: 'ResourceId',
|
|
202
206
|
resourceName: 'ResourceName',
|
|
207
|
+
resourceType: 'ResourceType',
|
|
203
208
|
status: 'Status',
|
|
204
209
|
updateTime: 'UpdateTime',
|
|
205
210
|
};
|
|
@@ -218,6 +223,7 @@ export class Resource extends $tea.Model {
|
|
|
218
223
|
prePaidInstanceCount: 'number',
|
|
219
224
|
resourceId: 'string',
|
|
220
225
|
resourceName: 'string',
|
|
226
|
+
resourceType: 'string',
|
|
221
227
|
status: 'string',
|
|
222
228
|
updateTime: 'string',
|
|
223
229
|
};
|
|
@@ -367,6 +373,10 @@ export class ResourceInstanceWorker extends $tea.Model {
|
|
|
367
373
|
|
|
368
374
|
export class Service extends $tea.Model {
|
|
369
375
|
accessToken?: string;
|
|
376
|
+
appConfig?: string;
|
|
377
|
+
appSpecName?: string;
|
|
378
|
+
appType?: string;
|
|
379
|
+
appVersion?: string;
|
|
370
380
|
callerUid?: string;
|
|
371
381
|
cpu?: number;
|
|
372
382
|
createTime?: string;
|
|
@@ -404,9 +414,14 @@ export class Service extends $tea.Model {
|
|
|
404
414
|
totalInstance?: number;
|
|
405
415
|
updateTime?: string;
|
|
406
416
|
weight?: number;
|
|
417
|
+
workspaceId?: string;
|
|
407
418
|
static names(): { [key: string]: string } {
|
|
408
419
|
return {
|
|
409
420
|
accessToken: 'AccessToken',
|
|
421
|
+
appConfig: 'AppConfig',
|
|
422
|
+
appSpecName: 'AppSpecName',
|
|
423
|
+
appType: 'AppType',
|
|
424
|
+
appVersion: 'AppVersion',
|
|
410
425
|
callerUid: 'CallerUid',
|
|
411
426
|
cpu: 'Cpu',
|
|
412
427
|
createTime: 'CreateTime',
|
|
@@ -444,12 +459,17 @@ export class Service extends $tea.Model {
|
|
|
444
459
|
totalInstance: 'TotalInstance',
|
|
445
460
|
updateTime: 'UpdateTime',
|
|
446
461
|
weight: 'Weight',
|
|
462
|
+
workspaceId: 'WorkspaceId',
|
|
447
463
|
};
|
|
448
464
|
}
|
|
449
465
|
|
|
450
466
|
static types(): { [key: string]: any } {
|
|
451
467
|
return {
|
|
452
468
|
accessToken: 'string',
|
|
469
|
+
appConfig: 'string',
|
|
470
|
+
appSpecName: 'string',
|
|
471
|
+
appType: 'string',
|
|
472
|
+
appVersion: 'string',
|
|
453
473
|
callerUid: 'string',
|
|
454
474
|
cpu: 'number',
|
|
455
475
|
createTime: 'string',
|
|
@@ -487,6 +507,7 @@ export class Service extends $tea.Model {
|
|
|
487
507
|
totalInstance: 'number',
|
|
488
508
|
updateTime: 'string',
|
|
489
509
|
weight: 'number',
|
|
510
|
+
workspaceId: 'string',
|
|
490
511
|
};
|
|
491
512
|
}
|
|
492
513
|
|
|
@@ -542,6 +563,108 @@ export class CommitServiceResponse extends $tea.Model {
|
|
|
542
563
|
}
|
|
543
564
|
}
|
|
544
565
|
|
|
566
|
+
export class CreateAppServiceRequest extends $tea.Model {
|
|
567
|
+
quotaId?: string;
|
|
568
|
+
workspaceId?: string;
|
|
569
|
+
appType?: string;
|
|
570
|
+
appVersion?: string;
|
|
571
|
+
config?: { [key: string]: any };
|
|
572
|
+
replicas?: number;
|
|
573
|
+
serviceName?: string;
|
|
574
|
+
serviceSpec?: string;
|
|
575
|
+
static names(): { [key: string]: string } {
|
|
576
|
+
return {
|
|
577
|
+
quotaId: 'QuotaId',
|
|
578
|
+
workspaceId: 'WorkspaceId',
|
|
579
|
+
appType: 'AppType',
|
|
580
|
+
appVersion: 'AppVersion',
|
|
581
|
+
config: 'Config',
|
|
582
|
+
replicas: 'Replicas',
|
|
583
|
+
serviceName: 'ServiceName',
|
|
584
|
+
serviceSpec: 'ServiceSpec',
|
|
585
|
+
};
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
static types(): { [key: string]: any } {
|
|
589
|
+
return {
|
|
590
|
+
quotaId: 'string',
|
|
591
|
+
workspaceId: 'string',
|
|
592
|
+
appType: 'string',
|
|
593
|
+
appVersion: 'string',
|
|
594
|
+
config: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
595
|
+
replicas: 'number',
|
|
596
|
+
serviceName: 'string',
|
|
597
|
+
serviceSpec: 'string',
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
constructor(map?: { [key: string]: any }) {
|
|
602
|
+
super(map);
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export class CreateAppServiceResponseBody extends $tea.Model {
|
|
607
|
+
internetEndpoint?: string;
|
|
608
|
+
intranetEndpoint?: string;
|
|
609
|
+
region?: string;
|
|
610
|
+
requestId?: string;
|
|
611
|
+
serviceId?: string;
|
|
612
|
+
serviceName?: string;
|
|
613
|
+
status?: string;
|
|
614
|
+
static names(): { [key: string]: string } {
|
|
615
|
+
return {
|
|
616
|
+
internetEndpoint: 'InternetEndpoint',
|
|
617
|
+
intranetEndpoint: 'IntranetEndpoint',
|
|
618
|
+
region: 'Region',
|
|
619
|
+
requestId: 'RequestId',
|
|
620
|
+
serviceId: 'ServiceId',
|
|
621
|
+
serviceName: 'ServiceName',
|
|
622
|
+
status: 'Status',
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
static types(): { [key: string]: any } {
|
|
627
|
+
return {
|
|
628
|
+
internetEndpoint: 'string',
|
|
629
|
+
intranetEndpoint: 'string',
|
|
630
|
+
region: 'string',
|
|
631
|
+
requestId: 'string',
|
|
632
|
+
serviceId: 'string',
|
|
633
|
+
serviceName: 'string',
|
|
634
|
+
status: 'string',
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
constructor(map?: { [key: string]: any }) {
|
|
639
|
+
super(map);
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
export class CreateAppServiceResponse extends $tea.Model {
|
|
644
|
+
headers: { [key: string]: string };
|
|
645
|
+
statusCode: number;
|
|
646
|
+
body: CreateAppServiceResponseBody;
|
|
647
|
+
static names(): { [key: string]: string } {
|
|
648
|
+
return {
|
|
649
|
+
headers: 'headers',
|
|
650
|
+
statusCode: 'statusCode',
|
|
651
|
+
body: 'body',
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
static types(): { [key: string]: any } {
|
|
656
|
+
return {
|
|
657
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
658
|
+
statusCode: 'number',
|
|
659
|
+
body: CreateAppServiceResponseBody,
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
constructor(map?: { [key: string]: any }) {
|
|
664
|
+
super(map);
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
|
|
545
668
|
export class CreateBenchmarkTaskRequest extends $tea.Model {
|
|
546
669
|
body?: string;
|
|
547
670
|
static names(): { [key: string]: string } {
|
|
@@ -614,11 +737,169 @@ export class CreateBenchmarkTaskResponse extends $tea.Model {
|
|
|
614
737
|
}
|
|
615
738
|
}
|
|
616
739
|
|
|
740
|
+
export class CreateGatewayRequest extends $tea.Model {
|
|
741
|
+
resourceName?: string;
|
|
742
|
+
enableInternet?: boolean;
|
|
743
|
+
enableIntranet?: boolean;
|
|
744
|
+
instanceType?: string;
|
|
745
|
+
name?: string;
|
|
746
|
+
static names(): { [key: string]: string } {
|
|
747
|
+
return {
|
|
748
|
+
resourceName: 'ResourceName',
|
|
749
|
+
enableInternet: 'EnableInternet',
|
|
750
|
+
enableIntranet: 'EnableIntranet',
|
|
751
|
+
instanceType: 'InstanceType',
|
|
752
|
+
name: 'Name',
|
|
753
|
+
};
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
static types(): { [key: string]: any } {
|
|
757
|
+
return {
|
|
758
|
+
resourceName: 'string',
|
|
759
|
+
enableInternet: 'boolean',
|
|
760
|
+
enableIntranet: 'boolean',
|
|
761
|
+
instanceType: 'string',
|
|
762
|
+
name: 'string',
|
|
763
|
+
};
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
constructor(map?: { [key: string]: any }) {
|
|
767
|
+
super(map);
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
export class CreateGatewayResponseBody extends $tea.Model {
|
|
772
|
+
clusterId?: string;
|
|
773
|
+
gatewayId?: string;
|
|
774
|
+
message?: string;
|
|
775
|
+
requestId?: string;
|
|
776
|
+
static names(): { [key: string]: string } {
|
|
777
|
+
return {
|
|
778
|
+
clusterId: 'ClusterId',
|
|
779
|
+
gatewayId: 'GatewayId',
|
|
780
|
+
message: 'Message',
|
|
781
|
+
requestId: 'RequestId',
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
static types(): { [key: string]: any } {
|
|
786
|
+
return {
|
|
787
|
+
clusterId: 'string',
|
|
788
|
+
gatewayId: 'string',
|
|
789
|
+
message: 'string',
|
|
790
|
+
requestId: 'string',
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
constructor(map?: { [key: string]: any }) {
|
|
795
|
+
super(map);
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export class CreateGatewayResponse extends $tea.Model {
|
|
800
|
+
headers: { [key: string]: string };
|
|
801
|
+
statusCode: number;
|
|
802
|
+
body: CreateGatewayResponseBody;
|
|
803
|
+
static names(): { [key: string]: string } {
|
|
804
|
+
return {
|
|
805
|
+
headers: 'headers',
|
|
806
|
+
statusCode: 'statusCode',
|
|
807
|
+
body: 'body',
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
static types(): { [key: string]: any } {
|
|
812
|
+
return {
|
|
813
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
814
|
+
statusCode: 'number',
|
|
815
|
+
body: CreateGatewayResponseBody,
|
|
816
|
+
};
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
constructor(map?: { [key: string]: any }) {
|
|
820
|
+
super(map);
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
export class CreateGatewayIntranetLinkedVpcRequest extends $tea.Model {
|
|
825
|
+
vSwitchId?: string;
|
|
826
|
+
vpcId?: string;
|
|
827
|
+
static names(): { [key: string]: string } {
|
|
828
|
+
return {
|
|
829
|
+
vSwitchId: 'VSwitchId',
|
|
830
|
+
vpcId: 'VpcId',
|
|
831
|
+
};
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
static types(): { [key: string]: any } {
|
|
835
|
+
return {
|
|
836
|
+
vSwitchId: 'string',
|
|
837
|
+
vpcId: 'string',
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
constructor(map?: { [key: string]: any }) {
|
|
842
|
+
super(map);
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
export class CreateGatewayIntranetLinkedVpcResponseBody extends $tea.Model {
|
|
847
|
+
gatewayId?: string;
|
|
848
|
+
message?: string;
|
|
849
|
+
requestId?: string;
|
|
850
|
+
static names(): { [key: string]: string } {
|
|
851
|
+
return {
|
|
852
|
+
gatewayId: 'GatewayId',
|
|
853
|
+
message: 'Message',
|
|
854
|
+
requestId: 'RequestId',
|
|
855
|
+
};
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
static types(): { [key: string]: any } {
|
|
859
|
+
return {
|
|
860
|
+
gatewayId: 'string',
|
|
861
|
+
message: 'string',
|
|
862
|
+
requestId: 'string',
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
constructor(map?: { [key: string]: any }) {
|
|
867
|
+
super(map);
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export class CreateGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
872
|
+
headers: { [key: string]: string };
|
|
873
|
+
statusCode: number;
|
|
874
|
+
body: CreateGatewayIntranetLinkedVpcResponseBody;
|
|
875
|
+
static names(): { [key: string]: string } {
|
|
876
|
+
return {
|
|
877
|
+
headers: 'headers',
|
|
878
|
+
statusCode: 'statusCode',
|
|
879
|
+
body: 'body',
|
|
880
|
+
};
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
static types(): { [key: string]: any } {
|
|
884
|
+
return {
|
|
885
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
886
|
+
statusCode: 'number',
|
|
887
|
+
body: CreateGatewayIntranetLinkedVpcResponseBody,
|
|
888
|
+
};
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
constructor(map?: { [key: string]: any }) {
|
|
892
|
+
super(map);
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
|
|
617
896
|
export class CreateResourceRequest extends $tea.Model {
|
|
618
897
|
autoRenewal?: boolean;
|
|
619
898
|
chargeType?: string;
|
|
620
899
|
ecsInstanceCount?: number;
|
|
621
900
|
ecsInstanceType?: string;
|
|
901
|
+
resourceType?: string;
|
|
902
|
+
selfManagedResourceOptions?: CreateResourceRequestSelfManagedResourceOptions;
|
|
622
903
|
systemDiskSize?: number;
|
|
623
904
|
zone?: string;
|
|
624
905
|
static names(): { [key: string]: string } {
|
|
@@ -627,6 +908,8 @@ export class CreateResourceRequest extends $tea.Model {
|
|
|
627
908
|
chargeType: 'ChargeType',
|
|
628
909
|
ecsInstanceCount: 'EcsInstanceCount',
|
|
629
910
|
ecsInstanceType: 'EcsInstanceType',
|
|
911
|
+
resourceType: 'ResourceType',
|
|
912
|
+
selfManagedResourceOptions: 'SelfManagedResourceOptions',
|
|
630
913
|
systemDiskSize: 'SystemDiskSize',
|
|
631
914
|
zone: 'Zone',
|
|
632
915
|
};
|
|
@@ -638,6 +921,8 @@ export class CreateResourceRequest extends $tea.Model {
|
|
|
638
921
|
chargeType: 'string',
|
|
639
922
|
ecsInstanceCount: 'number',
|
|
640
923
|
ecsInstanceType: 'string',
|
|
924
|
+
resourceType: 'string',
|
|
925
|
+
selfManagedResourceOptions: CreateResourceRequestSelfManagedResourceOptions,
|
|
641
926
|
systemDiskSize: 'number',
|
|
642
927
|
zone: 'string',
|
|
643
928
|
};
|
|
@@ -866,11 +1151,13 @@ export class CreateResourceLogResponse extends $tea.Model {
|
|
|
866
1151
|
export class CreateServiceRequest extends $tea.Model {
|
|
867
1152
|
develop?: string;
|
|
868
1153
|
labels?: { [key: string]: string };
|
|
1154
|
+
workspaceId?: string;
|
|
869
1155
|
body?: string;
|
|
870
1156
|
static names(): { [key: string]: string } {
|
|
871
1157
|
return {
|
|
872
1158
|
develop: 'Develop',
|
|
873
1159
|
labels: 'Labels',
|
|
1160
|
+
workspaceId: 'WorkspaceId',
|
|
874
1161
|
body: 'body',
|
|
875
1162
|
};
|
|
876
1163
|
}
|
|
@@ -879,6 +1166,7 @@ export class CreateServiceRequest extends $tea.Model {
|
|
|
879
1166
|
return {
|
|
880
1167
|
develop: 'string',
|
|
881
1168
|
labels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1169
|
+
workspaceId: 'string',
|
|
882
1170
|
body: 'string',
|
|
883
1171
|
};
|
|
884
1172
|
}
|
|
@@ -891,11 +1179,13 @@ export class CreateServiceRequest extends $tea.Model {
|
|
|
891
1179
|
export class CreateServiceShrinkRequest extends $tea.Model {
|
|
892
1180
|
develop?: string;
|
|
893
1181
|
labelsShrink?: string;
|
|
1182
|
+
workspaceId?: string;
|
|
894
1183
|
body?: string;
|
|
895
1184
|
static names(): { [key: string]: string } {
|
|
896
1185
|
return {
|
|
897
1186
|
develop: 'Develop',
|
|
898
1187
|
labelsShrink: 'Labels',
|
|
1188
|
+
workspaceId: 'WorkspaceId',
|
|
899
1189
|
body: 'body',
|
|
900
1190
|
};
|
|
901
1191
|
}
|
|
@@ -904,6 +1194,7 @@ export class CreateServiceShrinkRequest extends $tea.Model {
|
|
|
904
1194
|
return {
|
|
905
1195
|
develop: 'string',
|
|
906
1196
|
labelsShrink: 'string',
|
|
1197
|
+
workspaceId: 'string',
|
|
907
1198
|
body: 'string',
|
|
908
1199
|
};
|
|
909
1200
|
}
|
|
@@ -1235,11 +1526,13 @@ export class DeleteBenchmarkTaskResponse extends $tea.Model {
|
|
|
1235
1526
|
}
|
|
1236
1527
|
}
|
|
1237
1528
|
|
|
1238
|
-
export class
|
|
1529
|
+
export class DeleteGatewayResponseBody extends $tea.Model {
|
|
1530
|
+
gatewayId?: string;
|
|
1239
1531
|
message?: string;
|
|
1240
1532
|
requestId?: string;
|
|
1241
1533
|
static names(): { [key: string]: string } {
|
|
1242
1534
|
return {
|
|
1535
|
+
gatewayId: 'GatewayId',
|
|
1243
1536
|
message: 'Message',
|
|
1244
1537
|
requestId: 'RequestId',
|
|
1245
1538
|
};
|
|
@@ -1247,6 +1540,7 @@ export class DeleteResourceResponseBody extends $tea.Model {
|
|
|
1247
1540
|
|
|
1248
1541
|
static types(): { [key: string]: any } {
|
|
1249
1542
|
return {
|
|
1543
|
+
gatewayId: 'string',
|
|
1250
1544
|
message: 'string',
|
|
1251
1545
|
requestId: 'string',
|
|
1252
1546
|
};
|
|
@@ -1257,10 +1551,10 @@ export class DeleteResourceResponseBody extends $tea.Model {
|
|
|
1257
1551
|
}
|
|
1258
1552
|
}
|
|
1259
1553
|
|
|
1260
|
-
export class
|
|
1554
|
+
export class DeleteGatewayResponse extends $tea.Model {
|
|
1261
1555
|
headers: { [key: string]: string };
|
|
1262
1556
|
statusCode: number;
|
|
1263
|
-
body:
|
|
1557
|
+
body: DeleteGatewayResponseBody;
|
|
1264
1558
|
static names(): { [key: string]: string } {
|
|
1265
1559
|
return {
|
|
1266
1560
|
headers: 'headers',
|
|
@@ -1273,7 +1567,7 @@ export class DeleteResourceResponse extends $tea.Model {
|
|
|
1273
1567
|
return {
|
|
1274
1568
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1275
1569
|
statusCode: 'number',
|
|
1276
|
-
body:
|
|
1570
|
+
body: DeleteGatewayResponseBody,
|
|
1277
1571
|
};
|
|
1278
1572
|
}
|
|
1279
1573
|
|
|
@@ -1282,11 +1576,35 @@ export class DeleteResourceResponse extends $tea.Model {
|
|
|
1282
1576
|
}
|
|
1283
1577
|
}
|
|
1284
1578
|
|
|
1285
|
-
export class
|
|
1579
|
+
export class DeleteGatewayIntranetLinkedVpcRequest extends $tea.Model {
|
|
1580
|
+
vSwitchId?: string;
|
|
1581
|
+
vpcId?: string;
|
|
1582
|
+
static names(): { [key: string]: string } {
|
|
1583
|
+
return {
|
|
1584
|
+
vSwitchId: 'VSwitchId',
|
|
1585
|
+
vpcId: 'VpcId',
|
|
1586
|
+
};
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
static types(): { [key: string]: any } {
|
|
1590
|
+
return {
|
|
1591
|
+
vSwitchId: 'string',
|
|
1592
|
+
vpcId: 'string',
|
|
1593
|
+
};
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
constructor(map?: { [key: string]: any }) {
|
|
1597
|
+
super(map);
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
export class DeleteGatewayIntranetLinkedVpcResponseBody extends $tea.Model {
|
|
1602
|
+
gatewayId?: string;
|
|
1286
1603
|
message?: string;
|
|
1287
1604
|
requestId?: string;
|
|
1288
1605
|
static names(): { [key: string]: string } {
|
|
1289
1606
|
return {
|
|
1607
|
+
gatewayId: 'GatewayId',
|
|
1290
1608
|
message: 'Message',
|
|
1291
1609
|
requestId: 'RequestId',
|
|
1292
1610
|
};
|
|
@@ -1294,6 +1612,7 @@ export class DeleteResourceDLinkResponseBody extends $tea.Model {
|
|
|
1294
1612
|
|
|
1295
1613
|
static types(): { [key: string]: any } {
|
|
1296
1614
|
return {
|
|
1615
|
+
gatewayId: 'string',
|
|
1297
1616
|
message: 'string',
|
|
1298
1617
|
requestId: 'string',
|
|
1299
1618
|
};
|
|
@@ -1304,10 +1623,10 @@ export class DeleteResourceDLinkResponseBody extends $tea.Model {
|
|
|
1304
1623
|
}
|
|
1305
1624
|
}
|
|
1306
1625
|
|
|
1307
|
-
export class
|
|
1626
|
+
export class DeleteGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
1308
1627
|
headers: { [key: string]: string };
|
|
1309
1628
|
statusCode: number;
|
|
1310
|
-
body:
|
|
1629
|
+
body: DeleteGatewayIntranetLinkedVpcResponseBody;
|
|
1311
1630
|
static names(): { [key: string]: string } {
|
|
1312
1631
|
return {
|
|
1313
1632
|
headers: 'headers',
|
|
@@ -1320,7 +1639,7 @@ export class DeleteResourceDLinkResponse extends $tea.Model {
|
|
|
1320
1639
|
return {
|
|
1321
1640
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1322
1641
|
statusCode: 'number',
|
|
1323
|
-
body:
|
|
1642
|
+
body: DeleteGatewayIntranetLinkedVpcResponseBody,
|
|
1324
1643
|
};
|
|
1325
1644
|
}
|
|
1326
1645
|
|
|
@@ -1329,19 +1648,113 @@ export class DeleteResourceDLinkResponse extends $tea.Model {
|
|
|
1329
1648
|
}
|
|
1330
1649
|
}
|
|
1331
1650
|
|
|
1332
|
-
export class
|
|
1333
|
-
|
|
1334
|
-
|
|
1651
|
+
export class DeleteResourceResponseBody extends $tea.Model {
|
|
1652
|
+
message?: string;
|
|
1653
|
+
requestId?: string;
|
|
1335
1654
|
static names(): { [key: string]: string } {
|
|
1336
1655
|
return {
|
|
1337
|
-
|
|
1338
|
-
|
|
1656
|
+
message: 'Message',
|
|
1657
|
+
requestId: 'RequestId',
|
|
1339
1658
|
};
|
|
1340
1659
|
}
|
|
1341
1660
|
|
|
1342
1661
|
static types(): { [key: string]: any } {
|
|
1343
1662
|
return {
|
|
1344
|
-
|
|
1663
|
+
message: 'string',
|
|
1664
|
+
requestId: 'string',
|
|
1665
|
+
};
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
constructor(map?: { [key: string]: any }) {
|
|
1669
|
+
super(map);
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
export class DeleteResourceResponse extends $tea.Model {
|
|
1674
|
+
headers: { [key: string]: string };
|
|
1675
|
+
statusCode: number;
|
|
1676
|
+
body: DeleteResourceResponseBody;
|
|
1677
|
+
static names(): { [key: string]: string } {
|
|
1678
|
+
return {
|
|
1679
|
+
headers: 'headers',
|
|
1680
|
+
statusCode: 'statusCode',
|
|
1681
|
+
body: 'body',
|
|
1682
|
+
};
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
static types(): { [key: string]: any } {
|
|
1686
|
+
return {
|
|
1687
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1688
|
+
statusCode: 'number',
|
|
1689
|
+
body: DeleteResourceResponseBody,
|
|
1690
|
+
};
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
constructor(map?: { [key: string]: any }) {
|
|
1694
|
+
super(map);
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
export class DeleteResourceDLinkResponseBody extends $tea.Model {
|
|
1699
|
+
message?: string;
|
|
1700
|
+
requestId?: string;
|
|
1701
|
+
static names(): { [key: string]: string } {
|
|
1702
|
+
return {
|
|
1703
|
+
message: 'Message',
|
|
1704
|
+
requestId: 'RequestId',
|
|
1705
|
+
};
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
static types(): { [key: string]: any } {
|
|
1709
|
+
return {
|
|
1710
|
+
message: 'string',
|
|
1711
|
+
requestId: 'string',
|
|
1712
|
+
};
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
constructor(map?: { [key: string]: any }) {
|
|
1716
|
+
super(map);
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
export class DeleteResourceDLinkResponse extends $tea.Model {
|
|
1721
|
+
headers: { [key: string]: string };
|
|
1722
|
+
statusCode: number;
|
|
1723
|
+
body: DeleteResourceDLinkResponseBody;
|
|
1724
|
+
static names(): { [key: string]: string } {
|
|
1725
|
+
return {
|
|
1726
|
+
headers: 'headers',
|
|
1727
|
+
statusCode: 'statusCode',
|
|
1728
|
+
body: 'body',
|
|
1729
|
+
};
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
static types(): { [key: string]: any } {
|
|
1733
|
+
return {
|
|
1734
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1735
|
+
statusCode: 'number',
|
|
1736
|
+
body: DeleteResourceDLinkResponseBody,
|
|
1737
|
+
};
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
constructor(map?: { [key: string]: any }) {
|
|
1741
|
+
super(map);
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
export class DeleteResourceInstancesRequest extends $tea.Model {
|
|
1746
|
+
allFailed?: boolean;
|
|
1747
|
+
instanceList?: string;
|
|
1748
|
+
static names(): { [key: string]: string } {
|
|
1749
|
+
return {
|
|
1750
|
+
allFailed: 'AllFailed',
|
|
1751
|
+
instanceList: 'InstanceList',
|
|
1752
|
+
};
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
static types(): { [key: string]: any } {
|
|
1756
|
+
return {
|
|
1757
|
+
allFailed: 'boolean',
|
|
1345
1758
|
instanceList: 'string',
|
|
1346
1759
|
};
|
|
1347
1760
|
}
|
|
@@ -1939,6 +2352,98 @@ export class DescribeBenchmarkTaskReportResponse extends $tea.Model {
|
|
|
1939
2352
|
}
|
|
1940
2353
|
}
|
|
1941
2354
|
|
|
2355
|
+
export class DescribeGatewayResponseBody extends $tea.Model {
|
|
2356
|
+
callerUid?: string;
|
|
2357
|
+
createTime?: string;
|
|
2358
|
+
externalClusterId?: string;
|
|
2359
|
+
gatewayId?: string;
|
|
2360
|
+
gatewayName?: string;
|
|
2361
|
+
instanceType?: string;
|
|
2362
|
+
internetAclPolicyList?: DescribeGatewayResponseBodyInternetAclPolicyList[];
|
|
2363
|
+
internetDomain?: string;
|
|
2364
|
+
internetEnabled?: boolean;
|
|
2365
|
+
intranetDomain?: string;
|
|
2366
|
+
intranetEnabled?: boolean;
|
|
2367
|
+
intranetLinkedVpcList?: DescribeGatewayResponseBodyIntranetLinkedVpcList[];
|
|
2368
|
+
parentUid?: string;
|
|
2369
|
+
region?: string;
|
|
2370
|
+
requestId?: string;
|
|
2371
|
+
status?: string;
|
|
2372
|
+
updateTime?: string;
|
|
2373
|
+
static names(): { [key: string]: string } {
|
|
2374
|
+
return {
|
|
2375
|
+
callerUid: 'CallerUid',
|
|
2376
|
+
createTime: 'CreateTime',
|
|
2377
|
+
externalClusterId: 'ExternalClusterId',
|
|
2378
|
+
gatewayId: 'GatewayId',
|
|
2379
|
+
gatewayName: 'GatewayName',
|
|
2380
|
+
instanceType: 'InstanceType',
|
|
2381
|
+
internetAclPolicyList: 'InternetAclPolicyList',
|
|
2382
|
+
internetDomain: 'InternetDomain',
|
|
2383
|
+
internetEnabled: 'InternetEnabled',
|
|
2384
|
+
intranetDomain: 'IntranetDomain',
|
|
2385
|
+
intranetEnabled: 'IntranetEnabled',
|
|
2386
|
+
intranetLinkedVpcList: 'IntranetLinkedVpcList',
|
|
2387
|
+
parentUid: 'ParentUid',
|
|
2388
|
+
region: 'Region',
|
|
2389
|
+
requestId: 'RequestId',
|
|
2390
|
+
status: 'Status',
|
|
2391
|
+
updateTime: 'UpdateTime',
|
|
2392
|
+
};
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
static types(): { [key: string]: any } {
|
|
2396
|
+
return {
|
|
2397
|
+
callerUid: 'string',
|
|
2398
|
+
createTime: 'string',
|
|
2399
|
+
externalClusterId: 'string',
|
|
2400
|
+
gatewayId: 'string',
|
|
2401
|
+
gatewayName: 'string',
|
|
2402
|
+
instanceType: 'string',
|
|
2403
|
+
internetAclPolicyList: { 'type': 'array', 'itemType': DescribeGatewayResponseBodyInternetAclPolicyList },
|
|
2404
|
+
internetDomain: 'string',
|
|
2405
|
+
internetEnabled: 'boolean',
|
|
2406
|
+
intranetDomain: 'string',
|
|
2407
|
+
intranetEnabled: 'boolean',
|
|
2408
|
+
intranetLinkedVpcList: { 'type': 'array', 'itemType': DescribeGatewayResponseBodyIntranetLinkedVpcList },
|
|
2409
|
+
parentUid: 'string',
|
|
2410
|
+
region: 'string',
|
|
2411
|
+
requestId: 'string',
|
|
2412
|
+
status: 'string',
|
|
2413
|
+
updateTime: 'string',
|
|
2414
|
+
};
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
constructor(map?: { [key: string]: any }) {
|
|
2418
|
+
super(map);
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
export class DescribeGatewayResponse extends $tea.Model {
|
|
2423
|
+
headers: { [key: string]: string };
|
|
2424
|
+
statusCode: number;
|
|
2425
|
+
body: DescribeGatewayResponseBody;
|
|
2426
|
+
static names(): { [key: string]: string } {
|
|
2427
|
+
return {
|
|
2428
|
+
headers: 'headers',
|
|
2429
|
+
statusCode: 'statusCode',
|
|
2430
|
+
body: 'body',
|
|
2431
|
+
};
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
static types(): { [key: string]: any } {
|
|
2435
|
+
return {
|
|
2436
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2437
|
+
statusCode: 'number',
|
|
2438
|
+
body: DescribeGatewayResponseBody,
|
|
2439
|
+
};
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
constructor(map?: { [key: string]: any }) {
|
|
2443
|
+
super(map);
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
|
|
1942
2447
|
export class DescribeGroupResponse extends $tea.Model {
|
|
1943
2448
|
headers: { [key: string]: string };
|
|
1944
2449
|
statusCode: number;
|
|
@@ -1978,6 +2483,7 @@ export class DescribeResourceResponseBody extends $tea.Model {
|
|
|
1978
2483
|
requestId?: string;
|
|
1979
2484
|
resourceId?: string;
|
|
1980
2485
|
resourceName?: string;
|
|
2486
|
+
resourceType?: string;
|
|
1981
2487
|
status?: string;
|
|
1982
2488
|
updateTime?: string;
|
|
1983
2489
|
static names(): { [key: string]: string } {
|
|
@@ -1995,6 +2501,7 @@ export class DescribeResourceResponseBody extends $tea.Model {
|
|
|
1995
2501
|
requestId: 'RequestId',
|
|
1996
2502
|
resourceId: 'ResourceId',
|
|
1997
2503
|
resourceName: 'ResourceName',
|
|
2504
|
+
resourceType: 'ResourceType',
|
|
1998
2505
|
status: 'Status',
|
|
1999
2506
|
updateTime: 'UpdateTime',
|
|
2000
2507
|
};
|
|
@@ -2015,6 +2522,7 @@ export class DescribeResourceResponseBody extends $tea.Model {
|
|
|
2015
2522
|
requestId: 'string',
|
|
2016
2523
|
resourceId: 'string',
|
|
2017
2524
|
resourceName: 'string',
|
|
2525
|
+
resourceType: 'string',
|
|
2018
2526
|
status: 'string',
|
|
2019
2527
|
updateTime: 'string',
|
|
2020
2528
|
};
|
|
@@ -2791,15 +3299,67 @@ export class ListBenchmarkTaskResponse extends $tea.Model {
|
|
|
2791
3299
|
}
|
|
2792
3300
|
}
|
|
2793
3301
|
|
|
3302
|
+
export class ListGatewayIntranetLinkedVpcResponseBody extends $tea.Model {
|
|
3303
|
+
gatewayId?: string;
|
|
3304
|
+
intranetLinkedVpcList?: ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList[];
|
|
3305
|
+
requestId?: string;
|
|
3306
|
+
static names(): { [key: string]: string } {
|
|
3307
|
+
return {
|
|
3308
|
+
gatewayId: 'GatewayId',
|
|
3309
|
+
intranetLinkedVpcList: 'IntranetLinkedVpcList',
|
|
3310
|
+
requestId: 'RequestId',
|
|
3311
|
+
};
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
static types(): { [key: string]: any } {
|
|
3315
|
+
return {
|
|
3316
|
+
gatewayId: 'string',
|
|
3317
|
+
intranetLinkedVpcList: { 'type': 'array', 'itemType': ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList },
|
|
3318
|
+
requestId: 'string',
|
|
3319
|
+
};
|
|
3320
|
+
}
|
|
3321
|
+
|
|
3322
|
+
constructor(map?: { [key: string]: any }) {
|
|
3323
|
+
super(map);
|
|
3324
|
+
}
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3327
|
+
export class ListGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
3328
|
+
headers: { [key: string]: string };
|
|
3329
|
+
statusCode: number;
|
|
3330
|
+
body: ListGatewayIntranetLinkedVpcResponseBody;
|
|
3331
|
+
static names(): { [key: string]: string } {
|
|
3332
|
+
return {
|
|
3333
|
+
headers: 'headers',
|
|
3334
|
+
statusCode: 'statusCode',
|
|
3335
|
+
body: 'body',
|
|
3336
|
+
};
|
|
3337
|
+
}
|
|
3338
|
+
|
|
3339
|
+
static types(): { [key: string]: any } {
|
|
3340
|
+
return {
|
|
3341
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3342
|
+
statusCode: 'number',
|
|
3343
|
+
body: ListGatewayIntranetLinkedVpcResponseBody,
|
|
3344
|
+
};
|
|
3345
|
+
}
|
|
3346
|
+
|
|
3347
|
+
constructor(map?: { [key: string]: any }) {
|
|
3348
|
+
super(map);
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3351
|
+
|
|
2794
3352
|
export class ListGroupsRequest extends $tea.Model {
|
|
2795
3353
|
filter?: string;
|
|
2796
3354
|
pageNumber?: string;
|
|
2797
3355
|
pageSize?: string;
|
|
3356
|
+
workspaceId?: string;
|
|
2798
3357
|
static names(): { [key: string]: string } {
|
|
2799
3358
|
return {
|
|
2800
3359
|
filter: 'Filter',
|
|
2801
3360
|
pageNumber: 'PageNumber',
|
|
2802
3361
|
pageSize: 'PageSize',
|
|
3362
|
+
workspaceId: 'WorkspaceId',
|
|
2803
3363
|
};
|
|
2804
3364
|
}
|
|
2805
3365
|
|
|
@@ -2808,6 +3368,7 @@ export class ListGroupsRequest extends $tea.Model {
|
|
|
2808
3368
|
filter: 'string',
|
|
2809
3369
|
pageNumber: 'string',
|
|
2810
3370
|
pageSize: 'string',
|
|
3371
|
+
workspaceId: 'string',
|
|
2811
3372
|
};
|
|
2812
3373
|
}
|
|
2813
3374
|
|
|
@@ -3135,12 +3696,14 @@ export class ListResourcesRequest extends $tea.Model {
|
|
|
3135
3696
|
pageSize?: number;
|
|
3136
3697
|
resourceId?: string;
|
|
3137
3698
|
resourceName?: string;
|
|
3699
|
+
resourceType?: string;
|
|
3138
3700
|
static names(): { [key: string]: string } {
|
|
3139
3701
|
return {
|
|
3140
3702
|
pageNumber: 'PageNumber',
|
|
3141
3703
|
pageSize: 'PageSize',
|
|
3142
3704
|
resourceId: 'ResourceId',
|
|
3143
3705
|
resourceName: 'ResourceName',
|
|
3706
|
+
resourceType: 'ResourceType',
|
|
3144
3707
|
};
|
|
3145
3708
|
}
|
|
3146
3709
|
|
|
@@ -3150,6 +3713,7 @@ export class ListResourcesRequest extends $tea.Model {
|
|
|
3150
3713
|
pageSize: 'number',
|
|
3151
3714
|
resourceId: 'string',
|
|
3152
3715
|
resourceName: 'string',
|
|
3716
|
+
resourceType: 'string',
|
|
3153
3717
|
};
|
|
3154
3718
|
}
|
|
3155
3719
|
|
|
@@ -3467,6 +4031,7 @@ export class ListServicesRequest extends $tea.Model {
|
|
|
3467
4031
|
serviceType?: string;
|
|
3468
4032
|
serviceUid?: string;
|
|
3469
4033
|
sort?: string;
|
|
4034
|
+
workspaceId?: string;
|
|
3470
4035
|
static names(): { [key: string]: string } {
|
|
3471
4036
|
return {
|
|
3472
4037
|
filter: 'Filter',
|
|
@@ -3482,6 +4047,7 @@ export class ListServicesRequest extends $tea.Model {
|
|
|
3482
4047
|
serviceType: 'ServiceType',
|
|
3483
4048
|
serviceUid: 'ServiceUid',
|
|
3484
4049
|
sort: 'Sort',
|
|
4050
|
+
workspaceId: 'WorkspaceId',
|
|
3485
4051
|
};
|
|
3486
4052
|
}
|
|
3487
4053
|
|
|
@@ -3500,6 +4066,7 @@ export class ListServicesRequest extends $tea.Model {
|
|
|
3500
4066
|
serviceType: 'string',
|
|
3501
4067
|
serviceUid: 'string',
|
|
3502
4068
|
sort: 'string',
|
|
4069
|
+
workspaceId: 'string',
|
|
3503
4070
|
};
|
|
3504
4071
|
}
|
|
3505
4072
|
|
|
@@ -3522,6 +4089,7 @@ export class ListServicesShrinkRequest extends $tea.Model {
|
|
|
3522
4089
|
serviceType?: string;
|
|
3523
4090
|
serviceUid?: string;
|
|
3524
4091
|
sort?: string;
|
|
4092
|
+
workspaceId?: string;
|
|
3525
4093
|
static names(): { [key: string]: string } {
|
|
3526
4094
|
return {
|
|
3527
4095
|
filter: 'Filter',
|
|
@@ -3537,6 +4105,7 @@ export class ListServicesShrinkRequest extends $tea.Model {
|
|
|
3537
4105
|
serviceType: 'ServiceType',
|
|
3538
4106
|
serviceUid: 'ServiceUid',
|
|
3539
4107
|
sort: 'Sort',
|
|
4108
|
+
workspaceId: 'WorkspaceId',
|
|
3540
4109
|
};
|
|
3541
4110
|
}
|
|
3542
4111
|
|
|
@@ -3555,6 +4124,7 @@ export class ListServicesShrinkRequest extends $tea.Model {
|
|
|
3555
4124
|
serviceType: 'string',
|
|
3556
4125
|
serviceUid: 'string',
|
|
3557
4126
|
sort: 'string',
|
|
4127
|
+
workspaceId: 'string',
|
|
3558
4128
|
};
|
|
3559
4129
|
}
|
|
3560
4130
|
|
|
@@ -3923,17 +4493,35 @@ export class StopServiceResponse extends $tea.Model {
|
|
|
3923
4493
|
}
|
|
3924
4494
|
}
|
|
3925
4495
|
|
|
3926
|
-
export class
|
|
3927
|
-
|
|
4496
|
+
export class UpdateAppServiceRequest extends $tea.Model {
|
|
4497
|
+
quotaId?: string;
|
|
4498
|
+
workspaceId?: string;
|
|
4499
|
+
appType?: string;
|
|
4500
|
+
appVersion?: string;
|
|
4501
|
+
config?: { [key: string]: any };
|
|
4502
|
+
replicas?: string;
|
|
4503
|
+
serviceSpec?: string;
|
|
3928
4504
|
static names(): { [key: string]: string } {
|
|
3929
4505
|
return {
|
|
3930
|
-
|
|
4506
|
+
quotaId: 'QuotaId',
|
|
4507
|
+
workspaceId: 'WorkspaceId',
|
|
4508
|
+
appType: 'AppType',
|
|
4509
|
+
appVersion: 'AppVersion',
|
|
4510
|
+
config: 'Config',
|
|
4511
|
+
replicas: 'Replicas',
|
|
4512
|
+
serviceSpec: 'ServiceSpec',
|
|
3931
4513
|
};
|
|
3932
4514
|
}
|
|
3933
4515
|
|
|
3934
4516
|
static types(): { [key: string]: any } {
|
|
3935
4517
|
return {
|
|
3936
|
-
|
|
4518
|
+
quotaId: 'string',
|
|
4519
|
+
workspaceId: 'string',
|
|
4520
|
+
appType: 'string',
|
|
4521
|
+
appVersion: 'string',
|
|
4522
|
+
config: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
4523
|
+
replicas: 'string',
|
|
4524
|
+
serviceSpec: 'string',
|
|
3937
4525
|
};
|
|
3938
4526
|
}
|
|
3939
4527
|
|
|
@@ -3942,7 +4530,7 @@ export class UpdateBenchmarkTaskRequest extends $tea.Model {
|
|
|
3942
4530
|
}
|
|
3943
4531
|
}
|
|
3944
4532
|
|
|
3945
|
-
export class
|
|
4533
|
+
export class UpdateAppServiceResponseBody extends $tea.Model {
|
|
3946
4534
|
message?: string;
|
|
3947
4535
|
requestId?: string;
|
|
3948
4536
|
static names(): { [key: string]: string } {
|
|
@@ -3964,10 +4552,10 @@ export class UpdateBenchmarkTaskResponseBody extends $tea.Model {
|
|
|
3964
4552
|
}
|
|
3965
4553
|
}
|
|
3966
4554
|
|
|
3967
|
-
export class
|
|
4555
|
+
export class UpdateAppServiceResponse extends $tea.Model {
|
|
3968
4556
|
headers: { [key: string]: string };
|
|
3969
4557
|
statusCode: number;
|
|
3970
|
-
body:
|
|
4558
|
+
body: UpdateAppServiceResponseBody;
|
|
3971
4559
|
static names(): { [key: string]: string } {
|
|
3972
4560
|
return {
|
|
3973
4561
|
headers: 'headers',
|
|
@@ -3980,7 +4568,7 @@ export class UpdateBenchmarkTaskResponse extends $tea.Model {
|
|
|
3980
4568
|
return {
|
|
3981
4569
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3982
4570
|
statusCode: 'number',
|
|
3983
|
-
body:
|
|
4571
|
+
body: UpdateAppServiceResponseBody,
|
|
3984
4572
|
};
|
|
3985
4573
|
}
|
|
3986
4574
|
|
|
@@ -3989,17 +4577,17 @@ export class UpdateBenchmarkTaskResponse extends $tea.Model {
|
|
|
3989
4577
|
}
|
|
3990
4578
|
}
|
|
3991
4579
|
|
|
3992
|
-
export class
|
|
3993
|
-
|
|
4580
|
+
export class UpdateBenchmarkTaskRequest extends $tea.Model {
|
|
4581
|
+
body?: string;
|
|
3994
4582
|
static names(): { [key: string]: string } {
|
|
3995
4583
|
return {
|
|
3996
|
-
|
|
4584
|
+
body: 'body',
|
|
3997
4585
|
};
|
|
3998
4586
|
}
|
|
3999
4587
|
|
|
4000
4588
|
static types(): { [key: string]: any } {
|
|
4001
4589
|
return {
|
|
4002
|
-
|
|
4590
|
+
body: 'string',
|
|
4003
4591
|
};
|
|
4004
4592
|
}
|
|
4005
4593
|
|
|
@@ -4008,23 +4596,20 @@ export class UpdateResourceRequest extends $tea.Model {
|
|
|
4008
4596
|
}
|
|
4009
4597
|
}
|
|
4010
4598
|
|
|
4011
|
-
export class
|
|
4599
|
+
export class UpdateBenchmarkTaskResponseBody extends $tea.Model {
|
|
4600
|
+
message?: string;
|
|
4012
4601
|
requestId?: string;
|
|
4013
|
-
resourceId?: string;
|
|
4014
|
-
resourceName?: string;
|
|
4015
4602
|
static names(): { [key: string]: string } {
|
|
4016
4603
|
return {
|
|
4604
|
+
message: 'Message',
|
|
4017
4605
|
requestId: 'RequestId',
|
|
4018
|
-
resourceId: 'ResourceId',
|
|
4019
|
-
resourceName: 'ResourceName',
|
|
4020
4606
|
};
|
|
4021
4607
|
}
|
|
4022
4608
|
|
|
4023
4609
|
static types(): { [key: string]: any } {
|
|
4024
4610
|
return {
|
|
4611
|
+
message: 'string',
|
|
4025
4612
|
requestId: 'string',
|
|
4026
|
-
resourceId: 'string',
|
|
4027
|
-
resourceName: 'string',
|
|
4028
4613
|
};
|
|
4029
4614
|
}
|
|
4030
4615
|
|
|
@@ -4033,10 +4618,10 @@ export class UpdateResourceResponseBody extends $tea.Model {
|
|
|
4033
4618
|
}
|
|
4034
4619
|
}
|
|
4035
4620
|
|
|
4036
|
-
export class
|
|
4621
|
+
export class UpdateBenchmarkTaskResponse extends $tea.Model {
|
|
4037
4622
|
headers: { [key: string]: string };
|
|
4038
4623
|
statusCode: number;
|
|
4039
|
-
body:
|
|
4624
|
+
body: UpdateBenchmarkTaskResponseBody;
|
|
4040
4625
|
static names(): { [key: string]: string } {
|
|
4041
4626
|
return {
|
|
4042
4627
|
headers: 'headers',
|
|
@@ -4049,7 +4634,7 @@ export class UpdateResourceResponse extends $tea.Model {
|
|
|
4049
4634
|
return {
|
|
4050
4635
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4051
4636
|
statusCode: 'number',
|
|
4052
|
-
body:
|
|
4637
|
+
body: UpdateBenchmarkTaskResponseBody,
|
|
4053
4638
|
};
|
|
4054
4639
|
}
|
|
4055
4640
|
|
|
@@ -4058,26 +4643,26 @@ export class UpdateResourceResponse extends $tea.Model {
|
|
|
4058
4643
|
}
|
|
4059
4644
|
}
|
|
4060
4645
|
|
|
4061
|
-
export class
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4646
|
+
export class UpdateGatewayRequest extends $tea.Model {
|
|
4647
|
+
enableInternet?: boolean;
|
|
4648
|
+
enableIntranet?: boolean;
|
|
4649
|
+
instanceType?: string;
|
|
4650
|
+
name?: string;
|
|
4066
4651
|
static names(): { [key: string]: string } {
|
|
4067
4652
|
return {
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4653
|
+
enableInternet: 'EnableInternet',
|
|
4654
|
+
enableIntranet: 'EnableIntranet',
|
|
4655
|
+
instanceType: 'InstanceType',
|
|
4656
|
+
name: 'Name',
|
|
4072
4657
|
};
|
|
4073
4658
|
}
|
|
4074
4659
|
|
|
4075
4660
|
static types(): { [key: string]: any } {
|
|
4076
4661
|
return {
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4662
|
+
enableInternet: 'boolean',
|
|
4663
|
+
enableIntranet: 'boolean',
|
|
4664
|
+
instanceType: 'string',
|
|
4665
|
+
name: 'string',
|
|
4081
4666
|
};
|
|
4082
4667
|
}
|
|
4083
4668
|
|
|
@@ -4086,11 +4671,13 @@ export class UpdateResourceDLinkRequest extends $tea.Model {
|
|
|
4086
4671
|
}
|
|
4087
4672
|
}
|
|
4088
4673
|
|
|
4089
|
-
export class
|
|
4674
|
+
export class UpdateGatewayResponseBody extends $tea.Model {
|
|
4675
|
+
gatewayId?: string;
|
|
4090
4676
|
message?: string;
|
|
4091
4677
|
requestId?: string;
|
|
4092
4678
|
static names(): { [key: string]: string } {
|
|
4093
4679
|
return {
|
|
4680
|
+
gatewayId: 'GatewayId',
|
|
4094
4681
|
message: 'Message',
|
|
4095
4682
|
requestId: 'RequestId',
|
|
4096
4683
|
};
|
|
@@ -4098,6 +4685,7 @@ export class UpdateResourceDLinkResponseBody extends $tea.Model {
|
|
|
4098
4685
|
|
|
4099
4686
|
static types(): { [key: string]: any } {
|
|
4100
4687
|
return {
|
|
4688
|
+
gatewayId: 'string',
|
|
4101
4689
|
message: 'string',
|
|
4102
4690
|
requestId: 'string',
|
|
4103
4691
|
};
|
|
@@ -4108,7 +4696,154 @@ export class UpdateResourceDLinkResponseBody extends $tea.Model {
|
|
|
4108
4696
|
}
|
|
4109
4697
|
}
|
|
4110
4698
|
|
|
4111
|
-
export class
|
|
4699
|
+
export class UpdateGatewayResponse extends $tea.Model {
|
|
4700
|
+
headers: { [key: string]: string };
|
|
4701
|
+
statusCode: number;
|
|
4702
|
+
body: UpdateGatewayResponseBody;
|
|
4703
|
+
static names(): { [key: string]: string } {
|
|
4704
|
+
return {
|
|
4705
|
+
headers: 'headers',
|
|
4706
|
+
statusCode: 'statusCode',
|
|
4707
|
+
body: 'body',
|
|
4708
|
+
};
|
|
4709
|
+
}
|
|
4710
|
+
|
|
4711
|
+
static types(): { [key: string]: any } {
|
|
4712
|
+
return {
|
|
4713
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4714
|
+
statusCode: 'number',
|
|
4715
|
+
body: UpdateGatewayResponseBody,
|
|
4716
|
+
};
|
|
4717
|
+
}
|
|
4718
|
+
|
|
4719
|
+
constructor(map?: { [key: string]: any }) {
|
|
4720
|
+
super(map);
|
|
4721
|
+
}
|
|
4722
|
+
}
|
|
4723
|
+
|
|
4724
|
+
export class UpdateResourceRequest extends $tea.Model {
|
|
4725
|
+
resourceName?: string;
|
|
4726
|
+
selfManagedResourceOptions?: UpdateResourceRequestSelfManagedResourceOptions;
|
|
4727
|
+
static names(): { [key: string]: string } {
|
|
4728
|
+
return {
|
|
4729
|
+
resourceName: 'ResourceName',
|
|
4730
|
+
selfManagedResourceOptions: 'SelfManagedResourceOptions',
|
|
4731
|
+
};
|
|
4732
|
+
}
|
|
4733
|
+
|
|
4734
|
+
static types(): { [key: string]: any } {
|
|
4735
|
+
return {
|
|
4736
|
+
resourceName: 'string',
|
|
4737
|
+
selfManagedResourceOptions: UpdateResourceRequestSelfManagedResourceOptions,
|
|
4738
|
+
};
|
|
4739
|
+
}
|
|
4740
|
+
|
|
4741
|
+
constructor(map?: { [key: string]: any }) {
|
|
4742
|
+
super(map);
|
|
4743
|
+
}
|
|
4744
|
+
}
|
|
4745
|
+
|
|
4746
|
+
export class UpdateResourceResponseBody extends $tea.Model {
|
|
4747
|
+
requestId?: string;
|
|
4748
|
+
resourceId?: string;
|
|
4749
|
+
resourceName?: string;
|
|
4750
|
+
static names(): { [key: string]: string } {
|
|
4751
|
+
return {
|
|
4752
|
+
requestId: 'RequestId',
|
|
4753
|
+
resourceId: 'ResourceId',
|
|
4754
|
+
resourceName: 'ResourceName',
|
|
4755
|
+
};
|
|
4756
|
+
}
|
|
4757
|
+
|
|
4758
|
+
static types(): { [key: string]: any } {
|
|
4759
|
+
return {
|
|
4760
|
+
requestId: 'string',
|
|
4761
|
+
resourceId: 'string',
|
|
4762
|
+
resourceName: 'string',
|
|
4763
|
+
};
|
|
4764
|
+
}
|
|
4765
|
+
|
|
4766
|
+
constructor(map?: { [key: string]: any }) {
|
|
4767
|
+
super(map);
|
|
4768
|
+
}
|
|
4769
|
+
}
|
|
4770
|
+
|
|
4771
|
+
export class UpdateResourceResponse extends $tea.Model {
|
|
4772
|
+
headers: { [key: string]: string };
|
|
4773
|
+
statusCode: number;
|
|
4774
|
+
body: UpdateResourceResponseBody;
|
|
4775
|
+
static names(): { [key: string]: string } {
|
|
4776
|
+
return {
|
|
4777
|
+
headers: 'headers',
|
|
4778
|
+
statusCode: 'statusCode',
|
|
4779
|
+
body: 'body',
|
|
4780
|
+
};
|
|
4781
|
+
}
|
|
4782
|
+
|
|
4783
|
+
static types(): { [key: string]: any } {
|
|
4784
|
+
return {
|
|
4785
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4786
|
+
statusCode: 'number',
|
|
4787
|
+
body: UpdateResourceResponseBody,
|
|
4788
|
+
};
|
|
4789
|
+
}
|
|
4790
|
+
|
|
4791
|
+
constructor(map?: { [key: string]: any }) {
|
|
4792
|
+
super(map);
|
|
4793
|
+
}
|
|
4794
|
+
}
|
|
4795
|
+
|
|
4796
|
+
export class UpdateResourceDLinkRequest extends $tea.Model {
|
|
4797
|
+
destinationCIDRs?: string;
|
|
4798
|
+
securityGroupId?: string;
|
|
4799
|
+
vSwitchId?: string;
|
|
4800
|
+
vSwitchIdList?: string[];
|
|
4801
|
+
static names(): { [key: string]: string } {
|
|
4802
|
+
return {
|
|
4803
|
+
destinationCIDRs: 'DestinationCIDRs',
|
|
4804
|
+
securityGroupId: 'SecurityGroupId',
|
|
4805
|
+
vSwitchId: 'VSwitchId',
|
|
4806
|
+
vSwitchIdList: 'VSwitchIdList',
|
|
4807
|
+
};
|
|
4808
|
+
}
|
|
4809
|
+
|
|
4810
|
+
static types(): { [key: string]: any } {
|
|
4811
|
+
return {
|
|
4812
|
+
destinationCIDRs: 'string',
|
|
4813
|
+
securityGroupId: 'string',
|
|
4814
|
+
vSwitchId: 'string',
|
|
4815
|
+
vSwitchIdList: { 'type': 'array', 'itemType': 'string' },
|
|
4816
|
+
};
|
|
4817
|
+
}
|
|
4818
|
+
|
|
4819
|
+
constructor(map?: { [key: string]: any }) {
|
|
4820
|
+
super(map);
|
|
4821
|
+
}
|
|
4822
|
+
}
|
|
4823
|
+
|
|
4824
|
+
export class UpdateResourceDLinkResponseBody extends $tea.Model {
|
|
4825
|
+
message?: string;
|
|
4826
|
+
requestId?: string;
|
|
4827
|
+
static names(): { [key: string]: string } {
|
|
4828
|
+
return {
|
|
4829
|
+
message: 'Message',
|
|
4830
|
+
requestId: 'RequestId',
|
|
4831
|
+
};
|
|
4832
|
+
}
|
|
4833
|
+
|
|
4834
|
+
static types(): { [key: string]: any } {
|
|
4835
|
+
return {
|
|
4836
|
+
message: 'string',
|
|
4837
|
+
requestId: 'string',
|
|
4838
|
+
};
|
|
4839
|
+
}
|
|
4840
|
+
|
|
4841
|
+
constructor(map?: { [key: string]: any }) {
|
|
4842
|
+
super(map);
|
|
4843
|
+
}
|
|
4844
|
+
}
|
|
4845
|
+
|
|
4846
|
+
export class UpdateResourceDLinkResponse extends $tea.Model {
|
|
4112
4847
|
headers: { [key: string]: string };
|
|
4113
4848
|
statusCode: number;
|
|
4114
4849
|
body: UpdateResourceDLinkResponseBody;
|
|
@@ -4412,6 +5147,72 @@ export class UpdateServiceCronScalerResponse extends $tea.Model {
|
|
|
4412
5147
|
}
|
|
4413
5148
|
}
|
|
4414
5149
|
|
|
5150
|
+
export class UpdateServiceInstanceRequest extends $tea.Model {
|
|
5151
|
+
isolate?: boolean;
|
|
5152
|
+
static names(): { [key: string]: string } {
|
|
5153
|
+
return {
|
|
5154
|
+
isolate: 'Isolate',
|
|
5155
|
+
};
|
|
5156
|
+
}
|
|
5157
|
+
|
|
5158
|
+
static types(): { [key: string]: any } {
|
|
5159
|
+
return {
|
|
5160
|
+
isolate: 'boolean',
|
|
5161
|
+
};
|
|
5162
|
+
}
|
|
5163
|
+
|
|
5164
|
+
constructor(map?: { [key: string]: any }) {
|
|
5165
|
+
super(map);
|
|
5166
|
+
}
|
|
5167
|
+
}
|
|
5168
|
+
|
|
5169
|
+
export class UpdateServiceInstanceResponseBody extends $tea.Model {
|
|
5170
|
+
message?: string;
|
|
5171
|
+
requestId?: string;
|
|
5172
|
+
static names(): { [key: string]: string } {
|
|
5173
|
+
return {
|
|
5174
|
+
message: 'Message',
|
|
5175
|
+
requestId: 'RequestId',
|
|
5176
|
+
};
|
|
5177
|
+
}
|
|
5178
|
+
|
|
5179
|
+
static types(): { [key: string]: any } {
|
|
5180
|
+
return {
|
|
5181
|
+
message: 'string',
|
|
5182
|
+
requestId: 'string',
|
|
5183
|
+
};
|
|
5184
|
+
}
|
|
5185
|
+
|
|
5186
|
+
constructor(map?: { [key: string]: any }) {
|
|
5187
|
+
super(map);
|
|
5188
|
+
}
|
|
5189
|
+
}
|
|
5190
|
+
|
|
5191
|
+
export class UpdateServiceInstanceResponse extends $tea.Model {
|
|
5192
|
+
headers: { [key: string]: string };
|
|
5193
|
+
statusCode: number;
|
|
5194
|
+
body: UpdateServiceInstanceResponseBody;
|
|
5195
|
+
static names(): { [key: string]: string } {
|
|
5196
|
+
return {
|
|
5197
|
+
headers: 'headers',
|
|
5198
|
+
statusCode: 'statusCode',
|
|
5199
|
+
body: 'body',
|
|
5200
|
+
};
|
|
5201
|
+
}
|
|
5202
|
+
|
|
5203
|
+
static types(): { [key: string]: any } {
|
|
5204
|
+
return {
|
|
5205
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5206
|
+
statusCode: 'number',
|
|
5207
|
+
body: UpdateServiceInstanceResponseBody,
|
|
5208
|
+
};
|
|
5209
|
+
}
|
|
5210
|
+
|
|
5211
|
+
constructor(map?: { [key: string]: any }) {
|
|
5212
|
+
super(map);
|
|
5213
|
+
}
|
|
5214
|
+
}
|
|
5215
|
+
|
|
4415
5216
|
export class UpdateServiceLabelRequest extends $tea.Model {
|
|
4416
5217
|
labels?: { [key: string]: string };
|
|
4417
5218
|
static names(): { [key: string]: string } {
|
|
@@ -4701,6 +5502,62 @@ export class ServiceLabels extends $tea.Model {
|
|
|
4701
5502
|
}
|
|
4702
5503
|
}
|
|
4703
5504
|
|
|
5505
|
+
export class CreateResourceRequestSelfManagedResourceOptionsNodeTolerations extends $tea.Model {
|
|
5506
|
+
effect?: string;
|
|
5507
|
+
key?: string;
|
|
5508
|
+
operator?: string;
|
|
5509
|
+
value?: string;
|
|
5510
|
+
static names(): { [key: string]: string } {
|
|
5511
|
+
return {
|
|
5512
|
+
effect: 'effect',
|
|
5513
|
+
key: 'key',
|
|
5514
|
+
operator: 'operator',
|
|
5515
|
+
value: 'value',
|
|
5516
|
+
};
|
|
5517
|
+
}
|
|
5518
|
+
|
|
5519
|
+
static types(): { [key: string]: any } {
|
|
5520
|
+
return {
|
|
5521
|
+
effect: 'string',
|
|
5522
|
+
key: 'string',
|
|
5523
|
+
operator: 'string',
|
|
5524
|
+
value: 'string',
|
|
5525
|
+
};
|
|
5526
|
+
}
|
|
5527
|
+
|
|
5528
|
+
constructor(map?: { [key: string]: any }) {
|
|
5529
|
+
super(map);
|
|
5530
|
+
}
|
|
5531
|
+
}
|
|
5532
|
+
|
|
5533
|
+
export class CreateResourceRequestSelfManagedResourceOptions extends $tea.Model {
|
|
5534
|
+
externalClusterId?: string;
|
|
5535
|
+
nodeMatchLabels?: { [key: string]: string };
|
|
5536
|
+
nodeTolerations?: CreateResourceRequestSelfManagedResourceOptionsNodeTolerations[];
|
|
5537
|
+
roleName?: string;
|
|
5538
|
+
static names(): { [key: string]: string } {
|
|
5539
|
+
return {
|
|
5540
|
+
externalClusterId: 'ExternalClusterId',
|
|
5541
|
+
nodeMatchLabels: 'NodeMatchLabels',
|
|
5542
|
+
nodeTolerations: 'NodeTolerations',
|
|
5543
|
+
roleName: 'RoleName',
|
|
5544
|
+
};
|
|
5545
|
+
}
|
|
5546
|
+
|
|
5547
|
+
static types(): { [key: string]: any } {
|
|
5548
|
+
return {
|
|
5549
|
+
externalClusterId: 'string',
|
|
5550
|
+
nodeMatchLabels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5551
|
+
nodeTolerations: { 'type': 'array', 'itemType': CreateResourceRequestSelfManagedResourceOptionsNodeTolerations },
|
|
5552
|
+
roleName: 'string',
|
|
5553
|
+
};
|
|
5554
|
+
}
|
|
5555
|
+
|
|
5556
|
+
constructor(map?: { [key: string]: any }) {
|
|
5557
|
+
super(map);
|
|
5558
|
+
}
|
|
5559
|
+
}
|
|
5560
|
+
|
|
4704
5561
|
export class CreateServiceAutoScalerRequestBehaviorOnZero extends $tea.Model {
|
|
4705
5562
|
scaleDownGracePeriodSeconds?: number;
|
|
4706
5563
|
scaleUpActivationReplicas?: number;
|
|
@@ -4836,6 +5693,62 @@ export class CreateServiceCronScalerRequestScaleJobs extends $tea.Model {
|
|
|
4836
5693
|
}
|
|
4837
5694
|
}
|
|
4838
5695
|
|
|
5696
|
+
export class DescribeGatewayResponseBodyInternetAclPolicyList extends $tea.Model {
|
|
5697
|
+
comment?: string;
|
|
5698
|
+
entry?: string;
|
|
5699
|
+
status?: string;
|
|
5700
|
+
static names(): { [key: string]: string } {
|
|
5701
|
+
return {
|
|
5702
|
+
comment: 'Comment',
|
|
5703
|
+
entry: 'Entry',
|
|
5704
|
+
status: 'Status',
|
|
5705
|
+
};
|
|
5706
|
+
}
|
|
5707
|
+
|
|
5708
|
+
static types(): { [key: string]: any } {
|
|
5709
|
+
return {
|
|
5710
|
+
comment: 'string',
|
|
5711
|
+
entry: 'string',
|
|
5712
|
+
status: 'string',
|
|
5713
|
+
};
|
|
5714
|
+
}
|
|
5715
|
+
|
|
5716
|
+
constructor(map?: { [key: string]: any }) {
|
|
5717
|
+
super(map);
|
|
5718
|
+
}
|
|
5719
|
+
}
|
|
5720
|
+
|
|
5721
|
+
export class DescribeGatewayResponseBodyIntranetLinkedVpcList extends $tea.Model {
|
|
5722
|
+
ip?: string;
|
|
5723
|
+
securityGroupId?: string;
|
|
5724
|
+
status?: string;
|
|
5725
|
+
vSwitchId?: string;
|
|
5726
|
+
vpcId?: string;
|
|
5727
|
+
static names(): { [key: string]: string } {
|
|
5728
|
+
return {
|
|
5729
|
+
ip: 'Ip',
|
|
5730
|
+
securityGroupId: 'SecurityGroupId',
|
|
5731
|
+
status: 'Status',
|
|
5732
|
+
vSwitchId: 'VSwitchId',
|
|
5733
|
+
vpcId: 'VpcId',
|
|
5734
|
+
};
|
|
5735
|
+
}
|
|
5736
|
+
|
|
5737
|
+
static types(): { [key: string]: any } {
|
|
5738
|
+
return {
|
|
5739
|
+
ip: 'string',
|
|
5740
|
+
securityGroupId: 'string',
|
|
5741
|
+
status: 'string',
|
|
5742
|
+
vSwitchId: 'string',
|
|
5743
|
+
vpcId: 'string',
|
|
5744
|
+
};
|
|
5745
|
+
}
|
|
5746
|
+
|
|
5747
|
+
constructor(map?: { [key: string]: any }) {
|
|
5748
|
+
super(map);
|
|
5749
|
+
}
|
|
5750
|
+
}
|
|
5751
|
+
|
|
4839
5752
|
export class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $tea.Model {
|
|
4840
5753
|
metricName?: string;
|
|
4841
5754
|
service?: string;
|
|
@@ -5044,6 +5957,37 @@ export class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
|
5044
5957
|
}
|
|
5045
5958
|
}
|
|
5046
5959
|
|
|
5960
|
+
export class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $tea.Model {
|
|
5961
|
+
ip?: string;
|
|
5962
|
+
securityGroupId?: string;
|
|
5963
|
+
status?: string;
|
|
5964
|
+
vSwitchId?: string;
|
|
5965
|
+
vpcId?: string;
|
|
5966
|
+
static names(): { [key: string]: string } {
|
|
5967
|
+
return {
|
|
5968
|
+
ip: 'Ip',
|
|
5969
|
+
securityGroupId: 'SecurityGroupId',
|
|
5970
|
+
status: 'Status',
|
|
5971
|
+
vSwitchId: 'VSwitchId',
|
|
5972
|
+
vpcId: 'VpcId',
|
|
5973
|
+
};
|
|
5974
|
+
}
|
|
5975
|
+
|
|
5976
|
+
static types(): { [key: string]: any } {
|
|
5977
|
+
return {
|
|
5978
|
+
ip: 'string',
|
|
5979
|
+
securityGroupId: 'string',
|
|
5980
|
+
status: 'string',
|
|
5981
|
+
vSwitchId: 'string',
|
|
5982
|
+
vpcId: 'string',
|
|
5983
|
+
};
|
|
5984
|
+
}
|
|
5985
|
+
|
|
5986
|
+
constructor(map?: { [key: string]: any }) {
|
|
5987
|
+
super(map);
|
|
5988
|
+
}
|
|
5989
|
+
}
|
|
5990
|
+
|
|
5047
5991
|
export class ListServiceVersionsResponseBodyVersions extends $tea.Model {
|
|
5048
5992
|
buildTime?: string;
|
|
5049
5993
|
imageAvailable?: string;
|
|
@@ -5075,6 +6019,56 @@ export class ListServiceVersionsResponseBodyVersions extends $tea.Model {
|
|
|
5075
6019
|
}
|
|
5076
6020
|
}
|
|
5077
6021
|
|
|
6022
|
+
export class UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations extends $tea.Model {
|
|
6023
|
+
effect?: string;
|
|
6024
|
+
key?: string;
|
|
6025
|
+
operator?: string;
|
|
6026
|
+
value?: string;
|
|
6027
|
+
static names(): { [key: string]: string } {
|
|
6028
|
+
return {
|
|
6029
|
+
effect: 'effect',
|
|
6030
|
+
key: 'key',
|
|
6031
|
+
operator: 'operator',
|
|
6032
|
+
value: 'value',
|
|
6033
|
+
};
|
|
6034
|
+
}
|
|
6035
|
+
|
|
6036
|
+
static types(): { [key: string]: any } {
|
|
6037
|
+
return {
|
|
6038
|
+
effect: 'string',
|
|
6039
|
+
key: 'string',
|
|
6040
|
+
operator: 'string',
|
|
6041
|
+
value: 'string',
|
|
6042
|
+
};
|
|
6043
|
+
}
|
|
6044
|
+
|
|
6045
|
+
constructor(map?: { [key: string]: any }) {
|
|
6046
|
+
super(map);
|
|
6047
|
+
}
|
|
6048
|
+
}
|
|
6049
|
+
|
|
6050
|
+
export class UpdateResourceRequestSelfManagedResourceOptions extends $tea.Model {
|
|
6051
|
+
nodeMatchLabels?: { [key: string]: string };
|
|
6052
|
+
nodeTolerations?: UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations[];
|
|
6053
|
+
static names(): { [key: string]: string } {
|
|
6054
|
+
return {
|
|
6055
|
+
nodeMatchLabels: 'NodeMatchLabels',
|
|
6056
|
+
nodeTolerations: 'NodeTolerations',
|
|
6057
|
+
};
|
|
6058
|
+
}
|
|
6059
|
+
|
|
6060
|
+
static types(): { [key: string]: any } {
|
|
6061
|
+
return {
|
|
6062
|
+
nodeMatchLabels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6063
|
+
nodeTolerations: { 'type': 'array', 'itemType': UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations },
|
|
6064
|
+
};
|
|
6065
|
+
}
|
|
6066
|
+
|
|
6067
|
+
constructor(map?: { [key: string]: any }) {
|
|
6068
|
+
super(map);
|
|
6069
|
+
}
|
|
6070
|
+
}
|
|
6071
|
+
|
|
5078
6072
|
export class UpdateServiceAutoScalerRequestBehaviorOnZero extends $tea.Model {
|
|
5079
6073
|
scaleDownGracePeriodSeconds?: number;
|
|
5080
6074
|
scaleUpActivationReplicas?: number;
|
|
@@ -5213,91 +6207,236 @@ export class UpdateServiceCronScalerRequestScaleJobs extends $tea.Model {
|
|
|
5213
6207
|
|
|
5214
6208
|
export default class Client extends OpenApi {
|
|
5215
6209
|
|
|
5216
|
-
constructor(config: $OpenApi.Config) {
|
|
5217
|
-
super(config);
|
|
5218
|
-
this._endpointRule = "regional";
|
|
5219
|
-
this._endpointMap = {
|
|
5220
|
-
'cn-beijing': "pai-eas.cn-beijing.aliyuncs.com",
|
|
5221
|
-
'cn-zhangjiakou': "pai-eas.cn-zhangjiakou.aliyuncs.com",
|
|
5222
|
-
'cn-hangzhou': "pai-eas.cn-hangzhou.aliyuncs.com",
|
|
5223
|
-
'cn-shanghai': "pai-eas.cn-shanghai.aliyuncs.com",
|
|
5224
|
-
'cn-shenzhen': "pai-eas.cn-shenzhen.aliyuncs.com",
|
|
5225
|
-
'cn-hongkong': "pai-eas.cn-hongkong.aliyuncs.com",
|
|
5226
|
-
'ap-southeast-1': "pai-eas.ap-southeast-1.aliyuncs.com",
|
|
5227
|
-
'ap-southeast-5': "pai-eas.ap-southeast-5.aliyuncs.com",
|
|
5228
|
-
'us-east-1': "pai-eas.us-east-1.aliyuncs.com",
|
|
5229
|
-
'us-west-1': "pai-eas.us-west-1.aliyuncs.com",
|
|
5230
|
-
'eu-central-1': "pai-eas.eu-central-1.aliyuncs.com",
|
|
5231
|
-
'ap-south-1': "pai-eas.ap-south-1.aliyuncs.com",
|
|
5232
|
-
'cn-shanghai-finance-1': "pai-eas.cn-shanghai-finance-1.aliyuncs.com",
|
|
5233
|
-
'cn-north-2-gov-1': "pai-eas.cn-north-2-gov-1.aliyuncs.com",
|
|
5234
|
-
'cn-chengdu': "pai-eas.cn-chengdu.aliyuncs.com",
|
|
5235
|
-
};
|
|
5236
|
-
this.checkConfig(config);
|
|
5237
|
-
this._endpoint = this.getEndpoint("eas", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
6210
|
+
constructor(config: $OpenApi.Config) {
|
|
6211
|
+
super(config);
|
|
6212
|
+
this._endpointRule = "regional";
|
|
6213
|
+
this._endpointMap = {
|
|
6214
|
+
'cn-beijing': "pai-eas.cn-beijing.aliyuncs.com",
|
|
6215
|
+
'cn-zhangjiakou': "pai-eas.cn-zhangjiakou.aliyuncs.com",
|
|
6216
|
+
'cn-hangzhou': "pai-eas.cn-hangzhou.aliyuncs.com",
|
|
6217
|
+
'cn-shanghai': "pai-eas.cn-shanghai.aliyuncs.com",
|
|
6218
|
+
'cn-shenzhen': "pai-eas.cn-shenzhen.aliyuncs.com",
|
|
6219
|
+
'cn-hongkong': "pai-eas.cn-hongkong.aliyuncs.com",
|
|
6220
|
+
'ap-southeast-1': "pai-eas.ap-southeast-1.aliyuncs.com",
|
|
6221
|
+
'ap-southeast-5': "pai-eas.ap-southeast-5.aliyuncs.com",
|
|
6222
|
+
'us-east-1': "pai-eas.us-east-1.aliyuncs.com",
|
|
6223
|
+
'us-west-1': "pai-eas.us-west-1.aliyuncs.com",
|
|
6224
|
+
'eu-central-1': "pai-eas.eu-central-1.aliyuncs.com",
|
|
6225
|
+
'ap-south-1': "pai-eas.ap-south-1.aliyuncs.com",
|
|
6226
|
+
'cn-shanghai-finance-1': "pai-eas.cn-shanghai-finance-1.aliyuncs.com",
|
|
6227
|
+
'cn-north-2-gov-1': "pai-eas.cn-north-2-gov-1.aliyuncs.com",
|
|
6228
|
+
'cn-chengdu': "pai-eas.cn-chengdu.aliyuncs.com",
|
|
6229
|
+
};
|
|
6230
|
+
this.checkConfig(config);
|
|
6231
|
+
this._endpoint = this.getEndpoint("eas", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
6232
|
+
}
|
|
6233
|
+
|
|
6234
|
+
|
|
6235
|
+
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {[key: string ]: string}, endpoint: string): string {
|
|
6236
|
+
if (!Util.empty(endpoint)) {
|
|
6237
|
+
return endpoint;
|
|
6238
|
+
}
|
|
6239
|
+
|
|
6240
|
+
if (!Util.isUnset(endpointMap) && !Util.empty(endpointMap[regionId])) {
|
|
6241
|
+
return endpointMap[regionId];
|
|
6242
|
+
}
|
|
6243
|
+
|
|
6244
|
+
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
6245
|
+
}
|
|
6246
|
+
|
|
6247
|
+
async commitServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CommitServiceResponse> {
|
|
6248
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6249
|
+
headers: headers,
|
|
6250
|
+
});
|
|
6251
|
+
let params = new $OpenApi.Params({
|
|
6252
|
+
action: "CommitService",
|
|
6253
|
+
version: "2021-07-01",
|
|
6254
|
+
protocol: "HTTPS",
|
|
6255
|
+
pathname: `/api/v2/services/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(ServiceName)}/commit`,
|
|
6256
|
+
method: "PUT",
|
|
6257
|
+
authType: "AK",
|
|
6258
|
+
style: "ROA",
|
|
6259
|
+
reqBodyType: "json",
|
|
6260
|
+
bodyType: "json",
|
|
6261
|
+
});
|
|
6262
|
+
return $tea.cast<CommitServiceResponse>(await this.callApi(params, req, runtime), new CommitServiceResponse({}));
|
|
6263
|
+
}
|
|
6264
|
+
|
|
6265
|
+
async commitService(ClusterId: string, ServiceName: string): Promise<CommitServiceResponse> {
|
|
6266
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6267
|
+
let headers : {[key: string ]: string} = { };
|
|
6268
|
+
return await this.commitServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6269
|
+
}
|
|
6270
|
+
|
|
6271
|
+
async createAppServiceWithOptions(request: CreateAppServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateAppServiceResponse> {
|
|
6272
|
+
Util.validateModel(request);
|
|
6273
|
+
let query : {[key: string ]: any} = { };
|
|
6274
|
+
if (!Util.isUnset(request.quotaId)) {
|
|
6275
|
+
query["QuotaId"] = request.quotaId;
|
|
6276
|
+
}
|
|
6277
|
+
|
|
6278
|
+
if (!Util.isUnset(request.workspaceId)) {
|
|
6279
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
6280
|
+
}
|
|
6281
|
+
|
|
6282
|
+
let body : {[key: string ]: any} = { };
|
|
6283
|
+
if (!Util.isUnset(request.appType)) {
|
|
6284
|
+
body["AppType"] = request.appType;
|
|
6285
|
+
}
|
|
6286
|
+
|
|
6287
|
+
if (!Util.isUnset(request.appVersion)) {
|
|
6288
|
+
body["AppVersion"] = request.appVersion;
|
|
6289
|
+
}
|
|
6290
|
+
|
|
6291
|
+
if (!Util.isUnset(request.config)) {
|
|
6292
|
+
body["Config"] = request.config;
|
|
6293
|
+
}
|
|
6294
|
+
|
|
6295
|
+
if (!Util.isUnset(request.replicas)) {
|
|
6296
|
+
body["Replicas"] = request.replicas;
|
|
6297
|
+
}
|
|
6298
|
+
|
|
6299
|
+
if (!Util.isUnset(request.serviceName)) {
|
|
6300
|
+
body["ServiceName"] = request.serviceName;
|
|
6301
|
+
}
|
|
6302
|
+
|
|
6303
|
+
if (!Util.isUnset(request.serviceSpec)) {
|
|
6304
|
+
body["ServiceSpec"] = request.serviceSpec;
|
|
6305
|
+
}
|
|
6306
|
+
|
|
6307
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6308
|
+
headers: headers,
|
|
6309
|
+
query: OpenApiUtil.query(query),
|
|
6310
|
+
body: OpenApiUtil.parseToMap(body),
|
|
6311
|
+
});
|
|
6312
|
+
let params = new $OpenApi.Params({
|
|
6313
|
+
action: "CreateAppService",
|
|
6314
|
+
version: "2021-07-01",
|
|
6315
|
+
protocol: "HTTPS",
|
|
6316
|
+
pathname: `/api/v2/app_services`,
|
|
6317
|
+
method: "POST",
|
|
6318
|
+
authType: "AK",
|
|
6319
|
+
style: "ROA",
|
|
6320
|
+
reqBodyType: "json",
|
|
6321
|
+
bodyType: "json",
|
|
6322
|
+
});
|
|
6323
|
+
return $tea.cast<CreateAppServiceResponse>(await this.callApi(params, req, runtime), new CreateAppServiceResponse({}));
|
|
6324
|
+
}
|
|
6325
|
+
|
|
6326
|
+
async createAppService(request: CreateAppServiceRequest): Promise<CreateAppServiceResponse> {
|
|
6327
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6328
|
+
let headers : {[key: string ]: string} = { };
|
|
6329
|
+
return await this.createAppServiceWithOptions(request, headers, runtime);
|
|
6330
|
+
}
|
|
6331
|
+
|
|
6332
|
+
async createBenchmarkTaskWithOptions(request: CreateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateBenchmarkTaskResponse> {
|
|
6333
|
+
Util.validateModel(request);
|
|
6334
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6335
|
+
headers: headers,
|
|
6336
|
+
body: request.body,
|
|
6337
|
+
});
|
|
6338
|
+
let params = new $OpenApi.Params({
|
|
6339
|
+
action: "CreateBenchmarkTask",
|
|
6340
|
+
version: "2021-07-01",
|
|
6341
|
+
protocol: "HTTPS",
|
|
6342
|
+
pathname: `/api/v2/benchmark-tasks`,
|
|
6343
|
+
method: "POST",
|
|
6344
|
+
authType: "AK",
|
|
6345
|
+
style: "ROA",
|
|
6346
|
+
reqBodyType: "json",
|
|
6347
|
+
bodyType: "json",
|
|
6348
|
+
});
|
|
6349
|
+
return $tea.cast<CreateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new CreateBenchmarkTaskResponse({}));
|
|
6350
|
+
}
|
|
6351
|
+
|
|
6352
|
+
async createBenchmarkTask(request: CreateBenchmarkTaskRequest): Promise<CreateBenchmarkTaskResponse> {
|
|
6353
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6354
|
+
let headers : {[key: string ]: string} = { };
|
|
6355
|
+
return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
|
|
5238
6356
|
}
|
|
5239
6357
|
|
|
6358
|
+
async createGatewayWithOptions(request: CreateGatewayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateGatewayResponse> {
|
|
6359
|
+
Util.validateModel(request);
|
|
6360
|
+
let query : {[key: string ]: any} = { };
|
|
6361
|
+
if (!Util.isUnset(request.resourceName)) {
|
|
6362
|
+
query["ResourceName"] = request.resourceName;
|
|
6363
|
+
}
|
|
6364
|
+
|
|
6365
|
+
let body : {[key: string ]: any} = { };
|
|
6366
|
+
if (!Util.isUnset(request.enableInternet)) {
|
|
6367
|
+
body["EnableInternet"] = request.enableInternet;
|
|
6368
|
+
}
|
|
5240
6369
|
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
return endpoint;
|
|
6370
|
+
if (!Util.isUnset(request.enableIntranet)) {
|
|
6371
|
+
body["EnableIntranet"] = request.enableIntranet;
|
|
5244
6372
|
}
|
|
5245
6373
|
|
|
5246
|
-
if (!Util.isUnset(
|
|
5247
|
-
|
|
6374
|
+
if (!Util.isUnset(request.instanceType)) {
|
|
6375
|
+
body["InstanceType"] = request.instanceType;
|
|
5248
6376
|
}
|
|
5249
6377
|
|
|
5250
|
-
|
|
5251
|
-
|
|
6378
|
+
if (!Util.isUnset(request.name)) {
|
|
6379
|
+
body["Name"] = request.name;
|
|
6380
|
+
}
|
|
5252
6381
|
|
|
5253
|
-
async commitServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CommitServiceResponse> {
|
|
5254
6382
|
let req = new $OpenApi.OpenApiRequest({
|
|
5255
6383
|
headers: headers,
|
|
6384
|
+
query: OpenApiUtil.query(query),
|
|
6385
|
+
body: OpenApiUtil.parseToMap(body),
|
|
5256
6386
|
});
|
|
5257
6387
|
let params = new $OpenApi.Params({
|
|
5258
|
-
action: "
|
|
6388
|
+
action: "CreateGateway",
|
|
5259
6389
|
version: "2021-07-01",
|
|
5260
6390
|
protocol: "HTTPS",
|
|
5261
|
-
pathname: `/api/v2/
|
|
5262
|
-
method: "
|
|
6391
|
+
pathname: `/api/v2/gateways`,
|
|
6392
|
+
method: "POST",
|
|
5263
6393
|
authType: "AK",
|
|
5264
6394
|
style: "ROA",
|
|
5265
6395
|
reqBodyType: "json",
|
|
5266
6396
|
bodyType: "json",
|
|
5267
6397
|
});
|
|
5268
|
-
return $tea.cast<
|
|
6398
|
+
return $tea.cast<CreateGatewayResponse>(await this.callApi(params, req, runtime), new CreateGatewayResponse({}));
|
|
5269
6399
|
}
|
|
5270
6400
|
|
|
5271
|
-
async
|
|
6401
|
+
async createGateway(request: CreateGatewayRequest): Promise<CreateGatewayResponse> {
|
|
5272
6402
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5273
6403
|
let headers : {[key: string ]: string} = { };
|
|
5274
|
-
return await this.
|
|
6404
|
+
return await this.createGatewayWithOptions(request, headers, runtime);
|
|
5275
6405
|
}
|
|
5276
6406
|
|
|
5277
|
-
async
|
|
6407
|
+
async createGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, request: CreateGatewayIntranetLinkedVpcRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateGatewayIntranetLinkedVpcResponse> {
|
|
5278
6408
|
Util.validateModel(request);
|
|
6409
|
+
let query : {[key: string ]: any} = { };
|
|
6410
|
+
if (!Util.isUnset(request.vSwitchId)) {
|
|
6411
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
6412
|
+
}
|
|
6413
|
+
|
|
6414
|
+
if (!Util.isUnset(request.vpcId)) {
|
|
6415
|
+
query["VpcId"] = request.vpcId;
|
|
6416
|
+
}
|
|
6417
|
+
|
|
5279
6418
|
let req = new $OpenApi.OpenApiRequest({
|
|
5280
6419
|
headers: headers,
|
|
5281
|
-
|
|
6420
|
+
query: OpenApiUtil.query(query),
|
|
5282
6421
|
});
|
|
5283
6422
|
let params = new $OpenApi.Params({
|
|
5284
|
-
action: "
|
|
6423
|
+
action: "CreateGatewayIntranetLinkedVpc",
|
|
5285
6424
|
version: "2021-07-01",
|
|
5286
6425
|
protocol: "HTTPS",
|
|
5287
|
-
pathname: `/api/v2/
|
|
6426
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc`,
|
|
5288
6427
|
method: "POST",
|
|
5289
6428
|
authType: "AK",
|
|
5290
6429
|
style: "ROA",
|
|
5291
6430
|
reqBodyType: "json",
|
|
5292
6431
|
bodyType: "json",
|
|
5293
6432
|
});
|
|
5294
|
-
return $tea.cast<
|
|
6433
|
+
return $tea.cast<CreateGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcResponse({}));
|
|
5295
6434
|
}
|
|
5296
6435
|
|
|
5297
|
-
async
|
|
6436
|
+
async createGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string, request: CreateGatewayIntranetLinkedVpcRequest): Promise<CreateGatewayIntranetLinkedVpcResponse> {
|
|
5298
6437
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5299
6438
|
let headers : {[key: string ]: string} = { };
|
|
5300
|
-
return await this.
|
|
6439
|
+
return await this.createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
5301
6440
|
}
|
|
5302
6441
|
|
|
5303
6442
|
async createResourceWithOptions(request: CreateResourceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateResourceResponse> {
|
|
@@ -5319,6 +6458,14 @@ export default class Client extends OpenApi {
|
|
|
5319
6458
|
body["EcsInstanceType"] = request.ecsInstanceType;
|
|
5320
6459
|
}
|
|
5321
6460
|
|
|
6461
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
6462
|
+
body["ResourceType"] = request.resourceType;
|
|
6463
|
+
}
|
|
6464
|
+
|
|
6465
|
+
if (!Util.isUnset(request.selfManagedResourceOptions)) {
|
|
6466
|
+
body["SelfManagedResourceOptions"] = request.selfManagedResourceOptions;
|
|
6467
|
+
}
|
|
6468
|
+
|
|
5322
6469
|
if (!Util.isUnset(request.systemDiskSize)) {
|
|
5323
6470
|
body["SystemDiskSize"] = request.systemDiskSize;
|
|
5324
6471
|
}
|
|
@@ -5458,6 +6605,10 @@ export default class Client extends OpenApi {
|
|
|
5458
6605
|
query["Labels"] = request.labelsShrink;
|
|
5459
6606
|
}
|
|
5460
6607
|
|
|
6608
|
+
if (!Util.isUnset(request.workspaceId)) {
|
|
6609
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
6610
|
+
}
|
|
6611
|
+
|
|
5461
6612
|
let req = new $OpenApi.OpenApiRequest({
|
|
5462
6613
|
headers: headers,
|
|
5463
6614
|
query: OpenApiUtil.query(query),
|
|
@@ -5620,6 +6771,65 @@ export default class Client extends OpenApi {
|
|
|
5620
6771
|
return await this.deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
5621
6772
|
}
|
|
5622
6773
|
|
|
6774
|
+
async deleteGatewayWithOptions(ClusterId: string, GatewayId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteGatewayResponse> {
|
|
6775
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6776
|
+
headers: headers,
|
|
6777
|
+
});
|
|
6778
|
+
let params = new $OpenApi.Params({
|
|
6779
|
+
action: "DeleteGateway",
|
|
6780
|
+
version: "2021-07-01",
|
|
6781
|
+
protocol: "HTTPS",
|
|
6782
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}`,
|
|
6783
|
+
method: "DELETE",
|
|
6784
|
+
authType: "AK",
|
|
6785
|
+
style: "ROA",
|
|
6786
|
+
reqBodyType: "json",
|
|
6787
|
+
bodyType: "json",
|
|
6788
|
+
});
|
|
6789
|
+
return $tea.cast<DeleteGatewayResponse>(await this.callApi(params, req, runtime), new DeleteGatewayResponse({}));
|
|
6790
|
+
}
|
|
6791
|
+
|
|
6792
|
+
async deleteGateway(ClusterId: string, GatewayId: string): Promise<DeleteGatewayResponse> {
|
|
6793
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6794
|
+
let headers : {[key: string ]: string} = { };
|
|
6795
|
+
return await this.deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
6796
|
+
}
|
|
6797
|
+
|
|
6798
|
+
async deleteGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
|
|
6799
|
+
Util.validateModel(request);
|
|
6800
|
+
let query : {[key: string ]: any} = { };
|
|
6801
|
+
if (!Util.isUnset(request.vSwitchId)) {
|
|
6802
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
6803
|
+
}
|
|
6804
|
+
|
|
6805
|
+
if (!Util.isUnset(request.vpcId)) {
|
|
6806
|
+
query["VpcId"] = request.vpcId;
|
|
6807
|
+
}
|
|
6808
|
+
|
|
6809
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6810
|
+
headers: headers,
|
|
6811
|
+
query: OpenApiUtil.query(query),
|
|
6812
|
+
});
|
|
6813
|
+
let params = new $OpenApi.Params({
|
|
6814
|
+
action: "DeleteGatewayIntranetLinkedVpc",
|
|
6815
|
+
version: "2021-07-01",
|
|
6816
|
+
protocol: "HTTPS",
|
|
6817
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc`,
|
|
6818
|
+
method: "DELETE",
|
|
6819
|
+
authType: "AK",
|
|
6820
|
+
style: "ROA",
|
|
6821
|
+
reqBodyType: "json",
|
|
6822
|
+
bodyType: "json",
|
|
6823
|
+
});
|
|
6824
|
+
return $tea.cast<DeleteGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
|
|
6825
|
+
}
|
|
6826
|
+
|
|
6827
|
+
async deleteGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
|
|
6828
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6829
|
+
let headers : {[key: string ]: string} = { };
|
|
6830
|
+
return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
6831
|
+
}
|
|
6832
|
+
|
|
5623
6833
|
async deleteResourceWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteResourceResponse> {
|
|
5624
6834
|
let req = new $OpenApi.OpenApiRequest({
|
|
5625
6835
|
headers: headers,
|
|
@@ -5954,6 +7164,30 @@ export default class Client extends OpenApi {
|
|
|
5954
7164
|
return await this.describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
5955
7165
|
}
|
|
5956
7166
|
|
|
7167
|
+
async describeGatewayWithOptions(ClusterId: string, GatewayId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeGatewayResponse> {
|
|
7168
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7169
|
+
headers: headers,
|
|
7170
|
+
});
|
|
7171
|
+
let params = new $OpenApi.Params({
|
|
7172
|
+
action: "DescribeGateway",
|
|
7173
|
+
version: "2021-07-01",
|
|
7174
|
+
protocol: "HTTPS",
|
|
7175
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}`,
|
|
7176
|
+
method: "GET",
|
|
7177
|
+
authType: "AK",
|
|
7178
|
+
style: "ROA",
|
|
7179
|
+
reqBodyType: "json",
|
|
7180
|
+
bodyType: "json",
|
|
7181
|
+
});
|
|
7182
|
+
return $tea.cast<DescribeGatewayResponse>(await this.callApi(params, req, runtime), new DescribeGatewayResponse({}));
|
|
7183
|
+
}
|
|
7184
|
+
|
|
7185
|
+
async describeGateway(ClusterId: string, GatewayId: string): Promise<DescribeGatewayResponse> {
|
|
7186
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7187
|
+
let headers : {[key: string ]: string} = { };
|
|
7188
|
+
return await this.describeGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
7189
|
+
}
|
|
7190
|
+
|
|
5957
7191
|
async describeGroupWithOptions(ClusterId: string, GroupName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeGroupResponse> {
|
|
5958
7192
|
let req = new $OpenApi.OpenApiRequest({
|
|
5959
7193
|
headers: headers,
|
|
@@ -6382,6 +7616,30 @@ export default class Client extends OpenApi {
|
|
|
6382
7616
|
return await this.listBenchmarkTaskWithOptions(request, headers, runtime);
|
|
6383
7617
|
}
|
|
6384
7618
|
|
|
7619
|
+
async listGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListGatewayIntranetLinkedVpcResponse> {
|
|
7620
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7621
|
+
headers: headers,
|
|
7622
|
+
});
|
|
7623
|
+
let params = new $OpenApi.Params({
|
|
7624
|
+
action: "ListGatewayIntranetLinkedVpc",
|
|
7625
|
+
version: "2021-07-01",
|
|
7626
|
+
protocol: "HTTPS",
|
|
7627
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc`,
|
|
7628
|
+
method: "GET",
|
|
7629
|
+
authType: "AK",
|
|
7630
|
+
style: "ROA",
|
|
7631
|
+
reqBodyType: "json",
|
|
7632
|
+
bodyType: "json",
|
|
7633
|
+
});
|
|
7634
|
+
return $tea.cast<ListGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcResponse({}));
|
|
7635
|
+
}
|
|
7636
|
+
|
|
7637
|
+
async listGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string): Promise<ListGatewayIntranetLinkedVpcResponse> {
|
|
7638
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7639
|
+
let headers : {[key: string ]: string} = { };
|
|
7640
|
+
return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
7641
|
+
}
|
|
7642
|
+
|
|
6385
7643
|
async listGroupsWithOptions(request: ListGroupsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListGroupsResponse> {
|
|
6386
7644
|
Util.validateModel(request);
|
|
6387
7645
|
let query : {[key: string ]: any} = { };
|
|
@@ -6397,6 +7655,10 @@ export default class Client extends OpenApi {
|
|
|
6397
7655
|
query["PageSize"] = request.pageSize;
|
|
6398
7656
|
}
|
|
6399
7657
|
|
|
7658
|
+
if (!Util.isUnset(request.workspaceId)) {
|
|
7659
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
7660
|
+
}
|
|
7661
|
+
|
|
6400
7662
|
let req = new $OpenApi.OpenApiRequest({
|
|
6401
7663
|
headers: headers,
|
|
6402
7664
|
query: OpenApiUtil.query(query),
|
|
@@ -6577,6 +7839,10 @@ export default class Client extends OpenApi {
|
|
|
6577
7839
|
query["ResourceName"] = request.resourceName;
|
|
6578
7840
|
}
|
|
6579
7841
|
|
|
7842
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
7843
|
+
query["ResourceType"] = request.resourceType;
|
|
7844
|
+
}
|
|
7845
|
+
|
|
6580
7846
|
let req = new $OpenApi.OpenApiRequest({
|
|
6581
7847
|
headers: headers,
|
|
6582
7848
|
query: OpenApiUtil.query(query),
|
|
@@ -6800,6 +8066,10 @@ export default class Client extends OpenApi {
|
|
|
6800
8066
|
query["Sort"] = request.sort;
|
|
6801
8067
|
}
|
|
6802
8068
|
|
|
8069
|
+
if (!Util.isUnset(request.workspaceId)) {
|
|
8070
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
8071
|
+
}
|
|
8072
|
+
|
|
6803
8073
|
let req = new $OpenApi.OpenApiRequest({
|
|
6804
8074
|
headers: headers,
|
|
6805
8075
|
query: OpenApiUtil.query(query),
|
|
@@ -6979,6 +8249,63 @@ export default class Client extends OpenApi {
|
|
|
6979
8249
|
return await this.stopServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6980
8250
|
}
|
|
6981
8251
|
|
|
8252
|
+
async updateAppServiceWithOptions(ClusterId: string, ServiceName: string, request: UpdateAppServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateAppServiceResponse> {
|
|
8253
|
+
Util.validateModel(request);
|
|
8254
|
+
let query : {[key: string ]: any} = { };
|
|
8255
|
+
if (!Util.isUnset(request.quotaId)) {
|
|
8256
|
+
query["QuotaId"] = request.quotaId;
|
|
8257
|
+
}
|
|
8258
|
+
|
|
8259
|
+
if (!Util.isUnset(request.workspaceId)) {
|
|
8260
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
8261
|
+
}
|
|
8262
|
+
|
|
8263
|
+
let body : {[key: string ]: any} = { };
|
|
8264
|
+
if (!Util.isUnset(request.appType)) {
|
|
8265
|
+
body["AppType"] = request.appType;
|
|
8266
|
+
}
|
|
8267
|
+
|
|
8268
|
+
if (!Util.isUnset(request.appVersion)) {
|
|
8269
|
+
body["AppVersion"] = request.appVersion;
|
|
8270
|
+
}
|
|
8271
|
+
|
|
8272
|
+
if (!Util.isUnset(request.config)) {
|
|
8273
|
+
body["Config"] = request.config;
|
|
8274
|
+
}
|
|
8275
|
+
|
|
8276
|
+
if (!Util.isUnset(request.replicas)) {
|
|
8277
|
+
body["Replicas"] = request.replicas;
|
|
8278
|
+
}
|
|
8279
|
+
|
|
8280
|
+
if (!Util.isUnset(request.serviceSpec)) {
|
|
8281
|
+
body["ServiceSpec"] = request.serviceSpec;
|
|
8282
|
+
}
|
|
8283
|
+
|
|
8284
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8285
|
+
headers: headers,
|
|
8286
|
+
query: OpenApiUtil.query(query),
|
|
8287
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8288
|
+
});
|
|
8289
|
+
let params = new $OpenApi.Params({
|
|
8290
|
+
action: "UpdateAppService",
|
|
8291
|
+
version: "2021-07-01",
|
|
8292
|
+
protocol: "HTTPS",
|
|
8293
|
+
pathname: `/api/v2/app_services/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(ServiceName)}`,
|
|
8294
|
+
method: "PUT",
|
|
8295
|
+
authType: "AK",
|
|
8296
|
+
style: "ROA",
|
|
8297
|
+
reqBodyType: "json",
|
|
8298
|
+
bodyType: "json",
|
|
8299
|
+
});
|
|
8300
|
+
return $tea.cast<UpdateAppServiceResponse>(await this.callApi(params, req, runtime), new UpdateAppServiceResponse({}));
|
|
8301
|
+
}
|
|
8302
|
+
|
|
8303
|
+
async updateAppService(ClusterId: string, ServiceName: string, request: UpdateAppServiceRequest): Promise<UpdateAppServiceResponse> {
|
|
8304
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8305
|
+
let headers : {[key: string ]: string} = { };
|
|
8306
|
+
return await this.updateAppServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8307
|
+
}
|
|
8308
|
+
|
|
6982
8309
|
async updateBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateBenchmarkTaskResponse> {
|
|
6983
8310
|
Util.validateModel(request);
|
|
6984
8311
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -7005,6 +8332,49 @@ export default class Client extends OpenApi {
|
|
|
7005
8332
|
return await this.updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
7006
8333
|
}
|
|
7007
8334
|
|
|
8335
|
+
async updateGatewayWithOptions(GatewayId: string, ClusterId: string, request: UpdateGatewayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateGatewayResponse> {
|
|
8336
|
+
Util.validateModel(request);
|
|
8337
|
+
let body : {[key: string ]: any} = { };
|
|
8338
|
+
if (!Util.isUnset(request.enableInternet)) {
|
|
8339
|
+
body["EnableInternet"] = request.enableInternet;
|
|
8340
|
+
}
|
|
8341
|
+
|
|
8342
|
+
if (!Util.isUnset(request.enableIntranet)) {
|
|
8343
|
+
body["EnableIntranet"] = request.enableIntranet;
|
|
8344
|
+
}
|
|
8345
|
+
|
|
8346
|
+
if (!Util.isUnset(request.instanceType)) {
|
|
8347
|
+
body["InstanceType"] = request.instanceType;
|
|
8348
|
+
}
|
|
8349
|
+
|
|
8350
|
+
if (!Util.isUnset(request.name)) {
|
|
8351
|
+
body["Name"] = request.name;
|
|
8352
|
+
}
|
|
8353
|
+
|
|
8354
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8355
|
+
headers: headers,
|
|
8356
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8357
|
+
});
|
|
8358
|
+
let params = new $OpenApi.Params({
|
|
8359
|
+
action: "UpdateGateway",
|
|
8360
|
+
version: "2021-07-01",
|
|
8361
|
+
protocol: "HTTPS",
|
|
8362
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}`,
|
|
8363
|
+
method: "PUT",
|
|
8364
|
+
authType: "AK",
|
|
8365
|
+
style: "ROA",
|
|
8366
|
+
reqBodyType: "json",
|
|
8367
|
+
bodyType: "json",
|
|
8368
|
+
});
|
|
8369
|
+
return $tea.cast<UpdateGatewayResponse>(await this.callApi(params, req, runtime), new UpdateGatewayResponse({}));
|
|
8370
|
+
}
|
|
8371
|
+
|
|
8372
|
+
async updateGateway(GatewayId: string, ClusterId: string, request: UpdateGatewayRequest): Promise<UpdateGatewayResponse> {
|
|
8373
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8374
|
+
let headers : {[key: string ]: string} = { };
|
|
8375
|
+
return await this.updateGatewayWithOptions(GatewayId, ClusterId, request, headers, runtime);
|
|
8376
|
+
}
|
|
8377
|
+
|
|
7008
8378
|
async updateResourceWithOptions(ClusterId: string, ResourceId: string, request: UpdateResourceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateResourceResponse> {
|
|
7009
8379
|
Util.validateModel(request);
|
|
7010
8380
|
let body : {[key: string ]: any} = { };
|
|
@@ -7012,6 +8382,10 @@ export default class Client extends OpenApi {
|
|
|
7012
8382
|
body["ResourceName"] = request.resourceName;
|
|
7013
8383
|
}
|
|
7014
8384
|
|
|
8385
|
+
if (!Util.isUnset(request.selfManagedResourceOptions)) {
|
|
8386
|
+
body["SelfManagedResourceOptions"] = request.selfManagedResourceOptions;
|
|
8387
|
+
}
|
|
8388
|
+
|
|
7015
8389
|
let req = new $OpenApi.OpenApiRequest({
|
|
7016
8390
|
headers: headers,
|
|
7017
8391
|
body: OpenApiUtil.parseToMap(body),
|
|
@@ -7214,6 +8588,37 @@ export default class Client extends OpenApi {
|
|
|
7214
8588
|
return await this.updateServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7215
8589
|
}
|
|
7216
8590
|
|
|
8591
|
+
async updateServiceInstanceWithOptions(ClusterId: string, ServiceName: string, InstanceName: string, request: UpdateServiceInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceInstanceResponse> {
|
|
8592
|
+
Util.validateModel(request);
|
|
8593
|
+
let body : {[key: string ]: any} = { };
|
|
8594
|
+
if (!Util.isUnset(request.isolate)) {
|
|
8595
|
+
body["Isolate"] = request.isolate;
|
|
8596
|
+
}
|
|
8597
|
+
|
|
8598
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8599
|
+
headers: headers,
|
|
8600
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8601
|
+
});
|
|
8602
|
+
let params = new $OpenApi.Params({
|
|
8603
|
+
action: "UpdateServiceInstance",
|
|
8604
|
+
version: "2021-07-01",
|
|
8605
|
+
protocol: "HTTPS",
|
|
8606
|
+
pathname: `/api/v2/services/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(ServiceName)}/instances/${OpenApiUtil.getEncodeParam(InstanceName)}`,
|
|
8607
|
+
method: "PUT",
|
|
8608
|
+
authType: "AK",
|
|
8609
|
+
style: "ROA",
|
|
8610
|
+
reqBodyType: "json",
|
|
8611
|
+
bodyType: "json",
|
|
8612
|
+
});
|
|
8613
|
+
return $tea.cast<UpdateServiceInstanceResponse>(await this.callApi(params, req, runtime), new UpdateServiceInstanceResponse({}));
|
|
8614
|
+
}
|
|
8615
|
+
|
|
8616
|
+
async updateServiceInstance(ClusterId: string, ServiceName: string, InstanceName: string, request: UpdateServiceInstanceRequest): Promise<UpdateServiceInstanceResponse> {
|
|
8617
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8618
|
+
let headers : {[key: string ]: string} = { };
|
|
8619
|
+
return await this.updateServiceInstanceWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime);
|
|
8620
|
+
}
|
|
8621
|
+
|
|
7217
8622
|
async updateServiceLabelWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceLabelRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceLabelResponse> {
|
|
7218
8623
|
Util.validateModel(request);
|
|
7219
8624
|
let body : {[key: string ]: any} = { };
|