tencentcloud-sdk-nodejs 4.0.679 → 4.0.681

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.
Files changed (92) hide show
  1. package/CHANGELOG.md +478 -0
  2. package/SERVICE_CHANGELOG.md +556 -76
  3. package/package.json +1 -1
  4. package/products.md +29 -29
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_client.ts +11 -10
  7. package/src/services/asr/v20190614/asr_models.ts +48 -17
  8. package/src/services/ccc/v20200210/ccc_models.ts +3 -3
  9. package/src/services/cdwch/v20200915/cdwch_client.ts +1 -1
  10. package/src/services/cdwch/v20200915/cdwch_models.ts +1 -1
  11. package/src/services/cfs/v20190719/cfs_models.ts +13 -1
  12. package/src/services/cfw/v20190904/cfw_client.ts +29 -3
  13. package/src/services/cfw/v20190904/cfw_models.ts +150 -47
  14. package/src/services/clb/v20180317/clb_models.ts +15 -5
  15. package/src/services/csip/v20221121/csip_client.ts +57 -2
  16. package/src/services/csip/v20221121/csip_models.ts +667 -18
  17. package/src/services/dbbrain/v20210527/dbbrain_client.ts +65 -11
  18. package/src/services/dbbrain/v20210527/dbbrain_models.ts +450 -99
  19. package/src/services/dnspod/v20210323/dnspod_models.ts +27 -23
  20. package/src/services/dts/v20211206/dts_client.ts +2 -0
  21. package/src/services/dts/v20211206/dts_models.ts +49 -2
  22. package/src/services/ecm/v20190719/ecm_models.ts +7 -2
  23. package/src/services/ess/v20201111/ess_client.ts +10 -7
  24. package/src/services/ess/v20201111/ess_models.ts +40 -25
  25. package/src/services/live/v20180801/live_client.ts +13 -0
  26. package/src/services/live/v20180801/live_models.ts +47 -0
  27. package/src/services/mps/v20190612/mps_client.ts +8 -1
  28. package/src/services/mps/v20190612/mps_models.ts +196 -38
  29. package/src/services/tiia/v20190529/tiia_client.ts +10 -5
  30. package/src/services/tiia/v20190529/tiia_models.ts +2 -1
  31. package/src/services/tione/v20211111/tione_client.ts +11 -4
  32. package/src/services/tione/v20211111/tione_models.ts +203 -55
  33. package/src/services/tiw/v20190919/tiw_client.ts +16 -8
  34. package/src/services/tse/v20201207/tse_client.ts +7 -4
  35. package/src/services/tse/v20201207/tse_models.ts +194 -123
  36. package/src/services/tsf/v20180326/tsf_client.ts +1 -1
  37. package/src/services/tsf/v20180326/tsf_models.ts +1 -1
  38. package/src/services/vod/v20180717/vod_models.ts +28 -28
  39. package/src/services/vpc/v20170312/vpc_client.ts +3 -3
  40. package/src/services/vpc/v20170312/vpc_models.ts +52 -32
  41. package/tencentcloud/common/sdk_version.d.ts +1 -1
  42. package/tencentcloud/common/sdk_version.js +1 -1
  43. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +11 -10
  44. package/tencentcloud/services/asr/v20190614/asr_client.js +11 -10
  45. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +48 -17
  46. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +3 -3
  47. package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +1 -1
  48. package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +1 -1
  49. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +1 -1
  50. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +13 -1
  51. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +10 -1
  52. package/tencentcloud/services/cfw/v20190904/cfw_client.js +13 -0
  53. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +145 -47
  54. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +15 -5
  55. package/tencentcloud/services/csip/v20221121/csip_client.d.ts +17 -1
  56. package/tencentcloud/services/csip/v20221121/csip_client.js +24 -0
  57. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +652 -18
  58. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +19 -3
  59. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +27 -3
  60. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +436 -99
  61. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +27 -23
  62. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +47 -2
  63. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +7 -2
  64. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +10 -7
  65. package/tencentcloud/services/ess/v20201111/ess_client.js +10 -7
  66. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +40 -25
  67. package/tencentcloud/services/live/v20180801/live_client.d.ts +5 -1
  68. package/tencentcloud/services/live/v20180801/live_client.js +6 -0
  69. package/tencentcloud/services/live/v20180801/live_models.d.ts +44 -0
  70. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
  71. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +189 -38
  72. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +9 -4
  73. package/tencentcloud/services/tiia/v20190529/tiia_client.js +9 -4
  74. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +2 -1
  75. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +5 -3
  76. package/tencentcloud/services/tione/v20211111/tione_client.js +5 -3
  77. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +198 -55
  78. package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +12 -4
  79. package/tencentcloud/services/tiw/v20190919/tiw_client.js +12 -4
  80. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +1 -1
  81. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +191 -123
  82. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
  83. package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
  84. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -1
  85. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +28 -28
  86. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +3 -3
  87. package/tencentcloud/services/vpc/v20170312/vpc_client.js +3 -3
  88. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +52 -32
  89. package/test/cfw.v20190904.test.js +20 -0
  90. package/test/csip.v20221121.test.js +40 -0
  91. package/test/dbbrain.v20210527.test.js +42 -2
  92. package/test/live.v20180801.test.js +10 -0
@@ -3309,7 +3309,7 @@ export interface CreateTrafficPackagesResponse {
3309
3309
  */
3310
3310
  export interface ModifySecurityGroupAttributeRequest {
3311
3311
  /**
3312
- * 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。
3312
+ * 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
3313
3313
  */
3314
3314
  SecurityGroupId: string;
3315
3315
  /**
@@ -4584,7 +4584,7 @@ export interface DescribeGatewayFlowQosResponse {
4584
4584
  */
4585
4585
  export interface ModifySecurityGroupPoliciesRequest {
4586
4586
  /**
4587
- * 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。
4587
+ * 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
4588
4588
  */
4589
4589
  SecurityGroupId: string;
4590
4590
  /**
@@ -5374,35 +5374,35 @@ export interface NetDetect {
5374
5374
  /**
5375
5375
  * `VPC`实例`ID`。形如:`vpc-12345678`
5376
5376
  */
5377
- VpcId: string;
5377
+ VpcId?: string;
5378
5378
  /**
5379
5379
  * `VPC`实例名称。
5380
5380
  */
5381
- VpcName: string;
5381
+ VpcName?: string;
5382
5382
  /**
5383
5383
  * 子网实例ID。形如:subnet-12345678。
5384
5384
  */
5385
- SubnetId: string;
5385
+ SubnetId?: string;
5386
5386
  /**
5387
5387
  * 子网实例名称。
5388
5388
  */
5389
- SubnetName: string;
5389
+ SubnetName?: string;
5390
5390
  /**
5391
5391
  * 网络探测实例ID。形如:netd-12345678。
5392
5392
  */
5393
- NetDetectId: string;
5393
+ NetDetectId?: string;
5394
5394
  /**
5395
5395
  * 网络探测名称,最大长度不能超过60个字节。
5396
5396
  */
5397
- NetDetectName: string;
5397
+ NetDetectName?: string;
5398
5398
  /**
5399
5399
  * 探测目的IPv4地址数组,最多两个。
5400
5400
  */
5401
- DetectDestinationIp: Array<string>;
5401
+ DetectDestinationIp?: Array<string>;
5402
5402
  /**
5403
5403
  * 系统自动分配的探测源IPv4数组。长度为2。
5404
5404
  */
5405
- DetectSourceIp: Array<string>;
5405
+ DetectSourceIp?: Array<string>;
5406
5406
  /**
5407
5407
  * 下一跳类型,目前我们支持的类型有:
5408
5408
  VPN:VPN网关;
@@ -5413,7 +5413,7 @@ export interface NetDetect {
5413
5413
  CCN:云联网网关;
5414
5414
  NONEXTHOP:无下一跳;
5415
5415
  */
5416
- NextHopType: string;
5416
+ NextHopType?: string;
5417
5417
  /**
5418
5418
  * 下一跳目的网关,取值与“下一跳类型”相关:
5419
5419
  下一跳类型为VPN,取值VPN网关ID,形如:vpngw-12345678;
@@ -5422,24 +5422,24 @@ export interface NetDetect {
5422
5422
  下一跳类型为NAT,取值Nat网关,形如:nat-12345678;
5423
5423
  下一跳类型为NORMAL_CVM,取值云服务器IPv4地址,形如:10.0.0.12;
5424
5424
  下一跳类型为CCN,取值云联网ID,形如:ccn-12345678;
5425
- 下一跳类型为NONEXTHOP,指定网络探测为无下一跳的网络探测;
5425
+ 下一跳类型为NONEXTHOP,指定网络探测为无下一跳的网络探测,添加和修改时,不需要指定值,查询时值为空字符串;
5426
5426
  */
5427
- NextHopDestination: string;
5427
+ NextHopDestination?: string;
5428
5428
  /**
5429
5429
  * 下一跳网关名称。
5430
5430
  注意:此字段可能返回 null,表示取不到有效值。
5431
5431
  */
5432
- NextHopName: string;
5432
+ NextHopName?: string;
5433
5433
  /**
5434
5434
  * 网络探测描述。
5435
5435
  注意:此字段可能返回 null,表示取不到有效值。
5436
5436
  */
5437
- NetDetectDescription: string;
5437
+ NetDetectDescription?: string;
5438
5438
  /**
5439
5439
  * 创建时间。
5440
5440
  注意:此字段可能返回 null,表示取不到有效值。
5441
5441
  */
5442
- CreateTime: string;
5442
+ CreateTime?: string;
5443
5443
  }
5444
5444
  /**
5445
5445
  * 修改VPN状态参数
@@ -5498,7 +5498,7 @@ export interface ResumeSnapshotInstanceRequest {
5498
5498
  */
5499
5499
  export interface ReplaceSecurityGroupPolicyRequest {
5500
5500
  /**
5501
- * 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。
5501
+ * 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
5502
5502
  */
5503
5503
  SecurityGroupId: string;
5504
5504
  /**
@@ -7457,6 +7457,10 @@ export interface CreateNetworkInterfaceRequest {
7457
7457
  * 网卡trunking模式设置,Enable-开启,Disable--关闭,默认关闭。
7458
7458
  */
7459
7459
  TrunkingFlag?: string;
7460
+ /**
7461
+ * 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
7462
+ */
7463
+ ClientToken?: string;
7460
7464
  }
7461
7465
  /**
7462
7466
  * 后付费共享带宽包的当前计费用量
@@ -7977,6 +7981,10 @@ export interface CreateAndAttachNetworkInterfaceRequest {
7977
7981
  * 绑定类型:0 标准型 1 扩展型。
7978
7982
  */
7979
7983
  AttachType?: number;
7984
+ /**
7985
+ * 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
7986
+ */
7987
+ ClientToken?: string;
7980
7988
  }
7981
7989
  /**
7982
7990
  * DeleteVpcEndPoint返回参数结构体
@@ -8661,7 +8669,7 @@ export interface CcnInstance {
8661
8669
  */
8662
8670
  export interface DeleteSecurityGroupPoliciesRequest {
8663
8671
  /**
8664
- * 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。
8672
+ * 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
8665
8673
  */
8666
8674
  SecurityGroupId: string;
8667
8675
  /**
@@ -9455,7 +9463,7 @@ export interface DescribeRouteTablesRequest {
9455
9463
  */
9456
9464
  Offset?: string;
9457
9465
  /**
9458
- * 请求对象个数。
9466
+ * 返回数量,默认为20,最大值为100。
9459
9467
  */
9460
9468
  Limit?: string;
9461
9469
  }
@@ -10708,7 +10716,7 @@ export interface DescribeIp6TranslatorsResponse {
10708
10716
  */
10709
10717
  export interface CreateSecurityGroupPoliciesRequest {
10710
10718
  /**
10711
- * 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。
10719
+ * 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
10712
10720
  */
10713
10721
  SecurityGroupId: string;
10714
10722
  /**
@@ -11595,27 +11603,27 @@ export interface RouteTable {
11595
11603
  /**
11596
11604
  * VPC实例ID。
11597
11605
  */
11598
- VpcId: string;
11606
+ VpcId?: string;
11599
11607
  /**
11600
11608
  * 路由表实例ID,例如:rtb-azd4dt1c。
11601
11609
  */
11602
- RouteTableId: string;
11610
+ RouteTableId?: string;
11603
11611
  /**
11604
11612
  * 路由表名称。
11605
11613
  */
11606
- RouteTableName: string;
11614
+ RouteTableName?: string;
11607
11615
  /**
11608
11616
  * 路由表关联关系。
11609
11617
  */
11610
- AssociationSet: Array<RouteTableAssociation>;
11618
+ AssociationSet?: Array<RouteTableAssociation>;
11611
11619
  /**
11612
11620
  * IPv4路由策略集合。
11613
11621
  */
11614
- RouteSet: Array<Route>;
11622
+ RouteSet?: Array<Route>;
11615
11623
  /**
11616
11624
  * 是否默认路由表。
11617
11625
  */
11618
- Main: boolean;
11626
+ Main?: boolean;
11619
11627
  /**
11620
11628
  * 创建时间。
11621
11629
  */
@@ -11623,12 +11631,12 @@ export interface RouteTable {
11623
11631
  /**
11624
11632
  * 标签键值对。
11625
11633
  */
11626
- TagSet: Array<Tag>;
11634
+ TagSet?: Array<Tag>;
11627
11635
  /**
11628
11636
  * local路由是否发布云联网。
11629
11637
  注意:此字段可能返回 null,表示取不到有效值。
11630
11638
  */
11631
- LocalCidrForCcn: Array<CidrForCcn>;
11639
+ LocalCidrForCcn?: Array<CidrForCcn>;
11632
11640
  }
11633
11641
  /**
11634
11642
  * DescribeVpcEndPointServiceWhiteList请求参数结构体
@@ -11794,6 +11802,10 @@ export interface AssignPrivateIpAddressesRequest {
11794
11802
  * IP服务质量等级,和SecondaryPrivateIpAddressCount配合使用,可选值:PT、AU、AG、DEFAULT,分别代表云金、云银、云铜、默认四个等级。
11795
11803
  */
11796
11804
  QosLevel?: string;
11805
+ /**
11806
+ * 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
11807
+ */
11808
+ ClientToken?: string;
11797
11809
  }
11798
11810
  /**
11799
11811
  * DescribeSnapshotAttachedInstances返回参数结构体
@@ -12446,6 +12458,10 @@ export interface DetachNetworkInterfaceRequest {
12446
12458
  * CVM实例ID。形如:ins-r8hr2upy。
12447
12459
  */
12448
12460
  InstanceId: string;
12461
+ /**
12462
+ * 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
12463
+ */
12464
+ ClientToken?: string;
12449
12465
  }
12450
12466
  /**
12451
12467
  * IPV6转换规则
@@ -12607,6 +12623,10 @@ export interface AttachNetworkInterfaceRequest {
12607
12623
  * 网卡的挂载类型:0 标准型,1扩展型,默认值0。
12608
12624
  */
12609
12625
  AttachType?: number;
12626
+ /**
12627
+ * 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
12628
+ */
12629
+ ClientToken?: string;
12610
12630
  }
12611
12631
  /**
12612
12632
  * DescribeCcnRoutes返回参数结构体
@@ -13139,7 +13159,7 @@ export interface CreateCustomerGatewayRequest {
13139
13159
  */
13140
13160
  export interface DeleteSecurityGroupRequest {
13141
13161
  /**
13142
- * 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。
13162
+ * 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
13143
13163
  */
13144
13164
  SecurityGroupId: string;
13145
13165
  }
@@ -13289,7 +13309,7 @@ export interface CreateSecurityGroupRequest {
13289
13309
  */
13290
13310
  GroupDescription: string;
13291
13311
  /**
13292
- * 项目ID,默认0。可在qcloud控制台项目管理页面查询到。
13312
+ * 项目ID,默认0。可在<a href="https://console.cloud.tencent.com/project">控制台项目管理页面</a>查询到。
13293
13313
  */
13294
13314
  ProjectId?: string;
13295
13315
  /**
@@ -13633,7 +13653,7 @@ export interface CreateSecurityGroupWithPoliciesRequest {
13633
13653
  */
13634
13654
  GroupDescription: string;
13635
13655
  /**
13636
- * 项目ID,默认0。可在<a href="https://console.cloud.tencent.com/project">qcloud控制台项目管理页面</a>查询到。
13656
+ * 项目ID,默认0。可在<a href="https://console.cloud.tencent.com/project">控制台项目管理页面</a>查询到。
13637
13657
  */
13638
13658
  ProjectId?: string;
13639
13659
  /**
@@ -13697,7 +13717,7 @@ export interface DeleteServiceTemplateRequest {
13697
13717
  */
13698
13718
  export interface DescribeSecurityGroupAssociationStatisticsRequest {
13699
13719
  /**
13700
- * 安全实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。
13720
+ * 安全实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
13701
13721
  */
13702
13722
  SecurityGroupIds: Array<string>;
13703
13723
  }
@@ -158,6 +158,16 @@ it("cfw.v20190904.DeleteAllAccessControlRule", async function () {
158
158
  }
159
159
  })
160
160
 
161
+ it("cfw.v20190904.ModifyEWRuleStatus", async function () {
162
+ try {
163
+ const data = await client.ModifyEWRuleStatus({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
161
171
  it("cfw.v20190904.DescribeSecurityGroupList", async function () {
162
172
  try {
163
173
  const data = await client.DescribeSecurityGroupList({})
@@ -588,6 +598,16 @@ it("cfw.v20190904.DescribeResourceGroup", async function () {
588
598
  }
589
599
  })
590
600
 
601
+ it("cfw.v20190904.CreateBlockIgnoreRuleList", async function () {
602
+ try {
603
+ const data = await client.CreateBlockIgnoreRuleList({})
604
+ expect(data).to.be.ok
605
+ } catch(error) {
606
+ expect(error.requestId).to.be.ok
607
+ expect(error.code).to.be.ok
608
+ }
609
+ })
610
+
591
611
  it("cfw.v20190904.DescribeEnterpriseSGRuleProgress", async function () {
592
612
  try {
593
613
  const data = await client.DescribeEnterpriseSGRuleProgress({})
@@ -18,6 +18,26 @@ const client = new tencentcloud.csip.v20221121.Client({
18
18
  })
19
19
  describe("csip.v20221121.test.js", function () {
20
20
 
21
+ it("csip.v20221121.DescribeTaskLogURL", async function () {
22
+ try {
23
+ const data = await client.DescribeTaskLogURL({})
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
+
31
+ it("csip.v20221121.DescribeTaskLogList", async function () {
32
+ try {
33
+ const data = await client.DescribeTaskLogList({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
21
41
  it("csip.v20221121.DescribeRiskCenterAssetViewVULRiskList", async function () {
22
42
  try {
23
43
  const data = await client.DescribeRiskCenterAssetViewVULRiskList({})
@@ -88,6 +108,16 @@ it("csip.v20221121.DescribeDomainAssets", async function () {
88
108
  }
89
109
  })
90
110
 
111
+ it("csip.v20221121.DescribeSearchBugInfo", async function () {
112
+ try {
113
+ const data = await client.DescribeSearchBugInfo({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
91
121
  it("csip.v20221121.DescribePublicIpAssets", async function () {
92
122
  try {
93
123
  const data = await client.DescribePublicIpAssets({})
@@ -158,6 +188,16 @@ it("csip.v20221121.CreateRiskCenterScanTask", async function () {
158
188
  }
159
189
  })
160
190
 
191
+ it("csip.v20221121.DescribeScanTaskList", async function () {
192
+ try {
193
+ const data = await client.DescribeScanTaskList({})
194
+ expect(data).to.be.ok
195
+ } catch(error) {
196
+ expect(error.requestId).to.be.ok
197
+ expect(error.code).to.be.ok
198
+ }
199
+ })
200
+
161
201
  it("csip.v20221121.DescribeDbAssets", async function () {
162
202
  try {
163
203
  const data = await client.DescribeDbAssets({})
@@ -18,6 +18,16 @@ const client = new tencentcloud.dbbrain.v20210527.Client({
18
18
  })
19
19
  describe("dbbrain.v20210527.test.js", function () {
20
20
 
21
+ it("dbbrain.v20210527.DescribeTopSpaceTableTimeSeries", async function () {
22
+ try {
23
+ const data = await client.DescribeTopSpaceTableTimeSeries({})
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("dbbrain.v20210527.DescribeSecurityAuditLogDownloadUrls", async function () {
22
32
  try {
23
33
  const data = await client.DescribeSecurityAuditLogDownloadUrls({})
@@ -108,6 +118,16 @@ it("dbbrain.v20210527.DescribeDBDiagReportTasks", async function () {
108
118
  }
109
119
  })
110
120
 
121
+ it("dbbrain.v20210527.UpdateMonitorSwitch", async function () {
122
+ try {
123
+ const data = await client.UpdateMonitorSwitch({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
111
131
  it("dbbrain.v20210527.ModifyDiagDBInstanceConf", async function () {
112
132
  try {
113
133
  const data = await client.ModifyDiagDBInstanceConf({})
@@ -428,6 +448,16 @@ it("dbbrain.v20210527.DeleteSqlFilters", async function () {
428
448
  }
429
449
  })
430
450
 
451
+ it("dbbrain.v20210527.ModifyAlarmPolicy", async function () {
452
+ try {
453
+ const data = await client.ModifyAlarmPolicy({})
454
+ expect(data).to.be.ok
455
+ } catch(error) {
456
+ expect(error.requestId).to.be.ok
457
+ expect(error.code).to.be.ok
458
+ }
459
+ })
460
+
431
461
  it("dbbrain.v20210527.OpenAuditService", async function () {
432
462
  try {
433
463
  const data = await client.OpenAuditService({})
@@ -468,6 +498,16 @@ it("dbbrain.v20210527.CreateKillTask", async function () {
468
498
  }
469
499
  })
470
500
 
501
+ it("dbbrain.v20210527.UpdateAgentSwitch", async function () {
502
+ try {
503
+ const data = await client.UpdateAgentSwitch({})
504
+ expect(data).to.be.ok
505
+ } catch(error) {
506
+ expect(error.requestId).to.be.ok
507
+ expect(error.code).to.be.ok
508
+ }
509
+ })
510
+
471
511
  it("dbbrain.v20210527.DescribeNoPrimaryKeyTables", async function () {
472
512
  try {
473
513
  const data = await client.DescribeNoPrimaryKeyTables({})
@@ -498,9 +538,9 @@ it("dbbrain.v20210527.DescribeSqlFilters", async function () {
498
538
  }
499
539
  })
500
540
 
501
- it("dbbrain.v20210527.DescribeTopSpaceTableTimeSeries", async function () {
541
+ it("dbbrain.v20210527.DescribeAlarmTemplate", async function () {
502
542
  try {
503
- const data = await client.DescribeTopSpaceTableTimeSeries({})
543
+ const data = await client.DescribeAlarmTemplate({})
504
544
  expect(data).to.be.ok
505
545
  } catch(error) {
506
546
  expect(error.requestId).to.be.ok
@@ -668,6 +668,16 @@ it("live.v20180801.ModifyLiveDomainCertBindings", async function () {
668
668
  }
669
669
  })
670
670
 
671
+ it("live.v20180801.DescribeDeliverLogDownList", async function () {
672
+ try {
673
+ const data = await client.DescribeDeliverLogDownList({})
674
+ expect(data).to.be.ok
675
+ } catch(error) {
676
+ expect(error.requestId).to.be.ok
677
+ expect(error.code).to.be.ok
678
+ }
679
+ })
680
+
671
681
  it("live.v20180801.DescribeLiveDomains", async function () {
672
682
  try {
673
683
  const data = await client.DescribeLiveDomains({})