tencentcloud-sdk-nodejs-intl-en 3.0.1472 → 3.0.1474

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1472",
3
+ "version": "3.0.1474",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1472";
1
+ const sdkVersion = "3.0.1474";
2
2
  module.exports = sdkVersion
@@ -82,6 +82,7 @@ module.exports = {
82
82
  live: require("./live"),
83
83
  lke: require("./lke"),
84
84
  lkeap: require("./lkeap"),
85
+ makers: require("./makers"),
85
86
  mariadb: require("./mariadb"),
86
87
  mdc: require("./mdc"),
87
88
  mdl: require("./mdl"),
@@ -101,6 +101,7 @@ const DescribeAllScenesRequest = models.DescribeAllScenesRequest;
101
101
  const ModifyDisksRenewFlagRequest = models.ModifyDisksRenewFlagRequest;
102
102
  const DisassociateInstancesKeyPairsRequest = models.DisassociateInstancesKeyPairsRequest;
103
103
  const DataDiskPrice = models.DataDiskPrice;
104
+ const Command = models.Command;
104
105
  const SceneInfo = models.SceneInfo;
105
106
  const ImportKeyPairRequest = models.ImportKeyPairRequest;
106
107
  const ImportKeyPairResponse = models.ImportKeyPairResponse;
@@ -668,7 +669,7 @@ Note: Just like powering off a physical PC, a forced shutdown may cause data los
668
669
  }
669
670
 
670
671
  /**
671
- * This API is used to change the auto-renewal setting of monthly-subscribed instances.
672
+ * This API is used to change the auto-renewal setting of yearly/monthly-subscribed instances.
672
673
 
673
674
  * Instances with auto-renewal enabled are automatically renewed on a monthly basis upon the expiration.
674
675
  * Batch operations are supported. Up to 100 instances per request is allowed.
@@ -1226,10 +1227,10 @@ The account receiving the shared image must be a root account.
1226
1227
  }
1227
1228
 
1228
1229
  /**
1229
- * This API is used change one or more Lighthouse instance bundles.
1230
- * Only `RUNNING` and `STOPPED` instances can be changed.
1231
- * Batch operations are supported. The maximum number of instances in each request is 30.
1232
- * This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.
1230
+ * This API is used to change the bundle of one or more Lighthouse instances.
1231
+ * Only instances in the RUNNING or STOPPED state can be operated through this API.
1232
+ * Batch operations are supported. The maximum number of instances in each request is 15.
1233
+ * This API is an async API. After a request is sent successfully, a RequestId is returned, but the operation is not completed immediately. You can call the <a href="https://www.tencentcloud.com/document/product/1207/47573?from_cn_redirect=1" target="_blank">DescribeInstances</a> API to query the instance operation result. If the latest operation state (LatestOperationState) of the instance is "SUCCESS", the operation is successful.
1233
1234
  * @param {ModifyInstancesBundleRequest} req
1234
1235
  * @param {function(string, ModifyInstancesBundleResponse):void} cb
1235
1236
  * @public
@@ -101,7 +101,7 @@ class RenewInstancesRequest extends AbstractModel {
101
101
  this.InstanceIds = null;
102
102
 
103
103
  /**
104
- * Prepaid mode, i.e., monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. It is required for prepaid instances.
104
+ * Prepaid mode, i.e., yearly/monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. It is required for prepaid instances.
105
105
  * @type {InstanceChargePrepaid || null}
106
106
  */
107
107
  this.InstanceChargePrepaid = null;
@@ -357,7 +357,7 @@ class CreateInstancesRequest extends AbstractModel {
357
357
  this.BlueprintId = null;
358
358
 
359
359
  /**
360
- * Monthly subscription information for the instance, including the purchase period, setting of auto-renewal, etc.
360
+ * Yearly/monthly subscription information for the instance, including the purchase period, setting of auto-renewal, etc.
361
361
  * @type {InstanceChargePrepaid || null}
362
362
  */
363
363
  this.InstanceChargePrepaid = null;
@@ -369,7 +369,7 @@ class CreateInstancesRequest extends AbstractModel {
369
369
  this.InstanceName = null;
370
370
 
371
371
  /**
372
- * Number of the instances to purchase. For monthly subscribed instances, the value can be 1 to 30. The default value is `1`. Note that this number can not exceed the remaining quota under the current account.
372
+ * Number of the instances to purchase. For yearly/monthly subscribed instances, the value can be 1 to 30. The default value is `1`. Note that this number can not exceed the remaining quota under the current account.
373
373
  * @type {number || null}
374
374
  */
375
375
  this.InstanceCount = null;
@@ -397,7 +397,7 @@ If the dry run succeeds, the RequestId will be returned.
397
397
  this.ClientToken = null;
398
398
 
399
399
  /**
400
- * Login password of the instance. It’s only available for Windows instances. If it’s not specified, it means that the user choose to set the login password after the instance creation.
400
+ * Login password of the instance. It's only available for Windows instances. If it's not specified, it means that the user choose to set the login password after the instance creation.
401
401
  * @type {LoginConfiguration || null}
402
402
  */
403
403
  this.LoginConfiguration = null;
@@ -414,6 +414,36 @@ If the dry run succeeds, the RequestId will be returned.
414
414
  */
415
415
  this.AutoVoucher = null;
416
416
 
417
+ /**
418
+ * Firewall template ID. If not specified, the default firewall policy is used.
419
+ * @type {string || null}
420
+ */
421
+ this.FirewallTemplateId = null;
422
+
423
+ /**
424
+ * Tag key and tag value. If multiple tags are specified, they are created and bound to the specified resources at the same time. A tag key can have only one value on a given resource. If you attempt to add a tag with an existing key, its value is updated to the new value. Tags that do not exist are created automatically. The array supports a maximum of 10 elements.
425
+ * @type {Array.<Tag> || null}
426
+ */
427
+ this.Tags = null;
428
+
429
+ /**
430
+ * The command to be automatically executed after the instance is created.
431
+ * @type {Command || null}
432
+ */
433
+ this.InitCommand = null;
434
+
435
+ /**
436
+ * The primary domain. Note: Once a domain is specified, only a single instance can be purchased (`InstanceCount` must be set to 1).
437
+ * @type {string || null}
438
+ */
439
+ this.DomainName = null;
440
+
441
+ /**
442
+ * The subdomain. Note: Once a domain is specified, only a single instance can be purchased (`InstanceCount` must be set to 1).
443
+ * @type {string || null}
444
+ */
445
+ this.Subdomain = null;
446
+
417
447
  }
418
448
 
419
449
  /**
@@ -452,6 +482,24 @@ If the dry run succeeds, the RequestId will be returned.
452
482
  }
453
483
  }
454
484
  this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
485
+ this.FirewallTemplateId = 'FirewallTemplateId' in params ? params.FirewallTemplateId : null;
486
+
487
+ if (params.Tags) {
488
+ this.Tags = new Array();
489
+ for (let z in params.Tags) {
490
+ let obj = new Tag();
491
+ obj.deserialize(params.Tags[z]);
492
+ this.Tags.push(obj);
493
+ }
494
+ }
495
+
496
+ if (params.InitCommand) {
497
+ let obj = new Command();
498
+ obj.deserialize(params.InitCommand)
499
+ this.InitCommand = obj;
500
+ }
501
+ this.DomainName = 'DomainName' in params ? params.DomainName : null;
502
+ this.Subdomain = 'Subdomain' in params ? params.Subdomain : null;
455
503
 
456
504
  }
457
505
  }
@@ -661,7 +709,7 @@ class InquirePriceCreateDisksRequest extends AbstractModel {
661
709
  this.DiskType = null;
662
710
 
663
711
  /**
664
- * Parameter settings for purchasing the monthly subscribed cloud disk.
712
+ * Parameter settings for purchasing the yearly/monthly subscribed cloud disk.
665
713
  * @type {DiskChargePrepaid || null}
666
714
  */
667
715
  this.DiskChargePrepaid = null;
@@ -673,7 +721,7 @@ class InquirePriceCreateDisksRequest extends AbstractModel {
673
721
  this.DiskCount = null;
674
722
 
675
723
  /**
676
- * Specify the quota of disk backups. No quota if it’s left empty. Only one quota is allowed.
724
+ * Specify the quota of disk backups. No quota if it's left empty. Only one quota is allowed.
677
725
  * @type {number || null}
678
726
  */
679
727
  this.DiskBackupQuota = null;
@@ -1336,13 +1384,13 @@ class ModifyInstancesBundleRequest extends AbstractModel {
1336
1384
  super();
1337
1385
 
1338
1386
  /**
1339
- * IDs of target instances. You can get the IDs from the `InstanceId` parameter returned by the `DescribeInstances` API. Up to 15 instances can be specified at the same time.
1387
+ * List of instance IDs. One or more IDs of the instances to be operated. You can obtain the InstanceId from the value returned by the [DescribeInstances](https://www.tencentcloud.com/document/api/1207/47573?from_cn_redirect=1) API. The maximum number of instances in each request is 15.
1340
1388
  * @type {Array.<string> || null}
1341
1389
  */
1342
1390
  this.InstanceIds = null;
1343
1391
 
1344
1392
  /**
1345
- * ID of bundles to change. You can get the IDs from the `BundleId` returned by the [DescribeBundles](https://intl.cloud.tencent.com/document/api/1207/47575?from_cn_redirect=1).
1393
+ * ID of the target bundle. Note that it cannot be the same as the current bundle ID of the instance to be upgraded. You can obtain the BundleId from the value returned by the [DescribeBundles](https://www.tencentcloud.com/document/api/1207/47575?from_cn_redirect=1) API.
1346
1394
  * @type {string || null}
1347
1395
  */
1348
1396
  this.BundleId = null;
@@ -1442,7 +1490,7 @@ class InquirePriceRenewInstancesRequest extends AbstractModel {
1442
1490
  this.InstanceIds = null;
1443
1491
 
1444
1492
  /**
1445
- * Parameter setting for prepaid mode. This parameter can specify the renewal period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
1493
+ * Parameter setting for prepaid mode. This parameter can specify the renewal period, whether to enable auto-renewal, and other attributes of the yearly/monthly subscribed instances.
1446
1494
  * @type {InstanceChargePrepaid || null}
1447
1495
  */
1448
1496
  this.InstanceChargePrepaid = null;
@@ -1784,7 +1832,7 @@ class CreateDisksRequest extends AbstractModel {
1784
1832
  this.DiskType = null;
1785
1833
 
1786
1834
  /**
1787
- * Parameters of monthly subscribed cloud disks
1835
+ * Parameters of yearly/monthly subscribed cloud disks
1788
1836
  * @type {DiskChargePrepaid || null}
1789
1837
  */
1790
1838
  this.DiskChargePrepaid = null;
@@ -1802,7 +1850,7 @@ class CreateDisksRequest extends AbstractModel {
1802
1850
  this.DiskCount = null;
1803
1851
 
1804
1852
  /**
1805
- * Specify the quota of disk backups. No quota if it’s left empty. Only one quota is allowed.
1853
+ * Specify the quota of disk backups. No quota if it's left empty. Only one quota is allowed.
1806
1854
  * @type {number || null}
1807
1855
  */
1808
1856
  this.DiskBackupQuota = null;
@@ -1819,6 +1867,12 @@ class CreateDisksRequest extends AbstractModel {
1819
1867
  */
1820
1868
  this.AutoMountConfiguration = null;
1821
1869
 
1870
+ /**
1871
+ * Tag key and tag value. If multiple tags are specified, they are created and bound to the specified resources at the same time. A tag key can have only one value on a given resource. If you attempt to add a tag with an existing key, its value is updated to the new value. Tags that do not exist are created automatically. The array supports a maximum of 10 elements.
1872
+ * @type {Array.<Tag> || null}
1873
+ */
1874
+ this.Tags = null;
1875
+
1822
1876
  }
1823
1877
 
1824
1878
  /**
@@ -1848,6 +1902,15 @@ class CreateDisksRequest extends AbstractModel {
1848
1902
  this.AutoMountConfiguration = obj;
1849
1903
  }
1850
1904
 
1905
+ if (params.Tags) {
1906
+ this.Tags = new Array();
1907
+ for (let z in params.Tags) {
1908
+ let obj = new Tag();
1909
+ obj.deserialize(params.Tags[z]);
1910
+ this.Tags.push(obj);
1911
+ }
1912
+ }
1913
+
1851
1914
  }
1852
1915
  }
1853
1916
 
@@ -2218,7 +2281,7 @@ class InquirePriceRenewDisksRequest extends AbstractModel {
2218
2281
  this.DiskIds = null;
2219
2282
 
2220
2283
  /**
2221
- * Parameter settings for renewing the monthly subscribed cloud disk.
2284
+ * Parameter settings for renewing the yearly/monthly subscribed cloud disk.
2222
2285
  * @type {RenewDiskChargePrepaid || null}
2223
2286
  */
2224
2287
  this.RenewDiskChargePrepaid = null;
@@ -3236,7 +3299,7 @@ class RenewDisksRequest extends AbstractModel {
3236
3299
  this.DiskIds = null;
3237
3300
 
3238
3301
  /**
3239
- * Parameter settings for renewing the monthly subscribed cloud disk.
3302
+ * Parameter settings for renewing the yearly/monthly subscribed cloud disk.
3240
3303
  * @type {RenewDiskChargePrepaid || null}
3241
3304
  */
3242
3305
  this.RenewDiskChargePrepaid = null;
@@ -3904,6 +3967,55 @@ class DataDiskPrice extends AbstractModel {
3904
3967
  }
3905
3968
  }
3906
3969
 
3970
+ /**
3971
+ *
3972
+ * @class
3973
+ */
3974
+ class Command extends AbstractModel {
3975
+ constructor(){
3976
+ super();
3977
+
3978
+ /**
3979
+ *
3980
+ * @type {string || null}
3981
+ */
3982
+ this.Content = null;
3983
+
3984
+ /**
3985
+ *
3986
+ * @type {number || null}
3987
+ */
3988
+ this.Timeout = null;
3989
+
3990
+ /**
3991
+ *
3992
+ * @type {string || null}
3993
+ */
3994
+ this.WorkingDirectory = null;
3995
+
3996
+ /**
3997
+ *
3998
+ * @type {string || null}
3999
+ */
4000
+ this.Username = null;
4001
+
4002
+ }
4003
+
4004
+ /**
4005
+ * @private
4006
+ */
4007
+ deserialize(params) {
4008
+ if (!params) {
4009
+ return;
4010
+ }
4011
+ this.Content = 'Content' in params ? params.Content : null;
4012
+ this.Timeout = 'Timeout' in params ? params.Timeout : null;
4013
+ this.WorkingDirectory = 'WorkingDirectory' in params ? params.WorkingDirectory : null;
4014
+ this.Username = 'Username' in params ? params.Username : null;
4015
+
4016
+ }
4017
+ }
4018
+
3907
4019
  /**
3908
4020
  * Scene information
3909
4021
  * @class
@@ -6182,7 +6294,7 @@ class ResizeDisksRequest extends AbstractModel {
6182
6294
  }
6183
6295
 
6184
6296
  /**
6185
- * Parameter settings for the monthly subscribed cloud disk
6297
+ * Parameter settings for the yearly/monthly subscribed cloud disk
6186
6298
  * @class
6187
6299
  */
6188
6300
  class DiskChargePrepaid extends AbstractModel {
@@ -7935,7 +8047,7 @@ class TerminateInstancesRequest extends AbstractModel {
7935
8047
  }
7936
8048
 
7937
8049
  /**
7938
- * Parameter settings for renewing the monthly subscribed cloud disk
8050
+ * Parameter settings for renewing the yearly/monthly subscribed cloud disk
7939
8051
  * @class
7940
8052
  */
7941
8053
  class RenewDiskChargePrepaid extends AbstractModel {
@@ -9198,7 +9310,7 @@ class InquirePriceCreateInstancesRequest extends AbstractModel {
9198
9310
  this.BundleId = null;
9199
9311
 
9200
9312
  /**
9201
- * Parameter setting for prepaid mode. This parameter can specify the purchase period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
9313
+ * Parameter setting for prepaid mode. This parameter can specify the purchase period, whether to enable auto-renewal, and other attributes of the yearly/monthly subscribed instances.
9202
9314
  * @type {InstanceChargePrepaid || null}
9203
9315
  */
9204
9316
  this.InstanceChargePrepaid = null;
@@ -9873,6 +9985,7 @@ module.exports = {
9873
9985
  ModifyDisksRenewFlagRequest: ModifyDisksRenewFlagRequest,
9874
9986
  DisassociateInstancesKeyPairsRequest: DisassociateInstancesKeyPairsRequest,
9875
9987
  DataDiskPrice: DataDiskPrice,
9988
+ Command: Command,
9876
9989
  SceneInfo: SceneInfo,
9877
9990
  ImportKeyPairRequest: ImportKeyPairRequest,
9878
9991
  ImportKeyPairResponse: ImportKeyPairResponse,
@@ -183,6 +183,7 @@ const DescribeLiveWatermarkResponse = models.DescribeLiveWatermarkResponse;
183
183
  const ResumeLiveStreamResponse = models.ResumeLiveStreamResponse;
184
184
  const DescribeLiveStreamOnlineListResponse = models.DescribeLiveStreamOnlineListResponse;
185
185
  const DescribeTimeShiftStreamListResponse = models.DescribeTimeShiftStreamListResponse;
186
+ const StopScreenshotTaskRequest = models.StopScreenshotTaskRequest;
186
187
  const ModifyLiveTimeShiftTemplateResponse = models.ModifyLiveTimeShiftTemplateResponse;
187
188
  const DescribeStreamPushInfoListResponse = models.DescribeStreamPushInfoListResponse;
188
189
  const DescribeLiveStreamPushInfoListRequest = models.DescribeLiveStreamPushInfoListRequest;
@@ -309,6 +310,7 @@ const ForbidLiveDomainResponse = models.ForbidLiveDomainResponse;
309
310
  const DescribeTranscodeTaskNumRequest = models.DescribeTranscodeTaskNumRequest;
310
311
  const DescribeLiveCallbackRulesResponse = models.DescribeLiveCallbackRulesResponse;
311
312
  const DescribeLiveTranscodeTotalInfoRequest = models.DescribeLiveTranscodeTotalInfoRequest;
313
+ const StopScreenshotTaskResponse = models.StopScreenshotTaskResponse;
312
314
  const CreateRecordTaskResponse = models.CreateRecordTaskResponse;
313
315
  const RecordTask = models.RecordTask;
314
316
  const DescribeTimeShiftRecordDetailResponse = models.DescribeTimeShiftRecordDetailResponse;
@@ -755,6 +757,17 @@ Notes:
755
757
  this.request("DescribeLiveRecordTemplate", req, resp, cb);
756
758
  }
757
759
 
760
+ /**
761
+ * This API is used to terminate a screenshot task in advance. After the task is successfully terminated, it will not be started again.
762
+ * @param {StopScreenshotTaskRequest} req
763
+ * @param {function(string, StopScreenshotTaskResponse):void} cb
764
+ * @public
765
+ */
766
+ StopScreenshotTask(req, cb) {
767
+ let resp = new StopScreenshotTaskResponse();
768
+ this.request("StopScreenshotTask", req, resp, cb);
769
+ }
770
+
758
771
  /**
759
772
  * This API is used to delete a watermark.
760
773
  * @param {DeleteLiveWatermarkRequest} req
@@ -8658,6 +8658,34 @@ Note: This field may return null, indicating that no valid values can be obtaine
8658
8658
  }
8659
8659
  }
8660
8660
 
8661
+ /**
8662
+ * StopScreenshotTask request structure.
8663
+ * @class
8664
+ */
8665
+ class StopScreenshotTaskRequest extends AbstractModel {
8666
+ constructor(){
8667
+ super();
8668
+
8669
+ /**
8670
+ * Screenshot task ID.
8671
+ * @type {string || null}
8672
+ */
8673
+ this.TaskId = null;
8674
+
8675
+ }
8676
+
8677
+ /**
8678
+ * @private
8679
+ */
8680
+ deserialize(params) {
8681
+ if (!params) {
8682
+ return;
8683
+ }
8684
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
8685
+
8686
+ }
8687
+ }
8688
+
8661
8689
  /**
8662
8690
  * ModifyLiveTimeShiftTemplate response structure.
8663
8691
  * @class
@@ -15609,6 +15637,34 @@ By default, the data both in and outside the Chinese mainland is queried.
15609
15637
  }
15610
15638
  }
15611
15639
 
15640
+ /**
15641
+ * StopScreenshotTask response structure.
15642
+ * @class
15643
+ */
15644
+ class StopScreenshotTaskResponse extends AbstractModel {
15645
+ constructor(){
15646
+ super();
15647
+
15648
+ /**
15649
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
15650
+ * @type {string || null}
15651
+ */
15652
+ this.RequestId = null;
15653
+
15654
+ }
15655
+
15656
+ /**
15657
+ * @private
15658
+ */
15659
+ deserialize(params) {
15660
+ if (!params) {
15661
+ return;
15662
+ }
15663
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
15664
+
15665
+ }
15666
+ }
15667
+
15612
15668
  /**
15613
15669
  * CreateRecordTask response structure.
15614
15670
  * @class
@@ -16275,6 +16331,7 @@ module.exports = {
16275
16331
  ResumeLiveStreamResponse: ResumeLiveStreamResponse,
16276
16332
  DescribeLiveStreamOnlineListResponse: DescribeLiveStreamOnlineListResponse,
16277
16333
  DescribeTimeShiftStreamListResponse: DescribeTimeShiftStreamListResponse,
16334
+ StopScreenshotTaskRequest: StopScreenshotTaskRequest,
16278
16335
  ModifyLiveTimeShiftTemplateResponse: ModifyLiveTimeShiftTemplateResponse,
16279
16336
  DescribeStreamPushInfoListResponse: DescribeStreamPushInfoListResponse,
16280
16337
  DescribeLiveStreamPushInfoListRequest: DescribeLiveStreamPushInfoListRequest,
@@ -16401,6 +16458,7 @@ module.exports = {
16401
16458
  DescribeTranscodeTaskNumRequest: DescribeTranscodeTaskNumRequest,
16402
16459
  DescribeLiveCallbackRulesResponse: DescribeLiveCallbackRulesResponse,
16403
16460
  DescribeLiveTranscodeTotalInfoRequest: DescribeLiveTranscodeTotalInfoRequest,
16461
+ StopScreenshotTaskResponse: StopScreenshotTaskResponse,
16404
16462
  CreateRecordTaskResponse: CreateRecordTaskResponse,
16405
16463
  RecordTask: RecordTask,
16406
16464
  DescribeTimeShiftRecordDetailResponse: DescribeTimeShiftRecordDetailResponse,
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ v20261113: require("./v20261113"),
3
+ };
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ Client: require("./makers_client"),
3
+ Models: require("./models"),
4
+ };