tencentcloud-sdk-nodejs 4.0.1035 → 4.0.1036
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/package.json +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apm/v20210622/apm_client.ts +12 -0
- package/src/services/apm/v20210622/apm_models.ts +66 -0
- package/src/services/dc/v20180410/dc_models.ts +4 -0
- package/src/services/emr/v20190103/emr_models.ts +27 -0
- package/src/services/mna/v20210119/mna_models.ts +7 -36
- package/src/services/ocr/v20181119/ocr_client.ts +5 -3
- package/src/services/scf/v20180416/scf_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +64 -0
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +4 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +27 -0
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +6 -35
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +3 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +3 -1
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.1036"
|
|
@@ -43,9 +43,11 @@ import {
|
|
|
43
43
|
APMKVItem,
|
|
44
44
|
OrderBy,
|
|
45
45
|
DescribeMetricRecordsResponse,
|
|
46
|
+
DescribeGeneralOTSpanListResponse,
|
|
46
47
|
DescribeGeneralSpanListRequest,
|
|
47
48
|
Filter,
|
|
48
49
|
APMKV,
|
|
50
|
+
DescribeGeneralOTSpanListRequest,
|
|
49
51
|
DescribeApmAgentRequest,
|
|
50
52
|
DescribeMetricRecordsRequest,
|
|
51
53
|
DescribeGeneralApmApplicationConfigResponse,
|
|
@@ -122,6 +124,16 @@ export class Client extends AbstractClient {
|
|
|
122
124
|
return this.request("DescribeApmAgent", req, cb)
|
|
123
125
|
}
|
|
124
126
|
|
|
127
|
+
/**
|
|
128
|
+
* 通用查询 OpenTelemetry 调用链列表
|
|
129
|
+
*/
|
|
130
|
+
async DescribeGeneralOTSpanList(
|
|
131
|
+
req: DescribeGeneralOTSpanListRequest,
|
|
132
|
+
cb?: (error: string, rep: DescribeGeneralOTSpanListResponse) => void
|
|
133
|
+
): Promise<DescribeGeneralOTSpanListResponse> {
|
|
134
|
+
return this.request("DescribeGeneralOTSpanList", req, cb)
|
|
135
|
+
}
|
|
136
|
+
|
|
125
137
|
/**
|
|
126
138
|
* 修改APM业务系统接口
|
|
127
139
|
*/
|
|
@@ -839,6 +839,24 @@ export interface DescribeMetricRecordsResponse {
|
|
|
839
839
|
RequestId?: string
|
|
840
840
|
}
|
|
841
841
|
|
|
842
|
+
/**
|
|
843
|
+
* DescribeGeneralOTSpanList返回参数结构体
|
|
844
|
+
*/
|
|
845
|
+
export interface DescribeGeneralOTSpanListResponse {
|
|
846
|
+
/**
|
|
847
|
+
* 总数量
|
|
848
|
+
*/
|
|
849
|
+
TotalCount?: number
|
|
850
|
+
/**
|
|
851
|
+
* 装有查询结果 Spans 的 Trace 结构体。OpenTelemetry 标准 Trace 结构体哈希后的字符串,先将 Trace 利用 ptrace.JSONMarshaler 转换成 Json 字符串,再用 gzip 压缩,最后转换成 base64 标准的字符串。
|
|
852
|
+
*/
|
|
853
|
+
Spans?: string
|
|
854
|
+
/**
|
|
855
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
856
|
+
*/
|
|
857
|
+
RequestId?: string
|
|
858
|
+
}
|
|
859
|
+
|
|
842
860
|
/**
|
|
843
861
|
* DescribeGeneralSpanList请求参数结构体
|
|
844
862
|
*/
|
|
@@ -919,6 +937,54 @@ export interface APMKV {
|
|
|
919
937
|
Value?: number
|
|
920
938
|
}
|
|
921
939
|
|
|
940
|
+
/**
|
|
941
|
+
* DescribeGeneralOTSpanList请求参数结构体
|
|
942
|
+
*/
|
|
943
|
+
export interface DescribeGeneralOTSpanListRequest {
|
|
944
|
+
/**
|
|
945
|
+
* 业务系统 ID
|
|
946
|
+
*/
|
|
947
|
+
InstanceId: string
|
|
948
|
+
/**
|
|
949
|
+
* Span 查询开始时间戳(单位:秒)
|
|
950
|
+
*/
|
|
951
|
+
StartTime: number
|
|
952
|
+
/**
|
|
953
|
+
* Span 查询结束时间戳(单位:秒)
|
|
954
|
+
*/
|
|
955
|
+
EndTime: number
|
|
956
|
+
/**
|
|
957
|
+
* 通用过滤参数
|
|
958
|
+
*/
|
|
959
|
+
Filters?: Array<Filter>
|
|
960
|
+
/**
|
|
961
|
+
* 排序
|
|
962
|
+
现支持的 Key 有:
|
|
963
|
+
|
|
964
|
+
- startTime(开始时间)
|
|
965
|
+
- endTime(结束时间)
|
|
966
|
+
- duration(响应时间)
|
|
967
|
+
|
|
968
|
+
现支持的 Value 有:
|
|
969
|
+
|
|
970
|
+
- desc(降序排序)
|
|
971
|
+
- asc(升序排序)
|
|
972
|
+
*/
|
|
973
|
+
OrderBy?: OrderBy
|
|
974
|
+
/**
|
|
975
|
+
* 业务自身服务名,控制台用户请填写taw
|
|
976
|
+
*/
|
|
977
|
+
BusinessName?: string
|
|
978
|
+
/**
|
|
979
|
+
* 单页项目个数,默认为10000,合法取值范围为0~10000
|
|
980
|
+
*/
|
|
981
|
+
Limit?: number
|
|
982
|
+
/**
|
|
983
|
+
* 分页
|
|
984
|
+
*/
|
|
985
|
+
Offset?: number
|
|
986
|
+
}
|
|
987
|
+
|
|
922
988
|
/**
|
|
923
989
|
* DescribeApmAgent请求参数结构体
|
|
924
990
|
*/
|
|
@@ -1338,11 +1338,38 @@ export interface LoadAutoScaleStrategy {
|
|
|
1338
1338
|
"MEMORYGB"表示按照机器内存数计算。
|
|
1339
1339
|
*/
|
|
1340
1340
|
MeasureMethod?: string
|
|
1341
|
+
/**
|
|
1342
|
+
* 节点部署服务列表,例如["HDFS-3.1.2","YARN-3.1.2"]。
|
|
1343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1344
|
+
*/
|
|
1345
|
+
SoftDeployDesc?: Array<string>
|
|
1346
|
+
/**
|
|
1347
|
+
* 启动进程列表,例如["NodeManager"]。
|
|
1348
|
+
*/
|
|
1349
|
+
ServiceNodeDesc?: string
|
|
1350
|
+
/**
|
|
1351
|
+
* 启动进程列表。
|
|
1352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1353
|
+
*/
|
|
1354
|
+
ServiceNodeInfo?: Array<number | bigint>
|
|
1355
|
+
/**
|
|
1356
|
+
* 节点部署服务列表。部署服务仅填写HDFS、YARN。[组件名对应的映射关系表](https://cloud.tencent.com/document/product/589/98760)
|
|
1357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1358
|
+
*/
|
|
1359
|
+
SoftDeployInfo?: Array<number | bigint>
|
|
1341
1360
|
/**
|
|
1342
1361
|
* 多指标触发条件
|
|
1343
1362
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1344
1363
|
*/
|
|
1345
1364
|
LoadMetricsConditions?: LoadMetricsConditions
|
|
1365
|
+
/**
|
|
1366
|
+
* 伸缩组Id
|
|
1367
|
+
*/
|
|
1368
|
+
GroupId?: number
|
|
1369
|
+
/**
|
|
1370
|
+
* soft例如yarn
|
|
1371
|
+
*/
|
|
1372
|
+
Soft?: string
|
|
1346
1373
|
}
|
|
1347
1374
|
|
|
1348
1375
|
/**
|
|
@@ -445,77 +445,63 @@ export interface GetGroupListRequest {
|
|
|
445
445
|
export interface HardwareInfo {
|
|
446
446
|
/**
|
|
447
447
|
* 设备ID
|
|
448
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
449
448
|
*/
|
|
450
449
|
DeviceId?: string
|
|
451
450
|
/**
|
|
452
451
|
* 设备名称
|
|
453
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
454
452
|
*/
|
|
455
453
|
DeviceName?: string
|
|
456
454
|
/**
|
|
457
455
|
* 激活时间
|
|
458
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
459
456
|
*/
|
|
460
457
|
ActiveTime?: string
|
|
461
458
|
/**
|
|
462
459
|
* 最后在线时间
|
|
463
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
464
460
|
*/
|
|
465
461
|
LastOnlineTime?: string
|
|
466
462
|
/**
|
|
467
463
|
* 备注
|
|
468
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
469
464
|
*/
|
|
470
465
|
Description?: string
|
|
471
466
|
/**
|
|
472
467
|
* 厂商备注
|
|
473
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
474
468
|
*/
|
|
475
469
|
VendorDescription?: string
|
|
476
470
|
/**
|
|
477
471
|
* license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权
|
|
478
472
|
注:后续将废弃此参数,新接入请使用LicensePayMode和Payer
|
|
479
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
480
473
|
*/
|
|
481
474
|
LicenseChargingMode?: number
|
|
482
475
|
/**
|
|
483
476
|
* 创建时间
|
|
484
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
485
477
|
*/
|
|
486
478
|
CreateTime?: string
|
|
487
479
|
/**
|
|
488
480
|
* 硬件序列号
|
|
489
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
490
481
|
*/
|
|
491
482
|
SN?: string
|
|
492
483
|
/**
|
|
493
484
|
* license授权有效期
|
|
494
485
|
0:月度授权
|
|
495
486
|
1:永久授权
|
|
496
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
497
487
|
*/
|
|
498
488
|
LicensePayMode?: number
|
|
499
489
|
/**
|
|
500
490
|
* 付费方
|
|
501
491
|
0:客户付费
|
|
502
492
|
1:厂商付费
|
|
503
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
504
493
|
*/
|
|
505
494
|
Payer?: number
|
|
506
495
|
/**
|
|
507
496
|
* 设备分组ID
|
|
508
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
509
497
|
*/
|
|
510
498
|
GroupId?: string
|
|
511
499
|
/**
|
|
512
500
|
* 设备分组名称
|
|
513
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
514
501
|
*/
|
|
515
502
|
GroupName?: string
|
|
516
503
|
/**
|
|
517
|
-
* 设备无流量包处理方式,0: 按量付费,1: 截断加速
|
|
518
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
504
|
+
* 设备无流量包处理方式,0: 按量付费,1: 截断加速
|
|
519
505
|
*/
|
|
520
506
|
FlowTrunc?: number
|
|
521
507
|
}
|
|
@@ -880,7 +866,6 @@ export interface GroupInfo {
|
|
|
880
866
|
UpdateTime?: string
|
|
881
867
|
/**
|
|
882
868
|
* 分组描述
|
|
883
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
884
869
|
*/
|
|
885
870
|
Description?: string
|
|
886
871
|
/**
|
|
@@ -939,7 +924,6 @@ export interface VendorHardware {
|
|
|
939
924
|
Status?: number
|
|
940
925
|
/**
|
|
941
926
|
* 激活时间
|
|
942
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
943
927
|
*/
|
|
944
928
|
ActiveTime?: string
|
|
945
929
|
/**
|
|
@@ -957,7 +941,6 @@ export interface VendorHardware {
|
|
|
957
941
|
LicenseChargingMode?: number
|
|
958
942
|
/**
|
|
959
943
|
* 最后在线时间
|
|
960
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
961
944
|
*/
|
|
962
945
|
LastOnlineTime?: string
|
|
963
946
|
/**
|
|
@@ -1190,19 +1173,16 @@ export interface GetFlowStatisticRequest {
|
|
|
1190
1173
|
export interface SlotNetInfo {
|
|
1191
1174
|
/**
|
|
1192
1175
|
* 网卡名
|
|
1193
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1194
1176
|
*/
|
|
1195
|
-
NetInfoName
|
|
1177
|
+
NetInfoName?: string
|
|
1196
1178
|
/**
|
|
1197
1179
|
* 公网IP
|
|
1198
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1199
1180
|
*/
|
|
1200
|
-
PublicIP
|
|
1181
|
+
PublicIP?: string
|
|
1201
1182
|
/**
|
|
1202
1183
|
* 指标数据(bps/ms/%)
|
|
1203
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1204
1184
|
*/
|
|
1205
|
-
Current
|
|
1185
|
+
Current?: number
|
|
1206
1186
|
}
|
|
1207
1187
|
|
|
1208
1188
|
/**
|
|
@@ -1712,7 +1692,6 @@ DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
|
1712
1692
|
Status?: number
|
|
1713
1693
|
/**
|
|
1714
1694
|
* 购买时间,Unix时间戳格式,单位:秒
|
|
1715
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1716
1695
|
*/
|
|
1717
1696
|
CreateTime?: number
|
|
1718
1697
|
/**
|
|
@@ -2056,7 +2035,6 @@ export interface L3ConnInfo {
|
|
|
2056
2035
|
Enable?: boolean
|
|
2057
2036
|
/**
|
|
2058
2037
|
* 互通规则描述
|
|
2059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2060
2038
|
*/
|
|
2061
2039
|
Description?: string
|
|
2062
2040
|
}
|
|
@@ -2303,7 +2281,6 @@ export interface DevicePayModeInfo {
|
|
|
2303
2281
|
PayModeDesc?: string
|
|
2304
2282
|
/**
|
|
2305
2283
|
* 流量包ID,仅当付费模式为流量包类型时才有。
|
|
2306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2307
2284
|
*/
|
|
2308
2285
|
ResourceId?: string
|
|
2309
2286
|
}
|
|
@@ -2315,17 +2292,15 @@ export interface MonitorData {
|
|
|
2315
2292
|
/**
|
|
2316
2293
|
* 时间点:s
|
|
2317
2294
|
*/
|
|
2318
|
-
Time
|
|
2295
|
+
Time?: string
|
|
2319
2296
|
/**
|
|
2320
2297
|
* 业务指标(bps/ms/%)
|
|
2321
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2322
2298
|
*/
|
|
2323
|
-
BusinessMetrics
|
|
2299
|
+
BusinessMetrics?: number
|
|
2324
2300
|
/**
|
|
2325
2301
|
* 网卡状态信息
|
|
2326
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2327
2302
|
*/
|
|
2328
|
-
SlotNetInfo
|
|
2303
|
+
SlotNetInfo?: Array<SlotNetInfo>
|
|
2329
2304
|
}
|
|
2330
2305
|
|
|
2331
2306
|
/**
|
|
@@ -2394,7 +2369,6 @@ export interface AddHardwareRequest {
|
|
|
2394
2369
|
export interface Hardware {
|
|
2395
2370
|
/**
|
|
2396
2371
|
* 硬件序列号
|
|
2397
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2398
2372
|
*/
|
|
2399
2373
|
SN: string
|
|
2400
2374
|
/**
|
|
@@ -2402,17 +2376,14 @@ export interface Hardware {
|
|
|
2402
2376
|
1,租户付费
|
|
2403
2377
|
2,厂商月付费
|
|
2404
2378
|
3,厂商永久授权
|
|
2405
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2406
2379
|
*/
|
|
2407
2380
|
LicenseChargingMode: number
|
|
2408
2381
|
/**
|
|
2409
2382
|
* 设备描述
|
|
2410
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2411
2383
|
*/
|
|
2412
2384
|
Description?: string
|
|
2413
2385
|
/**
|
|
2414
2386
|
* 硬件ID,入参无需传递
|
|
2415
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2416
2387
|
*/
|
|
2417
2388
|
HardwareId?: string
|
|
2418
2389
|
}
|
|
@@ -980,8 +980,10 @@ export class Client extends AbstractClient {
|
|
|
980
980
|
}
|
|
981
981
|
|
|
982
982
|
/**
|
|
983
|
-
|
|
984
|
-
|
|
983
|
+
* 支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。
|
|
984
|
+
|
|
985
|
+
默认接口请求频率限制:5次/秒。
|
|
986
|
+
*/
|
|
985
987
|
async RecognizeGeneralCardWarn(
|
|
986
988
|
req: RecognizeGeneralCardWarnRequest,
|
|
987
989
|
cb?: (error: string, rep: RecognizeGeneralCardWarnResponse) => void
|
|
@@ -1114,7 +1116,7 @@ export class Client extends AbstractClient {
|
|
|
1114
1116
|
/**
|
|
1115
1117
|
* 本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
|
|
1116
1118
|
|
|
1117
|
-
默认接口请求频率限制:
|
|
1119
|
+
默认接口请求频率限制:5次/秒。
|
|
1118
1120
|
*/
|
|
1119
1121
|
async RecognizeValidIDCardOCR(
|
|
1120
1122
|
req: RecognizeValidIDCardOCRRequest,
|
|
@@ -2868,7 +2868,7 @@ export interface GetLayerVersionResponse {
|
|
|
2868
2868
|
*/
|
|
2869
2869
|
LayerName?: string
|
|
2870
2870
|
/**
|
|
2871
|
-
* 层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/115197#.E5.B1.82.EF.BC.
|
|
2871
|
+
* 层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/115197#.E5.B1.82.EF.BC.88Layer.EF.BC.89.E7.8A.B6.E6.80.81)
|
|
2872
2872
|
*/
|
|
2873
2873
|
Status?: string
|
|
2874
2874
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.1036";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, ModifyGeneralApmApplicationConfigRequest, DescribeServiceOverviewResponse, TerminateApmInstanceRequest, DescribeApmInstancesResponse, DescribeTagValuesResponse, DescribeGeneralSpanListResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse, DescribeTagValuesRequest, DescribeMetricRecordsResponse, DescribeGeneralSpanListRequest, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralApmApplicationConfigResponse, DescribeGeneralMetricDataRequest, CreateApmInstanceResponse, DescribeGeneralApmApplicationConfigRequest, ModifyApmInstanceResponse, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse, ModifyGeneralApmApplicationConfigResponse, TerminateApmInstanceResponse } from "./apm_models";
|
|
3
|
+
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, ModifyGeneralApmApplicationConfigRequest, DescribeServiceOverviewResponse, TerminateApmInstanceRequest, DescribeApmInstancesResponse, DescribeTagValuesResponse, DescribeGeneralSpanListResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse, DescribeTagValuesRequest, DescribeMetricRecordsResponse, DescribeGeneralOTSpanListResponse, DescribeGeneralSpanListRequest, DescribeGeneralOTSpanListRequest, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralApmApplicationConfigResponse, DescribeGeneralMetricDataRequest, CreateApmInstanceResponse, DescribeGeneralApmApplicationConfigRequest, ModifyApmInstanceResponse, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse, ModifyGeneralApmApplicationConfigResponse, TerminateApmInstanceResponse } from "./apm_models";
|
|
4
4
|
/**
|
|
5
5
|
* apm client
|
|
6
6
|
* @class
|
|
@@ -27,6 +27,10 @@ export declare class Client extends AbstractClient {
|
|
|
27
27
|
* 获取 APM 接入点
|
|
28
28
|
*/
|
|
29
29
|
DescribeApmAgent(req: DescribeApmAgentRequest, cb?: (error: string, rep: DescribeApmAgentResponse) => void): Promise<DescribeApmAgentResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 通用查询 OpenTelemetry 调用链列表
|
|
32
|
+
*/
|
|
33
|
+
DescribeGeneralOTSpanList(req: DescribeGeneralOTSpanListRequest, cb?: (error: string, rep: DescribeGeneralOTSpanListResponse) => void): Promise<DescribeGeneralOTSpanListResponse>;
|
|
30
34
|
/**
|
|
31
35
|
* 修改APM业务系统接口
|
|
32
36
|
*/
|
|
@@ -57,6 +57,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
57
57
|
async DescribeApmAgent(req, cb) {
|
|
58
58
|
return this.request("DescribeApmAgent", req, cb);
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* 通用查询 OpenTelemetry 调用链列表
|
|
62
|
+
*/
|
|
63
|
+
async DescribeGeneralOTSpanList(req, cb) {
|
|
64
|
+
return this.request("DescribeGeneralOTSpanList", req, cb);
|
|
65
|
+
}
|
|
60
66
|
/**
|
|
61
67
|
* 修改APM业务系统接口
|
|
62
68
|
*/
|
|
@@ -797,6 +797,23 @@ export interface DescribeMetricRecordsResponse {
|
|
|
797
797
|
*/
|
|
798
798
|
RequestId?: string;
|
|
799
799
|
}
|
|
800
|
+
/**
|
|
801
|
+
* DescribeGeneralOTSpanList返回参数结构体
|
|
802
|
+
*/
|
|
803
|
+
export interface DescribeGeneralOTSpanListResponse {
|
|
804
|
+
/**
|
|
805
|
+
* 总数量
|
|
806
|
+
*/
|
|
807
|
+
TotalCount?: number;
|
|
808
|
+
/**
|
|
809
|
+
* 装有查询结果 Spans 的 Trace 结构体。OpenTelemetry 标准 Trace 结构体哈希后的字符串,先将 Trace 利用 ptrace.JSONMarshaler 转换成 Json 字符串,再用 gzip 压缩,最后转换成 base64 标准的字符串。
|
|
810
|
+
*/
|
|
811
|
+
Spans?: string;
|
|
812
|
+
/**
|
|
813
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
814
|
+
*/
|
|
815
|
+
RequestId?: string;
|
|
816
|
+
}
|
|
800
817
|
/**
|
|
801
818
|
* DescribeGeneralSpanList请求参数结构体
|
|
802
819
|
*/
|
|
@@ -874,6 +891,53 @@ export interface APMKV {
|
|
|
874
891
|
*/
|
|
875
892
|
Value?: number;
|
|
876
893
|
}
|
|
894
|
+
/**
|
|
895
|
+
* DescribeGeneralOTSpanList请求参数结构体
|
|
896
|
+
*/
|
|
897
|
+
export interface DescribeGeneralOTSpanListRequest {
|
|
898
|
+
/**
|
|
899
|
+
* 业务系统 ID
|
|
900
|
+
*/
|
|
901
|
+
InstanceId: string;
|
|
902
|
+
/**
|
|
903
|
+
* Span 查询开始时间戳(单位:秒)
|
|
904
|
+
*/
|
|
905
|
+
StartTime: number;
|
|
906
|
+
/**
|
|
907
|
+
* Span 查询结束时间戳(单位:秒)
|
|
908
|
+
*/
|
|
909
|
+
EndTime: number;
|
|
910
|
+
/**
|
|
911
|
+
* 通用过滤参数
|
|
912
|
+
*/
|
|
913
|
+
Filters?: Array<Filter>;
|
|
914
|
+
/**
|
|
915
|
+
* 排序
|
|
916
|
+
现支持的 Key 有:
|
|
917
|
+
|
|
918
|
+
- startTime(开始时间)
|
|
919
|
+
- endTime(结束时间)
|
|
920
|
+
- duration(响应时间)
|
|
921
|
+
|
|
922
|
+
现支持的 Value 有:
|
|
923
|
+
|
|
924
|
+
- desc(降序排序)
|
|
925
|
+
- asc(升序排序)
|
|
926
|
+
*/
|
|
927
|
+
OrderBy?: OrderBy;
|
|
928
|
+
/**
|
|
929
|
+
* 业务自身服务名,控制台用户请填写taw
|
|
930
|
+
*/
|
|
931
|
+
BusinessName?: string;
|
|
932
|
+
/**
|
|
933
|
+
* 单页项目个数,默认为10000,合法取值范围为0~10000
|
|
934
|
+
*/
|
|
935
|
+
Limit?: number;
|
|
936
|
+
/**
|
|
937
|
+
* 分页
|
|
938
|
+
*/
|
|
939
|
+
Offset?: number;
|
|
940
|
+
}
|
|
877
941
|
/**
|
|
878
942
|
* DescribeApmAgent请求参数结构体
|
|
879
943
|
*/
|
|
@@ -1280,11 +1280,38 @@ export interface LoadAutoScaleStrategy {
|
|
|
1280
1280
|
"MEMORYGB"表示按照机器内存数计算。
|
|
1281
1281
|
*/
|
|
1282
1282
|
MeasureMethod?: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* 节点部署服务列表,例如["HDFS-3.1.2","YARN-3.1.2"]。
|
|
1285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1286
|
+
*/
|
|
1287
|
+
SoftDeployDesc?: Array<string>;
|
|
1288
|
+
/**
|
|
1289
|
+
* 启动进程列表,例如["NodeManager"]。
|
|
1290
|
+
*/
|
|
1291
|
+
ServiceNodeDesc?: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* 启动进程列表。
|
|
1294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1295
|
+
*/
|
|
1296
|
+
ServiceNodeInfo?: Array<number | bigint>;
|
|
1297
|
+
/**
|
|
1298
|
+
* 节点部署服务列表。部署服务仅填写HDFS、YARN。[组件名对应的映射关系表](https://cloud.tencent.com/document/product/589/98760)
|
|
1299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1300
|
+
*/
|
|
1301
|
+
SoftDeployInfo?: Array<number | bigint>;
|
|
1283
1302
|
/**
|
|
1284
1303
|
* 多指标触发条件
|
|
1285
1304
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1286
1305
|
*/
|
|
1287
1306
|
LoadMetricsConditions?: LoadMetricsConditions;
|
|
1307
|
+
/**
|
|
1308
|
+
* 伸缩组Id
|
|
1309
|
+
*/
|
|
1310
|
+
GroupId?: number;
|
|
1311
|
+
/**
|
|
1312
|
+
* soft例如yarn
|
|
1313
|
+
*/
|
|
1314
|
+
Soft?: string;
|
|
1288
1315
|
}
|
|
1289
1316
|
/**
|
|
1290
1317
|
* ModifyPodNum请求参数结构体
|
|
@@ -406,77 +406,63 @@ export interface GetGroupListRequest {
|
|
|
406
406
|
export interface HardwareInfo {
|
|
407
407
|
/**
|
|
408
408
|
* 设备ID
|
|
409
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
410
409
|
*/
|
|
411
410
|
DeviceId?: string;
|
|
412
411
|
/**
|
|
413
412
|
* 设备名称
|
|
414
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
415
413
|
*/
|
|
416
414
|
DeviceName?: string;
|
|
417
415
|
/**
|
|
418
416
|
* 激活时间
|
|
419
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
420
417
|
*/
|
|
421
418
|
ActiveTime?: string;
|
|
422
419
|
/**
|
|
423
420
|
* 最后在线时间
|
|
424
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
425
421
|
*/
|
|
426
422
|
LastOnlineTime?: string;
|
|
427
423
|
/**
|
|
428
424
|
* 备注
|
|
429
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
430
425
|
*/
|
|
431
426
|
Description?: string;
|
|
432
427
|
/**
|
|
433
428
|
* 厂商备注
|
|
434
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
435
429
|
*/
|
|
436
430
|
VendorDescription?: string;
|
|
437
431
|
/**
|
|
438
432
|
* license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权
|
|
439
433
|
注:后续将废弃此参数,新接入请使用LicensePayMode和Payer
|
|
440
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
441
434
|
*/
|
|
442
435
|
LicenseChargingMode?: number;
|
|
443
436
|
/**
|
|
444
437
|
* 创建时间
|
|
445
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
446
438
|
*/
|
|
447
439
|
CreateTime?: string;
|
|
448
440
|
/**
|
|
449
441
|
* 硬件序列号
|
|
450
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
451
442
|
*/
|
|
452
443
|
SN?: string;
|
|
453
444
|
/**
|
|
454
445
|
* license授权有效期
|
|
455
446
|
0:月度授权
|
|
456
447
|
1:永久授权
|
|
457
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
458
448
|
*/
|
|
459
449
|
LicensePayMode?: number;
|
|
460
450
|
/**
|
|
461
451
|
* 付费方
|
|
462
452
|
0:客户付费
|
|
463
453
|
1:厂商付费
|
|
464
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
465
454
|
*/
|
|
466
455
|
Payer?: number;
|
|
467
456
|
/**
|
|
468
457
|
* 设备分组ID
|
|
469
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
470
458
|
*/
|
|
471
459
|
GroupId?: string;
|
|
472
460
|
/**
|
|
473
461
|
* 设备分组名称
|
|
474
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
475
462
|
*/
|
|
476
463
|
GroupName?: string;
|
|
477
464
|
/**
|
|
478
465
|
* 设备无流量包处理方式,0: 按量付费,1: 截断加速
|
|
479
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
480
466
|
*/
|
|
481
467
|
FlowTrunc?: number;
|
|
482
468
|
}
|
|
@@ -821,7 +807,6 @@ export interface GroupInfo {
|
|
|
821
807
|
UpdateTime?: string;
|
|
822
808
|
/**
|
|
823
809
|
* 分组描述
|
|
824
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
825
810
|
*/
|
|
826
811
|
Description?: string;
|
|
827
812
|
/**
|
|
@@ -877,7 +862,6 @@ export interface VendorHardware {
|
|
|
877
862
|
Status?: number;
|
|
878
863
|
/**
|
|
879
864
|
* 激活时间
|
|
880
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
881
865
|
*/
|
|
882
866
|
ActiveTime?: string;
|
|
883
867
|
/**
|
|
@@ -895,7 +879,6 @@ export interface VendorHardware {
|
|
|
895
879
|
LicenseChargingMode?: number;
|
|
896
880
|
/**
|
|
897
881
|
* 最后在线时间
|
|
898
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
899
882
|
*/
|
|
900
883
|
LastOnlineTime?: string;
|
|
901
884
|
/**
|
|
@@ -1116,19 +1099,16 @@ export interface GetFlowStatisticRequest {
|
|
|
1116
1099
|
export interface SlotNetInfo {
|
|
1117
1100
|
/**
|
|
1118
1101
|
* 网卡名
|
|
1119
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1120
1102
|
*/
|
|
1121
|
-
NetInfoName
|
|
1103
|
+
NetInfoName?: string;
|
|
1122
1104
|
/**
|
|
1123
1105
|
* 公网IP
|
|
1124
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1125
1106
|
*/
|
|
1126
|
-
PublicIP
|
|
1107
|
+
PublicIP?: string;
|
|
1127
1108
|
/**
|
|
1128
1109
|
* 指标数据(bps/ms/%)
|
|
1129
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1130
1110
|
*/
|
|
1131
|
-
Current
|
|
1111
|
+
Current?: number;
|
|
1132
1112
|
}
|
|
1133
1113
|
/**
|
|
1134
1114
|
* 设备网络状态信息
|
|
@@ -1619,7 +1599,6 @@ export interface FlowPackageInfo {
|
|
|
1619
1599
|
Status?: number;
|
|
1620
1600
|
/**
|
|
1621
1601
|
* 购买时间,Unix时间戳格式,单位:秒
|
|
1622
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1623
1602
|
*/
|
|
1624
1603
|
CreateTime?: number;
|
|
1625
1604
|
/**
|
|
@@ -1950,7 +1929,6 @@ export interface L3ConnInfo {
|
|
|
1950
1929
|
Enable?: boolean;
|
|
1951
1930
|
/**
|
|
1952
1931
|
* 互通规则描述
|
|
1953
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1954
1932
|
*/
|
|
1955
1933
|
Description?: string;
|
|
1956
1934
|
}
|
|
@@ -2184,7 +2162,6 @@ export interface DevicePayModeInfo {
|
|
|
2184
2162
|
PayModeDesc?: string;
|
|
2185
2163
|
/**
|
|
2186
2164
|
* 流量包ID,仅当付费模式为流量包类型时才有。
|
|
2187
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2188
2165
|
*/
|
|
2189
2166
|
ResourceId?: string;
|
|
2190
2167
|
}
|
|
@@ -2195,17 +2172,15 @@ export interface MonitorData {
|
|
|
2195
2172
|
/**
|
|
2196
2173
|
* 时间点:s
|
|
2197
2174
|
*/
|
|
2198
|
-
Time
|
|
2175
|
+
Time?: string;
|
|
2199
2176
|
/**
|
|
2200
2177
|
* 业务指标(bps/ms/%)
|
|
2201
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2202
2178
|
*/
|
|
2203
|
-
BusinessMetrics
|
|
2179
|
+
BusinessMetrics?: number;
|
|
2204
2180
|
/**
|
|
2205
2181
|
* 网卡状态信息
|
|
2206
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2207
2182
|
*/
|
|
2208
|
-
SlotNetInfo
|
|
2183
|
+
SlotNetInfo?: Array<SlotNetInfo>;
|
|
2209
2184
|
}
|
|
2210
2185
|
/**
|
|
2211
2186
|
* DeleteDevice返回参数结构体
|
|
@@ -2270,7 +2245,6 @@ export interface AddHardwareRequest {
|
|
|
2270
2245
|
export interface Hardware {
|
|
2271
2246
|
/**
|
|
2272
2247
|
* 硬件序列号
|
|
2273
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2274
2248
|
*/
|
|
2275
2249
|
SN: string;
|
|
2276
2250
|
/**
|
|
@@ -2278,17 +2252,14 @@ export interface Hardware {
|
|
|
2278
2252
|
1,租户付费
|
|
2279
2253
|
2,厂商月付费
|
|
2280
2254
|
3,厂商永久授权
|
|
2281
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2282
2255
|
*/
|
|
2283
2256
|
LicenseChargingMode: number;
|
|
2284
2257
|
/**
|
|
2285
2258
|
* 设备描述
|
|
2286
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2287
2259
|
*/
|
|
2288
2260
|
Description?: string;
|
|
2289
2261
|
/**
|
|
2290
2262
|
* 硬件ID,入参无需传递
|
|
2291
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2292
2263
|
*/
|
|
2293
2264
|
HardwareId?: string;
|
|
2294
2265
|
}
|
|
@@ -454,6 +454,8 @@ export declare class Client extends AbstractClient {
|
|
|
454
454
|
GetTaskState(req: GetTaskStateRequest, cb?: (error: string, rep: GetTaskStateResponse) => void): Promise<GetTaskStateResponse>;
|
|
455
455
|
/**
|
|
456
456
|
* 支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。
|
|
457
|
+
|
|
458
|
+
默认接口请求频率限制:5次/秒。
|
|
457
459
|
*/
|
|
458
460
|
RecognizeGeneralCardWarn(req: RecognizeGeneralCardWarnRequest, cb?: (error: string, rep: RecognizeGeneralCardWarnResponse) => void): Promise<RecognizeGeneralCardWarnResponse>;
|
|
459
461
|
/**
|
|
@@ -551,7 +553,7 @@ export declare class Client extends AbstractClient {
|
|
|
551
553
|
/**
|
|
552
554
|
* 本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
|
|
553
555
|
|
|
554
|
-
默认接口请求频率限制:
|
|
556
|
+
默认接口请求频率限制:5次/秒。
|
|
555
557
|
*/
|
|
556
558
|
RecognizeValidIDCardOCR(req: RecognizeValidIDCardOCRRequest, cb?: (error: string, rep: RecognizeValidIDCardOCRResponse) => void): Promise<RecognizeValidIDCardOCRResponse>;
|
|
557
559
|
/**
|
|
@@ -536,6 +536,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
536
536
|
}
|
|
537
537
|
/**
|
|
538
538
|
* 支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。
|
|
539
|
+
|
|
540
|
+
默认接口请求频率限制:5次/秒。
|
|
539
541
|
*/
|
|
540
542
|
async RecognizeGeneralCardWarn(req, cb) {
|
|
541
543
|
return this.request("RecognizeGeneralCardWarn", req, cb);
|
|
@@ -645,7 +647,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
645
647
|
/**
|
|
646
648
|
* 本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
|
|
647
649
|
|
|
648
|
-
默认接口请求频率限制:
|
|
650
|
+
默认接口请求频率限制:5次/秒。
|
|
649
651
|
*/
|
|
650
652
|
async RecognizeValidIDCardOCR(req, cb) {
|
|
651
653
|
return this.request("RecognizeValidIDCardOCR", req, cb);
|
|
@@ -2738,7 +2738,7 @@ export interface GetLayerVersionResponse {
|
|
|
2738
2738
|
*/
|
|
2739
2739
|
LayerName?: string;
|
|
2740
2740
|
/**
|
|
2741
|
-
* 层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/115197#.E5.B1.82.EF.BC.
|
|
2741
|
+
* 层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/115197#.E5.B1.82.EF.BC.88Layer.EF.BC.89.E7.8A.B6.E6.80.81)
|
|
2742
2742
|
*/
|
|
2743
2743
|
Status?: string;
|
|
2744
2744
|
/**
|