tencentcloud-sdk-nodejs-intl-en 3.0.1471 → 3.0.1473
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/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/cls/v20201016/models.js +73 -42
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/csip/v20221121/csip_client.js +19 -12
- package/tencentcloud/csip/v20221121/models.js +722 -179
- package/tencentcloud/dts/v20211206/dts_client.js +7 -3
- package/tencentcloud/dts/v20211206/models.js +446 -208
- package/tencentcloud/faceid/v20180301/faceid_client.js +5 -1
- package/tencentcloud/faceid/v20180301/models.js +251 -21
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +5 -4
- package/tencentcloud/lighthouse/v20200324/models.js +127 -14
- package/tencentcloud/ocr/v20181119/models.js +694 -405
- package/tencentcloud/ocr/v20181119/ocr_client.js +23 -7
- package/tencentcloud/teo/v20220901/models.js +316 -50
- package/tencentcloud/teo/v20220901/teo_client.js +27 -1
- package/tencentcloud/tke/v20180525/models.js +86 -0
- package/tencentcloud/tke/v20180525/tke_client.js +13 -0
- package/tencentcloud/vod/v20180717/models.js +407 -162
- package/tencentcloud/vod/v20180717/vod_client.js +42 -15
- package/tencentcloud/waf/v20180125/models.js +12871 -9082
- package/tencentcloud/waf/v20180125/waf_client.js +583 -257
|
@@ -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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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;
|
|
@@ -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
|
|
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 {
|
|
@@ -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,
|