tencentcloud-sdk-nodejs 4.0.464 → 4.0.466

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.
Files changed (89) hide show
  1. package/CHANGELOG.md +483 -0
  2. package/README.md +6 -4
  3. package/SERVICE_CHANGELOG.md +1043 -498
  4. package/package.json +1 -1
  5. package/products.md +26 -26
  6. package/src/common/sdk_version.ts +1 -1
  7. package/src/services/cdn/v20180606/cdn_client.ts +5 -3
  8. package/src/services/cdn/v20180606/cdn_models.ts +75 -24
  9. package/src/services/cfw/v20190904/cfw_client.ts +1 -1
  10. package/src/services/cfw/v20190904/cfw_models.ts +19 -19
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +31 -2
  12. package/src/services/cpdp/v20190820/cpdp_client.ts +31 -1
  13. package/src/services/cpdp/v20190820/cpdp_models.ts +655 -95
  14. package/src/services/cwp/v20180228/cwp_client.ts +106 -19
  15. package/src/services/cwp/v20180228/cwp_models.ts +636 -194
  16. package/src/services/emr/v20190103/emr_models.ts +1 -1
  17. package/src/services/es/v20180416/es_models.ts +24 -1
  18. package/src/services/ess/v20201111/ess_models.ts +1 -1
  19. package/src/services/essbasic/v20210526/essbasic_client.ts +20 -5
  20. package/src/services/essbasic/v20210526/essbasic_models.ts +135 -77
  21. package/src/services/ie/v20200304/ie_models.ts +6 -1
  22. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +28 -0
  23. package/src/services/live/v20180801/live_client.ts +1 -0
  24. package/src/services/live/v20180801/live_models.ts +3 -2
  25. package/src/services/monitor/v20180724/monitor_client.ts +2 -1
  26. package/src/services/monitor/v20180724/monitor_models.ts +32 -5
  27. package/src/services/tcb/v20180608/tcb_models.ts +7 -0
  28. package/src/services/tcm/v20210413/tcm_client.ts +1 -0
  29. package/src/services/tcm/v20210413/tcm_models.ts +45 -0
  30. package/src/services/tcss/v20201101/tcss_client.ts +127 -37
  31. package/src/services/tcss/v20201101/tcss_models.ts +631 -310
  32. package/src/services/tdcpg/v20211118/tdcpg_models.ts +13 -0
  33. package/src/services/tem/v20210701/tem_client.ts +1 -0
  34. package/src/services/tem/v20210701/tem_models.ts +257 -0
  35. package/src/services/teo/v20220901/teo_models.ts +31 -5
  36. package/src/services/thpc/v20220401/thpc_client.ts +16 -2
  37. package/src/services/thpc/v20220401/thpc_models.ts +145 -15
  38. package/src/services/tke/v20180525/tke_client.ts +1 -1
  39. package/src/services/tke/v20180525/tke_models.ts +24 -0
  40. package/src/services/tse/v20201207/tse_client.ts +1 -0
  41. package/src/services/tse/v20201207/tse_models.ts +23 -1
  42. package/tencentcloud/common/sdk_version.d.ts +1 -1
  43. package/tencentcloud/common/sdk_version.js +1 -1
  44. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +3 -3
  45. package/tencentcloud/services/cdn/v20180606/cdn_client.js +2 -2
  46. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +65 -21
  47. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
  48. package/tencentcloud/services/cfw/v20190904/cfw_client.js +1 -1
  49. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +19 -19
  50. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +26 -2
  51. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +9 -1
  52. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +12 -0
  53. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +550 -79
  54. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +33 -5
  55. package/tencentcloud/services/cwp/v20180228/cwp_client.js +48 -6
  56. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +517 -143
  57. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +1 -1
  58. package/tencentcloud/services/es/v20180416/es_models.d.ts +20 -1
  59. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
  60. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +10 -3
  61. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +11 -2
  62. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +117 -67
  63. package/tencentcloud/services/ie/v20200304/ie_models.d.ts +5 -1
  64. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +23 -0
  65. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -0
  66. package/tencentcloud/services/live/v20180801/live_client.js +1 -0
  67. package/tencentcloud/services/live/v20180801/live_models.d.ts +3 -2
  68. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  69. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +27 -4
  70. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +6 -0
  71. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +37 -0
  72. package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +39 -8
  73. package/tencentcloud/services/tcss/v20201101/tcss_client.js +54 -9
  74. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +524 -248
  75. package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +11 -0
  76. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +214 -0
  77. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +27 -5
  78. package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +5 -1
  79. package/tencentcloud/services/thpc/v20220401/thpc_client.js +6 -0
  80. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +124 -15
  81. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
  82. package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
  83. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +20 -0
  84. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +20 -1
  85. package/test/cpdp.v20190820.test.js +20 -0
  86. package/test/cwp.v20180228.test.js +74 -4
  87. package/test/essbasic.v20210526.test.js +10 -0
  88. package/test/tcss.v20201101.test.js +76 -6
  89. package/test/thpc.v20220401.test.js +10 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,486 @@
1
+ # Release 4.0.466
2
+
3
+ ## 内容分发网络(cdn) 版本:2018-06-06
4
+
5
+ ### 第 112 次发布
6
+
7
+ 发布时间:2022-10-25 06:16:59
8
+
9
+ 本次发布包含了以下内容:
10
+
11
+ 改善已有的文档。
12
+
13
+ 修改接口:
14
+
15
+ * [DescribeImageConfig](https://cloud.tencent.com/document/api/228/43844)
16
+
17
+ * 新增出参:AvifAdapter
18
+
19
+ * [UpdateImageConfig](https://cloud.tencent.com/document/api/228/43843)
20
+
21
+ * 新增入参:AvifAdapter
22
+
23
+
24
+ 新增数据结构:
25
+
26
+ * [AvifAdapter](https://cloud.tencent.com/document/api/228/30987#AvifAdapter)
27
+ * [MaxAgeCodeRule](https://cloud.tencent.com/document/api/228/30987#MaxAgeCodeRule)
28
+
29
+ 修改数据结构:
30
+
31
+ * [ImageOptimization](https://cloud.tencent.com/document/api/228/30987#ImageOptimization)
32
+
33
+ * 新增成员:AvifAdapter
34
+
35
+ * [MaxAge](https://cloud.tencent.com/document/api/228/30987#MaxAge)
36
+
37
+ * 新增成员:MaxAgeCodeRule
38
+
39
+
40
+
41
+
42
+ ## 消息队列 Ckafka(ckafka) 版本:2019-08-19
43
+
44
+ ### 第 62 次发布
45
+
46
+ 发布时间:2022-10-25 06:19:36
47
+
48
+ 本次发布包含了以下内容:
49
+
50
+ 改善已有的文档。
51
+
52
+ 修改数据结构:
53
+
54
+ * [KafkaParam](https://cloud.tencent.com/document/api/597/40861#KafkaParam)
55
+
56
+ * 新增成员:UseAutoCreateTopic, CompressionType
57
+
58
+ * [MySQLParam](https://cloud.tencent.com/document/api/597/40861#MySQLParam)
59
+
60
+ * 新增成员:IsTableRegular
61
+
62
+ * [TopicParam](https://cloud.tencent.com/document/api/597/40861#TopicParam)
63
+
64
+ * 新增成员:CompressionType, UseAutoCreateTopic
65
+
66
+
67
+
68
+
69
+ ## 企业收付平台(cpdp) 版本:2019-08-20
70
+
71
+ ### 第 91 次发布
72
+
73
+ 发布时间:2022-10-25 06:22:30
74
+
75
+ 本次发布包含了以下内容:
76
+
77
+ 改善已有的文档。
78
+
79
+ 新增接口:
80
+
81
+ * [BindOpenBankProfitSharePayee](https://cloud.tencent.com/document/api/1122/81884)
82
+ * [QueryOpenBankProfitSharePayee](https://cloud.tencent.com/document/api/1122/81883)
83
+
84
+ 修改接口:
85
+
86
+ * [ApplyOpenBankSettleOrder](https://cloud.tencent.com/document/api/1122/79773)
87
+
88
+ * 新增入参:Remark, ExternalSettleData, Environment
89
+
90
+ * [CreateCloudSubMerchant](https://cloud.tencent.com/document/api/1122/72604)
91
+
92
+ * 新增出参:ChannelAppId
93
+
94
+ * [DownloadBill](https://cloud.tencent.com/document/api/1122/40672)
95
+
96
+ * 新增出参:StateType
97
+
98
+ * [QueryOpenBankSettleOrder](https://cloud.tencent.com/document/api/1122/79771)
99
+
100
+ * 新增入参:Environment
101
+
102
+ * [QueryRefund](https://cloud.tencent.com/document/api/1122/40660)
103
+
104
+ * 新增出参:ChannelExternalOrderId, ChannelExternalRefundId, ChannelOrderId, TotalRefundAmt, CurrencyType, OutTradeNo, RefundId, MidasAppId, UsedRefundId, SubRefundList
105
+
106
+
107
+ 新增数据结构:
108
+
109
+ * [BindOpenBankProfitSharePayeeResult](https://cloud.tencent.com/document/api/1122/40683#BindOpenBankProfitSharePayeeResult)
110
+ * [OldAttachmentInfo](https://cloud.tencent.com/document/api/1122/40683#OldAttachmentInfo)
111
+ * [OldChannelExternalUserInfo](https://cloud.tencent.com/document/api/1122/40683#OldChannelExternalUserInfo)
112
+ * [OldSubRefund](https://cloud.tencent.com/document/api/1122/40683#OldSubRefund)
113
+ * [OpenBankProfitSharePayeeInfo](https://cloud.tencent.com/document/api/1122/40683#OpenBankProfitSharePayeeInfo)
114
+ * [QueryOpenBankProfitSharePayeeResult](https://cloud.tencent.com/document/api/1122/40683#QueryOpenBankProfitSharePayeeResult)
115
+
116
+ 修改数据结构:
117
+
118
+ * [CloudOrderReturn](https://cloud.tencent.com/document/api/1122/40683#CloudOrderReturn)
119
+
120
+ * 新增成员:SubAppId, PayScene, PaymentMethod
121
+
122
+ * [CloudSubOrderReturn](https://cloud.tencent.com/document/api/1122/40683#CloudSubOrderReturn)
123
+
124
+ * 新增成员:ChannelSubPayOrderId, ProductId
125
+
126
+ * [QueryOpenBankSettleOrderResult](https://cloud.tencent.com/document/api/1122/40683#QueryOpenBankSettleOrderResult)
127
+
128
+ * 新增成员:Currency
129
+
130
+ * [QueryOrderOutOrderList](https://cloud.tencent.com/document/api/1122/40683#QueryOrderOutOrderList)
131
+
132
+ * 新增成员:SettleCheck, ChannelExternalUserInfoList, AttachmentInfoList
133
+
134
+
135
+
136
+
137
+ ## 主机安全(cwp) 版本:2018-02-28
138
+
139
+ ### 第 59 次发布
140
+
141
+ 发布时间:2022-10-25 06:25:41
142
+
143
+ 本次发布包含了以下内容:
144
+
145
+ 改善已有的文档。
146
+
147
+ 修改数据结构:
148
+
149
+ * [HostLoginList](https://cloud.tencent.com/document/api/296/19867#HostLoginList)
150
+
151
+ * 新增成员:Desc
152
+
153
+
154
+
155
+
156
+ ## Elasticsearch Service(es) 版本:2018-04-16
157
+
158
+ ### 第 38 次发布
159
+
160
+ 发布时间:2022-10-25 06:33:48
161
+
162
+ 本次发布包含了以下内容:
163
+
164
+ 改善已有的文档。
165
+
166
+ 修改接口:
167
+
168
+ * [CreateInstance](https://cloud.tencent.com/document/api/845/30633)
169
+
170
+ * 新增入参:DiskEnhance
171
+
172
+
173
+ 修改数据结构:
174
+
175
+ * [InstanceInfo](https://cloud.tencent.com/document/api/845/30634#InstanceInfo)
176
+
177
+ * 新增成员:ProcessPercent, KibanaAlteringPublicAccess
178
+
179
+ * [NodeInfo](https://cloud.tencent.com/document/api/845/30634#NodeInfo)
180
+
181
+ * 新增成员:DiskEnhance
182
+
183
+
184
+
185
+
186
+ ## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26
187
+
188
+ ### 第 37 次发布
189
+
190
+ 发布时间:2022-10-24 15:26:34
191
+
192
+ 本次发布包含了以下内容:
193
+
194
+ 改善已有的文档。
195
+
196
+ 新增接口:
197
+
198
+ * [ChannelCancelFlow](https://cloud.tencent.com/document/api/1420/81869)
199
+
200
+ ### 第 36 次发布
201
+
202
+ 发布时间:2022-10-24 15:11:55
203
+
204
+ 本次发布包含了以下内容:
205
+
206
+ 改善已有的文档。
207
+
208
+ 修改接口:
209
+
210
+ * [ChannelBatchCancelFlows](https://cloud.tencent.com/document/api/1420/80391)
211
+
212
+ * 新增入参:CancelMessage, CancelMessageFormat
213
+
214
+
215
+
216
+
217
+ ## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22
218
+
219
+
220
+
221
+ ## 智能编辑(ie) 版本:2020-03-04
222
+
223
+ ### 第 13 次发布
224
+
225
+ 发布时间:2022-10-25 06:37:05
226
+
227
+ 本次发布包含了以下内容:
228
+
229
+ 改善已有的文档。
230
+
231
+ 修改接口:
232
+
233
+ * [CreateMediaQualityRestorationTask](https://cloud.tencent.com/document/api/1186/48451)
234
+
235
+ * 新增入参:TopSpeedCodecChannel
236
+
237
+
238
+
239
+
240
+ ## 物联网开发平台(iotexplorer) 版本:2019-04-23
241
+
242
+ ### 第 46 次发布
243
+
244
+ 发布时间:2022-10-25 06:38:53
245
+
246
+ 本次发布包含了以下内容:
247
+
248
+ 改善已有的文档。
249
+
250
+ 修改接口:
251
+
252
+ * [DescribeBindedProducts](https://cloud.tencent.com/document/api/1081/67876)
253
+
254
+ * 新增入参:ProductSource
255
+
256
+ * [DescribeDeviceBindGateway](https://cloud.tencent.com/document/api/1081/67872)
257
+
258
+ * 新增出参:GatewayProductOwnerName, GatewayProductOwnerUin
259
+
260
+ * [DescribeGatewaySubProducts](https://cloud.tencent.com/document/api/1081/67875)
261
+
262
+ * 新增入参:ProductSource
263
+
264
+
265
+ 修改数据结构:
266
+
267
+ * [BindProductInfo](https://cloud.tencent.com/document/api/1081/34988#BindProductInfo)
268
+
269
+ * 新增成员:ProductOwnerName
270
+
271
+
272
+
273
+
274
+ ## 容器安全服务(tcss) 版本:2020-11-01
275
+
276
+ ### 第 29 次发布
277
+
278
+ 发布时间:2022-10-25 06:57:07
279
+
280
+ 本次发布包含了以下内容:
281
+
282
+ 改善已有的文档。
283
+
284
+ 新增接口:
285
+
286
+ * [DescribeExportJobDownloadURL](https://cloud.tencent.com/document/api/1285/81886)
287
+ * [DescribeExportJobManageList](https://cloud.tencent.com/document/api/1285/81885)
288
+
289
+ 修改接口:
290
+
291
+ * [CreateImageExportJob](https://cloud.tencent.com/document/api/1285/81635)
292
+
293
+ * <font color="#dd0000">**修改入参**:</font>ExportField
294
+
295
+ * [DescribeSecLogDeliveryKafkaOptions](https://cloud.tencent.com/document/api/1285/81730)
296
+
297
+ * 新增入参:RegionID
298
+
299
+ * 新增出参:RegionList
300
+
301
+ * [DescribeSecLogDeliveryKafkaSetting](https://cloud.tencent.com/document/api/1285/81729)
302
+
303
+ * 新增出参:RegionID
304
+
305
+ * [ModifySecLogDeliveryKafkaSetting](https://cloud.tencent.com/document/api/1285/81722)
306
+
307
+ * 新增入参:RegionID
308
+
309
+
310
+ 新增数据结构:
311
+
312
+ * [ExportJobInfo](https://cloud.tencent.com/document/api/1285/65614#ExportJobInfo)
313
+
314
+ 修改数据结构:
315
+
316
+ * [CompliancePolicyItemSummary](https://cloud.tencent.com/document/api/1285/65614#CompliancePolicyItemSummary)
317
+
318
+ * 新增成员:ApplicableVersion
319
+
320
+ * [FileAttributeInfo](https://cloud.tencent.com/document/api/1285/65614#FileAttributeInfo)
321
+
322
+ * 新增成员:NewFile, FileDiff
323
+
324
+
325
+
326
+
327
+ ## 弹性微服务(tem) 版本:2021-07-01
328
+
329
+ ### 第 32 次发布
330
+
331
+ 发布时间:2022-10-25 07:01:06
332
+
333
+ 本次发布包含了以下内容:
334
+
335
+ 改善已有的文档。
336
+
337
+ 修改接口:
338
+
339
+ * [CreateApplication](https://cloud.tencent.com/document/api/1371/60162)
340
+
341
+ * 新增入参:Tags
342
+
343
+ * [CreateEnvironment](https://cloud.tencent.com/document/api/1371/60150)
344
+
345
+ * 新增入参:Tags
346
+
347
+ * [DescribeApplications](https://cloud.tencent.com/document/api/1371/78169)
348
+
349
+ * 新增入参:Filters
350
+
351
+ * [DescribeEnvironments](https://cloud.tencent.com/document/api/1371/60149)
352
+
353
+ * 新增入参:Filters
354
+
355
+ * [ModifyApplicationReplicas](https://cloud.tencent.com/document/api/1371/65772)
356
+
357
+ * 新增出参:Result
358
+
359
+
360
+ 新增数据结构:
361
+
362
+ * [QueryFilter](https://cloud.tencent.com/document/api/1371/60171#QueryFilter)
363
+
364
+ 修改数据结构:
365
+
366
+ * [DeployServicePodDetail](https://cloud.tencent.com/document/api/1371/60171#DeployServicePodDetail)
367
+
368
+ * 新增成员:Status
369
+
370
+ * [NamespaceInfo](https://cloud.tencent.com/document/api/1371/60171#NamespaceInfo)
371
+
372
+ * 新增成员:Tags
373
+
374
+ * [RunVersionPod](https://cloud.tencent.com/document/api/1371/60171#RunVersionPod)
375
+
376
+ * 新增成员:NodeInfo, StartTime, Unhealthy, UnhealthyWarningMsg, VersionId, ApplicationName
377
+
378
+ * [ServicePage](https://cloud.tencent.com/document/api/1371/60171#ServicePage)
379
+
380
+ * 新增成员:Current
381
+
382
+ * [ServiceVersionBrief](https://cloud.tencent.com/document/api/1371/60171#ServiceVersionBrief)
383
+
384
+ * 新增成员:BatchDeployStatus, Zones, NodeInfos, PodList, WorkloadInfo, CreateDate
385
+
386
+ * [TemService](https://cloud.tencent.com/document/api/1371/60171#TemService)
387
+
388
+ * 新增成员:Tags
389
+
390
+ * [TemServiceVersionInfo](https://cloud.tencent.com/document/api/1371/60171#TemServiceVersionInfo)
391
+
392
+ * 新增成员:AppId, SubAccountUin, Uin, Region, GroupId, EnableRegistry, AutoscalerList, Modifier, Creator, DeployStrategyConf, PodList, ConfEdited, Tags
393
+
394
+ * [WorkloadInfo](https://cloud.tencent.com/document/api/1371/60171#WorkloadInfo)
395
+
396
+ * 新增成员:VersionName, ReadyReplicas, Replicas, UpdatedReplicas, UpdatedReadyReplicas, UpdateRevision, CurrentRevision
397
+
398
+
399
+
400
+
401
+ ## 弹性微服务(tem) 版本:2020-12-21
402
+
403
+
404
+
405
+ ## 边缘安全加速平台(teo) 版本:2022-09-01
406
+
407
+ ### 第 7 次发布
408
+
409
+ 发布时间:2022-10-25 07:02:19
410
+
411
+ 本次发布包含了以下内容:
412
+
413
+ 改善已有的文档。
414
+
415
+ 修改数据结构:
416
+
417
+ * [AliasDomain](https://cloud.tencent.com/document/api/1552/80721#AliasDomain)
418
+
419
+ * 新增成员:ForbidMode, TargetForbid
420
+
421
+ * [Https](https://cloud.tencent.com/document/api/1552/80721#Https)
422
+
423
+ * 新增成员:ApplyType
424
+
425
+ * [ServerCertInfo](https://cloud.tencent.com/document/api/1552/80721#ServerCertInfo)
426
+
427
+ * 新增成员:CommonName
428
+
429
+
430
+
431
+
432
+ ## 边缘安全加速平台(teo) 版本:2022-01-06
433
+
434
+
435
+
436
+ ## 腾讯云微服务引擎(tse) 版本:2020-12-07
437
+
438
+ ### 第 29 次发布
439
+
440
+ 发布时间:2022-10-25 07:07:46
441
+
442
+ 本次发布包含了以下内容:
443
+
444
+ 改善已有的文档。
445
+
446
+ 修改接口:
447
+
448
+ * [DescribeSREInstanceAccessAddress](https://cloud.tencent.com/document/api/1364/54941)
449
+
450
+ * 新增出参:LimiterAddressInfos
451
+
452
+
453
+ 新增数据结构:
454
+
455
+ * [PolarisLimiterAddress](https://cloud.tencent.com/document/api/1364/54942#PolarisLimiterAddress)
456
+
457
+ 修改数据结构:
458
+
459
+ * [ServiceGovernanceInfo](https://cloud.tencent.com/document/api/1364/54942#ServiceGovernanceInfo)
460
+
461
+ * 新增成员:LimiterVpcInfos
462
+
463
+
464
+
465
+
466
+ # Release 4.0.465
467
+
468
+ ## 主机安全(cwp) 版本:2018-02-28
469
+
470
+ ### 第 58 次发布
471
+
472
+ 发布时间:2022-10-24 06:23:41
473
+
474
+ 本次发布包含了以下内容:
475
+
476
+ 改善已有的文档。
477
+
478
+ 新增接口:
479
+
480
+ * [DescribeBaselinePolicyList](https://cloud.tencent.com/document/api/296/81834)
481
+
482
+
483
+
1
484
  # Release 4.0.464
2
485
 
3
486
  ## 品牌经营管家(bma) 版本:2021-06-24
package/README.md CHANGED
@@ -51,6 +51,7 @@ const client = new CvmClient({
51
51
  httpProfile: {
52
52
  reqMethod: "POST", // 请求方法
53
53
  reqTimeout: 30, // 请求超时时间,默认60s
54
+ // proxy: "http://127.0.0.1:8899" // http请求代理
54
55
  },
55
56
  },
56
57
  })
@@ -90,6 +91,7 @@ const client = new CvmClient({
90
91
  httpProfile: {
91
92
  reqMethod: "POST", // 请求方法
92
93
  reqTimeout: 30, // 请求超时时间,默认60s
94
+ // proxy: "http://127.0.0.1:8899" // http请求代理
93
95
  },
94
96
  },
95
97
  })
@@ -114,14 +116,14 @@ async function main(){
114
116
 
115
117
  ## 代理
116
118
 
117
- 如果是有代理的环境下,需要设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
119
+ 如果是有代理的环境下,需要配置代理,请在创建Client时传入 [profile.httpProfile.proxy](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
118
120
 
119
121
  # 旧版 SDK
120
122
 
121
123
  我们推荐使用新版 NODEJS SDK,如果一定要用旧版 SDK,请前往[github 仓库](https://github.com/CFETeam/qcloudapi-sdk)下载。
122
124
 
123
125
  # 常见问题
124
- - webpack打包出错
126
+ - webpack打包出错/浏览器报错
125
127
 
126
128
  请**务必不要**将此sdk直接用于web前端(包括小程序等),暴露密钥在这些环境非常不安全。
127
129
 
@@ -129,7 +131,7 @@ async function main(){
129
131
 
130
132
  - `The "original" argument must be of type Function.`
131
133
 
132
- 通常是因为nodejs版本低于 `v10` ,请再次确认执行环境。
134
+ 通常是因为nodejs版本低于 `v10` ,或处于非node环境,请再次确认执行环境。
133
135
 
134
136
  - 请求不通
135
137
 
@@ -142,7 +144,7 @@ async function main(){
142
144
  # windows powershell
143
145
  $env:NODE_DEBUG='http' ; node app.js
144
146
  ```
145
- 如需要配置代理,请设置环境变量 `http_proxy`,例如:
147
+ 如需要配置代理,请查阅 [代理](#代理),或设置环境变量 `http_proxy`,例如:
146
148
  ```sh
147
149
  # MacOS
148
150
  http_proxy=http://代理地址:代理端口 node app.js