tencentcloud-sdk-nodejs 4.0.374 → 4.0.375
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 +204 -0
- package/SERVICE_CHANGELOG.md +342 -25
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +1 -1
- package/src/services/as/v20180419/as_models.ts +3 -2
- package/src/services/cbs/v20170312/cbs_client.ts +1 -1
- package/src/services/clb/v20180317/clb_models.ts +3 -2
- package/src/services/cpdp/v20190820/cpdp_models.ts +145 -0
- package/src/services/cvm/v20170312/cvm_client.ts +31 -14
- package/src/services/cvm/v20170312/cvm_models.ts +235 -35
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +109 -23
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +437 -44
- package/src/services/dlc/v20210125/dlc_client.ts +12 -0
- package/src/services/dlc/v20210125/dlc_models.ts +30 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +5 -0
- package/src/services/tke/v20180525/tke_client.ts +4 -1
- package/src/services/tke/v20180525/tke_models.ts +96 -1
- package/src/services/wedata/v20210820/wedata_client.ts +14 -2
- package/src/services/wedata/v20210820/wedata_models.ts +72 -22
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +2 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +128 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +14 -7
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +16 -7
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +202 -32
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +35 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +51 -9
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +371 -41
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +26 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +4 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +81 -1
- 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 +62 -20
- package/test/cvm.v20170312.test.js +12 -2
- package/test/cynosdb.v20190107.test.js +76 -6
- package/test/dlc.v20210125.test.js +10 -0
- package/test/wedata.v20210820.test.js +10 -0
|
@@ -474,7 +474,7 @@ export declare class Client extends AbstractClient {
|
|
|
474
474
|
/**
|
|
475
475
|
* 与云监控融合的2.0实例关联集群
|
|
476
476
|
*/
|
|
477
|
-
CreatePrometheusClusterAgent(req
|
|
477
|
+
CreatePrometheusClusterAgent(req: CreatePrometheusClusterAgentRequest, cb?: (error: string, rep: CreatePrometheusClusterAgentResponse) => void): Promise<CreatePrometheusClusterAgentResponse>;
|
|
478
478
|
/**
|
|
479
479
|
* 删除2.0实例告警策略
|
|
480
480
|
*/
|
|
@@ -1426,6 +1426,23 @@ export interface CreateClusterResponse {
|
|
|
1426
1426
|
*/
|
|
1427
1427
|
RequestId?: string;
|
|
1428
1428
|
}
|
|
1429
|
+
/**
|
|
1430
|
+
* 关联集群时在集群内部署组件的pod额外配置
|
|
1431
|
+
*/
|
|
1432
|
+
export interface PrometheusClusterAgentPodConfig {
|
|
1433
|
+
/**
|
|
1434
|
+
* 是否使用HostNetWork
|
|
1435
|
+
*/
|
|
1436
|
+
HostNet?: boolean;
|
|
1437
|
+
/**
|
|
1438
|
+
* 指定pod运行节点
|
|
1439
|
+
*/
|
|
1440
|
+
NodeSelector?: Array<Label>;
|
|
1441
|
+
/**
|
|
1442
|
+
* 容忍污点
|
|
1443
|
+
*/
|
|
1444
|
+
Tolerations?: Array<Toleration>;
|
|
1445
|
+
}
|
|
1429
1446
|
/**
|
|
1430
1447
|
* 描述了 “云安全” 服务相关的信息
|
|
1431
1448
|
*/
|
|
@@ -2329,6 +2346,23 @@ export interface ScaleOutClusterMasterResponse {
|
|
|
2329
2346
|
*/
|
|
2330
2347
|
RequestId?: string;
|
|
2331
2348
|
}
|
|
2349
|
+
/**
|
|
2350
|
+
* kubernetes Taint
|
|
2351
|
+
*/
|
|
2352
|
+
export interface Toleration {
|
|
2353
|
+
/**
|
|
2354
|
+
* 容忍应用到的 taint key
|
|
2355
|
+
*/
|
|
2356
|
+
Key?: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* 键与值的关系
|
|
2359
|
+
*/
|
|
2360
|
+
Operator?: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* 要匹配的污点效果
|
|
2363
|
+
*/
|
|
2364
|
+
Effect?: string;
|
|
2365
|
+
}
|
|
2332
2366
|
/**
|
|
2333
2367
|
* CreateEKSContainerInstances返回参数结构体
|
|
2334
2368
|
*/
|
|
@@ -5208,7 +5242,16 @@ export interface ImageCacheEvent {
|
|
|
5208
5242
|
/**
|
|
5209
5243
|
* CreatePrometheusClusterAgent请求参数结构体
|
|
5210
5244
|
*/
|
|
5211
|
-
export
|
|
5245
|
+
export interface CreatePrometheusClusterAgentRequest {
|
|
5246
|
+
/**
|
|
5247
|
+
* 实例ID
|
|
5248
|
+
*/
|
|
5249
|
+
InstanceId: string;
|
|
5250
|
+
/**
|
|
5251
|
+
* agent列表
|
|
5252
|
+
*/
|
|
5253
|
+
Agents: Array<PrometheusClusterAgentBasic>;
|
|
5254
|
+
}
|
|
5212
5255
|
/**
|
|
5213
5256
|
* DeleteEKSContainerInstances返回参数结构体
|
|
5214
5257
|
*/
|
|
@@ -6152,6 +6195,43 @@ export interface UninstallLogAgentResponse {
|
|
|
6152
6195
|
*/
|
|
6153
6196
|
RequestId?: string;
|
|
6154
6197
|
}
|
|
6198
|
+
/**
|
|
6199
|
+
* 与云监控融合托管prometheus实例,关联集群基础信息
|
|
6200
|
+
*/
|
|
6201
|
+
export interface PrometheusClusterAgentBasic {
|
|
6202
|
+
/**
|
|
6203
|
+
* 集群ID
|
|
6204
|
+
*/
|
|
6205
|
+
Region: string;
|
|
6206
|
+
/**
|
|
6207
|
+
* 集群类型
|
|
6208
|
+
*/
|
|
6209
|
+
ClusterType: string;
|
|
6210
|
+
/**
|
|
6211
|
+
* 集群ID
|
|
6212
|
+
*/
|
|
6213
|
+
ClusterId: string;
|
|
6214
|
+
/**
|
|
6215
|
+
* 是否开启公网CLB
|
|
6216
|
+
*/
|
|
6217
|
+
EnableExternal: boolean;
|
|
6218
|
+
/**
|
|
6219
|
+
* 集群内部署组件的pod配置
|
|
6220
|
+
*/
|
|
6221
|
+
InClusterPodConfig?: PrometheusClusterAgentPodConfig;
|
|
6222
|
+
/**
|
|
6223
|
+
* 该集群采集的所有指标都会带上这些labels
|
|
6224
|
+
*/
|
|
6225
|
+
ExternalLabels?: Array<Label>;
|
|
6226
|
+
/**
|
|
6227
|
+
* 是否安装默认采集配置
|
|
6228
|
+
*/
|
|
6229
|
+
NotInstallBasicScrape?: boolean;
|
|
6230
|
+
/**
|
|
6231
|
+
* 是否采集指标,true代表drop所有指标,false代表采集默认指标
|
|
6232
|
+
*/
|
|
6233
|
+
NotScrape?: boolean;
|
|
6234
|
+
}
|
|
6155
6235
|
/**
|
|
6156
6236
|
* DeleteTKEEdgeCluster返回参数结构体
|
|
6157
6237
|
*/
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeTaskInstancesRequest, DescribeTaskInstancesResponse, DescribeRelatedInstancesRequest, DescribeRelatedInstancesResponse } from "./wedata_models";
|
|
3
|
+
import { DescribeProjectResponse, DescribeProjectRequest, DescribeTaskInstancesRequest, DescribeTaskInstancesResponse, DescribeRelatedInstancesRequest, DescribeRelatedInstancesResponse } from "./wedata_models";
|
|
4
4
|
/**
|
|
5
5
|
* wedata client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 获取项目信息
|
|
12
|
+
*/
|
|
13
|
+
DescribeProject(req: DescribeProjectRequest, cb?: (error: string, rep: DescribeProjectResponse) => void): Promise<DescribeProjectResponse>;
|
|
10
14
|
/**
|
|
11
15
|
* 查询任务实例的关联实例列表
|
|
12
16
|
*/
|
|
@@ -27,6 +27,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("wedata.tencentcloudapi.com", "2021-08-20", clientConfig);
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* 获取项目信息
|
|
32
|
+
*/
|
|
33
|
+
async DescribeProject(req, cb) {
|
|
34
|
+
return this.request("DescribeProject", req, cb);
|
|
35
|
+
}
|
|
30
36
|
/**
|
|
31
37
|
* 查询任务实例的关联实例列表
|
|
32
38
|
*/
|
|
@@ -1,3 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DescribeProject返回参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface DescribeProjectResponse {
|
|
5
|
+
/**
|
|
6
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7
|
+
*/
|
|
8
|
+
RequestId?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* DescribeProject请求参数结构体
|
|
12
|
+
*/
|
|
13
|
+
export interface DescribeProjectRequest {
|
|
14
|
+
/**
|
|
15
|
+
* 项目id。一般使用项目Id来查询,与projectName必须存在一个。
|
|
16
|
+
*/
|
|
17
|
+
ProjectId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* 是否展示关联集群信息
|
|
20
|
+
*/
|
|
21
|
+
DescribeClusters?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* 是否展示关联执行组的信息,仅部分信息。
|
|
24
|
+
*/
|
|
25
|
+
DescribeExecutors?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 默认不展示项目管理员信息
|
|
28
|
+
*/
|
|
29
|
+
DescribeAdminUsers?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* 默认不统计项目人员数量
|
|
32
|
+
*/
|
|
33
|
+
DescribeMemberCount?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* 默认不查询创建者的信息
|
|
36
|
+
*/
|
|
37
|
+
DescribeCreator?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* 项目名只在租户内唯一,一般用来转化为项目ID。
|
|
40
|
+
*/
|
|
41
|
+
ProjectName?: string;
|
|
42
|
+
}
|
|
1
43
|
/**
|
|
2
44
|
* DescribeTaskInstances请求参数结构体
|
|
3
45
|
*/
|
|
@@ -64,25 +106,17 @@ export interface DescribeTaskInstancesRequest {
|
|
|
64
106
|
OrderFields?: Array<OrderField>;
|
|
65
107
|
}
|
|
66
108
|
/**
|
|
67
|
-
*
|
|
109
|
+
* DescribeTaskInstances返回参数结构体
|
|
68
110
|
*/
|
|
69
|
-
export interface
|
|
70
|
-
/**
|
|
71
|
-
* 实例列表
|
|
72
|
-
*/
|
|
73
|
-
Items: Array<TaskInstanceInfo>;
|
|
74
|
-
/**
|
|
75
|
-
* 总条数
|
|
76
|
-
*/
|
|
77
|
-
TotalCount: number;
|
|
111
|
+
export interface DescribeTaskInstancesResponse {
|
|
78
112
|
/**
|
|
79
|
-
*
|
|
113
|
+
* 无
|
|
80
114
|
*/
|
|
81
|
-
|
|
115
|
+
Data: DescribeTaskInstancesData;
|
|
82
116
|
/**
|
|
83
|
-
*
|
|
117
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
84
118
|
*/
|
|
85
|
-
|
|
119
|
+
RequestId?: string;
|
|
86
120
|
}
|
|
87
121
|
/**
|
|
88
122
|
* 任务实例信息
|
|
@@ -200,17 +234,25 @@ export interface TaskInstanceInfo {
|
|
|
200
234
|
CostTime: string;
|
|
201
235
|
}
|
|
202
236
|
/**
|
|
203
|
-
*
|
|
237
|
+
* 查询任务实例列表
|
|
204
238
|
*/
|
|
205
|
-
export interface
|
|
239
|
+
export interface DescribeTaskInstancesData {
|
|
206
240
|
/**
|
|
207
|
-
*
|
|
241
|
+
* 实例列表
|
|
208
242
|
*/
|
|
209
|
-
|
|
243
|
+
Items: Array<TaskInstanceInfo>;
|
|
210
244
|
/**
|
|
211
|
-
*
|
|
245
|
+
* 总条数
|
|
212
246
|
*/
|
|
213
|
-
|
|
247
|
+
TotalCount: number;
|
|
248
|
+
/**
|
|
249
|
+
* 页号
|
|
250
|
+
*/
|
|
251
|
+
PageNumber: number;
|
|
252
|
+
/**
|
|
253
|
+
* 页大小
|
|
254
|
+
*/
|
|
255
|
+
PageSize: number;
|
|
214
256
|
}
|
|
215
257
|
/**
|
|
216
258
|
* 通用排序字段
|
|
@@ -778,6 +778,16 @@ it("cvm.v20170312.RebootInstances", async function () {
|
|
|
778
778
|
}
|
|
779
779
|
})
|
|
780
780
|
|
|
781
|
+
it("cvm.v20170312.ModifyInstanceDiskType", async function () {
|
|
782
|
+
try {
|
|
783
|
+
const data = await client.ModifyInstanceDiskType({})
|
|
784
|
+
expect(data).to.be.ok
|
|
785
|
+
} catch(error) {
|
|
786
|
+
expect(error.requestId).to.be.ok
|
|
787
|
+
expect(error.code).to.be.ok
|
|
788
|
+
}
|
|
789
|
+
})
|
|
790
|
+
|
|
781
791
|
it("cvm.v20170312.ModifyHostsAttribute", async function () {
|
|
782
792
|
try {
|
|
783
793
|
const data = await client.ModifyHostsAttribute({})
|
|
@@ -808,9 +818,9 @@ it("cvm.v20170312.DisassociateSecurityGroups", async function () {
|
|
|
808
818
|
}
|
|
809
819
|
})
|
|
810
820
|
|
|
811
|
-
it("cvm.v20170312.
|
|
821
|
+
it("cvm.v20170312.DescribeChcHosts", async function () {
|
|
812
822
|
try {
|
|
813
|
-
const data = await client.
|
|
823
|
+
const data = await client.DescribeChcHosts({})
|
|
814
824
|
expect(data).to.be.ok
|
|
815
825
|
} catch(error) {
|
|
816
826
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("cynosdb.v20190107.DescribeBackupList", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("cynosdb.v20190107.
|
|
41
|
+
it("cynosdb.v20190107.DescribeAccountAllGrantPrivileges", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeAccountAllGrantPrivileges({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -58,6 +58,26 @@ it("cynosdb.v20190107.RollBackCluster", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("cynosdb.v20190107.DescribeProjectSecurityGroups", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeProjectSecurityGroups({})
|
|
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("cynosdb.v20190107.DescribeBinlogSaveDays", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeBinlogSaveDays({})
|
|
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
|
+
|
|
61
81
|
it("cynosdb.v20190107.DescribeBackupConfig", async function () {
|
|
62
82
|
try {
|
|
63
83
|
const data = await client.DescribeBackupConfig({})
|
|
@@ -108,6 +128,16 @@ it("cynosdb.v20190107.ModifyClusterName", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
131
|
+
it("cynosdb.v20190107.RevokeAccountPrivileges", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.RevokeAccountPrivileges({})
|
|
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
|
+
|
|
111
141
|
it("cynosdb.v20190107.DescribeInstanceDetail", async function () {
|
|
112
142
|
try {
|
|
113
143
|
const data = await client.DescribeInstanceDetail({})
|
|
@@ -238,9 +268,9 @@ it("cynosdb.v20190107.IsolateCluster", async function () {
|
|
|
238
268
|
}
|
|
239
269
|
})
|
|
240
270
|
|
|
241
|
-
it("cynosdb.v20190107.
|
|
271
|
+
it("cynosdb.v20190107.DescribeBackupDownloadUrl", async function () {
|
|
242
272
|
try {
|
|
243
|
-
const data = await client.
|
|
273
|
+
const data = await client.DescribeBackupDownloadUrl({})
|
|
244
274
|
expect(data).to.be.ok
|
|
245
275
|
} catch(error) {
|
|
246
276
|
expect(error.requestId).to.be.ok
|
|
@@ -308,9 +338,29 @@ it("cynosdb.v20190107.DescribeInstanceSpecs", async function () {
|
|
|
308
338
|
}
|
|
309
339
|
})
|
|
310
340
|
|
|
311
|
-
it("cynosdb.v20190107.
|
|
341
|
+
it("cynosdb.v20190107.DescribeInstanceSlowQueries", async function () {
|
|
312
342
|
try {
|
|
313
|
-
const data = await client.
|
|
343
|
+
const data = await client.DescribeInstanceSlowQueries({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
351
|
+
it("cynosdb.v20190107.ModifyBackupName", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.ModifyBackupName({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
361
|
+
it("cynosdb.v20190107.DescribeBinlogDownloadUrl", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeBinlogDownloadUrl({})
|
|
314
364
|
expect(data).to.be.ok
|
|
315
365
|
} catch(error) {
|
|
316
366
|
expect(error.requestId).to.be.ok
|
|
@@ -368,6 +418,16 @@ it("cynosdb.v20190107.CreateClusters", async function () {
|
|
|
368
418
|
}
|
|
369
419
|
})
|
|
370
420
|
|
|
421
|
+
it("cynosdb.v20190107.DescribeBinlogs", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.DescribeBinlogs({})
|
|
424
|
+
expect(data).to.be.ok
|
|
425
|
+
} catch(error) {
|
|
426
|
+
expect(error.requestId).to.be.ok
|
|
427
|
+
expect(error.code).to.be.ok
|
|
428
|
+
}
|
|
429
|
+
})
|
|
430
|
+
|
|
371
431
|
it("cynosdb.v20190107.CreateAccounts", async function () {
|
|
372
432
|
try {
|
|
373
433
|
const data = await client.CreateAccounts({})
|
|
@@ -398,6 +458,16 @@ it("cynosdb.v20190107.DescribeDBSecurityGroups", async function () {
|
|
|
398
458
|
}
|
|
399
459
|
})
|
|
400
460
|
|
|
461
|
+
it("cynosdb.v20190107.ExportInstanceSlowQueries", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.ExportInstanceSlowQueries({})
|
|
464
|
+
expect(data).to.be.ok
|
|
465
|
+
} catch(error) {
|
|
466
|
+
expect(error.requestId).to.be.ok
|
|
467
|
+
expect(error.code).to.be.ok
|
|
468
|
+
}
|
|
469
|
+
})
|
|
470
|
+
|
|
401
471
|
it("cynosdb.v20190107.DisassociateSecurityGroups", async function () {
|
|
402
472
|
try {
|
|
403
473
|
const data = await client.DisassociateSecurityGroups({})
|
|
@@ -238,6 +238,16 @@ it("dlc.v20210125.DeleteUsersFromWorkGroup", async function () {
|
|
|
238
238
|
}
|
|
239
239
|
})
|
|
240
240
|
|
|
241
|
+
it("dlc.v20210125.ReportHeartbeatMetaData", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.ReportHeartbeatMetaData({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
241
251
|
it("dlc.v20210125.CreateWorkGroup", async function () {
|
|
242
252
|
try {
|
|
243
253
|
const data = await client.CreateWorkGroup({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.wedata.v20210820.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("wedata.v20210820.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("wedata.v20210820.DescribeProject", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeProject({})
|
|
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("wedata.v20210820.DescribeRelatedInstances", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeRelatedInstances({})
|