tencentcloud-sdk-nodejs 4.0.530 → 4.0.531
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 +43 -0
- package/SERVICE_CHANGELOG.md +89 -190
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +2 -2
- package/src/services/cvm/v20170312/cvm_models.ts +2 -6
- package/src/services/goosefs/v20220519/goosefs_client.ts +16 -1
- package/src/services/goosefs/v20220519/goosefs_models.ts +48 -3
- package/src/services/live/v20180801/live_client.ts +30 -4
- package/src/services/live/v20180801/live_models.ts +245 -54
- package/src/services/mongodb/v20190725/mongodb_models.ts +1 -1
- package/src/services/tcb/v20180608/tcb_models.ts +6 -1
- package/src/services/waf/v20180125/waf_client.ts +2 -4
- package/src/services/waf/v20180125/waf_models.ts +16 -16
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -6
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +5 -1
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +6 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +41 -3
- package/tencentcloud/services/live/v20180801/live_client.d.ts +9 -1
- package/tencentcloud/services/live/v20180801/live_client.js +12 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +210 -50
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +0 -2
- package/tencentcloud/services/waf/v20180125/waf_client.js +0 -2
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +16 -16
- package/test/goosefs.v20220519.test.js +10 -0
- package/test/live.v20180801.test.js +20 -0
|
@@ -1605,6 +1605,40 @@ export interface DescribeProIspPlaySumInfoListRequest {
|
|
|
1605
1605
|
*/
|
|
1606
1606
|
OutLanguage?: string;
|
|
1607
1607
|
}
|
|
1608
|
+
/**
|
|
1609
|
+
* DescribeTimeShiftStreamList请求参数结构体
|
|
1610
|
+
*/
|
|
1611
|
+
export interface DescribeTimeShiftStreamListRequest {
|
|
1612
|
+
/**
|
|
1613
|
+
* 查询范围起始时间,Unix 时间戳。
|
|
1614
|
+
*/
|
|
1615
|
+
StartTime: number;
|
|
1616
|
+
/**
|
|
1617
|
+
* 查询范围结束时间,Unix 时间戳。
|
|
1618
|
+
*/
|
|
1619
|
+
EndTime: number;
|
|
1620
|
+
/**
|
|
1621
|
+
* 流名称。
|
|
1622
|
+
*/
|
|
1623
|
+
StreamName?: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* 推流域名。
|
|
1626
|
+
*/
|
|
1627
|
+
Domain?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* 推流域名所属域名组。
|
|
1630
|
+
*/
|
|
1631
|
+
DomainGroup?: string;
|
|
1632
|
+
/**
|
|
1633
|
+
* 用户指定要返回的最大结果数,取值范围[0,100],不指定或者指定为0时,API
|
|
1634
|
+
默认值为100。指定超过100时,API 强制使用100。指定值为负数时,接口返回错误。
|
|
1635
|
+
*/
|
|
1636
|
+
PageSize?: number;
|
|
1637
|
+
/**
|
|
1638
|
+
* 指定拉取的页码,不传时默认为1。
|
|
1639
|
+
*/
|
|
1640
|
+
PageNum?: number;
|
|
1641
|
+
}
|
|
1608
1642
|
/**
|
|
1609
1643
|
* DescribeDeliverBandwidthList请求参数结构体
|
|
1610
1644
|
*/
|
|
@@ -3093,6 +3127,43 @@ export interface DropLiveStreamRequest {
|
|
|
3093
3127
|
*/
|
|
3094
3128
|
AppName: string;
|
|
3095
3129
|
}
|
|
3130
|
+
/**
|
|
3131
|
+
* UpdateLiveWatermark请求参数结构体
|
|
3132
|
+
*/
|
|
3133
|
+
export interface UpdateLiveWatermarkRequest {
|
|
3134
|
+
/**
|
|
3135
|
+
* 水印 ID。
|
|
3136
|
+
在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。
|
|
3137
|
+
*/
|
|
3138
|
+
WatermarkId: number;
|
|
3139
|
+
/**
|
|
3140
|
+
* 水印图片 URL。
|
|
3141
|
+
URL中禁止包含的字符:
|
|
3142
|
+
;(){}$>`#"\'|
|
|
3143
|
+
*/
|
|
3144
|
+
PictureUrl: string;
|
|
3145
|
+
/**
|
|
3146
|
+
* 显示位置,X轴偏移,单位是百分比,默认 0。
|
|
3147
|
+
*/
|
|
3148
|
+
XPosition: number;
|
|
3149
|
+
/**
|
|
3150
|
+
* 显示位置,Y轴偏移,单位是百分比,默认 0。
|
|
3151
|
+
*/
|
|
3152
|
+
YPosition: number;
|
|
3153
|
+
/**
|
|
3154
|
+
* 水印名称。
|
|
3155
|
+
最长16字节。
|
|
3156
|
+
*/
|
|
3157
|
+
WatermarkName?: string;
|
|
3158
|
+
/**
|
|
3159
|
+
* 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。
|
|
3160
|
+
*/
|
|
3161
|
+
Width?: number;
|
|
3162
|
+
/**
|
|
3163
|
+
* 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
|
|
3164
|
+
*/
|
|
3165
|
+
Height?: number;
|
|
3166
|
+
}
|
|
3096
3167
|
/**
|
|
3097
3168
|
* 云转推水印信息。
|
|
3098
3169
|
*/
|
|
@@ -3202,25 +3273,37 @@ export interface RefererAuthConfig {
|
|
|
3202
3273
|
Rules: string;
|
|
3203
3274
|
}
|
|
3204
3275
|
/**
|
|
3205
|
-
*
|
|
3276
|
+
* DescribeTimeShiftRecordDetail请求参数结构体
|
|
3206
3277
|
*/
|
|
3207
|
-
export interface
|
|
3278
|
+
export interface DescribeTimeShiftRecordDetailRequest {
|
|
3208
3279
|
/**
|
|
3209
|
-
*
|
|
3280
|
+
* 推流域名。
|
|
3210
3281
|
*/
|
|
3211
|
-
|
|
3282
|
+
Domain: string;
|
|
3212
3283
|
/**
|
|
3213
|
-
*
|
|
3284
|
+
* 推流路径。
|
|
3214
3285
|
*/
|
|
3215
|
-
|
|
3286
|
+
AppName: string;
|
|
3216
3287
|
/**
|
|
3217
|
-
*
|
|
3288
|
+
* 流名称。
|
|
3218
3289
|
*/
|
|
3219
|
-
|
|
3290
|
+
StreamName: string;
|
|
3220
3291
|
/**
|
|
3221
|
-
*
|
|
3292
|
+
* 查询范围起始时间,Unix 时间戳。
|
|
3222
3293
|
*/
|
|
3223
|
-
|
|
3294
|
+
StartTime: number;
|
|
3295
|
+
/**
|
|
3296
|
+
* 查询范围终止时间,Unix 时间戳。
|
|
3297
|
+
*/
|
|
3298
|
+
EndTime: number;
|
|
3299
|
+
/**
|
|
3300
|
+
* 推流域名所属组,没有域名组或者域名组为空字符串可不填。
|
|
3301
|
+
*/
|
|
3302
|
+
DomainGroup?: string;
|
|
3303
|
+
/**
|
|
3304
|
+
* 转码模板ID,转码模板ID为0可不填。
|
|
3305
|
+
*/
|
|
3306
|
+
TransCodeId?: number;
|
|
3224
3307
|
}
|
|
3225
3308
|
/**
|
|
3226
3309
|
* 推流数据信息
|
|
@@ -3480,6 +3563,50 @@ export interface DescribeLiveTranscodeRulesResponse {
|
|
|
3480
3563
|
*/
|
|
3481
3564
|
RequestId?: string;
|
|
3482
3565
|
}
|
|
3566
|
+
/**
|
|
3567
|
+
* 时移流。
|
|
3568
|
+
*/
|
|
3569
|
+
export interface TimeShiftStreamInfo {
|
|
3570
|
+
/**
|
|
3571
|
+
* 推流域名所属组。
|
|
3572
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3573
|
+
*/
|
|
3574
|
+
DomainGroup?: string;
|
|
3575
|
+
/**
|
|
3576
|
+
* 推流域名。
|
|
3577
|
+
*/
|
|
3578
|
+
Domain?: string;
|
|
3579
|
+
/**
|
|
3580
|
+
* 推流路径。
|
|
3581
|
+
*/
|
|
3582
|
+
AppName?: string;
|
|
3583
|
+
/**
|
|
3584
|
+
* 流名称。
|
|
3585
|
+
*/
|
|
3586
|
+
StreamName?: string;
|
|
3587
|
+
/**
|
|
3588
|
+
* 流起始时间,Unix 时间戳。
|
|
3589
|
+
*/
|
|
3590
|
+
StartTime?: number;
|
|
3591
|
+
/**
|
|
3592
|
+
* 截止查询时流结束时间,Unix 时间戳。
|
|
3593
|
+
*/
|
|
3594
|
+
EndTime?: number;
|
|
3595
|
+
/**
|
|
3596
|
+
* 转码模板ID。
|
|
3597
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3598
|
+
*/
|
|
3599
|
+
TransCodeId?: number;
|
|
3600
|
+
/**
|
|
3601
|
+
* 流类型,取值0为原始流,1为水印流,2为转码流。
|
|
3602
|
+
*/
|
|
3603
|
+
StreamType?: number;
|
|
3604
|
+
/**
|
|
3605
|
+
* 时移数据存储时长,单位秒。
|
|
3606
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3607
|
+
*/
|
|
3608
|
+
Duration?: number;
|
|
3609
|
+
}
|
|
3483
3610
|
/**
|
|
3484
3611
|
* DescribeLiveDomainReferer返回参数结构体
|
|
3485
3612
|
*/
|
|
@@ -4077,6 +4204,24 @@ export interface DeletePullStreamConfigRequest {
|
|
|
4077
4204
|
*/
|
|
4078
4205
|
ConfigId: string;
|
|
4079
4206
|
}
|
|
4207
|
+
/**
|
|
4208
|
+
* DescribeTimeShiftStreamList返回参数结构体
|
|
4209
|
+
*/
|
|
4210
|
+
export interface DescribeTimeShiftStreamListResponse {
|
|
4211
|
+
/**
|
|
4212
|
+
* 时间段内所有的数据量。
|
|
4213
|
+
*/
|
|
4214
|
+
TotalSize?: number;
|
|
4215
|
+
/**
|
|
4216
|
+
* 流列表。
|
|
4217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4218
|
+
*/
|
|
4219
|
+
StreamList?: Array<TimeShiftStreamInfo>;
|
|
4220
|
+
/**
|
|
4221
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4222
|
+
*/
|
|
4223
|
+
RequestId?: string;
|
|
4224
|
+
}
|
|
4080
4225
|
/**
|
|
4081
4226
|
* ModifyPullStreamConfig请求参数结构体
|
|
4082
4227
|
*/
|
|
@@ -4391,6 +4536,23 @@ export interface DeleteLiveWatermarkRuleResponse {
|
|
|
4391
4536
|
*/
|
|
4392
4537
|
RequestId?: string;
|
|
4393
4538
|
}
|
|
4539
|
+
/**
|
|
4540
|
+
* 时移录制段。
|
|
4541
|
+
*/
|
|
4542
|
+
export interface TimeShiftRecord {
|
|
4543
|
+
/**
|
|
4544
|
+
* 时移录制会话标识。
|
|
4545
|
+
*/
|
|
4546
|
+
Sid?: string;
|
|
4547
|
+
/**
|
|
4548
|
+
* 录制会话开始时间,Unix 时间戳。
|
|
4549
|
+
*/
|
|
4550
|
+
StartTime?: number;
|
|
4551
|
+
/**
|
|
4552
|
+
* 录制会话结束时间,Unix 时间戳。
|
|
4553
|
+
*/
|
|
4554
|
+
EndTime?: number;
|
|
4555
|
+
}
|
|
4394
4556
|
/**
|
|
4395
4557
|
* DescribeCallbackRecordsList返回参数结构体
|
|
4396
4558
|
*/
|
|
@@ -4698,27 +4860,25 @@ export interface DescribeLiveDomainsRequest {
|
|
|
4698
4860
|
PlayType?: number;
|
|
4699
4861
|
}
|
|
4700
4862
|
/**
|
|
4701
|
-
*
|
|
4863
|
+
* 获取省份/运营商的播放信息。
|
|
4702
4864
|
*/
|
|
4703
|
-
export interface
|
|
4865
|
+
export interface ProIspPlaySumInfo {
|
|
4704
4866
|
/**
|
|
4705
|
-
*
|
|
4867
|
+
* 省份/运营商/国家或地区。
|
|
4706
4868
|
*/
|
|
4707
|
-
|
|
4869
|
+
Name: string;
|
|
4708
4870
|
/**
|
|
4709
|
-
*
|
|
4871
|
+
* 总流量,单位: MB。
|
|
4710
4872
|
*/
|
|
4711
|
-
|
|
4873
|
+
TotalFlux: number;
|
|
4712
4874
|
/**
|
|
4713
|
-
*
|
|
4714
|
-
如:2020-07-23T03:20:39Z。
|
|
4715
|
-
注意:与北京时间相差八小时。
|
|
4875
|
+
* 总请求数。
|
|
4716
4876
|
*/
|
|
4717
|
-
|
|
4877
|
+
TotalRequest: number;
|
|
4718
4878
|
/**
|
|
4719
|
-
*
|
|
4879
|
+
* 平均下载流量,单位: MB/s。
|
|
4720
4880
|
*/
|
|
4721
|
-
|
|
4881
|
+
AvgFluxPerSecond: number;
|
|
4722
4882
|
}
|
|
4723
4883
|
/**
|
|
4724
4884
|
* 截图模板信息。
|
|
@@ -4904,41 +5064,27 @@ export interface CancelCommonMixStreamRequest {
|
|
|
4904
5064
|
MixStreamSessionId: string;
|
|
4905
5065
|
}
|
|
4906
5066
|
/**
|
|
4907
|
-
*
|
|
5067
|
+
* 直播拉流当前正在拉的文件信息。
|
|
4908
5068
|
*/
|
|
4909
|
-
export interface
|
|
4910
|
-
/**
|
|
4911
|
-
* 水印 ID。
|
|
4912
|
-
在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。
|
|
4913
|
-
*/
|
|
4914
|
-
WatermarkId: number;
|
|
4915
|
-
/**
|
|
4916
|
-
* 水印图片 URL。
|
|
4917
|
-
URL中禁止包含的字符:
|
|
4918
|
-
;(){}$>`#"\'|
|
|
4919
|
-
*/
|
|
4920
|
-
PictureUrl: string;
|
|
4921
|
-
/**
|
|
4922
|
-
* 显示位置,X轴偏移,单位是百分比,默认 0。
|
|
4923
|
-
*/
|
|
4924
|
-
XPosition: number;
|
|
5069
|
+
export interface RecentPullInfo {
|
|
4925
5070
|
/**
|
|
4926
|
-
*
|
|
5071
|
+
* 当前正在拉的文件地址。
|
|
4927
5072
|
*/
|
|
4928
|
-
|
|
5073
|
+
FileUrl: string;
|
|
4929
5074
|
/**
|
|
4930
|
-
*
|
|
4931
|
-
最长16字节。
|
|
5075
|
+
* 当前正在拉的文件偏移,单位:秒。
|
|
4932
5076
|
*/
|
|
4933
|
-
|
|
5077
|
+
OffsetTime: number;
|
|
4934
5078
|
/**
|
|
4935
|
-
*
|
|
5079
|
+
* 最新上报偏移信息时间。UTC格式。
|
|
5080
|
+
如:2020-07-23T03:20:39Z。
|
|
5081
|
+
注意:与北京时间相差八小时。
|
|
4936
5082
|
*/
|
|
4937
|
-
|
|
5083
|
+
ReportTime: string;
|
|
4938
5084
|
/**
|
|
4939
|
-
*
|
|
5085
|
+
* 已经轮播的次数。
|
|
4940
5086
|
*/
|
|
4941
|
-
|
|
5087
|
+
LoopedTimes: number;
|
|
4942
5088
|
}
|
|
4943
5089
|
/**
|
|
4944
5090
|
* 证书信息。
|
|
@@ -5968,6 +6114,15 @@ export interface CreateLiveTranscodeRuleResponse {
|
|
|
5968
6114
|
*/
|
|
5969
6115
|
RequestId?: string;
|
|
5970
6116
|
}
|
|
6117
|
+
/**
|
|
6118
|
+
* ResumeDelayLiveStream返回参数结构体
|
|
6119
|
+
*/
|
|
6120
|
+
export interface ResumeDelayLiveStreamResponse {
|
|
6121
|
+
/**
|
|
6122
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6123
|
+
*/
|
|
6124
|
+
RequestId?: string;
|
|
6125
|
+
}
|
|
5971
6126
|
/**
|
|
5972
6127
|
* CreateLiveCallbackRule返回参数结构体
|
|
5973
6128
|
*/
|
|
@@ -7081,9 +7236,14 @@ export interface ForbidStreamInfo {
|
|
|
7081
7236
|
DomainName?: string;
|
|
7082
7237
|
}
|
|
7083
7238
|
/**
|
|
7084
|
-
*
|
|
7239
|
+
* DescribeTimeShiftRecordDetail返回参数结构体
|
|
7085
7240
|
*/
|
|
7086
|
-
export interface
|
|
7241
|
+
export interface DescribeTimeShiftRecordDetailResponse {
|
|
7242
|
+
/**
|
|
7243
|
+
* 时移录制会话数组。
|
|
7244
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7245
|
+
*/
|
|
7246
|
+
RecordList?: Array<TimeShiftRecord>;
|
|
7087
7247
|
/**
|
|
7088
7248
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7089
7249
|
*/
|
|
@@ -2086,7 +2086,7 @@ export interface InquirePriceCreateDBInstancesRequest {
|
|
|
2086
2086
|
*/
|
|
2087
2087
|
Volume: number;
|
|
2088
2088
|
/**
|
|
2089
|
-
* 实例版本信息。<ul><li>具体支持的版本,请通过接口<a href="https://cloud.tencent.com/document/product/240/38567">DescribeSpecInfo</a>查询,其返回的数据结构SpecItems中的参数MongoVersionCode为实例所支持的版本信息。</li><li>版本信息与版本号对应关系如下:<ul><li>MONGO_3_WT:MongoDB 3.2 WiredTiger存储引擎版本。</li><li>MONGO_3_ROCKS:MongoDB 3.2 RocksDB存储引擎版本。</li><li>MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。</li><li>MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。</li></ul>
|
|
2089
|
+
* 实例版本信息。<ul><li>具体支持的版本,请通过接口<a href="https://cloud.tencent.com/document/product/240/38567">DescribeSpecInfo</a>查询,其返回的数据结构SpecItems中的参数MongoVersionCode为实例所支持的版本信息。</li><li>版本信息与版本号对应关系如下:<ul><li>MONGO_3_WT:MongoDB 3.2 WiredTiger存储引擎版本。</li><li>MONGO_3_ROCKS:MongoDB 3.2 RocksDB存储引擎版本。</li><li>MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。</li><li>MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。</li><li>MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。</li><li>MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。</li></ul>
|
|
2090
2090
|
*/
|
|
2091
2091
|
MongoVersion: string;
|
|
2092
2092
|
/**
|
|
@@ -2601,7 +2601,11 @@ export interface DescribeEnvsResponse {
|
|
|
2601
2601
|
/**
|
|
2602
2602
|
* 环境信息列表
|
|
2603
2603
|
*/
|
|
2604
|
-
EnvList
|
|
2604
|
+
EnvList?: Array<EnvInfo>;
|
|
2605
|
+
/**
|
|
2606
|
+
* 环境个数
|
|
2607
|
+
*/
|
|
2608
|
+
Total?: number;
|
|
2605
2609
|
/**
|
|
2606
2610
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2607
2611
|
*/
|
|
@@ -127,8 +127,6 @@ export declare class Client extends AbstractClient {
|
|
|
127
127
|
DeleteSession(req: DeleteSessionRequest, cb?: (error: string, rep: DeleteSessionResponse) => void): Promise<DeleteSessionResponse>;
|
|
128
128
|
/**
|
|
129
129
|
* 获取域名的规则白名单
|
|
130
|
-
|
|
131
|
-
|
|
132
130
|
*/
|
|
133
131
|
DescribeDomainWhiteRules(req: DescribeDomainWhiteRulesRequest, cb?: (error: string, rep: DescribeDomainWhiteRulesResponse) => void): Promise<DescribeDomainWhiteRulesResponse>;
|
|
134
132
|
/**
|
|
@@ -622,33 +622,33 @@ export interface SearchAccessLogResponse {
|
|
|
622
622
|
/**
|
|
623
623
|
* 加载后续内容的Context
|
|
624
624
|
*/
|
|
625
|
-
Context
|
|
625
|
+
Context?: string;
|
|
626
626
|
/**
|
|
627
|
-
*
|
|
627
|
+
* 日志查询结果是否全部返回,其中,“true”表示结果返回,“false”表示结果为返回
|
|
628
628
|
*/
|
|
629
|
-
ListOver
|
|
629
|
+
ListOver?: boolean;
|
|
630
630
|
/**
|
|
631
|
-
*
|
|
631
|
+
* 返回的是否为分析结果,其中,“true”表示返回分析结果,“false”表示未返回分析结果
|
|
632
632
|
*/
|
|
633
|
-
Analysis
|
|
633
|
+
Analysis?: boolean;
|
|
634
634
|
/**
|
|
635
635
|
* 如果Analysis为True,则返回分析结果的列名,否则为空
|
|
636
636
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
637
637
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
638
638
|
*/
|
|
639
|
-
ColNames
|
|
639
|
+
ColNames?: Array<string>;
|
|
640
640
|
/**
|
|
641
641
|
* 日志查询结果;当Analysis为True时,可能返回为null
|
|
642
642
|
注意:此字段可能返回 null,表示取不到有效值
|
|
643
643
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
644
644
|
*/
|
|
645
|
-
Results
|
|
645
|
+
Results?: Array<AccessLogInfo>;
|
|
646
646
|
/**
|
|
647
647
|
* 日志分析结果;当Analysis为False时,可能返回为null
|
|
648
648
|
注意:此字段可能返回 null,表示取不到有效值
|
|
649
649
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
650
650
|
*/
|
|
651
|
-
AnalysisResults
|
|
651
|
+
AnalysisResults?: Array<AccessLogItems>;
|
|
652
652
|
/**
|
|
653
653
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
654
654
|
*/
|
|
@@ -1338,7 +1338,7 @@ export interface DescribeDomainWhiteRulesRequest {
|
|
|
1338
1338
|
*/
|
|
1339
1339
|
Count?: number;
|
|
1340
1340
|
/**
|
|
1341
|
-
*
|
|
1341
|
+
* 排序方式,desc表示降序,asc表示升序
|
|
1342
1342
|
*/
|
|
1343
1343
|
Sort?: string;
|
|
1344
1344
|
/**
|
|
@@ -1434,7 +1434,7 @@ export interface ModifyWafAutoDenyRulesResponse {
|
|
|
1434
1434
|
/**
|
|
1435
1435
|
* 成功的状态码,需要JSON解码后再使用,返回的格式是{"域名":"状态"},成功的状态码为Success,其它的为失败的状态码(yunapi定义的错误码)
|
|
1436
1436
|
*/
|
|
1437
|
-
Success
|
|
1437
|
+
Success?: ResponseCode;
|
|
1438
1438
|
/**
|
|
1439
1439
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1440
1440
|
*/
|
|
@@ -1730,7 +1730,7 @@ export interface AddCustomRuleRequest {
|
|
|
1730
1730
|
*/
|
|
1731
1731
|
Domain: string;
|
|
1732
1732
|
/**
|
|
1733
|
-
*
|
|
1733
|
+
* 动作类型,1代表阻断,2代表人机识别,3代表观察,4代表重定向
|
|
1734
1734
|
*/
|
|
1735
1735
|
ActionType: string;
|
|
1736
1736
|
/**
|
|
@@ -1867,15 +1867,15 @@ export interface ModifyWafAutoDenyRulesRequest {
|
|
|
1867
1867
|
*/
|
|
1868
1868
|
Domain: string;
|
|
1869
1869
|
/**
|
|
1870
|
-
*
|
|
1870
|
+
* 触发IP封禁的攻击次数阈值,范围为2~100次
|
|
1871
1871
|
*/
|
|
1872
1872
|
AttackThreshold: number;
|
|
1873
1873
|
/**
|
|
1874
|
-
*
|
|
1874
|
+
* IP封禁统计时间,范围为1-60分钟
|
|
1875
1875
|
*/
|
|
1876
1876
|
TimeThreshold: number;
|
|
1877
1877
|
/**
|
|
1878
|
-
*
|
|
1878
|
+
* 触发IP封禁后的封禁时间,范围为5~360分钟
|
|
1879
1879
|
*/
|
|
1880
1880
|
DenyTimeThreshold: number;
|
|
1881
1881
|
/**
|
|
@@ -2116,11 +2116,11 @@ export interface DescribeDomainWhiteRulesResponse {
|
|
|
2116
2116
|
/**
|
|
2117
2117
|
* 规则列表
|
|
2118
2118
|
*/
|
|
2119
|
-
RuleList
|
|
2119
|
+
RuleList?: Array<RuleList>;
|
|
2120
2120
|
/**
|
|
2121
2121
|
* 规则的数量
|
|
2122
2122
|
*/
|
|
2123
|
-
Total
|
|
2123
|
+
Total?: number;
|
|
2124
2124
|
/**
|
|
2125
2125
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2126
2126
|
*/
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.goosefs.v20220519.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("goosefs.v20220519.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("goosefs.v20220519.DescribeDataRepositoryTaskStatus", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeDataRepositoryTaskStatus({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
21
31
|
it("goosefs.v20220519.CreateDataRepositoryTask", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.CreateDataRepositoryTask({})
|
|
@@ -168,6 +168,16 @@ it("live.v20180801.DescribeLiveSnapshotRules", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("live.v20180801.DescribeTimeShiftStreamList", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeTimeShiftStreamList({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
171
181
|
it("live.v20180801.DeleteLiveTranscodeTemplate", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.DeleteLiveTranscodeTemplate({})
|
|
@@ -368,6 +378,16 @@ it("live.v20180801.DeletePullStreamConfig", async function () {
|
|
|
368
378
|
}
|
|
369
379
|
})
|
|
370
380
|
|
|
381
|
+
it("live.v20180801.DescribeTimeShiftRecordDetail", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.DescribeTimeShiftRecordDetail({})
|
|
384
|
+
expect(data).to.be.ok
|
|
385
|
+
} catch(error) {
|
|
386
|
+
expect(error.requestId).to.be.ok
|
|
387
|
+
expect(error.code).to.be.ok
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
|
|
371
391
|
it("live.v20180801.DescribeLiveRecordTemplate", async function () {
|
|
372
392
|
try {
|
|
373
393
|
const data = await client.DescribeLiveRecordTemplate({})
|