tencentcloud-sdk-nodejs 4.0.592 → 4.0.594
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 +774 -0
- package/SERVICE_CHANGELOG.md +804 -41
- package/package.json +1 -1
- package/products.md +56 -55
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_client.ts +14 -2
- package/src/services/asr/v20190614/asr_models.ts +100 -75
- package/src/services/car/v20220110/car_models.ts +16 -2
- package/src/services/cbs/v20170312/cbs_client.ts +1 -1
- package/src/services/cbs/v20170312/cbs_models.ts +8 -8
- package/src/services/ccc/v20200210/ccc_models.ts +6 -0
- package/src/services/cdb/v20170320/cdb_models.ts +6 -0
- package/src/services/cdc/v20201214/cdc_models.ts +2 -2
- package/src/services/cdn/v20180606/cdn_models.ts +6 -0
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +12 -1
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +35 -0
- package/src/services/csip/index.ts +5 -0
- package/src/services/csip/v20221121/csip_client.ts +138 -0
- package/src/services/csip/v20221121/csip_models.ts +1372 -0
- package/src/services/csip/v20221121/index.ts +6 -0
- package/src/services/cvm/v20170312/cvm_models.ts +5 -5
- package/src/services/cwp/v20180228/cwp_models.ts +61 -16
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +6 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +1 -1
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +20 -5
- package/src/services/ecdn/v20191012/ecdn_client.ts +3 -1
- package/src/services/ess/v20201111/ess_models.ts +21 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +11 -5
- package/src/services/ims/v20200713/ims_client.ts +2 -0
- package/src/services/ims/v20200713/ims_models.ts +58 -0
- package/src/services/ims/v20201229/ims_models.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +13 -1
- package/src/services/lcic/v20220817/lcic_client.ts +1 -1
- package/src/services/lcic/v20220817/lcic_models.ts +6 -4
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +20 -7
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +105 -8
- package/src/services/monitor/v20180724/monitor_models.ts +12 -0
- package/src/services/ms/v20180408/ms_client.ts +3 -72
- package/src/services/ms/v20180408/ms_models.ts +105 -600
- package/src/services/nlp/v20190408/nlp_client.ts +94 -42
- package/src/services/ocr/v20181119/ocr_client.ts +143 -3
- package/src/services/ocr/v20181119/ocr_models.ts +2653 -242
- package/src/services/redis/v20180412/redis_client.ts +2 -2
- package/src/services/redis/v20180412/redis_models.ts +92 -34
- package/src/services/ses/v20201002/ses_models.ts +4 -4
- package/src/services/ssa/v20180608/ssa_client.ts +57 -56
- package/src/services/ssa/v20180608/ssa_models.ts +1869 -1600
- package/src/services/tdmq/v20200217/tdmq_client.ts +43 -19
- package/src/services/tdmq/v20200217/tdmq_models.ts +126 -30
- package/src/services/teo/v20220901/teo_models.ts +6 -0
- package/src/services/thpc/v20230321/thpc_client.ts +13 -1
- package/src/services/thpc/v20230321/thpc_models.ts +40 -14
- package/src/services/tiia/v20190529/tiia_client.ts +0 -1
- package/src/services/tiia/v20190529/tiia_models.ts +5 -5
- package/src/services/tione/v20211111/tione_client.ts +2 -0
- package/src/services/tione/v20211111/tione_models.ts +40 -5
- package/src/services/trtc/v20190722/trtc_models.ts +2 -2
- package/src/services/vod/v20180717/vod_models.ts +4 -2
- package/src/services/waf/v20180125/waf_client.ts +2 -4
- package/src/services/waf/v20180125/waf_models.ts +17 -17
- package/src/services/wav/v20210129/wav_models.ts +3 -3
- package/src/services/wedata/v20210820/wedata_models.ts +5 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +5 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +6 -0
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +83 -61
- package/tencentcloud/services/car/v20220110/car_models.d.ts +14 -2
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +8 -8
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -0
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +5 -0
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +10 -1
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +30 -0
- package/tencentcloud/services/csip/index.d.ts +6 -0
- package/tencentcloud/services/csip/index.js +7 -0
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +42 -0
- package/tencentcloud/services/csip/v20221121/csip_client.js +79 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +1140 -0
- package/tencentcloud/services/csip/v20221121/csip_models.js +18 -0
- package/tencentcloud/services/csip/v20221121/index.d.ts +6 -0
- package/tencentcloud/services/csip/v20221121/index.js +9 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +5 -5
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +53 -16
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +17 -5
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +3 -1
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +3 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +18 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -5
- package/tencentcloud/services/ims/v20200713/ims_models.d.ts +50 -0
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +5 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +11 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +5 -3
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +7 -3
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +9 -3
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +89 -6
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -0
- package/tencentcloud/services/ms/v20180408/ms_client.d.ts +1 -26
- package/tencentcloud/services/ms/v20180408/ms_client.js +0 -33
- package/tencentcloud/services/ms/v20180408/ms_models.d.ts +87 -503
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +78 -26
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +78 -26
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +108 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +109 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2164 -196
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +2 -2
- package/tencentcloud/services/redis/v20180412/redis_client.js +2 -2
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +88 -30
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +4 -4
- package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +1 -1
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +1720 -1495
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +15 -7
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +20 -8
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +109 -28
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +5 -0
- package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +5 -1
- package/tencentcloud/services/thpc/v20230321/thpc_client.js +6 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +35 -12
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +0 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +0 -1
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +5 -5
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +35 -4
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +0 -2
- package/tencentcloud/services/waf/v20180125/waf_client.js +0 -2
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +17 -17
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +3 -3
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +4 -0
- package/test/asr.v20190614.test.js +10 -0
- package/test/csip.v20221121.test.js +101 -0
- package/test/lighthouse.v20200324.test.js +12 -2
- package/test/ms.v20180408.test.js +0 -40
- package/test/ocr.v20181119.test.js +10 -0
- package/test/tdmq.v20200217.test.js +24 -4
- package/test/thpc.v20230321.test.js +10 -0
|
@@ -398,27 +398,27 @@ export interface ModifyDomainWhiteRuleRequest {
|
|
|
398
398
|
/**
|
|
399
399
|
* 需要更改的规则的域名
|
|
400
400
|
*/
|
|
401
|
-
Domain
|
|
401
|
+
Domain?: string;
|
|
402
402
|
/**
|
|
403
403
|
* 白名单id
|
|
404
404
|
*/
|
|
405
|
-
Id
|
|
405
|
+
Id?: number;
|
|
406
406
|
/**
|
|
407
407
|
* 规则的id列表
|
|
408
408
|
*/
|
|
409
|
-
Rules
|
|
409
|
+
Rules?: Array<number>;
|
|
410
410
|
/**
|
|
411
411
|
* 规则匹配路径
|
|
412
412
|
*/
|
|
413
|
-
Url
|
|
413
|
+
Url?: string;
|
|
414
414
|
/**
|
|
415
415
|
* 规则匹配方法
|
|
416
416
|
*/
|
|
417
|
-
Function
|
|
417
|
+
Function?: string;
|
|
418
418
|
/**
|
|
419
|
-
*
|
|
419
|
+
* 规则的开关状态,0表示关闭开关,1表示打开开关
|
|
420
420
|
*/
|
|
421
|
-
Status
|
|
421
|
+
Status?: number;
|
|
422
422
|
}
|
|
423
423
|
/**
|
|
424
424
|
* Vip信息
|
|
@@ -1034,15 +1034,15 @@ export interface SwitchDomainRulesRequest {
|
|
|
1034
1034
|
/**
|
|
1035
1035
|
* 域名
|
|
1036
1036
|
*/
|
|
1037
|
-
Domain
|
|
1037
|
+
Domain?: string;
|
|
1038
1038
|
/**
|
|
1039
1039
|
* 规则列表
|
|
1040
1040
|
*/
|
|
1041
|
-
Ids
|
|
1041
|
+
Ids?: Array<number>;
|
|
1042
1042
|
/**
|
|
1043
1043
|
* 开关状态
|
|
1044
1044
|
*/
|
|
1045
|
-
Status
|
|
1045
|
+
Status?: number;
|
|
1046
1046
|
/**
|
|
1047
1047
|
* 设置为观察模式原因
|
|
1048
1048
|
*/
|
|
@@ -1800,11 +1800,11 @@ export interface DeleteDomainWhiteRulesRequest {
|
|
|
1800
1800
|
/**
|
|
1801
1801
|
* 需要删除的规则域名
|
|
1802
1802
|
*/
|
|
1803
|
-
Domain
|
|
1803
|
+
Domain?: string;
|
|
1804
1804
|
/**
|
|
1805
1805
|
* 需要删除的白名单规则
|
|
1806
1806
|
*/
|
|
1807
|
-
Ids
|
|
1807
|
+
Ids?: Array<number>;
|
|
1808
1808
|
}
|
|
1809
1809
|
/**
|
|
1810
1810
|
* clb-waf 域名扩展套餐
|
|
@@ -3085,23 +3085,23 @@ export interface AddDomainWhiteRuleRequest {
|
|
|
3085
3085
|
/**
|
|
3086
3086
|
* 需要添加的域名
|
|
3087
3087
|
*/
|
|
3088
|
-
Domain
|
|
3088
|
+
Domain?: string;
|
|
3089
3089
|
/**
|
|
3090
3090
|
* 需要添加的规则
|
|
3091
3091
|
*/
|
|
3092
|
-
Rules
|
|
3092
|
+
Rules?: Array<number>;
|
|
3093
3093
|
/**
|
|
3094
3094
|
* 需要添加的规则url
|
|
3095
3095
|
*/
|
|
3096
|
-
Url
|
|
3096
|
+
Url?: string;
|
|
3097
3097
|
/**
|
|
3098
3098
|
* 规则的方法
|
|
3099
3099
|
*/
|
|
3100
|
-
Function
|
|
3100
|
+
Function?: string;
|
|
3101
3101
|
/**
|
|
3102
3102
|
* 规则的开关
|
|
3103
3103
|
*/
|
|
3104
|
-
Status
|
|
3104
|
+
Status?: number;
|
|
3105
3105
|
}
|
|
3106
3106
|
/**
|
|
3107
3107
|
* UpsertIpAccessControl返回参数结构体
|
|
@@ -1034,17 +1034,17 @@ export interface QueryExternalContactDetailResponse {
|
|
|
1034
1034
|
* 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
|
|
1035
1035
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1036
1036
|
*/
|
|
1037
|
-
NextCursor
|
|
1037
|
+
NextCursor?: string;
|
|
1038
1038
|
/**
|
|
1039
1039
|
* 客户信息
|
|
1040
1040
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1041
1041
|
*/
|
|
1042
|
-
Customer
|
|
1042
|
+
Customer?: ExternalContact;
|
|
1043
1043
|
/**
|
|
1044
1044
|
* 添加了此外部联系人的企业成员信息
|
|
1045
1045
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1046
1046
|
*/
|
|
1047
|
-
FollowUser
|
|
1047
|
+
FollowUser?: Array<FollowUser>;
|
|
1048
1048
|
/**
|
|
1049
1049
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1050
1050
|
*/
|
|
@@ -7149,6 +7149,10 @@ export interface RuleExecExportResult {
|
|
|
7149
7149
|
* DescribeDatabaseInfoList返回参数结构体
|
|
7150
7150
|
*/
|
|
7151
7151
|
export interface DescribeDatabaseInfoListResponse {
|
|
7152
|
+
/**
|
|
7153
|
+
* 数据库列表
|
|
7154
|
+
*/
|
|
7155
|
+
DatabaseInfo?: Array<DatabaseInfo>;
|
|
7152
7156
|
/**
|
|
7153
7157
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7154
7158
|
*/
|
|
@@ -48,6 +48,16 @@ it("asr.v20190614.DownloadAsrVocab", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("asr.v20190614.GetModelInfo", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.GetModelInfo({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
51
61
|
it("asr.v20190614.CreateRecTask", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.CreateRecTask({})
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.csip.v20221121.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("csip.v20221121.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("csip.v20221121.DescribeVpcAssets", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeVpcAssets({})
|
|
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.DescribeDbAssetInfo", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeDbAssetInfo({})
|
|
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
|
+
|
|
41
|
+
it("csip.v20221121.DescribeCVMAssets", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeCVMAssets({})
|
|
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
|
+
|
|
51
|
+
it("csip.v20221121.AddNewBindRoleUser", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.AddNewBindRoleUser({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("csip.v20221121.DescribeScanReportList", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeScanReportList({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("csip.v20221121.DescribeSubnetAssets", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeSubnetAssets({})
|
|
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
|
+
|
|
81
|
+
it("csip.v20221121.DescribeDbAssets", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeDbAssets({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("csip.v20221121.DescribeCVMAssetInfo", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeCVMAssetInfo({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
})
|
|
@@ -68,6 +68,16 @@ it("lighthouse.v20200324.ApplyDiskBackup", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("lighthouse.v20200324.ModifyBlueprintAttribute", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyBlueprintAttribute({})
|
|
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
|
+
|
|
71
81
|
it("lighthouse.v20200324.DescribeAllScenes", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeAllScenes({})
|
|
@@ -398,9 +408,9 @@ it("lighthouse.v20200324.DescribeGeneralResourceQuotas", async function () {
|
|
|
398
408
|
}
|
|
399
409
|
})
|
|
400
410
|
|
|
401
|
-
it("lighthouse.v20200324.
|
|
411
|
+
it("lighthouse.v20200324.CreateDisks", async function () {
|
|
402
412
|
try {
|
|
403
|
-
const data = await client.
|
|
413
|
+
const data = await client.CreateDisks({})
|
|
404
414
|
expect(data).to.be.ok
|
|
405
415
|
} catch(error) {
|
|
406
416
|
expect(error.requestId).to.be.ok
|
|
@@ -18,16 +18,6 @@ const client = new tencentcloud.ms.v20180408.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("ms.v20180408.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("ms.v20180408.CreateScanInstances", async function () {
|
|
22
|
-
try {
|
|
23
|
-
const data = await client.CreateScanInstances({})
|
|
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
21
|
it("ms.v20180408.DescribeShieldResult", async function () {
|
|
32
22
|
try {
|
|
33
23
|
const data = await client.DescribeShieldResult({})
|
|
@@ -38,16 +28,6 @@ it("ms.v20180408.DescribeShieldResult", async function () {
|
|
|
38
28
|
}
|
|
39
29
|
})
|
|
40
30
|
|
|
41
|
-
it("ms.v20180408.DeleteScanInstances", async function () {
|
|
42
|
-
try {
|
|
43
|
-
const data = await client.DeleteScanInstances({})
|
|
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
|
-
|
|
51
31
|
it("ms.v20180408.CreateResourceInstances", async function () {
|
|
52
32
|
try {
|
|
53
33
|
const data = await client.CreateResourceInstances({})
|
|
@@ -88,16 +68,6 @@ it("ms.v20180408.DescribeResourceInstances", async function () {
|
|
|
88
68
|
}
|
|
89
69
|
})
|
|
90
70
|
|
|
91
|
-
it("ms.v20180408.DescribeScanResults", async function () {
|
|
92
|
-
try {
|
|
93
|
-
const data = await client.DescribeScanResults({})
|
|
94
|
-
expect(data).to.be.ok
|
|
95
|
-
} catch(error) {
|
|
96
|
-
expect(error.requestId).to.be.ok
|
|
97
|
-
expect(error.code).to.be.ok
|
|
98
|
-
}
|
|
99
|
-
})
|
|
100
|
-
|
|
101
71
|
it("ms.v20180408.DescribeShieldPlanInstance", async function () {
|
|
102
72
|
try {
|
|
103
73
|
const data = await client.DescribeShieldPlanInstance({})
|
|
@@ -128,16 +98,6 @@ it("ms.v20180408.DescribeShieldInstances", async function () {
|
|
|
128
98
|
}
|
|
129
99
|
})
|
|
130
100
|
|
|
131
|
-
it("ms.v20180408.DescribeScanInstances", async function () {
|
|
132
|
-
try {
|
|
133
|
-
const data = await client.DescribeScanInstances({})
|
|
134
|
-
expect(data).to.be.ok
|
|
135
|
-
} catch(error) {
|
|
136
|
-
expect(error.requestId).to.be.ok
|
|
137
|
-
expect(error.code).to.be.ok
|
|
138
|
-
}
|
|
139
|
-
})
|
|
140
|
-
|
|
141
101
|
it("ms.v20180408.DescribeUrlDetectionResult", async function () {
|
|
142
102
|
try {
|
|
143
103
|
const data = await client.DescribeUrlDetectionResult({})
|
|
@@ -838,6 +838,16 @@ it("ocr.v20181119.RecognizePhilippinesTinIDOCR", async function () {
|
|
|
838
838
|
}
|
|
839
839
|
})
|
|
840
840
|
|
|
841
|
+
it("ocr.v20181119.RecognizeGeneralInvoice", async function () {
|
|
842
|
+
try {
|
|
843
|
+
const data = await client.RecognizeGeneralInvoice({})
|
|
844
|
+
expect(data).to.be.ok
|
|
845
|
+
} catch(error) {
|
|
846
|
+
expect(error.requestId).to.be.ok
|
|
847
|
+
expect(error.code).to.be.ok
|
|
848
|
+
}
|
|
849
|
+
})
|
|
850
|
+
|
|
841
851
|
it("ocr.v20181119.VehicleLicenseOCR", async function () {
|
|
842
852
|
try {
|
|
843
853
|
const data = await client.VehicleLicenseOCR({})
|
|
@@ -128,6 +128,16 @@ it("tdmq.v20200217.DeleteRocketMQGroup", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("tdmq.v20200217.CreateRabbitMQUser", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.CreateRabbitMQUser({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
131
141
|
it("tdmq.v20200217.DescribeRabbitMQVipInstances", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.DescribeRabbitMQVipInstances({})
|
|
@@ -308,6 +318,16 @@ it("tdmq.v20200217.DeleteRocketMQNamespace", async function () {
|
|
|
308
318
|
}
|
|
309
319
|
})
|
|
310
320
|
|
|
321
|
+
it("tdmq.v20200217.CreateRabbitMQVirtualHost", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.CreateRabbitMQVirtualHost({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
311
331
|
it("tdmq.v20200217.DeleteCluster", async function () {
|
|
312
332
|
try {
|
|
313
333
|
const data = await client.DeleteCluster({})
|
|
@@ -718,9 +738,9 @@ it("tdmq.v20200217.DescribeRocketMQGroups", async function () {
|
|
|
718
738
|
}
|
|
719
739
|
})
|
|
720
740
|
|
|
721
|
-
it("tdmq.v20200217.
|
|
741
|
+
it("tdmq.v20200217.CreateRocketMQTopic", async function () {
|
|
722
742
|
try {
|
|
723
|
-
const data = await client.
|
|
743
|
+
const data = await client.CreateRocketMQTopic({})
|
|
724
744
|
expect(data).to.be.ok
|
|
725
745
|
} catch(error) {
|
|
726
746
|
expect(error.requestId).to.be.ok
|
|
@@ -998,9 +1018,9 @@ it("tdmq.v20200217.DescribePulsarProInstances", async function () {
|
|
|
998
1018
|
}
|
|
999
1019
|
})
|
|
1000
1020
|
|
|
1001
|
-
it("tdmq.v20200217.
|
|
1021
|
+
it("tdmq.v20200217.DescribeAMQPQueues", async function () {
|
|
1002
1022
|
try {
|
|
1003
|
-
const data = await client.
|
|
1023
|
+
const data = await client.DescribeAMQPQueues({})
|
|
1004
1024
|
expect(data).to.be.ok
|
|
1005
1025
|
} catch(error) {
|
|
1006
1026
|
expect(error.requestId).to.be.ok
|
|
@@ -98,6 +98,16 @@ it("thpc.v20230321.DescribeNodes", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("thpc.v20230321.DescribeInitNodeScripts", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeInitNodeScripts({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
101
111
|
it("thpc.v20230321.DeleteQueue", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.DeleteQueue({})
|