tencentcloud-sdk-nodejs 4.0.692 → 4.0.693
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 +271 -0
- package/SERVICE_CHANGELOG.md +367 -97
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apm/v20210622/apm_client.ts +17 -0
- package/src/services/apm/v20210622/apm_models.ts +187 -0
- package/src/services/asr/v20190614/asr_models.ts +5 -5
- package/src/services/cam/v20190116/cam_models.ts +1 -1
- package/src/services/car/v20220110/car_client.ts +28 -16
- package/src/services/car/v20220110/car_models.ts +24 -0
- package/src/services/cdb/v20170320/cdb_models.ts +11 -6
- package/src/services/clb/v20180317/clb_models.ts +24 -24
- package/src/services/cls/v20201016/cls_client.ts +680 -656
- package/src/services/cls/v20201016/cls_models.ts +80 -0
- package/src/services/cpdp/v20190820/cpdp_client.ts +1 -13
- package/src/services/cpdp/v20190820/cpdp_models.ts +35 -113
- package/src/services/essbasic/v20210526/essbasic_models.ts +12 -7
- package/src/services/mps/v20190612/mps_models.ts +11 -0
- package/src/services/ocr/v20181119/ocr_models.ts +9 -0
- package/src/services/tag/v20180813/tag_client.ts +4 -6
- package/src/services/tag/v20180813/tag_models.ts +60 -22
- package/src/services/thpc/v20230321/thpc_client.ts +5 -1
- package/src/services/thpc/v20230321/thpc_models.ts +119 -63
- package/src/services/trp/v20210515/trp_models.ts +60 -22
- 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 +180 -0
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +5 -5
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +1 -1
- package/tencentcloud/services/car/v20220110/car_client.d.ts +11 -7
- package/tencentcloud/services/car/v20220110/car_client.js +15 -9
- package/tencentcloud/services/car/v20220110/car_models.d.ts +22 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +11 -6
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +24 -24
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +334 -326
- package/tencentcloud/services/cls/v20201016/cls_client.js +420 -408
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +76 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +1 -5
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +0 -6
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +35 -111
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +12 -7
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +11 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -0
- package/tencentcloud/services/tag/v20180813/tag_client.d.ts +0 -2
- package/tencentcloud/services/tag/v20180813/tag_client.js +0 -2
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +60 -22
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +115 -63
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +60 -22
- package/test/apm.v20210622.test.js +10 -0
- package/test/car.v20220110.test.js +18 -8
- package/test/cls.v20201016.test.js +188 -168
- package/test/cpdp.v20190820.test.js +0 -10
|
@@ -469,6 +469,16 @@ export interface CreateClusterResponse {
|
|
|
469
469
|
RequestId?: string
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
+
/**
|
|
473
|
+
* 描述了 “云安全” 服务相关的信息。
|
|
474
|
+
*/
|
|
475
|
+
export interface RunSecurityServiceEnabled {
|
|
476
|
+
/**
|
|
477
|
+
* 是否开启[云安全](/document/product/296)服务。取值范围:<br><li>TRUE:表示开启云安全服务<br><li>FALSE:表示不开启云安全服务<br><br>默认取值:TRUE。
|
|
478
|
+
*/
|
|
479
|
+
Enabled?: boolean
|
|
480
|
+
}
|
|
481
|
+
|
|
472
482
|
/**
|
|
473
483
|
* DescribeQueues请求参数结构体
|
|
474
484
|
*/
|
|
@@ -653,76 +663,24 @@ export interface GooseFSOptionOverview {
|
|
|
653
663
|
}
|
|
654
664
|
|
|
655
665
|
/**
|
|
656
|
-
*
|
|
666
|
+
* 描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent
|
|
657
667
|
*/
|
|
658
|
-
export interface
|
|
659
|
-
/**
|
|
660
|
-
* 队列名称。
|
|
661
|
-
*/
|
|
662
|
-
QueueName: string
|
|
663
|
-
/**
|
|
664
|
-
* 队列中弹性节点数量最小值。默认值:0。取值范围:0~200。
|
|
665
|
-
*/
|
|
666
|
-
MinSize?: number
|
|
667
|
-
/**
|
|
668
|
-
* 队列中弹性节点数量最大值。默认值:10。取值范围:0~200。
|
|
669
|
-
*/
|
|
670
|
-
MaxSize?: number
|
|
671
|
-
/**
|
|
672
|
-
* 是否开启自动扩容。
|
|
673
|
-
*/
|
|
674
|
-
EnableAutoExpansion?: boolean
|
|
675
|
-
/**
|
|
676
|
-
* 是否开启自动缩容。
|
|
677
|
-
*/
|
|
678
|
-
EnableAutoShrink?: boolean
|
|
679
|
-
/**
|
|
680
|
-
* 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜和特定自定义镜像。
|
|
681
|
-
*/
|
|
682
|
-
ImageId?: string
|
|
683
|
-
/**
|
|
684
|
-
* 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
|
685
|
-
*/
|
|
686
|
-
SystemDisk?: SystemDisk
|
|
687
|
-
/**
|
|
688
|
-
* 节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
|
|
689
|
-
*/
|
|
690
|
-
DataDisks?: Array<DataDisk>
|
|
668
|
+
export interface EnhancedService {
|
|
691
669
|
/**
|
|
692
|
-
*
|
|
693
|
-
|
|
694
|
-
InternetAccessible?: InternetAccessible
|
|
695
|
-
/**
|
|
696
|
-
* 扩容节点配置信息。
|
|
697
|
-
*/
|
|
698
|
-
ExpansionNodeConfigs?: Array<ExpansionNodeConfig>
|
|
699
|
-
/**
|
|
700
|
-
* 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
|
|
701
|
-
*/
|
|
702
|
-
DesiredIdleNodeCapacity?: number
|
|
703
|
-
/**
|
|
704
|
-
* 扩容比例。默认值:100。取值范围:1~100。
|
|
705
|
-
如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
|
706
|
-
*/
|
|
707
|
-
ScaleOutRatio?: number
|
|
708
|
-
/**
|
|
709
|
-
* 比例扩容阈值。默认值:0。取值范围:0~200。
|
|
710
|
-
当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
|
711
|
-
此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
|
670
|
+
* 开启云安全服务。若不指定该参数,则默认开启云安全服务。
|
|
671
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
712
672
|
*/
|
|
713
|
-
|
|
673
|
+
SecurityService?: RunSecurityServiceEnabled
|
|
714
674
|
/**
|
|
715
|
-
*
|
|
675
|
+
* 开启云监控服务。若不指定该参数,则默认开启云监控服务。
|
|
676
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
716
677
|
*/
|
|
717
|
-
|
|
678
|
+
MonitorService?: RunMonitorServiceEnabled
|
|
718
679
|
/**
|
|
719
|
-
*
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
- 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
|
723
|
-
- 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
|
680
|
+
* 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
|
|
681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
724
682
|
*/
|
|
725
|
-
|
|
683
|
+
AutomationService?: RunAutomationServiceEnabled
|
|
726
684
|
}
|
|
727
685
|
|
|
728
686
|
/**
|
|
@@ -970,6 +928,16 @@ export interface GooseFSOption {
|
|
|
970
928
|
Masters: Array<string>
|
|
971
929
|
}
|
|
972
930
|
|
|
931
|
+
/**
|
|
932
|
+
* 描述了 “云自动化助手” 服务相关的信息。
|
|
933
|
+
*/
|
|
934
|
+
export interface RunAutomationServiceEnabled {
|
|
935
|
+
/**
|
|
936
|
+
* 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务<br><li>FALSE:表示不开启云自动化助手服务<br><br>默认取值:TRUE。
|
|
937
|
+
*/
|
|
938
|
+
Enabled?: boolean
|
|
939
|
+
}
|
|
940
|
+
|
|
973
941
|
/**
|
|
974
942
|
* DescribeClusterActivities请求参数结构体
|
|
975
943
|
*/
|
|
@@ -1182,6 +1150,17 @@ export interface GooseFSxOption {
|
|
|
1182
1150
|
LocalPath: string
|
|
1183
1151
|
}
|
|
1184
1152
|
|
|
1153
|
+
/**
|
|
1154
|
+
* 描述了 “云监控” 服务相关的信息。
|
|
1155
|
+
*/
|
|
1156
|
+
export interface RunMonitorServiceEnabled {
|
|
1157
|
+
/**
|
|
1158
|
+
* 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启云监控服务<br><li>FALSE:表示不开启云监控服务<br><br>默认取值:TRUE。
|
|
1159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1160
|
+
*/
|
|
1161
|
+
Enabled?: boolean
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1185
1164
|
/**
|
|
1186
1165
|
* 扩容队列配置概览。
|
|
1187
1166
|
*/
|
|
@@ -1341,6 +1320,83 @@ export interface GooseFSxOptionOverview {
|
|
|
1341
1320
|
LocalPath?: string
|
|
1342
1321
|
}
|
|
1343
1322
|
|
|
1323
|
+
/**
|
|
1324
|
+
* 扩容队列配置。
|
|
1325
|
+
*/
|
|
1326
|
+
export interface QueueConfig {
|
|
1327
|
+
/**
|
|
1328
|
+
* 队列名称。
|
|
1329
|
+
*/
|
|
1330
|
+
QueueName: string
|
|
1331
|
+
/**
|
|
1332
|
+
* 队列中弹性节点数量最小值。默认值:0。取值范围:0~200。
|
|
1333
|
+
*/
|
|
1334
|
+
MinSize?: number
|
|
1335
|
+
/**
|
|
1336
|
+
* 队列中弹性节点数量最大值。默认值:10。取值范围:0~200。
|
|
1337
|
+
*/
|
|
1338
|
+
MaxSize?: number
|
|
1339
|
+
/**
|
|
1340
|
+
* 是否开启自动扩容。
|
|
1341
|
+
*/
|
|
1342
|
+
EnableAutoExpansion?: boolean
|
|
1343
|
+
/**
|
|
1344
|
+
* 是否开启自动缩容。
|
|
1345
|
+
*/
|
|
1346
|
+
EnableAutoShrink?: boolean
|
|
1347
|
+
/**
|
|
1348
|
+
* 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜和特定自定义镜像。
|
|
1349
|
+
*/
|
|
1350
|
+
ImageId?: string
|
|
1351
|
+
/**
|
|
1352
|
+
* 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
|
1353
|
+
*/
|
|
1354
|
+
SystemDisk?: SystemDisk
|
|
1355
|
+
/**
|
|
1356
|
+
* 节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
|
|
1357
|
+
*/
|
|
1358
|
+
DataDisks?: Array<DataDisk>
|
|
1359
|
+
/**
|
|
1360
|
+
* 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
|
|
1361
|
+
*/
|
|
1362
|
+
InternetAccessible?: InternetAccessible
|
|
1363
|
+
/**
|
|
1364
|
+
* 扩容节点配置信息。
|
|
1365
|
+
*/
|
|
1366
|
+
ExpansionNodeConfigs?: Array<ExpansionNodeConfig>
|
|
1367
|
+
/**
|
|
1368
|
+
* 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
|
|
1369
|
+
*/
|
|
1370
|
+
DesiredIdleNodeCapacity?: number
|
|
1371
|
+
/**
|
|
1372
|
+
* 扩容比例。默认值:100。取值范围:1~100。
|
|
1373
|
+
如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
|
1374
|
+
*/
|
|
1375
|
+
ScaleOutRatio?: number
|
|
1376
|
+
/**
|
|
1377
|
+
* 比例扩容阈值。默认值:0。取值范围:0~200。
|
|
1378
|
+
当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
|
1379
|
+
此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
|
1380
|
+
*/
|
|
1381
|
+
ScaleOutNodeThreshold?: number
|
|
1382
|
+
/**
|
|
1383
|
+
* 每轮扩容最大节点个数。默认值:100。取值范围:1~100。
|
|
1384
|
+
*/
|
|
1385
|
+
MaxNodesPerCycle?: number
|
|
1386
|
+
/**
|
|
1387
|
+
* 扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br/>
|
|
1388
|
+
针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
|
|
1389
|
+
|
|
1390
|
+
- 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
|
1391
|
+
- 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
|
1392
|
+
*/
|
|
1393
|
+
ScaleUpMemRatio?: number
|
|
1394
|
+
/**
|
|
1395
|
+
* 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务、自动化助手服务。
|
|
1396
|
+
*/
|
|
1397
|
+
EnhancedService?: EnhancedService
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1344
1400
|
/**
|
|
1345
1401
|
* DescribeAutoScalingConfiguration请求参数结构体
|
|
1346
1402
|
*/
|
|
@@ -467,102 +467,122 @@ export interface CodePack {
|
|
|
467
467
|
* 码id
|
|
468
468
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
469
469
|
*/
|
|
470
|
-
PackId
|
|
470
|
+
PackId?: string
|
|
471
471
|
/**
|
|
472
472
|
* 企业id
|
|
473
473
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
474
474
|
*/
|
|
475
|
-
CorpId
|
|
475
|
+
CorpId?: number
|
|
476
476
|
/**
|
|
477
477
|
* 商户id
|
|
478
478
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
479
479
|
*/
|
|
480
|
-
MerchantId
|
|
480
|
+
MerchantId?: string
|
|
481
481
|
/**
|
|
482
482
|
* 创建时间
|
|
483
483
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
484
484
|
*/
|
|
485
|
-
CreateTime
|
|
485
|
+
CreateTime?: string
|
|
486
486
|
/**
|
|
487
487
|
* 更新时间
|
|
488
488
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
489
489
|
*/
|
|
490
|
-
UpdateTime
|
|
490
|
+
UpdateTime?: string
|
|
491
491
|
/**
|
|
492
492
|
* 制码状态 init: 初始化, pending: 执行中, done: 完成, error: 失败
|
|
493
493
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
494
494
|
*/
|
|
495
|
-
Status
|
|
495
|
+
Status?: string
|
|
496
496
|
/**
|
|
497
497
|
* 执行日志
|
|
498
498
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
499
499
|
*/
|
|
500
|
-
Log
|
|
500
|
+
Log?: string
|
|
501
501
|
/**
|
|
502
502
|
* 创建人
|
|
503
503
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
504
504
|
*/
|
|
505
|
-
CreateUser
|
|
505
|
+
CreateUser?: string
|
|
506
506
|
/**
|
|
507
507
|
* 码数
|
|
508
508
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
509
509
|
*/
|
|
510
|
-
Amount
|
|
510
|
+
Amount?: number
|
|
511
511
|
/**
|
|
512
512
|
* 防伪码长度
|
|
513
513
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
514
514
|
*/
|
|
515
|
-
CodeLength
|
|
515
|
+
CodeLength?: number
|
|
516
516
|
/**
|
|
517
517
|
* 码类型
|
|
518
518
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
519
519
|
*/
|
|
520
|
-
CodeType
|
|
520
|
+
CodeType?: string
|
|
521
521
|
/**
|
|
522
522
|
* 是否暗码
|
|
523
523
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
524
524
|
*/
|
|
525
|
-
Cipher
|
|
525
|
+
Cipher?: number
|
|
526
526
|
/**
|
|
527
527
|
* [弃用] 文字码地址,通过另一个接口查
|
|
528
528
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
529
529
|
*/
|
|
530
|
-
TextUrl
|
|
530
|
+
TextUrl?: string
|
|
531
531
|
/**
|
|
532
532
|
* [弃用] 二维码地址,通过另一个接口查
|
|
533
533
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
534
534
|
*/
|
|
535
|
-
PackUrl
|
|
535
|
+
PackUrl?: string
|
|
536
536
|
/**
|
|
537
537
|
* 商户名
|
|
538
538
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
539
539
|
*/
|
|
540
|
-
MerchantName
|
|
540
|
+
MerchantName?: string
|
|
541
541
|
/**
|
|
542
542
|
* 码规则类型 0: 默认, 1: 自定义
|
|
543
543
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
544
544
|
*/
|
|
545
|
-
RuleType
|
|
545
|
+
RuleType?: number
|
|
546
546
|
/**
|
|
547
547
|
* 自定义码规则ID
|
|
548
548
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
549
549
|
*/
|
|
550
|
-
CustomId
|
|
550
|
+
CustomId?: string
|
|
551
551
|
/**
|
|
552
552
|
* 码包类型 0: 普通码包 1: 层级码包
|
|
553
553
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
554
554
|
*/
|
|
555
|
-
PackType
|
|
555
|
+
PackType?: number
|
|
556
556
|
/**
|
|
557
557
|
* 生码层级
|
|
558
558
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
559
559
|
*/
|
|
560
|
-
PackLevel
|
|
560
|
+
PackLevel?: number
|
|
561
561
|
/**
|
|
562
562
|
* 层级码配置
|
|
563
563
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
564
564
|
*/
|
|
565
|
-
PackSpec
|
|
565
|
+
PackSpec?: Array<PackSpec>
|
|
566
|
+
/**
|
|
567
|
+
* 商品名称
|
|
568
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
569
|
+
*/
|
|
570
|
+
ProductName?: string
|
|
571
|
+
/**
|
|
572
|
+
* 商品规格
|
|
573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
574
|
+
*/
|
|
575
|
+
ProductSpecification?: string
|
|
576
|
+
/**
|
|
577
|
+
* 商品ID
|
|
578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
579
|
+
*/
|
|
580
|
+
ProductId?: string
|
|
581
|
+
/**
|
|
582
|
+
* 码关系是否预关联
|
|
583
|
+
0:否, 1:是
|
|
584
|
+
*/
|
|
585
|
+
RelateType?: number
|
|
566
586
|
}
|
|
567
587
|
|
|
568
588
|
/**
|
|
@@ -1494,6 +1514,14 @@ export interface CreateCodePackRequest {
|
|
|
1494
1514
|
* 是否有流水码 0:无 1:有
|
|
1495
1515
|
*/
|
|
1496
1516
|
SerialType?: number
|
|
1517
|
+
/**
|
|
1518
|
+
* 关联产品ID
|
|
1519
|
+
*/
|
|
1520
|
+
ProductId?: string
|
|
1521
|
+
/**
|
|
1522
|
+
* 层级码时是否提前生成关联关系,默认为 1
|
|
1523
|
+
*/
|
|
1524
|
+
RelateType?: number
|
|
1497
1525
|
}
|
|
1498
1526
|
|
|
1499
1527
|
/**
|
|
@@ -1620,6 +1648,16 @@ export interface CreateCustomPackRequest {
|
|
|
1620
1648
|
* 是否有流水码 0:无 1:有
|
|
1621
1649
|
*/
|
|
1622
1650
|
SerialType?: number
|
|
1651
|
+
/**
|
|
1652
|
+
* 产品ID
|
|
1653
|
+
*/
|
|
1654
|
+
ProductId?: string
|
|
1655
|
+
/**
|
|
1656
|
+
* 是否预生成码关系
|
|
1657
|
+
0: 否, 1:是
|
|
1658
|
+
默认为1,仅对层级码有效
|
|
1659
|
+
*/
|
|
1660
|
+
RelateType?: number
|
|
1623
1661
|
}
|
|
1624
1662
|
|
|
1625
1663
|
/**
|
|
@@ -1934,7 +1972,7 @@ export interface CreateCustomPackResponse {
|
|
|
1934
1972
|
/**
|
|
1935
1973
|
* 码包ID
|
|
1936
1974
|
*/
|
|
1937
|
-
PackId
|
|
1975
|
+
PackId?: string
|
|
1938
1976
|
/**
|
|
1939
1977
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1940
1978
|
*/
|
|
@@ -2076,7 +2114,7 @@ export interface CreateCodePackResponse {
|
|
|
2076
2114
|
/**
|
|
2077
2115
|
* 码包ID
|
|
2078
2116
|
*/
|
|
2079
|
-
PackId
|
|
2117
|
+
PackId?: string
|
|
2080
2118
|
/**
|
|
2081
2119
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2082
2120
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.693";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, DescribeServiceOverviewResponse, TerminateApmInstanceRequest, DescribeApmInstancesResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse, DescribeMetricRecordsResponse, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralMetricDataRequest, CreateApmInstanceResponse, ModifyApmInstanceResponse, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse, TerminateApmInstanceResponse } from "./apm_models";
|
|
3
|
+
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, DescribeServiceOverviewResponse, TerminateApmInstanceRequest, DescribeApmInstancesResponse, DescribeGeneralSpanListResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse, DescribeGeneralSpanListRequest, DescribeMetricRecordsResponse, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralMetricDataRequest, CreateApmInstanceResponse, ModifyApmInstanceResponse, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse, TerminateApmInstanceResponse } from "./apm_models";
|
|
4
4
|
/**
|
|
5
5
|
* apm client
|
|
6
6
|
* @class
|
|
@@ -11,6 +11,10 @@ export declare class Client extends AbstractClient {
|
|
|
11
11
|
* 修改Apm实例接口
|
|
12
12
|
*/
|
|
13
13
|
ModifyApmInstance(req: ModifyApmInstanceRequest, cb?: (error: string, rep: ModifyApmInstanceResponse) => void): Promise<ModifyApmInstanceResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 通用查询调用链列表
|
|
16
|
+
*/
|
|
17
|
+
DescribeGeneralSpanList(req: DescribeGeneralSpanListRequest, cb?: (error: string, rep: DescribeGeneralSpanListResponse) => void): Promise<DescribeGeneralSpanListResponse>;
|
|
14
18
|
/**
|
|
15
19
|
* APM实例列表拉取
|
|
16
20
|
*/
|
|
@@ -33,6 +33,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
33
33
|
async ModifyApmInstance(req, cb) {
|
|
34
34
|
return this.request("ModifyApmInstance", req, cb);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* 通用查询调用链列表
|
|
38
|
+
*/
|
|
39
|
+
async DescribeGeneralSpanList(req, cb) {
|
|
40
|
+
return this.request("DescribeGeneralSpanList", req, cb);
|
|
41
|
+
}
|
|
36
42
|
/**
|
|
37
43
|
* APM实例列表拉取
|
|
38
44
|
*/
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Span日志部分
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
*/
|
|
6
|
+
export interface SpanLog {
|
|
7
|
+
/**
|
|
8
|
+
* 日志时间戳
|
|
9
|
+
*/
|
|
10
|
+
Timestamp: number;
|
|
11
|
+
/**
|
|
12
|
+
* 标签
|
|
13
|
+
*/
|
|
14
|
+
Fields: Array<SpanTag>;
|
|
15
|
+
}
|
|
1
16
|
/**
|
|
2
17
|
* ModifyApmInstance请求参数结构体
|
|
3
18
|
*/
|
|
@@ -288,6 +303,68 @@ export interface DescribeApmInstancesResponse {
|
|
|
288
303
|
*/
|
|
289
304
|
RequestId?: string;
|
|
290
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* Span对象
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
*/
|
|
311
|
+
export interface Span {
|
|
312
|
+
/**
|
|
313
|
+
* Trace Id
|
|
314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
315
|
+
*/
|
|
316
|
+
TraceID?: string;
|
|
317
|
+
/**
|
|
318
|
+
* 日志
|
|
319
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
320
|
+
*/
|
|
321
|
+
Logs?: Array<SpanLog>;
|
|
322
|
+
/**
|
|
323
|
+
* 标签
|
|
324
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
325
|
+
*/
|
|
326
|
+
Tags?: Array<SpanTag>;
|
|
327
|
+
/**
|
|
328
|
+
* 上报应用服务信息
|
|
329
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
330
|
+
*/
|
|
331
|
+
Process?: SpanProcess;
|
|
332
|
+
/**
|
|
333
|
+
* 产生时间戳(毫秒)
|
|
334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
335
|
+
*/
|
|
336
|
+
Timestamp?: number;
|
|
337
|
+
/**
|
|
338
|
+
* Span名称
|
|
339
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
340
|
+
*/
|
|
341
|
+
OperationName?: string;
|
|
342
|
+
/**
|
|
343
|
+
* 关联关系
|
|
344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
345
|
+
*/
|
|
346
|
+
References?: Array<SpanReference>;
|
|
347
|
+
/**
|
|
348
|
+
* 产生时间戳(微秒)
|
|
349
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
350
|
+
*/
|
|
351
|
+
StartTime?: number;
|
|
352
|
+
/**
|
|
353
|
+
* 持续耗时(微妙)
|
|
354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
355
|
+
*/
|
|
356
|
+
Duration?: number;
|
|
357
|
+
/**
|
|
358
|
+
* Span Id
|
|
359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
360
|
+
*/
|
|
361
|
+
SpanID?: string;
|
|
362
|
+
/**
|
|
363
|
+
* 产生时间戳(毫秒)
|
|
364
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
365
|
+
*/
|
|
366
|
+
StartTimeMillis?: number;
|
|
367
|
+
}
|
|
291
368
|
/**
|
|
292
369
|
* apm Agent信息
|
|
293
370
|
*/
|
|
@@ -323,6 +400,23 @@ export interface ApmAgentInfo {
|
|
|
323
400
|
*/
|
|
324
401
|
PrivateLinkCollectorURL: string;
|
|
325
402
|
}
|
|
403
|
+
/**
|
|
404
|
+
* DescribeGeneralSpanList返回参数结构体
|
|
405
|
+
*/
|
|
406
|
+
export interface DescribeGeneralSpanListResponse {
|
|
407
|
+
/**
|
|
408
|
+
* 总数量
|
|
409
|
+
*/
|
|
410
|
+
TotalCount: number;
|
|
411
|
+
/**
|
|
412
|
+
* Span分页列表
|
|
413
|
+
*/
|
|
414
|
+
Spans: Array<Span>;
|
|
415
|
+
/**
|
|
416
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
417
|
+
*/
|
|
418
|
+
RequestId?: string;
|
|
419
|
+
}
|
|
326
420
|
/**
|
|
327
421
|
* 指标列表单元
|
|
328
422
|
*/
|
|
@@ -452,6 +546,43 @@ export interface Line {
|
|
|
452
546
|
*/
|
|
453
547
|
Tags: Array<ApmTag>;
|
|
454
548
|
}
|
|
549
|
+
/**
|
|
550
|
+
* DescribeGeneralSpanList请求参数结构体
|
|
551
|
+
*/
|
|
552
|
+
export interface DescribeGeneralSpanListRequest {
|
|
553
|
+
/**
|
|
554
|
+
* 分页
|
|
555
|
+
*/
|
|
556
|
+
Offset: number;
|
|
557
|
+
/**
|
|
558
|
+
* 列表项个数
|
|
559
|
+
*/
|
|
560
|
+
Limit: number;
|
|
561
|
+
/**
|
|
562
|
+
* 排序
|
|
563
|
+
*/
|
|
564
|
+
OrderBy?: OrderBy;
|
|
565
|
+
/**
|
|
566
|
+
* span查询开始时间戳(单位:秒)
|
|
567
|
+
*/
|
|
568
|
+
StartTime?: number;
|
|
569
|
+
/**
|
|
570
|
+
* 实例名
|
|
571
|
+
*/
|
|
572
|
+
InstanceId?: string;
|
|
573
|
+
/**
|
|
574
|
+
* 通用过滤参数
|
|
575
|
+
*/
|
|
576
|
+
Filters?: Array<Filter>;
|
|
577
|
+
/**
|
|
578
|
+
* 业务自身服务名
|
|
579
|
+
*/
|
|
580
|
+
BusinessName?: string;
|
|
581
|
+
/**
|
|
582
|
+
* span查询结束时间戳(单位:秒)
|
|
583
|
+
*/
|
|
584
|
+
EndTime?: number;
|
|
585
|
+
}
|
|
455
586
|
/**
|
|
456
587
|
* Apm通用KV结构
|
|
457
588
|
*/
|
|
@@ -703,6 +834,36 @@ export interface CreateApmInstanceResponse {
|
|
|
703
834
|
*/
|
|
704
835
|
RequestId?: string;
|
|
705
836
|
}
|
|
837
|
+
/**
|
|
838
|
+
* Span上下游关联关系
|
|
839
|
+
*/
|
|
840
|
+
export interface SpanReference {
|
|
841
|
+
/**
|
|
842
|
+
* 关联关系类型
|
|
843
|
+
*/
|
|
844
|
+
RefType: string;
|
|
845
|
+
/**
|
|
846
|
+
* Span ID
|
|
847
|
+
*/
|
|
848
|
+
SpanID: string;
|
|
849
|
+
/**
|
|
850
|
+
* Trace ID
|
|
851
|
+
*/
|
|
852
|
+
TraceID: string;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* 服务相关信息
|
|
856
|
+
*/
|
|
857
|
+
export interface SpanProcess {
|
|
858
|
+
/**
|
|
859
|
+
* 应用服务名称
|
|
860
|
+
*/
|
|
861
|
+
ServiceName: string;
|
|
862
|
+
/**
|
|
863
|
+
* Tags 标签数组
|
|
864
|
+
*/
|
|
865
|
+
Tags: Array<SpanTag>;
|
|
866
|
+
}
|
|
706
867
|
/**
|
|
707
868
|
* ModifyApmInstance返回参数结构体
|
|
708
869
|
*/
|
|
@@ -750,6 +911,25 @@ export interface DescribeApmInstancesRequest {
|
|
|
750
911
|
*/
|
|
751
912
|
AllRegionsFlag?: number;
|
|
752
913
|
}
|
|
914
|
+
/**
|
|
915
|
+
* 标签
|
|
916
|
+
*/
|
|
917
|
+
export interface SpanTag {
|
|
918
|
+
/**
|
|
919
|
+
* 标签类型
|
|
920
|
+
*/
|
|
921
|
+
Type: string;
|
|
922
|
+
/**
|
|
923
|
+
* 标签Key
|
|
924
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
925
|
+
*/
|
|
926
|
+
Key: string;
|
|
927
|
+
/**
|
|
928
|
+
* 标签值
|
|
929
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
930
|
+
*/
|
|
931
|
+
Value: string;
|
|
932
|
+
}
|
|
753
933
|
/**
|
|
754
934
|
* DescribeGeneralMetricData返回参数结构体
|
|
755
935
|
*/
|