@alicloud/eas20210701 5.1.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +310 -35
- package/dist/client.js +42 -19
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +327 -37
package/src/client.ts
CHANGED
|
@@ -578,6 +578,10 @@ export class Service extends $tea.Model {
|
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
export class CloneServiceRequest extends $tea.Model {
|
|
581
|
+
/**
|
|
582
|
+
* @remarks
|
|
583
|
+
* The label of the service to be cloned.
|
|
584
|
+
*/
|
|
581
585
|
labels?: { [key: string]: string };
|
|
582
586
|
/**
|
|
583
587
|
* @remarks
|
|
@@ -607,6 +611,10 @@ export class CloneServiceRequest extends $tea.Model {
|
|
|
607
611
|
}
|
|
608
612
|
|
|
609
613
|
export class CloneServiceShrinkRequest extends $tea.Model {
|
|
614
|
+
/**
|
|
615
|
+
* @remarks
|
|
616
|
+
* The label of the service to be cloned.
|
|
617
|
+
*/
|
|
610
618
|
labelsShrink?: string;
|
|
611
619
|
/**
|
|
612
620
|
* @remarks
|
|
@@ -798,8 +806,15 @@ export class CommitServiceResponse extends $tea.Model {
|
|
|
798
806
|
}
|
|
799
807
|
|
|
800
808
|
export class CreateAclPolicyRequest extends $tea.Model {
|
|
809
|
+
/**
|
|
810
|
+
* @remarks
|
|
811
|
+
* The whitelisted IP CIDR blocks in the VPC that can access the private gateway.
|
|
812
|
+
*/
|
|
801
813
|
aclPolicyList?: CreateAclPolicyRequestAclPolicyList[];
|
|
802
814
|
/**
|
|
815
|
+
* @remarks
|
|
816
|
+
* The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.
|
|
817
|
+
*
|
|
803
818
|
* @example
|
|
804
819
|
* vpc-uf66uio7md****
|
|
805
820
|
*/
|
|
@@ -824,8 +839,15 @@ export class CreateAclPolicyRequest extends $tea.Model {
|
|
|
824
839
|
}
|
|
825
840
|
|
|
826
841
|
export class CreateAclPolicyShrinkRequest extends $tea.Model {
|
|
842
|
+
/**
|
|
843
|
+
* @remarks
|
|
844
|
+
* The whitelisted IP CIDR blocks in the VPC that can access the private gateway.
|
|
845
|
+
*/
|
|
827
846
|
aclPolicyListShrink?: string;
|
|
828
847
|
/**
|
|
848
|
+
* @remarks
|
|
849
|
+
* The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.
|
|
850
|
+
*
|
|
829
851
|
* @example
|
|
830
852
|
* vpc-uf66uio7md****
|
|
831
853
|
*/
|
|
@@ -851,16 +873,25 @@ export class CreateAclPolicyShrinkRequest extends $tea.Model {
|
|
|
851
873
|
|
|
852
874
|
export class CreateAclPolicyResponseBody extends $tea.Model {
|
|
853
875
|
/**
|
|
876
|
+
* @remarks
|
|
877
|
+
* The private gateway ID.
|
|
878
|
+
*
|
|
854
879
|
* @example
|
|
855
880
|
* gw-1uhcqmsc7x22******
|
|
856
881
|
*/
|
|
857
882
|
gatewayId?: string;
|
|
858
883
|
/**
|
|
884
|
+
* @remarks
|
|
885
|
+
* The returned message.
|
|
886
|
+
*
|
|
859
887
|
* @example
|
|
860
888
|
* Successfully add acl policy for gateway
|
|
861
889
|
*/
|
|
862
890
|
message?: string;
|
|
863
891
|
/**
|
|
892
|
+
* @remarks
|
|
893
|
+
* The request ID.
|
|
894
|
+
*
|
|
864
895
|
* @example
|
|
865
896
|
* 40325405-579C-4D82****
|
|
866
897
|
*/
|
|
@@ -1269,7 +1300,7 @@ export class CreateBenchmarkTaskResponse extends $tea.Model {
|
|
|
1269
1300
|
export class CreateGatewayRequest extends $tea.Model {
|
|
1270
1301
|
/**
|
|
1271
1302
|
* @remarks
|
|
1272
|
-
* The
|
|
1303
|
+
* The resource group ID. To obtain a resource group ID, see the ResourceId field in the response of the [ListResources](https://help.aliyun.com/document_detail/412133.html) operation.
|
|
1273
1304
|
*
|
|
1274
1305
|
* @example
|
|
1275
1306
|
* eas-r-4gt8twzwllfo******
|
|
@@ -1282,28 +1313,20 @@ export class CreateGatewayRequest extends $tea.Model {
|
|
|
1282
1313
|
* Valid values:
|
|
1283
1314
|
*
|
|
1284
1315
|
* * true
|
|
1285
|
-
*
|
|
1286
|
-
* <!-- -->
|
|
1287
|
-
*
|
|
1288
|
-
* <!-- -->
|
|
1289
|
-
*
|
|
1290
|
-
* <!-- -->
|
|
1291
|
-
*
|
|
1292
1316
|
* * false
|
|
1293
1317
|
*
|
|
1294
|
-
* <!-- -->
|
|
1295
|
-
*
|
|
1296
|
-
* <!-- -->
|
|
1297
|
-
*
|
|
1298
|
-
* <!-- -->
|
|
1299
|
-
*
|
|
1300
1318
|
* @example
|
|
1301
1319
|
* false
|
|
1302
1320
|
*/
|
|
1303
1321
|
enableInternet?: boolean;
|
|
1304
1322
|
/**
|
|
1305
1323
|
* @remarks
|
|
1306
|
-
* Specifies whether to enable
|
|
1324
|
+
* Specifies whether to enable private access. Default value: true.
|
|
1325
|
+
*
|
|
1326
|
+
* Valid values:
|
|
1327
|
+
*
|
|
1328
|
+
* * true
|
|
1329
|
+
* * false
|
|
1307
1330
|
*
|
|
1308
1331
|
* @example
|
|
1309
1332
|
* true
|
|
@@ -1311,7 +1334,12 @@ export class CreateGatewayRequest extends $tea.Model {
|
|
|
1311
1334
|
enableIntranet?: boolean;
|
|
1312
1335
|
/**
|
|
1313
1336
|
* @remarks
|
|
1314
|
-
* The instance type used
|
|
1337
|
+
* The instance type used by the private gateway. Valid values:
|
|
1338
|
+
*
|
|
1339
|
+
* * 2c4g
|
|
1340
|
+
* * 4c8g
|
|
1341
|
+
* * 8c16g
|
|
1342
|
+
* * 16c32g
|
|
1315
1343
|
*
|
|
1316
1344
|
* This parameter is required.
|
|
1317
1345
|
*
|
|
@@ -1321,12 +1349,19 @@ export class CreateGatewayRequest extends $tea.Model {
|
|
|
1321
1349
|
instanceType?: string;
|
|
1322
1350
|
/**
|
|
1323
1351
|
* @remarks
|
|
1324
|
-
* The private gateway
|
|
1352
|
+
* The alias of the private gateway.
|
|
1325
1353
|
*
|
|
1326
1354
|
* @example
|
|
1327
1355
|
* mygateway1
|
|
1328
1356
|
*/
|
|
1329
1357
|
name?: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* @remarks
|
|
1360
|
+
* The number of nodes in the private gateway.
|
|
1361
|
+
*
|
|
1362
|
+
* @example
|
|
1363
|
+
* 2
|
|
1364
|
+
*/
|
|
1330
1365
|
replicas?: number;
|
|
1331
1366
|
static names(): { [key: string]: string } {
|
|
1332
1367
|
return {
|
|
@@ -2716,8 +2751,15 @@ export class CreateServiceMirrorResponse extends $tea.Model {
|
|
|
2716
2751
|
}
|
|
2717
2752
|
|
|
2718
2753
|
export class DeleteAclPolicyRequest extends $tea.Model {
|
|
2754
|
+
/**
|
|
2755
|
+
* @remarks
|
|
2756
|
+
* The whitelisted IP CIDR blocks in the VPC that can access the private gateway.
|
|
2757
|
+
*/
|
|
2719
2758
|
aclPolicyList?: DeleteAclPolicyRequestAclPolicyList[];
|
|
2720
2759
|
/**
|
|
2760
|
+
* @remarks
|
|
2761
|
+
* The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.
|
|
2762
|
+
*
|
|
2721
2763
|
* @example
|
|
2722
2764
|
* vpc-uf66uio7md****
|
|
2723
2765
|
*/
|
|
@@ -2742,8 +2784,15 @@ export class DeleteAclPolicyRequest extends $tea.Model {
|
|
|
2742
2784
|
}
|
|
2743
2785
|
|
|
2744
2786
|
export class DeleteAclPolicyShrinkRequest extends $tea.Model {
|
|
2787
|
+
/**
|
|
2788
|
+
* @remarks
|
|
2789
|
+
* The whitelisted IP CIDR blocks in the VPC that can access the private gateway.
|
|
2790
|
+
*/
|
|
2745
2791
|
aclPolicyListShrink?: string;
|
|
2746
2792
|
/**
|
|
2793
|
+
* @remarks
|
|
2794
|
+
* The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.
|
|
2795
|
+
*
|
|
2747
2796
|
* @example
|
|
2748
2797
|
* vpc-uf66uio7md****
|
|
2749
2798
|
*/
|
|
@@ -2769,16 +2818,25 @@ export class DeleteAclPolicyShrinkRequest extends $tea.Model {
|
|
|
2769
2818
|
|
|
2770
2819
|
export class DeleteAclPolicyResponseBody extends $tea.Model {
|
|
2771
2820
|
/**
|
|
2821
|
+
* @remarks
|
|
2822
|
+
* The private gateway ID.
|
|
2823
|
+
*
|
|
2772
2824
|
* @example
|
|
2773
2825
|
* gw-1uhcqmsc7x22******
|
|
2774
2826
|
*/
|
|
2775
2827
|
gatewayId?: string;
|
|
2776
2828
|
/**
|
|
2829
|
+
* @remarks
|
|
2830
|
+
* The returned message.
|
|
2831
|
+
*
|
|
2777
2832
|
* @example
|
|
2778
2833
|
* Successfully delete acl policy for gateway
|
|
2779
2834
|
*/
|
|
2780
2835
|
message?: string;
|
|
2781
2836
|
/**
|
|
2837
|
+
* @remarks
|
|
2838
|
+
* The request ID.
|
|
2839
|
+
*
|
|
2782
2840
|
* @example
|
|
2783
2841
|
* 40325405-579C-4D82****
|
|
2784
2842
|
*/
|
|
@@ -4229,7 +4287,7 @@ export class DescribeGatewayResponseBody extends $tea.Model {
|
|
|
4229
4287
|
gatewayId?: string;
|
|
4230
4288
|
/**
|
|
4231
4289
|
* @remarks
|
|
4232
|
-
* The private gateway
|
|
4290
|
+
* The alias of the private gateway.
|
|
4233
4291
|
*
|
|
4234
4292
|
* @example
|
|
4235
4293
|
* mygateway1
|
|
@@ -4237,7 +4295,14 @@ export class DescribeGatewayResponseBody extends $tea.Model {
|
|
|
4237
4295
|
gatewayName?: string;
|
|
4238
4296
|
/**
|
|
4239
4297
|
* @remarks
|
|
4240
|
-
* The instance type used
|
|
4298
|
+
* The instance type used by the private gateway.
|
|
4299
|
+
*
|
|
4300
|
+
* Valid values:
|
|
4301
|
+
*
|
|
4302
|
+
* * 8c16g
|
|
4303
|
+
* * 4c8g
|
|
4304
|
+
* * 2c4g
|
|
4305
|
+
* * 16c32g
|
|
4241
4306
|
*
|
|
4242
4307
|
* @example
|
|
4243
4308
|
* ecs.c6.4xlarge
|
|
@@ -4259,6 +4324,21 @@ export class DescribeGatewayResponseBody extends $tea.Model {
|
|
|
4259
4324
|
* true
|
|
4260
4325
|
*/
|
|
4261
4326
|
internetEnabled?: boolean;
|
|
4327
|
+
/**
|
|
4328
|
+
* @remarks
|
|
4329
|
+
* Indicates whether Internet access is enabled.
|
|
4330
|
+
*
|
|
4331
|
+
* Valid values:
|
|
4332
|
+
*
|
|
4333
|
+
* * Creating: Internet access is being enabled.
|
|
4334
|
+
* * Failed: Internet access failed to be enabled or deleted.
|
|
4335
|
+
* * Running: Internet access is running.
|
|
4336
|
+
* * Deleted: Internet access is deleted.
|
|
4337
|
+
* * Deleting: Internet access is being deleted.
|
|
4338
|
+
*
|
|
4339
|
+
* @example
|
|
4340
|
+
* Running
|
|
4341
|
+
*/
|
|
4262
4342
|
internetStatus?: string;
|
|
4263
4343
|
/**
|
|
4264
4344
|
* @remarks
|
|
@@ -4268,7 +4348,21 @@ export class DescribeGatewayResponseBody extends $tea.Model {
|
|
|
4268
4348
|
* gw-1uhcqmsc7x22******-1801786532******-vpc.cn-hangzhou.pai-eas.aliyuncs.com
|
|
4269
4349
|
*/
|
|
4270
4350
|
intranetDomain?: string;
|
|
4351
|
+
/**
|
|
4352
|
+
* @remarks
|
|
4353
|
+
* Indicates whether it is the default private gateway.
|
|
4354
|
+
*
|
|
4355
|
+
* @example
|
|
4356
|
+
* true
|
|
4357
|
+
*/
|
|
4271
4358
|
isDefault?: boolean;
|
|
4359
|
+
/**
|
|
4360
|
+
* @remarks
|
|
4361
|
+
* The number of nodes in the private gateway.
|
|
4362
|
+
*
|
|
4363
|
+
* @example
|
|
4364
|
+
* 2
|
|
4365
|
+
*/
|
|
4272
4366
|
replicas?: number;
|
|
4273
4367
|
/**
|
|
4274
4368
|
* @remarks
|
|
@@ -4280,7 +4374,17 @@ export class DescribeGatewayResponseBody extends $tea.Model {
|
|
|
4280
4374
|
requestId?: string;
|
|
4281
4375
|
/**
|
|
4282
4376
|
* @remarks
|
|
4283
|
-
* The
|
|
4377
|
+
* The status of the private gateway.
|
|
4378
|
+
*
|
|
4379
|
+
* Valid values:
|
|
4380
|
+
*
|
|
4381
|
+
* * Creating
|
|
4382
|
+
* * Stopped
|
|
4383
|
+
* * Failed
|
|
4384
|
+
* * Running
|
|
4385
|
+
* * Deleted
|
|
4386
|
+
* * Deleting
|
|
4387
|
+
* * Waiting
|
|
4284
4388
|
*
|
|
4285
4389
|
* @example
|
|
4286
4390
|
* PrivateGatewayRunning
|
|
@@ -5755,6 +5859,9 @@ export class DevelopServiceResponse extends $tea.Model {
|
|
|
5755
5859
|
|
|
5756
5860
|
export class ListAclPolicyRequest extends $tea.Model {
|
|
5757
5861
|
/**
|
|
5862
|
+
* @remarks
|
|
5863
|
+
* The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.
|
|
5864
|
+
*
|
|
5758
5865
|
* @example
|
|
5759
5866
|
* vpc-uf66uio7md****
|
|
5760
5867
|
*/
|
|
@@ -5778,13 +5885,27 @@ export class ListAclPolicyRequest extends $tea.Model {
|
|
|
5778
5885
|
|
|
5779
5886
|
export class ListAclPolicyResponseBody extends $tea.Model {
|
|
5780
5887
|
/**
|
|
5888
|
+
* @remarks
|
|
5889
|
+
* The private gateway ID.
|
|
5890
|
+
*
|
|
5781
5891
|
* @example
|
|
5782
5892
|
* gw-1uhcqmsc7x22******
|
|
5783
5893
|
*/
|
|
5784
5894
|
gatewayId?: string;
|
|
5895
|
+
/**
|
|
5896
|
+
* @remarks
|
|
5897
|
+
* The access control policies of the private gateway over the Internet.
|
|
5898
|
+
*/
|
|
5785
5899
|
internetAclPolicyList?: ListAclPolicyResponseBodyInternetAclPolicyList[];
|
|
5900
|
+
/**
|
|
5901
|
+
* @remarks
|
|
5902
|
+
* The access control policies of the private gateway over the internal network.
|
|
5903
|
+
*/
|
|
5786
5904
|
intranetVpcAclPolicyList?: ListAclPolicyResponseBodyIntranetVpcAclPolicyList[];
|
|
5787
5905
|
/**
|
|
5906
|
+
* @remarks
|
|
5907
|
+
* The request ID.
|
|
5908
|
+
*
|
|
5788
5909
|
* @example
|
|
5789
5910
|
* 40325405-579C-4D82****
|
|
5790
5911
|
*/
|
|
@@ -5983,21 +6104,33 @@ export class ListBenchmarkTaskResponse extends $tea.Model {
|
|
|
5983
6104
|
|
|
5984
6105
|
export class ListGatewayRequest extends $tea.Model {
|
|
5985
6106
|
/**
|
|
6107
|
+
* @remarks
|
|
6108
|
+
* The private gateway ID. To obtain the private gateway ID, see the private_gateway_id parameter in the response parameters of the ListResources operation.
|
|
6109
|
+
*
|
|
5986
6110
|
* @example
|
|
5987
6111
|
* gw-1uhcqmsc7x22******
|
|
5988
6112
|
*/
|
|
5989
6113
|
gatewayId?: string;
|
|
5990
6114
|
/**
|
|
6115
|
+
* @remarks
|
|
6116
|
+
* The private gateway alias.
|
|
6117
|
+
*
|
|
5991
6118
|
* @example
|
|
5992
6119
|
* mygateway1
|
|
5993
6120
|
*/
|
|
5994
6121
|
gatewayName?: string;
|
|
5995
6122
|
/**
|
|
6123
|
+
* @remarks
|
|
6124
|
+
* The page number. Default value: 1.
|
|
6125
|
+
*
|
|
5996
6126
|
* @example
|
|
5997
6127
|
* 1
|
|
5998
6128
|
*/
|
|
5999
6129
|
pageNumber?: number;
|
|
6000
6130
|
/**
|
|
6131
|
+
* @remarks
|
|
6132
|
+
* The number of entries per page. Default value: 100.
|
|
6133
|
+
*
|
|
6001
6134
|
* @example
|
|
6002
6135
|
* 100
|
|
6003
6136
|
*/
|
|
@@ -6026,23 +6159,39 @@ export class ListGatewayRequest extends $tea.Model {
|
|
|
6026
6159
|
}
|
|
6027
6160
|
|
|
6028
6161
|
export class ListGatewayResponseBody extends $tea.Model {
|
|
6162
|
+
/**
|
|
6163
|
+
* @remarks
|
|
6164
|
+
* The private gateways.
|
|
6165
|
+
*/
|
|
6029
6166
|
gateways?: ListGatewayResponseBodyGateways[];
|
|
6030
6167
|
/**
|
|
6168
|
+
* @remarks
|
|
6169
|
+
* The page number.
|
|
6170
|
+
*
|
|
6031
6171
|
* @example
|
|
6032
6172
|
* 1
|
|
6033
6173
|
*/
|
|
6034
6174
|
pageNumber?: number;
|
|
6035
6175
|
/**
|
|
6176
|
+
* @remarks
|
|
6177
|
+
* The number of entries per page.
|
|
6178
|
+
*
|
|
6036
6179
|
* @example
|
|
6037
6180
|
* 100
|
|
6038
6181
|
*/
|
|
6039
6182
|
pageSize?: number;
|
|
6040
6183
|
/**
|
|
6184
|
+
* @remarks
|
|
6185
|
+
* The request ID.
|
|
6186
|
+
*
|
|
6041
6187
|
* @example
|
|
6042
6188
|
* 40325405-579C-4D82****
|
|
6043
6189
|
*/
|
|
6044
6190
|
requestId?: string;
|
|
6045
6191
|
/**
|
|
6192
|
+
* @remarks
|
|
6193
|
+
* The total number of private gateways returned.
|
|
6194
|
+
*
|
|
6046
6195
|
* @example
|
|
6047
6196
|
* 5
|
|
6048
6197
|
*/
|
|
@@ -7716,6 +7865,7 @@ export class ListServicesRequest extends $tea.Model {
|
|
|
7716
7865
|
* eas-r-hd0qwy8cxxxx
|
|
7717
7866
|
*/
|
|
7718
7867
|
resourceName?: string;
|
|
7868
|
+
role?: string;
|
|
7719
7869
|
/**
|
|
7720
7870
|
* @remarks
|
|
7721
7871
|
* The service name.
|
|
@@ -7961,6 +8111,7 @@ export class ListServicesRequest extends $tea.Model {
|
|
|
7961
8111
|
parentServiceUid: 'ParentServiceUid',
|
|
7962
8112
|
quotaId: 'QuotaId',
|
|
7963
8113
|
resourceName: 'ResourceName',
|
|
8114
|
+
role: 'Role',
|
|
7964
8115
|
serviceName: 'ServiceName',
|
|
7965
8116
|
serviceStatus: 'ServiceStatus',
|
|
7966
8117
|
serviceType: 'ServiceType',
|
|
@@ -7982,6 +8133,7 @@ export class ListServicesRequest extends $tea.Model {
|
|
|
7982
8133
|
parentServiceUid: 'string',
|
|
7983
8134
|
quotaId: 'string',
|
|
7984
8135
|
resourceName: 'string',
|
|
8136
|
+
role: 'string',
|
|
7985
8137
|
serviceName: 'string',
|
|
7986
8138
|
serviceStatus: 'string',
|
|
7987
8139
|
serviceType: 'string',
|
|
@@ -8077,6 +8229,7 @@ export class ListServicesShrinkRequest extends $tea.Model {
|
|
|
8077
8229
|
* eas-r-hd0qwy8cxxxx
|
|
8078
8230
|
*/
|
|
8079
8231
|
resourceName?: string;
|
|
8232
|
+
role?: string;
|
|
8080
8233
|
/**
|
|
8081
8234
|
* @remarks
|
|
8082
8235
|
* The service name.
|
|
@@ -8322,6 +8475,7 @@ export class ListServicesShrinkRequest extends $tea.Model {
|
|
|
8322
8475
|
parentServiceUid: 'ParentServiceUid',
|
|
8323
8476
|
quotaId: 'QuotaId',
|
|
8324
8477
|
resourceName: 'ResourceName',
|
|
8478
|
+
role: 'Role',
|
|
8325
8479
|
serviceName: 'ServiceName',
|
|
8326
8480
|
serviceStatus: 'ServiceStatus',
|
|
8327
8481
|
serviceType: 'ServiceType',
|
|
@@ -8343,6 +8497,7 @@ export class ListServicesShrinkRequest extends $tea.Model {
|
|
|
8343
8497
|
parentServiceUid: 'string',
|
|
8344
8498
|
quotaId: 'string',
|
|
8345
8499
|
resourceName: 'string',
|
|
8500
|
+
role: 'string',
|
|
8346
8501
|
serviceName: 'string',
|
|
8347
8502
|
serviceStatus: 'string',
|
|
8348
8503
|
serviceType: 'string',
|
|
@@ -8446,8 +8601,15 @@ export class ListServicesResponse extends $tea.Model {
|
|
|
8446
8601
|
}
|
|
8447
8602
|
|
|
8448
8603
|
export class ListTenantAddonsResponseBody extends $tea.Model {
|
|
8604
|
+
/**
|
|
8605
|
+
* @remarks
|
|
8606
|
+
* The information about the plug-in.
|
|
8607
|
+
*/
|
|
8449
8608
|
addons?: ListTenantAddonsResponseBodyAddons[];
|
|
8450
8609
|
/**
|
|
8610
|
+
* @remarks
|
|
8611
|
+
* The request ID.
|
|
8612
|
+
*
|
|
8451
8613
|
* @example
|
|
8452
8614
|
* 40325405-579C-4D82****
|
|
8453
8615
|
*/
|
|
@@ -8498,11 +8660,17 @@ export class ListTenantAddonsResponse extends $tea.Model {
|
|
|
8498
8660
|
|
|
8499
8661
|
export class ReinstallTenantAddonResponseBody extends $tea.Model {
|
|
8500
8662
|
/**
|
|
8663
|
+
* @remarks
|
|
8664
|
+
* The returned message.
|
|
8665
|
+
*
|
|
8501
8666
|
* @example
|
|
8502
8667
|
* Addon prometheus_discovery is successfully reinstalled
|
|
8503
8668
|
*/
|
|
8504
8669
|
message?: string;
|
|
8505
8670
|
/**
|
|
8671
|
+
* @remarks
|
|
8672
|
+
* The request ID.
|
|
8673
|
+
*
|
|
8506
8674
|
* @example
|
|
8507
8675
|
* 40325405-579C-4D82****
|
|
8508
8676
|
*/
|
|
@@ -9255,6 +9423,13 @@ export class UpdateGatewayRequest extends $tea.Model {
|
|
|
9255
9423
|
* ecs.c6.4xlarge
|
|
9256
9424
|
*/
|
|
9257
9425
|
instanceType?: string;
|
|
9426
|
+
/**
|
|
9427
|
+
* @remarks
|
|
9428
|
+
* Indicates whether it is the default private gateway.
|
|
9429
|
+
*
|
|
9430
|
+
* @example
|
|
9431
|
+
* true
|
|
9432
|
+
*/
|
|
9258
9433
|
isDefault?: boolean;
|
|
9259
9434
|
/**
|
|
9260
9435
|
* @remarks
|
|
@@ -9264,6 +9439,13 @@ export class UpdateGatewayRequest extends $tea.Model {
|
|
|
9264
9439
|
* mygateway1
|
|
9265
9440
|
*/
|
|
9266
9441
|
name?: string;
|
|
9442
|
+
/**
|
|
9443
|
+
* @remarks
|
|
9444
|
+
* The number of nodes in the private gateway.
|
|
9445
|
+
*
|
|
9446
|
+
* @example
|
|
9447
|
+
* 2
|
|
9448
|
+
*/
|
|
9267
9449
|
replicas?: number;
|
|
9268
9450
|
static names(): { [key: string]: string } {
|
|
9269
9451
|
return {
|
|
@@ -10474,11 +10656,17 @@ export class ServiceLabels extends $tea.Model {
|
|
|
10474
10656
|
|
|
10475
10657
|
export class CreateAclPolicyRequestAclPolicyList extends $tea.Model {
|
|
10476
10658
|
/**
|
|
10659
|
+
* @remarks
|
|
10660
|
+
* The comment on the IP CIDR block in the VPC that can access the private gateway.
|
|
10661
|
+
*
|
|
10477
10662
|
* @example
|
|
10478
10663
|
* default
|
|
10479
10664
|
*/
|
|
10480
10665
|
comment?: string;
|
|
10481
10666
|
/**
|
|
10667
|
+
* @remarks
|
|
10668
|
+
* The IP CIDR block in the VPC that can access the private gateway.
|
|
10669
|
+
*
|
|
10482
10670
|
* @example
|
|
10483
10671
|
* 10.23.XX.XX/32
|
|
10484
10672
|
*/
|
|
@@ -10854,11 +11042,17 @@ export class CreateServiceCronScalerRequestScaleJobs extends $tea.Model {
|
|
|
10854
11042
|
|
|
10855
11043
|
export class DeleteAclPolicyRequestAclPolicyList extends $tea.Model {
|
|
10856
11044
|
/**
|
|
11045
|
+
* @remarks
|
|
11046
|
+
* The comment on the IP CIDR block in the VPC that can access the private gateway.
|
|
11047
|
+
*
|
|
10857
11048
|
* @example
|
|
10858
11049
|
* default
|
|
10859
11050
|
*/
|
|
10860
11051
|
comment?: string;
|
|
10861
11052
|
/**
|
|
11053
|
+
* @remarks
|
|
11054
|
+
* The IP CIDR block in the VPC that can access the private gateway.
|
|
11055
|
+
*
|
|
10862
11056
|
* @example
|
|
10863
11057
|
* 10.23.XX.XX/32
|
|
10864
11058
|
*/
|
|
@@ -11264,13 +11458,19 @@ export class DescribeSpotDiscountHistoryResponseBodySpotDiscounts extends $tea.M
|
|
|
11264
11458
|
}
|
|
11265
11459
|
}
|
|
11266
11460
|
|
|
11267
|
-
export class
|
|
11461
|
+
export class ListAclPolicyResponseBodyInternetAclPolicyListAclPolicyList extends $tea.Model {
|
|
11268
11462
|
/**
|
|
11463
|
+
* @remarks
|
|
11464
|
+
* The comment on the IP CIDR block in the VPC that can access the private gateway over the Internet.
|
|
11465
|
+
*
|
|
11269
11466
|
* @example
|
|
11270
11467
|
* default
|
|
11271
11468
|
*/
|
|
11272
11469
|
comment?: string;
|
|
11273
11470
|
/**
|
|
11471
|
+
* @remarks
|
|
11472
|
+
* The IP CIDR block in the VPC that can access the private gateway over the Internet.
|
|
11473
|
+
*
|
|
11274
11474
|
* @example
|
|
11275
11475
|
* 10.23.XX.XX/32
|
|
11276
11476
|
*/
|
|
@@ -11294,13 +11494,42 @@ export class ListAclPolicyResponseBodyInternetAclPolicyList extends $tea.Model {
|
|
|
11294
11494
|
}
|
|
11295
11495
|
}
|
|
11296
11496
|
|
|
11297
|
-
export class
|
|
11497
|
+
export class ListAclPolicyResponseBodyInternetAclPolicyList extends $tea.Model {
|
|
11498
|
+
/**
|
|
11499
|
+
* @remarks
|
|
11500
|
+
* The whitelisted IP CIDR blocks in the VPC that can access the private gateway over the Internet.
|
|
11501
|
+
*/
|
|
11502
|
+
aclPolicyList?: ListAclPolicyResponseBodyInternetAclPolicyListAclPolicyList[];
|
|
11503
|
+
static names(): { [key: string]: string } {
|
|
11504
|
+
return {
|
|
11505
|
+
aclPolicyList: 'AclPolicyList',
|
|
11506
|
+
};
|
|
11507
|
+
}
|
|
11508
|
+
|
|
11509
|
+
static types(): { [key: string]: any } {
|
|
11510
|
+
return {
|
|
11511
|
+
aclPolicyList: { 'type': 'array', 'itemType': ListAclPolicyResponseBodyInternetAclPolicyListAclPolicyList },
|
|
11512
|
+
};
|
|
11513
|
+
}
|
|
11514
|
+
|
|
11515
|
+
constructor(map?: { [key: string]: any }) {
|
|
11516
|
+
super(map);
|
|
11517
|
+
}
|
|
11518
|
+
}
|
|
11519
|
+
|
|
11520
|
+
export class ListAclPolicyResponseBodyIntranetVpcAclPolicyListAclPolicyList extends $tea.Model {
|
|
11298
11521
|
/**
|
|
11522
|
+
* @remarks
|
|
11523
|
+
* The comment on the IP CIDR block in the VPC that can access the private gateway over the internal network.
|
|
11524
|
+
*
|
|
11299
11525
|
* @example
|
|
11300
11526
|
* Test Entry
|
|
11301
11527
|
*/
|
|
11302
11528
|
comment?: string;
|
|
11303
11529
|
/**
|
|
11530
|
+
* @remarks
|
|
11531
|
+
* The IP CIDR block in the VPC that can access the private gateway over the internal network.
|
|
11532
|
+
*
|
|
11304
11533
|
* @example
|
|
11305
11534
|
* 192.168.XX.XX/24
|
|
11306
11535
|
*/
|
|
@@ -11325,22 +11554,29 @@ export class ListAclPolicyResponseBodyIntranetVpcAclPolicyListIntranetAclPolicyL
|
|
|
11325
11554
|
}
|
|
11326
11555
|
|
|
11327
11556
|
export class ListAclPolicyResponseBodyIntranetVpcAclPolicyList extends $tea.Model {
|
|
11328
|
-
intranetAclPolicyList?: ListAclPolicyResponseBodyIntranetVpcAclPolicyListIntranetAclPolicyList[];
|
|
11329
11557
|
/**
|
|
11558
|
+
* @remarks
|
|
11559
|
+
* The whitelisted IP CIDR blocks in the VPC that can access the private gateway over the internal network.
|
|
11560
|
+
*/
|
|
11561
|
+
aclPolicyList?: ListAclPolicyResponseBodyIntranetVpcAclPolicyListAclPolicyList[];
|
|
11562
|
+
/**
|
|
11563
|
+
* @remarks
|
|
11564
|
+
* The VPC ID. For more information about how to obtain the VPC ID, see DescribeVpcs.
|
|
11565
|
+
*
|
|
11330
11566
|
* @example
|
|
11331
11567
|
* vpc-uf66uio7md****
|
|
11332
11568
|
*/
|
|
11333
11569
|
vpcId?: string;
|
|
11334
11570
|
static names(): { [key: string]: string } {
|
|
11335
11571
|
return {
|
|
11336
|
-
|
|
11572
|
+
aclPolicyList: 'AclPolicyList',
|
|
11337
11573
|
vpcId: 'VpcId',
|
|
11338
11574
|
};
|
|
11339
11575
|
}
|
|
11340
11576
|
|
|
11341
11577
|
static types(): { [key: string]: any } {
|
|
11342
11578
|
return {
|
|
11343
|
-
|
|
11579
|
+
aclPolicyList: { 'type': 'array', 'itemType': ListAclPolicyResponseBodyIntranetVpcAclPolicyListAclPolicyList },
|
|
11344
11580
|
vpcId: 'string',
|
|
11345
11581
|
};
|
|
11346
11582
|
}
|
|
@@ -11532,56 +11768,99 @@ export class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
|
11532
11768
|
|
|
11533
11769
|
export class ListGatewayResponseBodyGateways extends $tea.Model {
|
|
11534
11770
|
/**
|
|
11771
|
+
* @remarks
|
|
11772
|
+
* The time when the private gateway was created. The time is displayed in UTC.
|
|
11773
|
+
*
|
|
11535
11774
|
* @example
|
|
11536
11775
|
* 2020-05-19T14:19:42Z
|
|
11537
11776
|
*/
|
|
11538
11777
|
createTime?: string;
|
|
11539
11778
|
/**
|
|
11779
|
+
* @remarks
|
|
11780
|
+
* The private gateway ID.
|
|
11781
|
+
*
|
|
11540
11782
|
* @example
|
|
11541
11783
|
* gw-1uhcqmsc7x22******
|
|
11542
11784
|
*/
|
|
11543
11785
|
gatewayId?: string;
|
|
11544
11786
|
/**
|
|
11787
|
+
* @remarks
|
|
11788
|
+
* The private gateway alias.
|
|
11789
|
+
*
|
|
11545
11790
|
* @example
|
|
11546
11791
|
* mygateway1
|
|
11547
11792
|
*/
|
|
11548
11793
|
gatewayName?: string;
|
|
11549
11794
|
/**
|
|
11795
|
+
* @remarks
|
|
11796
|
+
* The type of instances used for the private gateway.
|
|
11797
|
+
*
|
|
11550
11798
|
* @example
|
|
11551
11799
|
* 2c4g
|
|
11552
11800
|
*/
|
|
11553
11801
|
instanceType?: string;
|
|
11554
11802
|
/**
|
|
11803
|
+
* @remarks
|
|
11804
|
+
* The public endpoint.
|
|
11805
|
+
*
|
|
11555
11806
|
* @example
|
|
11556
11807
|
* gw-1uhcqmsc7x22******-1801786532******.cn-wulanchabu.pai-eas.aliyuncs.com
|
|
11557
11808
|
*/
|
|
11558
11809
|
internetDomain?: string;
|
|
11559
11810
|
/**
|
|
11811
|
+
* @remarks
|
|
11812
|
+
* Indicates whether Internet access is enabled.
|
|
11813
|
+
*
|
|
11560
11814
|
* @example
|
|
11561
11815
|
* true
|
|
11562
11816
|
*/
|
|
11563
11817
|
internetEnabled?: boolean;
|
|
11564
11818
|
/**
|
|
11819
|
+
* @remarks
|
|
11820
|
+
* The internal endpoint.
|
|
11821
|
+
*
|
|
11565
11822
|
* @example
|
|
11566
11823
|
* gw-1uhcqmsc7x22******-1801786532******-vpc.cn-wulanchabu.pai-eas.aliyuncs.com
|
|
11567
11824
|
*/
|
|
11568
11825
|
intranetDomain?: string;
|
|
11569
11826
|
/**
|
|
11827
|
+
* @remarks
|
|
11828
|
+
* Indicates whether it is the default private gateway.
|
|
11829
|
+
*
|
|
11570
11830
|
* @example
|
|
11571
11831
|
* true
|
|
11572
11832
|
*/
|
|
11573
11833
|
isDefault?: boolean;
|
|
11574
11834
|
/**
|
|
11835
|
+
* @remarks
|
|
11836
|
+
* The number of nodes in the private gateway.
|
|
11837
|
+
*
|
|
11575
11838
|
* @example
|
|
11576
11839
|
* 2
|
|
11577
11840
|
*/
|
|
11578
11841
|
replicas?: number;
|
|
11579
11842
|
/**
|
|
11843
|
+
* @remarks
|
|
11844
|
+
* The state of the private gateway.
|
|
11845
|
+
*
|
|
11846
|
+
* Valid values:
|
|
11847
|
+
*
|
|
11848
|
+
* * Creating
|
|
11849
|
+
* * Stopped
|
|
11850
|
+
* * Failed
|
|
11851
|
+
* * Running
|
|
11852
|
+
* * Deleted
|
|
11853
|
+
* * Deleting
|
|
11854
|
+
* * Waiting
|
|
11855
|
+
*
|
|
11580
11856
|
* @example
|
|
11581
11857
|
* Running
|
|
11582
11858
|
*/
|
|
11583
11859
|
status?: string;
|
|
11584
11860
|
/**
|
|
11861
|
+
* @remarks
|
|
11862
|
+
* The time when the private gateway was updated. The time is displayed in UTC.
|
|
11863
|
+
*
|
|
11585
11864
|
* @example
|
|
11586
11865
|
* 2021-02-24T11:52:17Z
|
|
11587
11866
|
*/
|
|
@@ -11807,8 +12086,15 @@ export class ListServiceVersionsResponseBodyVersions extends $tea.Model {
|
|
|
11807
12086
|
}
|
|
11808
12087
|
|
|
11809
12088
|
export class ListTenantAddonsResponseBodyAddons extends $tea.Model {
|
|
12089
|
+
/**
|
|
12090
|
+
* @remarks
|
|
12091
|
+
* The attributes of the plug-in.
|
|
12092
|
+
*/
|
|
11810
12093
|
attributes?: { [key: string]: string };
|
|
11811
12094
|
/**
|
|
12095
|
+
* @remarks
|
|
12096
|
+
* The name of the plug-in.
|
|
12097
|
+
*
|
|
11812
12098
|
* @example
|
|
11813
12099
|
* prometheus_discovery
|
|
11814
12100
|
*/
|
|
@@ -12284,7 +12570,7 @@ export default class Client extends OpenApi {
|
|
|
12284
12570
|
}
|
|
12285
12571
|
|
|
12286
12572
|
/**
|
|
12287
|
-
*
|
|
12573
|
+
* Creates an access control list (ACL) for a private gateway. The IP CIDR blocks added to the ACL can access the private gateway.
|
|
12288
12574
|
*
|
|
12289
12575
|
* @param tmpReq - CreateAclPolicyRequest
|
|
12290
12576
|
* @param headers - map
|
|
@@ -12327,7 +12613,7 @@ export default class Client extends OpenApi {
|
|
|
12327
12613
|
}
|
|
12328
12614
|
|
|
12329
12615
|
/**
|
|
12330
|
-
*
|
|
12616
|
+
* Creates an access control list (ACL) for a private gateway. The IP CIDR blocks added to the ACL can access the private gateway.
|
|
12331
12617
|
*
|
|
12332
12618
|
* @param request - CreateAclPolicyRequest
|
|
12333
12619
|
* @returns CreateAclPolicyResponse
|
|
@@ -12988,7 +13274,7 @@ export default class Client extends OpenApi {
|
|
|
12988
13274
|
}
|
|
12989
13275
|
|
|
12990
13276
|
/**
|
|
12991
|
-
*
|
|
13277
|
+
* Deletes an access control list (ACL) for a private gateway. The IP CIDR block that is deleted from the ACL cannot access the private gateway.
|
|
12992
13278
|
*
|
|
12993
13279
|
* @param tmpReq - DeleteAclPolicyRequest
|
|
12994
13280
|
* @param headers - map
|
|
@@ -13031,7 +13317,7 @@ export default class Client extends OpenApi {
|
|
|
13031
13317
|
}
|
|
13032
13318
|
|
|
13033
13319
|
/**
|
|
13034
|
-
*
|
|
13320
|
+
* Deletes an access control list (ACL) for a private gateway. The IP CIDR block that is deleted from the ACL cannot access the private gateway.
|
|
13035
13321
|
*
|
|
13036
13322
|
* @param request - DeleteAclPolicyRequest
|
|
13037
13323
|
* @returns DeleteAclPolicyResponse
|
|
@@ -14261,7 +14547,7 @@ export default class Client extends OpenApi {
|
|
|
14261
14547
|
}
|
|
14262
14548
|
|
|
14263
14549
|
/**
|
|
14264
|
-
*
|
|
14550
|
+
* Queries access control lists (ACLs) created for a private gateway.
|
|
14265
14551
|
*
|
|
14266
14552
|
* @param request - ListAclPolicyRequest
|
|
14267
14553
|
* @param headers - map
|
|
@@ -14294,7 +14580,7 @@ export default class Client extends OpenApi {
|
|
|
14294
14580
|
}
|
|
14295
14581
|
|
|
14296
14582
|
/**
|
|
14297
|
-
*
|
|
14583
|
+
* Queries access control lists (ACLs) created for a private gateway.
|
|
14298
14584
|
*
|
|
14299
14585
|
* @param request - ListAclPolicyRequest
|
|
14300
14586
|
* @returns ListAclPolicyResponse
|
|
@@ -14363,7 +14649,7 @@ export default class Client extends OpenApi {
|
|
|
14363
14649
|
}
|
|
14364
14650
|
|
|
14365
14651
|
/**
|
|
14366
|
-
*
|
|
14652
|
+
* Queries a list of private gateways.
|
|
14367
14653
|
*
|
|
14368
14654
|
* @param request - ListGatewayRequest
|
|
14369
14655
|
* @param headers - map
|
|
@@ -14408,7 +14694,7 @@ export default class Client extends OpenApi {
|
|
|
14408
14694
|
}
|
|
14409
14695
|
|
|
14410
14696
|
/**
|
|
14411
|
-
*
|
|
14697
|
+
* Queries a list of private gateways.
|
|
14412
14698
|
*
|
|
14413
14699
|
* @param request - ListGatewayRequest
|
|
14414
14700
|
* @returns ListGatewayResponse
|
|
@@ -14991,6 +15277,10 @@ export default class Client extends OpenApi {
|
|
|
14991
15277
|
query["ResourceName"] = request.resourceName;
|
|
14992
15278
|
}
|
|
14993
15279
|
|
|
15280
|
+
if (!Util.isUnset(request.role)) {
|
|
15281
|
+
query["Role"] = request.role;
|
|
15282
|
+
}
|
|
15283
|
+
|
|
14994
15284
|
if (!Util.isUnset(request.serviceName)) {
|
|
14995
15285
|
query["ServiceName"] = request.serviceName;
|
|
14996
15286
|
}
|
|
@@ -15046,7 +15336,7 @@ export default class Client extends OpenApi {
|
|
|
15046
15336
|
}
|
|
15047
15337
|
|
|
15048
15338
|
/**
|
|
15049
|
-
*
|
|
15339
|
+
* Queries a list of tenant plug-ins.
|
|
15050
15340
|
*
|
|
15051
15341
|
* @param headers - map
|
|
15052
15342
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15071,7 +15361,7 @@ export default class Client extends OpenApi {
|
|
|
15071
15361
|
}
|
|
15072
15362
|
|
|
15073
15363
|
/**
|
|
15074
|
-
*
|
|
15364
|
+
* Queries a list of tenant plug-ins.
|
|
15075
15365
|
* @returns ListTenantAddonsResponse
|
|
15076
15366
|
*/
|
|
15077
15367
|
async listTenantAddons(): Promise<ListTenantAddonsResponse> {
|
|
@@ -15081,7 +15371,7 @@ export default class Client extends OpenApi {
|
|
|
15081
15371
|
}
|
|
15082
15372
|
|
|
15083
15373
|
/**
|
|
15084
|
-
*
|
|
15374
|
+
* Updates the information about a tenant plug-in.
|
|
15085
15375
|
*
|
|
15086
15376
|
* @param headers - map
|
|
15087
15377
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15106,7 +15396,7 @@ export default class Client extends OpenApi {
|
|
|
15106
15396
|
}
|
|
15107
15397
|
|
|
15108
15398
|
/**
|
|
15109
|
-
*
|
|
15399
|
+
* Updates the information about a tenant plug-in.
|
|
15110
15400
|
* @returns ReinstallTenantAddonResponse
|
|
15111
15401
|
*/
|
|
15112
15402
|
async reinstallTenantAddon(ClusterId: string, TenantAddonName: string): Promise<ReinstallTenantAddonResponse> {
|