tencentcloud-sdk-nodejs 4.0.456 → 4.0.458
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 +312 -0
- package/SERVICE_CHANGELOG.md +309 -88
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/abstract_client.ts +11 -1
- package/src/common/http/fetch.ts +12 -5
- package/src/common/http/http_connection.ts +23 -19
- package/src/common/interface.ts +11 -0
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +1 -1
- package/src/services/bma/v20210624/bma_client.ts +12 -11
- package/src/services/bma/v20210624/bma_models.ts +149 -149
- package/src/services/cdb/v20170320/cdb_client.ts +2 -1
- package/src/services/cdb/v20170320/cdb_models.ts +162 -10
- package/src/services/cpdp/v20190820/cpdp_client.ts +13 -0
- package/src/services/cpdp/v20190820/cpdp_models.ts +92 -0
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +5 -5
- package/src/services/cwp/v20180228/cwp_client.ts +70 -19
- package/src/services/cwp/v20180228/cwp_models.ts +627 -215
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/mariadb/v20170312/mariadb_client.ts +22 -60
- package/src/services/mariadb/v20170312/mariadb_models.ts +51 -358
- package/src/services/monitor/v20180724/monitor_models.ts +5 -0
- package/src/services/redis/v20180412/redis_models.ts +10 -10
- package/src/services/tcm/v20210413/tcm_client.ts +44 -8
- package/src/services/tcm/v20210413/tcm_models.ts +165 -39
- package/src/services/teo/v20220901/teo_models.ts +18 -5
- package/src/services/tse/v20201207/tse_client.ts +12 -0
- package/src/services/tse/v20201207/tse_models.ts +30 -0
- package/src/services/tsf/v20180326/tsf_client.ts +2 -0
- package/src/services/tsf/v20180326/tsf_models.ts +74 -1
- package/src/services/vod/v20180717/vod_client.ts +2 -2
- package/src/services/vod/v20180717/vod_models.ts +16 -0
- package/src/services/wav/v20210129/wav_models.ts +6 -0
- package/src/services/wedata/v20210820/wedata_client.ts +15 -3
- package/src/services/wedata/v20210820/wedata_models.ts +101 -44
- package/tencentcloud/common/abstract_client.d.ts +5 -1
- package/tencentcloud/common/abstract_client.js +6 -0
- package/tencentcloud/common/http/fetch.d.ts +6 -1
- package/tencentcloud/common/http/fetch.js +3 -2
- package/tencentcloud/common/http/http_connection.d.ts +10 -2
- package/tencentcloud/common/http/http_connection.js +8 -2
- package/tencentcloud/common/interface.d.ts +12 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +11 -10
- package/tencentcloud/services/bma/v20210624/bma_client.js +11 -10
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +148 -148
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +133 -10
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +5 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +6 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +78 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +5 -5
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +21 -5
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +30 -6
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +526 -178
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +7 -19
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +9 -27
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +45 -299
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +4 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +10 -10
- package/tencentcloud/services/tcm/v20210413/tcm_client.d.ts +15 -3
- package/tencentcloud/services/tcm/v20210413/tcm_client.js +21 -3
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +141 -34
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +17 -5
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +26 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +62 -1
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -2
- package/tencentcloud/services/vod/v20180717/vod_client.js +2 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +14 -0
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +5 -0
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +86 -38
- package/test/cpdp.v20190820.test.js +10 -0
- package/test/cwp.v20180228.test.js +44 -4
- package/test/mariadb.v20170312.test.js +6 -36
- package/test/tcm.v20210413.test.js +32 -2
- package/test/tse.v20201207.test.js +10 -0
- package/test/wedata.v20210820.test.js +10 -0
|
@@ -705,6 +705,29 @@ export interface ModifyTaskLinksResponse {
|
|
|
705
705
|
*/
|
|
706
706
|
RequestId?: string;
|
|
707
707
|
}
|
|
708
|
+
/**
|
|
709
|
+
* DescribeDatasource返回参数结构体
|
|
710
|
+
*/
|
|
711
|
+
export interface DescribeDatasourceResponse {
|
|
712
|
+
/**
|
|
713
|
+
* 数据源对象
|
|
714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
715
|
+
*/
|
|
716
|
+
Data: DataSourceInfo;
|
|
717
|
+
/**
|
|
718
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
719
|
+
*/
|
|
720
|
+
RequestId?: string;
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* DescribeDatasource请求参数结构体
|
|
724
|
+
*/
|
|
725
|
+
export interface DescribeDatasourceRequest {
|
|
726
|
+
/**
|
|
727
|
+
* 对象唯一ID
|
|
728
|
+
*/
|
|
729
|
+
Id: number;
|
|
730
|
+
}
|
|
708
731
|
/**
|
|
709
732
|
* 集成节点映射
|
|
710
733
|
*/
|
|
@@ -733,33 +756,6 @@ export interface IntegrationNodeMapping {
|
|
|
733
756
|
*/
|
|
734
757
|
ExtConfig?: Array<RecordField>;
|
|
735
758
|
}
|
|
736
|
-
/**
|
|
737
|
-
* 集成节点schema
|
|
738
|
-
*/
|
|
739
|
-
export interface IntegrationNodeSchema {
|
|
740
|
-
/**
|
|
741
|
-
* schema id
|
|
742
|
-
*/
|
|
743
|
-
Id: string;
|
|
744
|
-
/**
|
|
745
|
-
* schema名称
|
|
746
|
-
*/
|
|
747
|
-
Name: string;
|
|
748
|
-
/**
|
|
749
|
-
* schema类型
|
|
750
|
-
*/
|
|
751
|
-
Type: string;
|
|
752
|
-
/**
|
|
753
|
-
* schema值
|
|
754
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
755
|
-
*/
|
|
756
|
-
Value?: string;
|
|
757
|
-
/**
|
|
758
|
-
* schema拓展属性
|
|
759
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
760
|
-
*/
|
|
761
|
-
Properties?: Array<RecordField>;
|
|
762
|
-
}
|
|
763
759
|
/**
|
|
764
760
|
* KillInstances返回参数结构体
|
|
765
761
|
*/
|
|
@@ -1750,13 +1746,31 @@ export interface CanvasInfo {
|
|
|
1750
1746
|
LinksList: Array<TaskLinkInfo>;
|
|
1751
1747
|
}
|
|
1752
1748
|
/**
|
|
1753
|
-
*
|
|
1749
|
+
* 集成节点schema
|
|
1754
1750
|
*/
|
|
1755
|
-
export interface
|
|
1751
|
+
export interface IntegrationNodeSchema {
|
|
1756
1752
|
/**
|
|
1757
|
-
*
|
|
1753
|
+
* schema id
|
|
1758
1754
|
*/
|
|
1759
|
-
Id:
|
|
1755
|
+
Id: string;
|
|
1756
|
+
/**
|
|
1757
|
+
* schema名称
|
|
1758
|
+
*/
|
|
1759
|
+
Name: string;
|
|
1760
|
+
/**
|
|
1761
|
+
* schema类型
|
|
1762
|
+
*/
|
|
1763
|
+
Type: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* schema值
|
|
1766
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1767
|
+
*/
|
|
1768
|
+
Value?: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* schema拓展属性
|
|
1771
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1772
|
+
*/
|
|
1773
|
+
Properties?: Array<RecordField>;
|
|
1760
1774
|
}
|
|
1761
1775
|
/**
|
|
1762
1776
|
* DeleteWorkflowNew请求参数结构体
|
|
@@ -2642,6 +2656,25 @@ export interface ModifyDataSourceRequest {
|
|
|
2642
2656
|
*/
|
|
2643
2657
|
COSRegion?: string;
|
|
2644
2658
|
}
|
|
2659
|
+
/**
|
|
2660
|
+
* CreateCustomFunction返回参数结构体
|
|
2661
|
+
*/
|
|
2662
|
+
export interface CreateCustomFunctionResponse {
|
|
2663
|
+
/**
|
|
2664
|
+
* 函数唯一标识
|
|
2665
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2666
|
+
*/
|
|
2667
|
+
FunctionId: string;
|
|
2668
|
+
/**
|
|
2669
|
+
* 无
|
|
2670
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2671
|
+
*/
|
|
2672
|
+
ErrorMessage: string;
|
|
2673
|
+
/**
|
|
2674
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2675
|
+
*/
|
|
2676
|
+
RequestId?: string;
|
|
2677
|
+
}
|
|
2645
2678
|
/**
|
|
2646
2679
|
* DescribeTaskInstances返回参数结构体
|
|
2647
2680
|
*/
|
|
@@ -2971,18 +3004,33 @@ export interface CreateWorkflowResponse {
|
|
|
2971
3004
|
RequestId?: string;
|
|
2972
3005
|
}
|
|
2973
3006
|
/**
|
|
2974
|
-
*
|
|
3007
|
+
* CreateCustomFunction请求参数结构体
|
|
2975
3008
|
*/
|
|
2976
|
-
export interface
|
|
3009
|
+
export interface CreateCustomFunctionRequest {
|
|
2977
3010
|
/**
|
|
2978
|
-
*
|
|
2979
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3011
|
+
* 类型:HIVE、SPARK
|
|
2980
3012
|
*/
|
|
2981
|
-
|
|
3013
|
+
Type: string;
|
|
2982
3014
|
/**
|
|
2983
|
-
*
|
|
3015
|
+
* 分类:窗口函数、聚合函数、日期函数......
|
|
2984
3016
|
*/
|
|
2985
|
-
|
|
3017
|
+
Kind: string;
|
|
3018
|
+
/**
|
|
3019
|
+
* 函数名称
|
|
3020
|
+
*/
|
|
3021
|
+
Name: string;
|
|
3022
|
+
/**
|
|
3023
|
+
* 集群实例引擎 ID
|
|
3024
|
+
*/
|
|
3025
|
+
ClusterIdentifier: string;
|
|
3026
|
+
/**
|
|
3027
|
+
* 数据库名称
|
|
3028
|
+
*/
|
|
3029
|
+
DbName?: string;
|
|
3030
|
+
/**
|
|
3031
|
+
* 项目ID
|
|
3032
|
+
*/
|
|
3033
|
+
ProjectId?: string;
|
|
2986
3034
|
}
|
|
2987
3035
|
/**
|
|
2988
3036
|
* DeleteDataSources返回参数结构体
|
|
@@ -1648,6 +1648,16 @@ it("cpdp.v20190820.QueryPayerInfo", async function () {
|
|
|
1648
1648
|
}
|
|
1649
1649
|
})
|
|
1650
1650
|
|
|
1651
|
+
it("cpdp.v20190820.QueryCompanyTitle", async function () {
|
|
1652
|
+
try {
|
|
1653
|
+
const data = await client.QueryCompanyTitle({})
|
|
1654
|
+
expect(data).to.be.ok
|
|
1655
|
+
} catch(error) {
|
|
1656
|
+
expect(error.requestId).to.be.ok
|
|
1657
|
+
expect(error.code).to.be.ok
|
|
1658
|
+
}
|
|
1659
|
+
})
|
|
1660
|
+
|
|
1651
1661
|
it("cpdp.v20190820.ApplyWithdrawal", async function () {
|
|
1652
1662
|
try {
|
|
1653
1663
|
const data = await client.ApplyWithdrawal({})
|
|
@@ -258,6 +258,16 @@ it("cwp.v20180228.DeletePrivilegeEvents", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
+
it("cwp.v20180228.DescribeRiskDnsList", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DescribeRiskDnsList({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
261
271
|
it("cwp.v20180228.ExportAttackLogs", async function () {
|
|
262
272
|
try {
|
|
263
273
|
const data = await client.ExportAttackLogs({})
|
|
@@ -378,9 +388,9 @@ it("cwp.v20180228.DescribeReverseShellRules", async function () {
|
|
|
378
388
|
}
|
|
379
389
|
})
|
|
380
390
|
|
|
381
|
-
it("cwp.v20180228.
|
|
391
|
+
it("cwp.v20180228.DescribeBaselineItemList", async function () {
|
|
382
392
|
try {
|
|
383
|
-
const data = await client.
|
|
393
|
+
const data = await client.DescribeBaselineItemList({})
|
|
384
394
|
expect(data).to.be.ok
|
|
385
395
|
} catch(error) {
|
|
386
396
|
expect(error.requestId).to.be.ok
|
|
@@ -1648,6 +1658,16 @@ it("cwp.v20180228.DescribeAttackVulTypeList", async function () {
|
|
|
1648
1658
|
}
|
|
1649
1659
|
})
|
|
1650
1660
|
|
|
1661
|
+
it("cwp.v20180228.SyncBaselineDetectSummary", async function () {
|
|
1662
|
+
try {
|
|
1663
|
+
const data = await client.SyncBaselineDetectSummary({})
|
|
1664
|
+
expect(data).to.be.ok
|
|
1665
|
+
} catch(error) {
|
|
1666
|
+
expect(error.requestId).to.be.ok
|
|
1667
|
+
expect(error.code).to.be.ok
|
|
1668
|
+
}
|
|
1669
|
+
})
|
|
1670
|
+
|
|
1651
1671
|
it("cwp.v20180228.DescribeLoginWhiteList", async function () {
|
|
1652
1672
|
try {
|
|
1653
1673
|
const data = await client.DescribeLoginWhiteList({})
|
|
@@ -1688,9 +1708,9 @@ it("cwp.v20180228.DescribeBaselineDetail", async function () {
|
|
|
1688
1708
|
}
|
|
1689
1709
|
})
|
|
1690
1710
|
|
|
1691
|
-
it("cwp.v20180228.
|
|
1711
|
+
it("cwp.v20180228.DescribeBaselineItemDetectList", async function () {
|
|
1692
1712
|
try {
|
|
1693
|
-
const data = await client.
|
|
1713
|
+
const data = await client.DescribeBaselineItemDetectList({})
|
|
1694
1714
|
expect(data).to.be.ok
|
|
1695
1715
|
} catch(error) {
|
|
1696
1716
|
expect(error.requestId).to.be.ok
|
|
@@ -2148,6 +2168,16 @@ it("cwp.v20180228.DescribeMachines", async function () {
|
|
|
2148
2168
|
}
|
|
2149
2169
|
})
|
|
2150
2170
|
|
|
2171
|
+
it("cwp.v20180228.ExportTasks", async function () {
|
|
2172
|
+
try {
|
|
2173
|
+
const data = await client.ExportTasks({})
|
|
2174
|
+
expect(data).to.be.ok
|
|
2175
|
+
} catch(error) {
|
|
2176
|
+
expect(error.requestId).to.be.ok
|
|
2177
|
+
expect(error.code).to.be.ok
|
|
2178
|
+
}
|
|
2179
|
+
})
|
|
2180
|
+
|
|
2151
2181
|
it("cwp.v20180228.DescribeAssetWebServiceInfoList", async function () {
|
|
2152
2182
|
try {
|
|
2153
2183
|
const data = await client.DescribeAssetWebServiceInfoList({})
|
|
@@ -2208,4 +2238,14 @@ it("cwp.v20180228.DescribeUndoVulCounts", async function () {
|
|
|
2208
2238
|
}
|
|
2209
2239
|
})
|
|
2210
2240
|
|
|
2241
|
+
it("cwp.v20180228.StartBaselineDetect", async function () {
|
|
2242
|
+
try {
|
|
2243
|
+
const data = await client.StartBaselineDetect({})
|
|
2244
|
+
expect(data).to.be.ok
|
|
2245
|
+
} catch(error) {
|
|
2246
|
+
expect(error.requestId).to.be.ok
|
|
2247
|
+
expect(error.code).to.be.ok
|
|
2248
|
+
}
|
|
2249
|
+
})
|
|
2250
|
+
|
|
2211
2251
|
})
|
|
@@ -68,16 +68,6 @@ it("mariadb.v20170312.DescribeDatabaseObjects", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("mariadb.v20170312.KillSession", async function () {
|
|
72
|
-
try {
|
|
73
|
-
const data = await client.KillSession({})
|
|
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
71
|
it("mariadb.v20170312.ModifyBackupTime", async function () {
|
|
82
72
|
try {
|
|
83
73
|
const data = await client.ModifyBackupTime({})
|
|
@@ -188,9 +178,9 @@ it("mariadb.v20170312.ModifyDBParameters", async function () {
|
|
|
188
178
|
}
|
|
189
179
|
})
|
|
190
180
|
|
|
191
|
-
it("mariadb.v20170312.
|
|
181
|
+
it("mariadb.v20170312.ModifyLogFileRetentionPeriod", async function () {
|
|
192
182
|
try {
|
|
193
|
-
const data = await client.
|
|
183
|
+
const data = await client.ModifyLogFileRetentionPeriod({})
|
|
194
184
|
expect(data).to.be.ok
|
|
195
185
|
} catch(error) {
|
|
196
186
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +188,9 @@ it("mariadb.v20170312.DescribeSqlLogs", async function () {
|
|
|
198
188
|
}
|
|
199
189
|
})
|
|
200
190
|
|
|
201
|
-
it("mariadb.v20170312.
|
|
191
|
+
it("mariadb.v20170312.DescribeDBSlowLogs", async function () {
|
|
202
192
|
try {
|
|
203
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeDBSlowLogs({})
|
|
204
194
|
expect(data).to.be.ok
|
|
205
195
|
} catch(error) {
|
|
206
196
|
expect(error.requestId).to.be.ok
|
|
@@ -288,9 +278,9 @@ it("mariadb.v20170312.ModifyDBInstancesProject", async function () {
|
|
|
288
278
|
}
|
|
289
279
|
})
|
|
290
280
|
|
|
291
|
-
it("mariadb.v20170312.
|
|
281
|
+
it("mariadb.v20170312.KillSession", async function () {
|
|
292
282
|
try {
|
|
293
|
-
const data = await client.
|
|
283
|
+
const data = await client.KillSession({})
|
|
294
284
|
expect(data).to.be.ok
|
|
295
285
|
} catch(error) {
|
|
296
286
|
expect(error.requestId).to.be.ok
|
|
@@ -618,16 +608,6 @@ it("mariadb.v20170312.UpgradeDBInstance", async function () {
|
|
|
618
608
|
}
|
|
619
609
|
})
|
|
620
610
|
|
|
621
|
-
it("mariadb.v20170312.DescribeDBPerformance", async function () {
|
|
622
|
-
try {
|
|
623
|
-
const data = await client.DescribeDBPerformance({})
|
|
624
|
-
expect(data).to.be.ok
|
|
625
|
-
} catch(error) {
|
|
626
|
-
expect(error.requestId).to.be.ok
|
|
627
|
-
expect(error.code).to.be.ok
|
|
628
|
-
}
|
|
629
|
-
})
|
|
630
|
-
|
|
631
611
|
it("mariadb.v20170312.DescribeLogFileRetentionPeriod", async function () {
|
|
632
612
|
try {
|
|
633
613
|
const data = await client.DescribeLogFileRetentionPeriod({})
|
|
@@ -658,14 +638,4 @@ it("mariadb.v20170312.DisassociateSecurityGroups", async function () {
|
|
|
658
638
|
}
|
|
659
639
|
})
|
|
660
640
|
|
|
661
|
-
it("mariadb.v20170312.ModifyLogFileRetentionPeriod", async function () {
|
|
662
|
-
try {
|
|
663
|
-
const data = await client.ModifyLogFileRetentionPeriod({})
|
|
664
|
-
expect(data).to.be.ok
|
|
665
|
-
} catch(error) {
|
|
666
|
-
expect(error.requestId).to.be.ok
|
|
667
|
-
expect(error.code).to.be.ok
|
|
668
|
-
}
|
|
669
|
-
})
|
|
670
|
-
|
|
671
641
|
})
|
|
@@ -18,9 +18,29 @@ const client = new tencentcloud.tcm.v20210413.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tcm.v20210413.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("tcm.v20210413.
|
|
21
|
+
it("tcm.v20210413.DeleteMesh", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DeleteMesh({})
|
|
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("tcm.v20210413.CreateMesh", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateMesh({})
|
|
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("tcm.v20210413.ModifyMesh", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ModifyMesh({})
|
|
24
44
|
expect(data).to.be.ok
|
|
25
45
|
} catch(error) {
|
|
26
46
|
expect(error.requestId).to.be.ok
|
|
@@ -38,4 +58,14 @@ it("tcm.v20210413.DescribeMesh", async function () {
|
|
|
38
58
|
}
|
|
39
59
|
})
|
|
40
60
|
|
|
61
|
+
it("tcm.v20210413.DescribeMeshList", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeMeshList({})
|
|
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
|
+
|
|
41
71
|
})
|
|
@@ -78,6 +78,16 @@ it("tse.v20201207.DescribeZookeeperServerInterfaces", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
+
it("tse.v20201207.UpdateEngineInternetAccess", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.UpdateEngineInternetAccess({})
|
|
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
|
+
|
|
81
91
|
it("tse.v20201207.CreateEngine", async function () {
|
|
82
92
|
try {
|
|
83
93
|
const data = await client.CreateEngine({})
|
|
@@ -308,6 +308,16 @@ it("wedata.v20210820.ModifyTaskLinks", async function () {
|
|
|
308
308
|
}
|
|
309
309
|
})
|
|
310
310
|
|
|
311
|
+
it("wedata.v20210820.CreateCustomFunction", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.CreateCustomFunction({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
311
321
|
it("wedata.v20210820.ModifyFolder", async function () {
|
|
312
322
|
try {
|
|
313
323
|
const data = await client.ModifyFolder({})
|