tencentcloud-sdk-nodejs-intl-en 3.0.1363 → 3.0.1364
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/package.json +1 -1
- package/tencentcloud/asr/v20190614/asr_client.js +8 -8
- package/tencentcloud/asr/v20190614/models.js +32 -35
- package/tencentcloud/batch/v20170312/batch_client.js +16 -1
- package/tencentcloud/batch/v20170312/models.js +439 -211
- package/tencentcloud/billing/v20180709/models.js +3 -3
- package/tencentcloud/cbs/v20170312/cbs_client.js +67 -49
- package/tencentcloud/cbs/v20170312/models.js +272 -14
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/cvm/v20170312/models.js +19 -0
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +223 -74
- package/tencentcloud/cynosdb/v20190107/models.js +1969 -367
- package/tencentcloud/dbbrain/v20210527/models.js +52 -38
- package/tencentcloud/eb/v20210416/eb_client.js +1 -1
- package/tencentcloud/eb/v20210416/models.js +71 -33
- package/tencentcloud/ecm/v20190719/models.js +6 -6
- package/tencentcloud/facefusion/v20220927/models.js +12 -24
- package/tencentcloud/faceid/v20180301/models.js +31 -47
- package/tencentcloud/mariadb/v20170312/models.js +13 -6
- package/tencentcloud/mna/v20210119/mna_client.js +27 -0
- package/tencentcloud/mna/v20210119/models.js +201 -24
- package/tencentcloud/mongodb/v20190725/models.js +955 -201
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +106 -10
- package/tencentcloud/postgres/v20170312/models.js +2154 -1789
- package/tencentcloud/postgres/v20170312/postgres_client.js +181 -153
- package/tencentcloud/ssl/v20191205/models.js +1257 -432
- package/tencentcloud/ssl/v20191205/ssl_client.js +48 -11
- package/tencentcloud/trtc/v20190722/models.js +1115 -185
- package/tencentcloud/trtc/v20190722/trtc_client.js +66 -14
- package/tencentcloud/vod/v20180717/models.js +1227 -665
- package/tencentcloud/vod/v20180717/vod_client.js +148 -66
- package/tencentcloud/vpc/v20170312/models.js +5 -5
package/package.json
CHANGED
|
@@ -38,16 +38,16 @@ class AsrClient extends AbstractClient {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* This API can be used to recognize audio content with a long duration in recording files.
|
|
41
|
+
* This API can be used to recognize audio content with a long duration in recording files. For product pricing, see [Billing Overview (Online Version)](https://www.tencentcloud.com/zh/document/product/1118/43352)
|
|
42
42
|
- Default frequency limit: 20 requests/second. This limit only applies to submitted requests but not the response time.
|
|
43
|
-
Response time: The API adopts asynchronous callback and does not return results in real time. Recognition results will be returned within 3 hours at most. **
|
|
43
|
+
Response time: The API adopts asynchronous callback and does not return results in real time. Recognition results will be returned within 3 hours at most. **In most cases, audio with a duration of 1 hour can be recognized in 1 to 3 minutes.** Note: The response time does not include the audio download time and will not apply to scenarios where recordings with a total audio duration of over 1,000 hours or over 20,000 requests are submitted within 30 minutes.
|
|
44
44
|
- Audio formats: WAV, MP3, M4A, FLV, MP4, WMA, 3GP, AMR, AAC, OGG (Opus), and FLAC.
|
|
45
|
-
- Supported languages: See the description of **
|
|
46
|
-
- Audio submission method: This API supports **
|
|
45
|
+
- Supported languages: See the description of **EngineModelType** in this document.
|
|
46
|
+
- Audio submission method: This API supports **audio URLs and local audio files.** It is recommended to use [Tencent Cloud COS](https://intl.cloud.tencent.com/document/product/436/38484?from_cn_redirect=1) to store audio files, generate URLs, and submit requests. This method does not incur public network or downstream traffic fees but can speed up task processing. (Set the public read and private write permissions for COS buckets or URLs to be externally accessible.)
|
|
47
47
|
- Audio restrictions: For a single URL, the audio duration cannot exceed 5 hours, and the file size cannot exceed 1 GB. For a local audio file, the file size cannot exceed 5 MB.
|
|
48
|
-
- Obtain recognition results: Results can be obtained through **
|
|
48
|
+
- Obtain recognition results: Results can be obtained through **callback or polling**. See [Result Query](https://intl.cloud.tencent.com/document/product/1093/37822?from_cn_redirect=1) for details.
|
|
49
49
|
- Recognition result retention period: Recognition results are retained on the server for 24 hours.
|
|
50
|
-
- For the signature method, see the content related to the signature method v3 in [Public Parameters]
|
|
50
|
+
- For the signature method, see the content related to the signature method v3 in [Public Parameters](https://intl.cloud.tencent.com/document/api/1093/35640?from_cn_redirect=1).
|
|
51
51
|
* @param {CreateRecTaskRequest} req
|
|
52
52
|
* @param {function(string, CreateRecTaskResponse):void} cb
|
|
53
53
|
* @public
|
|
@@ -59,8 +59,8 @@ Response time: The API adopts asynchronous callback and does not return results
|
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* The recognition results can be obtained through callback or polling after the recording recognition request API is called.
|
|
62
|
-
- **
|
|
63
|
-
- For the callback method, the results will be sent by using a POST request to the callback URL specified in the request after the recognition is completed.
|
|
62
|
+
- **Note: A task is valid for 24 hours. Do not query the results with tasks that have existed for more than 24 hours or use task ID as the unique business ID because duplicate TaskIds of different dates may exist.**
|
|
63
|
+
- For the callback method, the results will be sent by using a POST request to the callback URL specified in the request after the recognition is completed.
|
|
64
64
|
- For the polling method, you need to actively provide the task ID to poll for recognition results. There are four possible results: success, waiting, in progress, and failure. For detailed information, see the content below.
|
|
65
65
|
- The request method is HTTP POST, and Content-Type is "application/json; charset=utf-8".
|
|
66
66
|
- For the signature method, see the content related to the signature method v3 in [Public Parameters](https://intl.cloud.tencent.com/document/api/1093/35640?from_cn_redirect=1).
|
|
@@ -26,7 +26,7 @@ class CreateRecTaskResponse extends AbstractModel {
|
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Returned result of the recording recognition request, containing the task ID required for querying the result.
|
|
29
|
-
**
|
|
29
|
+
**Note: The task ID is valid for 24 hours, and duplicate task IDs of different dates may exist. Do not use task ID as the unique ID in your business system.**
|
|
30
30
|
|
|
31
31
|
* @type {Task || null}
|
|
32
32
|
*/
|
|
@@ -113,7 +113,7 @@ class DescribeTaskStatusRequest extends AbstractModel {
|
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* Task ID obtained from the CreateRecTask API, which is used to obtain the task status and results.
|
|
116
|
-
**
|
|
116
|
+
**Note: A task is valid for 24 hours. Do not query the results with the tasks that have existed for more than 24 hours.**
|
|
117
117
|
* @type {number || null}
|
|
118
118
|
*/
|
|
119
119
|
this.TaskId = null;
|
|
@@ -133,7 +133,7 @@ class DescribeTaskStatusRequest extends AbstractModel {
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
|
-
* [Response parameters for obtaining recording recognition results]
|
|
136
|
+
* [Response parameters for obtaining recording recognition results](https://intl.cloud.tencent.com/document/product/1093/37822?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
|
137
137
|
* @class
|
|
138
138
|
*/
|
|
139
139
|
class TaskStatus extends AbstractModel {
|
|
@@ -213,7 +213,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
|
-
*
|
|
216
|
+
* Returneddata of the [recording recognition](https://intl.cloud.tencent.com/document/product/1093/37823?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) request.
|
|
217
217
|
* @class
|
|
218
218
|
*/
|
|
219
219
|
class Task extends AbstractModel {
|
|
@@ -221,8 +221,8 @@ class Task extends AbstractModel {
|
|
|
221
221
|
super();
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
|
-
* Task ID. This ID can be used to obtain the recognition status and results through polling. The data type of TaskId is
|
|
225
|
-
|
|
224
|
+
* Task ID. This ID can be used to obtain the recognition status and results through polling. The data type of TaskId is uint64 .
|
|
225
|
+
Note: The task ID is valid for 24 hours, and duplicate task IDs of different dates may exist. Do not use task ID as the unique ID in your business system.
|
|
226
226
|
* @type {number || null}
|
|
227
227
|
*/
|
|
228
228
|
this.TaskId = null;
|
|
@@ -251,47 +251,44 @@ class CreateRecTaskRequest extends AbstractModel {
|
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* Engine model type.
|
|
254
|
-
Each recognition engine adopts a specific billing plan. Engines marked with "large model version" adopt the large model billing plan. For product billing instructions, [click here]
|
|
254
|
+
Each recognition engine adopts a specific billing plan. Engines marked with "large model version" adopt the large model billing plan. For product billing instructions, [click here](https://www.tencentcloud.com/zh/document/product/1118/43352).
|
|
255
255
|
|
|
256
256
|
|
|
257
|
-
Note: If you want to recognize telecommunication audio but find that a 16k engine is required, you can use a 16k engine as described below for recognition. However, **
|
|
257
|
+
Note: If you want to recognize telecommunication audio but find that a 16k engine is required, you can use a 16k engine as described below for recognition. However, **the 16k engines are not trained for recognizing telecommunication audio. Therefore, the recognition results cannot be guaranteed. You need to check whether the recognition results can be used.**
|
|
258
258
|
|
|
259
259
|
Engines for general scenarios:
|
|
260
|
-
**
|
|
261
|
-
**
|
|
262
|
-
**
|
|
263
|
-
**
|
|
264
|
-
**
|
|
265
|
-
**
|
|
266
|
-
**
|
|
260
|
+
**Note: Use 16k engines for scenarios other than telecommunication.**
|
|
261
|
+
**16k_zh_large:** Engine (large model version) for Mandarin, Chinese dialects, and English. This engine supports recognizing audio in Chinese, English. It has a large number of parameters, enhanced performance, and greatly improved recognition accuracy for low-quality audio with loud noise, too much echo, low voice volume, or faint voices. [Click here](https://console.cloud.tencent.com/asr/demonstrate) to compare the recognition performance of the 16k_zh engine and this one.
|
|
262
|
+
**16k_multi_lang:** Engine (large model version) for multiple languages. This engine supports recognizing audio in English, Japanese, Korean, Arabic, Filipino, French, Hindi, Indonesian, Malay, Portuguese, Spanish, Thai, Turkish, Vietnamese, and German (sentence-level or paragraph-level).
|
|
263
|
+
**16k_zh-PY:** Engine for Chinese, English, and Cantonese. The engine supports recognizing audio in Mandarin, English, and Cantonese at the same time.
|
|
264
|
+
**16k_ms:** Engine for Malay.
|
|
265
|
+
**16k_id:** Engine for Indonesian.
|
|
266
|
+
**16k_th:** Engine for Thai.
|
|
267
267
|
* @type {string || null}
|
|
268
268
|
*/
|
|
269
269
|
this.EngineModelType = null;
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
272
|
* Number of recognition channels.
|
|
273
|
-
1: Mono. (16k engines only support mono
|
|
273
|
+
1: Mono. (16k engines only support mono.**Do no t** set to stereo.)
|
|
274
274
|
2: Stereo. (Stereo is supported only for 8k engines, and the two channels should correspond to the respective communication parties.)
|
|
275
275
|
|
|
276
276
|
Note:
|
|
277
|
-
16k engines: Only support mono
|
|
278
|
-
8k engines: Support both mono and stereo. **
|
|
277
|
+
16k engines: Only support mono.**ChannelNum should be set to 1.**
|
|
278
|
+
8k engines: Support both mono and stereo. **It is recommended to set ChannelNum to 2 (indicating stereo)**. Stereo can physically distinguish speakers to avoid recognition mistakes caused by overlapping speech. It can provide the best speaker separation and recognition effects. Once stereo is set, the speakers are automatically separated. **You do not need to enable the speaker separation feature**. You can use the default values for related parameters (**SpeakerDiarization and SpeakerNumber**). For speakerId in the returned ResultDetail, the value 0 represents the left channel, and the value 1 represents the right channel.
|
|
279
279
|
* @type {number || null}
|
|
280
280
|
*/
|
|
281
281
|
this.ChannelNum = null;
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
284
|
* Format of the returned recognition result.
|
|
285
|
-
0: The basic recognition result (containing only valid voice timestamps but no word-level [detailed recognition result]
|
|
286
|
-
1: The basic recognition result and word-level [detailed recognition result]
|
|
287
|
-
2: The basic recognition result and word-level [detailed recognition result]
|
|
288
|
-
3: The basic recognition result and word-level [detailed recognition result]
|
|
289
|
-
4: **
|
|
290
|
-
5: **
|
|
285
|
+
0: The basic recognition result (containing only valid voice timestamps but no word-level [detailed recognition result](https://intl.cloud.tencent.com/document/api/1093/37824?from_cn_redirect=1#SentenceDetail)).
|
|
286
|
+
1: The basic recognition result and word-level [detailed recognition result](https://intl.cloud.tencent.com/document/api/1093/37824?from_cn_redirect=1#SentenceDetail) (containing word-level timestamps and speech speed value but **no punctuation**).
|
|
287
|
+
2: The basic recognition result and word-level [detailed recognition result](https://intl.cloud.tencent.com/document/api/1093/37824?from_cn_redirect=1#SentenceDetail) (containing word-level timestamps, speech speed value, and **punctuation**).
|
|
288
|
+
3: The basic recognition result and word-level [detailed recognition result](https://intl.cloud.tencent.com/document/api/1093/37824?from_cn_redirect=1#SentenceDetail) (containing word-level timestamps, speech speed value, and **punctuation**). The recognition results are segmented by punctuation. **This format applies to subtitle scenarios**.
|
|
289
|
+
4: **[Value-added paid feature]** The basic recognition result and word-level [detailed recognition result](https://intl.cloud.tencent.com/document/api/1093/37824?from_cn_redirect=1#SentenceDetail) (containing word-level timestamps, speech speed value, and **punctuation**). The recognition results are segmented by NLP semantics. **This format applies to scenarios such as meeting and court record transcription** and is supported only for 8k_zh and 16k_zh engines.
|
|
290
|
+
5: **[Value-added paid feature]** Basic recognition result and word-level [detailed recognition result](https://intl.cloud.tencent.com/document/api/1093/37824?from_cn_redirect=1#SentenceDetail) (containing word-level timestamps, speech speed value, and **punctuation**). The oral-to-written transcription result is also output, which has excluded modal particles and consecutive identical words, optimized expressions, and corrected speech mistakes. **This format applies to scenarios of generating minutes for online and offline meetings** and is supported only for 8k_zh and 16k_zh engines.
|
|
291
291
|
|
|
292
|
-
Notes:
|
|
293
|
-
If this parameter is set to 4, make sure that a [semantics-based segmentation resource package] (https://intl.cloud.tencent.com/document/product/1093/35686?from_cn_redirect=1#97ae4aa0-29a0-4066-9f07-ccaf8856a16b) is purchased for your account or that your account has enabled post-payment. ** If post-payment is enabled and this parameter is set to 4, [automatic billing] (https://intl.cloud.tencent.com/document/product/1093/35686?from_cn_redirect=1#d912167d-ffd5-41a9-8b1c-2e89845a6852) will apply **.
|
|
294
|
-
If this parameter is set to 5, make sure that an [oral-to-written resource package] (https://intl.cloud.tencent.com/document/product/1093/35686?from_cn_redirect=1#97ae4aa0-29a0-4066-9f07-ccaf8856a16b) is purchased for your account or that your account has enabled post-payment. ** If post-payment is enabled and this parameter is set to 5, [automatic billing] (https://intl.cloud.tencent.com/document/product/1093/35686?from_cn_redirect=1#d912167d-ffd5-41a9-8b1c-2e89845a6852) will apply **.
|
|
295
292
|
* @type {number || null}
|
|
296
293
|
*/
|
|
297
294
|
this.ResTextFormat = null;
|
|
@@ -306,7 +303,7 @@ If this parameter is set to 5, make sure that an [oral-to-written resource packa
|
|
|
306
303
|
|
|
307
304
|
/**
|
|
308
305
|
* Audio file Base64 code.
|
|
309
|
-
**
|
|
306
|
+
**This parameter is required if SourceType is set to 1. Otherwise, it can be left blank.**
|
|
310
307
|
|
|
311
308
|
Note: The audio data size cannot exceed 5 MB.
|
|
312
309
|
* @type {string || null}
|
|
@@ -321,7 +318,7 @@ Note: The audio data size cannot exceed 5 MB.
|
|
|
321
318
|
|
|
322
319
|
/**
|
|
323
320
|
* Audio URL. (The audio should be downloadable via a public network browser.)
|
|
324
|
-
**
|
|
321
|
+
**This parameter is required if SourceType is set to 0. Otherwise, it can be left blank.**
|
|
325
322
|
|
|
326
323
|
Notes:
|
|
327
324
|
1. Make sure that the total audio duration of recording files does not exceed 5 hours. Otherwise, recognition may fail.
|
|
@@ -334,7 +331,7 @@ Notes:
|
|
|
334
331
|
* Callback URL
|
|
335
332
|
|
|
336
333
|
User-defined service URL for receiving recognition results.
|
|
337
|
-
For the callback format and content, see [Callback Description]
|
|
334
|
+
For the callback format and content, see [Callback Description](https://intl.cloud.tencent.com/document/product/1093/52632?from_cn_redirect=1).
|
|
338
335
|
|
|
339
336
|
Notes:
|
|
340
337
|
|
|
@@ -351,14 +348,14 @@ Notes:
|
|
|
351
348
|
The default value is 0.
|
|
352
349
|
|
|
353
350
|
Note:
|
|
354
|
-
If an 8k engine is used and ChannelNum is set to 2 (stereo), use the default values for corresponding parameters as stated in the **
|
|
351
|
+
If an 8k engine is used and ChannelNum is set to 2 (stereo), use the default values for corresponding parameters as stated in the **ChannelNum** parameter description.
|
|
355
352
|
* @type {number || null}
|
|
356
353
|
*/
|
|
357
354
|
this.SpeakerDiarization = null;
|
|
358
355
|
|
|
359
356
|
/**
|
|
360
357
|
* Number of speakers to be separated.
|
|
361
|
-
**
|
|
358
|
+
**Speaker separation must be enabled. Otherwise, this parameter does not take effect.** Value range: 0-10.
|
|
362
359
|
0: Automatic separation. (Up to 20 speakers can be separated.)
|
|
363
360
|
1-10: Specify the number of speakers.
|
|
364
361
|
The default value is 0.
|
|
@@ -414,7 +411,7 @@ The default value is 1.
|
|
|
414
411
|
* Dirty word filtering (supported only for engines for recognizing audio in Mandarin).
|
|
415
412
|
0: Do not filter out dirty words.
|
|
416
413
|
1: Filter out dirty words.
|
|
417
|
-
2: Replace dirty words with
|
|
414
|
+
2: Replace dirty words with .
|
|
418
415
|
The default value is 0.
|
|
419
416
|
* @type {number || null}
|
|
420
417
|
*/
|
|
@@ -442,7 +439,7 @@ The default value is 0.
|
|
|
442
439
|
|
|
443
440
|
/**
|
|
444
441
|
* The maximum number of characters per line (supported only for engines for recognizing audio in Mandarin). A punctuation mark is added if this limit is reached.
|
|
445
|
-
**
|
|
442
|
+
**This parameter can control the maximum number of characters per line, which applies to subtitle generation scenarios.** Value range: [6,40].
|
|
446
443
|
0: Disable this feature.
|
|
447
444
|
The default value is 0.
|
|
448
445
|
|
|
@@ -452,7 +449,7 @@ Note: To enable this feature, ResTextFormat should be set to 3. The recognition
|
|
|
452
449
|
this.SentenceMaxLength = null;
|
|
453
450
|
|
|
454
451
|
/**
|
|
455
|
-
* Additional parameter. **
|
|
452
|
+
* Additional parameter. **(This parameter is meaningless. Ignore it.)**
|
|
456
453
|
* @type {string || null}
|
|
457
454
|
*/
|
|
458
455
|
this.Extra = null;
|
|
@@ -31,6 +31,7 @@ const Notification = models.Notification;
|
|
|
31
31
|
const SystemDisk = models.SystemDisk;
|
|
32
32
|
const Task = models.Task;
|
|
33
33
|
const InstanceTypeConfig = models.InstanceTypeConfig;
|
|
34
|
+
const DescribeJobMonitorDataResponse = models.DescribeJobMonitorDataResponse;
|
|
34
35
|
const Externals = models.Externals;
|
|
35
36
|
const TerminateComputeNodesResponse = models.TerminateComputeNodesResponse;
|
|
36
37
|
const DescribeComputeEnvActivitiesResponse = models.DescribeComputeEnvActivitiesResponse;
|
|
@@ -39,6 +40,7 @@ const TaskInstanceLog = models.TaskInstanceLog;
|
|
|
39
40
|
const MountDataDisk = models.MountDataDisk;
|
|
40
41
|
const TaskView = models.TaskView;
|
|
41
42
|
const Tag = models.Tag;
|
|
43
|
+
const EnhancedService = models.EnhancedService;
|
|
42
44
|
const DescribeComputeEnvResponse = models.DescribeComputeEnvResponse;
|
|
43
45
|
const TerminateJobRequest = models.TerminateJobRequest;
|
|
44
46
|
const DetachInstancesResponse = models.DetachInstancesResponse;
|
|
@@ -57,6 +59,7 @@ const DescribeComputeEnvCreateInfoResponse = models.DescribeComputeEnvCreateInfo
|
|
|
57
59
|
const TerminateJobResponse = models.TerminateJobResponse;
|
|
58
60
|
const ComputeEnvCreateInfo = models.ComputeEnvCreateInfo;
|
|
59
61
|
const DescribeComputeEnvCreateInfosRequest = models.DescribeComputeEnvCreateInfosRequest;
|
|
62
|
+
const DataPointView = models.DataPointView;
|
|
60
63
|
const DescribeComputeEnvRequest = models.DescribeComputeEnvRequest;
|
|
61
64
|
const InstanceMarketOptionsRequest = models.InstanceMarketOptionsRequest;
|
|
62
65
|
const DescribeTaskTemplatesResponse = models.DescribeTaskTemplatesResponse;
|
|
@@ -75,12 +78,13 @@ const LoginSettings = models.LoginSettings;
|
|
|
75
78
|
const DetachInstancesRequest = models.DetachInstancesRequest;
|
|
76
79
|
const Instance = models.Instance;
|
|
77
80
|
const OutputMapping = models.OutputMapping;
|
|
78
|
-
const
|
|
81
|
+
const DescribeJobMonitorDataRequest = models.DescribeJobMonitorDataRequest;
|
|
79
82
|
const RunAutomationServiceEnabled = models.RunAutomationServiceEnabled;
|
|
80
83
|
const DescribeJobSubmitInfoResponse = models.DescribeJobSubmitInfoResponse;
|
|
81
84
|
const DescribeComputeEnvCreateInfosResponse = models.DescribeComputeEnvCreateInfosResponse;
|
|
82
85
|
const RunSecurityServiceEnabled = models.RunSecurityServiceEnabled;
|
|
83
86
|
const DescribeJobRequest = models.DescribeJobRequest;
|
|
87
|
+
const Dimension = models.Dimension;
|
|
84
88
|
const RedirectInfo = models.RedirectInfo;
|
|
85
89
|
const DescribeInstanceCategoriesResponse = models.DescribeInstanceCategoriesResponse;
|
|
86
90
|
const ModifyTaskTemplateResponse = models.ModifyTaskTemplateResponse;
|
|
@@ -140,6 +144,17 @@ class BatchClient extends AbstractClient {
|
|
|
140
144
|
super("batch.intl.tencentcloudapi.com", "2017-03-12", credential, region, profile);
|
|
141
145
|
}
|
|
142
146
|
|
|
147
|
+
/**
|
|
148
|
+
* Query the resource usage monitoring information of Job task instances. This API only supports querying elastic node tasks and undeleted jobs. Computing environment tasks are not currently supported. This interface only supports querying the resource utilization of Job instances within a time range.
|
|
149
|
+
* @param {DescribeJobMonitorDataRequest} req
|
|
150
|
+
* @param {function(string, DescribeJobMonitorDataResponse):void} cb
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
DescribeJobMonitorData(req, cb) {
|
|
154
|
+
let resp = new DescribeJobMonitorDataResponse();
|
|
155
|
+
this.request("DescribeJobMonitorData", req, resp, cb);
|
|
156
|
+
}
|
|
157
|
+
|
|
143
158
|
/**
|
|
144
159
|
* This API is used to query compute environment details.
|
|
145
160
|
* @param {DescribeComputeEnvRequest} req
|