tencentcloud-sdk-nodejs-clb 4.0.505 → 4.0.507
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 +430 -0
- package/README.md +17 -29
- package/SERVICE_CHANGELOG.md +548 -45
- package/package.json +1 -1
- package/products.md +23 -23
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,433 @@
|
|
1
|
+
# Release 4.0.507
|
2
|
+
|
3
|
+
## T-Sec-DDoS防护(Anti-DDoS)(antiddos) 版本:2020-03-09
|
4
|
+
|
5
|
+
### 第 49 次发布
|
6
|
+
|
7
|
+
发布时间:2022-12-20 11:47:08
|
8
|
+
|
9
|
+
本次发布包含了以下内容:
|
10
|
+
|
11
|
+
改善已有的文档。
|
12
|
+
|
13
|
+
新增接口:
|
14
|
+
|
15
|
+
* [DescribeBizHttpStatus](https://cloud.tencent.com/document/api/1021/84352)
|
16
|
+
|
17
|
+
新增数据结构:
|
18
|
+
|
19
|
+
* [HttpStatusMap](https://cloud.tencent.com/document/api/1021/57582#HttpStatusMap)
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
## 云数据库 MySQL(cdb) 版本:2017-03-20
|
24
|
+
|
25
|
+
### 第 108 次发布
|
26
|
+
|
27
|
+
发布时间:2022-12-21 01:20:25
|
28
|
+
|
29
|
+
本次发布包含了以下内容:
|
30
|
+
|
31
|
+
改善已有的文档。
|
32
|
+
|
33
|
+
新增接口:
|
34
|
+
|
35
|
+
* [DescribeRemoteBackupConfig](https://cloud.tencent.com/document/api/236/84375)
|
36
|
+
* [ModifyRemoteBackupConfig](https://cloud.tencent.com/document/api/236/84374)
|
37
|
+
|
38
|
+
修改接口:
|
39
|
+
|
40
|
+
* [DescribeBackupConfig](https://cloud.tencent.com/document/api/236/15837)
|
41
|
+
|
42
|
+
* 新增出参:EnableBackupStandby, BackupStandbyDays, EnableBinlogStandby, BinlogStandbyDays
|
43
|
+
|
44
|
+
* [DescribeBackupOverview](https://cloud.tencent.com/document/api/236/41229)
|
45
|
+
|
46
|
+
* 新增出参:BackupStandbyVolume
|
47
|
+
|
48
|
+
* [DescribeBinlogBackupOverview](https://cloud.tencent.com/document/api/236/41227)
|
49
|
+
|
50
|
+
* 新增出参:BinlogStandbyVolume, BinlogStandbyCount
|
51
|
+
|
52
|
+
* [DescribeDataBackupOverview](https://cloud.tencent.com/document/api/236/41226)
|
53
|
+
|
54
|
+
* 新增出参:DataBackupStandbyVolume, DataBackupStandbyCount
|
55
|
+
|
56
|
+
* [ModifyBackupConfig](https://cloud.tencent.com/document/api/236/15839)
|
57
|
+
|
58
|
+
* 新增入参:EnableBackupStandby, BackupStandbyDays, EnableBinlogStandby, BinlogStandbyDays
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
## 云数据仓库 ClickHouse(cdwch) 版本:2020-09-15
|
64
|
+
|
65
|
+
### 第 3 次发布
|
66
|
+
|
67
|
+
发布时间:2022-12-20 14:06:27
|
68
|
+
|
69
|
+
本次发布包含了以下内容:
|
70
|
+
|
71
|
+
改善已有的文档。
|
72
|
+
|
73
|
+
新增接口:
|
74
|
+
|
75
|
+
* [CreateInstanceNew](https://cloud.tencent.com/document/api/1299/84353)
|
76
|
+
* [DescribeInstance](https://cloud.tencent.com/document/api/1299/84354)
|
77
|
+
|
78
|
+
新增数据结构:
|
79
|
+
|
80
|
+
* [Charge](https://cloud.tencent.com/document/api/1299/83429#Charge)
|
81
|
+
* [InstanceInfo](https://cloud.tencent.com/document/api/1299/83429#InstanceInfo)
|
82
|
+
* [NodeSpec](https://cloud.tencent.com/document/api/1299/83429#NodeSpec)
|
83
|
+
* [NodesSummary](https://cloud.tencent.com/document/api/1299/83429#NodesSummary)
|
84
|
+
* [Tag](https://cloud.tencent.com/document/api/1299/83429#Tag)
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
## 消息队列 CKafka(ckafka) 版本:2019-08-19
|
89
|
+
|
90
|
+
### 第 65 次发布
|
91
|
+
|
92
|
+
发布时间:2022-12-21 01:24:34
|
93
|
+
|
94
|
+
本次发布包含了以下内容:
|
95
|
+
|
96
|
+
改善已有的文档。
|
97
|
+
|
98
|
+
新增数据结构:
|
99
|
+
|
100
|
+
* [BatchAnalyseParam](https://cloud.tencent.com/document/api/597/40861#BatchAnalyseParam)
|
101
|
+
* [ScfParam](https://cloud.tencent.com/document/api/597/40861#ScfParam)
|
102
|
+
|
103
|
+
修改数据结构:
|
104
|
+
|
105
|
+
* [DatahubResource](https://cloud.tencent.com/document/api/597/40861#DatahubResource)
|
106
|
+
|
107
|
+
* 新增成员:ScfParam
|
108
|
+
|
109
|
+
* [EsParam](https://cloud.tencent.com/document/api/597/40861#EsParam)
|
110
|
+
|
111
|
+
* 新增成员:DropDlq
|
112
|
+
|
113
|
+
* [KafkaParam](https://cloud.tencent.com/document/api/597/40861#KafkaParam)
|
114
|
+
|
115
|
+
* 新增成员:MsgMultiple
|
116
|
+
|
117
|
+
* [TopicParam](https://cloud.tencent.com/document/api/597/40861#TopicParam)
|
118
|
+
|
119
|
+
* 新增成员:MsgMultiple
|
120
|
+
|
121
|
+
* [TransformsParam](https://cloud.tencent.com/document/api/597/40861#TransformsParam)
|
122
|
+
|
123
|
+
* 新增成员:BatchAnalyse
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
## 轻量应用服务器(lighthouse) 版本:2020-03-24
|
129
|
+
|
130
|
+
### 第 40 次发布
|
131
|
+
|
132
|
+
发布时间:2022-12-21 01:48:07
|
133
|
+
|
134
|
+
本次发布包含了以下内容:
|
135
|
+
|
136
|
+
改善已有的文档。
|
137
|
+
|
138
|
+
新增接口:
|
139
|
+
|
140
|
+
* [ApplyDiskBackup](https://cloud.tencent.com/document/api/1207/84382)
|
141
|
+
* [CreateDiskBackup](https://cloud.tencent.com/document/api/1207/84381)
|
142
|
+
* [DeleteDiskBackups](https://cloud.tencent.com/document/api/1207/84380)
|
143
|
+
* [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379)
|
144
|
+
* [DescribeDiskBackupsDeniedActions](https://cloud.tencent.com/document/api/1207/84378)
|
145
|
+
* [ModifyDiskBackupsAttribute](https://cloud.tencent.com/document/api/1207/84377)
|
146
|
+
|
147
|
+
新增数据结构:
|
148
|
+
|
149
|
+
* [DiskBackup](https://cloud.tencent.com/document/api/1207/47576#DiskBackup)
|
150
|
+
* [DiskBackupDeniedActions](https://cloud.tencent.com/document/api/1207/47576#DiskBackupDeniedActions)
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
## 云监控(monitor) 版本:2018-07-24
|
155
|
+
|
156
|
+
### 第 70 次发布
|
157
|
+
|
158
|
+
发布时间:2022-12-21 01:51:22
|
159
|
+
|
160
|
+
本次发布包含了以下内容:
|
161
|
+
|
162
|
+
改善已有的文档。
|
163
|
+
|
164
|
+
新增接口:
|
165
|
+
|
166
|
+
* [DescribePrometheusInstanceUsage](https://cloud.tencent.com/document/api/248/84383)
|
167
|
+
|
168
|
+
新增数据结构:
|
169
|
+
|
170
|
+
* [PrometheusInstanceTenantUsage](https://cloud.tencent.com/document/api/248/30354#PrometheusInstanceTenantUsage)
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
## SSL 证书(ssl) 版本:2019-12-05
|
175
|
+
|
176
|
+
### 第 25 次发布
|
177
|
+
|
178
|
+
发布时间:2022-12-21 02:00:03
|
179
|
+
|
180
|
+
本次发布包含了以下内容:
|
181
|
+
|
182
|
+
改善已有的文档。
|
183
|
+
|
184
|
+
修改接口:
|
185
|
+
|
186
|
+
* [ApplyCertificate](https://cloud.tencent.com/document/api/400/41678)
|
187
|
+
|
188
|
+
* 新增入参:DeleteDnsAutoRecord
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
## 边缘安全加速平台(teo) 版本:2022-09-01
|
194
|
+
|
195
|
+
### 第 18 次发布
|
196
|
+
|
197
|
+
发布时间:2022-12-20 01:58:08
|
198
|
+
|
199
|
+
本次发布包含了以下内容:
|
200
|
+
|
201
|
+
改善已有的文档。
|
202
|
+
|
203
|
+
<font color="#dd0000">**删除接口**:</font>
|
204
|
+
|
205
|
+
* ModifyLoadBalancingStatus
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
## 边缘安全加速平台(teo) 版本:2022-01-06
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
## 高性能计算平台(thpc) 版本:2022-04-01
|
214
|
+
|
215
|
+
### 第 7 次发布
|
216
|
+
|
217
|
+
发布时间:2022-12-21 02:09:45
|
218
|
+
|
219
|
+
本次发布包含了以下内容:
|
220
|
+
|
221
|
+
改善已有的文档。
|
222
|
+
|
223
|
+
新增接口:
|
224
|
+
|
225
|
+
* [AddClusterStorageOption](https://cloud.tencent.com/document/api/1527/84387)
|
226
|
+
* [DeleteClusterStorageOption](https://cloud.tencent.com/document/api/1527/84386)
|
227
|
+
* [DescribeClusterStorageOption](https://cloud.tencent.com/document/api/1527/84385)
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
## 高性能计算平台(thpc) 版本:2021-11-09
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
## 云点播(vod) 版本:2018-07-17
|
236
|
+
|
237
|
+
### 第 133 次发布
|
238
|
+
|
239
|
+
发布时间:2022-12-21 02:16:04
|
240
|
+
|
241
|
+
本次发布包含了以下内容:
|
242
|
+
|
243
|
+
改善已有的文档。
|
244
|
+
|
245
|
+
新增接口:
|
246
|
+
|
247
|
+
* [CreateReviewTemplate](https://cloud.tencent.com/document/api/266/84391)
|
248
|
+
* [DeleteReviewTemplate](https://cloud.tencent.com/document/api/266/84390)
|
249
|
+
* [DescribeReviewTemplates](https://cloud.tencent.com/document/api/266/84389)
|
250
|
+
* [ModifyReviewTemplate](https://cloud.tencent.com/document/api/266/84388)
|
251
|
+
|
252
|
+
新增数据结构:
|
253
|
+
|
254
|
+
* [FileReviewInfo](https://cloud.tencent.com/document/api/266/31773#FileReviewInfo)
|
255
|
+
* [ReviewInfo](https://cloud.tencent.com/document/api/266/31773#ReviewInfo)
|
256
|
+
* [ReviewTemplate](https://cloud.tencent.com/document/api/266/31773#ReviewTemplate)
|
257
|
+
|
258
|
+
修改数据结构:
|
259
|
+
|
260
|
+
* [MediaInfo](https://cloud.tencent.com/document/api/266/31773#MediaInfo)
|
261
|
+
|
262
|
+
* 新增成员:ReviewInfo
|
263
|
+
|
264
|
+
* <font color="#dd0000">**修改成员**:</font>BasicInfo, MetaData, TranscodeInfo, AnimatedGraphicsInfo, SampleSnapshotInfo, ImageSpriteInfo, SnapshotByTimeOffsetInfo, KeyFrameDescInfo, AdaptiveDynamicStreamingInfo, MiniProgramReviewInfo, SubtitleInfo, FileId
|
265
|
+
|
266
|
+
|
267
|
+
### 第 132 次发布
|
268
|
+
|
269
|
+
发布时间:2022-12-20 02:07:06
|
270
|
+
|
271
|
+
本次发布包含了以下内容:
|
272
|
+
|
273
|
+
改善已有的文档。
|
274
|
+
|
275
|
+
修改接口:
|
276
|
+
|
277
|
+
* [DescribeDrmDataKey](https://cloud.tencent.com/document/api/266/54177)
|
278
|
+
|
279
|
+
* 新增入参:SubAppId
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
## Web 应用防火墙(waf) 版本:2018-01-25
|
285
|
+
|
286
|
+
### 第 20 次发布
|
287
|
+
|
288
|
+
发布时间:2022-12-21 02:20:11
|
289
|
+
|
290
|
+
本次发布包含了以下内容:
|
291
|
+
|
292
|
+
改善已有的文档。
|
293
|
+
|
294
|
+
修改数据结构:
|
295
|
+
|
296
|
+
* [LoadBalancerPackageNew](https://cloud.tencent.com/document/api/627/53609#LoadBalancerPackageNew)
|
297
|
+
|
298
|
+
* 新增成员:ListenerId, ListenerName, LoadBalancerId, LoadBalancerName, Protocol, Region, Vip, Vport, Zone, NumericalVpcId, LoadBalancerType
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
# Release 4.0.506
|
304
|
+
|
305
|
+
## 文件存储(cfs) 版本:2019-07-19
|
306
|
+
|
307
|
+
### 第 14 次发布
|
308
|
+
|
309
|
+
发布时间:2022-12-19 01:23:20
|
310
|
+
|
311
|
+
本次发布包含了以下内容:
|
312
|
+
|
313
|
+
改善已有的文档。
|
314
|
+
|
315
|
+
修改数据结构:
|
316
|
+
|
317
|
+
* [UserQuota](https://cloud.tencent.com/document/api/582/38175#UserQuota)
|
318
|
+
|
319
|
+
* 新增成员:CapacityUsed, FileUsed
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
## 云服务器(cvm) 版本:2017-03-12
|
325
|
+
|
326
|
+
### 第 102 次发布
|
327
|
+
|
328
|
+
发布时间:2022-12-19 01:29:05
|
329
|
+
|
330
|
+
本次发布包含了以下内容:
|
331
|
+
|
332
|
+
改善已有的文档。
|
333
|
+
|
334
|
+
修改接口:
|
335
|
+
|
336
|
+
* [ExportImages](https://cloud.tencent.com/document/api/213/73474)
|
337
|
+
|
338
|
+
* 新增出参:CosPaths
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
## SSL 证书(ssl) 版本:2019-12-05
|
344
|
+
|
345
|
+
### 第 24 次发布
|
346
|
+
|
347
|
+
发布时间:2022-12-19 01:58:27
|
348
|
+
|
349
|
+
本次发布包含了以下内容:
|
350
|
+
|
351
|
+
改善已有的文档。
|
352
|
+
|
353
|
+
新增数据结构:
|
354
|
+
|
355
|
+
* [PreAuditInfo](https://cloud.tencent.com/document/api/400/41679#PreAuditInfo)
|
356
|
+
|
357
|
+
修改数据结构:
|
358
|
+
|
359
|
+
* [Certificates](https://cloud.tencent.com/document/api/400/41679#Certificates)
|
360
|
+
|
361
|
+
* 新增成员:CAEncryptAlgorithms, CAEndTimes, CACommonNames, PreAuditInfo
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
## 腾讯云 TI 平台 TI-ONE(tione) 版本:2021-11-11
|
367
|
+
|
368
|
+
### 第 14 次发布
|
369
|
+
|
370
|
+
发布时间:2022-12-19 02:08:29
|
371
|
+
|
372
|
+
本次发布包含了以下内容:
|
373
|
+
|
374
|
+
改善已有的文档。
|
375
|
+
|
376
|
+
修改接口:
|
377
|
+
|
378
|
+
* [CreateBatchTask](https://cloud.tencent.com/document/api/851/80182)
|
379
|
+
|
380
|
+
* 新增入参:CallbackUrl
|
381
|
+
|
382
|
+
* [CreateTrainingTask](https://cloud.tencent.com/document/api/851/75094)
|
383
|
+
|
384
|
+
* 新增入参:CallbackUrl
|
385
|
+
|
386
|
+
|
387
|
+
修改数据结构:
|
388
|
+
|
389
|
+
* [TrainingTaskDetail](https://cloud.tencent.com/document/api/851/75051#TrainingTaskDetail)
|
390
|
+
|
391
|
+
* 新增成员:CallbackUrl
|
392
|
+
|
393
|
+
* [TrainingTaskSetItem](https://cloud.tencent.com/document/api/851/75051#TrainingTaskSetItem)
|
394
|
+
|
395
|
+
* 新增成员:CallbackUrl
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
## 腾讯云 TI 平台 TI-ONE(tione) 版本:2019-10-22
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
## 私有网络(vpc) 版本:2017-03-12
|
405
|
+
|
406
|
+
### 第 132 次发布
|
407
|
+
|
408
|
+
发布时间:2022-12-16 18:54:14
|
409
|
+
|
410
|
+
本次发布包含了以下内容:
|
411
|
+
|
412
|
+
改善已有的文档。
|
413
|
+
|
414
|
+
修改接口:
|
415
|
+
|
416
|
+
* [AllocateAddresses](https://cloud.tencent.com/document/api/215/16699)
|
417
|
+
|
418
|
+
* 新增入参:Egress
|
419
|
+
|
420
|
+
* [CreateVpcEndPointService](https://cloud.tencent.com/document/api/215/54684)
|
421
|
+
|
422
|
+
* 新增入参:ServiceType
|
423
|
+
|
424
|
+
* [ModifyBandwidthPackageAttribute](https://cloud.tencent.com/document/api/215/19208)
|
425
|
+
|
426
|
+
* <font color="#dd0000">**删除入参**:</font>MigrateOnRefund
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
1
431
|
# Release 4.0.505
|
2
432
|
|
3
433
|
## T-Sec-DDoS防护(Anti-DDoS)(antiddos) 版本:2020-03-09
|
package/README.md
CHANGED
@@ -73,37 +73,9 @@ client.DescribeZones().then(
|
|
73
73
|
```js
|
74
74
|
import * as tencentcloud from "tencentcloud-sdk-nodejs"
|
75
75
|
|
76
|
-
// 导入对应产品模块的client models。
|
77
76
|
const CvmClient = tencentcloud.cvm.v20170312.Client
|
78
77
|
|
79
|
-
//
|
80
|
-
const client = new CvmClient({
|
81
|
-
// 腾讯云认证信息
|
82
|
-
credential: {
|
83
|
-
secretId: "secretId",
|
84
|
-
secretKey: "secretKey",
|
85
|
-
},
|
86
|
-
// 产品地域
|
87
|
-
region: "ap-shanghai",
|
88
|
-
// 可选配置实例
|
89
|
-
profile: {
|
90
|
-
signMethod: "TC3-HMAC-SHA256", // 签名方法
|
91
|
-
httpProfile: {
|
92
|
-
reqMethod: "POST", // 请求方法
|
93
|
-
reqTimeout: 30, // 请求超时时间,默认60s
|
94
|
-
// proxy: "http://127.0.0.1:8899" // http请求代理
|
95
|
-
},
|
96
|
-
},
|
97
|
-
})
|
98
|
-
async function main(){
|
99
|
-
try{
|
100
|
-
// async/await 方式调用
|
101
|
-
const data = await client.DescribeZones()
|
102
|
-
console.log(data)
|
103
|
-
}catch(err){
|
104
|
-
console.error("error", err)
|
105
|
-
}
|
106
|
-
}
|
78
|
+
// ...
|
107
79
|
```
|
108
80
|
|
109
81
|
实例化`Client` 的入参支持 `clientConfig` 数据结构和说明 详见 [ClientConfig](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts)
|
@@ -118,6 +90,22 @@ async function main(){
|
|
118
90
|
|
119
91
|
如果是有代理的环境下,需要配置代理,请在创建Client时传入 [profile.httpProfile.proxy](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
|
120
92
|
|
93
|
+
# 凭证管理
|
94
|
+
|
95
|
+
除显式传入凭证外,从 `v4.0.506` 起支持 [腾讯云实例角色](https://cloud.tencent.com/document/product/213/47668)
|
96
|
+
|
97
|
+
在您为实例绑定角色后,您可以在实例中访问相关元数据接口获取临时凭证。用法可参考 [示例代码](./examples/cvm_role.js)
|
98
|
+
```javascript
|
99
|
+
// ...
|
100
|
+
const CvmRoleCredential = tencentcloud.CvmRoleCredential
|
101
|
+
|
102
|
+
new XxxClient({
|
103
|
+
// ...
|
104
|
+
credential: new CvmRoleCredential(),
|
105
|
+
// ...
|
106
|
+
})
|
107
|
+
```
|
108
|
+
|
121
109
|
# 旧版 SDK
|
122
110
|
|
123
111
|
我们推荐使用新版 NODEJS SDK,如果一定要用旧版 SDK,请前往[github 仓库](https://github.com/CFETeam/qcloudapi-sdk)下载。
|