tencentcloud-sdk-nodejs 4.0.988 → 4.0.989
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/CHANGELOG.md +246 -0
- package/SERVICE_CHANGELOG.md +325 -115
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +15 -2
- package/src/services/aiart/v20221229/aiart_models.ts +109 -46
- package/src/services/cam/v20190116/cam_client.ts +12 -0
- package/src/services/cam/v20190116/cam_models.ts +59 -26
- package/src/services/cfg/v20210820/cfg_models.ts +4 -0
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +18 -18
- package/src/services/cvm/v20170312/cvm_models.ts +24 -24
- package/src/services/es/v20180416/es_models.ts +50 -7
- package/src/services/mps/v20190612/mps_models.ts +5 -0
- package/src/services/mqtt/v20240516/mqtt_client.ts +151 -103
- package/src/services/mqtt/v20240516/mqtt_models.ts +202 -48
- package/src/services/ocr/v20181119/ocr_client.ts +1 -0
- package/src/services/ocr/v20181119/ocr_models.ts +72 -0
- package/src/services/postgres/v20170312/postgres_models.ts +3 -3
- package/src/services/sts/v20180813/sts_models.ts +3 -3
- package/src/services/tse/v20201207/tse_client.ts +73 -21
- package/src/services/tse/v20201207/tse_models.ts +322 -68
- package/src/services/vdb/v20230616/vdb_models.ts +3 -0
- package/src/services/vpc/v20170312/vpc_models.ts +4 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +6 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +7 -0
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +107 -46
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +57 -26
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +4 -0
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +18 -18
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +24 -24
- package/tencentcloud/services/es/v20180416/es_models.d.ts +50 -7
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +5 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +57 -41
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +84 -60
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +194 -48
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +71 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +3 -3
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +3 -3
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +23 -7
- package/tencentcloud/services/tse/v20201207/tse_client.js +33 -9
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +310 -68
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +3 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/test/aiart.v20221229.test.js +10 -0
- package/test/cam.v20190116.test.js +10 -0
- package/test/mqtt.v20240516.test.js +80 -40
- package/test/tse.v20201207.test.js +46 -6
|
@@ -480,6 +480,19 @@ export interface DescribeAuthenticatorResponse {
|
|
|
480
480
|
*/
|
|
481
481
|
RequestId?: string;
|
|
482
482
|
}
|
|
483
|
+
/**
|
|
484
|
+
* DeleteDeviceCertificate请求参数结构体
|
|
485
|
+
*/
|
|
486
|
+
export interface DeleteDeviceCertificateRequest {
|
|
487
|
+
/**
|
|
488
|
+
* 集群id
|
|
489
|
+
*/
|
|
490
|
+
InstanceId: string;
|
|
491
|
+
/**
|
|
492
|
+
* 设备证书序列号
|
|
493
|
+
*/
|
|
494
|
+
DeviceCertificateSn: string;
|
|
495
|
+
}
|
|
483
496
|
/**
|
|
484
497
|
* CreateTopic返回参数结构体
|
|
485
498
|
*/
|
|
@@ -532,6 +545,86 @@ export interface ModifyJWTAuthenticatorRequest {
|
|
|
532
545
|
*/
|
|
533
546
|
Remark?: string;
|
|
534
547
|
}
|
|
548
|
+
/**
|
|
549
|
+
* DescribeDeviceCertificate返回参数结构体
|
|
550
|
+
*/
|
|
551
|
+
export interface DescribeDeviceCertificateResponse {
|
|
552
|
+
/**
|
|
553
|
+
* 创建时间
|
|
554
|
+
*/
|
|
555
|
+
CreatedTime?: number;
|
|
556
|
+
/**
|
|
557
|
+
* 上次更新时间
|
|
558
|
+
*/
|
|
559
|
+
UpdateTime?: number;
|
|
560
|
+
/**
|
|
561
|
+
* 证书失效日期
|
|
562
|
+
*/
|
|
563
|
+
NotAfterTime?: number;
|
|
564
|
+
/**
|
|
565
|
+
* 上次激活时间
|
|
566
|
+
*/
|
|
567
|
+
LastActivationTime?: number;
|
|
568
|
+
/**
|
|
569
|
+
* 上次取消激活时间
|
|
570
|
+
*/
|
|
571
|
+
LastInactivationTime?: number;
|
|
572
|
+
/**
|
|
573
|
+
* 证书状态
|
|
574
|
+
*/
|
|
575
|
+
Status?: string;
|
|
576
|
+
/**
|
|
577
|
+
* 证书序列号
|
|
578
|
+
*/
|
|
579
|
+
CaSn?: string;
|
|
580
|
+
/**
|
|
581
|
+
* 设备证书sn
|
|
582
|
+
*/
|
|
583
|
+
DeviceCertificateSn?: string;
|
|
584
|
+
/**
|
|
585
|
+
* 证书内容
|
|
586
|
+
*/
|
|
587
|
+
DeviceCertificate?: string;
|
|
588
|
+
/**
|
|
589
|
+
* 设备证书cn
|
|
590
|
+
*/
|
|
591
|
+
DeviceCertificateCn?: string;
|
|
592
|
+
/**
|
|
593
|
+
* 证书格式
|
|
594
|
+
*/
|
|
595
|
+
Format?: string;
|
|
596
|
+
/**
|
|
597
|
+
* 客户端id
|
|
598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
599
|
+
*/
|
|
600
|
+
ClientId?: string;
|
|
601
|
+
/**
|
|
602
|
+
* API, 手动注册
|
|
603
|
+
JITP 自动注册
|
|
604
|
+
*/
|
|
605
|
+
CertificateSource?: string;
|
|
606
|
+
/**
|
|
607
|
+
* 证书生效开始时间
|
|
608
|
+
*/
|
|
609
|
+
NotBeforeTime?: number;
|
|
610
|
+
/**
|
|
611
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
612
|
+
*/
|
|
613
|
+
RequestId?: string;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* RevokedDeviceCertificate请求参数结构体
|
|
617
|
+
*/
|
|
618
|
+
export interface RevokedDeviceCertificateRequest {
|
|
619
|
+
/**
|
|
620
|
+
* 集群id
|
|
621
|
+
*/
|
|
622
|
+
InstanceId: string;
|
|
623
|
+
/**
|
|
624
|
+
* 设备证书序列号
|
|
625
|
+
*/
|
|
626
|
+
DeviceCertificateSn: string;
|
|
627
|
+
}
|
|
535
628
|
/**
|
|
536
629
|
* 策略规则优先级
|
|
537
630
|
*/
|
|
@@ -556,6 +649,15 @@ export interface CreateAuthorizationPolicyResponse {
|
|
|
556
649
|
*/
|
|
557
650
|
RequestId?: string;
|
|
558
651
|
}
|
|
652
|
+
/**
|
|
653
|
+
* DeleteDeviceCertificate返回参数结构体
|
|
654
|
+
*/
|
|
655
|
+
export interface DeleteDeviceCertificateResponse {
|
|
656
|
+
/**
|
|
657
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
658
|
+
*/
|
|
659
|
+
RequestId?: string;
|
|
660
|
+
}
|
|
559
661
|
/**
|
|
560
662
|
* CreateJWTAuthenticator请求参数结构体
|
|
561
663
|
*/
|
|
@@ -1028,74 +1130,57 @@ export interface MQTTInstanceItem {
|
|
|
1028
1130
|
MaxSubscription?: number;
|
|
1029
1131
|
}
|
|
1030
1132
|
/**
|
|
1031
|
-
*
|
|
1133
|
+
* RevokedDeviceCertificate返回参数结构体
|
|
1032
1134
|
*/
|
|
1033
|
-
export interface
|
|
1135
|
+
export interface RevokedDeviceCertificateResponse {
|
|
1034
1136
|
/**
|
|
1035
1137
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1036
1138
|
*/
|
|
1037
1139
|
RequestId?: string;
|
|
1038
1140
|
}
|
|
1039
1141
|
/**
|
|
1040
|
-
*
|
|
1142
|
+
* DeleteTopic返回参数结构体
|
|
1041
1143
|
*/
|
|
1042
|
-
export interface
|
|
1043
|
-
/**
|
|
1044
|
-
* 策略
|
|
1045
|
-
*/
|
|
1046
|
-
Id: number;
|
|
1047
|
-
/**
|
|
1048
|
-
* 实例ID
|
|
1049
|
-
*/
|
|
1050
|
-
InstanceId: string;
|
|
1051
|
-
/**
|
|
1052
|
-
* 策略名称
|
|
1053
|
-
*/
|
|
1054
|
-
PolicyName?: string;
|
|
1055
|
-
/**
|
|
1056
|
-
* 策略版本
|
|
1057
|
-
*/
|
|
1058
|
-
PolicyVersion?: number;
|
|
1059
|
-
/**
|
|
1060
|
-
* 策略优先级,越小越优先
|
|
1061
|
-
*/
|
|
1062
|
-
Priority?: number;
|
|
1063
|
-
/**
|
|
1064
|
-
* allow、deny
|
|
1065
|
-
*/
|
|
1066
|
-
Effect?: string;
|
|
1067
|
-
/**
|
|
1068
|
-
* connect、pub、sub
|
|
1069
|
-
*/
|
|
1070
|
-
Actions?: string;
|
|
1071
|
-
/**
|
|
1072
|
-
* 资源
|
|
1073
|
-
*/
|
|
1074
|
-
Resources?: string;
|
|
1144
|
+
export interface DeleteTopicResponse {
|
|
1075
1145
|
/**
|
|
1076
|
-
*
|
|
1146
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1077
1147
|
*/
|
|
1078
|
-
|
|
1148
|
+
RequestId?: string;
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* DeactivateDeviceCertificate返回参数结构体
|
|
1152
|
+
*/
|
|
1153
|
+
export interface DeactivateDeviceCertificateResponse {
|
|
1079
1154
|
/**
|
|
1080
|
-
*
|
|
1155
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1081
1156
|
*/
|
|
1082
|
-
|
|
1157
|
+
RequestId?: string;
|
|
1158
|
+
}
|
|
1159
|
+
/**
|
|
1160
|
+
* DescribeDeviceCertificate请求参数结构体
|
|
1161
|
+
*/
|
|
1162
|
+
export interface DescribeDeviceCertificateRequest {
|
|
1083
1163
|
/**
|
|
1084
|
-
*
|
|
1164
|
+
* 设备证书sn
|
|
1085
1165
|
*/
|
|
1086
|
-
|
|
1166
|
+
DeviceCertificateSn: string;
|
|
1087
1167
|
/**
|
|
1088
|
-
*
|
|
1168
|
+
* 集群id
|
|
1089
1169
|
*/
|
|
1090
|
-
|
|
1170
|
+
InstanceId: string;
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* DeactivateDeviceCertificate请求参数结构体
|
|
1174
|
+
*/
|
|
1175
|
+
export interface DeactivateDeviceCertificateRequest {
|
|
1091
1176
|
/**
|
|
1092
|
-
*
|
|
1177
|
+
* 集群id
|
|
1093
1178
|
*/
|
|
1094
|
-
|
|
1179
|
+
InstanceId: string;
|
|
1095
1180
|
/**
|
|
1096
|
-
*
|
|
1181
|
+
* 设备证书序列号
|
|
1097
1182
|
*/
|
|
1098
|
-
|
|
1183
|
+
DeviceCertificateSn: string;
|
|
1099
1184
|
}
|
|
1100
1185
|
/**
|
|
1101
1186
|
* DescribeInstance请求参数结构体
|
|
@@ -1158,6 +1243,67 @@ export interface TagFilter {
|
|
|
1158
1243
|
*/
|
|
1159
1244
|
TagValues?: Array<string>;
|
|
1160
1245
|
}
|
|
1246
|
+
/**
|
|
1247
|
+
* ModifyAuthorizationPolicy请求参数结构体
|
|
1248
|
+
*/
|
|
1249
|
+
export interface ModifyAuthorizationPolicyRequest {
|
|
1250
|
+
/**
|
|
1251
|
+
* 策略
|
|
1252
|
+
*/
|
|
1253
|
+
Id: number;
|
|
1254
|
+
/**
|
|
1255
|
+
* 实例ID
|
|
1256
|
+
*/
|
|
1257
|
+
InstanceId: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* 策略名称
|
|
1260
|
+
*/
|
|
1261
|
+
PolicyName?: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* 策略版本
|
|
1264
|
+
*/
|
|
1265
|
+
PolicyVersion?: number;
|
|
1266
|
+
/**
|
|
1267
|
+
* 策略优先级,越小越优先
|
|
1268
|
+
*/
|
|
1269
|
+
Priority?: number;
|
|
1270
|
+
/**
|
|
1271
|
+
* allow、deny
|
|
1272
|
+
*/
|
|
1273
|
+
Effect?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* connect、pub、sub
|
|
1276
|
+
*/
|
|
1277
|
+
Actions?: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* 资源
|
|
1280
|
+
*/
|
|
1281
|
+
Resources?: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* 用户名
|
|
1284
|
+
*/
|
|
1285
|
+
Username?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* 1.匹配保留消息;2.匹配非保留消息;3.匹配所有消息
|
|
1288
|
+
*/
|
|
1289
|
+
Retain?: number;
|
|
1290
|
+
/**
|
|
1291
|
+
* 客户端
|
|
1292
|
+
*/
|
|
1293
|
+
ClientId?: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* IP
|
|
1296
|
+
*/
|
|
1297
|
+
Ip?: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* 0、1、2
|
|
1300
|
+
*/
|
|
1301
|
+
Qos?: string;
|
|
1302
|
+
/**
|
|
1303
|
+
* 备注信息
|
|
1304
|
+
*/
|
|
1305
|
+
Remark?: string;
|
|
1306
|
+
}
|
|
1161
1307
|
/**
|
|
1162
1308
|
* ActivateDeviceCertificate返回参数结构体
|
|
1163
1309
|
*/
|
|
@@ -3253,6 +3253,11 @@ export interface VehicleLicenseOCRResponse {
|
|
|
3253
3253
|
* 行驶证类型 电子行驶证:Electronic 普通行驶证:Normal
|
|
3254
3254
|
*/
|
|
3255
3255
|
VehicleLicenseType?: string;
|
|
3256
|
+
/**
|
|
3257
|
+
* 拖拉机行驶证副页正面的识别结果,CardSide 为 BACK。
|
|
3258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3259
|
+
*/
|
|
3260
|
+
TractorBackInfo?: TextTractorVehicleBack;
|
|
3256
3261
|
/**
|
|
3257
3262
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3258
3263
|
*/
|
|
@@ -8328,6 +8333,56 @@ export interface GetTaskStateRequest {
|
|
|
8328
8333
|
*/
|
|
8329
8334
|
TaskId: string;
|
|
8330
8335
|
}
|
|
8336
|
+
/**
|
|
8337
|
+
* 拖拉机行驶证副页正面的识别结果
|
|
8338
|
+
*/
|
|
8339
|
+
export interface TextTractorVehicleBack {
|
|
8340
|
+
/**
|
|
8341
|
+
* 号牌号码
|
|
8342
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8343
|
+
*/
|
|
8344
|
+
PlateNo?: string;
|
|
8345
|
+
/**
|
|
8346
|
+
* 准乘人数
|
|
8347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8348
|
+
*/
|
|
8349
|
+
AllowNum?: string;
|
|
8350
|
+
/**
|
|
8351
|
+
* 联合收割机质量
|
|
8352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8353
|
+
*/
|
|
8354
|
+
CombineHarvesterQuality?: string;
|
|
8355
|
+
/**
|
|
8356
|
+
* 拖拉机最小使用质量
|
|
8357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8358
|
+
*/
|
|
8359
|
+
TractorMinUsageWeight?: string;
|
|
8360
|
+
/**
|
|
8361
|
+
* 拖拉机最大允许载质量
|
|
8362
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8363
|
+
*/
|
|
8364
|
+
TractorMaxAllowLoadCapacity?: string;
|
|
8365
|
+
/**
|
|
8366
|
+
* 外廓尺寸
|
|
8367
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8368
|
+
*/
|
|
8369
|
+
ExternalSize?: string;
|
|
8370
|
+
/**
|
|
8371
|
+
* 检验记录
|
|
8372
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8373
|
+
*/
|
|
8374
|
+
Record?: string;
|
|
8375
|
+
/**
|
|
8376
|
+
* 类型
|
|
8377
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8378
|
+
*/
|
|
8379
|
+
VehicleType?: string;
|
|
8380
|
+
/**
|
|
8381
|
+
* 住址
|
|
8382
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8383
|
+
*/
|
|
8384
|
+
Address?: string;
|
|
8385
|
+
}
|
|
8331
8386
|
/**
|
|
8332
8387
|
* RecognizeMedicalInvoiceOCR请求参数结构体
|
|
8333
8388
|
*/
|
|
@@ -9033,6 +9088,10 @@ export interface MLIDCardOCRRequest {
|
|
|
9033
9088
|
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
9034
9089
|
*/
|
|
9035
9090
|
ImageBase64?: string;
|
|
9091
|
+
/**
|
|
9092
|
+
* 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
9093
|
+
*/
|
|
9094
|
+
BackImageBase64?: string;
|
|
9036
9095
|
/**
|
|
9037
9096
|
* 图片的 Url 地址。( 中国地区之外不支持这个字段 )
|
|
9038
9097
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
@@ -9041,6 +9100,10 @@ export interface MLIDCardOCRRequest {
|
|
|
9041
9100
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
9042
9101
|
*/
|
|
9043
9102
|
ImageUrl?: string;
|
|
9103
|
+
/**
|
|
9104
|
+
* 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
9105
|
+
*/
|
|
9106
|
+
BackImageUrl?: string;
|
|
9044
9107
|
/**
|
|
9045
9108
|
* 是否返回图片,默认false
|
|
9046
9109
|
*/
|
|
@@ -9805,6 +9868,10 @@ export interface VehicleLicenseOCRRequest {
|
|
|
9805
9868
|
默认值为:FRONT。
|
|
9806
9869
|
*/
|
|
9807
9870
|
CardSide?: string;
|
|
9871
|
+
/**
|
|
9872
|
+
* FRONT为行驶证主页正面(有红色印章的一面),BACK 为拖拉机行驶证副页正面识别
|
|
9873
|
+
*/
|
|
9874
|
+
TractorCardSide?: string;
|
|
9808
9875
|
}
|
|
9809
9876
|
/**
|
|
9810
9877
|
* 增值税发票卷票信息
|
|
@@ -10073,6 +10140,10 @@ export interface MLIDCardOCRResponse {
|
|
|
10073
10140
|
* 出生日期(目前该字段仅支持IKAD劳工证、MyKad 身份证)
|
|
10074
10141
|
*/
|
|
10075
10142
|
Birthday?: string;
|
|
10143
|
+
/**
|
|
10144
|
+
* 马来身份证背面号码
|
|
10145
|
+
*/
|
|
10146
|
+
MyKadNumber?: string;
|
|
10076
10147
|
/**
|
|
10077
10148
|
* 告警码
|
|
10078
10149
|
-9101 证件边框不完整告警
|
|
@@ -646,15 +646,15 @@ export interface SlowlogDetail {
|
|
|
646
646
|
/**
|
|
647
647
|
* 花费总时间
|
|
648
648
|
*/
|
|
649
|
-
TotalTime
|
|
649
|
+
TotalTime?: number;
|
|
650
650
|
/**
|
|
651
651
|
* 调用总次数
|
|
652
652
|
*/
|
|
653
|
-
TotalCalls
|
|
653
|
+
TotalCalls?: number;
|
|
654
654
|
/**
|
|
655
655
|
* 脱敏后的慢SQL列表
|
|
656
656
|
*/
|
|
657
|
-
NormalQueries
|
|
657
|
+
NormalQueries?: Array<NormalQueryItem>;
|
|
658
658
|
}
|
|
659
659
|
/**
|
|
660
660
|
* SwitchDBInstancePrimary请求参数结构体
|
|
@@ -221,15 +221,15 @@ export interface Credentials {
|
|
|
221
221
|
/**
|
|
222
222
|
* token。token长度和绑定的策略有关,最长不超过4096字节。
|
|
223
223
|
*/
|
|
224
|
-
Token
|
|
224
|
+
Token?: string;
|
|
225
225
|
/**
|
|
226
226
|
* 临时证书密钥ID。最长不超过1024字节。
|
|
227
227
|
*/
|
|
228
|
-
TmpSecretId
|
|
228
|
+
TmpSecretId?: string;
|
|
229
229
|
/**
|
|
230
230
|
* 临时证书密钥Key。最长不超过1024字节。
|
|
231
231
|
*/
|
|
232
|
-
TmpSecretKey
|
|
232
|
+
TmpSecretKey?: string;
|
|
233
233
|
}
|
|
234
234
|
/**
|
|
235
235
|
* AssumeRole请求参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeNacosReplicasRequest, DeleteWafDomainsRequest, DescribeCloudNativeAPIGatewayNodesRequest, DescribeCloudNativeAPIGatewayUpstreamRequest, DescribeUpstreamHealthCheckConfigRequest, CreateNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayCertificatesRequest, CloseWafProtectionRequest, DescribeCloudNativeAPIGatewayNodesResponse, CreateCloudNativeAPIGatewayResponse, DescribeUpstreamHealthCheckConfigResponse, CreateCloudNativeAPIGatewayServiceRequest, ModifyConsoleNetworkRequest, DescribeCloudNativeAPIGatewayServicesRequest, CreateCloudNativeAPIGatewayCanaryRuleResponse, DeleteGovernanceNamespacesResponse, DescribeCloudNativeAPIGatewayRoutesResponse, DescribeWafProtectionResponse, DescribeZookeeperReplicasRequest, DescribeAutoScalerResourceStrategiesResponse, DeleteCloudNativeAPIGatewayRouteResponse, DeleteCloudNativeAPIGatewayServiceRateLimitRequest, ModifyUpstreamNodeStatusRequest, DescribeConfigFileReleaseRequest, DescribeCloudNativeAPIGatewayConfigRequest, DescribeNacosServerInterfacesResponse, DeleteGovernanceInstancesRequest, UpdateEngineInternetAccessResponse, DeleteCloudNativeAPIGatewayRouteRateLimitRequest, CreateCloudNativeAPIGatewayPublicNetworkResponse, ModifyGovernanceServicesRequest, DescribeConfigFileReleasesResponse, DeleteCloudNativeAPIGatewayServiceRateLimitResponse, CreateGovernanceServicesRequest, ModifyNetworkAccessStrategyResponse,
|
|
3
|
+
import { DescribeNacosReplicasRequest, DeleteWafDomainsRequest, DescribeCloudNativeAPIGatewayNodesRequest, DescribeCloudNativeAPIGatewayUpstreamRequest, DescribeUpstreamHealthCheckConfigRequest, CreateNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayCertificatesRequest, CloseWafProtectionRequest, DescribeCloudNativeAPIGatewayNodesResponse, CreateCloudNativeAPIGatewayResponse, DescribeUpstreamHealthCheckConfigResponse, CreateNativeGatewayServiceSourceResponse, CreateCloudNativeAPIGatewayServiceRequest, ModifyConsoleNetworkRequest, DescribeCloudNativeAPIGatewayServicesRequest, CreateCloudNativeAPIGatewayCanaryRuleResponse, DeleteGovernanceNamespacesResponse, DescribeCloudNativeAPIGatewayRoutesResponse, DescribeWafProtectionResponse, DescribeZookeeperReplicasRequest, DescribeAutoScalerResourceStrategiesResponse, DeleteCloudNativeAPIGatewayRouteResponse, DeleteCloudNativeAPIGatewayServiceRateLimitRequest, ModifyUpstreamNodeStatusRequest, DescribeConfigFileReleaseRequest, DescribeCloudNativeAPIGatewayConfigRequest, DescribeNacosServerInterfacesResponse, DeleteGovernanceInstancesRequest, UpdateEngineInternetAccessResponse, DeleteCloudNativeAPIGatewayRouteRateLimitRequest, CreateCloudNativeAPIGatewayPublicNetworkResponse, ModifyGovernanceServicesRequest, DescribeConfigFileReleasesResponse, DeleteCloudNativeAPIGatewayServiceRateLimitResponse, CreateGovernanceServicesRequest, ModifyNetworkAccessStrategyResponse, ModifyAutoScalerResourceStrategyRequest, UnbindAutoScalerResourceStrategyFromGroupsRequest, DeleteCloudNativeAPIGatewayPublicNetworkRequest, CreateGovernanceAliasRequest, ModifyCloudNativeAPIGatewayServiceRequest, DescribeAutoScalerResourceStrategyBindingGroupsRequest, DescribeConfigFilesByGroupResponse, DescribeWafProtectionRequest, DescribeAutoScalerResourceStrategiesRequest, DescribeGovernanceInstancesRequest, DescribeGovernanceServiceContractsRequest, DescribeConfigFilesRequest, DeleteCloudNativeAPIGatewayRouteRequest, DescribeConfigFileReleasesRequest, ModifyCloudNativeAPIGatewayServiceRateLimitResponse, DescribeGovernanceNamespacesRequest, DescribeSREInstancesResponse, CreateCloudNativeAPIGatewayServiceRateLimitRequest, ModifyNativeGatewayServerGroupRequest, ModifyConsoleNetworkResponse, DescribeWafDomainsResponse, DescribeSREInstanceAccessAddressRequest, ModifyGovernanceInstancesResponse, DeleteCloudNativeAPIGatewayPublicNetworkResponse, CreateOrUpdateConfigFileAndReleaseRequest, DeleteNativeGatewayServiceSourceResponse, DescribeCloudNativeAPIGatewayServiceRateLimitRequest, DescribeConfigFileGroupsResponse, UpdateEngineInternetAccessRequest, DeleteNativeGatewayServerGroupResponse, ModifyCloudNativeAPIGatewayCertificateResponse, DescribeSREInstanceAccessAddressResponse, CreateConfigFileRequest, DescribeConfigFilesResponse, DescribeCloudNativeAPIGatewayServicesResponse, CreateNativeGatewayServiceSourceRequest, ModifyNativeGatewayServiceSourceRequest, ModifyCloudNativeAPIGatewayCanaryRuleResponse, UnbindAutoScalerResourceStrategyFromGroupsResponse, UpdateUpstreamTargetsResponse, CreateWafDomainsRequest, DescribeGovernanceServiceContractVersionsRequest, DescribeCloudNativeAPIGatewayCertificatesResponse, DeleteGovernanceInstancesResponse, BindAutoScalerResourceStrategyToGroupsResponse, ModifyConfigFilesRequest, ModifyGovernanceAliasRequest, ModifyNetworkAccessStrategyRequest, CreateCloudNativeAPIGatewayRouteRateLimitRequest, ModifyCloudNativeAPIGatewayRouteResponse, CreateGovernanceInstancesRequest, BindAutoScalerResourceStrategyToGroupsRequest, DeleteCloudNativeAPIGatewayCertificateRequest, ModifyAutoScalerResourceStrategyResponse, CreateCloudNativeAPIGatewayCertificateResponse, DescribeCloudNativeAPIGatewayRouteRateLimitRequest, UpdateUpstreamHealthCheckConfigRequest, DescribeConfigFileResponse, UpdateCloudNativeAPIGatewaySpecResponse, DescribeNativeGatewayServerGroupsRequest, DescribePublicNetworkRequest, DescribeGovernanceNamespacesResponse, DescribeConfigFilesByGroupRequest, DeleteGovernanceInstancesByHostResponse, DescribeGovernanceAliasesResponse, DeleteCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayCertificateRequest, ModifyCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayPublicNetworkRequest, ModifyGovernanceNamespacesRequest, ModifyConfigFileGroupResponse, DescribeAllConfigFileTemplatesRequest, RollbackConfigFileReleasesRequest, PublishConfigFilesResponse, UpdateCloudNativeAPIGatewayCertificateInfoRequest, DescribeCloudNativeAPIGatewayCertificateDetailsRequest, CreateNativeGatewayServerGroupResponse, DeleteConfigFileReleasesResponse, ModifyGovernanceInstancesRequest, DeleteCloudNativeAPIGatewayCanaryRuleResponse, UpdateCloudNativeAPIGatewayCertificateInfoResponse, ModifyNetworkBasicInfoResponse, DescribeCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayRequest, DescribeGovernanceServiceContractVersionsResponse, ModifyConfigFilesResponse, DescribeAllConfigFileTemplatesResponse, DescribeConfigFileReleaseVersionsRequest, ModifyCloudNativeAPIGatewayRouteRateLimitRequest, ModifyCloudNativeAPIGatewayCertificateRequest, DeleteGovernanceAliasesResponse, DeleteAutoScalerResourceStrategyRequest, CreateGovernanceInstancesResponse, DeleteEngineResponse, ModifyCloudNativeAPIGatewayCanaryRuleRequest, DescribeCloudNativeAPIGatewayPortsResponse, DeleteGovernanceNamespacesRequest, DescribeCloudNativeAPIGatewayConfigResponse, CreateCloudNativeAPIGatewayRouteResponse, DeleteConfigFilesResponse, CreateCloudNativeAPIGatewayServiceRateLimitResponse, DescribeCloudNativeAPIGatewayServiceRateLimitResponse, ModifyGovernanceAliasResponse, DeleteGovernanceInstancesByHostRequest, CreateCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewaysResponse, CreateGovernanceNamespacesResponse, CreateConfigFileGroupRequest, DeleteAutoScalerResourceStrategyResponse, DescribeOneCloudNativeAPIGatewayServiceRequest, DeleteGovernanceAliasesRequest, DescribeWafDomainsRequest, ModifyUpstreamNodeStatusResponse, OpenWafProtectionResponse, DescribeCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewayRequest, DeleteConfigFileGroupRequest, CreateCloudNativeAPIGatewayCanaryRuleRequest, OpenWafProtectionRequest, DescribeCloudNativeAPIGatewayRoutesRequest, CreateEngineResponse, DescribeNacosServerInterfacesRequest, DescribeSREInstancesRequest, DescribeZookeeperReplicasResponse, ModifyConfigFileGroupRequest, DescribePublicAddressConfigResponse, PublishConfigFilesRequest, DescribeConfigFileReleaseHistoriesRequest, ModifyCloudNativeAPIGatewayRequest, DescribeNativeGatewayServerGroupsResponse, ModifyNativeGatewayServerGroupResponse, DescribeNativeGatewayServiceSourcesResponse, CreateCloudNativeAPIGatewayServiceResponse, DeleteCloudNativeAPIGatewayRouteRateLimitResponse, DescribeConfigFileGroupsRequest, CreateGovernanceNamespacesRequest, ModifyCloudNativeAPIGatewayRouteRequest, CreateGovernanceAliasResponse, DeleteConfigFileGroupResponse, DescribeGovernanceAliasesRequest, ModifyCloudNativeAPIGatewayServiceResponse, DescribeAutoScalerResourceStrategyBindingGroupsResponse, DescribeInstanceTagInfosRequest, DeleteGovernanceServicesResponse, DeleteCloudNativeAPIGatewayCertificateResponse, DeleteCloudNativeAPIGatewayCanaryRuleRequest, DescribeNativeGatewayServiceSourcesRequest, CreateWafDomainsResponse, DescribePublicAddressConfigRequest, CreateConfigFileResponse, DescribeCloudNativeAPIGatewayUpstreamResponse, UpdateUpstreamTargetsRequest, DeleteCloudNativeAPIGatewayServiceResponse, DescribeConfigFileRequest, DeleteNativeGatewayServerGroupRequest, RollbackConfigFileReleasesResponse, DescribeNacosReplicasResponse, DescribeGovernanceInstancesResponse, ModifyGovernanceNamespacesResponse, DescribeCloudNativeAPIGatewaysRequest, DeleteCloudNativeAPIGatewayServiceRequest, DescribePublicNetworkResponse, DescribeInstanceTagInfosResponse, DeleteConfigFilesRequest, DescribeGovernanceServicesResponse, CloseWafProtectionResponse, CreateAutoScalerResourceStrategyResponse, UpdateCloudNativeAPIGatewaySpecRequest, DeleteEngineRequest, ModifyNetworkBasicInfoRequest, ModifyCloudNativeAPIGatewayServiceRateLimitRequest, DescribeCloudNativeAPIGatewayCanaryRulesResponse, DescribeZookeeperServerInterfacesResponse, DescribeConfigFileReleaseVersionsResponse, DeleteCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayCertificateDetailsResponse, CreateGovernanceServicesResponse, RestartSREInstanceRequest, CreateOrUpdateConfigFileAndReleaseResponse, DescribeOneCloudNativeAPIGatewayServiceResponse, DeleteNativeGatewayServiceSourceRequest, RestartSREInstanceResponse, DescribeZookeeperServerInterfacesRequest, DeleteGovernanceServicesRequest, ModifyGovernanceServicesResponse, DeleteConfigFileReleasesRequest, CreateAutoScalerResourceStrategyRequest, ModifyNativeGatewayServiceSourceResponse, DescribeGovernanceServiceContractsResponse, UpdateUpstreamHealthCheckConfigResponse, CreateCloudNativeAPIGatewayRouteRequest, CreateEngineRequest, DeleteWafDomainsResponse, ModifyCloudNativeAPIGatewayRouteRateLimitResponse, DescribeConfigFileReleaseHistoriesResponse, DescribeCloudNativeAPIGatewayCanaryRulesRequest, CreateConfigFileGroupResponse, DescribeCloudNativeAPIGatewayPortsRequest, DescribeGovernanceServicesRequest, DescribeConfigFileReleaseResponse } from "./tse_models";
|
|
4
4
|
/**
|
|
5
5
|
* tse client
|
|
6
6
|
* @class
|
|
@@ -91,6 +91,10 @@ export declare class Client extends AbstractClient {
|
|
|
91
91
|
* 查看弹性伸缩策略列表
|
|
92
92
|
*/
|
|
93
93
|
DescribeAutoScalerResourceStrategies(req: DescribeAutoScalerResourceStrategiesRequest, cb?: (error: string, rep: DescribeAutoScalerResourceStrategiesResponse) => void): Promise<DescribeAutoScalerResourceStrategiesResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* 修改网关服务来源
|
|
96
|
+
*/
|
|
97
|
+
ModifyNativeGatewayServiceSource(req: ModifyNativeGatewayServiceSourceRequest, cb?: (error: string, rep: ModifyNativeGatewayServiceSourceResponse) => void): Promise<ModifyNativeGatewayServiceSourceResponse>;
|
|
94
98
|
/**
|
|
95
99
|
* 修改云原生API网关实例网络基本信息,例如带宽以及描述,只支持修改客户端公网/内网的信息。
|
|
96
100
|
*/
|
|
@@ -139,6 +143,10 @@ export declare class Client extends AbstractClient {
|
|
|
139
143
|
* 发布配置文件
|
|
140
144
|
*/
|
|
141
145
|
PublishConfigFiles(req: PublishConfigFilesRequest, cb?: (error: string, rep: PublishConfigFilesResponse) => void): Promise<PublishConfigFilesResponse>;
|
|
146
|
+
/**
|
|
147
|
+
* 删除治理中心服务
|
|
148
|
+
*/
|
|
149
|
+
DeleteGovernanceServices(req: DeleteGovernanceServicesRequest, cb?: (error: string, rep: DeleteGovernanceServicesResponse) => void): Promise<DeleteGovernanceServicesResponse>;
|
|
142
150
|
/**
|
|
143
151
|
* 根据命名空间、组、名字查找配置文件
|
|
144
152
|
*/
|
|
@@ -176,9 +184,9 @@ export declare class Client extends AbstractClient {
|
|
|
176
184
|
*/
|
|
177
185
|
DescribeGovernanceNamespaces(req: DescribeGovernanceNamespacesRequest, cb?: (error: string, rep: DescribeGovernanceNamespacesResponse) => void): Promise<DescribeGovernanceNamespacesResponse>;
|
|
178
186
|
/**
|
|
179
|
-
*
|
|
187
|
+
* 删除治理中心服务实例
|
|
180
188
|
*/
|
|
181
|
-
|
|
189
|
+
DeleteGovernanceInstancesByHost(req: DeleteGovernanceInstancesByHostRequest, cb?: (error: string, rep: DeleteGovernanceInstancesByHostResponse) => void): Promise<DeleteGovernanceInstancesByHostResponse>;
|
|
182
190
|
/**
|
|
183
191
|
* 创建云原生网关路由
|
|
184
192
|
*/
|
|
@@ -231,6 +239,10 @@ export declare class Client extends AbstractClient {
|
|
|
231
239
|
* 获取云原生网关服务健康检查配置
|
|
232
240
|
*/
|
|
233
241
|
DescribeUpstreamHealthCheckConfig(req: DescribeUpstreamHealthCheckConfigRequest, cb?: (error: string, rep: DescribeUpstreamHealthCheckConfigResponse) => void): Promise<DescribeUpstreamHealthCheckConfigResponse>;
|
|
242
|
+
/**
|
|
243
|
+
* 查询网关服务来源实例列表
|
|
244
|
+
*/
|
|
245
|
+
DescribeNativeGatewayServiceSources(req: DescribeNativeGatewayServiceSourcesRequest, cb?: (error: string, rep: DescribeNativeGatewayServiceSourcesResponse) => void): Promise<DescribeNativeGatewayServiceSourcesResponse>;
|
|
234
246
|
/**
|
|
235
247
|
* 修改云原生API网关实例分组基础信息
|
|
236
248
|
*/
|
|
@@ -244,9 +256,9 @@ export declare class Client extends AbstractClient {
|
|
|
244
256
|
*/
|
|
245
257
|
ModifyCloudNativeAPIGatewayServiceRateLimit(req: ModifyCloudNativeAPIGatewayServiceRateLimitRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayServiceRateLimitResponse) => void): Promise<ModifyCloudNativeAPIGatewayServiceRateLimitResponse>;
|
|
246
258
|
/**
|
|
247
|
-
*
|
|
259
|
+
* 创建网关服务来源
|
|
248
260
|
*/
|
|
249
|
-
|
|
261
|
+
CreateNativeGatewayServiceSource(req: CreateNativeGatewayServiceSourceRequest, cb?: (error: string, rep: CreateNativeGatewayServiceSourceResponse) => void): Promise<CreateNativeGatewayServiceSourceResponse>;
|
|
250
262
|
/**
|
|
251
263
|
* 重启微服务引擎实例
|
|
252
264
|
*/
|
|
@@ -303,6 +315,10 @@ export declare class Client extends AbstractClient {
|
|
|
303
315
|
* 查询服务下契约版本列表
|
|
304
316
|
*/
|
|
305
317
|
DescribeGovernanceServiceContractVersions(req: DescribeGovernanceServiceContractVersionsRequest, cb?: (error: string, rep: DescribeGovernanceServiceContractVersionsResponse) => void): Promise<DescribeGovernanceServiceContractVersionsResponse>;
|
|
318
|
+
/**
|
|
319
|
+
* 更新网关上游实例列表,仅支持IPList服务类型
|
|
320
|
+
*/
|
|
321
|
+
UpdateUpstreamTargets(req: UpdateUpstreamTargetsRequest, cb?: (error: string, rep: UpdateUpstreamTargetsResponse) => void): Promise<UpdateUpstreamTargetsResponse>;
|
|
306
322
|
/**
|
|
307
323
|
* 开启 WAF 防护
|
|
308
324
|
*/
|
|
@@ -448,9 +464,9 @@ export declare class Client extends AbstractClient {
|
|
|
448
464
|
*/
|
|
449
465
|
CreateCloudNativeAPIGatewayServiceRateLimit(req: CreateCloudNativeAPIGatewayServiceRateLimitRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayServiceRateLimitResponse) => void): Promise<CreateCloudNativeAPIGatewayServiceRateLimitResponse>;
|
|
450
466
|
/**
|
|
451
|
-
*
|
|
467
|
+
* 删除网关服务来源实例
|
|
452
468
|
*/
|
|
453
|
-
|
|
469
|
+
DeleteNativeGatewayServiceSource(req: DeleteNativeGatewayServiceSourceRequest, cb?: (error: string, rep: DeleteNativeGatewayServiceSourceResponse) => void): Promise<DeleteNativeGatewayServiceSourceResponse>;
|
|
454
470
|
/**
|
|
455
471
|
* 获取配置文件发布历史列表
|
|
456
472
|
*/
|
|
@@ -153,6 +153,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
153
153
|
async DescribeAutoScalerResourceStrategies(req, cb) {
|
|
154
154
|
return this.request("DescribeAutoScalerResourceStrategies", req, cb);
|
|
155
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* 修改网关服务来源
|
|
158
|
+
*/
|
|
159
|
+
async ModifyNativeGatewayServiceSource(req, cb) {
|
|
160
|
+
return this.request("ModifyNativeGatewayServiceSource", req, cb);
|
|
161
|
+
}
|
|
156
162
|
/**
|
|
157
163
|
* 修改云原生API网关实例网络基本信息,例如带宽以及描述,只支持修改客户端公网/内网的信息。
|
|
158
164
|
*/
|
|
@@ -225,6 +231,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
225
231
|
async PublishConfigFiles(req, cb) {
|
|
226
232
|
return this.request("PublishConfigFiles", req, cb);
|
|
227
233
|
}
|
|
234
|
+
/**
|
|
235
|
+
* 删除治理中心服务
|
|
236
|
+
*/
|
|
237
|
+
async DeleteGovernanceServices(req, cb) {
|
|
238
|
+
return this.request("DeleteGovernanceServices", req, cb);
|
|
239
|
+
}
|
|
228
240
|
/**
|
|
229
241
|
* 根据命名空间、组、名字查找配置文件
|
|
230
242
|
*/
|
|
@@ -280,10 +292,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
280
292
|
return this.request("DescribeGovernanceNamespaces", req, cb);
|
|
281
293
|
}
|
|
282
294
|
/**
|
|
283
|
-
*
|
|
295
|
+
* 删除治理中心服务实例
|
|
284
296
|
*/
|
|
285
|
-
async
|
|
286
|
-
return this.request("
|
|
297
|
+
async DeleteGovernanceInstancesByHost(req, cb) {
|
|
298
|
+
return this.request("DeleteGovernanceInstancesByHost", req, cb);
|
|
287
299
|
}
|
|
288
300
|
/**
|
|
289
301
|
* 创建云原生网关路由
|
|
@@ -363,6 +375,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
363
375
|
async DescribeUpstreamHealthCheckConfig(req, cb) {
|
|
364
376
|
return this.request("DescribeUpstreamHealthCheckConfig", req, cb);
|
|
365
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* 查询网关服务来源实例列表
|
|
380
|
+
*/
|
|
381
|
+
async DescribeNativeGatewayServiceSources(req, cb) {
|
|
382
|
+
return this.request("DescribeNativeGatewayServiceSources", req, cb);
|
|
383
|
+
}
|
|
366
384
|
/**
|
|
367
385
|
* 修改云原生API网关实例分组基础信息
|
|
368
386
|
*/
|
|
@@ -382,10 +400,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
382
400
|
return this.request("ModifyCloudNativeAPIGatewayServiceRateLimit", req, cb);
|
|
383
401
|
}
|
|
384
402
|
/**
|
|
385
|
-
*
|
|
403
|
+
* 创建网关服务来源
|
|
386
404
|
*/
|
|
387
|
-
async
|
|
388
|
-
return this.request("
|
|
405
|
+
async CreateNativeGatewayServiceSource(req, cb) {
|
|
406
|
+
return this.request("CreateNativeGatewayServiceSource", req, cb);
|
|
389
407
|
}
|
|
390
408
|
/**
|
|
391
409
|
* 重启微服务引擎实例
|
|
@@ -471,6 +489,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
471
489
|
async DescribeGovernanceServiceContractVersions(req, cb) {
|
|
472
490
|
return this.request("DescribeGovernanceServiceContractVersions", req, cb);
|
|
473
491
|
}
|
|
492
|
+
/**
|
|
493
|
+
* 更新网关上游实例列表,仅支持IPList服务类型
|
|
494
|
+
*/
|
|
495
|
+
async UpdateUpstreamTargets(req, cb) {
|
|
496
|
+
return this.request("UpdateUpstreamTargets", req, cb);
|
|
497
|
+
}
|
|
474
498
|
/**
|
|
475
499
|
* 开启 WAF 防护
|
|
476
500
|
*/
|
|
@@ -688,10 +712,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
688
712
|
return this.request("CreateCloudNativeAPIGatewayServiceRateLimit", req, cb);
|
|
689
713
|
}
|
|
690
714
|
/**
|
|
691
|
-
*
|
|
715
|
+
* 删除网关服务来源实例
|
|
692
716
|
*/
|
|
693
|
-
async
|
|
694
|
-
return this.request("
|
|
717
|
+
async DeleteNativeGatewayServiceSource(req, cb) {
|
|
718
|
+
return this.request("DeleteNativeGatewayServiceSource", req, cb);
|
|
695
719
|
}
|
|
696
720
|
/**
|
|
697
721
|
* 获取配置文件发布历史列表
|