tencentcloud-sdk-nodejs-intl-en 3.0.1232 → 3.0.1233

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.1232",
3
+ "version": "3.0.1233",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1232";
1
+ const sdkVersion = "3.0.1233";
2
2
  module.exports = sdkVersion
@@ -97,6 +97,7 @@ const DescribeDomainPurviewResponse = models.DescribeDomainPurviewResponse;
97
97
  const ModifyRecordStatusResponse = models.ModifyRecordStatusResponse;
98
98
  const CreateRecordGroupRequest = models.CreateRecordGroupRequest;
99
99
  const DescribeRecordGroupListResponse = models.DescribeRecordGroupListResponse;
100
+ const CreatePackageOrderResponse = models.CreatePackageOrderResponse;
100
101
  const CreateDomainGroupRequest = models.CreateDomainGroupRequest;
101
102
  const LineInfo = models.LineInfo;
102
103
  const DeleteDomainResponse = models.DeleteDomainResponse;
@@ -105,6 +106,7 @@ const CreateDomainAliasRequest = models.CreateDomainAliasRequest;
105
106
  const DeleteShareDomainRequest = models.DeleteShareDomainRequest;
106
107
  const DescribeRecordGroupListRequest = models.DescribeRecordGroupListRequest;
107
108
  const PurviewInfo = models.PurviewInfo;
109
+ const CreatePackageOrderRequest = models.CreatePackageOrderRequest;
108
110
  const ModifyRecordRemarkRequest = models.ModifyRecordRemarkRequest;
109
111
  const ModifyRecordRemarkResponse = models.ModifyRecordRemarkResponse;
110
112
  const DescribeDomainListRequest = models.DescribeDomainListRequest;
@@ -239,14 +241,14 @@ class DnspodClient extends AbstractClient {
239
241
  }
240
242
 
241
243
  /**
242
- * This API is used to get the information of a record.
243
- * @param {DescribeRecordRequest} req
244
- * @param {function(string, DescribeRecordResponse):void} cb
244
+ * This API is used to query the list of DNS record groups.
245
+ * @param {DescribeRecordGroupListRequest} req
246
+ * @param {function(string, DescribeRecordGroupListResponse):void} cb
245
247
  * @public
246
248
  */
247
- DescribeRecord(req, cb) {
248
- let resp = new DescribeRecordResponse();
249
- this.request("DescribeRecord", req, resp, cb);
249
+ DescribeRecordGroupList(req, cb) {
250
+ let resp = new DescribeRecordGroupListResponse();
251
+ this.request("DescribeRecordGroupList", req, resp, cb);
250
252
  }
251
253
 
252
254
  /**
@@ -316,14 +318,14 @@ class DnspodClient extends AbstractClient {
316
318
  }
317
319
 
318
320
  /**
319
- * This API is used to add a domain.
320
- * @param {CreateDomainRequest} req
321
- * @param {function(string, CreateDomainResponse):void} cb
321
+ * This API is used to bulk add records.
322
+ * @param {CreateRecordBatchRequest} req
323
+ * @param {function(string, CreateRecordBatchResponse):void} cb
322
324
  * @public
323
325
  */
324
- CreateDomain(req, cb) {
325
- let resp = new CreateDomainResponse();
326
- this.request("CreateDomain", req, resp, cb);
326
+ CreateRecordBatch(req, cb) {
327
+ let resp = new CreateRecordBatchResponse();
328
+ this.request("CreateRecordBatch", req, resp, cb);
327
329
  }
328
330
 
329
331
  /**
@@ -349,14 +351,14 @@ class DnspodClient extends AbstractClient {
349
351
  }
350
352
 
351
353
  /**
352
- * This API is used to query the list of DNS record groups.
353
- * @param {DescribeRecordGroupListRequest} req
354
- * @param {function(string, DescribeRecordGroupListResponse):void} cb
354
+ * This API is used to get the information of a record.
355
+ * @param {DescribeRecordRequest} req
356
+ * @param {function(string, DescribeRecordResponse):void} cb
355
357
  * @public
356
358
  */
357
- DescribeRecordGroupList(req, cb) {
358
- let resp = new DescribeRecordGroupListResponse();
359
- this.request("DescribeRecordGroupList", req, resp, cb);
359
+ DescribeRecord(req, cb) {
360
+ let resp = new DescribeRecordResponse();
361
+ this.request("DescribeRecord", req, resp, cb);
360
362
  }
361
363
 
362
364
  /**
@@ -459,14 +461,25 @@ class DnspodClient extends AbstractClient {
459
461
  }
460
462
 
461
463
  /**
462
- * This API is used to bulk add records.
463
- * @param {CreateRecordBatchRequest} req
464
- * @param {function(string, CreateRecordBatchResponse):void} cb
464
+ * This API is used to add a domain.
465
+ * @param {CreateDomainRequest} req
466
+ * @param {function(string, CreateDomainResponse):void} cb
465
467
  * @public
466
468
  */
467
- CreateRecordBatch(req, cb) {
468
- let resp = new CreateRecordBatchResponse();
469
- this.request("CreateRecordBatch", req, resp, cb);
469
+ CreateDomain(req, cb) {
470
+ let resp = new CreateDomainResponse();
471
+ this.request("CreateDomain", req, resp, cb);
472
+ }
473
+
474
+ /**
475
+ * This API is used to enable a paid plan on the international website.
476
+ * @param {CreatePackageOrderRequest} req
477
+ * @param {function(string, CreatePackageOrderResponse):void} cb
478
+ * @public
479
+ */
480
+ CreatePackageOrder(req, cb) {
481
+ let resp = new CreatePackageOrderResponse();
482
+ this.request("CreatePackageOrder", req, resp, cb);
470
483
  }
471
484
 
472
485
  /**
@@ -4437,6 +4437,34 @@ class DescribeRecordGroupListResponse extends AbstractModel {
4437
4437
  }
4438
4438
  }
4439
4439
 
4440
+ /**
4441
+ * CreatePackageOrder response structure.
4442
+ * @class
4443
+ */
4444
+ class CreatePackageOrderResponse extends AbstractModel {
4445
+ constructor(){
4446
+ super();
4447
+
4448
+ /**
4449
+ * 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.
4450
+ * @type {string || null}
4451
+ */
4452
+ this.RequestId = null;
4453
+
4454
+ }
4455
+
4456
+ /**
4457
+ * @private
4458
+ */
4459
+ deserialize(params) {
4460
+ if (!params) {
4461
+ return;
4462
+ }
4463
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4464
+
4465
+ }
4466
+ }
4467
+
4440
4468
  /**
4441
4469
  * CreateDomainGroup request structure.
4442
4470
  * @class
@@ -4731,6 +4759,44 @@ class PurviewInfo extends AbstractModel {
4731
4759
  }
4732
4760
  }
4733
4761
 
4762
+ /**
4763
+ * CreatePackageOrder request structure.
4764
+ * @class
4765
+ */
4766
+ class CreatePackageOrderRequest extends AbstractModel {
4767
+ constructor(){
4768
+ super();
4769
+
4770
+ /**
4771
+ * Domain
4772
+ * @type {string || null}
4773
+ */
4774
+ this.Domain = null;
4775
+
4776
+ /**
4777
+ * Valid options for the package version are as follows:
4778
+ DPG_PROFESSIONAL
4779
+ DPG_ENTERPRISE
4780
+ DPG_ULTIMATE
4781
+ * @type {string || null}
4782
+ */
4783
+ this.Grade = null;
4784
+
4785
+ }
4786
+
4787
+ /**
4788
+ * @private
4789
+ */
4790
+ deserialize(params) {
4791
+ if (!params) {
4792
+ return;
4793
+ }
4794
+ this.Domain = 'Domain' in params ? params.Domain : null;
4795
+ this.Grade = 'Grade' in params ? params.Grade : null;
4796
+
4797
+ }
4798
+ }
4799
+
4734
4800
  /**
4735
4801
  * ModifyRecordRemark request structure.
4736
4802
  * @class
@@ -5308,6 +5374,7 @@ module.exports = {
5308
5374
  ModifyRecordStatusResponse: ModifyRecordStatusResponse,
5309
5375
  CreateRecordGroupRequest: CreateRecordGroupRequest,
5310
5376
  DescribeRecordGroupListResponse: DescribeRecordGroupListResponse,
5377
+ CreatePackageOrderResponse: CreatePackageOrderResponse,
5311
5378
  CreateDomainGroupRequest: CreateDomainGroupRequest,
5312
5379
  LineInfo: LineInfo,
5313
5380
  DeleteDomainResponse: DeleteDomainResponse,
@@ -5316,6 +5383,7 @@ module.exports = {
5316
5383
  DeleteShareDomainRequest: DeleteShareDomainRequest,
5317
5384
  DescribeRecordGroupListRequest: DescribeRecordGroupListRequest,
5318
5385
  PurviewInfo: PurviewInfo,
5386
+ CreatePackageOrderRequest: CreatePackageOrderRequest,
5319
5387
  ModifyRecordRemarkRequest: ModifyRecordRemarkRequest,
5320
5388
  ModifyRecordRemarkResponse: ModifyRecordRemarkResponse,
5321
5389
  DescribeDomainListRequest: DescribeDomainListRequest,
@@ -1371,13 +1371,13 @@ class DescribeDBInstanceInterResponse extends AbstractModel {
1371
1371
  super();
1372
1372
 
1373
1373
  /**
1374
- * Number of records returned
1374
+ * Number of records returned.
1375
1375
  * @type {number || null}
1376
1376
  */
1377
1377
  this.TotalCount = null;
1378
1378
 
1379
1379
  /**
1380
- * Details of instance in the interworking group
1380
+ * Details of instance in the interworking group.
1381
1381
  * @type {Array.<InterInstance> || null}
1382
1382
  */
1383
1383
  this.InterInstanceSet = null;
@@ -1484,13 +1484,13 @@ class DescribeProductConfigRequest extends AbstractModel {
1484
1484
  super();
1485
1485
 
1486
1486
  /**
1487
- * AZ ID in the format of ap-guangzhou-1
1487
+ * AZ ID in the format of ap-guangzhou-1.
1488
1488
  * @type {string || null}
1489
1489
  */
1490
1490
  this.Zone = null;
1491
1491
 
1492
1492
  /**
1493
- * Type of purchased instance. Valid values: HA - local disk high availability (including dual-machine high availability, AlwaysOn Cluster), RO - local disk read-only replica, SI - cloud disk edition single node, BI - business intelligence service, cvmHA - cloud disk edition high availability, cvmRO - cloud disk edition read-only replica
1493
+ * Type of purchased instance. Valid values: HA - local disk high availability (including dual-machine high availability, AlwaysOn Cluster), RO - local disk read-only replica, SI - cloud disk edition single node, BI - business intelligence service, cvmHA - cloud disk edition high availability, cvmRO - cloud disk edition read-only replica.
1494
1494
  * @type {string || null}
1495
1495
  */
1496
1496
  this.InstanceType = null;
@@ -4017,19 +4017,19 @@ class CreateCloudReadOnlyDBInstancesRequest extends AbstractModel {
4017
4017
  this.ReadOnlyGroupType = null;
4018
4018
 
4019
4019
  /**
4020
- * Instance memory size in GB
4020
+ * Instance memory size in GB.
4021
4021
  * @type {number || null}
4022
4022
  */
4023
4023
  this.Memory = null;
4024
4024
 
4025
4025
  /**
4026
- * Instance disk size in GB
4026
+ * Instance disk size in GB.
4027
4027
  * @type {number || null}
4028
4028
  */
4029
4029
  this.Storage = null;
4030
4030
 
4031
4031
  /**
4032
- * Number of instance cores
4032
+ * Number of instance cores.
4033
4033
  * @type {number || null}
4034
4034
  */
4035
4035
  this.Cpu = null;
@@ -4119,29 +4119,35 @@ class CreateCloudReadOnlyDBInstancesRequest extends AbstractModel {
4119
4119
  this.AutoVoucher = null;
4120
4120
 
4121
4121
  /**
4122
- * Array of voucher IDs (currently, only one voucher can be used per order)
4122
+ * Array of voucher IDs (currently, only one voucher can be used per order).
4123
4123
  * @type {Array.<string> || null}
4124
4124
  */
4125
4125
  this.VoucherIds = null;
4126
4126
 
4127
4127
  /**
4128
- * Tags associated with the instances to be created
4128
+ * Tags associated with the instances to be created.
4129
4129
  * @type {Array.<ResourceTag> || null}
4130
4130
  */
4131
4131
  this.ResourceTags = null;
4132
4132
 
4133
4133
  /**
4134
- * Collation of system character sets. Default value: Chinese_PRC_CI_AS
4134
+ * Collation of system character sets. Default value: Chinese_PRC_CI_AS.
4135
4135
  * @type {string || null}
4136
4136
  */
4137
4137
  this.Collation = null;
4138
4138
 
4139
4139
  /**
4140
- * System time zone. Default value: `China Standard Time`
4140
+ * System time zone. Default value: `China Standard Time`.
4141
4141
  * @type {string || null}
4142
4142
  */
4143
4143
  this.TimeZone = null;
4144
4144
 
4145
+ /**
4146
+ * Disk encryption identification, 0 - no encryption, 1 - encryption.
4147
+ * @type {number || null}
4148
+ */
4149
+ this.DiskEncryptFlag = null;
4150
+
4145
4151
  }
4146
4152
 
4147
4153
  /**
@@ -4183,6 +4189,7 @@ class CreateCloudReadOnlyDBInstancesRequest extends AbstractModel {
4183
4189
  }
4184
4190
  this.Collation = 'Collation' in params ? params.Collation : null;
4185
4191
  this.TimeZone = 'TimeZone' in params ? params.TimeZone : null;
4192
+ this.DiskEncryptFlag = 'DiskEncryptFlag' in params ? params.DiskEncryptFlag : null;
4186
4193
 
4187
4194
  }
4188
4195
  }
@@ -4941,133 +4948,133 @@ class CreateReadOnlyDBInstancesRequest extends AbstractModel {
4941
4948
  super();
4942
4949
 
4943
4950
  /**
4944
- *
4951
+ * Instance ID in the format of `mssql-3l3fgqn7`.
4945
4952
  * @type {string || null}
4946
4953
  */
4947
4954
  this.InstanceId = null;
4948
4955
 
4949
4956
  /**
4950
- *
4957
+ * Instance AZ, such as `ap-guangzhou-1` (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API.
4951
4958
  * @type {string || null}
4952
4959
  */
4953
4960
  this.Zone = null;
4954
4961
 
4955
4962
  /**
4956
- *
4963
+ * Read-only group types. Valid values: `1` (each read-only replica is placed in one auto-created read-only group), `2` (all read-only replicas are placed in one auto-created read-only group), `3` (all read-only replicas are placed in one existing read-only group).
4957
4964
  * @type {number || null}
4958
4965
  */
4959
4966
  this.ReadOnlyGroupType = null;
4960
4967
 
4961
4968
  /**
4962
- *
4969
+ * Instance memory size in GB.
4963
4970
  * @type {number || null}
4964
4971
  */
4965
4972
  this.Memory = null;
4966
4973
 
4967
4974
  /**
4968
- *
4975
+ * Instance disk size in GB.
4969
4976
  * @type {number || null}
4970
4977
  */
4971
4978
  this.Storage = null;
4972
4979
 
4973
4980
  /**
4974
- *
4981
+ * Valid values: `0` (not upgrade the primary instance by default), `1` (upgrade the primary instance to complete the RO deployment). You need to pass in `1` for this parameter and upgrade the primary instance to cluster edition.
4975
4982
  * @type {number || null}
4976
4983
  */
4977
4984
  this.ReadOnlyGroupForcedUpgrade = null;
4978
4985
 
4979
4986
  /**
4980
- *
4987
+ * Existing read-only group ID, which is required when `ReadOnlyGroupType` is `3`.
4981
4988
  * @type {string || null}
4982
4989
  */
4983
4990
  this.ReadOnlyGroupId = null;
4984
4991
 
4985
4992
  /**
4986
- *
4993
+ * New read-only group ID, which is required when `ReadOnlyGroupType` is `2`.
4987
4994
  * @type {string || null}
4988
4995
  */
4989
4996
  this.ReadOnlyGroupName = null;
4990
4997
 
4991
4998
  /**
4992
- *
4999
+ * Whether delayed read-only instance removal is enabled in a new read-only group, which is required when `ReadOnlyGroupType` is `2`. Valid values: `1` (enabled), `0` (disabled). The read-only replica will be automatically removed when the delay between it and the primary instance exceeds the threshold.
4993
5000
  * @type {number || null}
4994
5001
  */
4995
5002
  this.ReadOnlyGroupIsOfflineDelay = null;
4996
5003
 
4997
5004
  /**
4998
- *
5005
+ * The delay threshold for a new read-only group, which is required when `ReadOnlyGroupType` is `2` and `ReadOnlyGroupIsOfflineDelay` is `1`.
4999
5006
  * @type {number || null}
5000
5007
  */
5001
5008
  this.ReadOnlyGroupMaxDelayTime = null;
5002
5009
 
5003
5010
  /**
5004
- *
5011
+ * Minimum number of reserved read-only replicas when the delayed removal is enabled for the new read-only group, which is required when `ReadOnlyGroupType` is `2` and `ReadOnlyGroupIsOfflineDelay` is `1`.
5005
5012
  * @type {number || null}
5006
5013
  */
5007
5014
  this.ReadOnlyGroupMinInGroup = null;
5008
5015
 
5009
5016
  /**
5010
- *
5017
+ * Billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID` (pay-as-you-go).
5011
5018
  * @type {string || null}
5012
5019
  */
5013
5020
  this.InstanceChargeType = null;
5014
5021
 
5015
5022
  /**
5016
- *
5023
+ * Number of read-only instances to be purchased this time. Default value: `2`.
5017
5024
  * @type {number || null}
5018
5025
  */
5019
5026
  this.GoodsNum = null;
5020
5027
 
5021
5028
  /**
5022
- *
5029
+ * VPC subnet ID in the format of `subnet-bdoe83fa`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
5023
5030
  * @type {string || null}
5024
5031
  */
5025
5032
  this.SubnetId = null;
5026
5033
 
5027
5034
  /**
5028
- *
5035
+ * VPC ID in the format of `vpc-dsp338hz`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
5029
5036
  * @type {string || null}
5030
5037
  */
5031
5038
  this.VpcId = null;
5032
5039
 
5033
5040
  /**
5034
- *
5041
+ * The purchase period of an instance. Default value: `1` (one month). Maximum value: `48`.
5035
5042
  * @type {number || null}
5036
5043
  */
5037
5044
  this.Period = null;
5038
5045
 
5039
5046
  /**
5040
- *
5047
+ * Security group list, which contains security group IDs in the format of `sg-xxx`.
5041
5048
  * @type {Array.<string> || null}
5042
5049
  */
5043
5050
  this.SecurityGroupList = null;
5044
5051
 
5045
5052
  /**
5046
- *
5053
+ * Whether to automatically use voucher. Valid values: `0` (no, default), `1` (yes).
5047
5054
  * @type {number || null}
5048
5055
  */
5049
5056
  this.AutoVoucher = null;
5050
5057
 
5051
5058
  /**
5052
- *
5059
+ * Array of voucher IDs (currently, only one voucher can be used per order).
5053
5060
  * @type {Array.<string> || null}
5054
5061
  */
5055
5062
  this.VoucherIds = null;
5056
5063
 
5057
5064
  /**
5058
- *
5065
+ * Tags associated with the instances to be created.
5059
5066
  * @type {Array.<ResourceTag> || null}
5060
5067
  */
5061
5068
  this.ResourceTags = null;
5062
5069
 
5063
5070
  /**
5064
- *
5071
+ * Collation of system character sets. Default value: Chinese_PRC_CI_AS.
5065
5072
  * @type {string || null}
5066
5073
  */
5067
5074
  this.Collation = null;
5068
5075
 
5069
5076
  /**
5070
- *
5077
+ * System time zone. Default value: `China Standard Time`.
5071
5078
  * @type {string || null}
5072
5079
  */
5073
5080
  this.TimeZone = null;
@@ -5793,7 +5800,7 @@ class CreateReadOnlyDBInstancesResponse extends AbstractModel {
5793
5800
  super();
5794
5801
 
5795
5802
  /**
5796
- *
5803
+ * Order name in array.
5797
5804
  * @type {Array.<string> || null}
5798
5805
  */
5799
5806
  this.DealNames = null;
@@ -6876,7 +6883,7 @@ class CreateCloudReadOnlyDBInstancesResponse extends AbstractModel {
6876
6883
  super();
6877
6884
 
6878
6885
  /**
6879
- * Order name in array
6886
+ * Order name in array.
6880
6887
  * @type {Array.<string> || null}
6881
6888
  */
6882
6889
  this.DealNames = null;
@@ -7718,13 +7725,13 @@ class DescribeProductConfigResponse extends AbstractModel {
7718
7725
  super();
7719
7726
 
7720
7727
  /**
7721
- * Specification information array
7728
+ * Specification information array.
7722
7729
  * @type {Array.<SpecInfo> || null}
7723
7730
  */
7724
7731
  this.SpecInfoList = null;
7725
7732
 
7726
7733
  /**
7727
- * Number of date entries returned
7734
+ * Number of date entries returned.
7728
7735
  * @type {number || null}
7729
7736
  */
7730
7737
  this.TotalCount = null;
@@ -8031,7 +8038,7 @@ class DescribeDBInstanceInterRequest extends AbstractModel {
8031
8038
  this.Limit = null;
8032
8039
 
8033
8040
  /**
8034
- * Filter by instance ID
8041
+ * Filter by instance ID.
8035
8042
  * @type {string || null}
8036
8043
  */
8037
8044
  this.InstanceId = null;
@@ -8043,13 +8050,13 @@ class DescribeDBInstanceInterRequest extends AbstractModel {
8043
8050
  this.Status = null;
8044
8051
 
8045
8052
  /**
8046
- * The list of instance version numbers
8053
+ * The list of instance version numbers.
8047
8054
  * @type {Array.<string> || null}
8048
8055
  */
8049
8056
  this.VersionSet = null;
8050
8057
 
8051
8058
  /**
8052
- * Instance AZ ID in the format of ap-guangzhou-2
8059
+ * Instance AZ ID in the format of ap-guangzhou-3.
8053
8060
  * @type {string || null}
8054
8061
  */
8055
8062
  this.Zone = null;