tencentcloud-sdk-nodejs 4.0.406 → 4.0.409

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 (33) hide show
  1. package/CHANGELOG.md +216 -0
  2. package/SERVICE_CHANGELOG.md +233 -11
  3. package/package.json +1 -1
  4. package/products.md +12 -12
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_models.ts +16 -0
  7. package/src/services/car/v20220110/car_models.ts +7 -0
  8. package/src/services/cls/v20201016/cls_models.ts +1 -1
  9. package/src/services/es/v20180416/es_models.ts +5 -0
  10. package/src/services/ess/v20201111/ess_client.ts +17 -2
  11. package/src/services/ess/v20201111/ess_models.ts +107 -12
  12. package/src/services/iai/v20200303/iai_models.ts +1 -1
  13. package/src/services/ocr/v20181119/ocr_models.ts +1 -1
  14. package/src/services/tem/v20210701/tem_client.ts +129 -18
  15. package/src/services/tem/v20210701/tem_models.ts +582 -112
  16. package/src/services/teo/v20220106/teo_models.ts +13 -4
  17. package/tencentcloud/common/sdk_version.d.ts +1 -1
  18. package/tencentcloud/common/sdk_version.js +1 -1
  19. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +13 -0
  20. package/tencentcloud/services/car/v20220110/car_models.d.ts +6 -0
  21. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
  22. package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
  23. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -1
  24. package/tencentcloud/services/ess/v20201111/ess_client.js +7 -0
  25. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +92 -12
  26. package/tencentcloud/services/iai/v20200303/iai_models.d.ts +1 -1
  27. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
  28. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +41 -5
  29. package/tencentcloud/services/tem/v20210701/tem_client.js +60 -6
  30. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +495 -95
  31. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +12 -4
  32. package/test/ess.v20201111.test.js +10 -0
  33. package/test/tem.v20210701.test.js +94 -4
@@ -2321,7 +2321,10 @@ export interface OriginRecord {
2321
2321
  /**
2322
2322
  * 当源站配置类型Type=weight时,表示权重
2323
2323
  取值范围为[1-100]
2324
- 源站组内多个源站权重总和应为100
2324
+ 源站组内多个源站权重总和应为100
2325
+ 当源站配置类型Type=proto,表示权重
2326
+ 取值范围为[1-100]
2327
+ 源站组内Proto相同的多个源站权重总和应为100。
2325
2328
  */
2326
2329
  Weight: number;
2327
2330
  /**
@@ -2344,6 +2347,11 @@ export interface OriginRecord {
2344
2347
  注意:此字段可能返回 null,表示取不到有效值。
2345
2348
  */
2346
2349
  PrivateParameter?: Array<OriginRecordPrivateParameter>;
2350
+ /**
2351
+ * 当源站配置类型Type=proto时,表示客户端请求协议,取值:http/https
2352
+ 注意:此字段可能返回 null,表示取不到有效值。
2353
+ */
2354
+ Proto?: string;
2347
2355
  }
2348
2356
  /**
2349
2357
  * web攻击日志
@@ -3279,15 +3287,15 @@ export interface CreatePrefetchTaskResponse {
3279
3287
  */
3280
3288
  export interface WafRule {
3281
3289
  /**
3282
- * 黑名单
3290
+ * 黑名单,ID参考接口 DescribeSecurityPolicyManagedRules
3283
3291
  */
3284
3292
  BlockRuleIDs: Array<number>;
3285
3293
  /**
3286
- * id的开关
3294
+ * 托管规则 开关
3287
3295
  */
3288
3296
  Switch: string;
3289
3297
  /**
3290
- * 观察模式
3298
+ * 观察模式,ID参考接口 DescribeSecurityPolicyManagedRules
3291
3299
  注意:此字段可能返回 null,表示取不到有效值。
3292
3300
  */
3293
3301
  ObserveRuleIDs?: Array<number>;
@@ -138,6 +138,16 @@ it("ess.v20201111.DescribeFlowTemplates", async function () {
138
138
  }
139
139
  })
140
140
 
141
+ it("ess.v20201111.CreateBatchCancelFlowUrl", async function () {
142
+ try {
143
+ const data = await client.CreateBatchCancelFlowUrl({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
141
151
  it("ess.v20201111.DescribeFlowBriefs", async function () {
142
152
  try {
143
153
  const data = await client.DescribeFlowBriefs({})
@@ -18,6 +18,16 @@ const client = new tencentcloud.tem.v20210701.Client({
18
18
  })
19
19
  describe("tem.v20210701.test.js", function () {
20
20
 
21
+ it("tem.v20210701.ModifyConfigData", async function () {
22
+ try {
23
+ const data = await client.ModifyConfigData({})
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("tem.v20210701.DescribeApplicationsStatus", async function () {
22
32
  try {
23
33
  const data = await client.DescribeApplicationsStatus({})
@@ -48,6 +58,26 @@ it("tem.v20210701.ModifyApplicationReplicas", async function () {
48
58
  }
49
59
  })
50
60
 
61
+ it("tem.v20210701.CreateApplicationAutoscaler", async function () {
62
+ try {
63
+ const data = await client.CreateApplicationAutoscaler({})
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("tem.v20210701.RestartApplicationPod", async function () {
72
+ try {
73
+ const data = await client.RestartApplicationPod({})
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
+
51
81
  it("tem.v20210701.DeleteApplication", async function () {
52
82
  try {
53
83
  const data = await client.DeleteApplication({})
@@ -88,6 +118,16 @@ it("tem.v20210701.DeployApplication", async function () {
88
118
  }
89
119
  })
90
120
 
121
+ it("tem.v20210701.ModifyApplicationAutoscaler", async function () {
122
+ try {
123
+ const data = await client.ModifyApplicationAutoscaler({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
91
131
  it("tem.v20210701.DescribeDeployApplicationDetail", async function () {
92
132
  try {
93
133
  const data = await client.DescribeDeployApplicationDetail({})
@@ -138,6 +178,16 @@ it("tem.v20210701.DescribeApplicationInfo", async function () {
138
178
  }
139
179
  })
140
180
 
181
+ it("tem.v20210701.CreateConfigData", async function () {
182
+ try {
183
+ const data = await client.CreateConfigData({})
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
+
141
191
  it("tem.v20210701.DescribeApplicationPods", async function () {
142
192
  try {
143
193
  const data = await client.DescribeApplicationPods({})
@@ -148,9 +198,9 @@ it("tem.v20210701.DescribeApplicationPods", async function () {
148
198
  }
149
199
  })
150
200
 
151
- it("tem.v20210701.RestartApplication", async function () {
201
+ it("tem.v20210701.DeleteApplicationAutoscaler", async function () {
152
202
  try {
153
- const data = await client.RestartApplication({})
203
+ const data = await client.DeleteApplicationAutoscaler({})
154
204
  expect(data).to.be.ok
155
205
  } catch(error) {
156
206
  expect(error.requestId).to.be.ok
@@ -168,6 +218,16 @@ it("tem.v20210701.ModifyApplicationInfo", async function () {
168
218
  }
169
219
  })
170
220
 
221
+ it("tem.v20210701.DestroyConfigData", async function () {
222
+ try {
223
+ const data = await client.DestroyConfigData({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
171
231
  it("tem.v20210701.DescribeEnvironments", async function () {
172
232
  try {
173
233
  const data = await client.DescribeEnvironments({})
@@ -238,9 +298,9 @@ it("tem.v20210701.CreateApplication", async function () {
238
298
  }
239
299
  })
240
300
 
241
- it("tem.v20210701.RestartApplicationPod", async function () {
301
+ it("tem.v20210701.RestartApplication", async function () {
242
302
  try {
243
- const data = await client.RestartApplicationPod({})
303
+ const data = await client.RestartApplication({})
244
304
  expect(data).to.be.ok
245
305
  } catch(error) {
246
306
  expect(error.requestId).to.be.ok
@@ -288,6 +348,16 @@ it("tem.v20210701.DescribeRelatedIngresses", async function () {
288
348
  }
289
349
  })
290
350
 
351
+ it("tem.v20210701.DescribeConfigData", async function () {
352
+ try {
353
+ const data = await client.DescribeConfigData({})
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
+
291
361
  it("tem.v20210701.CreateResource", async function () {
292
362
  try {
293
363
  const data = await client.CreateResource({})
@@ -298,6 +368,16 @@ it("tem.v20210701.CreateResource", async function () {
298
368
  }
299
369
  })
300
370
 
371
+ it("tem.v20210701.DescribeApplicationAutoscalerList", async function () {
372
+ try {
373
+ const data = await client.DescribeApplicationAutoscalerList({})
374
+ expect(data).to.be.ok
375
+ } catch(error) {
376
+ expect(error.requestId).to.be.ok
377
+ expect(error.code).to.be.ok
378
+ }
379
+ })
380
+
301
381
  it("tem.v20210701.DestroyEnvironment", async function () {
302
382
  try {
303
383
  const data = await client.DestroyEnvironment({})
@@ -308,4 +388,14 @@ it("tem.v20210701.DestroyEnvironment", async function () {
308
388
  }
309
389
  })
310
390
 
391
+ it("tem.v20210701.DescribeConfigDataList", async function () {
392
+ try {
393
+ const data = await client.DescribeConfigDataList({})
394
+ expect(data).to.be.ok
395
+ } catch(error) {
396
+ expect(error.requestId).to.be.ok
397
+ expect(error.code).to.be.ok
398
+ }
399
+ })
400
+
311
401
  })