tencentcloud-sdk-nodejs-intl-en 3.0.640 → 3.0.642
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/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +3 -2
- package/tencentcloud/cvm/v20170312/models.js +62 -12
- package/tencentcloud/faceid/v20180301/models.js +54 -36
- package/tencentcloud/mongodb/v20190725/models.js +264 -260
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +2 -20
- package/tencentcloud/redis/v20180412/models.js +241 -66
- package/tencentcloud/redis/v20180412/redis_client.js +8 -7
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.642";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -623,8 +623,9 @@ If you currently use a password to log in, you will no longer be able to do so a
|
|
|
623
623
|
|
|
624
624
|
/**
|
|
625
625
|
* This API is used to modify the VPC attributes of an instance, such as the VPC IP address.
|
|
626
|
-
*
|
|
627
|
-
*
|
|
626
|
+
* This action will shut down the instance, and restart it after the modification is completed.
|
|
627
|
+
* To migrate an instance to another VPC/subnet, specify the new VPC and subnet directly. Make sure that the instance to migrate is not bound to an [ENI](https://intl.cloud.tencent.com/document/product/576?from_cn_redirect=1) or [CLB](https://intl.cloud.tencent.com/document/product/214?from_cn_redirect=1) instances.
|
|
628
|
+
* You can use the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) to query the operation result. If the `LatestOperationState` in the response is `SUCCESS`, the operation is successful.
|
|
628
629
|
* @param {ModifyInstancesVpcAttributeRequest} req
|
|
629
630
|
* @param {function(string, ModifyInstancesVpcAttributeResponse):void} cb
|
|
630
631
|
* @public
|
|
@@ -2709,7 +2709,7 @@ class SyncImagesResponse extends AbstractModel {
|
|
|
2709
2709
|
super();
|
|
2710
2710
|
|
|
2711
2711
|
/**
|
|
2712
|
-
*
|
|
2712
|
+
* ID of the image created in the destination region
|
|
2713
2713
|
* @type {Array.<SyncImage> || null}
|
|
2714
2714
|
*/
|
|
2715
2715
|
this.ImageSet = null;
|
|
@@ -3075,7 +3075,7 @@ class Placement extends AbstractModel {
|
|
|
3075
3075
|
this.HostIds = null;
|
|
3076
3076
|
|
|
3077
3077
|
/**
|
|
3078
|
-
*
|
|
3078
|
+
* IPs of the hosts to create CVMs
|
|
3079
3079
|
* @type {Array.<string> || null}
|
|
3080
3080
|
*/
|
|
3081
3081
|
this.HostIps = null;
|
|
@@ -3213,6 +3213,12 @@ class SyncImagesRequest extends AbstractModel {
|
|
|
3213
3213
|
*/
|
|
3214
3214
|
this.ImageName = null;
|
|
3215
3215
|
|
|
3216
|
+
/**
|
|
3217
|
+
* Whether to return the ID of image created in the destination region
|
|
3218
|
+
* @type {boolean || null}
|
|
3219
|
+
*/
|
|
3220
|
+
this.ImageSetRequired = null;
|
|
3221
|
+
|
|
3216
3222
|
}
|
|
3217
3223
|
|
|
3218
3224
|
/**
|
|
@@ -3226,6 +3232,7 @@ class SyncImagesRequest extends AbstractModel {
|
|
|
3226
3232
|
this.DestinationRegions = 'DestinationRegions' in params ? params.DestinationRegions : null;
|
|
3227
3233
|
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
3228
3234
|
this.ImageName = 'ImageName' in params ? params.ImageName : null;
|
|
3235
|
+
this.ImageSetRequired = 'ImageSetRequired' in params ? params.ImageSetRequired : null;
|
|
3229
3236
|
|
|
3230
3237
|
}
|
|
3231
3238
|
}
|
|
@@ -5034,7 +5041,7 @@ Click [here](https://intl.cloud.tencent.com/document/product/213/43498?from_cn_r
|
|
|
5034
5041
|
this.Sysprep = null;
|
|
5035
5042
|
|
|
5036
5043
|
/**
|
|
5037
|
-
*
|
|
5044
|
+
* IDs of data disks included in the image.
|
|
5038
5045
|
* @type {Array.<string> || null}
|
|
5039
5046
|
*/
|
|
5040
5047
|
this.DataDiskIds = null;
|
|
@@ -5327,6 +5334,25 @@ Note: this field may return null, indicating that no valid value was found.
|
|
|
5327
5334
|
*/
|
|
5328
5335
|
this.DisableApiTermination = null;
|
|
5329
5336
|
|
|
5337
|
+
/**
|
|
5338
|
+
* Default login user
|
|
5339
|
+
* @type {string || null}
|
|
5340
|
+
*/
|
|
5341
|
+
this.DefaultLoginUser = null;
|
|
5342
|
+
|
|
5343
|
+
/**
|
|
5344
|
+
* Default login port
|
|
5345
|
+
* @type {number || null}
|
|
5346
|
+
*/
|
|
5347
|
+
this.DefaultLoginPort = null;
|
|
5348
|
+
|
|
5349
|
+
/**
|
|
5350
|
+
* Latest operation errors of the instance.
|
|
5351
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
5352
|
+
* @type {string || null}
|
|
5353
|
+
*/
|
|
5354
|
+
this.LatestOperationErrorMsg = null;
|
|
5355
|
+
|
|
5330
5356
|
}
|
|
5331
5357
|
|
|
5332
5358
|
/**
|
|
@@ -5419,6 +5445,9 @@ Note: this field may return null, indicating that no valid value was found.
|
|
|
5419
5445
|
}
|
|
5420
5446
|
this.LicenseType = 'LicenseType' in params ? params.LicenseType : null;
|
|
5421
5447
|
this.DisableApiTermination = 'DisableApiTermination' in params ? params.DisableApiTermination : null;
|
|
5448
|
+
this.DefaultLoginUser = 'DefaultLoginUser' in params ? params.DefaultLoginUser : null;
|
|
5449
|
+
this.DefaultLoginPort = 'DefaultLoginPort' in params ? params.DefaultLoginPort : null;
|
|
5450
|
+
this.LatestOperationErrorMsg = 'LatestOperationErrorMsg' in params ? params.LatestOperationErrorMsg : null;
|
|
5422
5451
|
|
|
5423
5452
|
}
|
|
5424
5453
|
}
|
|
@@ -6805,8 +6834,8 @@ Unit: second
|
|
|
6805
6834
|
this.Duration = null;
|
|
6806
6835
|
|
|
6807
6836
|
/**
|
|
6808
|
-
* The operating system of the reserved instance, such as `
|
|
6809
|
-
Valid value:
|
|
6837
|
+
* The operating system of the reserved instance, such as `Linux`.
|
|
6838
|
+
Valid value: `Linux`.
|
|
6810
6839
|
* @type {string || null}
|
|
6811
6840
|
*/
|
|
6812
6841
|
this.ProductDescription = null;
|
|
@@ -6840,7 +6869,7 @@ class AllocateHostsResponse extends AbstractModel {
|
|
|
6840
6869
|
super();
|
|
6841
6870
|
|
|
6842
6871
|
/**
|
|
6843
|
-
*
|
|
6872
|
+
* IDs of created instances
|
|
6844
6873
|
* @type {Array.<string> || null}
|
|
6845
6874
|
*/
|
|
6846
6875
|
this.HostIdSet = null;
|
|
@@ -8107,6 +8136,18 @@ Note: this field may return null, indicating that no valid value is obtained.
|
|
|
8107
8136
|
*/
|
|
8108
8137
|
this.Remark = null;
|
|
8109
8138
|
|
|
8139
|
+
/**
|
|
8140
|
+
*
|
|
8141
|
+
* @type {number || null}
|
|
8142
|
+
*/
|
|
8143
|
+
this.GpuCount = null;
|
|
8144
|
+
|
|
8145
|
+
/**
|
|
8146
|
+
* CPU clock rate of the instance
|
|
8147
|
+
* @type {string || null}
|
|
8148
|
+
*/
|
|
8149
|
+
this.Frequency = null;
|
|
8150
|
+
|
|
8110
8151
|
}
|
|
8111
8152
|
|
|
8112
8153
|
/**
|
|
@@ -8154,12 +8195,14 @@ Note: this field may return null, indicating that no valid value is obtained.
|
|
|
8154
8195
|
this.Gpu = 'Gpu' in params ? params.Gpu : null;
|
|
8155
8196
|
this.Fpga = 'Fpga' in params ? params.Fpga : null;
|
|
8156
8197
|
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
8198
|
+
this.GpuCount = 'GpuCount' in params ? params.GpuCount : null;
|
|
8199
|
+
this.Frequency = 'Frequency' in params ? params.Frequency : null;
|
|
8157
8200
|
|
|
8158
8201
|
}
|
|
8159
8202
|
}
|
|
8160
8203
|
|
|
8161
8204
|
/**
|
|
8162
|
-
* Supported operating systems are divided into two categories, Windows and Linux.
|
|
8205
|
+
* Supported operating systems. They are divided into two categories, Windows and Linux.
|
|
8163
8206
|
* @class
|
|
8164
8207
|
*/
|
|
8165
8208
|
class ImageOsList extends AbstractModel {
|
|
@@ -8168,14 +8211,14 @@ class ImageOsList extends AbstractModel {
|
|
|
8168
8211
|
|
|
8169
8212
|
/**
|
|
8170
8213
|
* Supported Windows OS
|
|
8171
|
-
Note: This field may return null
|
|
8214
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
8172
8215
|
* @type {Array.<string> || null}
|
|
8173
8216
|
*/
|
|
8174
8217
|
this.Windows = null;
|
|
8175
8218
|
|
|
8176
8219
|
/**
|
|
8177
8220
|
* Supported Linux OS
|
|
8178
|
-
Note: This field may return null
|
|
8221
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
8179
8222
|
* @type {Array.<string> || null}
|
|
8180
8223
|
*/
|
|
8181
8224
|
this.Linux = null;
|
|
@@ -8341,6 +8384,12 @@ class ExportImagesResponse extends AbstractModel {
|
|
|
8341
8384
|
*/
|
|
8342
8385
|
this.TaskId = null;
|
|
8343
8386
|
|
|
8387
|
+
/**
|
|
8388
|
+
* List of COS filenames of the exported images
|
|
8389
|
+
* @type {Array.<string> || null}
|
|
8390
|
+
*/
|
|
8391
|
+
this.CosPaths = null;
|
|
8392
|
+
|
|
8344
8393
|
/**
|
|
8345
8394
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
8346
8395
|
* @type {string || null}
|
|
@@ -8357,6 +8406,7 @@ class ExportImagesResponse extends AbstractModel {
|
|
|
8357
8406
|
return;
|
|
8358
8407
|
}
|
|
8359
8408
|
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
8409
|
+
this.CosPaths = 'CosPaths' in params ? params.CosPaths : null;
|
|
8360
8410
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8361
8411
|
|
|
8362
8412
|
}
|
|
@@ -9720,7 +9770,7 @@ If you want to use the default project, specify 0 for the parameter.
|
|
|
9720
9770
|
}
|
|
9721
9771
|
|
|
9722
9772
|
/**
|
|
9723
|
-
*
|
|
9773
|
+
* Image sync information
|
|
9724
9774
|
* @class
|
|
9725
9775
|
*/
|
|
9726
9776
|
class SyncImage extends AbstractModel {
|
|
@@ -9728,13 +9778,13 @@ class SyncImage extends AbstractModel {
|
|
|
9728
9778
|
super();
|
|
9729
9779
|
|
|
9730
9780
|
/**
|
|
9731
|
-
*
|
|
9781
|
+
* Image ID
|
|
9732
9782
|
* @type {string || null}
|
|
9733
9783
|
*/
|
|
9734
9784
|
this.ImageId = null;
|
|
9735
9785
|
|
|
9736
9786
|
/**
|
|
9737
|
-
*
|
|
9787
|
+
* Region
|
|
9738
9788
|
* @type {string || null}
|
|
9739
9789
|
*/
|
|
9740
9790
|
this.Region = null;
|
|
@@ -619,7 +619,7 @@ class ApplySdkVerificationTokenRequest extends AbstractModel {
|
|
|
619
619
|
this.NeedVerifyIdCard = null;
|
|
620
620
|
|
|
621
621
|
/**
|
|
622
|
-
*
|
|
622
|
+
* The card type. Valid values: `HK` (identity card of Hong Kong (China)) (default), `ML` (Malaysian identity card), `PhilippinesVoteID` (Philippine voters ID card), `PhilippinesDrivingLicense` (Philippine driver's license), and `IndonesiaIDCard` (Indonesian identity card).
|
|
623
623
|
* @type {string || null}
|
|
624
624
|
*/
|
|
625
625
|
this.IdCardType = null;
|
|
@@ -861,47 +861,65 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
861
861
|
/**
|
|
862
862
|
* The OCR result (in JSON) of the identity document image. If authentication or OCR fails, this parameter is left empty. The URL is valid for 10 minutes.
|
|
863
863
|
When the value of `IdCardType` is `HK`:
|
|
864
|
-
- CnName string: Chinese name
|
|
865
|
-
- EnName string: English name
|
|
866
|
-
- TelexCode string: The code corresponding to the Chinese name
|
|
867
|
-
- Sex string: Gender. Valid values: `M` (male) and `F` (female).
|
|
868
|
-
- Birthday string: Date of birth.
|
|
869
|
-
- Permanent int: Whether it is a permanent residence identity card. Valid values: `0` (non-permanent), `1` (permanent), and `-1` (unknown).
|
|
870
|
-
- IdNum string: ID number.
|
|
871
|
-
- Symbol string: The ID symbol below the date of birth, such as "***AZ".
|
|
872
|
-
- FirstIssueDate string: The date of first issuance.
|
|
873
|
-
- CurrentIssueDate string: The date of latest issuance.
|
|
864
|
+
- CnName (string): Chinese name.
|
|
865
|
+
- EnName (string): English name.
|
|
866
|
+
- TelexCode (string): The code corresponding to the Chinese name.
|
|
867
|
+
- Sex (string): Gender. Valid values: `M` (male) and `F` (female).
|
|
868
|
+
- Birthday (string): Date of birth.
|
|
869
|
+
- Permanent (int): Whether it is a permanent residence identity card. Valid values: `0` (non-permanent), `1` (permanent), and `-1` (unknown).
|
|
870
|
+
- IdNum (string): ID number.
|
|
871
|
+
- Symbol (string): The ID symbol below the date of birth, such as "***AZ".
|
|
872
|
+
- FirstIssueDate (string): The date of first issuance.
|
|
873
|
+
- CurrentIssueDate (string): The date of latest issuance.
|
|
874
874
|
|
|
875
875
|
When the value of `IdCardType` is `ML`:
|
|
876
|
-
- Sex string: `LELAKI` (male) and `PEREMPUAN` (female).
|
|
877
|
-
- Birthday string: Date of birth.
|
|
878
|
-
- ID string: ID number.
|
|
879
|
-
- Name string: Name.
|
|
880
|
-
- Address string: Address.
|
|
881
|
-
- Type string: Identity document type.
|
|
876
|
+
- Sex (string): `LELAKI` (male) and `PEREMPUAN` (female).
|
|
877
|
+
- Birthday (string): Date of birth.
|
|
878
|
+
- ID (string): ID number.
|
|
879
|
+
- Name (string): Name.
|
|
880
|
+
- Address (string): Address.
|
|
881
|
+
- Type (string): Identity document type.
|
|
882
882
|
|
|
883
883
|
When the value of `IdCardType` is `PhilippinesVoteID`:
|
|
884
|
-
- Birthday string: Date of birth.
|
|
885
|
-
- Address string: Address.
|
|
886
|
-
- LastName string: Family name.
|
|
887
|
-
- FirstName string: First name.
|
|
888
|
-
- VIN string: VIN number.
|
|
889
|
-
- CivilStatus string: Marital status.
|
|
890
|
-
- Citizenship string: Citizenship.
|
|
891
|
-
- PrecinctNo string: Region.
|
|
884
|
+
- Birthday (string): Date of birth.
|
|
885
|
+
- Address (string): Address.
|
|
886
|
+
- LastName (string): Family name.
|
|
887
|
+
- FirstName (string): First name.
|
|
888
|
+
- VIN (string): VIN number.
|
|
889
|
+
- CivilStatus (string): Marital status.
|
|
890
|
+
- Citizenship (string): Citizenship.
|
|
891
|
+
- PrecinctNo (string): Region.
|
|
892
892
|
|
|
893
893
|
When the value of `IdCardType` is `PhilippinesDrivingLicense`:
|
|
894
|
-
- Sex string: Gender.
|
|
895
|
-
- Birthday string: Date of birth.
|
|
896
|
-
- Name string: Name.
|
|
897
|
-
- Address string: Address.
|
|
898
|
-
- LastName string: Family name.
|
|
899
|
-
- FirstName string: First name.
|
|
900
|
-
- MiddleName string: Middle name.
|
|
901
|
-
- Nationality string: Nationality.
|
|
902
|
-
- LicenseNo string: License number.
|
|
903
|
-
- ExpiresDate string: Validity period.
|
|
904
|
-
- AgencyCode string: Agency code.
|
|
894
|
+
- Sex (string): Gender.
|
|
895
|
+
- Birthday (string): Date of birth.
|
|
896
|
+
- Name (string): Name.
|
|
897
|
+
- Address (string): Address.
|
|
898
|
+
- LastName (string): Family name.
|
|
899
|
+
- FirstName (string): First name.
|
|
900
|
+
- MiddleName (string): Middle name.
|
|
901
|
+
- Nationality (string): Nationality.
|
|
902
|
+
- LicenseNo (string): License number.
|
|
903
|
+
- ExpiresDate (string): Validity period.
|
|
904
|
+
- AgencyCode (string): Agency code.
|
|
905
|
+
|
|
906
|
+
When the value of `IdCardType` is `IndonesiaIDCard`:
|
|
907
|
+
- NIK (string): Identity document No.
|
|
908
|
+
- Nama (string): Name.
|
|
909
|
+
- TempatTglLahir (string): Place/Date of birth.
|
|
910
|
+
- JenisKelamin (string): Gender.
|
|
911
|
+
- GolDarah (string): Blood type.
|
|
912
|
+
- Alamat (string): Address.
|
|
913
|
+
- RTRW (string): Street.
|
|
914
|
+
- KelDesa (string): Village.
|
|
915
|
+
- Kecamatan (string): Region.
|
|
916
|
+
- Agama (string): Religion.
|
|
917
|
+
- StatusPerkawinan (string): Marital status.
|
|
918
|
+
- Perkerjaan (string): Profession.
|
|
919
|
+
- KewargaNegaraan (string): Nationality.
|
|
920
|
+
- BerlakuHingga (string): Expiry date of the identity document.
|
|
921
|
+
- IssuedDate (string): Date of issuance.
|
|
922
|
+
|
|
905
923
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
906
924
|
* @type {FileInfo || null}
|
|
907
925
|
*/
|