tencentcloud-sdk-nodejs-intl-en 3.0.1402 → 3.0.1404

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.1402",
3
+ "version": "3.0.1404",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1402";
1
+ const sdkVersion = "3.0.1404";
2
2
  module.exports = sdkVersion
@@ -60548,7 +60548,7 @@ class DescribeSkillInfoResponse extends AbstractModel {
60548
60548
  super();
60549
60549
 
60550
60550
  /**
60551
- * skill information list
60551
+ * <p>skill information list</p>
60552
60552
  * @type {Array.<SkillInfo> || null}
60553
60553
  */
60554
60554
  this.SkillInfoList = null;
@@ -64070,7 +64070,7 @@ class DescribeSkillInfoRequest extends AbstractModel {
64070
64070
  super();
64071
64071
 
64072
64072
  /**
64073
- * Event ID
64073
+ * <p>Event ID.</p>
64074
64074
  * @type {Array.<number> || null}
64075
64075
  */
64076
64076
  this.Ids = null;
@@ -3614,7 +3614,7 @@ When this parameter is set to `true`, the Base64-encoded value of the profile ph
3614
3614
  }
3615
3615
 
3616
3616
  /**
3617
- *
3617
+ * Passport Information Page Content
3618
3618
  * @class
3619
3619
  */
3620
3620
  class PassportRecognizeInfos extends AbstractModel {
@@ -3622,95 +3622,135 @@ class PassportRecognizeInfos extends AbstractModel {
3622
3622
  super();
3623
3623
 
3624
3624
  /**
3625
- *
3625
+ * Document type, obtained from passport visual zone
3626
3626
  * @type {string || null}
3627
3627
  */
3628
3628
  this.Type = null;
3629
3629
 
3630
3630
  /**
3631
- *
3631
+ * Issuing country, obtained from passport visual zone
3632
3632
  * @type {string || null}
3633
3633
  */
3634
3634
  this.IssuingCountry = null;
3635
3635
 
3636
3636
  /**
3637
- *
3637
+ * Unique serial number / identification number of the passport, obtained from passport visual zone
3638
3638
  * @type {string || null}
3639
3639
  */
3640
3640
  this.PassportID = null;
3641
3641
 
3642
3642
  /**
3643
- *
3643
+ * Last name, obtained from passport visual zone
3644
3644
  * @type {string || null}
3645
3645
  */
3646
3646
  this.Surname = null;
3647
3647
 
3648
3648
  /**
3649
- *
3649
+ * First name, obtained from passport visual zone
3650
3650
  * @type {string || null}
3651
3651
  */
3652
3652
  this.GivenName = null;
3653
3653
 
3654
3654
  /**
3655
- *
3655
+ * Full name, obtained from passport visual zone
3656
3656
  * @type {string || null}
3657
3657
  */
3658
3658
  this.Name = null;
3659
3659
 
3660
3660
  /**
3661
- *
3661
+ * Nationality, obtained from passport visual zone
3662
3662
  * @type {string || null}
3663
3663
  */
3664
3664
  this.Nationality = null;
3665
3665
 
3666
3666
  /**
3667
- *
3667
+ * Date of birth, obtained from passport visual zone
3668
3668
  * @type {string || null}
3669
3669
  */
3670
3670
  this.DateOfBirth = null;
3671
3671
 
3672
3672
  /**
3673
- *
3673
+ * Gender, obtained from passport visual zone
3674
3674
  * @type {string || null}
3675
3675
  */
3676
3676
  this.Sex = null;
3677
3677
 
3678
3678
  /**
3679
- *
3679
+ * Date of issue, obtained from passport visual zone
3680
3680
  * @type {string || null}
3681
3681
  */
3682
3682
  this.DateOfIssuance = null;
3683
3683
 
3684
3684
  /**
3685
- *
3685
+ * Passport expiry date, obtained from passport visual zone
3686
3686
  * @type {string || null}
3687
3687
  */
3688
3688
  this.DateOfExpiration = null;
3689
3689
 
3690
3690
  /**
3691
- *
3691
+ * Holder's signature, obtained from passport visual zone
3692
+ (Note: Only returned for PRC passport)
3692
3693
  * @type {string || null}
3693
3694
  */
3694
3695
  this.Signature = null;
3695
3696
 
3696
3697
  /**
3697
- *
3698
+ * Place of issue, obtained from passport visual zone
3699
+ (Note: Only returned for PRC passport)
3698
3700
  * @type {string || null}
3699
3701
  */
3700
3702
  this.IssuePlace = null;
3701
3703
 
3702
3704
  /**
3703
- *
3705
+ * Issuing Authority, obtained from passport visual zone
3706
+ (Note: Only returned for PRC passport)
3707
+
3704
3708
  * @type {string || null}
3705
3709
  */
3706
3710
  this.IssuingAuthority = null;
3707
3711
 
3708
3712
  /**
3709
- *
3713
+ * Place of birth, obtained from passport visual zone
3710
3714
  * @type {string || null}
3711
3715
  */
3712
3716
  this.BirthPlace = null;
3713
3717
 
3718
+ /**
3719
+ * Passport flag, obtained from passport visual zone
3720
+ * @type {string || null}
3721
+ */
3722
+ this.PassportFlag = null;
3723
+
3724
+ /**
3725
+ * Middle name, obtained from passport visual zone
3726
+ * @type {string || null}
3727
+ */
3728
+ this.MiddleName = null;
3729
+
3730
+ /**
3731
+ * Father's name, obtained from passport visual zone
3732
+ * @type {string || null}
3733
+ */
3734
+ this.FatherName = null;
3735
+
3736
+ /**
3737
+ * Mother's name, obtained from passport visual zone
3738
+ * @type {string || null}
3739
+ */
3740
+ this.MotherName = null;
3741
+
3742
+ /**
3743
+ * Title, obtained from passport visual zone
3744
+ * @type {string || null}
3745
+ */
3746
+ this.Title = null;
3747
+
3748
+ /**
3749
+ * Name suffix, obtained from passport visual zone
3750
+ * @type {string || null}
3751
+ */
3752
+ this.Postname = null;
3753
+
3714
3754
  }
3715
3755
 
3716
3756
  /**
@@ -3735,6 +3775,12 @@ class PassportRecognizeInfos extends AbstractModel {
3735
3775
  this.IssuePlace = 'IssuePlace' in params ? params.IssuePlace : null;
3736
3776
  this.IssuingAuthority = 'IssuingAuthority' in params ? params.IssuingAuthority : null;
3737
3777
  this.BirthPlace = 'BirthPlace' in params ? params.BirthPlace : null;
3778
+ this.PassportFlag = 'PassportFlag' in params ? params.PassportFlag : null;
3779
+ this.MiddleName = 'MiddleName' in params ? params.MiddleName : null;
3780
+ this.FatherName = 'FatherName' in params ? params.FatherName : null;
3781
+ this.MotherName = 'MotherName' in params ? params.MotherName : null;
3782
+ this.Title = 'Title' in params ? params.Title : null;
3783
+ this.Postname = 'Postname' in params ? params.Postname : null;
3738
3784
 
3739
3785
  }
3740
3786
  }
@@ -4542,13 +4588,15 @@ Note: This field may return null, indicating that no valid values can be obtaine
4542
4588
  this.PassportRecognizeInfos = null;
4543
4589
 
4544
4590
  /**
4545
- * Warning information for the document. This field applies only to international site requests and will return an empty array for domestic site requests. Valid warning codes:
4546
- -9101 (incomplete card border),
4547
- -9102 (photocopied document),
4548
- -9103 (re-photographed document), -9104 (PS-altered document),
4549
- -9107 (reflective document),
4550
- -9108 (blurry image),
4551
- -9109 (warning capability not enabled).
4591
+ * Card Warning Information
4592
+
4593
+ -9101 Alarm for covered certificate
4594
+ -9102 Alarm for photocopied certificate
4595
+ -9103 Alarm for photographed certificate
4596
+ -9104 Alarm for tamper certificate
4597
+ -9107 Alarm for reflective certificate
4598
+ -9108 Alarm for blurry certificate
4599
+ -9109 This capability is not enabled. Please contact customer support to activate the alert service.
4552
4600
  * @type {Array.<number> || null}
4553
4601
  */
4554
4602
  this.WarnCardInfos = null;
@@ -1316,6 +1316,93 @@ class CreateHealthCheckPolicyRequest extends AbstractModel {
1316
1316
  }
1317
1317
  }
1318
1318
 
1319
+ /**
1320
+ * ModifyClusterMachine request structure.
1321
+ * @class
1322
+ */
1323
+ class ModifyClusterMachineRequest extends AbstractModel {
1324
+ constructor(){
1325
+ super();
1326
+
1327
+ /**
1328
+ * <p>Cluster ID</p>
1329
+ * @type {string || null}
1330
+ */
1331
+ this.ClusterId = null;
1332
+
1333
+ /**
1334
+ * <p>Node name list.</p>
1335
+ * @type {Array.<string> || null}
1336
+ */
1337
+ this.MachineNames = null;
1338
+
1339
+ /**
1340
+ * <p>display name of the machine</p>
1341
+ * @type {string || null}
1342
+ */
1343
+ this.DisplayName = null;
1344
+
1345
+ /**
1346
+ * <p>System disk C</p>
1347
+ * @type {Disk || null}
1348
+ */
1349
+ this.SystemDisk = null;
1350
+
1351
+ /**
1352
+ * <p>Security group list</p>
1353
+ * @type {Array.<string> || null}
1354
+ */
1355
+ this.SecurityGroupIDs = null;
1356
+
1357
+ /**
1358
+ * <p>Node prepayment information.</p>
1359
+ * @type {InstanceChargePrepaid || null}
1360
+ */
1361
+ this.InstanceChargePrepaid = null;
1362
+
1363
+ /**
1364
+ * <p>Change node billing type</p><p>Enumeration value:</p><ul><li>POSTPAID_BY_HOUR: The targeted billing type is pay-as-you-go.</li><li>PREPAID: The targeted billing type is annual and monthly subscription.</li></ul>
1365
+ * @type {string || null}
1366
+ */
1367
+ this.InstanceChargeType = null;
1368
+
1369
+ /**
1370
+ * <p>Whether to switch the billing mode of the elastic data cloud disk simultaneously. Value ranges from true to false: true indicates switching the billing mode of the elastic data cloud disk, false indicates not switching the billing mode of the elastic data cloud disk. Default value: true.</p><p>Default value: true</p>
1371
+ * @type {boolean || null}
1372
+ */
1373
+ this.ModifyPortableDataDisk = null;
1374
+
1375
+ }
1376
+
1377
+ /**
1378
+ * @private
1379
+ */
1380
+ deserialize(params) {
1381
+ if (!params) {
1382
+ return;
1383
+ }
1384
+ this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
1385
+ this.MachineNames = 'MachineNames' in params ? params.MachineNames : null;
1386
+ this.DisplayName = 'DisplayName' in params ? params.DisplayName : null;
1387
+
1388
+ if (params.SystemDisk) {
1389
+ let obj = new Disk();
1390
+ obj.deserialize(params.SystemDisk)
1391
+ this.SystemDisk = obj;
1392
+ }
1393
+ this.SecurityGroupIDs = 'SecurityGroupIDs' in params ? params.SecurityGroupIDs : null;
1394
+
1395
+ if (params.InstanceChargePrepaid) {
1396
+ let obj = new InstanceChargePrepaid();
1397
+ obj.deserialize(params.InstanceChargePrepaid)
1398
+ this.InstanceChargePrepaid = obj;
1399
+ }
1400
+ this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
1401
+ this.ModifyPortableDataDisk = 'ModifyPortableDataDisk' in params ? params.ModifyPortableDataDisk : null;
1402
+
1403
+ }
1404
+ }
1405
+
1319
1406
  /**
1320
1407
  * Node custom parameters
1321
1408
  * @class
@@ -1613,15 +1700,15 @@ class InstanceChargePrepaid extends AbstractModel {
1613
1700
 
1614
1701
  /**
1615
1702
  * Billing cycle of the pay-as-you-go mode (unit: month):
1616
- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60
1703
+ 1,2,3,4,5,6,7, 8,9,10,11,12,24,36,48,60
1617
1704
  * @type {number || null}
1618
1705
  */
1619
1706
  this.Period = null;
1620
1707
 
1621
1708
  /**
1622
1709
  * Renewal method of the prepayment mode:
1623
- - NOTIFY_AND_AUTO_RENEW: Notify the user of expiration and auto-renew (default)
1624
- - NOTIFY_AND_MANUAL_RENEW: Notify the user of expiration but do not auto-renew
1710
+ - NOTIFY_AND_AUTO_RENEW: Notify the user of expiration and auto-renew
1711
+ - NOTIFY_AND_MANUAL_RENEW: Notify the user of expiration but auto-renewal is not performed (default)
1625
1712
  - DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify the user of expiration and do not auto-renew
1626
1713
 
1627
1714
  * @type {string || null}
@@ -1914,6 +2001,34 @@ class Annotation extends AbstractModel {
1914
2001
  }
1915
2002
  }
1916
2003
 
2004
+ /**
2005
+ * ModifyClusterMachine response structure.
2006
+ * @class
2007
+ */
2008
+ class ModifyClusterMachineResponse extends AbstractModel {
2009
+ constructor(){
2010
+ super();
2011
+
2012
+ /**
2013
+ * 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.
2014
+ * @type {string || null}
2015
+ */
2016
+ this.RequestId = null;
2017
+
2018
+ }
2019
+
2020
+ /**
2021
+ * @private
2022
+ */
2023
+ deserialize(params) {
2024
+ if (!params) {
2025
+ return;
2026
+ }
2027
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2028
+
2029
+ }
2030
+ }
2031
+
1917
2032
  /**
1918
2033
  * DescribeClusterInstances request structure.
1919
2034
  * @class
@@ -3872,7 +3987,7 @@ class Disk extends AbstractModel {
3872
3987
  this.DiskType = null;
3873
3988
 
3874
3989
  /**
3875
- * Cloud disk size (GB)
3990
+ * Cloud disk size (G)
3876
3991
  * @type {number || null}
3877
3992
  */
3878
3993
  this.DiskSize = null;
@@ -3895,6 +4010,27 @@ class Disk extends AbstractModel {
3895
4010
  */
3896
4011
  this.MountTarget = null;
3897
4012
 
4013
+ /**
4014
+ * Cloud disk ID
4015
+ Note: This field may return "null", indicating that no valid value can be obtained.
4016
+ * @type {string || null}
4017
+ */
4018
+ this.DiskId = null;
4019
+
4020
+ /**
4021
+ * Encrypt the system disk
4022
+ Note: This field may return "null", indicating that no valid value can be obtained.
4023
+ * @type {string || null}
4024
+ */
4025
+ this.Encrypt = null;
4026
+
4027
+ /**
4028
+ * Custom KMS ID
4029
+ Note: This field may return "null", indicating that no valid value can be obtained.
4030
+ * @type {string || null}
4031
+ */
4032
+ this.KmsKeyId = null;
4033
+
3898
4034
  }
3899
4035
 
3900
4036
  /**
@@ -3909,6 +4045,9 @@ class Disk extends AbstractModel {
3909
4045
  this.AutoFormatAndMount = 'AutoFormatAndMount' in params ? params.AutoFormatAndMount : null;
3910
4046
  this.FileSystem = 'FileSystem' in params ? params.FileSystem : null;
3911
4047
  this.MountTarget = 'MountTarget' in params ? params.MountTarget : null;
4048
+ this.DiskId = 'DiskId' in params ? params.DiskId : null;
4049
+ this.Encrypt = 'Encrypt' in params ? params.Encrypt : null;
4050
+ this.KmsKeyId = 'KmsKeyId' in params ? params.KmsKeyId : null;
3912
4051
 
3913
4052
  }
3914
4053
  }
@@ -4073,6 +4212,7 @@ module.exports = {
4073
4212
  Label: Label,
4074
4213
  HealthCheckPolicyBinding: HealthCheckPolicyBinding,
4075
4214
  CreateHealthCheckPolicyRequest: CreateHealthCheckPolicyRequest,
4215
+ ModifyClusterMachineRequest: ModifyClusterMachineRequest,
4076
4216
  InstanceExtraArgs: InstanceExtraArgs,
4077
4217
  MachineUpgradeSettings: MachineUpgradeSettings,
4078
4218
  UpdateNativeNodePoolParam: UpdateNativeNodePoolParam,
@@ -4082,6 +4222,7 @@ module.exports = {
4082
4222
  MachineSetScaling: MachineSetScaling,
4083
4223
  ModifyNodePoolRequest: ModifyNodePoolRequest,
4084
4224
  Annotation: Annotation,
4225
+ ModifyClusterMachineResponse: ModifyClusterMachineResponse,
4085
4226
  DescribeClusterInstancesRequest: DescribeClusterInstancesRequest,
4086
4227
  DeleteHealthCheckPolicyResponse: DeleteHealthCheckPolicyResponse,
4087
4228
  TagSpecification: TagSpecification,
@@ -35,6 +35,7 @@ const RuntimeConfig = models.RuntimeConfig;
35
35
  const Label = models.Label;
36
36
  const HealthCheckPolicyBinding = models.HealthCheckPolicyBinding;
37
37
  const CreateHealthCheckPolicyRequest = models.CreateHealthCheckPolicyRequest;
38
+ const ModifyClusterMachineRequest = models.ModifyClusterMachineRequest;
38
39
  const InstanceExtraArgs = models.InstanceExtraArgs;
39
40
  const MachineUpgradeSettings = models.MachineUpgradeSettings;
40
41
  const UpdateNativeNodePoolParam = models.UpdateNativeNodePoolParam;
@@ -44,6 +45,7 @@ const Tag = models.Tag;
44
45
  const MachineSetScaling = models.MachineSetScaling;
45
46
  const ModifyNodePoolRequest = models.ModifyNodePoolRequest;
46
47
  const Annotation = models.Annotation;
48
+ const ModifyClusterMachineResponse = models.ModifyClusterMachineResponse;
47
49
  const DescribeClusterInstancesRequest = models.DescribeClusterInstancesRequest;
48
50
  const DeleteHealthCheckPolicyResponse = models.DeleteHealthCheckPolicyResponse;
49
51
  const TagSpecification = models.TagSpecification;
@@ -90,6 +92,17 @@ class TkeClient extends AbstractClient {
90
92
  super("tke.intl.tencentcloudapi.com", "2022-05-01", credential, region, profile);
91
93
  }
92
94
 
95
+ /**
96
+ * This API is used to modify a native node.
97
+ * @param {ModifyClusterMachineRequest} req
98
+ * @param {function(string, ModifyClusterMachineResponse):void} cb
99
+ * @public
100
+ */
101
+ ModifyClusterMachine(req, cb) {
102
+ let resp = new ModifyClusterMachineResponse();
103
+ this.request("ModifyClusterMachine", req, resp, cb);
104
+ }
105
+
93
106
  /**
94
107
  * This API is used to query a TKE node pool list.
95
108
  * @param {DescribeNodePoolsRequest} req