tencentcloud-sdk-nodejs 4.0.691 → 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 +489 -0
- package/SERVICE_CHANGELOG.md +534 -206
- package/package.json +1 -1
- package/products.md +34 -34
- 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/cbs/v20170312/cbs_models.ts +5 -4
- package/src/services/cdb/v20170320/cdb_models.ts +11 -6
- package/src/services/cdn/v20180606/cdn_client.ts +21 -14
- package/src/services/cdn/v20180606/cdn_models.ts +19 -19
- package/src/services/clb/v20180317/clb_client.ts +61 -11
- package/src/services/clb/v20180317/clb_models.ts +259 -64
- 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/cvm/v20170312/cvm_models.ts +2 -2
- package/src/services/cwp/v20180228/cwp_client.ts +52 -2
- package/src/services/cwp/v20180228/cwp_models.ts +343 -46
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +1 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +81 -24
- package/src/services/dasb/v20191018/dasb_client.ts +12 -0
- package/src/services/dasb/v20191018/dasb_models.ts +33 -0
- package/src/services/ess/v20201111/ess_client.ts +25 -21
- package/src/services/ess/v20201111/ess_models.ts +255 -171
- package/src/services/essbasic/v20210526/essbasic_models.ts +12 -7
- package/src/services/iai/v20180301/iai_models.ts +3 -3
- package/src/services/iai/v20200303/iai_models.ts +3 -3
- package/src/services/iss/v20230517/iss_client.ts +21 -7
- package/src/services/iss/v20230517/iss_models.ts +47 -0
- package/src/services/lcic/v20220817/lcic_models.ts +1 -1
- package/src/services/mps/v20190612/mps_models.ts +16 -0
- package/src/services/ocr/v20181119/ocr_models.ts +9 -0
- package/src/services/organization/v20210331/organization_client.ts +18 -6
- package/src/services/organization/v20210331/organization_models.ts +20 -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/src/services/trtc/v20190722/trtc_models.ts +5 -3
- package/src/services/waf/v20180125/waf_client.ts +20 -8
- package/src/services/waf/v20180125/waf_models.ts +122 -52
- 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/cbs/v20170312/cbs_models.d.ts +5 -4
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +11 -6
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +14 -7
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +14 -7
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +19 -19
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +19 -3
- package/tencentcloud/services/clb/v20180317/clb_client.js +27 -3
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +249 -64
- 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/cvm/v20170312/cvm_models.d.ts +2 -2
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +17 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +24 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +333 -46
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +80 -24
- package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +5 -1
- package/tencentcloud/services/dasb/v20191018/dasb_client.js +6 -0
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +31 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +25 -21
- package/tencentcloud/services/ess/v20201111/ess_client.js +25 -21
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +255 -171
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +12 -7
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +3 -3
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +3 -3
- package/tencentcloud/services/iss/v20230517/iss_client.d.ts +8 -3
- package/tencentcloud/services/iss/v20230517/iss_client.js +10 -3
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +44 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +16 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -0
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +7 -3
- package/tencentcloud/services/organization/v20210331/organization_client.js +9 -3
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +18 -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/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +5 -3
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -9
- package/tencentcloud/services/waf/v20180125/waf_client.js +14 -8
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +120 -52
- package/test/apm.v20210622.test.js +10 -0
- package/test/car.v20220110.test.js +18 -8
- package/test/clb.v20180317.test.js +42 -2
- package/test/cls.v20201016.test.js +188 -168
- package/test/cpdp.v20190820.test.js +0 -10
- package/test/cwp.v20180228.test.js +40 -0
- package/test/dasb.v20191018.test.js +10 -0
- package/test/iss.v20230517.test.js +12 -2
- package/test/organization.v20210331.test.js +12 -2
- package/test/waf.v20180125.test.js +10 -0
|
@@ -417,6 +417,24 @@ export interface AccessLogItems {
|
|
|
417
417
|
Data: Array<AccessLogItem>
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
+
/**
|
|
421
|
+
* SwitchElasticMode请求参数结构体
|
|
422
|
+
*/
|
|
423
|
+
export interface SwitchElasticModeRequest {
|
|
424
|
+
/**
|
|
425
|
+
* 版本,只能是sparta-waf, clb-waf, cdn-waf
|
|
426
|
+
*/
|
|
427
|
+
Edition: string
|
|
428
|
+
/**
|
|
429
|
+
* 0代表关闭,1代表打开
|
|
430
|
+
*/
|
|
431
|
+
Mode: number
|
|
432
|
+
/**
|
|
433
|
+
* 实例id
|
|
434
|
+
*/
|
|
435
|
+
InstanceID?: string
|
|
436
|
+
}
|
|
437
|
+
|
|
420
438
|
/**
|
|
421
439
|
* ModifyInstanceName请求参数结构体
|
|
422
440
|
*/
|
|
@@ -1368,7 +1386,7 @@ export interface DescribeUserCdcClbWafRegionsResponse {
|
|
|
1368
1386
|
* CdcRegion的类型描述
|
|
1369
1387
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1370
1388
|
*/
|
|
1371
|
-
Data
|
|
1389
|
+
Data?: Array<CdcRegion>
|
|
1372
1390
|
/**
|
|
1373
1391
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1374
1392
|
*/
|
|
@@ -1544,7 +1562,7 @@ export interface DescribeUserClbWafRegionsResponse {
|
|
|
1544
1562
|
* 地域(标准的ap-格式)列表
|
|
1545
1563
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1546
1564
|
*/
|
|
1547
|
-
Data
|
|
1565
|
+
Data?: Array<string>
|
|
1548
1566
|
/**
|
|
1549
1567
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1550
1568
|
*/
|
|
@@ -2022,6 +2040,16 @@ export interface DeleteHostResponse {
|
|
|
2022
2040
|
RequestId?: string
|
|
2023
2041
|
}
|
|
2024
2042
|
|
|
2043
|
+
/**
|
|
2044
|
+
* SwitchElasticMode返回参数结构体
|
|
2045
|
+
*/
|
|
2046
|
+
export interface SwitchElasticModeResponse {
|
|
2047
|
+
/**
|
|
2048
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2049
|
+
*/
|
|
2050
|
+
RequestId?: string
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2025
2053
|
/**
|
|
2026
2054
|
* FreshAntiFakeUrl返回参数结构体
|
|
2027
2055
|
*/
|
|
@@ -2075,7 +2103,7 @@ export interface DeleteSpartaProtectionRequest {
|
|
|
2075
2103
|
*/
|
|
2076
2104
|
Domains: Array<string>
|
|
2077
2105
|
/**
|
|
2078
|
-
*
|
|
2106
|
+
* 实例类型
|
|
2079
2107
|
*/
|
|
2080
2108
|
Edition?: string
|
|
2081
2109
|
/**
|
|
@@ -2543,47 +2571,67 @@ export interface SpartaProtectionPort {
|
|
|
2543
2571
|
*/
|
|
2544
2572
|
export interface AddSpartaProtectionRequest {
|
|
2545
2573
|
/**
|
|
2546
|
-
*
|
|
2574
|
+
* 需要防护的域名
|
|
2547
2575
|
*/
|
|
2548
2576
|
Domain: string
|
|
2549
2577
|
/**
|
|
2550
|
-
*
|
|
2578
|
+
* 证书类型。
|
|
2579
|
+
0:仅配置HTTP监听端口,没有证书
|
|
2580
|
+
1:证书来源为自有证书
|
|
2581
|
+
2:证书来源为托管证书
|
|
2551
2582
|
*/
|
|
2552
2583
|
CertType: number
|
|
2553
2584
|
/**
|
|
2554
|
-
*
|
|
2585
|
+
* waf前是否部署有七层代理服务。
|
|
2586
|
+
0:没有部署代理服务
|
|
2587
|
+
1:有部署代理服务,waf将使用XFF获取客户端IP
|
|
2588
|
+
2:有部署代理服务,waf将使用remote_addr获取客户端IP
|
|
2589
|
+
3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
|
|
2555
2590
|
*/
|
|
2556
2591
|
IsCdn: number
|
|
2557
2592
|
/**
|
|
2558
|
-
*
|
|
2593
|
+
* 回源类型。
|
|
2594
|
+
0:通过IP回源
|
|
2595
|
+
1:通过域名回源
|
|
2559
2596
|
*/
|
|
2560
2597
|
UpstreamType: number
|
|
2561
2598
|
/**
|
|
2562
|
-
* 是否开启WebSocket
|
|
2599
|
+
* 是否开启WebSocket支持。
|
|
2600
|
+
0:关闭
|
|
2601
|
+
1:开启
|
|
2563
2602
|
*/
|
|
2564
2603
|
IsWebsocket: number
|
|
2565
2604
|
/**
|
|
2566
|
-
*
|
|
2605
|
+
* 回源负载均衡策略。
|
|
2606
|
+
0:轮询
|
|
2607
|
+
1:IP hash
|
|
2608
|
+
2:加权轮询
|
|
2567
2609
|
*/
|
|
2568
2610
|
LoadBalance: string
|
|
2569
2611
|
/**
|
|
2570
|
-
*
|
|
2612
|
+
* CertType为1时,需要填充此参数,表示自有证书的证书链
|
|
2571
2613
|
*/
|
|
2572
2614
|
Cert?: string
|
|
2573
2615
|
/**
|
|
2574
|
-
* CertType
|
|
2616
|
+
* CertType为1时,需要填充此参数,表示自有证书的私钥
|
|
2575
2617
|
*/
|
|
2576
2618
|
PrivateKey?: string
|
|
2577
2619
|
/**
|
|
2578
|
-
* CertType
|
|
2620
|
+
* CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
|
2579
2621
|
*/
|
|
2580
2622
|
SSLId?: string
|
|
2581
2623
|
/**
|
|
2582
|
-
* Waf的资源ID
|
|
2624
|
+
* 待废弃,可不填。Waf的资源ID。
|
|
2583
2625
|
*/
|
|
2584
2626
|
ResourceId?: string
|
|
2585
2627
|
/**
|
|
2586
|
-
*
|
|
2628
|
+
* IsCdn为3时,需要填此参数,表示自定义header
|
|
2629
|
+
*/
|
|
2630
|
+
IpHeaders?: Array<string>
|
|
2631
|
+
/**
|
|
2632
|
+
* 服务配置有HTTPS端口时,HTTPS的回源协议。
|
|
2633
|
+
http:使用http协议回源,和HttpsUpstreamPort配合使用
|
|
2634
|
+
https:使用https协议回源
|
|
2587
2635
|
*/
|
|
2588
2636
|
UpstreamScheme?: string
|
|
2589
2637
|
/**
|
|
@@ -2591,55 +2639,71 @@ export interface AddSpartaProtectionRequest {
|
|
|
2591
2639
|
*/
|
|
2592
2640
|
HttpsUpstreamPort?: string
|
|
2593
2641
|
/**
|
|
2594
|
-
*
|
|
2642
|
+
* 待废弃,可不填。是否开启灰度,0表示不开启灰度。
|
|
2595
2643
|
*/
|
|
2596
2644
|
IsGray?: number
|
|
2597
2645
|
/**
|
|
2598
|
-
*
|
|
2646
|
+
* 待废弃,可不填。灰度的地区
|
|
2599
2647
|
*/
|
|
2600
2648
|
GrayAreas?: Array<string>
|
|
2601
2649
|
/**
|
|
2602
|
-
*
|
|
2650
|
+
* 是否开启HTTP强制跳转到HTTPS。
|
|
2651
|
+
0:不强制跳转
|
|
2652
|
+
1:开启强制跳转
|
|
2653
|
+
*/
|
|
2654
|
+
HttpsRewrite?: number
|
|
2655
|
+
/**
|
|
2656
|
+
* 域名回源时的回源域名。UpstreamType为1时,需要填充此字段
|
|
2603
2657
|
*/
|
|
2604
2658
|
UpstreamDomain?: string
|
|
2605
2659
|
/**
|
|
2606
|
-
* UpstreamType
|
|
2660
|
+
* IP回源时的回源IP列表。UpstreamType为0时,需要填充此字段
|
|
2607
2661
|
*/
|
|
2608
2662
|
SrcList?: Array<string>
|
|
2609
2663
|
/**
|
|
2610
|
-
* 是否开启HTTP2
|
|
2664
|
+
* 是否开启HTTP2,需要开启HTTPS协议支持。
|
|
2665
|
+
0:关闭
|
|
2666
|
+
1:开启
|
|
2611
2667
|
*/
|
|
2612
2668
|
IsHttp2?: number
|
|
2613
2669
|
/**
|
|
2614
|
-
*
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2670
|
+
* 服务端口列表配置。
|
|
2671
|
+
NginxServerId:新增域名时填'0'
|
|
2672
|
+
Port:监听端口号
|
|
2673
|
+
Protocol:端口协议
|
|
2674
|
+
UpstreamPort:与Port相同
|
|
2675
|
+
UpstreamProtocol:与Protocol相同
|
|
2619
2676
|
*/
|
|
2620
2677
|
Ports?: Array<PortItem>
|
|
2621
2678
|
/**
|
|
2622
|
-
* WAF
|
|
2679
|
+
* 待废弃,可不填。WAF实例类型。
|
|
2680
|
+
sparta-waf:SAAS型WAF
|
|
2681
|
+
clb-waf:负载均衡型WAF
|
|
2682
|
+
cdn-waf:CDN上的Web防护能力
|
|
2623
2683
|
*/
|
|
2624
2684
|
Edition?: string
|
|
2625
2685
|
/**
|
|
2626
|
-
*
|
|
2686
|
+
* 是否开启长连接。
|
|
2687
|
+
0: 短连接
|
|
2688
|
+
1: 长连接
|
|
2627
2689
|
*/
|
|
2628
2690
|
IsKeepAlive?: string
|
|
2629
2691
|
/**
|
|
2630
|
-
*
|
|
2692
|
+
* 域名所属实例id
|
|
2631
2693
|
*/
|
|
2632
2694
|
InstanceID?: string
|
|
2633
2695
|
/**
|
|
2634
|
-
* anycast IP类型开关: 0 普通IP 1 Anycast IP
|
|
2696
|
+
* 待废弃,目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
|
2635
2697
|
*/
|
|
2636
2698
|
Anycast?: number
|
|
2637
2699
|
/**
|
|
2638
|
-
*
|
|
2700
|
+
* 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
|
|
2639
2701
|
*/
|
|
2640
2702
|
Weights?: Array<number | bigint>
|
|
2641
2703
|
/**
|
|
2642
|
-
*
|
|
2704
|
+
* 是否开启主动健康检测。
|
|
2705
|
+
0:不开启
|
|
2706
|
+
1:开启
|
|
2643
2707
|
*/
|
|
2644
2708
|
ActiveCheck?: number
|
|
2645
2709
|
/**
|
|
@@ -2647,35 +2711,41 @@ export interface AddSpartaProtectionRequest {
|
|
|
2647
2711
|
*/
|
|
2648
2712
|
TLSVersion?: number
|
|
2649
2713
|
/**
|
|
2650
|
-
*
|
|
2714
|
+
* 加密套件模板。
|
|
2715
|
+
0:不支持选择,使用默认模版
|
|
2716
|
+
1:通用型模版
|
|
2717
|
+
2:安全型模版
|
|
2718
|
+
3:自定义模版
|
|
2651
2719
|
*/
|
|
2652
|
-
|
|
2720
|
+
CipherTemplate?: number
|
|
2653
2721
|
/**
|
|
2654
|
-
*
|
|
2722
|
+
* 自定义的加密套件列表。CipherTemplate为3时需要填此字段,表示自定义的加密套件,值通过DescribeCiphersDetail接口获取。
|
|
2655
2723
|
*/
|
|
2656
|
-
|
|
2724
|
+
Ciphers?: Array<number | bigint>
|
|
2657
2725
|
/**
|
|
2658
|
-
* 300s
|
|
2726
|
+
* WAF与源站的读超时时间,默认300s。
|
|
2659
2727
|
*/
|
|
2660
2728
|
ProxyReadTimeout?: number
|
|
2661
2729
|
/**
|
|
2662
|
-
* 300s
|
|
2730
|
+
* WAF与源站的写超时时间,默认300s。
|
|
2663
2731
|
*/
|
|
2664
2732
|
ProxySendTimeout?: number
|
|
2665
2733
|
/**
|
|
2666
|
-
*
|
|
2734
|
+
* WAF回源时的SNI类型。
|
|
2735
|
+
0:关闭SNI,不配置client_hello中的server_name
|
|
2736
|
+
1:开启SNI,client_hello中的server_name为防护域名
|
|
2737
|
+
2:开启SNI,SNI为域名回源时的源站域名
|
|
2738
|
+
3:开启SNI,SNI为自定义域名
|
|
2667
2739
|
*/
|
|
2668
2740
|
SniType?: number
|
|
2669
2741
|
/**
|
|
2670
|
-
* SniType
|
|
2742
|
+
* SniType为3时,需要填此参数,表示自定义的SNI;
|
|
2671
2743
|
*/
|
|
2672
2744
|
SniHost?: string
|
|
2673
2745
|
/**
|
|
2674
|
-
*
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
/**
|
|
2678
|
-
* 0:关闭xff重置;1:开启xff重置
|
|
2746
|
+
* 是否开启XFF重置。
|
|
2747
|
+
0:关闭
|
|
2748
|
+
1:开启
|
|
2679
2749
|
*/
|
|
2680
2750
|
XFFReset?: number
|
|
2681
2751
|
}
|
|
@@ -2904,11 +2974,11 @@ export interface DescribePortsResponse {
|
|
|
2904
2974
|
/**
|
|
2905
2975
|
* http端口列表
|
|
2906
2976
|
*/
|
|
2907
|
-
HttpPorts
|
|
2977
|
+
HttpPorts?: Array<string>
|
|
2908
2978
|
/**
|
|
2909
2979
|
* https端口列表
|
|
2910
2980
|
*/
|
|
2911
|
-
HttpsPorts
|
|
2981
|
+
HttpsPorts?: Array<string>
|
|
2912
2982
|
/**
|
|
2913
2983
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2914
2984
|
*/
|
|
@@ -3014,7 +3084,7 @@ export interface ModifyDomainIpv6StatusResponse {
|
|
|
3014
3084
|
/**
|
|
3015
3085
|
* 返回的状态 (0: 操作失败 1:操作成功 2:企业版以上不支持 3:企业版以下不支持 )
|
|
3016
3086
|
*/
|
|
3017
|
-
Ipv6Status
|
|
3087
|
+
Ipv6Status?: number
|
|
3018
3088
|
/**
|
|
3019
3089
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3020
3090
|
*/
|
|
@@ -3227,14 +3297,14 @@ export interface DescribeAntiInfoLeakRulesRequest {
|
|
|
3227
3297
|
* DescribePorts请求参数结构体
|
|
3228
3298
|
*/
|
|
3229
3299
|
export interface DescribePortsRequest {
|
|
3230
|
-
/**
|
|
3231
|
-
* 版本
|
|
3232
|
-
*/
|
|
3233
|
-
Edition?: string
|
|
3234
3300
|
/**
|
|
3235
3301
|
* 实例ID
|
|
3236
3302
|
*/
|
|
3237
3303
|
InstanceID?: string
|
|
3304
|
+
/**
|
|
3305
|
+
* 实例类型
|
|
3306
|
+
*/
|
|
3307
|
+
Edition?: string
|
|
3238
3308
|
}
|
|
3239
3309
|
|
|
3240
3310
|
/**
|
|
@@ -3364,7 +3434,7 @@ export interface DescribeCiphersDetailResponse {
|
|
|
3364
3434
|
* 加密套件信息
|
|
3365
3435
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3366
3436
|
*/
|
|
3367
|
-
Ciphers
|
|
3437
|
+
Ciphers?: Array<TLSCiphers>
|
|
3368
3438
|
/**
|
|
3369
3439
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3370
3440
|
*/
|
|
@@ -4025,7 +4095,7 @@ export interface DescribeDomainDetailsClbResponse {
|
|
|
4025
4095
|
/**
|
|
4026
4096
|
* clb域名详情
|
|
4027
4097
|
*/
|
|
4028
|
-
DomainsClbPartInfo
|
|
4098
|
+
DomainsClbPartInfo?: ClbDomainsInfo
|
|
4029
4099
|
/**
|
|
4030
4100
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4031
4101
|
*/
|
|
@@ -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
|
*/
|
|
@@ -598,13 +598,13 @@ export interface CreateRecTaskRequest {
|
|
|
598
598
|
*/
|
|
599
599
|
ResTextFormat: number;
|
|
600
600
|
/**
|
|
601
|
-
*
|
|
602
|
-
0
|
|
603
|
-
1
|
|
601
|
+
* 音频数据来源
|
|
602
|
+
0:音频URL;
|
|
603
|
+
1:音频数据(post body)
|
|
604
604
|
*/
|
|
605
605
|
SourceType: number;
|
|
606
606
|
/**
|
|
607
|
-
*
|
|
607
|
+
* 音频数据base64编码
|
|
608
608
|
**当 SourceType 值为 1 时须填写该字段,为 0 时不需要填写**
|
|
609
609
|
|
|
610
610
|
注意:音频数据要小于5MB(含)
|
|
@@ -615,7 +615,7 @@ export interface CreateRecTaskRequest {
|
|
|
615
615
|
*/
|
|
616
616
|
DataLen?: number;
|
|
617
617
|
/**
|
|
618
|
-
*
|
|
618
|
+
* 音频URL的地址(需要公网环境浏览器可下载)
|
|
619
619
|
**当 SourceType 值为 0 时须填写该字段,为 1 时不需要填写**
|
|
620
620
|
|
|
621
621
|
注意:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateSessionResponse, StopPublishStreamRequest, StopPublishStreamResponse, DestroySessionResponse, StartPublishStreamResponse, ApplyConcurrentResponse, ApplyConcurrentRequest, DestroySessionRequest, StartPublishStreamRequest, CreateSessionRequest } from "./car_models";
|
|
3
|
+
import { CreateSessionResponse, StopPublishStreamRequest, StartPublishStreamWithURLResponse, StopPublishStreamResponse, StartPublishStreamWithURLRequest, DestroySessionResponse, StartPublishStreamResponse, ApplyConcurrentResponse, ApplyConcurrentRequest, DestroySessionRequest, StartPublishStreamRequest, CreateSessionRequest } from "./car_models";
|
|
4
4
|
/**
|
|
5
5
|
* car client
|
|
6
6
|
* @class
|
|
@@ -11,20 +11,24 @@ export declare class Client extends AbstractClient {
|
|
|
11
11
|
* 本接口用于申请并发。接口超时时间:20秒。
|
|
12
12
|
*/
|
|
13
13
|
ApplyConcurrent(req: ApplyConcurrentRequest, cb?: (error: string, rep: ApplyConcurrentResponse) => void): Promise<ApplyConcurrentResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 销毁会话
|
|
16
|
+
*/
|
|
17
|
+
DestroySession(req: DestroySessionRequest, cb?: (error: string, rep: DestroySessionResponse) => void): Promise<DestroySessionResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 开始云端推流
|
|
20
|
+
*/
|
|
21
|
+
StartPublishStream(req: StartPublishStreamRequest, cb?: (error: string, rep: StartPublishStreamResponse) => void): Promise<StartPublishStreamResponse>;
|
|
14
22
|
/**
|
|
15
23
|
* 停止云端推流
|
|
16
24
|
*/
|
|
17
25
|
StopPublishStream(req: StopPublishStreamRequest, cb?: (error: string, rep: StopPublishStreamResponse) => void): Promise<StopPublishStreamResponse>;
|
|
18
26
|
/**
|
|
19
|
-
*
|
|
27
|
+
* 开始云端推流到指定URL
|
|
20
28
|
*/
|
|
21
|
-
|
|
29
|
+
StartPublishStreamWithURL(req: StartPublishStreamWithURLRequest, cb?: (error: string, rep: StartPublishStreamWithURLResponse) => void): Promise<StartPublishStreamWithURLResponse>;
|
|
22
30
|
/**
|
|
23
31
|
* 本接口用于创建会话。接口超时时间:5秒。
|
|
24
32
|
*/
|
|
25
33
|
CreateSession(req: CreateSessionRequest, cb?: (error: string, rep: CreateSessionResponse) => void): Promise<CreateSessionResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* 开始云端推流
|
|
28
|
-
*/
|
|
29
|
-
StartPublishStream(req: StartPublishStreamRequest, cb?: (error: string, rep: StartPublishStreamResponse) => void): Promise<StartPublishStreamResponse>;
|
|
30
34
|
}
|