tencentcloud-sdk-nodejs 4.0.641 → 4.0.642
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 +173 -0
- package/SERVICE_CHANGELOG.md +210 -91
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +6 -6
- package/src/services/apigateway/v20180808/apigateway_models.ts +91 -91
- package/src/services/asr/v20190614/asr_models.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +13 -0
- package/src/services/cdb/v20170320/cdb_models.ts +144 -0
- package/src/services/cfs/v20190719/cfs_client.ts +1 -1
- package/src/services/cfs/v20190719/cfs_models.ts +83 -73
- package/src/services/cfw/v20190904/cfw_client.ts +51 -27
- package/src/services/cfw/v20190904/cfw_models.ts +95 -33
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +9 -9
- package/src/services/domain/v20180808/domain_models.ts +32 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +13 -13
- package/src/services/lcic/v20220817/lcic_models.ts +4 -0
- package/src/services/nlp/v20190408/nlp_models.ts +6 -7
- package/src/services/tcb/v20180608/tcb_models.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +6 -6
- package/src/services/wav/v20210129/wav_models.ts +53 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +2 -2
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +89 -89
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +5 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +141 -0
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +83 -73
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +18 -10
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +25 -13
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +90 -32
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +9 -9
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +32 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +13 -13
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +6 -7
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +6 -6
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +53 -0
- package/test/cdb.v20170320.test.js +10 -0
- package/test/cfw.v20190904.test.js +28 -8
|
@@ -359,15 +359,15 @@ export interface FileSystemInfo {
|
|
|
359
359
|
/**
|
|
360
360
|
* 创建时间
|
|
361
361
|
*/
|
|
362
|
-
CreationTime
|
|
362
|
+
CreationTime?: string;
|
|
363
363
|
/**
|
|
364
364
|
* 用户自定义名称
|
|
365
365
|
*/
|
|
366
|
-
CreationToken
|
|
366
|
+
CreationToken?: string;
|
|
367
367
|
/**
|
|
368
368
|
* 文件系统 ID
|
|
369
369
|
*/
|
|
370
|
-
FileSystemId
|
|
370
|
+
FileSystemId?: string;
|
|
371
371
|
/**
|
|
372
372
|
* 文件系统状态。取值范围:
|
|
373
373
|
- creating:创建中
|
|
@@ -377,80 +377,82 @@ export interface FileSystemInfo {
|
|
|
377
377
|
- unserviced:停服中
|
|
378
378
|
- upgrading:升级中
|
|
379
379
|
*/
|
|
380
|
-
LifeCycleState
|
|
380
|
+
LifeCycleState?: string;
|
|
381
381
|
/**
|
|
382
|
-
*
|
|
382
|
+
* 文件系统已使用容量,单位Byte
|
|
383
383
|
*/
|
|
384
|
-
SizeByte
|
|
384
|
+
SizeByte?: number;
|
|
385
385
|
/**
|
|
386
|
-
*
|
|
386
|
+
* 文件系统最大空间限制,GiB
|
|
387
387
|
*/
|
|
388
|
-
SizeLimit
|
|
388
|
+
SizeLimit?: number;
|
|
389
389
|
/**
|
|
390
390
|
* 区域 ID
|
|
391
391
|
*/
|
|
392
|
-
ZoneId
|
|
392
|
+
ZoneId?: number;
|
|
393
393
|
/**
|
|
394
394
|
* 区域名称
|
|
395
395
|
*/
|
|
396
|
-
Zone
|
|
396
|
+
Zone?: string;
|
|
397
397
|
/**
|
|
398
|
-
*
|
|
398
|
+
* 文件系统协议类型, 支持 NFS,CIFS,TURBO
|
|
399
399
|
*/
|
|
400
|
-
Protocol
|
|
400
|
+
Protocol?: string;
|
|
401
401
|
/**
|
|
402
|
-
*
|
|
402
|
+
* 存储类型,HP:通用性能型;SD:通用标准型;TP:turbo性能型;TB:turbo标准型;THP:吞吐型
|
|
403
403
|
*/
|
|
404
|
-
StorageType
|
|
404
|
+
StorageType?: string;
|
|
405
405
|
/**
|
|
406
406
|
* 文件系统绑定的预付费存储包
|
|
407
407
|
*/
|
|
408
|
-
StorageResourcePkg
|
|
408
|
+
StorageResourcePkg?: string;
|
|
409
409
|
/**
|
|
410
410
|
* 文件系统绑定的预付费带宽包(暂未支持)
|
|
411
411
|
*/
|
|
412
|
-
BandwidthResourcePkg
|
|
412
|
+
BandwidthResourcePkg?: string;
|
|
413
413
|
/**
|
|
414
414
|
* 文件系统绑定权限组信息
|
|
415
415
|
*/
|
|
416
|
-
PGroup
|
|
416
|
+
PGroup?: PGroup;
|
|
417
417
|
/**
|
|
418
418
|
* 用户自定义名称
|
|
419
419
|
*/
|
|
420
|
-
FsName
|
|
420
|
+
FsName?: string;
|
|
421
421
|
/**
|
|
422
|
-
*
|
|
422
|
+
* 文件系统是否加密,true:代表加密,false:非加密
|
|
423
423
|
*/
|
|
424
|
-
Encrypted
|
|
424
|
+
Encrypted?: boolean;
|
|
425
425
|
/**
|
|
426
426
|
* 加密所使用的密钥,可以为密钥的 ID 或者 ARN
|
|
427
427
|
*/
|
|
428
|
-
KmsKeyId
|
|
428
|
+
KmsKeyId?: string;
|
|
429
429
|
/**
|
|
430
430
|
* 应用ID
|
|
431
431
|
*/
|
|
432
|
-
AppId
|
|
432
|
+
AppId?: number;
|
|
433
433
|
/**
|
|
434
|
-
*
|
|
434
|
+
* 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
|
|
435
435
|
*/
|
|
436
|
-
BandwidthLimit
|
|
436
|
+
BandwidthLimit?: number;
|
|
437
437
|
/**
|
|
438
438
|
* 文件系统总容量
|
|
439
439
|
*/
|
|
440
|
-
Capacity
|
|
440
|
+
Capacity?: number;
|
|
441
441
|
/**
|
|
442
442
|
* 文件系统标签列表
|
|
443
443
|
*/
|
|
444
|
-
Tags
|
|
444
|
+
Tags?: Array<TagInfo>;
|
|
445
445
|
/**
|
|
446
446
|
* 文件系统生命周期管理状态
|
|
447
|
+
NotAvailable:不可用
|
|
448
|
+
Available:可用
|
|
447
449
|
*/
|
|
448
|
-
TieringState
|
|
450
|
+
TieringState?: string;
|
|
449
451
|
/**
|
|
450
452
|
* 分层存储详情
|
|
451
453
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
452
454
|
*/
|
|
453
|
-
TieringDetail
|
|
455
|
+
TieringDetail?: TieringDetailInfo;
|
|
454
456
|
}
|
|
455
457
|
/**
|
|
456
458
|
* BindAutoSnapshotPolicy请求参数结构体
|
|
@@ -622,55 +624,55 @@ export interface AutoSnapshotPolicyInfo {
|
|
|
622
624
|
/**
|
|
623
625
|
* 快照策略ID
|
|
624
626
|
*/
|
|
625
|
-
AutoSnapshotPolicyId
|
|
627
|
+
AutoSnapshotPolicyId?: string;
|
|
626
628
|
/**
|
|
627
629
|
* 快照策略ID
|
|
628
630
|
*/
|
|
629
|
-
PolicyName
|
|
631
|
+
PolicyName?: string;
|
|
630
632
|
/**
|
|
631
633
|
* 快照策略创建时间
|
|
632
634
|
*/
|
|
633
|
-
CreationTime
|
|
635
|
+
CreationTime?: string;
|
|
634
636
|
/**
|
|
635
637
|
* 关联的文件系统个数
|
|
636
638
|
*/
|
|
637
|
-
FileSystemNums
|
|
639
|
+
FileSystemNums?: number;
|
|
638
640
|
/**
|
|
639
641
|
* 快照定期备份在一星期哪一天,该参数与DayOfMonth,IntervalDays互斥
|
|
640
642
|
*/
|
|
641
|
-
DayOfWeek
|
|
643
|
+
DayOfWeek?: string;
|
|
642
644
|
/**
|
|
643
645
|
* 快照定期备份在一天的哪一小时
|
|
644
646
|
*/
|
|
645
|
-
Hour
|
|
647
|
+
Hour?: string;
|
|
646
648
|
/**
|
|
647
|
-
*
|
|
649
|
+
* 是否激活定期快照功能,1代表已激活,0代表未激活
|
|
648
650
|
*/
|
|
649
|
-
IsActivated
|
|
651
|
+
IsActivated?: number;
|
|
650
652
|
/**
|
|
651
653
|
* 下一次触发快照时间
|
|
652
654
|
*/
|
|
653
|
-
NextActiveTime
|
|
655
|
+
NextActiveTime?: string;
|
|
654
656
|
/**
|
|
655
|
-
*
|
|
657
|
+
* 快照策略状态,1代表快照策略状态正常。这里只有一种状态
|
|
656
658
|
*/
|
|
657
|
-
Status
|
|
659
|
+
Status?: string;
|
|
658
660
|
/**
|
|
659
661
|
* 帐号ID
|
|
660
662
|
*/
|
|
661
|
-
AppId
|
|
663
|
+
AppId?: number;
|
|
662
664
|
/**
|
|
663
665
|
* 保留时间
|
|
664
666
|
*/
|
|
665
|
-
AliveDays
|
|
667
|
+
AliveDays?: number;
|
|
666
668
|
/**
|
|
667
669
|
* 地域
|
|
668
670
|
*/
|
|
669
|
-
RegionName
|
|
671
|
+
RegionName?: string;
|
|
670
672
|
/**
|
|
671
673
|
* 文件系统信息
|
|
672
674
|
*/
|
|
673
|
-
FileSystems
|
|
675
|
+
FileSystems?: Array<FileSystemByPolicy>;
|
|
674
676
|
/**
|
|
675
677
|
* 快照定期备份在一个月的某个时间;该参数与DayOfWeek,IntervalDays互斥
|
|
676
678
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -682,7 +684,7 @@ export interface AutoSnapshotPolicyInfo {
|
|
|
682
684
|
*/
|
|
683
685
|
IntervalDays?: number;
|
|
684
686
|
/**
|
|
685
|
-
*
|
|
687
|
+
* 跨地域复制的快照保留时间,单位天
|
|
686
688
|
*/
|
|
687
689
|
CrossRegionsAliveDays?: number;
|
|
688
690
|
}
|
|
@@ -1233,24 +1235,32 @@ export interface BucketInfo {
|
|
|
1233
1235
|
export interface SnapshotOperateLog {
|
|
1234
1236
|
/**
|
|
1235
1237
|
* 操作类型
|
|
1238
|
+
CreateCfsSnapshot:创建快照
|
|
1239
|
+
DeleteCfsSnapshot:删除快照
|
|
1240
|
+
CreateCfsFileSystem:创建文件系统
|
|
1241
|
+
UpdateCfsSnapshotAttribute:更新快照
|
|
1236
1242
|
*/
|
|
1237
|
-
Action
|
|
1243
|
+
Action?: string;
|
|
1238
1244
|
/**
|
|
1239
1245
|
* 操作时间
|
|
1240
1246
|
*/
|
|
1241
|
-
ActionTime
|
|
1247
|
+
ActionTime?: string;
|
|
1242
1248
|
/**
|
|
1243
1249
|
* 操作名称
|
|
1250
|
+
CreateCfsSnapshot
|
|
1251
|
+
DeleteCfsSnapshot
|
|
1252
|
+
CreateCfsFileSystem
|
|
1253
|
+
UpdateCfsSnapshotAttribute
|
|
1244
1254
|
*/
|
|
1245
|
-
ActionName
|
|
1255
|
+
ActionName?: string;
|
|
1246
1256
|
/**
|
|
1247
|
-
* 操作者
|
|
1257
|
+
* 操作者uin
|
|
1248
1258
|
*/
|
|
1249
|
-
Operator
|
|
1259
|
+
Operator?: string;
|
|
1250
1260
|
/**
|
|
1251
|
-
*
|
|
1261
|
+
* 1-任务进行中;2-任务成功;3-任务失败
|
|
1252
1262
|
*/
|
|
1253
|
-
Result
|
|
1263
|
+
Result?: number;
|
|
1254
1264
|
}
|
|
1255
1265
|
/**
|
|
1256
1266
|
* DescribeUserQuota请求参数结构体
|
|
@@ -1271,7 +1281,7 @@ export interface DescribeUserQuotaRequest {
|
|
|
1271
1281
|
*/
|
|
1272
1282
|
Offset?: number;
|
|
1273
1283
|
/**
|
|
1274
|
-
* Limit
|
|
1284
|
+
* Limit 页面大小,可填范围为大于0的整数
|
|
1275
1285
|
*/
|
|
1276
1286
|
Limit?: number;
|
|
1277
1287
|
}
|
|
@@ -1665,7 +1675,7 @@ export interface UpdateAutoSnapshotPolicyRequest {
|
|
|
1665
1675
|
*/
|
|
1666
1676
|
PolicyName?: string;
|
|
1667
1677
|
/**
|
|
1668
|
-
*
|
|
1678
|
+
* 快照定期备份,按照星期一到星期日。 1代表星期一,7代表星期日
|
|
1669
1679
|
*/
|
|
1670
1680
|
DayOfWeek?: string;
|
|
1671
1681
|
/**
|
|
@@ -1677,7 +1687,7 @@ export interface UpdateAutoSnapshotPolicyRequest {
|
|
|
1677
1687
|
*/
|
|
1678
1688
|
AliveDays?: number;
|
|
1679
1689
|
/**
|
|
1680
|
-
*
|
|
1690
|
+
* 是否激活定期快照功能;1代表激活,0代表未激活
|
|
1681
1691
|
*/
|
|
1682
1692
|
IsActivated?: number;
|
|
1683
1693
|
/**
|
|
@@ -1739,31 +1749,31 @@ export interface FileSystemByPolicy {
|
|
|
1739
1749
|
/**
|
|
1740
1750
|
* 文件系统名称
|
|
1741
1751
|
*/
|
|
1742
|
-
CreationToken
|
|
1752
|
+
CreationToken?: string;
|
|
1743
1753
|
/**
|
|
1744
1754
|
* 文件系统ID
|
|
1745
1755
|
*/
|
|
1746
|
-
FileSystemId
|
|
1756
|
+
FileSystemId?: string;
|
|
1747
1757
|
/**
|
|
1748
|
-
*
|
|
1758
|
+
* 文件系统大小,单位Byte
|
|
1749
1759
|
*/
|
|
1750
|
-
SizeByte
|
|
1760
|
+
SizeByte?: number;
|
|
1751
1761
|
/**
|
|
1752
|
-
*
|
|
1762
|
+
* 存储类型,HP:通用性能型;SD:通用标准型;TP:turbo性能型;TB:turbo标准型;THP:吞吐型
|
|
1753
1763
|
*/
|
|
1754
|
-
StorageType
|
|
1764
|
+
StorageType?: string;
|
|
1755
1765
|
/**
|
|
1756
|
-
*
|
|
1766
|
+
* 快照总大小,单位GiB
|
|
1757
1767
|
*/
|
|
1758
|
-
TotalSnapshotSize
|
|
1768
|
+
TotalSnapshotSize?: number;
|
|
1759
1769
|
/**
|
|
1760
1770
|
* 文件系统创建时间
|
|
1761
1771
|
*/
|
|
1762
|
-
CreationTime
|
|
1772
|
+
CreationTime?: string;
|
|
1763
1773
|
/**
|
|
1764
1774
|
* 文件系统所在区ID
|
|
1765
1775
|
*/
|
|
1766
|
-
ZoneId
|
|
1776
|
+
ZoneId?: number;
|
|
1767
1777
|
}
|
|
1768
1778
|
/**
|
|
1769
1779
|
* 快照信息
|
|
@@ -1782,7 +1792,7 @@ export interface SnapshotInfo {
|
|
|
1782
1792
|
*/
|
|
1783
1793
|
SnapshotId?: string;
|
|
1784
1794
|
/**
|
|
1785
|
-
*
|
|
1795
|
+
* 快照状态,createing-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败
|
|
1786
1796
|
*/
|
|
1787
1797
|
Status?: string;
|
|
1788
1798
|
/**
|
|
@@ -1802,7 +1812,7 @@ export interface SnapshotInfo {
|
|
|
1802
1812
|
*/
|
|
1803
1813
|
AliveDay?: number;
|
|
1804
1814
|
/**
|
|
1805
|
-
*
|
|
1815
|
+
* 快照进度百分比,1表示1%
|
|
1806
1816
|
*/
|
|
1807
1817
|
Percent?: number;
|
|
1808
1818
|
/**
|
|
@@ -1822,12 +1832,12 @@ export interface SnapshotInfo {
|
|
|
1822
1832
|
*/
|
|
1823
1833
|
Tags?: Array<TagInfo>;
|
|
1824
1834
|
/**
|
|
1825
|
-
*
|
|
1835
|
+
* 快照类型, general为通用系列快照,turbo为Turbo系列快照
|
|
1826
1836
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1827
1837
|
*/
|
|
1828
1838
|
SnapshotType?: string;
|
|
1829
1839
|
/**
|
|
1830
|
-
*
|
|
1840
|
+
* 实际快照时间,反应快照对应文件系统某个时刻的数据。
|
|
1831
1841
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1832
1842
|
*/
|
|
1833
1843
|
SnapshotTime?: string;
|
|
@@ -2038,11 +2048,11 @@ export interface DescribeUserQuotaResponse {
|
|
|
2038
2048
|
/**
|
|
2039
2049
|
* UserQuota条目总数
|
|
2040
2050
|
*/
|
|
2041
|
-
TotalCount
|
|
2051
|
+
TotalCount?: number;
|
|
2042
2052
|
/**
|
|
2043
2053
|
* UserQuota条目
|
|
2044
2054
|
*/
|
|
2045
|
-
UserQuotaInfo
|
|
2055
|
+
UserQuotaInfo?: Array<UserQuota>;
|
|
2046
2056
|
/**
|
|
2047
2057
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2048
2058
|
*/
|
|
@@ -2172,7 +2182,7 @@ export declare type DescribeCfsSnapshotOverviewRequest = null;
|
|
|
2172
2182
|
*/
|
|
2173
2183
|
export interface CreateAutoSnapshotPolicyRequest {
|
|
2174
2184
|
/**
|
|
2175
|
-
*
|
|
2185
|
+
* 快照重复时间点,0-23
|
|
2176
2186
|
*/
|
|
2177
2187
|
Hour: string;
|
|
2178
2188
|
/**
|
|
@@ -2180,11 +2190,11 @@ export interface CreateAutoSnapshotPolicyRequest {
|
|
|
2180
2190
|
*/
|
|
2181
2191
|
PolicyName?: string;
|
|
2182
2192
|
/**
|
|
2183
|
-
*
|
|
2193
|
+
* 快照重复日期,星期一到星期日。 1代表星期一、7代表星期天
|
|
2184
2194
|
*/
|
|
2185
2195
|
DayOfWeek?: string;
|
|
2186
2196
|
/**
|
|
2187
|
-
*
|
|
2197
|
+
* 快照保留时长,单位天
|
|
2188
2198
|
*/
|
|
2189
2199
|
AliveDays?: number;
|
|
2190
2200
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeNatFwInstanceRequest, DescribeLogsRequest, ModifyNatFwVpcDnsSwitchResponse, DescribeNatFwInstanceWithRegionRequest, ModifyNatAcRuleResponse, DescribeRuleOverviewResponse, DescribeNatAcRuleResponse, ModifyPublicIPSwitchStatusResponse, ModifyNatAcRuleRequest, ModifyAcRuleResponse, ModifyNatSequenceRulesRequest, DescribeTableStatusResponse, AddAcRuleRequest, ModifyNatFwVpcDnsSwitchRequest, DeleteNatFwInstanceResponse, DeleteAllAccessControlRuleRequest,
|
|
3
|
+
import { DescribeNatFwInstanceRequest, DescribeLogsRequest, ModifyNatFwVpcDnsSwitchResponse, DescribeNatFwInstanceWithRegionRequest, ModifyNatAcRuleResponse, DescribeRuleOverviewResponse, DescribeNatAcRuleResponse, ModifyPublicIPSwitchStatusResponse, ModifyNatAcRuleRequest, ModifyAcRuleResponse, ModifyNatSequenceRulesRequest, DescribeTableStatusResponse, AddAcRuleRequest, ModifyNatFwVpcDnsSwitchRequest, DeleteNatFwInstanceResponse, DeleteAllAccessControlRuleRequest, ModifySecurityGroupRuleRequest, ModifyAllVPCSwitchStatusResponse, DescribeNatFwVpcDnsLstRequest, DescribeCfwEipsRequest, DescribeTLogInfoResponse, DescribeUnHandleEventTabListRequest, DescribeAssociatedInstanceListResponse, ModifyStorageSettingResponse, RemoveAcRuleResponse, CreateSecurityGroupRulesResponse, ExpandCfwVerticalRequest, ModifyAllPublicIPSwitchStatusResponse, DeleteVpcInstanceResponse, ModifyAssetScanRequest, ModifyBlockIgnoreListRequest, AddEnterpriseSecurityGroupRulesRequest, ModifySecurityGroupSequenceRulesResponse, DeleteSecurityGroupRuleResponse, ModifySequenceRulesRequest, DescribeEnterpriseSGRuleProgressResponse, ModifySecurityGroupItemRuleStatusResponse, DescribeEnterpriseSecurityGroupRuleResponse, DescribeEnterpriseSecurityGroupRuleRequest, ModifyNatFwReSelectResponse, DescribeSwitchListsRequest, SetNatFwEipRequest, SetNatFwEipResponse, ModifyPublicIPSwitchStatusRequest, ModifySecurityGroupItemRuleStatusRequest, DescribeSourceAssetRequest, DescribeSourceAssetResponse, DescribeTLogInfoRequest, DescribeEnterpriseSGRuleProgressRequest, DescribeTLogIpListRequest, DescribeNatFwInstancesInfoRequest, ModifyNatSequenceRulesResponse, DescribeTableStatusRequest, DescribeSecurityGroupListRequest, ModifyResourceGroupRequest, CreateNatFwInstanceResponse, DescribeNatFwInfoCountResponse, DescribeDefenseSwitchRequest, ModifyEnterpriseSecurityDispatchStatusResponse, RemoveNatAcRuleResponse, CreateNatFwInstanceWithDomainResponse, RemoveAcRuleRequest, RemoveNatAcRuleRequest, ModifyAssetScanResponse, ModifyAllRuleStatusRequest, DescribeAcListsResponse, ModifyAllPublicIPSwitchStatusRequest, CreateAddressTemplateRequest, DescribeBlockStaticListResponse, AddNatAcRuleRequest, ModifySecurityGroupSequenceRulesRequest, CreateDatabaseWhiteListRulesResponse, CreateChooseVpcsResponse, DescribeUnHandleEventTabListResponse, ModifyRunSyncAssetResponse, ModifyEnterpriseSecurityGroupRuleResponse, DescribeSecurityGroupListResponse, AddEnterpriseSecurityGroupRulesResponse, RemoveEnterpriseSecurityGroupRuleRequest, DeleteResourceGroupRequest, CreateNatFwInstanceRequest, DescribeBlockByIpTimesListRequest, RemoveEnterpriseSecurityGroupRuleResponse, CreateAddressTemplateResponse, ModifyEnterpriseSecurityGroupRuleRequest, ModifySequenceRulesResponse, DescribeResourceGroupNewResponse, DescribeNatFwInstanceWithRegionResponse, DescribeResourceGroupNewRequest, ModifyBlockTopRequest, DeleteAcRuleResponse, DescribeIPStatusListRequest, ModifyNatFwSwitchResponse, DescribeBlockByIpTimesListResponse, SetNatFwDnatRuleResponse, DescribeRuleOverviewRequest, DescribeDefenseSwitchResponse, DescribeAcListsRequest, DescribeGuideScanInfoRequest, DescribeAssociatedInstanceListRequest, DeleteAcRuleRequest, DeleteAllAccessControlRuleResponse, ModifyNatFwSwitchRequest, DescribeIPStatusListResponse, CreateDatabaseWhiteListRulesRequest, DescribeTLogIpListResponse, StopSecurityGroupRuleDispatchResponse, DescribeNatFwInfoCountRequest, AddAcRuleResponse, ModifyNatFwReSelectRequest, SetNatFwDnatRuleRequest, ModifyAllVPCSwitchStatusRequest, ModifyAllRuleStatusResponse, StopSecurityGroupRuleDispatchRequest, DescribeBlockIgnoreListRequest, ModifyBlockTopResponse, DeleteNatFwInstanceRequest, ModifyStorageSettingRequest, DescribeNatFwVpcDnsLstResponse, CreateChooseVpcsRequest, ExpandCfwVerticalResponse, DescribeNatAcRuleRequest, DescribeLogsResponse, CreateSecurityGroupRulesRequest, DeleteVpcInstanceRequest, CreateNatFwInstanceWithDomainRequest, DescribeResourceGroupResponse, DeleteAddressTemplateResponse, DescribeCfwEipsResponse, ModifyResourceGroupResponse, DeleteResourceGroupResponse, DeleteSecurityGroupRuleRequest, DescribeBlockStaticListRequest, ModifyRunSyncAssetRequest, DeleteAddressTemplateRequest, CreateAcRulesResponse, DescribeSwitchListsResponse, ModifyAcRuleRequest, DescribeNatFwInstancesInfoResponse, AddNatAcRuleResponse, ModifyBlockIgnoreListResponse, DescribeNatFwInstanceResponse, ModifySecurityGroupRuleResponse, DescribeResourceGroupRequest, CreateAcRulesRequest, ModifyEnterpriseSecurityDispatchStatusRequest, DescribeBlockIgnoreListResponse, ModifyTableStatusRequest, ModifyTableStatusResponse, DescribeGuideScanInfoResponse } from "./cfw_models";
|
|
4
4
|
/**
|
|
5
5
|
* cfw client
|
|
6
6
|
* @class
|
|
@@ -23,6 +23,11 @@ export declare class Client extends AbstractClient {
|
|
|
23
23
|
* 展示当前natfw 实例对应的vpc dns开关
|
|
24
24
|
*/
|
|
25
25
|
DescribeNatFwVpcDnsLst(req: DescribeNatFwVpcDnsLstRequest, cb?: (error: string, rep: DescribeNatFwVpcDnsLstResponse) => void): Promise<DescribeNatFwVpcDnsLstResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* DescribeUnHandleEventTabList 告警中心伪攻击链事件未处置接口
|
|
28
|
+
|
|
29
|
+
*/
|
|
30
|
+
DescribeUnHandleEventTabList(req: DescribeUnHandleEventTabListRequest, cb?: (error: string, rep: DescribeUnHandleEventTabListResponse) => void): Promise<DescribeUnHandleEventTabListResponse>;
|
|
26
31
|
/**
|
|
27
32
|
* 互联网边界防火墙一键开关
|
|
28
33
|
*/
|
|
@@ -78,9 +83,9 @@ export declare class Client extends AbstractClient {
|
|
|
78
83
|
*/
|
|
79
84
|
ModifyAssetScan(req: ModifyAssetScanRequest, cb?: (error: string, rep: ModifyAssetScanResponse) => void): Promise<ModifyAssetScanResponse>;
|
|
80
85
|
/**
|
|
81
|
-
*
|
|
86
|
+
* 创建地址模板规则
|
|
82
87
|
*/
|
|
83
|
-
|
|
88
|
+
CreateAddressTemplate(req: CreateAddressTemplateRequest, cb?: (error: string, rep: CreateAddressTemplateResponse) => void): Promise<CreateAddressTemplateResponse>;
|
|
84
89
|
/**
|
|
85
90
|
* 创建暴露数据库白名单规则
|
|
86
91
|
*/
|
|
@@ -175,10 +180,9 @@ export declare class Client extends AbstractClient {
|
|
|
175
180
|
*/
|
|
176
181
|
DescribeGuideScanInfo(req?: DescribeGuideScanInfoRequest, cb?: (error: string, rep: DescribeGuideScanInfoResponse) => void): Promise<DescribeGuideScanInfoResponse>;
|
|
177
182
|
/**
|
|
178
|
-
*
|
|
179
|
-
|
|
183
|
+
* 删除地址模板规则
|
|
180
184
|
*/
|
|
181
|
-
|
|
185
|
+
DeleteAddressTemplate(req: DeleteAddressTemplateRequest, cb?: (error: string, rep: DeleteAddressTemplateResponse) => void): Promise<DeleteAddressTemplateResponse>;
|
|
182
186
|
/**
|
|
183
187
|
* 修改NAT防火墙开关
|
|
184
188
|
*/
|
|
@@ -205,13 +209,13 @@ export declare class Client extends AbstractClient {
|
|
|
205
209
|
*/
|
|
206
210
|
ModifyAllRuleStatus(req: ModifyAllRuleStatusRequest, cb?: (error: string, rep: ModifyAllRuleStatusResponse) => void): Promise<ModifyAllRuleStatusResponse>;
|
|
207
211
|
/**
|
|
208
|
-
*
|
|
212
|
+
* 防火墙开关列表
|
|
209
213
|
*/
|
|
210
|
-
|
|
214
|
+
DescribeSwitchLists(req: DescribeSwitchListsRequest, cb?: (error: string, rep: DescribeSwitchListsResponse) => void): Promise<DescribeSwitchListsResponse>;
|
|
211
215
|
/**
|
|
212
|
-
*
|
|
216
|
+
* 删除互联网边界规则
|
|
213
217
|
*/
|
|
214
|
-
|
|
218
|
+
RemoveAcRule(req: RemoveAcRuleRequest, cb?: (error: string, rep: RemoveAcRuleResponse) => void): Promise<RemoveAcRuleResponse>;
|
|
215
219
|
/**
|
|
216
220
|
* ModifyBlockTop取消置顶接口
|
|
217
221
|
*/
|
|
@@ -310,4 +314,8 @@ export declare class Client extends AbstractClient {
|
|
|
310
314
|
|
|
311
315
|
*/
|
|
312
316
|
DescribeBlockStaticList(req: DescribeBlockStaticListRequest, cb?: (error: string, rep: DescribeBlockStaticListResponse) => void): Promise<DescribeBlockStaticListResponse>;
|
|
317
|
+
/**
|
|
318
|
+
* 设置防火墙实例弹性公网ip,目前仅支持新增模式的防火墙实例
|
|
319
|
+
*/
|
|
320
|
+
SetNatFwEip(req: SetNatFwEipRequest, cb?: (error: string, rep: SetNatFwEipResponse) => void): Promise<SetNatFwEipResponse>;
|
|
313
321
|
}
|
|
@@ -51,6 +51,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
51
51
|
async DescribeNatFwVpcDnsLst(req, cb) {
|
|
52
52
|
return this.request("DescribeNatFwVpcDnsLst", req, cb);
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* DescribeUnHandleEventTabList 告警中心伪攻击链事件未处置接口
|
|
56
|
+
|
|
57
|
+
*/
|
|
58
|
+
async DescribeUnHandleEventTabList(req, cb) {
|
|
59
|
+
return this.request("DescribeUnHandleEventTabList", req, cb);
|
|
60
|
+
}
|
|
54
61
|
/**
|
|
55
62
|
* 互联网边界防火墙一键开关
|
|
56
63
|
*/
|
|
@@ -132,10 +139,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
132
139
|
return this.request("ModifyAssetScan", req, cb);
|
|
133
140
|
}
|
|
134
141
|
/**
|
|
135
|
-
*
|
|
142
|
+
* 创建地址模板规则
|
|
136
143
|
*/
|
|
137
|
-
async
|
|
138
|
-
return this.request("
|
|
144
|
+
async CreateAddressTemplate(req, cb) {
|
|
145
|
+
return this.request("CreateAddressTemplate", req, cb);
|
|
139
146
|
}
|
|
140
147
|
/**
|
|
141
148
|
* 创建暴露数据库白名单规则
|
|
@@ -277,11 +284,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
277
284
|
return this.request("DescribeGuideScanInfo", req, cb);
|
|
278
285
|
}
|
|
279
286
|
/**
|
|
280
|
-
*
|
|
281
|
-
|
|
287
|
+
* 删除地址模板规则
|
|
282
288
|
*/
|
|
283
|
-
async
|
|
284
|
-
return this.request("
|
|
289
|
+
async DeleteAddressTemplate(req, cb) {
|
|
290
|
+
return this.request("DeleteAddressTemplate", req, cb);
|
|
285
291
|
}
|
|
286
292
|
/**
|
|
287
293
|
* 修改NAT防火墙开关
|
|
@@ -321,16 +327,16 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
321
327
|
return this.request("ModifyAllRuleStatus", req, cb);
|
|
322
328
|
}
|
|
323
329
|
/**
|
|
324
|
-
*
|
|
330
|
+
* 防火墙开关列表
|
|
325
331
|
*/
|
|
326
|
-
async
|
|
327
|
-
return this.request("
|
|
332
|
+
async DescribeSwitchLists(req, cb) {
|
|
333
|
+
return this.request("DescribeSwitchLists", req, cb);
|
|
328
334
|
}
|
|
329
335
|
/**
|
|
330
|
-
*
|
|
336
|
+
* 删除互联网边界规则
|
|
331
337
|
*/
|
|
332
|
-
async
|
|
333
|
-
return this.request("
|
|
338
|
+
async RemoveAcRule(req, cb) {
|
|
339
|
+
return this.request("RemoveAcRule", req, cb);
|
|
334
340
|
}
|
|
335
341
|
/**
|
|
336
342
|
* ModifyBlockTop取消置顶接口
|
|
@@ -476,5 +482,11 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
476
482
|
async DescribeBlockStaticList(req, cb) {
|
|
477
483
|
return this.request("DescribeBlockStaticList", req, cb);
|
|
478
484
|
}
|
|
485
|
+
/**
|
|
486
|
+
* 设置防火墙实例弹性公网ip,目前仅支持新增模式的防火墙实例
|
|
487
|
+
*/
|
|
488
|
+
async SetNatFwEip(req, cb) {
|
|
489
|
+
return this.request("SetNatFwEip", req, cb);
|
|
490
|
+
}
|
|
479
491
|
}
|
|
480
492
|
exports.Client = Client;
|