tencentcloud-sdk-nodejs 4.0.346 → 4.0.347
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 +261 -0
- package/SERVICE_CHANGELOG.md +421 -23
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cam/v20190116/cam_client.ts +24 -0
- package/src/services/cam/v20190116/cam_models.ts +60 -0
- package/src/services/chdfs/v20201112/chdfs_models.ts +5 -0
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +5 -0
- package/src/services/cwp/v20180228/cwp_models.ts +1 -1
- package/src/services/dcdb/v20180411/dcdb_client.ts +33 -8
- package/src/services/dcdb/v20180411/dcdb_models.ts +121 -13
- package/src/services/es/v20180416/es_client.ts +162 -96
- package/src/services/es/v20180416/es_models.ts +690 -183
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +12 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +34 -9
- package/src/services/mariadb/v20170312/mariadb_models.ts +119 -11
- package/src/services/monitor/v20180724/monitor_models.ts +42 -0
- package/src/services/mps/v20190612/mps_client.ts +1 -1
- package/src/services/mps/v20190612/mps_models.ts +4 -4
- package/src/services/tcss/v20201101/tcss_client.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +306 -20
- package/src/services/tdmq/v20200217/tdmq_models.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +9 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +12 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +52 -0
- package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +4 -0
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +11 -3
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +15 -3
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +104 -12
- package/tencentcloud/services/es/v20180416/es_client.d.ts +53 -33
- package/tencentcloud/services/es/v20180416/es_client.js +78 -48
- package/tencentcloud/services/es/v20180416/es_models.d.ts +619 -190
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +10 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +12 -4
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +16 -4
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +102 -10
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +35 -0
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_client.js +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +4 -4
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +269 -17
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +2 -2
- package/test/cam.v20190116.test.js +20 -0
- package/test/dcdb.v20180411.test.js +22 -2
- package/test/es.v20180416.test.js +84 -34
- package/test/mariadb.v20170312.test.js +22 -2
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.es.v20180416.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("es.v20180416.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("es.v20180416.
|
|
21
|
+
it("es.v20180416.DiagnoseInstance", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DiagnoseInstance({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("es.v20180416.UpdateRequestTargetNodeTypes", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("es.v20180416.
|
|
31
|
+
it("es.v20180416.GetRequestTargetNodeTypes", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.GetRequestTargetNodeTypes({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("es.v20180416.DiagnoseInstance", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("es.v20180416.
|
|
41
|
+
it("es.v20180416.DescribeIndexList", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeIndexList({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("es.v20180416.DescribeInstanceOperations", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("es.v20180416.
|
|
51
|
+
it("es.v20180416.DeleteInstance", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.DeleteInstance({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,29 @@ it("es.v20180416.DescribeInstances", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("es.v20180416.
|
|
61
|
+
it("es.v20180416.CreateIndex", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.CreateIndex({})
|
|
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("es.v20180416.UpdateDiagnoseSettings", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.UpdateDiagnoseSettings({})
|
|
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("es.v20180416.DescribeInstances", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeInstances({})
|
|
64
84
|
expect(data).to.be.ok
|
|
65
85
|
} catch(error) {
|
|
66
86
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +98,9 @@ it("es.v20180416.UpdatePlugins", async function () {
|
|
|
78
98
|
}
|
|
79
99
|
})
|
|
80
100
|
|
|
81
|
-
it("es.v20180416.
|
|
101
|
+
it("es.v20180416.UpdateJdk", async function () {
|
|
82
102
|
try {
|
|
83
|
-
const data = await client.
|
|
103
|
+
const data = await client.UpdateJdk({})
|
|
84
104
|
expect(data).to.be.ok
|
|
85
105
|
} catch(error) {
|
|
86
106
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +108,9 @@ it("es.v20180416.DescribeViews", async function () {
|
|
|
88
108
|
}
|
|
89
109
|
})
|
|
90
110
|
|
|
91
|
-
it("es.v20180416.
|
|
111
|
+
it("es.v20180416.UpdateInstance", async function () {
|
|
92
112
|
try {
|
|
93
|
-
const data = await client.
|
|
113
|
+
const data = await client.UpdateInstance({})
|
|
94
114
|
expect(data).to.be.ok
|
|
95
115
|
} catch(error) {
|
|
96
116
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +118,9 @@ it("es.v20180416.CreateInstance", async function () {
|
|
|
98
118
|
}
|
|
99
119
|
})
|
|
100
120
|
|
|
101
|
-
it("es.v20180416.
|
|
121
|
+
it("es.v20180416.RestartInstance", async function () {
|
|
102
122
|
try {
|
|
103
|
-
const data = await client.
|
|
123
|
+
const data = await client.RestartInstance({})
|
|
104
124
|
expect(data).to.be.ok
|
|
105
125
|
} catch(error) {
|
|
106
126
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +128,9 @@ it("es.v20180416.UpdateDiagnoseSettings", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
111
|
-
it("es.v20180416.
|
|
131
|
+
it("es.v20180416.DescribeInstanceLogs", async function () {
|
|
112
132
|
try {
|
|
113
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeInstanceLogs({})
|
|
114
134
|
expect(data).to.be.ok
|
|
115
135
|
} catch(error) {
|
|
116
136
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +138,9 @@ it("es.v20180416.UpdateJdk", async function () {
|
|
|
118
138
|
}
|
|
119
139
|
})
|
|
120
140
|
|
|
121
|
-
it("es.v20180416.
|
|
141
|
+
it("es.v20180416.RestartKibana", async function () {
|
|
122
142
|
try {
|
|
123
|
-
const data = await client.
|
|
143
|
+
const data = await client.RestartKibana({})
|
|
124
144
|
expect(data).to.be.ok
|
|
125
145
|
} catch(error) {
|
|
126
146
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +148,9 @@ it("es.v20180416.UpgradeInstance", async function () {
|
|
|
128
148
|
}
|
|
129
149
|
})
|
|
130
150
|
|
|
131
|
-
it("es.v20180416.
|
|
151
|
+
it("es.v20180416.UpdateDictionaries", async function () {
|
|
132
152
|
try {
|
|
133
|
-
const data = await client.
|
|
153
|
+
const data = await client.UpdateDictionaries({})
|
|
134
154
|
expect(data).to.be.ok
|
|
135
155
|
} catch(error) {
|
|
136
156
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +158,9 @@ it("es.v20180416.UpgradeLicense", async function () {
|
|
|
138
158
|
}
|
|
139
159
|
})
|
|
140
160
|
|
|
141
|
-
it("es.v20180416.
|
|
161
|
+
it("es.v20180416.UpdateRequestTargetNodeTypes", async function () {
|
|
142
162
|
try {
|
|
143
|
-
const data = await client.
|
|
163
|
+
const data = await client.UpdateRequestTargetNodeTypes({})
|
|
144
164
|
expect(data).to.be.ok
|
|
145
165
|
} catch(error) {
|
|
146
166
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +168,9 @@ it("es.v20180416.UpdateInstance", async function () {
|
|
|
148
168
|
}
|
|
149
169
|
})
|
|
150
170
|
|
|
151
|
-
it("es.v20180416.
|
|
171
|
+
it("es.v20180416.DescribeInstanceOperations", async function () {
|
|
152
172
|
try {
|
|
153
|
-
const data = await client.
|
|
173
|
+
const data = await client.DescribeInstanceOperations({})
|
|
154
174
|
expect(data).to.be.ok
|
|
155
175
|
} catch(error) {
|
|
156
176
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +178,29 @@ it("es.v20180416.DeleteInstance", async function () {
|
|
|
158
178
|
}
|
|
159
179
|
})
|
|
160
180
|
|
|
161
|
-
it("es.v20180416.
|
|
181
|
+
it("es.v20180416.DescribeViews", async function () {
|
|
162
182
|
try {
|
|
163
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeViews({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
191
|
+
it("es.v20180416.CreateInstance", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.CreateInstance({})
|
|
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
|
+
|
|
201
|
+
it("es.v20180416.UpdateIndex", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.UpdateIndex({})
|
|
164
204
|
expect(data).to.be.ok
|
|
165
205
|
} catch(error) {
|
|
166
206
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +218,9 @@ it("es.v20180416.RestartNodes", async function () {
|
|
|
178
218
|
}
|
|
179
219
|
})
|
|
180
220
|
|
|
181
|
-
it("es.v20180416.
|
|
221
|
+
it("es.v20180416.DeleteIndex", async function () {
|
|
182
222
|
try {
|
|
183
|
-
const data = await client.
|
|
223
|
+
const data = await client.DeleteIndex({})
|
|
184
224
|
expect(data).to.be.ok
|
|
185
225
|
} catch(error) {
|
|
186
226
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +228,9 @@ it("es.v20180416.DescribeInstanceLogs", async function () {
|
|
|
188
228
|
}
|
|
189
229
|
})
|
|
190
230
|
|
|
191
|
-
it("es.v20180416.
|
|
231
|
+
it("es.v20180416.UpgradeInstance", async function () {
|
|
192
232
|
try {
|
|
193
|
-
const data = await client.
|
|
233
|
+
const data = await client.UpgradeInstance({})
|
|
194
234
|
expect(data).to.be.ok
|
|
195
235
|
} catch(error) {
|
|
196
236
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +238,19 @@ it("es.v20180416.RestartKibana", async function () {
|
|
|
198
238
|
}
|
|
199
239
|
})
|
|
200
240
|
|
|
201
|
-
it("es.v20180416.
|
|
241
|
+
it("es.v20180416.UpgradeLicense", async function () {
|
|
202
242
|
try {
|
|
203
|
-
const data = await client.
|
|
243
|
+
const data = await client.UpgradeLicense({})
|
|
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
|
+
|
|
251
|
+
it("es.v20180416.DescribeIndexMeta", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeIndexMeta({})
|
|
204
254
|
expect(data).to.be.ok
|
|
205
255
|
} catch(error) {
|
|
206
256
|
expect(error.requestId).to.be.ok
|
|
@@ -248,9 +248,9 @@ it("mariadb.v20170312.RestartDBInstances", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
-
it("mariadb.v20170312.
|
|
251
|
+
it("mariadb.v20170312.DescribeOrders", async function () {
|
|
252
252
|
try {
|
|
253
|
-
const data = await client.
|
|
253
|
+
const data = await client.DescribeOrders({})
|
|
254
254
|
expect(data).to.be.ok
|
|
255
255
|
} catch(error) {
|
|
256
256
|
expect(error.requestId).to.be.ok
|
|
@@ -508,6 +508,16 @@ it("mariadb.v20170312.FlushBinlog", async function () {
|
|
|
508
508
|
}
|
|
509
509
|
})
|
|
510
510
|
|
|
511
|
+
it("mariadb.v20170312.GrantAccountPrivileges", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.GrantAccountPrivileges({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
511
521
|
it("mariadb.v20170312.CopyAccountPrivileges", async function () {
|
|
512
522
|
try {
|
|
513
523
|
const data = await client.CopyAccountPrivileges({})
|
|
@@ -548,6 +558,16 @@ it("mariadb.v20170312.DescribePrice", async function () {
|
|
|
548
558
|
}
|
|
549
559
|
})
|
|
550
560
|
|
|
561
|
+
it("mariadb.v20170312.DescribeDBSecurityGroups", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DescribeDBSecurityGroups({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
551
571
|
it("mariadb.v20170312.DescribeDatabaseTable", async function () {
|
|
552
572
|
try {
|
|
553
573
|
const data = await client.DescribeDatabaseTable({})
|