tencentcloud-sdk-nodejs-intl-en 3.0.476 → 3.0.477
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
CHANGED
|
@@ -31,12 +31,14 @@ const TaskFilter = models.TaskFilter;
|
|
|
31
31
|
const InputInfo = models.InputInfo;
|
|
32
32
|
const DescribeTasksResponse = models.DescribeTasksResponse;
|
|
33
33
|
const AudioResultDetailLanguageResult = models.AudioResultDetailLanguageResult;
|
|
34
|
+
const RecognitionResult = models.RecognitionResult;
|
|
34
35
|
const CancelTaskResponse = models.CancelTaskResponse;
|
|
35
36
|
const AudioResultDetailTextResult = models.AudioResultDetailTextResult;
|
|
36
37
|
const AudioResult = models.AudioResult;
|
|
37
38
|
const AudioResultDetailMoanResult = models.AudioResultDetailMoanResult;
|
|
38
39
|
const TaskData = models.TaskData;
|
|
39
40
|
const MediaInfo = models.MediaInfo;
|
|
41
|
+
const Tag = models.Tag;
|
|
40
42
|
const AudioSegments = models.AudioSegments;
|
|
41
43
|
|
|
42
44
|
|
|
@@ -351,8 +351,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
351
351
|
this.Suggestion = null;
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
|
-
*
|
|
355
|
-
Note:
|
|
354
|
+
* Label of the malicious content detected. <br>Values: **Porn**: pornographic; **Abuse**: abusive; **Ad**: advertising; **Custom**: custom type of non-compliant content and other offensive, unsafe, or inappropriate types of content.
|
|
355
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
356
356
|
* @type {Array.<TaskLabel> || null}
|
|
357
357
|
*/
|
|
358
358
|
this.Labels = null;
|
|
@@ -406,6 +406,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
406
406
|
*/
|
|
407
407
|
this.UpdatedAt = null;
|
|
408
408
|
|
|
409
|
+
/**
|
|
410
|
+
* If the recognition result is normal, this parameter is returned with the value `Normal`. If malicious content is recognized, the tag with the highest priority in the result of `Labels` is returned.
|
|
411
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
412
|
+
* @type {string || null}
|
|
413
|
+
*/
|
|
414
|
+
this.Label = null;
|
|
415
|
+
|
|
409
416
|
/**
|
|
410
417
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
411
418
|
* @type {string || null}
|
|
@@ -457,6 +464,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
457
464
|
this.ErrorDescription = 'ErrorDescription' in params ? params.ErrorDescription : null;
|
|
458
465
|
this.CreatedAt = 'CreatedAt' in params ? params.CreatedAt : null;
|
|
459
466
|
this.UpdatedAt = 'UpdatedAt' in params ? params.UpdatedAt : null;
|
|
467
|
+
this.Label = 'Label' in params ? params.Label : null;
|
|
460
468
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
461
469
|
|
|
462
470
|
}
|
|
@@ -882,6 +890,51 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
882
890
|
}
|
|
883
891
|
}
|
|
884
892
|
|
|
893
|
+
/**
|
|
894
|
+
* Information of the category label
|
|
895
|
+
* @class
|
|
896
|
+
*/
|
|
897
|
+
class RecognitionResult extends AbstractModel {
|
|
898
|
+
constructor(){
|
|
899
|
+
super();
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* Values: `Teenager`, `Gender`
|
|
903
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
904
|
+
* @type {string || null}
|
|
905
|
+
*/
|
|
906
|
+
this.Label = null;
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* List of recognized category labels
|
|
910
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
911
|
+
* @type {Array.<Tag> || null}
|
|
912
|
+
*/
|
|
913
|
+
this.Tags = null;
|
|
914
|
+
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* @private
|
|
919
|
+
*/
|
|
920
|
+
deserialize(params) {
|
|
921
|
+
if (!params) {
|
|
922
|
+
return;
|
|
923
|
+
}
|
|
924
|
+
this.Label = 'Label' in params ? params.Label : null;
|
|
925
|
+
|
|
926
|
+
if (params.Tags) {
|
|
927
|
+
this.Tags = new Array();
|
|
928
|
+
for (let z in params.Tags) {
|
|
929
|
+
let obj = new Tag();
|
|
930
|
+
obj.deserialize(params.Tags[z]);
|
|
931
|
+
this.Tags.push(obj);
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
|
|
885
938
|
/**
|
|
886
939
|
* CancelTask response structure.
|
|
887
940
|
* @class
|
|
@@ -1083,6 +1136,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1083
1136
|
*/
|
|
1084
1137
|
this.SubLabel = null;
|
|
1085
1138
|
|
|
1139
|
+
/**
|
|
1140
|
+
* List of audio recognition results
|
|
1141
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
1142
|
+
* @type {Array.<RecognitionResult> || null}
|
|
1143
|
+
*/
|
|
1144
|
+
this.RecognitionResults = null;
|
|
1145
|
+
|
|
1086
1146
|
}
|
|
1087
1147
|
|
|
1088
1148
|
/**
|
|
@@ -1129,6 +1189,15 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1129
1189
|
}
|
|
1130
1190
|
this.SubLabel = 'SubLabel' in params ? params.SubLabel : null;
|
|
1131
1191
|
|
|
1192
|
+
if (params.RecognitionResults) {
|
|
1193
|
+
this.RecognitionResults = new Array();
|
|
1194
|
+
for (let z in params.RecognitionResults) {
|
|
1195
|
+
let obj = new RecognitionResult();
|
|
1196
|
+
obj.deserialize(params.RecognitionResults[z]);
|
|
1197
|
+
this.RecognitionResults.push(obj);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1132
1201
|
}
|
|
1133
1202
|
}
|
|
1134
1203
|
|
|
@@ -1373,6 +1442,61 @@ class MediaInfo extends AbstractModel {
|
|
|
1373
1442
|
}
|
|
1374
1443
|
}
|
|
1375
1444
|
|
|
1445
|
+
/**
|
|
1446
|
+
* Tag of the audio slice
|
|
1447
|
+
* @class
|
|
1448
|
+
*/
|
|
1449
|
+
class Tag extends AbstractModel {
|
|
1450
|
+
constructor(){
|
|
1451
|
+
super();
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* The value of this parameter varies by `Label`.
|
|
1455
|
+
When `Label` is `Teenager`, `Name` can be `Teenager`.
|
|
1456
|
+
When `Label` is `Gender`, `Name` can be `Male` and `Female`.
|
|
1457
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
1458
|
+
* @type {string || null}
|
|
1459
|
+
*/
|
|
1460
|
+
this.Name = null;
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* Confidence score. Value: 1 to 100.
|
|
1464
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
1465
|
+
* @type {number || null}
|
|
1466
|
+
*/
|
|
1467
|
+
this.Score = null;
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* Start time for the recognition (ms)
|
|
1471
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
1472
|
+
* @type {number || null}
|
|
1473
|
+
*/
|
|
1474
|
+
this.StartTime = null;
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* End time for the recognition (ms)
|
|
1478
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
1479
|
+
* @type {number || null}
|
|
1480
|
+
*/
|
|
1481
|
+
this.EndTime = null;
|
|
1482
|
+
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* @private
|
|
1487
|
+
*/
|
|
1488
|
+
deserialize(params) {
|
|
1489
|
+
if (!params) {
|
|
1490
|
+
return;
|
|
1491
|
+
}
|
|
1492
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1493
|
+
this.Score = 'Score' in params ? params.Score : null;
|
|
1494
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1495
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1496
|
+
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1376
1500
|
/**
|
|
1377
1501
|
* Indicates audio segment information
|
|
1378
1502
|
* @class
|
|
@@ -1431,12 +1555,14 @@ module.exports = {
|
|
|
1431
1555
|
InputInfo: InputInfo,
|
|
1432
1556
|
DescribeTasksResponse: DescribeTasksResponse,
|
|
1433
1557
|
AudioResultDetailLanguageResult: AudioResultDetailLanguageResult,
|
|
1558
|
+
RecognitionResult: RecognitionResult,
|
|
1434
1559
|
CancelTaskResponse: CancelTaskResponse,
|
|
1435
1560
|
AudioResultDetailTextResult: AudioResultDetailTextResult,
|
|
1436
1561
|
AudioResult: AudioResult,
|
|
1437
1562
|
AudioResultDetailMoanResult: AudioResultDetailMoanResult,
|
|
1438
1563
|
TaskData: TaskData,
|
|
1439
1564
|
MediaInfo: MediaInfo,
|
|
1565
|
+
Tag: Tag,
|
|
1440
1566
|
AudioSegments: AudioSegments,
|
|
1441
1567
|
|
|
1442
1568
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.477";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -257,30 +257,24 @@ class RestartApplicationResponse extends AbstractModel {
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
/**
|
|
260
|
-
*
|
|
260
|
+
* DescribeApplicationsStatus response structure.
|
|
261
261
|
* @class
|
|
262
262
|
*/
|
|
263
|
-
class
|
|
263
|
+
class DescribeApplicationsStatusResponse extends AbstractModel {
|
|
264
264
|
constructor(){
|
|
265
265
|
super();
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
|
-
*
|
|
269
|
-
* @type {
|
|
268
|
+
* Returned result.
|
|
269
|
+
* @type {Array.<ServiceVersionBrief> || null}
|
|
270
270
|
*/
|
|
271
|
-
this.
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* Retain as default
|
|
275
|
-
* @type {number || null}
|
|
276
|
-
*/
|
|
277
|
-
this.SourceChannel = null;
|
|
271
|
+
this.Result = null;
|
|
278
272
|
|
|
279
273
|
/**
|
|
280
|
-
*
|
|
274
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
281
275
|
* @type {string || null}
|
|
282
276
|
*/
|
|
283
|
-
this.
|
|
277
|
+
this.RequestId = null;
|
|
284
278
|
|
|
285
279
|
}
|
|
286
280
|
|
|
@@ -291,9 +285,16 @@ class StopApplicationRequest extends AbstractModel {
|
|
|
291
285
|
if (!params) {
|
|
292
286
|
return;
|
|
293
287
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
288
|
+
|
|
289
|
+
if (params.Result) {
|
|
290
|
+
this.Result = new Array();
|
|
291
|
+
for (let z in params.Result) {
|
|
292
|
+
let obj = new ServiceVersionBrief();
|
|
293
|
+
obj.deserialize(params.Result[z]);
|
|
294
|
+
this.Result.push(obj);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
297
298
|
|
|
298
299
|
}
|
|
299
300
|
}
|
|
@@ -2489,6 +2490,41 @@ Examples:
|
|
|
2489
2490
|
}
|
|
2490
2491
|
}
|
|
2491
2492
|
|
|
2493
|
+
/**
|
|
2494
|
+
* DescribeApplicationsStatus request structure.
|
|
2495
|
+
* @class
|
|
2496
|
+
*/
|
|
2497
|
+
class DescribeApplicationsStatusRequest extends AbstractModel {
|
|
2498
|
+
constructor(){
|
|
2499
|
+
super();
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* Source channel. Please keep the default value.
|
|
2503
|
+
* @type {number || null}
|
|
2504
|
+
*/
|
|
2505
|
+
this.SourceChannel = null;
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* Environment ID
|
|
2509
|
+
* @type {string || null}
|
|
2510
|
+
*/
|
|
2511
|
+
this.EnvironmentId = null;
|
|
2512
|
+
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
/**
|
|
2516
|
+
* @private
|
|
2517
|
+
*/
|
|
2518
|
+
deserialize(params) {
|
|
2519
|
+
if (!params) {
|
|
2520
|
+
return;
|
|
2521
|
+
}
|
|
2522
|
+
this.SourceChannel = 'SourceChannel' in params ? params.SourceChannel : null;
|
|
2523
|
+
this.EnvironmentId = 'EnvironmentId' in params ? params.EnvironmentId : null;
|
|
2524
|
+
|
|
2525
|
+
}
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2492
2528
|
/**
|
|
2493
2529
|
* RollingUpdateApplicationByVersion response structure.
|
|
2494
2530
|
* @class
|
|
@@ -3309,6 +3345,48 @@ class DeployStrategyConf extends AbstractModel {
|
|
|
3309
3345
|
}
|
|
3310
3346
|
}
|
|
3311
3347
|
|
|
3348
|
+
/**
|
|
3349
|
+
* StopApplication request structure.
|
|
3350
|
+
* @class
|
|
3351
|
+
*/
|
|
3352
|
+
class StopApplicationRequest extends AbstractModel {
|
|
3353
|
+
constructor(){
|
|
3354
|
+
super();
|
|
3355
|
+
|
|
3356
|
+
/**
|
|
3357
|
+
* Application ID
|
|
3358
|
+
* @type {string || null}
|
|
3359
|
+
*/
|
|
3360
|
+
this.ApplicationId = null;
|
|
3361
|
+
|
|
3362
|
+
/**
|
|
3363
|
+
* Retain as default
|
|
3364
|
+
* @type {number || null}
|
|
3365
|
+
*/
|
|
3366
|
+
this.SourceChannel = null;
|
|
3367
|
+
|
|
3368
|
+
/**
|
|
3369
|
+
* Environment ID
|
|
3370
|
+
* @type {string || null}
|
|
3371
|
+
*/
|
|
3372
|
+
this.EnvironmentId = null;
|
|
3373
|
+
|
|
3374
|
+
}
|
|
3375
|
+
|
|
3376
|
+
/**
|
|
3377
|
+
* @private
|
|
3378
|
+
*/
|
|
3379
|
+
deserialize(params) {
|
|
3380
|
+
if (!params) {
|
|
3381
|
+
return;
|
|
3382
|
+
}
|
|
3383
|
+
this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
|
|
3384
|
+
this.SourceChannel = 'SourceChannel' in params ? params.SourceChannel : null;
|
|
3385
|
+
this.EnvironmentId = 'EnvironmentId' in params ? params.EnvironmentId : null;
|
|
3386
|
+
|
|
3387
|
+
}
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3312
3390
|
/**
|
|
3313
3391
|
* DescribeIngress request structure.
|
|
3314
3392
|
* @class
|
|
@@ -3724,6 +3802,139 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
3724
3802
|
}
|
|
3725
3803
|
}
|
|
3726
3804
|
|
|
3805
|
+
/**
|
|
3806
|
+
* List of application versions
|
|
3807
|
+
* @class
|
|
3808
|
+
*/
|
|
3809
|
+
class ServiceVersionBrief extends AbstractModel {
|
|
3810
|
+
constructor(){
|
|
3811
|
+
super();
|
|
3812
|
+
|
|
3813
|
+
/**
|
|
3814
|
+
* Version name
|
|
3815
|
+
* @type {string || null}
|
|
3816
|
+
*/
|
|
3817
|
+
this.VersionName = null;
|
|
3818
|
+
|
|
3819
|
+
/**
|
|
3820
|
+
* Status of version
|
|
3821
|
+
* @type {string || null}
|
|
3822
|
+
*/
|
|
3823
|
+
this.Status = null;
|
|
3824
|
+
|
|
3825
|
+
/**
|
|
3826
|
+
* (Disused) Whether to enable elastic scaling
|
|
3827
|
+
* @type {number || null}
|
|
3828
|
+
*/
|
|
3829
|
+
this.EnableEs = null;
|
|
3830
|
+
|
|
3831
|
+
/**
|
|
3832
|
+
* Number of current instances
|
|
3833
|
+
* @type {number || null}
|
|
3834
|
+
*/
|
|
3835
|
+
this.CurrentInstances = null;
|
|
3836
|
+
|
|
3837
|
+
/**
|
|
3838
|
+
* Version ID
|
|
3839
|
+
* @type {string || null}
|
|
3840
|
+
*/
|
|
3841
|
+
this.VersionId = null;
|
|
3842
|
+
|
|
3843
|
+
/**
|
|
3844
|
+
* (Disused) Log output configuration
|
|
3845
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3846
|
+
* @type {LogOutputConf || null}
|
|
3847
|
+
*/
|
|
3848
|
+
this.LogOutputConf = null;
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* Expected number of instances
|
|
3852
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3853
|
+
* @type {number || null}
|
|
3854
|
+
*/
|
|
3855
|
+
this.ExpectedInstances = null;
|
|
3856
|
+
|
|
3857
|
+
/**
|
|
3858
|
+
* Deployment mode
|
|
3859
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3860
|
+
* @type {string || null}
|
|
3861
|
+
*/
|
|
3862
|
+
this.DeployMode = null;
|
|
3863
|
+
|
|
3864
|
+
/**
|
|
3865
|
+
* Task ID
|
|
3866
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3867
|
+
* @type {string || null}
|
|
3868
|
+
*/
|
|
3869
|
+
this.BuildTaskId = null;
|
|
3870
|
+
|
|
3871
|
+
/**
|
|
3872
|
+
* Environment ID
|
|
3873
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3874
|
+
* @type {string || null}
|
|
3875
|
+
*/
|
|
3876
|
+
this.EnvironmentId = null;
|
|
3877
|
+
|
|
3878
|
+
/**
|
|
3879
|
+
* Environment name
|
|
3880
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3881
|
+
* @type {string || null}
|
|
3882
|
+
*/
|
|
3883
|
+
this.EnvironmentName = null;
|
|
3884
|
+
|
|
3885
|
+
/**
|
|
3886
|
+
* Application ID.
|
|
3887
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3888
|
+
* @type {string || null}
|
|
3889
|
+
*/
|
|
3890
|
+
this.ApplicationId = null;
|
|
3891
|
+
|
|
3892
|
+
/**
|
|
3893
|
+
* Application name
|
|
3894
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3895
|
+
* @type {string || null}
|
|
3896
|
+
*/
|
|
3897
|
+
this.ApplicationName = null;
|
|
3898
|
+
|
|
3899
|
+
/**
|
|
3900
|
+
* Whether the application is being deployed
|
|
3901
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3902
|
+
* @type {boolean || null}
|
|
3903
|
+
*/
|
|
3904
|
+
this.UnderDeploying = null;
|
|
3905
|
+
|
|
3906
|
+
}
|
|
3907
|
+
|
|
3908
|
+
/**
|
|
3909
|
+
* @private
|
|
3910
|
+
*/
|
|
3911
|
+
deserialize(params) {
|
|
3912
|
+
if (!params) {
|
|
3913
|
+
return;
|
|
3914
|
+
}
|
|
3915
|
+
this.VersionName = 'VersionName' in params ? params.VersionName : null;
|
|
3916
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
3917
|
+
this.EnableEs = 'EnableEs' in params ? params.EnableEs : null;
|
|
3918
|
+
this.CurrentInstances = 'CurrentInstances' in params ? params.CurrentInstances : null;
|
|
3919
|
+
this.VersionId = 'VersionId' in params ? params.VersionId : null;
|
|
3920
|
+
|
|
3921
|
+
if (params.LogOutputConf) {
|
|
3922
|
+
let obj = new LogOutputConf();
|
|
3923
|
+
obj.deserialize(params.LogOutputConf)
|
|
3924
|
+
this.LogOutputConf = obj;
|
|
3925
|
+
}
|
|
3926
|
+
this.ExpectedInstances = 'ExpectedInstances' in params ? params.ExpectedInstances : null;
|
|
3927
|
+
this.DeployMode = 'DeployMode' in params ? params.DeployMode : null;
|
|
3928
|
+
this.BuildTaskId = 'BuildTaskId' in params ? params.BuildTaskId : null;
|
|
3929
|
+
this.EnvironmentId = 'EnvironmentId' in params ? params.EnvironmentId : null;
|
|
3930
|
+
this.EnvironmentName = 'EnvironmentName' in params ? params.EnvironmentName : null;
|
|
3931
|
+
this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null;
|
|
3932
|
+
this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null;
|
|
3933
|
+
this.UnderDeploying = 'UnderDeploying' in params ? params.UnderDeploying : null;
|
|
3934
|
+
|
|
3935
|
+
}
|
|
3936
|
+
}
|
|
3937
|
+
|
|
3727
3938
|
/**
|
|
3728
3939
|
* CreateEnvironment request structure.
|
|
3729
3940
|
* @class
|
|
@@ -3859,7 +4070,7 @@ module.exports = {
|
|
|
3859
4070
|
DeleteApplicationRequest: DeleteApplicationRequest,
|
|
3860
4071
|
CreateResourceRequest: CreateResourceRequest,
|
|
3861
4072
|
RestartApplicationResponse: RestartApplicationResponse,
|
|
3862
|
-
|
|
4073
|
+
DescribeApplicationsStatusResponse: DescribeApplicationsStatusResponse,
|
|
3863
4074
|
HealthCheckConfig: HealthCheckConfig,
|
|
3864
4075
|
ModifyEnvironmentRequest: ModifyEnvironmentRequest,
|
|
3865
4076
|
EsInfo: EsInfo,
|
|
@@ -3892,6 +4103,7 @@ module.exports = {
|
|
|
3892
4103
|
CreateCosTokenResponse: CreateCosTokenResponse,
|
|
3893
4104
|
IngressRule: IngressRule,
|
|
3894
4105
|
CronHorizontalAutoscaler: CronHorizontalAutoscaler,
|
|
4106
|
+
DescribeApplicationsStatusRequest: DescribeApplicationsStatusRequest,
|
|
3895
4107
|
RollingUpdateApplicationByVersionResponse: RollingUpdateApplicationByVersionResponse,
|
|
3896
4108
|
RollingUpdateApplicationByVersionRequest: RollingUpdateApplicationByVersionRequest,
|
|
3897
4109
|
RunVersionPod: RunVersionPod,
|
|
@@ -3909,6 +4121,7 @@ module.exports = {
|
|
|
3909
4121
|
StorageMountConf: StorageMountConf,
|
|
3910
4122
|
PortMapping: PortMapping,
|
|
3911
4123
|
DeployStrategyConf: DeployStrategyConf,
|
|
4124
|
+
StopApplicationRequest: StopApplicationRequest,
|
|
3912
4125
|
DescribeIngressRequest: DescribeIngressRequest,
|
|
3913
4126
|
CreateCosTokenRequest: CreateCosTokenRequest,
|
|
3914
4127
|
DescribeEnvironmentsRequest: DescribeEnvironmentsRequest,
|
|
@@ -3917,6 +4130,7 @@ module.exports = {
|
|
|
3917
4130
|
CronHorizontalAutoscalerSchedule: CronHorizontalAutoscalerSchedule,
|
|
3918
4131
|
DeployApplicationResponse: DeployApplicationResponse,
|
|
3919
4132
|
StorageConf: StorageConf,
|
|
4133
|
+
ServiceVersionBrief: ServiceVersionBrief,
|
|
3920
4134
|
CreateEnvironmentRequest: CreateEnvironmentRequest,
|
|
3921
4135
|
Pair: Pair,
|
|
3922
4136
|
|
|
@@ -21,7 +21,7 @@ const RestartApplicationPodResponse = models.RestartApplicationPodResponse;
|
|
|
21
21
|
const DeleteApplicationRequest = models.DeleteApplicationRequest;
|
|
22
22
|
const CreateResourceRequest = models.CreateResourceRequest;
|
|
23
23
|
const RestartApplicationResponse = models.RestartApplicationResponse;
|
|
24
|
-
const
|
|
24
|
+
const DescribeApplicationsStatusResponse = models.DescribeApplicationsStatusResponse;
|
|
25
25
|
const HealthCheckConfig = models.HealthCheckConfig;
|
|
26
26
|
const ModifyEnvironmentRequest = models.ModifyEnvironmentRequest;
|
|
27
27
|
const EsInfo = models.EsInfo;
|
|
@@ -54,6 +54,7 @@ const DescribeIngressResponse = models.DescribeIngressResponse;
|
|
|
54
54
|
const CreateCosTokenResponse = models.CreateCosTokenResponse;
|
|
55
55
|
const IngressRule = models.IngressRule;
|
|
56
56
|
const CronHorizontalAutoscaler = models.CronHorizontalAutoscaler;
|
|
57
|
+
const DescribeApplicationsStatusRequest = models.DescribeApplicationsStatusRequest;
|
|
57
58
|
const RollingUpdateApplicationByVersionResponse = models.RollingUpdateApplicationByVersionResponse;
|
|
58
59
|
const RollingUpdateApplicationByVersionRequest = models.RollingUpdateApplicationByVersionRequest;
|
|
59
60
|
const RunVersionPod = models.RunVersionPod;
|
|
@@ -71,6 +72,7 @@ const HorizontalAutoscaler = models.HorizontalAutoscaler;
|
|
|
71
72
|
const StorageMountConf = models.StorageMountConf;
|
|
72
73
|
const PortMapping = models.PortMapping;
|
|
73
74
|
const DeployStrategyConf = models.DeployStrategyConf;
|
|
75
|
+
const StopApplicationRequest = models.StopApplicationRequest;
|
|
74
76
|
const DescribeIngressRequest = models.DescribeIngressRequest;
|
|
75
77
|
const CreateCosTokenRequest = models.CreateCosTokenRequest;
|
|
76
78
|
const DescribeEnvironmentsRequest = models.DescribeEnvironmentsRequest;
|
|
@@ -79,6 +81,7 @@ const EksService = models.EksService;
|
|
|
79
81
|
const CronHorizontalAutoscalerSchedule = models.CronHorizontalAutoscalerSchedule;
|
|
80
82
|
const DeployApplicationResponse = models.DeployApplicationResponse;
|
|
81
83
|
const StorageConf = models.StorageConf;
|
|
84
|
+
const ServiceVersionBrief = models.ServiceVersionBrief;
|
|
82
85
|
const CreateEnvironmentRequest = models.CreateEnvironmentRequest;
|
|
83
86
|
const Pair = models.Pair;
|
|
84
87
|
|
|
@@ -104,6 +107,17 @@ class TemClient extends AbstractClient {
|
|
|
104
107
|
this.request("DeployApplication", req, resp, cb);
|
|
105
108
|
}
|
|
106
109
|
|
|
110
|
+
/**
|
|
111
|
+
* This API is used to query the status of all applications in an envrionment.
|
|
112
|
+
* @param {DescribeApplicationsStatusRequest} req
|
|
113
|
+
* @param {function(string, DescribeApplicationsStatusResponse):void} cb
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
DescribeApplicationsStatus(req, cb) {
|
|
117
|
+
let resp = new DescribeApplicationsStatusResponse();
|
|
118
|
+
this.request("DescribeApplicationsStatus", req, resp, cb);
|
|
119
|
+
}
|
|
120
|
+
|
|
107
121
|
/**
|
|
108
122
|
* This API is used to restart an application.
|
|
109
123
|
* @param {RestartApplicationRequest} req
|