tencentcloud-sdk-nodejs 4.0.651 → 4.0.652
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 +267 -0
- package/SERVICE_CHANGELOG.md +332 -136
- package/package.json +1 -1
- package/products.md +20 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20221115/bma_models.ts +7 -2
- package/src/services/cam/v20190116/cam_models.ts +12 -12
- package/src/services/ccc/v20200210/ccc_models.ts +10 -0
- package/src/services/cls/v20201016/cls_client.ts +17 -2
- package/src/services/cls/v20201016/cls_models.ts +197 -25
- package/src/services/cwp/v20180228/cwp_models.ts +37 -32
- package/src/services/dnspod/v20210323/dnspod_models.ts +4 -0
- package/src/services/dts/v20211206/dts_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +16 -4
- package/src/services/ess/v20201111/ess_models.ts +18 -8
- package/src/services/gaap/v20180529/gaap_models.ts +2 -2
- package/src/services/lcic/v20220817/lcic_models.ts +18 -0
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/tcss/v20201101/tcss_client.ts +2 -0
- package/src/services/tcss/v20201101/tcss_models.ts +105 -25
- package/src/services/trtc/v20190722/trtc_models.ts +9 -1
- package/src/services/tsf/v20180326/tsf_models.ts +11 -11
- package/src/services/tts/v20190823/tts_models.ts +2 -2
- package/src/services/vpc/v20170312/vpc_client.ts +15 -1
- package/src/services/vpc/v20170312/vpc_models.ts +133 -6
- package/src/services/waf/v20180125/waf_client.ts +20 -7
- package/src/services/waf/v20180125/waf_models.ts +79 -16
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20221115/bma_models.d.ts +7 -2
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +12 -12
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +10 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +5 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +6 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +192 -25
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +37 -32
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +16 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +16 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +18 -8
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +2 -2
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +18 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +103 -25
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +9 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +11 -11
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +5 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +6 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +129 -6
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +7 -3
- package/tencentcloud/services/waf/v20180125/waf_client.js +9 -3
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +76 -16
- package/test/cls.v20201016.test.js +10 -0
- package/test/vpc.v20170312.test.js +10 -0
- package/test/waf.v20180125.test.js +12 -2
|
@@ -168,6 +168,10 @@ export interface McuVideoParams {
|
|
|
168
168
|
* 混流布局的水印参数。
|
|
169
169
|
*/
|
|
170
170
|
WaterMarkList?: Array<McuWaterMarkParams>
|
|
171
|
+
/**
|
|
172
|
+
* 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。
|
|
173
|
+
*/
|
|
174
|
+
BackgroundRenderMode?: number
|
|
171
175
|
}
|
|
172
176
|
|
|
173
177
|
/**
|
|
@@ -1234,7 +1238,7 @@ export interface McuLayout {
|
|
|
1234
1238
|
*/
|
|
1235
1239
|
ZOrder?: number
|
|
1236
1240
|
/**
|
|
1237
|
-
* 子画面在输出时的显示模式:0为裁剪,1
|
|
1241
|
+
* 子画面在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底。不填默认为0。
|
|
1238
1242
|
*/
|
|
1239
1243
|
RenderMode?: number
|
|
1240
1244
|
/**
|
|
@@ -1256,6 +1260,10 @@ export interface McuLayout {
|
|
|
1256
1260
|
* 客户自定义裁剪,针对原始输入流裁剪
|
|
1257
1261
|
*/
|
|
1258
1262
|
CustomCrop?: McuCustomCrop
|
|
1263
|
+
/**
|
|
1264
|
+
* 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩。不填默认为3。
|
|
1265
|
+
*/
|
|
1266
|
+
BackgroundRenderMode?: number
|
|
1259
1267
|
}
|
|
1260
1268
|
|
|
1261
1269
|
/**
|
|
@@ -6515,57 +6515,57 @@ export interface JvmMonitorData {
|
|
|
6515
6515
|
* 堆内存监控图,三条线
|
|
6516
6516
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6517
6517
|
*/
|
|
6518
|
-
HeapMemory
|
|
6518
|
+
HeapMemory?: MemoryPicture
|
|
6519
6519
|
/**
|
|
6520
6520
|
* 非堆内存监控图,三条线
|
|
6521
6521
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6522
6522
|
*/
|
|
6523
|
-
NonHeapMemory
|
|
6523
|
+
NonHeapMemory?: MemoryPicture
|
|
6524
6524
|
/**
|
|
6525
6525
|
* 伊甸园区监控图,三条线
|
|
6526
6526
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6527
6527
|
*/
|
|
6528
|
-
EdenSpace
|
|
6528
|
+
EdenSpace?: MemoryPicture
|
|
6529
6529
|
/**
|
|
6530
6530
|
* 幸存者区监控图,三条线
|
|
6531
6531
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6532
6532
|
*/
|
|
6533
|
-
SurvivorSpace
|
|
6533
|
+
SurvivorSpace?: MemoryPicture
|
|
6534
6534
|
/**
|
|
6535
6535
|
* 老年代监控图,三条线
|
|
6536
6536
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6537
6537
|
*/
|
|
6538
|
-
OldSpace
|
|
6538
|
+
OldSpace?: MemoryPicture
|
|
6539
6539
|
/**
|
|
6540
6540
|
* 元空间监控图,三条线
|
|
6541
6541
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6542
6542
|
*/
|
|
6543
|
-
MetaSpace
|
|
6543
|
+
MetaSpace?: MemoryPicture
|
|
6544
6544
|
/**
|
|
6545
6545
|
* 线程监控图,三条线
|
|
6546
6546
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6547
6547
|
*/
|
|
6548
|
-
ThreadPicture
|
|
6548
|
+
ThreadPicture?: ThreadPicture
|
|
6549
6549
|
/**
|
|
6550
6550
|
* youngGC增量监控图,一条线
|
|
6551
6551
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6552
6552
|
*/
|
|
6553
|
-
YoungGC
|
|
6553
|
+
YoungGC?: Array<CurvePoint>
|
|
6554
6554
|
/**
|
|
6555
6555
|
* fullGC增量监控图,一条线
|
|
6556
6556
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6557
6557
|
*/
|
|
6558
|
-
FullGC
|
|
6558
|
+
FullGC?: Array<CurvePoint>
|
|
6559
6559
|
/**
|
|
6560
6560
|
* cpu使用率,一条线
|
|
6561
6561
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6562
6562
|
*/
|
|
6563
|
-
CpuUsage
|
|
6563
|
+
CpuUsage?: Array<CurvePoint>
|
|
6564
6564
|
/**
|
|
6565
6565
|
* 加载类数,一条线
|
|
6566
6566
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6567
6567
|
*/
|
|
6568
|
-
ClassCount
|
|
6568
|
+
ClassCount?: Array<CurvePoint>
|
|
6569
6569
|
}
|
|
6570
6570
|
|
|
6571
6571
|
/**
|
|
@@ -187,7 +187,7 @@ export interface CreateTtsTaskRequest {
|
|
|
187
187
|
*/
|
|
188
188
|
CallbackUrl?: string
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
190
|
+
* 旁白与对白文本解析,分别合成相应风格(仅适用于旁对白音色10510000、100510000),默认 false
|
|
191
191
|
*/
|
|
192
192
|
VoiceoverDialogueSplit?: boolean
|
|
193
193
|
}
|
|
@@ -249,7 +249,7 @@ export interface TextToVoiceRequest {
|
|
|
249
249
|
*/
|
|
250
250
|
SegmentRate?: number
|
|
251
251
|
/**
|
|
252
|
-
* 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)
|
|
252
|
+
* 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)、傲娇(aojiao)、解说(jieshuo)
|
|
253
253
|
*/
|
|
254
254
|
EmotionCategory?: string
|
|
255
255
|
/**
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
DescribeBandwidthPackagesResponse,
|
|
118
118
|
ReplaceSecurityGroupPoliciesResponse,
|
|
119
119
|
DescribeDirectConnectGatewaysRequest,
|
|
120
|
-
|
|
120
|
+
DescribeSpecificTrafficPackageUsedDetailsResponse,
|
|
121
121
|
AttachSnapshotInstancesRequest,
|
|
122
122
|
ModifyIp6TranslatorResponse,
|
|
123
123
|
CreateVpcEndPointServiceWhiteListResponse,
|
|
@@ -160,6 +160,7 @@ import {
|
|
|
160
160
|
DescribeFlowLogRequest,
|
|
161
161
|
DescribeTenantCcnsRequest,
|
|
162
162
|
DescribeIp6AddressesRequest,
|
|
163
|
+
TrafficFlow,
|
|
163
164
|
AddIp6RulesRequest,
|
|
164
165
|
DescribeAccountAttributesResponse,
|
|
165
166
|
AssignPrivateIpAddressesResponse,
|
|
@@ -347,6 +348,7 @@ import {
|
|
|
347
348
|
DescribeSnapshotPoliciesResponse,
|
|
348
349
|
DisableGatewayFlowMonitorRequest,
|
|
349
350
|
EnableRoutesResponse,
|
|
351
|
+
DescribeSpecificTrafficPackageUsedDetailsRequest,
|
|
350
352
|
DeleteVpnConnectionRequest,
|
|
351
353
|
NetworkAclEntry,
|
|
352
354
|
DescribeDhcpIpsRequest,
|
|
@@ -485,6 +487,7 @@ import {
|
|
|
485
487
|
ModifyNatGatewaySourceIpTranslationNatRuleResponse,
|
|
486
488
|
CreateNatGatewayDestinationIpPortTranslationNatRuleRequest,
|
|
487
489
|
CreateFlowLogRequest,
|
|
490
|
+
UsedDetail,
|
|
488
491
|
InquirePriceCreateDirectConnectGatewayRequest,
|
|
489
492
|
AttachNetworkInterfaceResponse,
|
|
490
493
|
DisassociateNatGatewayAddressRequest,
|
|
@@ -640,6 +643,7 @@ import {
|
|
|
640
643
|
CcnBandwidthInfo,
|
|
641
644
|
DescribeCrossBorderCcnRegionBandwidthLimitsResponse,
|
|
642
645
|
DeleteSecurityGroupResponse,
|
|
646
|
+
DisableVpnGatewaySslClientCertRequest,
|
|
643
647
|
CreateNetworkInterfaceResponse,
|
|
644
648
|
DescribeAddressQuotaRequest,
|
|
645
649
|
LockCcnsResponse,
|
|
@@ -1456,6 +1460,16 @@ export class Client extends AbstractClient {
|
|
|
1456
1460
|
return this.request("SetCcnRegionBandwidthLimits", req, cb)
|
|
1457
1461
|
}
|
|
1458
1462
|
|
|
1463
|
+
/**
|
|
1464
|
+
* 本接口 (DescribeSpecificTrafficPackageUsedDetails) 用于查询指定 共享流量包 的用量明细。
|
|
1465
|
+
*/
|
|
1466
|
+
async DescribeSpecificTrafficPackageUsedDetails(
|
|
1467
|
+
req: DescribeSpecificTrafficPackageUsedDetailsRequest,
|
|
1468
|
+
cb?: (error: string, rep: DescribeSpecificTrafficPackageUsedDetailsResponse) => void
|
|
1469
|
+
): Promise<DescribeSpecificTrafficPackageUsedDetailsResponse> {
|
|
1470
|
+
return this.request("DescribeSpecificTrafficPackageUsedDetails", req, cb)
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1459
1473
|
/**
|
|
1460
1474
|
* 本接口(GenerateVpnConnectionDefaultHealthCheckIp)用于获取一对VPN通道健康检查地址。
|
|
1461
1475
|
*/
|
|
@@ -2044,17 +2044,21 @@ export interface DescribeDirectConnectGatewaysRequest {
|
|
|
2044
2044
|
}
|
|
2045
2045
|
|
|
2046
2046
|
/**
|
|
2047
|
-
*
|
|
2047
|
+
* DescribeSpecificTrafficPackageUsedDetails返回参数结构体
|
|
2048
2048
|
*/
|
|
2049
|
-
export interface
|
|
2049
|
+
export interface DescribeSpecificTrafficPackageUsedDetailsResponse {
|
|
2050
2050
|
/**
|
|
2051
|
-
*
|
|
2051
|
+
* 符合查询条件的共享流量包用量明细的总数
|
|
2052
2052
|
*/
|
|
2053
|
-
|
|
2053
|
+
TotalCount?: number
|
|
2054
2054
|
/**
|
|
2055
|
-
*
|
|
2055
|
+
* 共享流量包用量明细列表
|
|
2056
2056
|
*/
|
|
2057
|
-
|
|
2057
|
+
UsedDetailSet?: Array<UsedDetail>
|
|
2058
|
+
/**
|
|
2059
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2060
|
+
*/
|
|
2061
|
+
RequestId?: string
|
|
2058
2062
|
}
|
|
2059
2063
|
|
|
2060
2064
|
/**
|
|
@@ -2760,6 +2764,26 @@ export interface DescribeIp6AddressesRequest {
|
|
|
2760
2764
|
Limit?: number
|
|
2761
2765
|
}
|
|
2762
2766
|
|
|
2767
|
+
/**
|
|
2768
|
+
* 流量描述。
|
|
2769
|
+
*/
|
|
2770
|
+
export interface TrafficFlow {
|
|
2771
|
+
/**
|
|
2772
|
+
* 实际流量,单位为 字节
|
|
2773
|
+
*/
|
|
2774
|
+
Value: number
|
|
2775
|
+
/**
|
|
2776
|
+
* 格式化后的流量,单位见参数 FormatUnit
|
|
2777
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2778
|
+
*/
|
|
2779
|
+
FormatValue: number
|
|
2780
|
+
/**
|
|
2781
|
+
* 格式化后流量的单位
|
|
2782
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2783
|
+
*/
|
|
2784
|
+
FormatUnit: string
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2763
2787
|
/**
|
|
2764
2788
|
* AddIp6Rules请求参数结构体
|
|
2765
2789
|
*/
|
|
@@ -6310,6 +6334,10 @@ export interface DescribeVpcEndPointServiceRequest {
|
|
|
6310
6334
|
* 终端节点服务ID。不支持同时传入参数 EndPointServiceIds and Filters。
|
|
6311
6335
|
*/
|
|
6312
6336
|
EndPointServiceIds?: Array<string>
|
|
6337
|
+
/**
|
|
6338
|
+
* <li>不支持同时传入参数 Filters 。</li> <li>列出授权给当前账号的的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,那些终端节点服务授权了该账户。</li>
|
|
6339
|
+
*/
|
|
6340
|
+
IsListAuthorizedEndPointService?: boolean
|
|
6313
6341
|
}
|
|
6314
6342
|
|
|
6315
6343
|
/**
|
|
@@ -6750,6 +6778,44 @@ export interface EnableRoutesResponse {
|
|
|
6750
6778
|
RequestId?: string
|
|
6751
6779
|
}
|
|
6752
6780
|
|
|
6781
|
+
/**
|
|
6782
|
+
* DescribeSpecificTrafficPackageUsedDetails请求参数结构体
|
|
6783
|
+
*/
|
|
6784
|
+
export interface DescribeSpecificTrafficPackageUsedDetailsRequest {
|
|
6785
|
+
/**
|
|
6786
|
+
* 共享流量包唯一ID
|
|
6787
|
+
*/
|
|
6788
|
+
TrafficPackageId: string
|
|
6789
|
+
/**
|
|
6790
|
+
* 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。详细的过滤条件如下:<li> resource-id - String - 是否必填:否 - (过滤条件)按照抵扣流量资源的唯一 ID 过滤。</li><li> resource-type - String - 是否必填:否 - (过滤条件)按照资源类型过滤,资源类型包括 CVM 和 EIP </li>
|
|
6791
|
+
*/
|
|
6792
|
+
Filters?: Array<Filter>
|
|
6793
|
+
/**
|
|
6794
|
+
* 排序条件。该参数仅支持根据抵扣量排序,传值为 deduction
|
|
6795
|
+
*/
|
|
6796
|
+
OrderField?: string
|
|
6797
|
+
/**
|
|
6798
|
+
* 排序类型,仅支持0和1,0-降序,1-升序。不传默认为0
|
|
6799
|
+
*/
|
|
6800
|
+
OrderType?: number
|
|
6801
|
+
/**
|
|
6802
|
+
* 开始时间。不传默认为当前时间往前推30天
|
|
6803
|
+
*/
|
|
6804
|
+
StartTime?: string
|
|
6805
|
+
/**
|
|
6806
|
+
* 结束时间。不传默认为当前时间
|
|
6807
|
+
*/
|
|
6808
|
+
EndTime?: string
|
|
6809
|
+
/**
|
|
6810
|
+
* 分页参数
|
|
6811
|
+
*/
|
|
6812
|
+
Offset?: number
|
|
6813
|
+
/**
|
|
6814
|
+
* 分页参数
|
|
6815
|
+
*/
|
|
6816
|
+
Limit?: number
|
|
6817
|
+
}
|
|
6818
|
+
|
|
6753
6819
|
/**
|
|
6754
6820
|
* DeleteVpnConnection请求参数结构体
|
|
6755
6821
|
*/
|
|
@@ -9643,6 +9709,53 @@ export interface CreateFlowLogRequest {
|
|
|
9643
9709
|
CloudLogRegion?: string
|
|
9644
9710
|
}
|
|
9645
9711
|
|
|
9712
|
+
/**
|
|
9713
|
+
* 共享流量包用量明细
|
|
9714
|
+
*/
|
|
9715
|
+
export interface UsedDetail {
|
|
9716
|
+
/**
|
|
9717
|
+
* 流量包唯一ID
|
|
9718
|
+
*/
|
|
9719
|
+
TrafficPackageId: string
|
|
9720
|
+
/**
|
|
9721
|
+
* 流量包名称
|
|
9722
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9723
|
+
*/
|
|
9724
|
+
TrafficPackageName: string
|
|
9725
|
+
/**
|
|
9726
|
+
* 流量包总量
|
|
9727
|
+
*/
|
|
9728
|
+
TotalAmount: TrafficFlow
|
|
9729
|
+
/**
|
|
9730
|
+
* 本次抵扣
|
|
9731
|
+
*/
|
|
9732
|
+
Deduction: TrafficFlow
|
|
9733
|
+
/**
|
|
9734
|
+
* 本次抵扣后剩余量
|
|
9735
|
+
*/
|
|
9736
|
+
RemainingAmount: TrafficFlow
|
|
9737
|
+
/**
|
|
9738
|
+
* 抵扣时间
|
|
9739
|
+
*/
|
|
9740
|
+
Time: string
|
|
9741
|
+
/**
|
|
9742
|
+
* 资源类型。可能的值: CVM, LB, NAT, HAVIP, EIP
|
|
9743
|
+
*/
|
|
9744
|
+
ResourceType: string
|
|
9745
|
+
/**
|
|
9746
|
+
* 资源ID
|
|
9747
|
+
*/
|
|
9748
|
+
ResourceId: string
|
|
9749
|
+
/**
|
|
9750
|
+
* 资源名称
|
|
9751
|
+
*/
|
|
9752
|
+
ResourceName: string
|
|
9753
|
+
/**
|
|
9754
|
+
* 流量包到期时间
|
|
9755
|
+
*/
|
|
9756
|
+
Deadline: string
|
|
9757
|
+
}
|
|
9758
|
+
|
|
9646
9759
|
/**
|
|
9647
9760
|
* InquirePriceCreateDirectConnectGateway请求参数结构体
|
|
9648
9761
|
*/
|
|
@@ -12565,6 +12678,20 @@ export interface DeleteSecurityGroupResponse {
|
|
|
12565
12678
|
RequestId?: string
|
|
12566
12679
|
}
|
|
12567
12680
|
|
|
12681
|
+
/**
|
|
12682
|
+
* DisableVpnGatewaySslClientCert请求参数结构体
|
|
12683
|
+
*/
|
|
12684
|
+
export interface DisableVpnGatewaySslClientCertRequest {
|
|
12685
|
+
/**
|
|
12686
|
+
* SSL-VPN-CLIENT 实例ID。不可和SslVpnClientIds同时使用。
|
|
12687
|
+
*/
|
|
12688
|
+
SslVpnClientId?: string
|
|
12689
|
+
/**
|
|
12690
|
+
* SSL-VPN-CLIENT 实例ID列表。批量禁用时使用。不可和SslVpnClientId同时使用。
|
|
12691
|
+
*/
|
|
12692
|
+
SslVpnClientIds?: Array<string>
|
|
12693
|
+
}
|
|
12694
|
+
|
|
12568
12695
|
/**
|
|
12569
12696
|
* CreateNetworkInterface返回参数结构体
|
|
12570
12697
|
*/
|
|
@@ -79,6 +79,7 @@ import {
|
|
|
79
79
|
SpartaProtectionPort,
|
|
80
80
|
AddSpartaProtectionRequest,
|
|
81
81
|
PeakPointsItem,
|
|
82
|
+
IpHitItem,
|
|
82
83
|
PostAttackDownloadTaskRequest,
|
|
83
84
|
ModifyCustomWhiteRuleResponse,
|
|
84
85
|
DescribePolicyStatusRequest,
|
|
@@ -103,6 +104,7 @@ import {
|
|
|
103
104
|
DescribeDomainWhiteRulesRequest,
|
|
104
105
|
ModifyCustomRuleStatusRequest,
|
|
105
106
|
DescribePeakPointsResponse,
|
|
107
|
+
AccessHistogramItem,
|
|
106
108
|
DeleteDownloadRecordResponse,
|
|
107
109
|
ModifyAccessPeriodRequest,
|
|
108
110
|
DescribeAttackOverviewRequest,
|
|
@@ -144,11 +146,12 @@ import {
|
|
|
144
146
|
DescribeUserClbWafRegionsRequest,
|
|
145
147
|
DescribeDomainWhiteRulesResponse,
|
|
146
148
|
DescribeWafThreatenIntelligenceResponse,
|
|
149
|
+
DescribeAccessHistogramResponse,
|
|
147
150
|
DeleteAttackDownloadRecordRequest,
|
|
148
151
|
AddCustomWhiteRuleRequest,
|
|
149
152
|
AddDomainWhiteRuleRequest,
|
|
150
153
|
UpsertIpAccessControlResponse,
|
|
151
|
-
|
|
154
|
+
DescribeAccessHistogramRequest,
|
|
152
155
|
DeleteSessionResponse,
|
|
153
156
|
DownloadAttackRecordInfo,
|
|
154
157
|
DescribeRuleLimitResponse,
|
|
@@ -275,13 +278,13 @@ export class Client extends AbstractClient {
|
|
|
275
278
|
}
|
|
276
279
|
|
|
277
280
|
/**
|
|
278
|
-
*
|
|
281
|
+
* 本接口用于访问日志柱状趋势图
|
|
279
282
|
*/
|
|
280
|
-
async
|
|
281
|
-
req:
|
|
282
|
-
cb?: (error: string, rep:
|
|
283
|
-
): Promise<
|
|
284
|
-
return this.request("
|
|
283
|
+
async DescribeAccessHistogram(
|
|
284
|
+
req: DescribeAccessHistogramRequest,
|
|
285
|
+
cb?: (error: string, rep: DescribeAccessHistogramResponse) => void
|
|
286
|
+
): Promise<DescribeAccessHistogramResponse> {
|
|
287
|
+
return this.request("DescribeAccessHistogram", req, cb)
|
|
285
288
|
}
|
|
286
289
|
|
|
287
290
|
/**
|
|
@@ -456,6 +459,16 @@ export class Client extends AbstractClient {
|
|
|
456
459
|
return this.request("PostAttackDownloadTask", req, cb)
|
|
457
460
|
}
|
|
458
461
|
|
|
462
|
+
/**
|
|
463
|
+
* 查询单个saas域名详情
|
|
464
|
+
*/
|
|
465
|
+
async DescribeDomainDetailsSaas(
|
|
466
|
+
req: DescribeDomainDetailsSaasRequest,
|
|
467
|
+
cb?: (error: string, rep: DescribeDomainDetailsSaasResponse) => void
|
|
468
|
+
): Promise<DescribeDomainDetailsSaasResponse> {
|
|
469
|
+
return this.request("DescribeDomainDetailsSaas", req, cb)
|
|
470
|
+
}
|
|
471
|
+
|
|
459
472
|
/**
|
|
460
473
|
* 开启或禁用访问控制(自定义策略)
|
|
461
474
|
*/
|
|
@@ -1735,6 +1735,36 @@ export interface PeakPointsItem {
|
|
|
1735
1735
|
UpstreamRedirect: number
|
|
1736
1736
|
}
|
|
1737
1737
|
|
|
1738
|
+
/**
|
|
1739
|
+
* ip封堵状态数据
|
|
1740
|
+
*/
|
|
1741
|
+
export interface IpHitItem {
|
|
1742
|
+
/**
|
|
1743
|
+
* 动作
|
|
1744
|
+
*/
|
|
1745
|
+
Action: number
|
|
1746
|
+
/**
|
|
1747
|
+
* 类别
|
|
1748
|
+
*/
|
|
1749
|
+
Category: string
|
|
1750
|
+
/**
|
|
1751
|
+
* ip
|
|
1752
|
+
*/
|
|
1753
|
+
Ip: string
|
|
1754
|
+
/**
|
|
1755
|
+
* 规则名称
|
|
1756
|
+
*/
|
|
1757
|
+
Name: string
|
|
1758
|
+
/**
|
|
1759
|
+
* 时间戳
|
|
1760
|
+
*/
|
|
1761
|
+
TsVersion: number
|
|
1762
|
+
/**
|
|
1763
|
+
* 有效截止时间戳
|
|
1764
|
+
*/
|
|
1765
|
+
ValidTs: number
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1738
1768
|
/**
|
|
1739
1769
|
* PostAttackDownloadTask请求参数结构体
|
|
1740
1770
|
*/
|
|
@@ -2226,6 +2256,20 @@ export interface DescribePeakPointsResponse {
|
|
|
2226
2256
|
RequestId?: string
|
|
2227
2257
|
}
|
|
2228
2258
|
|
|
2259
|
+
/**
|
|
2260
|
+
* 用于接口DescribeAccessHistogram 的出参
|
|
2261
|
+
*/
|
|
2262
|
+
export interface AccessHistogramItem {
|
|
2263
|
+
/**
|
|
2264
|
+
* 时间,单位ms
|
|
2265
|
+
*/
|
|
2266
|
+
BTime?: number
|
|
2267
|
+
/**
|
|
2268
|
+
* 日志条数
|
|
2269
|
+
*/
|
|
2270
|
+
Count?: number
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2229
2273
|
/**
|
|
2230
2274
|
* DeleteDownloadRecord返回参数结构体
|
|
2231
2275
|
*/
|
|
@@ -3383,6 +3427,29 @@ export interface DescribeWafThreatenIntelligenceResponse {
|
|
|
3383
3427
|
RequestId?: string
|
|
3384
3428
|
}
|
|
3385
3429
|
|
|
3430
|
+
/**
|
|
3431
|
+
* DescribeAccessHistogram返回参数结构体
|
|
3432
|
+
*/
|
|
3433
|
+
export interface DescribeAccessHistogramResponse {
|
|
3434
|
+
/**
|
|
3435
|
+
* 柱状图间隔时间差,单位ms
|
|
3436
|
+
*/
|
|
3437
|
+
Interval?: number
|
|
3438
|
+
/**
|
|
3439
|
+
* 满足条件的日志条数
|
|
3440
|
+
*/
|
|
3441
|
+
TotalCount?: number
|
|
3442
|
+
/**
|
|
3443
|
+
* 注意:此字段可能返回 null,表示取不到有效值
|
|
3444
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3445
|
+
*/
|
|
3446
|
+
HistogramInfos?: Array<AccessHistogramItem>
|
|
3447
|
+
/**
|
|
3448
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3449
|
+
*/
|
|
3450
|
+
RequestId?: string
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3386
3453
|
/**
|
|
3387
3454
|
* DeleteAttackDownloadRecord请求参数结构体
|
|
3388
3455
|
*/
|
|
@@ -3470,33 +3537,29 @@ export interface UpsertIpAccessControlResponse {
|
|
|
3470
3537
|
}
|
|
3471
3538
|
|
|
3472
3539
|
/**
|
|
3473
|
-
*
|
|
3540
|
+
* DescribeAccessHistogram请求参数结构体
|
|
3474
3541
|
*/
|
|
3475
|
-
export interface
|
|
3476
|
-
/**
|
|
3477
|
-
* 动作
|
|
3478
|
-
*/
|
|
3479
|
-
Action: number
|
|
3542
|
+
export interface DescribeAccessHistogramRequest {
|
|
3480
3543
|
/**
|
|
3481
|
-
*
|
|
3544
|
+
* 老版本查询的日志主题ID,新版本传空字符串即可
|
|
3482
3545
|
*/
|
|
3483
|
-
|
|
3546
|
+
TopicId: string
|
|
3484
3547
|
/**
|
|
3485
|
-
*
|
|
3548
|
+
* 要查询的日志的起始时间,Unix时间戳,单位ms
|
|
3486
3549
|
*/
|
|
3487
|
-
|
|
3550
|
+
From: number
|
|
3488
3551
|
/**
|
|
3489
|
-
*
|
|
3552
|
+
* 要查询的日志的结束时间,Unix时间戳,单位ms
|
|
3490
3553
|
*/
|
|
3491
|
-
|
|
3554
|
+
To: number
|
|
3492
3555
|
/**
|
|
3493
|
-
*
|
|
3556
|
+
* 查询语句,语句长度最大为4096
|
|
3494
3557
|
*/
|
|
3495
|
-
|
|
3558
|
+
Query: string
|
|
3496
3559
|
/**
|
|
3497
|
-
*
|
|
3560
|
+
* 柱状图间隔时间差,单位ms
|
|
3498
3561
|
*/
|
|
3499
|
-
|
|
3562
|
+
Interval?: number
|
|
3500
3563
|
}
|
|
3501
3564
|
|
|
3502
3565
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.652";
|
|
@@ -447,12 +447,12 @@ export interface FakeURLData {
|
|
|
447
447
|
*/
|
|
448
448
|
Heat?: number;
|
|
449
449
|
/**
|
|
450
|
-
*
|
|
450
|
+
* 拦截处置状态:0-未处置 1-处置中 2-处置成功 3-处置失败
|
|
451
451
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
452
452
|
*/
|
|
453
453
|
BlockStatus?: number;
|
|
454
454
|
/**
|
|
455
|
-
*
|
|
455
|
+
* 拦截处置状态说明
|
|
456
456
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
457
457
|
*/
|
|
458
458
|
BlockNote?: string;
|
|
@@ -526,6 +526,11 @@ export interface FakeURLData {
|
|
|
526
526
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
527
527
|
*/
|
|
528
528
|
AccountStatus?: number;
|
|
529
|
+
/**
|
|
530
|
+
* 审核状态:0-未审核 1-审核中 2-审核成功 3-审核失败
|
|
531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
532
|
+
*/
|
|
533
|
+
AuditStatus?: number;
|
|
529
534
|
}
|
|
530
535
|
/**
|
|
531
536
|
* DeleteBPWhiteList请求参数结构体
|
|
@@ -1987,13 +1987,13 @@ export interface AttachUserPolicyRequest {
|
|
|
1987
1987
|
*/
|
|
1988
1988
|
export interface ListAttachedGroupPoliciesResponse {
|
|
1989
1989
|
/**
|
|
1990
|
-
*
|
|
1990
|
+
* 策略总数。取值范围大于等于0。
|
|
1991
1991
|
*/
|
|
1992
|
-
TotalNum
|
|
1992
|
+
TotalNum?: number;
|
|
1993
1993
|
/**
|
|
1994
1994
|
* 策略列表
|
|
1995
1995
|
*/
|
|
1996
|
-
List
|
|
1996
|
+
List?: Array<AttachPolicyInfo>;
|
|
1997
1997
|
/**
|
|
1998
1998
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1999
1999
|
*/
|
|
@@ -2718,39 +2718,39 @@ export interface SetDefaultPolicyVersionRequest {
|
|
|
2718
2718
|
export interface UpdateUserOIDCConfigRequest {
|
|
2719
2719
|
/**
|
|
2720
2720
|
* 身份提供商URL。OpenID Connect身份提供商标识。
|
|
2721
|
-
对应企业IdP提供的Openid-configuration中"issuer"
|
|
2721
|
+
对应企业IdP提供的Openid-configuration中"issuer"字段的值,该URL必须以https开头,符合标准URL格式,不允许带有query参数(以?标识)、fragment片段(以#标识)和登录信息(以@标识)。
|
|
2722
2722
|
*/
|
|
2723
2723
|
IdentityUrl: string;
|
|
2724
2724
|
/**
|
|
2725
|
-
*
|
|
2725
|
+
* RSA签名公钥,JWKS格式,需要进行base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的账号安全,建议您定期轮换签名公钥。
|
|
2726
2726
|
*/
|
|
2727
2727
|
IdentityKey: string;
|
|
2728
2728
|
/**
|
|
2729
|
-
* 客户端ID,在OpenID Connect身份提供商注册的客户端ID
|
|
2729
|
+
* 客户端ID,在OpenID Connect身份提供商注册的客户端ID,允许英文字母、数字、特殊字符.-_:/,不能以特殊字符.-_:/开头,单个客户端ID最大64个字符。
|
|
2730
2730
|
*/
|
|
2731
2731
|
ClientId: string;
|
|
2732
2732
|
/**
|
|
2733
|
-
* 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"
|
|
2733
|
+
* 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值,该URL必须以https开头,符合标准URL格式,不允许带有query参数(以?标识)、fragment片段(以#标识)和登录信息(以@标识)。
|
|
2734
2734
|
*/
|
|
2735
2735
|
AuthorizationEndpoint: string;
|
|
2736
2736
|
/**
|
|
2737
|
-
* 授权请求Response type,固定值id_token。
|
|
2737
|
+
* 授权请求Response type,有code,id_token,固定值id_token。
|
|
2738
2738
|
*/
|
|
2739
2739
|
ResponseType: string;
|
|
2740
2740
|
/**
|
|
2741
|
-
* 授权请求Response mode
|
|
2741
|
+
* 授权请求Response mode。授权请求返回模式,有form_post和fragment两种可选模式,推荐选择form_post模式。
|
|
2742
2742
|
*/
|
|
2743
2743
|
ResponseMode: string;
|
|
2744
2744
|
/**
|
|
2745
|
-
* 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name
|
|
2745
|
+
* 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段,仅支持英文字母、数宇、汉字、符号@、&_[]-的组合,1-255个中文或英文字符
|
|
2746
2746
|
*/
|
|
2747
2747
|
MappingFiled: string;
|
|
2748
2748
|
/**
|
|
2749
|
-
* 授权请求Scope
|
|
2749
|
+
* 授权请求Scope。有openid; email;profile三种。代表授权请求信息范围openid表示请求访问用户的身份信息,email表示请求访问用户的电子邮件地址,profile表示请求访问用户的基本信息。默认必选openid。
|
|
2750
2750
|
*/
|
|
2751
2751
|
Scope?: Array<string>;
|
|
2752
2752
|
/**
|
|
2753
|
-
*
|
|
2753
|
+
* 描述,长度为1~255个英文或中文字符,默认值为空。
|
|
2754
2754
|
*/
|
|
2755
2755
|
Description?: string;
|
|
2756
2756
|
}
|
|
@@ -2327,6 +2327,11 @@ export interface SdkAppIdBuyInfo {
|
|
|
2327
2327
|
* 号码购买列表
|
|
2328
2328
|
*/
|
|
2329
2329
|
PhoneNumBuyList: Array<PhoneNumBuyInfo>;
|
|
2330
|
+
/**
|
|
2331
|
+
* 办公电话购买数(还在有效期内)
|
|
2332
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2333
|
+
*/
|
|
2334
|
+
SipBuyNum?: number;
|
|
2330
2335
|
}
|
|
2331
2336
|
/**
|
|
2332
2337
|
* DescribePSTNActiveSessionList返回参数结构体
|
|
@@ -2630,6 +2635,11 @@ export interface StaffBuyInfo {
|
|
|
2630
2635
|
* 截止时间戳
|
|
2631
2636
|
*/
|
|
2632
2637
|
EndTime: number;
|
|
2638
|
+
/**
|
|
2639
|
+
* 购买办公电话数量
|
|
2640
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2641
|
+
*/
|
|
2642
|
+
SipNum?: number;
|
|
2633
2643
|
}
|
|
2634
2644
|
/**
|
|
2635
2645
|
* DescribeCallInMetrics请求参数结构体
|