tencentcloud-sdk-nodejs 4.0.669 → 4.0.671
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 +668 -0
- package/SERVICE_CHANGELOG.md +740 -84
- package/package.json +1 -1
- package/products.md +32 -31
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/index.ts +2 -2
- package/src/services/billing/v20180709/billing_client.ts +4 -2
- package/src/services/billing/v20180709/billing_models.ts +118 -46
- package/src/services/bma/index.ts +2 -2
- package/src/services/car/v20220110/car_client.ts +2 -2
- package/src/services/car/v20220110/car_models.ts +7 -0
- package/src/services/ccc/v20200210/ccc_models.ts +4 -0
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/cfg/v20210820/cfg_models.ts +20 -10
- package/src/services/chdfs/index.ts +2 -2
- package/src/services/cls/v20201016/cls_client.ts +3 -0
- package/src/services/cls/v20201016/cls_models.ts +166 -27
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +2 -2
- package/src/services/dcdb/v20180411/dcdb_client.ts +7 -22
- package/src/services/dcdb/v20180411/dcdb_models.ts +0 -98
- package/src/services/dlc/v20210125/dlc_models.ts +1 -1
- package/src/services/dsgc/index.ts +5 -0
- package/src/services/dsgc/v20190723/dsgc_client.ts +44 -0
- package/src/services/dsgc/v20190723/dsgc_models.ts +106 -0
- package/src/services/dsgc/v20190723/index.ts +6 -0
- package/src/services/dts/index.ts +2 -2
- package/src/services/eb/v20210416/eb_client.ts +1 -1
- package/src/services/eb/v20210416/eb_models.ts +10 -1
- package/src/services/eis/index.ts +2 -2
- package/src/services/ess/v20201111/ess_models.ts +27 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +15 -2
- package/src/services/iai/index.ts +2 -2
- package/src/services/ims/index.ts +2 -2
- package/src/services/index.ts +1 -0
- package/src/services/iotcloud/index.ts +2 -2
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +16 -3
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +180 -82
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/lcic/v20220817/lcic_models.ts +25 -1
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +197 -35
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +617 -112
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/mongodb/index.ts +2 -2
- package/src/services/mps/v20190612/mps_client.ts +1 -0
- package/src/services/mps/v20190612/mps_models.ts +37 -8
- package/src/services/privatedns/v20201028/privatedns_models.ts +11 -11
- package/src/services/pts/v20210728/pts_models.ts +4 -0
- package/src/services/scf/v20180416/scf_client.ts +27 -0
- package/src/services/scf/v20180416/scf_models.ts +52 -0
- package/src/services/sms/index.ts +2 -2
- package/src/services/ssa/v20180608/ssa_models.ts +2 -2
- package/src/services/tdmq/v20200217/tdmq_models.ts +39 -24
- package/src/services/tem/index.ts +2 -2
- package/src/services/thpc/index.ts +4 -4
- package/src/services/tione/v20211111/tione_client.ts +1 -0
- package/src/services/tione/v20211111/tione_models.ts +162 -108
- package/src/services/tms/index.ts +2 -2
- package/src/services/tsf/v20180326/tsf_client.ts +1 -0
- package/src/services/tsf/v20180326/tsf_models.ts +74 -30
- package/src/services/tsw/index.ts +2 -2
- package/src/services/tts/v20190823/tts_models.ts +14 -6
- package/src/services/vm/index.ts +2 -2
- package/src/services/waf/v20180125/waf_client.ts +12 -0
- package/src/services/waf/v20180125/waf_models.ts +68 -32
- package/src/services/wedata/v20210820/wedata_models.ts +26 -21
- 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/billing/v20180709/billing_client.d.ts +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +116 -46
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/car/v20220110/car_client.d.ts +2 -2
- package/tencentcloud/services/car/v20220110/car_client.js +2 -2
- package/tencentcloud/services/car/v20220110/car_models.d.ts +7 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +20 -10
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +163 -27
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2 -2
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +3 -9
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +3 -11
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +0 -95
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1 -1
- package/tencentcloud/services/dsgc/index.d.ts +6 -0
- package/tencentcloud/services/dsgc/index.js +7 -0
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +14 -0
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +37 -0
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +87 -0
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.js +18 -0
- package/tencentcloud/services/dsgc/v20190723/index.d.ts +6 -0
- package/tencentcloud/services/dsgc/v20190723/index.js +9 -0
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +1 -1
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +10 -1
- package/tencentcloud/services/eis/index.d.ts +4 -4
- package/tencentcloud/services/eis/index.js +2 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +27 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +15 -2
- 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/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotcloud/index.d.ts +4 -4
- package/tencentcloud/services/iotcloud/index.js +2 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +177 -82
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +25 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +61 -9
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +90 -12
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +589 -116
- 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/mps/v20190612/mps_models.d.ts +36 -8
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +11 -11
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +4 -0
- package/tencentcloud/services/scf/v20180416/scf_client.d.ts +20 -1
- package/tencentcloud/services/scf/v20180416/scf_client.js +21 -0
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +50 -0
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +2 -2
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +39 -24
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/thpc/index.d.ts +6 -6
- package/tencentcloud/services/thpc/index.js +4 -4
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +161 -108
- package/tencentcloud/services/tms/index.d.ts +4 -4
- package/tencentcloud/services/tms/index.js +2 -2
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +73 -30
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +14 -6
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +66 -32
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +26 -21
- package/test/dcdb.v20180411.test.js +2 -12
- package/test/dsgc.v20190723.test.js +31 -0
- package/test/iotexplorer.v20190423.test.js +10 -0
- package/test/lighthouse.v20200324.test.js +138 -8
- package/test/scf.v20180416.test.js +10 -0
- package/test/waf.v20180125.test.js +10 -0
|
@@ -4478,97 +4478,97 @@ export interface UserFileDTO {
|
|
|
4478
4478
|
* 资源ID
|
|
4479
4479
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4480
4480
|
*/
|
|
4481
|
-
ResourceId
|
|
4481
|
+
ResourceId?: string;
|
|
4482
4482
|
/**
|
|
4483
4483
|
* 文件名
|
|
4484
4484
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4485
4485
|
*/
|
|
4486
|
-
FileName
|
|
4486
|
+
FileName?: string;
|
|
4487
4487
|
/**
|
|
4488
4488
|
* 文件类型,如 jar zip 等
|
|
4489
4489
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4490
4490
|
*/
|
|
4491
|
-
FileExtensionType
|
|
4491
|
+
FileExtensionType?: string;
|
|
4492
4492
|
/**
|
|
4493
4493
|
* 文件上传类型,资源管理为 resource
|
|
4494
4494
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4495
4495
|
*/
|
|
4496
|
-
FileUploadType
|
|
4496
|
+
FileUploadType?: string;
|
|
4497
4497
|
/**
|
|
4498
4498
|
* 文件MD5值
|
|
4499
4499
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4500
4500
|
*/
|
|
4501
|
-
Md5Value
|
|
4501
|
+
Md5Value?: string;
|
|
4502
4502
|
/**
|
|
4503
|
-
*
|
|
4503
|
+
* 创建时间
|
|
4504
4504
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4505
4505
|
*/
|
|
4506
|
-
CreateTime
|
|
4506
|
+
CreateTime?: string;
|
|
4507
4507
|
/**
|
|
4508
|
-
*
|
|
4508
|
+
* 更新时间
|
|
4509
4509
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4510
4510
|
*/
|
|
4511
|
-
UpdateTime
|
|
4511
|
+
UpdateTime?: string;
|
|
4512
4512
|
/**
|
|
4513
4513
|
* 文件大小,单位为字节
|
|
4514
4514
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4515
4515
|
*/
|
|
4516
|
-
Size
|
|
4516
|
+
Size?: number;
|
|
4517
4517
|
/**
|
|
4518
4518
|
* 本地路径
|
|
4519
4519
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4520
4520
|
*/
|
|
4521
|
-
LocalPath
|
|
4521
|
+
LocalPath?: string;
|
|
4522
4522
|
/**
|
|
4523
4523
|
* 本地临时路径
|
|
4524
4524
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4525
4525
|
*/
|
|
4526
|
-
LocalTmpPath
|
|
4526
|
+
LocalTmpPath?: string;
|
|
4527
4527
|
/**
|
|
4528
4528
|
* 远程路径
|
|
4529
4529
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4530
4530
|
*/
|
|
4531
|
-
RemotePath
|
|
4531
|
+
RemotePath?: string;
|
|
4532
4532
|
/**
|
|
4533
4533
|
* 文件拥有者名字
|
|
4534
4534
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4535
4535
|
*/
|
|
4536
|
-
OwnerName
|
|
4536
|
+
OwnerName?: string;
|
|
4537
4537
|
/**
|
|
4538
4538
|
* 文件拥有者uin
|
|
4539
4539
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4540
4540
|
*/
|
|
4541
|
-
Owner
|
|
4541
|
+
Owner?: string;
|
|
4542
4542
|
/**
|
|
4543
4543
|
* 文件深度
|
|
4544
4544
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4545
4545
|
*/
|
|
4546
|
-
PathDepth
|
|
4546
|
+
PathDepth?: string;
|
|
4547
4547
|
/**
|
|
4548
4548
|
* 项目ID
|
|
4549
4549
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4550
4550
|
*/
|
|
4551
|
-
ProjectId
|
|
4551
|
+
ProjectId?: string;
|
|
4552
4552
|
/**
|
|
4553
4553
|
* 附加信息
|
|
4554
4554
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4555
4555
|
*/
|
|
4556
|
-
ExtraInfo
|
|
4556
|
+
ExtraInfo?: string;
|
|
4557
4557
|
/**
|
|
4558
4558
|
* 本地临时压缩文件绝对路径
|
|
4559
4559
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4560
4560
|
*/
|
|
4561
|
-
ZipPath
|
|
4561
|
+
ZipPath?: string;
|
|
4562
4562
|
/**
|
|
4563
4563
|
* 文件所属存储桶
|
|
4564
4564
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4565
4565
|
*/
|
|
4566
|
-
Bucket
|
|
4566
|
+
Bucket?: string;
|
|
4567
4567
|
/**
|
|
4568
4568
|
* 文件所属存储桶的地域
|
|
4569
4569
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4570
4570
|
*/
|
|
4571
|
-
Region
|
|
4571
|
+
Region?: string;
|
|
4572
4572
|
}
|
|
4573
4573
|
/**
|
|
4574
4574
|
* DeleteCustomFunction返回参数结构体
|
|
@@ -6783,6 +6783,11 @@ export interface RuleGroup {
|
|
|
6783
6783
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6784
6784
|
*/
|
|
6785
6785
|
InstanceId?: string;
|
|
6786
|
+
/**
|
|
6787
|
+
* 创建时间
|
|
6788
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6789
|
+
*/
|
|
6790
|
+
CreateTime?: string;
|
|
6786
6791
|
}
|
|
6787
6792
|
/**
|
|
6788
6793
|
* DescribeTableQualityDetails请求参数结构体
|
|
@@ -308,9 +308,9 @@ it("dcdb.v20180411.DescribeDCDBInstanceDetail", async function () {
|
|
|
308
308
|
}
|
|
309
309
|
})
|
|
310
310
|
|
|
311
|
-
it("dcdb.v20180411.
|
|
311
|
+
it("dcdb.v20180411.KillSession", async function () {
|
|
312
312
|
try {
|
|
313
|
-
const data = await client.
|
|
313
|
+
const data = await client.KillSession({})
|
|
314
314
|
expect(data).to.be.ok
|
|
315
315
|
} catch(error) {
|
|
316
316
|
expect(error.requestId).to.be.ok
|
|
@@ -398,16 +398,6 @@ it("dcdb.v20180411.ModifyInstanceNetwork", async function () {
|
|
|
398
398
|
}
|
|
399
399
|
})
|
|
400
400
|
|
|
401
|
-
it("dcdb.v20180411.KillSession", async function () {
|
|
402
|
-
try {
|
|
403
|
-
const data = await client.KillSession({})
|
|
404
|
-
expect(data).to.be.ok
|
|
405
|
-
} catch(error) {
|
|
406
|
-
expect(error.requestId).to.be.ok
|
|
407
|
-
expect(error.code).to.be.ok
|
|
408
|
-
}
|
|
409
|
-
})
|
|
410
|
-
|
|
411
401
|
it("dcdb.v20180411.OpenDBExtranetAccess", async function () {
|
|
412
402
|
try {
|
|
413
403
|
const data = await client.OpenDBExtranetAccess({})
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.dsgc.v20190723.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("dsgc.v20190723.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("dsgc.v20190723.CreateDSPADbMetaResources", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateDSPADbMetaResources({})
|
|
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
|
+
})
|
|
@@ -828,6 +828,16 @@ it("iotexplorer.v20190423.GenSingleDeviceSignatureOfPublic", async function () {
|
|
|
828
828
|
}
|
|
829
829
|
})
|
|
830
830
|
|
|
831
|
+
it("iotexplorer.v20190423.DescribeInstance", async function () {
|
|
832
|
+
try {
|
|
833
|
+
const data = await client.DescribeInstance({})
|
|
834
|
+
expect(data).to.be.ok
|
|
835
|
+
} catch(error) {
|
|
836
|
+
expect(error.requestId).to.be.ok
|
|
837
|
+
expect(error.code).to.be.ok
|
|
838
|
+
}
|
|
839
|
+
})
|
|
840
|
+
|
|
831
841
|
it("iotexplorer.v20190423.ModifyLoRaFrequency", async function () {
|
|
832
842
|
try {
|
|
833
843
|
const data = await client.ModifyLoRaFrequency({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.lighthouse.v20200324.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("lighthouse.v20200324.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("lighthouse.v20200324.ModifyFirewallTemplate", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyFirewallTemplate({})
|
|
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("lighthouse.v20200324.DeleteBlueprints", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DeleteBlueprints({})
|
|
@@ -148,6 +158,16 @@ it("lighthouse.v20200324.RestartDockerContainers", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
161
|
+
it("lighthouse.v20200324.DescribeFirewallTemplateRules", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeFirewallTemplateRules({})
|
|
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
|
+
|
|
151
171
|
it("lighthouse.v20200324.ModifyDiskBackupsAttribute", async function () {
|
|
152
172
|
try {
|
|
153
173
|
const data = await client.ModifyDiskBackupsAttribute({})
|
|
@@ -248,6 +268,16 @@ it("lighthouse.v20200324.DescribeDiskDiscount", async function () {
|
|
|
248
268
|
}
|
|
249
269
|
})
|
|
250
270
|
|
|
271
|
+
it("lighthouse.v20200324.DescribeFirewallTemplateQuota", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeFirewallTemplateQuota({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
251
281
|
it("lighthouse.v20200324.DescribeAllScenes", async function () {
|
|
252
282
|
try {
|
|
253
283
|
const data = await client.DescribeAllScenes({})
|
|
@@ -258,6 +288,16 @@ it("lighthouse.v20200324.DescribeAllScenes", async function () {
|
|
|
258
288
|
}
|
|
259
289
|
})
|
|
260
290
|
|
|
291
|
+
it("lighthouse.v20200324.CreateFirewallTemplate", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.CreateFirewallTemplate({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
261
301
|
it("lighthouse.v20200324.AttachDisks", async function () {
|
|
262
302
|
try {
|
|
263
303
|
const data = await client.AttachDisks({})
|
|
@@ -288,6 +328,16 @@ it("lighthouse.v20200324.AssociateInstancesKeyPairs", async function () {
|
|
|
288
328
|
}
|
|
289
329
|
})
|
|
290
330
|
|
|
331
|
+
it("lighthouse.v20200324.DeleteFirewallTemplate", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.DeleteFirewallTemplate({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
291
341
|
it("lighthouse.v20200324.DisassociateInstancesKeyPairs", async function () {
|
|
292
342
|
try {
|
|
293
343
|
const data = await client.DisassociateInstancesKeyPairs({})
|
|
@@ -328,9 +378,9 @@ it("lighthouse.v20200324.DescribeInstanceLoginKeyPairAttribute", async function
|
|
|
328
378
|
}
|
|
329
379
|
})
|
|
330
380
|
|
|
331
|
-
it("lighthouse.v20200324.
|
|
381
|
+
it("lighthouse.v20200324.DescribeInstancesDeniedActions", async function () {
|
|
332
382
|
try {
|
|
333
|
-
const data = await client.
|
|
383
|
+
const data = await client.DescribeInstancesDeniedActions({})
|
|
334
384
|
expect(data).to.be.ok
|
|
335
385
|
} catch(error) {
|
|
336
386
|
expect(error.requestId).to.be.ok
|
|
@@ -348,9 +398,9 @@ it("lighthouse.v20200324.InquirePriceCreateInstances", async function () {
|
|
|
348
398
|
}
|
|
349
399
|
})
|
|
350
400
|
|
|
351
|
-
it("lighthouse.v20200324.
|
|
401
|
+
it("lighthouse.v20200324.CreateInstanceSnapshot", async function () {
|
|
352
402
|
try {
|
|
353
|
-
const data = await client.
|
|
403
|
+
const data = await client.CreateInstanceSnapshot({})
|
|
354
404
|
expect(data).to.be.ok
|
|
355
405
|
} catch(error) {
|
|
356
406
|
expect(error.requestId).to.be.ok
|
|
@@ -418,9 +468,9 @@ it("lighthouse.v20200324.TerminateDisks", async function () {
|
|
|
418
468
|
}
|
|
419
469
|
})
|
|
420
470
|
|
|
421
|
-
it("lighthouse.v20200324.
|
|
471
|
+
it("lighthouse.v20200324.CreateFirewallTemplateRules", async function () {
|
|
422
472
|
try {
|
|
423
|
-
const data = await client.
|
|
473
|
+
const data = await client.CreateFirewallTemplateRules({})
|
|
424
474
|
expect(data).to.be.ok
|
|
425
475
|
} catch(error) {
|
|
426
476
|
expect(error.requestId).to.be.ok
|
|
@@ -598,6 +648,16 @@ it("lighthouse.v20200324.CreateDisks", async function () {
|
|
|
598
648
|
}
|
|
599
649
|
})
|
|
600
650
|
|
|
651
|
+
it("lighthouse.v20200324.ApplyFirewallTemplate", async function () {
|
|
652
|
+
try {
|
|
653
|
+
const data = await client.ApplyFirewallTemplate({})
|
|
654
|
+
expect(data).to.be.ok
|
|
655
|
+
} catch(error) {
|
|
656
|
+
expect(error.requestId).to.be.ok
|
|
657
|
+
expect(error.code).to.be.ok
|
|
658
|
+
}
|
|
659
|
+
})
|
|
660
|
+
|
|
601
661
|
it("lighthouse.v20200324.DescribeSnapshots", async function () {
|
|
602
662
|
try {
|
|
603
663
|
const data = await client.DescribeSnapshots({})
|
|
@@ -618,6 +678,16 @@ it("lighthouse.v20200324.DescribeDiskBackupsDeniedActions", async function () {
|
|
|
618
678
|
}
|
|
619
679
|
})
|
|
620
680
|
|
|
681
|
+
it("lighthouse.v20200324.RunDockerContainers", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.RunDockerContainers({})
|
|
684
|
+
expect(data).to.be.ok
|
|
685
|
+
} catch(error) {
|
|
686
|
+
expect(error.requestId).to.be.ok
|
|
687
|
+
expect(error.code).to.be.ok
|
|
688
|
+
}
|
|
689
|
+
})
|
|
690
|
+
|
|
621
691
|
it("lighthouse.v20200324.DescribeInstanceVncUrl", async function () {
|
|
622
692
|
try {
|
|
623
693
|
const data = await client.DescribeInstanceVncUrl({})
|
|
@@ -668,6 +738,16 @@ it("lighthouse.v20200324.ModifyFirewallRuleDescription", async function () {
|
|
|
668
738
|
}
|
|
669
739
|
})
|
|
670
740
|
|
|
741
|
+
it("lighthouse.v20200324.ResetAttachCcn", async function () {
|
|
742
|
+
try {
|
|
743
|
+
const data = await client.ResetAttachCcn({})
|
|
744
|
+
expect(data).to.be.ok
|
|
745
|
+
} catch(error) {
|
|
746
|
+
expect(error.requestId).to.be.ok
|
|
747
|
+
expect(error.code).to.be.ok
|
|
748
|
+
}
|
|
749
|
+
})
|
|
750
|
+
|
|
671
751
|
it("lighthouse.v20200324.RebootInstances", async function () {
|
|
672
752
|
try {
|
|
673
753
|
const data = await client.RebootInstances({})
|
|
@@ -728,9 +808,19 @@ it("lighthouse.v20200324.DescribeInstancesDiskNum", async function () {
|
|
|
728
808
|
}
|
|
729
809
|
})
|
|
730
810
|
|
|
731
|
-
it("lighthouse.v20200324.
|
|
811
|
+
it("lighthouse.v20200324.DeleteFirewallTemplateRules", async function () {
|
|
732
812
|
try {
|
|
733
|
-
const data = await client.
|
|
813
|
+
const data = await client.DeleteFirewallTemplateRules({})
|
|
814
|
+
expect(data).to.be.ok
|
|
815
|
+
} catch(error) {
|
|
816
|
+
expect(error.requestId).to.be.ok
|
|
817
|
+
expect(error.code).to.be.ok
|
|
818
|
+
}
|
|
819
|
+
})
|
|
820
|
+
|
|
821
|
+
it("lighthouse.v20200324.DescribeFirewallTemplateRuleQuota", async function () {
|
|
822
|
+
try {
|
|
823
|
+
const data = await client.DescribeFirewallTemplateRuleQuota({})
|
|
734
824
|
expect(data).to.be.ok
|
|
735
825
|
} catch(error) {
|
|
736
826
|
expect(error.requestId).to.be.ok
|
|
@@ -868,6 +958,26 @@ it("lighthouse.v20200324.DeleteSnapshots", async function () {
|
|
|
868
958
|
}
|
|
869
959
|
})
|
|
870
960
|
|
|
961
|
+
it("lighthouse.v20200324.DescribeFirewallTemplateApplyRecords", async function () {
|
|
962
|
+
try {
|
|
963
|
+
const data = await client.DescribeFirewallTemplateApplyRecords({})
|
|
964
|
+
expect(data).to.be.ok
|
|
965
|
+
} catch(error) {
|
|
966
|
+
expect(error.requestId).to.be.ok
|
|
967
|
+
expect(error.code).to.be.ok
|
|
968
|
+
}
|
|
969
|
+
})
|
|
970
|
+
|
|
971
|
+
it("lighthouse.v20200324.ResetFirewallTemplateRules", async function () {
|
|
972
|
+
try {
|
|
973
|
+
const data = await client.ResetFirewallTemplateRules({})
|
|
974
|
+
expect(data).to.be.ok
|
|
975
|
+
} catch(error) {
|
|
976
|
+
expect(error.requestId).to.be.ok
|
|
977
|
+
expect(error.code).to.be.ok
|
|
978
|
+
}
|
|
979
|
+
})
|
|
980
|
+
|
|
871
981
|
it("lighthouse.v20200324.DescribeResetInstanceBlueprints", async function () {
|
|
872
982
|
try {
|
|
873
983
|
const data = await client.DescribeResetInstanceBlueprints({})
|
|
@@ -938,4 +1048,24 @@ it("lighthouse.v20200324.CreateInstances", async function () {
|
|
|
938
1048
|
}
|
|
939
1049
|
})
|
|
940
1050
|
|
|
1051
|
+
it("lighthouse.v20200324.ReplaceFirewallTemplateRule", async function () {
|
|
1052
|
+
try {
|
|
1053
|
+
const data = await client.ReplaceFirewallTemplateRule({})
|
|
1054
|
+
expect(data).to.be.ok
|
|
1055
|
+
} catch(error) {
|
|
1056
|
+
expect(error.requestId).to.be.ok
|
|
1057
|
+
expect(error.code).to.be.ok
|
|
1058
|
+
}
|
|
1059
|
+
})
|
|
1060
|
+
|
|
1061
|
+
it("lighthouse.v20200324.DescribeFirewallTemplates", async function () {
|
|
1062
|
+
try {
|
|
1063
|
+
const data = await client.DescribeFirewallTemplates({})
|
|
1064
|
+
expect(data).to.be.ok
|
|
1065
|
+
} catch(error) {
|
|
1066
|
+
expect(error.requestId).to.be.ok
|
|
1067
|
+
expect(error.code).to.be.ok
|
|
1068
|
+
}
|
|
1069
|
+
})
|
|
1070
|
+
|
|
941
1071
|
})
|
|
@@ -328,6 +328,16 @@ it("scf.v20180416.ListLayerVersions", async function () {
|
|
|
328
328
|
}
|
|
329
329
|
})
|
|
330
330
|
|
|
331
|
+
it("scf.v20180416.UpdateTrigger", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.UpdateTrigger({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
331
341
|
it("scf.v20180416.GetReservedConcurrencyConfig", async function () {
|
|
332
342
|
try {
|
|
333
343
|
const data = await client.GetReservedConcurrencyConfig({})
|
|
@@ -108,6 +108,16 @@ it("waf.v20180125.CreateAccessExport", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("waf.v20180125.GetAttackTotalCount", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.GetAttackTotalCount({})
|
|
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
|
+
|
|
111
121
|
it("waf.v20180125.SearchAttackLog", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.SearchAttackLog({})
|