tencentcloud-sdk-nodejs-intl-en 3.0.330 → 3.0.334

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.330",
3
+ "version": "3.0.334",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,6 +16,7 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
+ const ModifyInstanceTagResponse = models.ModifyInstanceTagResponse;
19
20
  const SellType = models.SellType;
20
21
  const TaskDetail = models.TaskDetail;
21
22
  const DeviceDiskInfo = models.DeviceDiskInfo;
@@ -73,10 +74,11 @@ const DescribeDataBackupOverviewResponse = models.DescribeDataBackupOverviewResp
73
74
  const ParameterDetail = models.ParameterDetail;
74
75
  const BackupSummaryItem = models.BackupSummaryItem;
75
76
  const SwitchForUpgradeRequest = models.SwitchForUpgradeRequest;
76
- const ModifyInstanceTagResponse = models.ModifyInstanceTagResponse;
77
+ const ModifyBackupDownloadRestrictionRequest = models.ModifyBackupDownloadRestrictionRequest;
77
78
  const CreateParamTemplateResponse = models.CreateParamTemplateResponse;
78
79
  const CreateDBInstanceHourResponse = models.CreateDBInstanceHourResponse;
79
80
  const ModifyAccountMaxUserConnectionsRequest = models.ModifyAccountMaxUserConnectionsRequest;
81
+ const ModifyAccountDescriptionRequest = models.ModifyAccountDescriptionRequest;
80
82
  const ReleaseIsolatedDBInstancesRequest = models.ReleaseIsolatedDBInstancesRequest;
81
83
  const BinlogInfo = models.BinlogInfo;
82
84
  const DeleteDeployGroupsResponse = models.DeleteDeployGroupsResponse;
@@ -101,6 +103,7 @@ const DescribeDBInstancesRequest = models.DescribeDBInstancesRequest;
101
103
  const DescribeDBSecurityGroupsRequest = models.DescribeDBSecurityGroupsRequest;
102
104
  const ModifyDBInstanceVipVportResponse = models.ModifyDBInstanceVipVportResponse;
103
105
  const DescribeDBSwitchRecordsResponse = models.DescribeDBSwitchRecordsResponse;
106
+ const SlowLogInfo = models.SlowLogInfo;
104
107
  const RollbackTableName = models.RollbackTableName;
105
108
  const DeleteBackupResponse = models.DeleteBackupResponse;
106
109
  const ModifyInstanceParamRequest = models.ModifyInstanceParamRequest;
@@ -162,6 +165,7 @@ const TagInfoUnit = models.TagInfoUnit;
162
165
  const OpenDBInstanceGTIDRequest = models.OpenDBInstanceGTIDRequest;
163
166
  const UpgradeDBInstanceEngineVersionResponse = models.UpgradeDBInstanceEngineVersionResponse;
164
167
  const DescribeAsyncRequestInfoRequest = models.DescribeAsyncRequestInfoRequest;
168
+ const DescribeInstanceParamsResponse = models.DescribeInstanceParamsResponse;
165
169
  const TablePrivilege = models.TablePrivilege;
166
170
  const BalanceRoGroupLoadRequest = models.BalanceRoGroupLoadRequest;
167
171
  const DescribeBackupOverviewResponse = models.DescribeBackupOverviewResponse;
@@ -190,7 +194,7 @@ const RoGroupAttr = models.RoGroupAttr;
190
194
  const ModifyBackupConfigResponse = models.ModifyBackupConfigResponse;
191
195
  const RoVipInfo = models.RoVipInfo;
192
196
  const ModifyDBInstanceNameResponse = models.ModifyDBInstanceNameResponse;
193
- const ModifyAccountDescriptionRequest = models.ModifyAccountDescriptionRequest;
197
+ const DescribeBackupDownloadRestrictionResponse = models.DescribeBackupDownloadRestrictionResponse;
194
198
  const ModifyAccountPasswordRequest = models.ModifyAccountPasswordRequest;
195
199
  const DescribeTablesRequest = models.DescribeTablesRequest;
196
200
  const InstanceRebootTime = models.InstanceRebootTime;
@@ -206,6 +210,7 @@ const SlaveConfig = models.SlaveConfig;
206
210
  const RoInstanceInfo = models.RoInstanceInfo;
207
211
  const CreateAccountsRequest = models.CreateAccountsRequest;
208
212
  const IsolateDBInstanceRequest = models.IsolateDBInstanceRequest;
213
+ const ModifyBackupDownloadRestrictionResponse = models.ModifyBackupDownloadRestrictionResponse;
209
214
  const ModifyTimeWindowRequest = models.ModifyTimeWindowRequest;
210
215
  const DeviceCpuRateInfo = models.DeviceCpuRateInfo;
211
216
  const ModifyAccountPrivilegesRequest = models.ModifyAccountPrivilegesRequest;
@@ -235,13 +240,13 @@ const OpenWanServiceRequest = models.OpenWanServiceRequest;
235
240
  const DeleteTimeWindowRequest = models.DeleteTimeWindowRequest;
236
241
  const DescribeDBInstancesResponse = models.DescribeDBInstancesResponse;
237
242
  const DescribeParamTemplateInfoRequest = models.DescribeParamTemplateInfoRequest;
238
- const SlowLogInfo = models.SlowLogInfo;
243
+ const DescribeBackupDownloadRestrictionRequest = models.DescribeBackupDownloadRestrictionRequest;
239
244
  const DescribeDataBackupOverviewRequest = models.DescribeDataBackupOverviewRequest;
240
245
  const DescribeParamTemplateInfoResponse = models.DescribeParamTemplateInfoResponse;
241
246
  const ParamRecord = models.ParamRecord;
242
247
  const RestartDBInstancesRequest = models.RestartDBInstancesRequest;
243
248
  const DescribeDBInstanceInfoRequest = models.DescribeDBInstanceInfoRequest;
244
- const DescribeInstanceParamsResponse = models.DescribeInstanceParamsResponse;
249
+ const BackupLimitVpcItem = models.BackupLimitVpcItem;
245
250
  const DescribeDBZoneConfigResponse = models.DescribeDBZoneConfigResponse;
246
251
  const CreateDeployGroupRequest = models.CreateDeployGroupRequest;
247
252
  const DisassociateSecurityGroupsRequest = models.DisassociateSecurityGroupsRequest;
@@ -351,14 +356,18 @@ class CdbClient extends AbstractClient {
351
356
  }
352
357
 
353
358
  /**
354
- * This API (DescribeAccounts) is used to query information of all TencentDB accounts.
355
- * @param {DescribeAccountsRequest} req
356
- * @param {function(string, DescribeAccountsResponse):void} cb
359
+ * This API (RestartDBInstances) is used to restart TencentDB instances.
360
+
361
+ Note:
362
+ 1. This API only supports restarting primary instances.
363
+ 2. The instance status must be normal, and no other async tasks are in progress.
364
+ * @param {RestartDBInstancesRequest} req
365
+ * @param {function(string, RestartDBInstancesResponse):void} cb
357
366
  * @public
358
367
  */
359
- DescribeAccounts(req, cb) {
360
- let resp = new DescribeAccountsResponse();
361
- this.request("DescribeAccounts", req, resp, cb);
368
+ RestartDBInstances(req, cb) {
369
+ let resp = new RestartDBInstancesResponse();
370
+ this.request("RestartDBInstances", req, resp, cb);
362
371
  }
363
372
 
364
373
  /**
@@ -454,14 +463,14 @@ Note that once an instance is deactivated, its resources and data will not be re
454
463
  }
455
464
 
456
465
  /**
457
- * This API (ModifyDBInstanceSecurityGroups) is used to modify the security groups bound to a TencentDB instance.
458
- * @param {ModifyDBInstanceSecurityGroupsRequest} req
459
- * @param {function(string, ModifyDBInstanceSecurityGroupsResponse):void} cb
466
+ * This API is used to modify the restrictions of downloading backups in a region. You can specify which types of networks (private, or both private and public), VPCs, and IPs to download backups.
467
+ * @param {ModifyBackupDownloadRestrictionRequest} req
468
+ * @param {function(string, ModifyBackupDownloadRestrictionResponse):void} cb
460
469
  * @public
461
470
  */
462
- ModifyDBInstanceSecurityGroups(req, cb) {
463
- let resp = new ModifyDBInstanceSecurityGroupsResponse();
464
- this.request("ModifyDBInstanceSecurityGroups", req, resp, cb);
471
+ ModifyBackupDownloadRestriction(req, cb) {
472
+ let resp = new ModifyBackupDownloadRestrictionResponse();
473
+ this.request("ModifyBackupDownloadRestriction", req, resp, cb);
465
474
  }
466
475
 
467
476
  /**
@@ -1116,18 +1125,25 @@ Note that the files for a data import task must be uploaded to Tencent Cloud in
1116
1125
  }
1117
1126
 
1118
1127
  /**
1119
- * This API (RestartDBInstances) is used to restart TencentDB instances.
1128
+ * This API (DescribeAccounts) is used to query information of all TencentDB accounts.
1129
+ * @param {DescribeAccountsRequest} req
1130
+ * @param {function(string, DescribeAccountsResponse):void} cb
1131
+ * @public
1132
+ */
1133
+ DescribeAccounts(req, cb) {
1134
+ let resp = new DescribeAccountsResponse();
1135
+ this.request("DescribeAccounts", req, resp, cb);
1136
+ }
1120
1137
 
1121
- Note:
1122
- 1. This API only supports restarting primary instances.
1123
- 2. The instance status must be normal, and no other async tasks are in progress.
1124
- * @param {RestartDBInstancesRequest} req
1125
- * @param {function(string, RestartDBInstancesResponse):void} cb
1138
+ /**
1139
+ * This API is used to query the restrictions of downloading backups in a region.
1140
+ * @param {DescribeBackupDownloadRestrictionRequest} req
1141
+ * @param {function(string, DescribeBackupDownloadRestrictionResponse):void} cb
1126
1142
  * @public
1127
1143
  */
1128
- RestartDBInstances(req, cb) {
1129
- let resp = new RestartDBInstancesResponse();
1130
- this.request("RestartDBInstances", req, resp, cb);
1144
+ DescribeBackupDownloadRestriction(req, cb) {
1145
+ let resp = new DescribeBackupDownloadRestrictionResponse();
1146
+ this.request("DescribeBackupDownloadRestriction", req, resp, cb);
1131
1147
  }
1132
1148
 
1133
1149
  /**
@@ -1253,6 +1269,17 @@ Note that before enabling public network access, you need to first [initialize t
1253
1269
  this.request("OpenWanService", req, resp, cb);
1254
1270
  }
1255
1271
 
1272
+ /**
1273
+ * This API (ModifyDBInstanceSecurityGroups) is used to modify the security groups bound to a TencentDB instance.
1274
+ * @param {ModifyDBInstanceSecurityGroupsRequest} req
1275
+ * @param {function(string, ModifyDBInstanceSecurityGroupsResponse):void} cb
1276
+ * @public
1277
+ */
1278
+ ModifyDBInstanceSecurityGroups(req, cb) {
1279
+ let resp = new ModifyDBInstanceSecurityGroupsResponse();
1280
+ this.request("ModifyDBInstanceSecurityGroups", req, resp, cb);
1281
+ }
1282
+
1256
1283
  /**
1257
1284
  * This API (DescribeSupportedPrivileges) is used to query the information of TencentDB account permissions, including global permissions, database permissions, table permissions, and column permissions.
1258
1285
  * @param {DescribeSupportedPrivilegesRequest} req
@@ -16,6 +16,34 @@
16
16
  */
17
17
  const AbstractModel = require("../../common/abstract_model");
18
18
 
19
+ /**
20
+ * ModifyInstanceTag response structure.
21
+ * @class
22
+ */
23
+ class ModifyInstanceTagResponse extends AbstractModel {
24
+ constructor(){
25
+ super();
26
+
27
+ /**
28
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
29
+ * @type {string || null}
30
+ */
31
+ this.RequestId = null;
32
+
33
+ }
34
+
35
+ /**
36
+ * @private
37
+ */
38
+ deserialize(params) {
39
+ if (!params) {
40
+ return;
41
+ }
42
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
43
+
44
+ }
45
+ }
46
+
19
47
  /**
20
48
  * Purchasable instance type
21
49
  * @class
@@ -2895,18 +2923,42 @@ class SwitchForUpgradeRequest extends AbstractModel {
2895
2923
  }
2896
2924
 
2897
2925
  /**
2898
- * ModifyInstanceTag response structure.
2926
+ * ModifyBackupDownloadRestriction request structure.
2899
2927
  * @class
2900
2928
  */
2901
- class ModifyInstanceTagResponse extends AbstractModel {
2929
+ class ModifyBackupDownloadRestrictionRequest extends AbstractModel {
2902
2930
  constructor(){
2903
2931
  super();
2904
2932
 
2905
2933
  /**
2906
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2934
+ * Valid values: `NoLimit` (backups can be downloaded over both private and public networks with any IPs), `LimitOnlyIntranet` (backups can be downloaded over the private network with any private IPs), `Customize` (backups can be downloaded over specified VPCs with specified IPs). The `LimitVpc` and `LimitIp` parameters are valid only when this parameter is set to `Customize`.
2907
2935
  * @type {string || null}
2908
2936
  */
2909
- this.RequestId = null;
2937
+ this.LimitType = null;
2938
+
2939
+ /**
2940
+ * Valid value: `In` (backups can only be downloaded over the VPCs specified in `LimitVpc`). Default value: `In`.
2941
+ * @type {string || null}
2942
+ */
2943
+ this.VpcComparisonSymbol = null;
2944
+
2945
+ /**
2946
+ * Valid values: `In` (backups can only be downloaded with the IPs specified in `LimitIp`), `NotIn` (backups cannot be downloaded with the IPs specified in `LimitIp`). Default value: `In`.
2947
+ * @type {string || null}
2948
+ */
2949
+ this.IpComparisonSymbol = null;
2950
+
2951
+ /**
2952
+ * VPCs used to restrict backup download.
2953
+ * @type {Array.<BackupLimitVpcItem> || null}
2954
+ */
2955
+ this.LimitVpc = null;
2956
+
2957
+ /**
2958
+ * IPs used to restrict backup download.
2959
+ * @type {Array.<string> || null}
2960
+ */
2961
+ this.LimitIp = null;
2910
2962
 
2911
2963
  }
2912
2964
 
@@ -2917,7 +2969,19 @@ class ModifyInstanceTagResponse extends AbstractModel {
2917
2969
  if (!params) {
2918
2970
  return;
2919
2971
  }
2920
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
2972
+ this.LimitType = 'LimitType' in params ? params.LimitType : null;
2973
+ this.VpcComparisonSymbol = 'VpcComparisonSymbol' in params ? params.VpcComparisonSymbol : null;
2974
+ this.IpComparisonSymbol = 'IpComparisonSymbol' in params ? params.IpComparisonSymbol : null;
2975
+
2976
+ if (params.LimitVpc) {
2977
+ this.LimitVpc = new Array();
2978
+ for (let z in params.LimitVpc) {
2979
+ let obj = new BackupLimitVpcItem();
2980
+ obj.deserialize(params.LimitVpc[z]);
2981
+ this.LimitVpc.push(obj);
2982
+ }
2983
+ }
2984
+ this.LimitIp = 'LimitIp' in params ? params.LimitIp : null;
2921
2985
 
2922
2986
  }
2923
2987
  }
@@ -3049,6 +3113,56 @@ class ModifyAccountMaxUserConnectionsRequest extends AbstractModel {
3049
3113
  }
3050
3114
  }
3051
3115
 
3116
+ /**
3117
+ * ModifyAccountDescription request structure.
3118
+ * @class
3119
+ */
3120
+ class ModifyAccountDescriptionRequest extends AbstractModel {
3121
+ constructor(){
3122
+ super();
3123
+
3124
+ /**
3125
+ * Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page.
3126
+ * @type {string || null}
3127
+ */
3128
+ this.InstanceId = null;
3129
+
3130
+ /**
3131
+ * TencentDB account
3132
+ * @type {Array.<Account> || null}
3133
+ */
3134
+ this.Accounts = null;
3135
+
3136
+ /**
3137
+ * Database account remarks
3138
+ * @type {string || null}
3139
+ */
3140
+ this.Description = null;
3141
+
3142
+ }
3143
+
3144
+ /**
3145
+ * @private
3146
+ */
3147
+ deserialize(params) {
3148
+ if (!params) {
3149
+ return;
3150
+ }
3151
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3152
+
3153
+ if (params.Accounts) {
3154
+ this.Accounts = new Array();
3155
+ for (let z in params.Accounts) {
3156
+ let obj = new Account();
3157
+ obj.deserialize(params.Accounts[z]);
3158
+ this.Accounts.push(obj);
3159
+ }
3160
+ }
3161
+ this.Description = 'Description' in params ? params.Description : null;
3162
+
3163
+ }
3164
+ }
3165
+
3052
3166
  /**
3053
3167
  * ReleaseIsolatedDBInstances request structure.
3054
3168
  * @class
@@ -4912,6 +5026,69 @@ class DescribeDBSwitchRecordsResponse extends AbstractModel {
4912
5026
  }
4913
5027
  }
4914
5028
 
5029
+ /**
5030
+ * Slow log details
5031
+ * @class
5032
+ */
5033
+ class SlowLogInfo extends AbstractModel {
5034
+ constructor(){
5035
+ super();
5036
+
5037
+ /**
5038
+ * Backup filename
5039
+ * @type {string || null}
5040
+ */
5041
+ this.Name = null;
5042
+
5043
+ /**
5044
+ * Backup file size in bytes
5045
+ * @type {number || null}
5046
+ */
5047
+ this.Size = null;
5048
+
5049
+ /**
5050
+ * Backup snapshot time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-03-17 02:10:37
5051
+ * @type {string || null}
5052
+ */
5053
+ this.Date = null;
5054
+
5055
+ /**
5056
+ * Download address on the private network
5057
+ * @type {string || null}
5058
+ */
5059
+ this.IntranetUrl = null;
5060
+
5061
+ /**
5062
+ * Download address on the public network
5063
+ * @type {string || null}
5064
+ */
5065
+ this.InternetUrl = null;
5066
+
5067
+ /**
5068
+ * Log type. Value range: slowlog (slow log)
5069
+ * @type {string || null}
5070
+ */
5071
+ this.Type = null;
5072
+
5073
+ }
5074
+
5075
+ /**
5076
+ * @private
5077
+ */
5078
+ deserialize(params) {
5079
+ if (!params) {
5080
+ return;
5081
+ }
5082
+ this.Name = 'Name' in params ? params.Name : null;
5083
+ this.Size = 'Size' in params ? params.Size : null;
5084
+ this.Date = 'Date' in params ? params.Date : null;
5085
+ this.IntranetUrl = 'IntranetUrl' in params ? params.IntranetUrl : null;
5086
+ this.InternetUrl = 'InternetUrl' in params ? params.InternetUrl : null;
5087
+ this.Type = 'Type' in params ? params.Type : null;
5088
+
5089
+ }
5090
+ }
5091
+
4915
5092
  /**
4916
5093
  * Name of the table for rollback
4917
5094
  * @class
@@ -7486,6 +7663,56 @@ class DescribeAsyncRequestInfoRequest extends AbstractModel {
7486
7663
  }
7487
7664
  }
7488
7665
 
7666
+ /**
7667
+ * DescribeInstanceParams response structure.
7668
+ * @class
7669
+ */
7670
+ class DescribeInstanceParamsResponse extends AbstractModel {
7671
+ constructor(){
7672
+ super();
7673
+
7674
+ /**
7675
+ * Number of instance parameters.
7676
+ * @type {number || null}
7677
+ */
7678
+ this.TotalCount = null;
7679
+
7680
+ /**
7681
+ * Parameter details.
7682
+ * @type {Array.<ParameterDetail> || null}
7683
+ */
7684
+ this.Items = null;
7685
+
7686
+ /**
7687
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7688
+ * @type {string || null}
7689
+ */
7690
+ this.RequestId = null;
7691
+
7692
+ }
7693
+
7694
+ /**
7695
+ * @private
7696
+ */
7697
+ deserialize(params) {
7698
+ if (!params) {
7699
+ return;
7700
+ }
7701
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
7702
+
7703
+ if (params.Items) {
7704
+ this.Items = new Array();
7705
+ for (let z in params.Items) {
7706
+ let obj = new ParameterDetail();
7707
+ obj.deserialize(params.Items[z]);
7708
+ this.Items.push(obj);
7709
+ }
7710
+ }
7711
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
7712
+
7713
+ }
7714
+ }
7715
+
7489
7716
  /**
7490
7717
  * Table permission
7491
7718
  * @class
@@ -9034,30 +9261,48 @@ class ModifyDBInstanceNameResponse extends AbstractModel {
9034
9261
  }
9035
9262
 
9036
9263
  /**
9037
- * ModifyAccountDescription request structure.
9264
+ * DescribeBackupDownloadRestriction response structure.
9038
9265
  * @class
9039
9266
  */
9040
- class ModifyAccountDescriptionRequest extends AbstractModel {
9267
+ class DescribeBackupDownloadRestrictionResponse extends AbstractModel {
9041
9268
  constructor(){
9042
9269
  super();
9043
9270
 
9044
9271
  /**
9045
- * Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page.
9272
+ * Valid values: `NoLimit` (backups can be downloaded over both private and public networks with any IPs), `LimitOnlyIntranet` (backups can be downloaded over the private network with any private IPs), `Customize` (backups can be downloaded over specified VPCs with specified IPs). The `LimitVpc` and `LimitIp` parameters are valid only when this parameter is set to `Customize`.
9046
9273
  * @type {string || null}
9047
9274
  */
9048
- this.InstanceId = null;
9275
+ this.LimitType = null;
9049
9276
 
9050
9277
  /**
9051
- * TencentDB account
9052
- * @type {Array.<Account> || null}
9278
+ * Valid value: `In` (backups can only be downloaded over the VPCs specified in `LimitVpc`).
9279
+ * @type {string || null}
9053
9280
  */
9054
- this.Accounts = null;
9281
+ this.VpcComparisonSymbol = null;
9055
9282
 
9056
9283
  /**
9057
- * Database account remarks
9284
+ * Valid values: `In` (backups can only be downloaded with the IPs specified in `LimitIp`), `NotIn` (backups cannot be downloaded with the IPs specified in `LimitIp`).
9058
9285
  * @type {string || null}
9059
9286
  */
9060
- this.Description = null;
9287
+ this.IpComparisonSymbol = null;
9288
+
9289
+ /**
9290
+ * VPCs used to restrict backup download.
9291
+ * @type {Array.<BackupLimitVpcItem> || null}
9292
+ */
9293
+ this.LimitVpc = null;
9294
+
9295
+ /**
9296
+ * IPs used to restrict backup download.
9297
+ * @type {Array.<string> || null}
9298
+ */
9299
+ this.LimitIp = null;
9300
+
9301
+ /**
9302
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
9303
+ * @type {string || null}
9304
+ */
9305
+ this.RequestId = null;
9061
9306
 
9062
9307
  }
9063
9308
 
@@ -9068,17 +9313,20 @@ class ModifyAccountDescriptionRequest extends AbstractModel {
9068
9313
  if (!params) {
9069
9314
  return;
9070
9315
  }
9071
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
9316
+ this.LimitType = 'LimitType' in params ? params.LimitType : null;
9317
+ this.VpcComparisonSymbol = 'VpcComparisonSymbol' in params ? params.VpcComparisonSymbol : null;
9318
+ this.IpComparisonSymbol = 'IpComparisonSymbol' in params ? params.IpComparisonSymbol : null;
9072
9319
 
9073
- if (params.Accounts) {
9074
- this.Accounts = new Array();
9075
- for (let z in params.Accounts) {
9076
- let obj = new Account();
9077
- obj.deserialize(params.Accounts[z]);
9078
- this.Accounts.push(obj);
9320
+ if (params.LimitVpc) {
9321
+ this.LimitVpc = new Array();
9322
+ for (let z in params.LimitVpc) {
9323
+ let obj = new BackupLimitVpcItem();
9324
+ obj.deserialize(params.LimitVpc[z]);
9325
+ this.LimitVpc.push(obj);
9079
9326
  }
9080
9327
  }
9081
- this.Description = 'Description' in params ? params.Description : null;
9328
+ this.LimitIp = 'LimitIp' in params ? params.LimitIp : null;
9329
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
9082
9330
 
9083
9331
  }
9084
9332
  }
@@ -10086,6 +10334,34 @@ class IsolateDBInstanceRequest extends AbstractModel {
10086
10334
  }
10087
10335
  }
10088
10336
 
10337
+ /**
10338
+ * ModifyBackupDownloadRestriction response structure.
10339
+ * @class
10340
+ */
10341
+ class ModifyBackupDownloadRestrictionResponse extends AbstractModel {
10342
+ constructor(){
10343
+ super();
10344
+
10345
+ /**
10346
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
10347
+ * @type {string || null}
10348
+ */
10349
+ this.RequestId = null;
10350
+
10351
+ }
10352
+
10353
+ /**
10354
+ * @private
10355
+ */
10356
+ deserialize(params) {
10357
+ if (!params) {
10358
+ return;
10359
+ }
10360
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
10361
+
10362
+ }
10363
+ }
10364
+
10089
10365
  /**
10090
10366
  * ModifyTimeWindow request structure.
10091
10367
  * @class
@@ -11394,49 +11670,13 @@ class DescribeParamTemplateInfoRequest extends AbstractModel {
11394
11670
  }
11395
11671
 
11396
11672
  /**
11397
- * Slow log details
11673
+ * DescribeBackupDownloadRestriction request structure.
11398
11674
  * @class
11399
11675
  */
11400
- class SlowLogInfo extends AbstractModel {
11676
+ class DescribeBackupDownloadRestrictionRequest extends AbstractModel {
11401
11677
  constructor(){
11402
11678
  super();
11403
11679
 
11404
- /**
11405
- * Backup filename
11406
- * @type {string || null}
11407
- */
11408
- this.Name = null;
11409
-
11410
- /**
11411
- * Backup file size in bytes
11412
- * @type {number || null}
11413
- */
11414
- this.Size = null;
11415
-
11416
- /**
11417
- * Backup snapshot time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-03-17 02:10:37
11418
- * @type {string || null}
11419
- */
11420
- this.Date = null;
11421
-
11422
- /**
11423
- * Download address on the private network
11424
- * @type {string || null}
11425
- */
11426
- this.IntranetUrl = null;
11427
-
11428
- /**
11429
- * Download address on the public network
11430
- * @type {string || null}
11431
- */
11432
- this.InternetUrl = null;
11433
-
11434
- /**
11435
- * Log type. Value range: slowlog (slow log)
11436
- * @type {string || null}
11437
- */
11438
- this.Type = null;
11439
-
11440
11680
  }
11441
11681
 
11442
11682
  /**
@@ -11446,12 +11686,6 @@ class SlowLogInfo extends AbstractModel {
11446
11686
  if (!params) {
11447
11687
  return;
11448
11688
  }
11449
- this.Name = 'Name' in params ? params.Name : null;
11450
- this.Size = 'Size' in params ? params.Size : null;
11451
- this.Date = 'Date' in params ? params.Date : null;
11452
- this.IntranetUrl = 'IntranetUrl' in params ? params.IntranetUrl : null;
11453
- this.InternetUrl = 'InternetUrl' in params ? params.InternetUrl : null;
11454
- this.Type = 'Type' in params ? params.Type : null;
11455
11689
 
11456
11690
  }
11457
11691
  }
@@ -11682,30 +11916,24 @@ class DescribeDBInstanceInfoRequest extends AbstractModel {
11682
11916
  }
11683
11917
 
11684
11918
  /**
11685
- * DescribeInstanceParams response structure.
11919
+ * VPCs used to restrict backup download
11686
11920
  * @class
11687
11921
  */
11688
- class DescribeInstanceParamsResponse extends AbstractModel {
11922
+ class BackupLimitVpcItem extends AbstractModel {
11689
11923
  constructor(){
11690
11924
  super();
11691
11925
 
11692
11926
  /**
11693
- * Number of instance parameters.
11694
- * @type {number || null}
11695
- */
11696
- this.TotalCount = null;
11697
-
11698
- /**
11699
- * Parameter details.
11700
- * @type {Array.<ParameterDetail> || null}
11927
+ * The region where the backup download restrictions take effect. It must be the same as the common request parameter `Region` of the API.
11928
+ * @type {string || null}
11701
11929
  */
11702
- this.Items = null;
11930
+ this.Region = null;
11703
11931
 
11704
11932
  /**
11705
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
11706
- * @type {string || null}
11933
+ * The list of VPCs used to restrict backup download
11934
+ * @type {Array.<string> || null}
11707
11935
  */
11708
- this.RequestId = null;
11936
+ this.VpcList = null;
11709
11937
 
11710
11938
  }
11711
11939
 
@@ -11716,17 +11944,8 @@ class DescribeInstanceParamsResponse extends AbstractModel {
11716
11944
  if (!params) {
11717
11945
  return;
11718
11946
  }
11719
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
11720
-
11721
- if (params.Items) {
11722
- this.Items = new Array();
11723
- for (let z in params.Items) {
11724
- let obj = new ParameterDetail();
11725
- obj.deserialize(params.Items[z]);
11726
- this.Items.push(obj);
11727
- }
11728
- }
11729
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
11947
+ this.Region = 'Region' in params ? params.Region : null;
11948
+ this.VpcList = 'VpcList' in params ? params.VpcList : null;
11730
11949
 
11731
11950
  }
11732
11951
  }
@@ -13079,6 +13298,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
13079
13298
  }
13080
13299
 
13081
13300
  module.exports = {
13301
+ ModifyInstanceTagResponse: ModifyInstanceTagResponse,
13082
13302
  SellType: SellType,
13083
13303
  TaskDetail: TaskDetail,
13084
13304
  DeviceDiskInfo: DeviceDiskInfo,
@@ -13136,10 +13356,11 @@ module.exports = {
13136
13356
  ParameterDetail: ParameterDetail,
13137
13357
  BackupSummaryItem: BackupSummaryItem,
13138
13358
  SwitchForUpgradeRequest: SwitchForUpgradeRequest,
13139
- ModifyInstanceTagResponse: ModifyInstanceTagResponse,
13359
+ ModifyBackupDownloadRestrictionRequest: ModifyBackupDownloadRestrictionRequest,
13140
13360
  CreateParamTemplateResponse: CreateParamTemplateResponse,
13141
13361
  CreateDBInstanceHourResponse: CreateDBInstanceHourResponse,
13142
13362
  ModifyAccountMaxUserConnectionsRequest: ModifyAccountMaxUserConnectionsRequest,
13363
+ ModifyAccountDescriptionRequest: ModifyAccountDescriptionRequest,
13143
13364
  ReleaseIsolatedDBInstancesRequest: ReleaseIsolatedDBInstancesRequest,
13144
13365
  BinlogInfo: BinlogInfo,
13145
13366
  DeleteDeployGroupsResponse: DeleteDeployGroupsResponse,
@@ -13164,6 +13385,7 @@ module.exports = {
13164
13385
  DescribeDBSecurityGroupsRequest: DescribeDBSecurityGroupsRequest,
13165
13386
  ModifyDBInstanceVipVportResponse: ModifyDBInstanceVipVportResponse,
13166
13387
  DescribeDBSwitchRecordsResponse: DescribeDBSwitchRecordsResponse,
13388
+ SlowLogInfo: SlowLogInfo,
13167
13389
  RollbackTableName: RollbackTableName,
13168
13390
  DeleteBackupResponse: DeleteBackupResponse,
13169
13391
  ModifyInstanceParamRequest: ModifyInstanceParamRequest,
@@ -13225,6 +13447,7 @@ module.exports = {
13225
13447
  OpenDBInstanceGTIDRequest: OpenDBInstanceGTIDRequest,
13226
13448
  UpgradeDBInstanceEngineVersionResponse: UpgradeDBInstanceEngineVersionResponse,
13227
13449
  DescribeAsyncRequestInfoRequest: DescribeAsyncRequestInfoRequest,
13450
+ DescribeInstanceParamsResponse: DescribeInstanceParamsResponse,
13228
13451
  TablePrivilege: TablePrivilege,
13229
13452
  BalanceRoGroupLoadRequest: BalanceRoGroupLoadRequest,
13230
13453
  DescribeBackupOverviewResponse: DescribeBackupOverviewResponse,
@@ -13253,7 +13476,7 @@ module.exports = {
13253
13476
  ModifyBackupConfigResponse: ModifyBackupConfigResponse,
13254
13477
  RoVipInfo: RoVipInfo,
13255
13478
  ModifyDBInstanceNameResponse: ModifyDBInstanceNameResponse,
13256
- ModifyAccountDescriptionRequest: ModifyAccountDescriptionRequest,
13479
+ DescribeBackupDownloadRestrictionResponse: DescribeBackupDownloadRestrictionResponse,
13257
13480
  ModifyAccountPasswordRequest: ModifyAccountPasswordRequest,
13258
13481
  DescribeTablesRequest: DescribeTablesRequest,
13259
13482
  InstanceRebootTime: InstanceRebootTime,
@@ -13269,6 +13492,7 @@ module.exports = {
13269
13492
  RoInstanceInfo: RoInstanceInfo,
13270
13493
  CreateAccountsRequest: CreateAccountsRequest,
13271
13494
  IsolateDBInstanceRequest: IsolateDBInstanceRequest,
13495
+ ModifyBackupDownloadRestrictionResponse: ModifyBackupDownloadRestrictionResponse,
13272
13496
  ModifyTimeWindowRequest: ModifyTimeWindowRequest,
13273
13497
  DeviceCpuRateInfo: DeviceCpuRateInfo,
13274
13498
  ModifyAccountPrivilegesRequest: ModifyAccountPrivilegesRequest,
@@ -13298,13 +13522,13 @@ module.exports = {
13298
13522
  DeleteTimeWindowRequest: DeleteTimeWindowRequest,
13299
13523
  DescribeDBInstancesResponse: DescribeDBInstancesResponse,
13300
13524
  DescribeParamTemplateInfoRequest: DescribeParamTemplateInfoRequest,
13301
- SlowLogInfo: SlowLogInfo,
13525
+ DescribeBackupDownloadRestrictionRequest: DescribeBackupDownloadRestrictionRequest,
13302
13526
  DescribeDataBackupOverviewRequest: DescribeDataBackupOverviewRequest,
13303
13527
  DescribeParamTemplateInfoResponse: DescribeParamTemplateInfoResponse,
13304
13528
  ParamRecord: ParamRecord,
13305
13529
  RestartDBInstancesRequest: RestartDBInstancesRequest,
13306
13530
  DescribeDBInstanceInfoRequest: DescribeDBInstanceInfoRequest,
13307
- DescribeInstanceParamsResponse: DescribeInstanceParamsResponse,
13531
+ BackupLimitVpcItem: BackupLimitVpcItem,
13308
13532
  DescribeDBZoneConfigResponse: DescribeDBZoneConfigResponse,
13309
13533
  CreateDeployGroupRequest: CreateDeployGroupRequest,
13310
13534
  DisassociateSecurityGroupsRequest: DisassociateSecurityGroupsRequest,
@@ -80,6 +80,13 @@ Note: `null` may be returned for this field, indicating that no valid values can
80
80
  */
81
81
  this.Events = null;
82
82
 
83
+ /**
84
+ * Total number of events.
85
+ Note: this field may return `null`, indicating that no valid values can be obtained.
86
+ * @type {number || null}
87
+ */
88
+ this.TotalCount = null;
89
+
83
90
  /**
84
91
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
85
92
  * @type {string || null}
@@ -106,6 +113,7 @@ Note: `null` may be returned for this field, indicating that no valid values can
106
113
  this.Events.push(obj);
107
114
  }
108
115
  }
116
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
109
117
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
110
118
 
111
119
  }
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.330";
1
+ const sdkVersion = "3.0.334";
2
2
  module.exports = sdkVersion
@@ -1064,6 +1064,12 @@ Dedicated primary node disk size in GB, which is optional. If passed in, it can
1064
1064
  */
1065
1065
  this.WebNodeTypeInfo = null;
1066
1066
 
1067
+ /**
1068
+ * Valid values: `https`, `http` (default)
1069
+ * @type {string || null}
1070
+ */
1071
+ this.Protocol = null;
1072
+
1067
1073
  }
1068
1074
 
1069
1075
  /**
@@ -1131,6 +1137,7 @@ Dedicated primary node disk size in GB, which is optional. If passed in, it can
1131
1137
  obj.deserialize(params.WebNodeTypeInfo)
1132
1138
  this.WebNodeTypeInfo = obj;
1133
1139
  }
1140
+ this.Protocol = 'Protocol' in params ? params.Protocol : null;
1134
1141
 
1135
1142
  }
1136
1143
  }
@@ -1506,6 +1513,20 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1506
1513
  */
1507
1514
  this.Jdk = null;
1508
1515
 
1516
+ /**
1517
+ * Cluster network communication protocol
1518
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1519
+ * @type {string || null}
1520
+ */
1521
+ this.Protocol = null;
1522
+
1523
+ /**
1524
+ * Security group ID
1525
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1526
+ * @type {Array.<string> || null}
1527
+ */
1528
+ this.SecurityGroups = null;
1529
+
1509
1530
  }
1510
1531
 
1511
1532
  /**
@@ -1631,6 +1652,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1631
1652
  this.WebNodeTypeInfo = obj;
1632
1653
  }
1633
1654
  this.Jdk = 'Jdk' in params ? params.Jdk : null;
1655
+ this.Protocol = 'Protocol' in params ? params.Protocol : null;
1656
+ this.SecurityGroups = 'SecurityGroups' in params ? params.SecurityGroups : null;
1634
1657
 
1635
1658
  }
1636
1659
  }
@@ -2124,6 +2147,30 @@ Dedicated primary node disk size in GB. This is 50 GB by default and currently c
2124
2147
  */
2125
2148
  this.WebNodeTypeInfo = null;
2126
2149
 
2150
+ /**
2151
+ * Whether to switch to the new network architecture
2152
+ * @type {string || null}
2153
+ */
2154
+ this.SwitchPrivateLink = null;
2155
+
2156
+ /**
2157
+ * Whether to enable Cerebro
2158
+ * @type {boolean || null}
2159
+ */
2160
+ this.EnableCerebro = null;
2161
+
2162
+ /**
2163
+ * Cerebro public network access status
2164
+ * @type {string || null}
2165
+ */
2166
+ this.CerebroPublicAccess = null;
2167
+
2168
+ /**
2169
+ * Cerebro private network access status
2170
+ * @type {string || null}
2171
+ */
2172
+ this.CerebroPrivateAccess = null;
2173
+
2127
2174
  }
2128
2175
 
2129
2176
  /**
@@ -2194,6 +2241,10 @@ Dedicated primary node disk size in GB. This is 50 GB by default and currently c
2194
2241
  obj.deserialize(params.WebNodeTypeInfo)
2195
2242
  this.WebNodeTypeInfo = obj;
2196
2243
  }
2244
+ this.SwitchPrivateLink = 'SwitchPrivateLink' in params ? params.SwitchPrivateLink : null;
2245
+ this.EnableCerebro = 'EnableCerebro' in params ? params.EnableCerebro : null;
2246
+ this.CerebroPublicAccess = 'CerebroPublicAccess' in params ? params.CerebroPublicAccess : null;
2247
+ this.CerebroPrivateAccess = 'CerebroPrivateAccess' in params ? params.CerebroPrivateAccess : null;
2197
2248
 
2198
2249
  }
2199
2250
  }
@@ -357,7 +357,7 @@ class DescribeProductEventListRequest extends AbstractModel {
357
357
  this.Dimensions = null;
358
358
 
359
359
  /**
360
- * Region filter parameter for service events, such as `gz`. For region abbreviations, please see [Region List](https://intl.cloud.tencent.com/document/product/248/50863?from_cn_redirect=1)
360
+ * Region filter parameter for service events.
361
361
  * @type {Array.<string> || null}
362
362
  */
363
363
  this.RegionList = null;
@@ -875,7 +875,7 @@ class CreateAlarmPolicyRequest extends AbstractModel {
875
875
  this.MonitorType = null;
876
876
 
877
877
  /**
878
- * Type of alarm policy, which can be obtained via [DescribeAllNamespaces](https://intl.cloud.tencent.com/document/product/248/48683?from_cn_redirect=1). An example value is `cvm_device`.
878
+ * Type of alarm policy, which can be obtained via [DescribeAllNamespaces](https://intl.cloud.tencent.com/document/product/248/48683?from_cn_redirect=1). For the monitoring of Tencent Cloud services, the value of this parameter is `QceNamespacesNew.N.Id` of the output parameter of `DescribeAllNamespaces`, for example, `cvm_device`.
879
879
  * @type {string || null}
880
880
  */
881
881
  this.Namespace = null;
@@ -4757,7 +4757,6 @@ class DescribeAlarmHistoriesRequest extends AbstractModel {
4757
4757
 
4758
4758
  /**
4759
4759
  * Filter by project ID. Valid values: `-1` (no project), `0` (default project)
4760
- You can query [Project Management](https://console.cloud.tencent.com/project) on this page.
4761
4760
  * @type {Array.<number> || null}
4762
4761
  */
4763
4762
  this.ProjectIds = null;
@@ -4770,7 +4769,6 @@ You can query [Project Management](https://console.cloud.tencent.com/project) on
4770
4769
 
4771
4770
  /**
4772
4771
  * Filter by policy type. Monitoring type and policy type are first-level and second-level filters respectively and both need to be passed in. For example, `[{"MonitorType": "MT_QCE", "Namespace": "cvm_device"}]`
4773
- This parameter can be queried with the API [DescribeAllNamespaces](https://intl.cloud.tencent.com/document/product/248/48683?from_cn_redirect=1).
4774
4772
  * @type {Array.<MonitorTypeNamespace> || null}
4775
4773
  */
4776
4774
  this.Namespaces = null;
@@ -4794,13 +4792,13 @@ This parameter can be queried with the API [DescribeAllNamespaces](https://intl.
4794
4792
  this.Content = null;
4795
4793
 
4796
4794
  /**
4797
- * Search by recipient. You can get the user list with the API [ListUsers](https://intl.cloud.tencent.com/document/product/598/34587?from_cn_redirect=1) in “Cloud Access Management” or query the sub-user information with the API [GetUser](https://intl.cloud.tencent.com/document/product/598/34590?from_cn_redirect=1). The `Uid` field in the returned result should be entered here.
4795
+ * Search by recipient
4798
4796
  * @type {Array.<number> || null}
4799
4797
  */
4800
4798
  this.ReceiverUids = null;
4801
4799
 
4802
4800
  /**
4803
- * Search by recipient group. You can get the user group list with the API [ListGroups](https://intl.cloud.tencent.com/document/product/598/34589?from_cn_redirect=1) in “Cloud Access Management” or query the user group list where a sub-user is in with the API [ListGroupsForUser](https://intl.cloud.tencent.com/document/product/598/34588?from_cn_redirect=1). The `GroupId` field in the returned result should be entered here.
4801
+ * Search by recipient group
4804
4802
  * @type {Array.<number> || null}
4805
4803
  */
4806
4804
  this.ReceiverGroups = null;
@@ -153,12 +153,13 @@ class ModifySmsSignRequest extends AbstractModel {
153
153
 
154
154
  /**
155
155
  * Signature type. Each of these types is followed by their `DocumentType` (identity certificate type) option:
156
- 0: company. Valid values of `DocumentType` include 0, 1, 2, and 3.
156
+ 0: company. Valid values of `DocumentType` include 0 and 1.
157
157
  1: app. Valid values of `DocumentType` include 0, 1, 2, 3, and 4.
158
158
  2: website. Valid values of `DocumentType` include 0, 1, 2, 3, and 5.
159
- 3: WeChat Official Account or WeChat Mini Program. Valid values of `DocumentType` include 0, 1, 2, 3, and 6.
159
+ 3: WeChat Official Account. Valid values of `DocumentType` include 0, 1, 2, 3, and 8.
160
160
  4: trademark. Valid values of `DocumentType` include 7.
161
161
  5: government/public institution/other. Valid values of `DocumentType` include 2 and 3.
162
+ 6: WeChat Mini Program. Valid values of `DocumentType` include 0, 1, 2, 3, and 6.
162
163
  Note: the identity certificate type must be selected according to the correspondence; otherwise, the review will fail.
163
164
  * @type {number || null}
164
165
  */
@@ -174,7 +175,7 @@ Note: the identity certificate type must be selected according to the correspond
174
175
  5: screenshot of website ICP filing backend (for personal website).
175
176
  6: screenshot of WeChat Mini Program settings page (for personal WeChat Mini Program).
176
177
  7: trademark registration certificate.
177
- Note: the corresponding `DocumentType` must be selected according to `SignType`.
178
+ 8: screenshot of WeChat Official Account settings page (for personal WeChat Official Account).
178
179
  * @type {number || null}
179
180
  */
180
181
  this.DocumentType = null;
@@ -255,12 +256,13 @@ Note: you cannot apply for an approved or pending signature again.
255
256
 
256
257
  /**
257
258
  * Signature type. Each of these types is followed by their `DocumentType` (identity certificate type) option:
258
- 0: company. Valid values of `DocumentType` include 0, 1, 2, and 3.
259
+ 0: company. Valid values of `DocumentType` include 0 and 1.
259
260
  1: app. Valid values of `DocumentType` include 0, 1, 2, 3, and 4.
260
261
  2: website. Valid values of `DocumentType` include 0, 1, 2, 3, and 5.
261
- 3: WeChat Official Account or WeChat Mini Program. Valid values of `DocumentType` include 0, 1, 2, 3, and 6.
262
+ 3: WeChat Official Account. Valid values of `DocumentType` include 0, 1, 2, 3, and 8.
262
263
  4: trademark. Valid values of `DocumentType` include 7.
263
264
  5: government/public institution/other. Valid values of `DocumentType` include 2 and 3.
265
+ 6: WeChat Mini Program. Valid values of `DocumentType` include 0, 1, 2, 3, and 6.
264
266
  Note: the identity certificate type must be selected according to the correspondence; otherwise, the review will fail.
265
267
  * @type {number || null}
266
268
  */
@@ -268,7 +270,7 @@ Note: the identity certificate type must be selected according to the correspond
268
270
 
269
271
  /**
270
272
  * Identity certificate type:
271
- 0: three-in-one.
273
+ 0: three-in-one licence.
272
274
  1: business license.
273
275
  2: organization code certificate.
274
276
  3: social credit code certificate.
@@ -276,7 +278,7 @@ Note: the identity certificate type must be selected according to the correspond
276
278
  5: screenshot of website ICP filing backend (for personal website).
277
279
  6: screenshot of WeChat Mini Program settings page (for personal WeChat Mini Program).
278
280
  7: trademark registration certificate.
279
- Note: the corresponding `DocumentType` must be selected according to `SignType`.
281
+ 8: screenshot of WeChat Official Account settings page (for personal WeChat Official Account).
280
282
  * @type {number || null}
281
283
  */
282
284
  this.DocumentType = null;
@@ -1012,14 +1014,14 @@ Note: 11-digit Chinese mainland numbers prefixed by 0086 or 86 or those without
1012
1014
  this.SmsSdkAppId = null;
1013
1015
 
1014
1016
  /**
1015
- * Template ID. You must enter the ID of an approved template, which can be viewed in the [SMS console](https://console.cloud.tencent.com/smsv2). If you need to send SMS messages to global mobile numbers, you can only use a Global SMS template.
1017
+ * Template ID. You must enter the ID of an approved template, which can be viewed on the [Chinese Mainland SMS](https://console.cloud.tencent.com/smsv2/csms-template) or [Global SMS](https://console.cloud.tencent.com/smsv2/isms-template) body template management page. If you need to send SMS messages to global mobile numbers, you can only use a Global SMS template.
1016
1018
  * @type {string || null}
1017
1019
  */
1018
1020
  this.TemplateId = null;
1019
1021
 
1020
1022
  /**
1021
- * SMS signature information which is encoded in UTF-8. You must enter an approved signature (such as Tencent Cloud). The signing information can be viewed in the [SMS console](https://console.cloud.tencent.com/smsv2).
1022
- <dx-alert infotype="notice" title="Note">This parameter is required for Chinese mainland SMS.</dx-alert>
1023
+ * Content of the SMS signature, which should be encoded in UTF-8. You must enter an approved signature, such as Tencent Cloud. The signature information can be viewed on the [Chinese Mainland SMS](https://console.cloud.tencent.com/smsv2/csms-sign) or [Global SMS](https://console.cloud.tencent.com/smsv2/isms-sign) signature management page.
1024
+ <dx-alert infotype="notice" title="Note">This parameter is required for Chinese Mainland SMS.</dx-alert>
1023
1025
  * @type {string || null}
1024
1026
  */
1025
1027
  this.SignName = null;
@@ -1032,7 +1034,7 @@ Note: 11-digit Chinese mainland numbers prefixed by 0086 or 86 or those without
1032
1034
  this.TemplateParamSet = null;
1033
1035
 
1034
1036
  /**
1035
- * SMS code number extension, which is not activated by default. If you need to activate it, please contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81).
1037
+ * SMS code number extension, which is not activated by default. If you need to activate it, you can contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81).
1036
1038
  * @type {string || null}
1037
1039
  */
1038
1040
  this.ExtendCode = null;
@@ -1044,8 +1046,8 @@ Note: 11-digit Chinese mainland numbers prefixed by 0086 or 86 or those without
1044
1046
  this.SessionContext = null;
1045
1047
 
1046
1048
  /**
1047
- * This parameter is not required for Mainland China SMS. For Global SMS, if you have applied for a separate `SenderId`, this parameter is required. By default, the public `SenderId` is used, in which case you don't need to enter this parameter.
1048
- Note: if your monthly usage reaches the specified threshold, you can apply for an independent `SenderId`. For more information, please contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81).
1049
+ * This parameter is not required for Chinese Mainland SMS. For Global SMS, if you have applied for a separate `SenderId`, this parameter is required. By default, the public `SenderId` is used, in which case you don't need to enter this parameter.
1050
+ Note: if your monthly usage reaches the specified threshold, you can apply for an independent `SenderId`. For more information, contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81).
1049
1051
  * @type {string || null}
1050
1052
  */
1051
1053
  this.SenderId = null;
@@ -1520,19 +1522,33 @@ class DescribeSmsTemplateListRequest extends AbstractModel {
1520
1522
  super();
1521
1523
 
1522
1524
  /**
1523
- * Template ID array.
1524
- <dx-alert infotype="notice" title="Note">The max array length is 100 by default.</dx-alert>
1525
+ * Whether it is Global SMS:
1526
+ 0: Mainland China SMS.
1527
+ 1: Global SMS.
1528
+ * @type {number || null}
1529
+ */
1530
+ this.International = null;
1531
+
1532
+ /**
1533
+ * Array of template IDs. If the array is empty, the template list information will be queried by default (only allowed for root accounts). You need to use the `Limit` and `Offset` fields to set the query range.
1534
+ <dx-alert infotype="notice" title="Note">The default array length can be up to 100</dx-alert>
1525
1535
  * @type {Array.<number> || null}
1526
1536
  */
1527
1537
  this.TemplateIdSet = null;
1528
1538
 
1529
1539
  /**
1530
- * Whether it is Global SMS:
1531
- 0: Mainland China SMS.
1532
- 1: Global SMS.
1540
+ * Upper limit. Maximum value: 100.
1541
+ Note: it is 0 by default and is enabled when `TemplateIdSet` is empty.
1533
1542
  * @type {number || null}
1534
1543
  */
1535
- this.International = null;
1544
+ this.Limit = null;
1545
+
1546
+ /**
1547
+ * Offset.
1548
+ Note: it is 0 by default and is enabled when `TemplateIdSet` is empty.
1549
+ * @type {number || null}
1550
+ */
1551
+ this.Offset = null;
1536
1552
 
1537
1553
  }
1538
1554
 
@@ -1543,8 +1559,10 @@ class DescribeSmsTemplateListRequest extends AbstractModel {
1543
1559
  if (!params) {
1544
1560
  return;
1545
1561
  }
1546
- this.TemplateIdSet = 'TemplateIdSet' in params ? params.TemplateIdSet : null;
1547
1562
  this.International = 'International' in params ? params.International : null;
1563
+ this.TemplateIdSet = 'TemplateIdSet' in params ? params.TemplateIdSet : null;
1564
+ this.Limit = 'Limit' in params ? params.Limit : null;
1565
+ this.Offset = 'Offset' in params ? params.Offset : null;
1548
1566
 
1549
1567
  }
1550
1568
  }
@@ -1854,7 +1872,7 @@ class SendStatus extends AbstractModel {
1854
1872
  this.PhoneNumber = null;
1855
1873
 
1856
1874
  /**
1857
- * Number of billable SMS messages. For billing rules, please see [Billing Policy](https://intl.cloud.tencent.com/document/product/382/36135?from_cn_redirect=1).
1875
+ * Number of billable SMS messages. For billing rules, see Billing Policy.
1858
1876
  * @type {number || null}
1859
1877
  */
1860
1878
  this.Fee = null;
@@ -1866,7 +1884,7 @@ class SendStatus extends AbstractModel {
1866
1884
  this.SessionContext = null;
1867
1885
 
1868
1886
  /**
1869
- * SMS request error code. For details, see [Error Codes](https://intl.cloud.tencent.com/document/api/382/55981?from_cn_redirect=1#6.-.E9.94.99.E8.AF.AF.E7.A0.81). `Ok` will be returned if the request is successful.
1887
+ * SMS request error code. For specific meanings, see [Error Codes](https://intl.cloud.tencent.com/zh/document/product/382/40536#6.-error-code). `Ok` will be returned for successful delivery.
1870
1888
  * @type {string || null}
1871
1889
  */
1872
1890
  this.Code = null;
@@ -75,8 +75,8 @@ class SmsClient extends AbstractClient {
75
75
  }
76
76
 
77
77
  /**
78
- * 1. This API is used to modify an SMS signature. Please read the [Tencent Cloud SMS Signature Review Standards](https://intl.cloud.tencent.com/document/product/382/39022?from_cn_redirect=1) before making a modification.
79
- 2. ⚠️ Note: individual users cannot use this API to modify SMS signatures. For more information, please see [Identity Verification Overview](https://intl.cloud.tencent.com/document/product/378/3629?from_cn_redirect=1). If your account identity is individual, you can log in to the [console](https://console.cloud.tencent.com/smsv2) to modify SMS signatures.
78
+ * 1. This API is used to modify an SMS signature. You need to read the [Tencent Cloud SMS Signature Review Standards](https://intl.cloud.tencent.com/document/product/382/39022) before making a modification.
79
+ 2. ⚠️ Note: individual users cannot use this API to modify SMS signatures. For more information, see [Identity Verification Overview](https://intl.cloud.tencent.com/document/product/378/3629). If your account identity is individual, you can log in to the [console](https://console.cloud.tencent.com/smsv2) to modify SMS signatures.
80
80
  3. Modifications can be made only if the signature status is **Pending Review** or **Rejected**. **Approved** signatures cannot be modified.
81
81
  >- Note: because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
82
82
  >- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
@@ -90,8 +90,8 @@ class SmsClient extends AbstractClient {
90
90
  }
91
91
 
92
92
  /**
93
- * 1. This API is used to add an SMS signature. Please read the [Tencent Cloud SMS Signature Review Standards](https://intl.cloud.tencent.com/document/product/382/39022?from_cn_redirect=1) before starting an application.
94
- 2. ⚠️ Note: individual users cannot use this API to apply for SMS signatures. For more information, please see [Identity Verification Overview](https://intl.cloud.tencent.com/document/product/378/3629?from_cn_redirect=1). If your account identity is individual, you can log in to the console to apply for SMS signatures.
93
+ * 1. This API is used to add an SMS signature. You need to read the [Tencent Cloud SMS Signature Review Standards](https://intl.cloud.tencent.com/zh/document/product/382/40658) before starting an application.
94
+ 2. ⚠️ Note: individual users cannot use this API to apply for SMS signatures. For more information, see [Identity Verification Overview](https://intl.cloud.tencent.com/document/product/378/3629?from_cn_redirect=1). If your account identity is individual, you can log in to the console to apply for SMS signatures.
95
95
  >- Note: because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
96
96
  >- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
97
97
  * @param {AddSmsSignRequest} req
@@ -263,7 +263,8 @@ Currently, you can also [configure the reply callback](https://intl.cloud.tencen
263
263
  }
264
264
 
265
265
  /**
266
- * This API is used to query mobile number information, such as the country/region code and the number in standardized E.164 format. For example, if you query the number +86018845720123, you can know that the country code is 86, and the standardized E. 164 number is +86018845720123.
266
+ * This API is used to query the information of a phone number, including country/region code and standardized E.164 format number.
267
+ >- For example, if you query the number +86018845720123, you can get the country/region code 86 and the standardized E.164 number +8618845720123.
267
268
  * @param {DescribePhoneNumberInfoRequest} req
268
269
  * @param {function(string, DescribePhoneNumberInfoResponse):void} cb
269
270
  * @public
@@ -287,8 +288,8 @@ Currently, you can also [configure the reply callback](https://intl.cloud.tencen
287
288
  }
288
289
 
289
290
  /**
290
- * 1. This API is used to add an SMS template. Please read the [Tencent Cloud SMS Body Template Review Standards](https://intl.cloud.tencent.com/document/product/382/39023?from_cn_redirect=1) before starting an application.
291
- 2. ⚠️ Note: individual users cannot use this API to apply for SMS body templates. For more information, please see [Identity Verification Overview](https://intl.cloud.tencent.com/document/product/378/3629?from_cn_redirect=1). If your account identity is individual, you can log in to the [console](https://console.cloud.tencent.com/smsv2) to apply for SMS body templates.
291
+ * 1. This API is used to add an SMS template. You need to read the [Tencent Cloud SMS Body Template Review Standards](https://intl.cloud.tencent.com/zh/document/product/382/40659) before starting an application.
292
+ 2. ⚠️ Note: individual users cannot use this API to apply for SMS body templates. For more information, see [Identity Verification Overview](https://intl.cloud.tencent.com/zh/document/product/378/3629). If your account identity is individual, you can log in to the [console](https://console.cloud.tencent.com/smsv2) to apply for SMS body templates.
292
293
  >- Note: because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
293
294
  >- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
294
295
  * @param {AddSmsTemplateRequest} req