tencentcloud-sdk-nodejs 4.0.703 → 4.0.705
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 +471 -0
- package/SERVICE_CHANGELOG.md +461 -134
- package/package.json +1 -1
- package/products.md +31 -31
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/index.ts +2 -2
- package/src/services/apigateway/v20180808/apigateway_models.ts +13 -0
- package/src/services/ccc/v20200210/ccc_client.ts +13 -1
- package/src/services/ccc/v20200210/ccc_models.ts +117 -29
- package/src/services/cdwpg/v20201230/cdwpg_client.ts +40 -1
- package/src/services/cdwpg/v20201230/cdwpg_models.ts +297 -18
- package/src/services/csip/v20221121/csip_client.ts +46 -7
- package/src/services/csip/v20221121/csip_models.ts +365 -57
- package/src/services/cvm/v20170312/cvm_client.ts +2 -2
- package/src/services/cvm/v20170312/cvm_models.ts +6 -6
- package/src/services/cwp/v20180228/cwp_models.ts +66 -39
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +2 -2
- package/src/services/dasb/v20191018/dasb_models.ts +32 -0
- package/src/services/dbbrain/index.ts +2 -2
- package/src/services/dlc/v20210125/dlc_models.ts +9 -0
- package/src/services/es/v20180416/es_models.ts +8 -4
- package/src/services/ess/v20201111/ess_client.ts +3 -2
- package/src/services/ess/v20201111/ess_models.ts +15 -9
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +191 -11
- package/src/services/goosefs/v20220519/goosefs_models.ts +6 -6
- package/src/services/iai/index.ts +2 -2
- package/src/services/ims/index.ts +2 -2
- package/src/services/iotcloud/index.ts +2 -2
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/iss/v20230517/iss_client.ts +15 -1
- package/src/services/iss/v20230517/iss_models.ts +69 -18
- package/src/services/lcic/v20220817/lcic_client.ts +16 -3
- package/src/services/lcic/v20220817/lcic_models.ts +135 -67
- package/src/services/live/v20180801/live_models.ts +13 -0
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/mongodb/index.ts +2 -2
- package/src/services/monitor/v20180724/monitor_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +23 -21
- package/src/services/oceanus/v20190422/oceanus_client.ts +3 -1
- package/src/services/oceanus/v20190422/oceanus_models.ts +108 -26
- package/src/services/ocr/v20181119/ocr_models.ts +23 -22
- package/src/services/organization/index.ts +2 -2
- package/src/services/privatedns/v20201028/privatedns_models.ts +1 -1
- package/src/services/rum/v20210622/rum_models.ts +5 -1
- package/src/services/sms/index.ts +2 -2
- package/src/services/tbp/index.ts +2 -2
- package/src/services/tdmq/v20200217/tdmq_models.ts +3 -3
- package/src/services/tem/index.ts +2 -2
- package/src/services/thpc/index.ts +2 -2
- package/src/services/tione/index.ts +2 -2
- package/src/services/tms/index.ts +2 -2
- package/src/services/tse/v20201207/tse_client.ts +12 -0
- package/src/services/tse/v20201207/tse_models.ts +53 -0
- package/src/services/vm/index.ts +2 -2
- package/src/services/vpc/v20170312/vpc_models.ts +1 -1
- package/src/services/waf/v20180125/waf_client.ts +95 -20
- package/src/services/waf/v20180125/waf_models.ts +383 -41
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ams/index.d.ts +4 -4
- package/tencentcloud/services/ams/index.js +2 -2
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +13 -0
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +115 -29
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.d.ts +13 -1
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.js +18 -0
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +288 -18
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +13 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +18 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +355 -56
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -6
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +66 -39
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2 -2
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +32 -0
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +9 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +8 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +3 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +3 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +15 -9
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +191 -11
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +6 -6
- package/tencentcloud/services/iai/index.d.ts +4 -4
- package/tencentcloud/services/iai/index.js +2 -2
- package/tencentcloud/services/ims/index.d.ts +4 -4
- package/tencentcloud/services/ims/index.js +2 -2
- package/tencentcloud/services/iotcloud/index.d.ts +4 -4
- package/tencentcloud/services/iotcloud/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/iss/v20230517/iss_client.d.ts +5 -1
- package/tencentcloud/services/iss/v20230517/iss_client.js +6 -0
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +65 -18
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +131 -66
- package/tencentcloud/services/live/v20180801/live_models.d.ts +13 -0
- package/tencentcloud/services/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/mongodb/index.d.ts +4 -4
- package/tencentcloud/services/mongodb/index.js +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +23 -21
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +106 -26
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +23 -22
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +1 -1
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +5 -1
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +3 -3
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tione/index.d.ts +4 -4
- package/tencentcloud/services/tione/index.js +2 -2
- package/tencentcloud/services/tms/index.d.ts +4 -4
- package/tencentcloud/services/tms/index.js +2 -2
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +51 -0
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +29 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +42 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +368 -41
- package/test/ccc.v20200210.test.js +10 -0
- package/test/cdwpg.v20201230.test.js +30 -0
- package/test/csip.v20221121.test.js +30 -0
- package/test/iss.v20230517.test.js +10 -0
- package/test/lcic.v20220817.test.js +10 -0
- package/test/tse.v20201207.test.js +10 -0
- package/test/waf.v20180125.test.js +64 -4
|
@@ -171,13 +171,13 @@ export interface ModifyAntiInfoLeakRulesResponse {
|
|
|
171
171
|
RequestId?: string;
|
|
172
172
|
}
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
174
|
+
* ModifyObject返回参数结构体
|
|
175
175
|
*/
|
|
176
|
-
export interface
|
|
176
|
+
export interface ModifyObjectResponse {
|
|
177
177
|
/**
|
|
178
|
-
*
|
|
178
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
179
179
|
*/
|
|
180
|
-
|
|
180
|
+
RequestId?: string;
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
183
|
* DescribeCertificateVerifyResult请求参数结构体
|
|
@@ -680,6 +680,19 @@ export interface DescribeAntiFakeUrlRequest {
|
|
|
680
680
|
*/
|
|
681
681
|
PageInfo: PageInfo;
|
|
682
682
|
}
|
|
683
|
+
/**
|
|
684
|
+
* DeleteAttackWhiteRule请求参数结构体
|
|
685
|
+
*/
|
|
686
|
+
export interface DeleteAttackWhiteRuleRequest {
|
|
687
|
+
/**
|
|
688
|
+
* 规则序号组
|
|
689
|
+
*/
|
|
690
|
+
Ids: Array<number | bigint>;
|
|
691
|
+
/**
|
|
692
|
+
* 用户域名
|
|
693
|
+
*/
|
|
694
|
+
Domain: string;
|
|
695
|
+
}
|
|
683
696
|
/**
|
|
684
697
|
* 数据封装
|
|
685
698
|
*/
|
|
@@ -1180,6 +1193,20 @@ export interface GetAttackTotalCountResponse {
|
|
|
1180
1193
|
*/
|
|
1181
1194
|
RequestId?: string;
|
|
1182
1195
|
}
|
|
1196
|
+
/**
|
|
1197
|
+
* ModifyBotStatus返回参数结构体
|
|
1198
|
+
*/
|
|
1199
|
+
export interface ModifyBotStatusResponse {
|
|
1200
|
+
/**
|
|
1201
|
+
* 正常情况为null
|
|
1202
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1203
|
+
*/
|
|
1204
|
+
Data: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1207
|
+
*/
|
|
1208
|
+
RequestId?: string;
|
|
1209
|
+
}
|
|
1183
1210
|
/**
|
|
1184
1211
|
* DescribeAntiInfoLeakageRules返回参数结构体
|
|
1185
1212
|
*/
|
|
@@ -1299,13 +1326,25 @@ export interface MajorEventsPkg {
|
|
|
1299
1326
|
HWState?: number;
|
|
1300
1327
|
}
|
|
1301
1328
|
/**
|
|
1302
|
-
*
|
|
1329
|
+
* ModifyObject请求参数结构体
|
|
1303
1330
|
*/
|
|
1304
|
-
export interface
|
|
1331
|
+
export interface ModifyObjectRequest {
|
|
1305
1332
|
/**
|
|
1306
|
-
*
|
|
1333
|
+
* 修改对象标识
|
|
1307
1334
|
*/
|
|
1308
|
-
|
|
1335
|
+
ObjectId: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* 改动作类型:Status修改开关,InstanceId绑定实例
|
|
1338
|
+
*/
|
|
1339
|
+
OpType: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* 新的Waf开关状态,如果和已有状态相同认为修改成功
|
|
1342
|
+
*/
|
|
1343
|
+
Status?: number;
|
|
1344
|
+
/**
|
|
1345
|
+
* 新的实例ID,如果和已绑定的实例相同认为修改成功
|
|
1346
|
+
*/
|
|
1347
|
+
InstanceId?: string;
|
|
1309
1348
|
}
|
|
1310
1349
|
/**
|
|
1311
1350
|
* ModifyHostFlowMode请求参数结构体
|
|
@@ -1560,6 +1599,43 @@ export interface DeleteCustomWhiteRuleRequest {
|
|
|
1560
1599
|
*/
|
|
1561
1600
|
RuleId: number;
|
|
1562
1601
|
}
|
|
1602
|
+
/**
|
|
1603
|
+
* 用户规则白名单
|
|
1604
|
+
*/
|
|
1605
|
+
export interface UserWhiteRule {
|
|
1606
|
+
/**
|
|
1607
|
+
* 白名单的id
|
|
1608
|
+
*/
|
|
1609
|
+
WhiteRuleId: number;
|
|
1610
|
+
/**
|
|
1611
|
+
* 规则id
|
|
1612
|
+
*/
|
|
1613
|
+
SignatureId: string;
|
|
1614
|
+
/**
|
|
1615
|
+
* 状态
|
|
1616
|
+
*/
|
|
1617
|
+
Status: number;
|
|
1618
|
+
/**
|
|
1619
|
+
* 匹配域
|
|
1620
|
+
*/
|
|
1621
|
+
MatchField: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* 匹配方法
|
|
1624
|
+
*/
|
|
1625
|
+
MatchMethod: string;
|
|
1626
|
+
/**
|
|
1627
|
+
* 匹配内容
|
|
1628
|
+
*/
|
|
1629
|
+
MatchContent: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* 创建时间
|
|
1632
|
+
*/
|
|
1633
|
+
CreateTime: string;
|
|
1634
|
+
/**
|
|
1635
|
+
* 修改时间
|
|
1636
|
+
*/
|
|
1637
|
+
ModifyTime: string;
|
|
1638
|
+
}
|
|
1563
1639
|
/**
|
|
1564
1640
|
* ModifyHostMode返回参数结构体
|
|
1565
1641
|
*/
|
|
@@ -1649,6 +1725,19 @@ export interface DescribeAutoDenyIPRequest {
|
|
|
1649
1725
|
*/
|
|
1650
1726
|
Sort?: string;
|
|
1651
1727
|
}
|
|
1728
|
+
/**
|
|
1729
|
+
* AddAttackWhiteRule返回参数结构体
|
|
1730
|
+
*/
|
|
1731
|
+
export interface AddAttackWhiteRuleResponse {
|
|
1732
|
+
/**
|
|
1733
|
+
* 规则总数
|
|
1734
|
+
*/
|
|
1735
|
+
RuleId: number;
|
|
1736
|
+
/**
|
|
1737
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1738
|
+
*/
|
|
1739
|
+
RequestId?: string;
|
|
1740
|
+
}
|
|
1652
1741
|
/**
|
|
1653
1742
|
* ModifyWafAutoDenyStatus请求参数结构体
|
|
1654
1743
|
*/
|
|
@@ -1676,9 +1765,27 @@ export interface DescribeCustomRuleListResponse {
|
|
|
1676
1765
|
RequestId?: string;
|
|
1677
1766
|
}
|
|
1678
1767
|
/**
|
|
1679
|
-
*
|
|
1768
|
+
* 响应体的返回码
|
|
1680
1769
|
*/
|
|
1681
|
-
export interface
|
|
1770
|
+
export interface ResponseCode {
|
|
1771
|
+
/**
|
|
1772
|
+
* 如果成功则返回Success,失败则返回云api定义的错误码
|
|
1773
|
+
*/
|
|
1774
|
+
Code: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* 如果成功则返回Success,失败则返回WAF定义的二级错误码
|
|
1777
|
+
*/
|
|
1778
|
+
Message: string;
|
|
1779
|
+
}
|
|
1780
|
+
/**
|
|
1781
|
+
* DeleteAttackWhiteRule返回参数结构体
|
|
1782
|
+
*/
|
|
1783
|
+
export interface DeleteAttackWhiteRuleResponse {
|
|
1784
|
+
/**
|
|
1785
|
+
* 删除失败的规则序号组
|
|
1786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1787
|
+
*/
|
|
1788
|
+
FailIds: Array<number | bigint>;
|
|
1682
1789
|
/**
|
|
1683
1790
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1684
1791
|
*/
|
|
@@ -1740,6 +1847,15 @@ export interface ClbHostResult {
|
|
|
1740
1847
|
*/
|
|
1741
1848
|
FlowMode: number;
|
|
1742
1849
|
}
|
|
1850
|
+
/**
|
|
1851
|
+
* ModifyWebshellStatus请求参数结构体
|
|
1852
|
+
*/
|
|
1853
|
+
export interface ModifyWebshellStatusRequest {
|
|
1854
|
+
/**
|
|
1855
|
+
* 域名webshell状态
|
|
1856
|
+
*/
|
|
1857
|
+
Webshell: WebshellStatus;
|
|
1858
|
+
}
|
|
1743
1859
|
/**
|
|
1744
1860
|
* DescribeVipInfo请求参数结构体
|
|
1745
1861
|
*/
|
|
@@ -1810,13 +1926,17 @@ export interface DeleteSpartaProtectionResponse {
|
|
|
1810
1926
|
RequestId?: string;
|
|
1811
1927
|
}
|
|
1812
1928
|
/**
|
|
1813
|
-
*
|
|
1929
|
+
* ModifyAttackWhiteRule返回参数结构体
|
|
1814
1930
|
*/
|
|
1815
|
-
export interface
|
|
1931
|
+
export interface ModifyAttackWhiteRuleResponse {
|
|
1816
1932
|
/**
|
|
1817
|
-
*
|
|
1933
|
+
* 规则总数
|
|
1818
1934
|
*/
|
|
1819
|
-
|
|
1935
|
+
RuleId: number;
|
|
1936
|
+
/**
|
|
1937
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1938
|
+
*/
|
|
1939
|
+
RequestId?: string;
|
|
1820
1940
|
}
|
|
1821
1941
|
/**
|
|
1822
1942
|
* DescribeAutoDenyIP返回参数结构体
|
|
@@ -2282,6 +2402,31 @@ export interface AccessRuleInfo {
|
|
|
2282
2402
|
*/
|
|
2283
2403
|
Tag: AccessRuleTagInfo;
|
|
2284
2404
|
}
|
|
2405
|
+
/**
|
|
2406
|
+
* ModifyAttackWhiteRule请求参数结构体
|
|
2407
|
+
*/
|
|
2408
|
+
export interface ModifyAttackWhiteRuleRequest {
|
|
2409
|
+
/**
|
|
2410
|
+
* 规则序号
|
|
2411
|
+
*/
|
|
2412
|
+
RuleId: number;
|
|
2413
|
+
/**
|
|
2414
|
+
* 域名
|
|
2415
|
+
*/
|
|
2416
|
+
Domain: string;
|
|
2417
|
+
/**
|
|
2418
|
+
* 规则Id
|
|
2419
|
+
*/
|
|
2420
|
+
SignatureId: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* 规则状态
|
|
2423
|
+
*/
|
|
2424
|
+
Status: number;
|
|
2425
|
+
/**
|
|
2426
|
+
* 匹配规则项列表
|
|
2427
|
+
*/
|
|
2428
|
+
Rules: Array<UserWhiteRuleItem>;
|
|
2429
|
+
}
|
|
2285
2430
|
/**
|
|
2286
2431
|
* clb-waf防护域名
|
|
2287
2432
|
*/
|
|
@@ -3505,18 +3650,33 @@ export interface ModifySpartaProtectionModeResponse {
|
|
|
3505
3650
|
RequestId?: string;
|
|
3506
3651
|
}
|
|
3507
3652
|
/**
|
|
3508
|
-
*
|
|
3653
|
+
* DescribeAttackWhiteRule请求参数结构体
|
|
3509
3654
|
*/
|
|
3510
|
-
export interface
|
|
3655
|
+
export interface DescribeAttackWhiteRuleRequest {
|
|
3511
3656
|
/**
|
|
3512
|
-
*
|
|
3513
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3657
|
+
* 需要查询的域名
|
|
3514
3658
|
*/
|
|
3515
|
-
|
|
3659
|
+
Domain: string;
|
|
3516
3660
|
/**
|
|
3517
|
-
*
|
|
3661
|
+
* 分页
|
|
3518
3662
|
*/
|
|
3519
|
-
|
|
3663
|
+
Offset: number;
|
|
3664
|
+
/**
|
|
3665
|
+
* 每页容量
|
|
3666
|
+
*/
|
|
3667
|
+
Limit: number;
|
|
3668
|
+
/**
|
|
3669
|
+
* 排序字段,支持user_id, signature_id, modify_time
|
|
3670
|
+
*/
|
|
3671
|
+
By?: string;
|
|
3672
|
+
/**
|
|
3673
|
+
* 排序方式
|
|
3674
|
+
*/
|
|
3675
|
+
Order?: string;
|
|
3676
|
+
/**
|
|
3677
|
+
* 筛选条件,支持SignatureId, MatchContent
|
|
3678
|
+
*/
|
|
3679
|
+
Filters?: Array<FiltersItemNew>;
|
|
3520
3680
|
}
|
|
3521
3681
|
/**
|
|
3522
3682
|
* DescribeDomainDetailsSaas请求参数结构体
|
|
@@ -4244,6 +4404,15 @@ export interface ModifyAntiFakeUrlResponse {
|
|
|
4244
4404
|
*/
|
|
4245
4405
|
RequestId?: string;
|
|
4246
4406
|
}
|
|
4407
|
+
/**
|
|
4408
|
+
* ModifySpartaProtection返回参数结构体
|
|
4409
|
+
*/
|
|
4410
|
+
export interface ModifySpartaProtectionResponse {
|
|
4411
|
+
/**
|
|
4412
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4413
|
+
*/
|
|
4414
|
+
RequestId?: string;
|
|
4415
|
+
}
|
|
4247
4416
|
/**
|
|
4248
4417
|
* ModifyWafAutoDenyRules返回参数结构体
|
|
4249
4418
|
*/
|
|
@@ -4866,6 +5035,31 @@ export interface DomainPackageNew {
|
|
|
4866
5035
|
*/
|
|
4867
5036
|
Region: string;
|
|
4868
5037
|
}
|
|
5038
|
+
/**
|
|
5039
|
+
* AddAttackWhiteRule请求参数结构体
|
|
5040
|
+
*/
|
|
5041
|
+
export interface AddAttackWhiteRuleRequest {
|
|
5042
|
+
/**
|
|
5043
|
+
* 域名
|
|
5044
|
+
*/
|
|
5045
|
+
Domain: string;
|
|
5046
|
+
/**
|
|
5047
|
+
* 规则Id
|
|
5048
|
+
*/
|
|
5049
|
+
SignatureId: string;
|
|
5050
|
+
/**
|
|
5051
|
+
* 规则状态
|
|
5052
|
+
*/
|
|
5053
|
+
Status: number;
|
|
5054
|
+
/**
|
|
5055
|
+
* 匹配规则项列表
|
|
5056
|
+
*/
|
|
5057
|
+
Rules: Array<UserWhiteRuleItem>;
|
|
5058
|
+
/**
|
|
5059
|
+
* 规则序号
|
|
5060
|
+
*/
|
|
5061
|
+
RuleId?: number;
|
|
5062
|
+
}
|
|
4869
5063
|
/**
|
|
4870
5064
|
* AddCustomRule请求参数结构体
|
|
4871
5065
|
*/
|
|
@@ -5688,6 +5882,21 @@ export interface GoodNews {
|
|
|
5688
5882
|
*/
|
|
5689
5883
|
RegionId?: number;
|
|
5690
5884
|
}
|
|
5885
|
+
/**
|
|
5886
|
+
* TLS信息
|
|
5887
|
+
*/
|
|
5888
|
+
export interface TLSVersion {
|
|
5889
|
+
/**
|
|
5890
|
+
* TLSVERSION的ID
|
|
5891
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5892
|
+
*/
|
|
5893
|
+
VersionId: number;
|
|
5894
|
+
/**
|
|
5895
|
+
* TLSVERSION的NAME
|
|
5896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5897
|
+
*/
|
|
5898
|
+
VersionName: string;
|
|
5899
|
+
}
|
|
5691
5900
|
/**
|
|
5692
5901
|
* DescribeCCRule请求参数结构体
|
|
5693
5902
|
*/
|
|
@@ -5769,6 +5978,32 @@ export interface TargetEntity {
|
|
|
5769
5978
|
*/
|
|
5770
5979
|
Domain?: string;
|
|
5771
5980
|
}
|
|
5981
|
+
/**
|
|
5982
|
+
* 用户规则白名单规则子项
|
|
5983
|
+
*/
|
|
5984
|
+
export interface UserWhiteRuleItem {
|
|
5985
|
+
/**
|
|
5986
|
+
* 匹配域
|
|
5987
|
+
*/
|
|
5988
|
+
MatchField: string;
|
|
5989
|
+
/**
|
|
5990
|
+
* 匹配方法
|
|
5991
|
+
*/
|
|
5992
|
+
MatchMethod: string;
|
|
5993
|
+
/**
|
|
5994
|
+
* 匹配内容
|
|
5995
|
+
*/
|
|
5996
|
+
MatchContent: string;
|
|
5997
|
+
}
|
|
5998
|
+
/**
|
|
5999
|
+
* 参数包装
|
|
6000
|
+
*/
|
|
6001
|
+
export interface SessionData {
|
|
6002
|
+
/**
|
|
6003
|
+
* session定义
|
|
6004
|
+
*/
|
|
6005
|
+
Res: Array<SessionItem>;
|
|
6006
|
+
}
|
|
5772
6007
|
/**
|
|
5773
6008
|
* cc规则
|
|
5774
6009
|
*/
|
|
@@ -6064,6 +6299,15 @@ export interface DescribeDomainWhiteRulesResponse {
|
|
|
6064
6299
|
*/
|
|
6065
6300
|
RequestId?: string;
|
|
6066
6301
|
}
|
|
6302
|
+
/**
|
|
6303
|
+
* ModifyDomainsCLSStatus返回参数结构体
|
|
6304
|
+
*/
|
|
6305
|
+
export interface ModifyDomainsCLSStatusResponse {
|
|
6306
|
+
/**
|
|
6307
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6308
|
+
*/
|
|
6309
|
+
RequestId?: string;
|
|
6310
|
+
}
|
|
6067
6311
|
/**
|
|
6068
6312
|
* DescribeWafThreatenIntelligence返回参数结构体
|
|
6069
6313
|
*/
|
|
@@ -6776,6 +7020,19 @@ export interface ClbDomainsInfo {
|
|
|
6776
7020
|
*/
|
|
6777
7021
|
CloudType?: string;
|
|
6778
7022
|
}
|
|
7023
|
+
/**
|
|
7024
|
+
* DescribeObjects返回参数结构体
|
|
7025
|
+
*/
|
|
7026
|
+
export interface DescribeObjectsResponse {
|
|
7027
|
+
/**
|
|
7028
|
+
* 对象列表
|
|
7029
|
+
*/
|
|
7030
|
+
ClbObjects?: Array<ClbObject>;
|
|
7031
|
+
/**
|
|
7032
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7033
|
+
*/
|
|
7034
|
+
RequestId?: string;
|
|
7035
|
+
}
|
|
6779
7036
|
/**
|
|
6780
7037
|
* DescribeHost返回参数结构体
|
|
6781
7038
|
*/
|
|
@@ -6834,17 +7091,22 @@ export interface DomainURI {
|
|
|
6834
7091
|
Edition: string;
|
|
6835
7092
|
}
|
|
6836
7093
|
/**
|
|
6837
|
-
*
|
|
7094
|
+
* DescribeAttackWhiteRule返回参数结构体
|
|
6838
7095
|
*/
|
|
6839
|
-
export interface
|
|
7096
|
+
export interface DescribeAttackWhiteRuleResponse {
|
|
6840
7097
|
/**
|
|
6841
|
-
*
|
|
7098
|
+
* 规则总数
|
|
6842
7099
|
*/
|
|
6843
|
-
|
|
7100
|
+
Total: number;
|
|
6844
7101
|
/**
|
|
6845
|
-
*
|
|
7102
|
+
* 规则白名单列表
|
|
7103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6846
7104
|
*/
|
|
6847
|
-
|
|
7105
|
+
List: Array<UserWhiteRule>;
|
|
7106
|
+
/**
|
|
7107
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7108
|
+
*/
|
|
7109
|
+
RequestId?: string;
|
|
6848
7110
|
}
|
|
6849
7111
|
/**
|
|
6850
7112
|
* ModifyAntiInfoLeakRuleStatus请求参数结构体
|
|
@@ -6978,6 +7240,21 @@ export interface BotPkg {
|
|
|
6978
7240
|
*/
|
|
6979
7241
|
BotNPWaf?: number;
|
|
6980
7242
|
}
|
|
7243
|
+
/**
|
|
7244
|
+
* DescribeObjects请求参数结构体
|
|
7245
|
+
*/
|
|
7246
|
+
export interface DescribeObjectsRequest {
|
|
7247
|
+
/**
|
|
7248
|
+
* 支持的过滤器:
|
|
7249
|
+
ObjectId: clb实例ID
|
|
7250
|
+
VIP: clb实例的公网IP
|
|
7251
|
+
InstanceId: waf实例ID
|
|
7252
|
+
Domain: 精准域名
|
|
7253
|
+
Status: waf防护开关状态: 0关闭,1开启
|
|
7254
|
+
ClsStatus: waf日志开关: 0关闭,1开启
|
|
7255
|
+
*/
|
|
7256
|
+
Filters?: Array<FiltersItemNew>;
|
|
7257
|
+
}
|
|
6981
7258
|
/**
|
|
6982
7259
|
* ModifyWafThreatenIntelligence返回参数结构体
|
|
6983
7260
|
*/
|
|
@@ -7014,19 +7291,13 @@ export interface ModifyHostStatusRequest {
|
|
|
7014
7291
|
HostsStatus: Array<HostStatus>;
|
|
7015
7292
|
}
|
|
7016
7293
|
/**
|
|
7017
|
-
*
|
|
7294
|
+
* RefreshAccessCheckResult返回参数结构体
|
|
7018
7295
|
*/
|
|
7019
|
-
export interface
|
|
7020
|
-
/**
|
|
7021
|
-
* TLSVERSION的ID
|
|
7022
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7023
|
-
*/
|
|
7024
|
-
VersionId: number;
|
|
7296
|
+
export interface RefreshAccessCheckResultResponse {
|
|
7025
7297
|
/**
|
|
7026
|
-
*
|
|
7027
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7298
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7028
7299
|
*/
|
|
7029
|
-
|
|
7300
|
+
RequestId?: string;
|
|
7030
7301
|
}
|
|
7031
7302
|
/**
|
|
7032
7303
|
* ModifyCustomRule返回参数结构体
|
|
@@ -7143,11 +7414,67 @@ export interface LoadBalancer {
|
|
|
7143
7414
|
LoadBalancerDomain?: string;
|
|
7144
7415
|
}
|
|
7145
7416
|
/**
|
|
7146
|
-
*
|
|
7417
|
+
* Clb类型防护对象
|
|
7147
7418
|
*/
|
|
7148
|
-
export interface
|
|
7419
|
+
export interface ClbObject {
|
|
7149
7420
|
/**
|
|
7150
|
-
*
|
|
7421
|
+
* 对象ID
|
|
7151
7422
|
*/
|
|
7152
|
-
|
|
7423
|
+
ObjectId: string;
|
|
7424
|
+
/**
|
|
7425
|
+
* 实例ID
|
|
7426
|
+
*/
|
|
7427
|
+
InstanceId: string;
|
|
7428
|
+
/**
|
|
7429
|
+
* 实例名称
|
|
7430
|
+
*/
|
|
7431
|
+
InstanceName: string;
|
|
7432
|
+
/**
|
|
7433
|
+
* 精准域名列表
|
|
7434
|
+
*/
|
|
7435
|
+
PreciseDomains: Array<string>;
|
|
7436
|
+
/**
|
|
7437
|
+
* WAF功能开关状态,0关闭1开启
|
|
7438
|
+
*/
|
|
7439
|
+
Status: number;
|
|
7440
|
+
/**
|
|
7441
|
+
* WAF日志开关状态,0关闭1开启
|
|
7442
|
+
*/
|
|
7443
|
+
ClsStatus: number;
|
|
7444
|
+
/**
|
|
7445
|
+
* CLB对象对应的虚拟域名
|
|
7446
|
+
*/
|
|
7447
|
+
VirtualDomain: string;
|
|
7448
|
+
/**
|
|
7449
|
+
* 对象名称
|
|
7450
|
+
*/
|
|
7451
|
+
ObjectName: string;
|
|
7452
|
+
/**
|
|
7453
|
+
* 公网地址
|
|
7454
|
+
*/
|
|
7455
|
+
PublicIp: Array<string>;
|
|
7456
|
+
/**
|
|
7457
|
+
* 内网地址
|
|
7458
|
+
*/
|
|
7459
|
+
PrivateIp: Array<string>;
|
|
7460
|
+
/**
|
|
7461
|
+
* VPC名称
|
|
7462
|
+
*/
|
|
7463
|
+
VpcName: string;
|
|
7464
|
+
/**
|
|
7465
|
+
* VPC ID
|
|
7466
|
+
*/
|
|
7467
|
+
Vpc: string;
|
|
7468
|
+
/**
|
|
7469
|
+
* waf实例等级,如果未绑定实例为0
|
|
7470
|
+
*/
|
|
7471
|
+
InstanceLevel: number;
|
|
7472
|
+
/**
|
|
7473
|
+
* clb投递开关
|
|
7474
|
+
*/
|
|
7475
|
+
PostCLSStatus: number;
|
|
7476
|
+
/**
|
|
7477
|
+
* kafka投递开关
|
|
7478
|
+
*/
|
|
7479
|
+
PostCKafkaStatus: number;
|
|
7153
7480
|
}
|
|
@@ -378,6 +378,16 @@ it("ccc.v20200210.DescribeProtectedTelCdr", async function () {
|
|
|
378
378
|
}
|
|
379
379
|
})
|
|
380
380
|
|
|
381
|
+
it("ccc.v20200210.DescribeIMCdrList", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.DescribeIMCdrList({})
|
|
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
|
+
|
|
381
391
|
it("ccc.v20200210.DescribeCallInMetrics", async function () {
|
|
382
392
|
try {
|
|
383
393
|
const data = await client.DescribeCallInMetrics({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.cdwpg.v20201230.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cdwpg.v20201230.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("cdwpg.v20201230.DescribeInstanceState", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeInstanceState({})
|
|
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("cdwpg.v20201230.DestroyInstanceByApi", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DestroyInstanceByApi({})
|
|
@@ -28,6 +38,16 @@ it("cdwpg.v20201230.DestroyInstanceByApi", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
41
|
+
it("cdwpg.v20201230.DescribeInstance", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeInstance({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
31
51
|
it("cdwpg.v20201230.CreateInstanceByApi", async function () {
|
|
32
52
|
try {
|
|
33
53
|
const data = await client.CreateInstanceByApi({})
|
|
@@ -48,4 +68,14 @@ it("cdwpg.v20201230.DescribeSimpleInstances", async function () {
|
|
|
48
68
|
}
|
|
49
69
|
})
|
|
50
70
|
|
|
71
|
+
it("cdwpg.v20201230.ModifyInstance", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyInstance({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
51
81
|
})
|
|
@@ -38,6 +38,16 @@ it("csip.v20221121.DescribeDbAssetInfo", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("csip.v20221121.DescribeRiskCenterVULViewVULRiskList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeRiskCenterVULViewVULRiskList({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("csip.v20221121.DescribeDomainAssets", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.DescribeDomainAssets({})
|
|
@@ -248,6 +258,16 @@ it("csip.v20221121.DescribeDbAssets", async function () {
|
|
|
248
258
|
}
|
|
249
259
|
})
|
|
250
260
|
|
|
261
|
+
it("csip.v20221121.DescribeRiskCenterPortViewPortRiskList", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DescribeRiskCenterPortViewPortRiskList({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
251
271
|
it("csip.v20221121.DescribeRiskCenterAssetViewPortRiskList", async function () {
|
|
252
272
|
try {
|
|
253
273
|
const data = await client.DescribeRiskCenterAssetViewPortRiskList({})
|
|
@@ -258,6 +278,16 @@ it("csip.v20221121.DescribeRiskCenterAssetViewPortRiskList", async function () {
|
|
|
258
278
|
}
|
|
259
279
|
})
|
|
260
280
|
|
|
281
|
+
it("csip.v20221121.ModifyRiskCenterRiskStatus", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.ModifyRiskCenterRiskStatus({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
261
291
|
it("csip.v20221121.StopRiskCenterTask", async function () {
|
|
262
292
|
try {
|
|
263
293
|
const data = await client.StopRiskCenterTask({})
|
|
@@ -168,6 +168,16 @@ it("iss.v20230517.ListRecordBackupPlans", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("iss.v20230517.DescribeVideoBitRate", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeVideoBitRate({})
|
|
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("iss.v20230517.DescribeGatewayVersion", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.DescribeGatewayVersion({})
|