tencentcloud-sdk-nodejs-intl-en 3.0.554 → 3.0.556
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
|
@@ -105,6 +105,7 @@ const OfflineIsolatedInstancesRequest = models.OfflineIsolatedInstancesRequest;
|
|
|
105
105
|
const DescribeRollbackTaskDetailResponse = models.DescribeRollbackTaskDetailResponse;
|
|
106
106
|
const CreateParamTemplateRequest = models.CreateParamTemplateRequest;
|
|
107
107
|
const CreateDBInstanceHourRequest = models.CreateDBInstanceHourRequest;
|
|
108
|
+
const RemoteBackupInfo = models.RemoteBackupInfo;
|
|
108
109
|
const RWInstanceInfo = models.RWInstanceInfo;
|
|
109
110
|
const DescribeSlowLogsResponse = models.DescribeSlowLogsResponse;
|
|
110
111
|
const RollbackInstancesInfo = models.RollbackInstancesInfo;
|
|
@@ -3264,17 +3264,29 @@ class DescribeDataBackupOverviewResponse extends AbstractModel {
|
|
|
3264
3264
|
this.ManualBackupCount = null;
|
|
3265
3265
|
|
|
3266
3266
|
/**
|
|
3267
|
-
* Total capacity of remote backups
|
|
3267
|
+
* Total capacity of remote backups
|
|
3268
3268
|
* @type {number || null}
|
|
3269
3269
|
*/
|
|
3270
3270
|
this.RemoteBackupVolume = null;
|
|
3271
3271
|
|
|
3272
3272
|
/**
|
|
3273
|
-
* Total number of remote backups
|
|
3273
|
+
* Total number of remote backups
|
|
3274
3274
|
* @type {number || null}
|
|
3275
3275
|
*/
|
|
3276
3276
|
this.RemoteBackupCount = null;
|
|
3277
3277
|
|
|
3278
|
+
/**
|
|
3279
|
+
* Total capacity of archive backups in the current region
|
|
3280
|
+
* @type {number || null}
|
|
3281
|
+
*/
|
|
3282
|
+
this.DataBackupArchiveVolume = null;
|
|
3283
|
+
|
|
3284
|
+
/**
|
|
3285
|
+
* Total number of archive backups in the current region
|
|
3286
|
+
* @type {number || null}
|
|
3287
|
+
*/
|
|
3288
|
+
this.DataBackupArchiveCount = null;
|
|
3289
|
+
|
|
3278
3290
|
/**
|
|
3279
3291
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3280
3292
|
* @type {string || null}
|
|
@@ -3298,6 +3310,8 @@ class DescribeDataBackupOverviewResponse extends AbstractModel {
|
|
|
3298
3310
|
this.ManualBackupCount = 'ManualBackupCount' in params ? params.ManualBackupCount : null;
|
|
3299
3311
|
this.RemoteBackupVolume = 'RemoteBackupVolume' in params ? params.RemoteBackupVolume : null;
|
|
3300
3312
|
this.RemoteBackupCount = 'RemoteBackupCount' in params ? params.RemoteBackupCount : null;
|
|
3313
|
+
this.DataBackupArchiveVolume = 'DataBackupArchiveVolume' in params ? params.DataBackupArchiveVolume : null;
|
|
3314
|
+
this.DataBackupArchiveCount = 'DataBackupArchiveCount' in params ? params.DataBackupArchiveCount : null;
|
|
3301
3315
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3302
3316
|
|
|
3303
3317
|
}
|
|
@@ -4124,6 +4138,36 @@ class BinlogInfo extends AbstractModel {
|
|
|
4124
4138
|
*/
|
|
4125
4139
|
this.BinlogFinishTime = null;
|
|
4126
4140
|
|
|
4141
|
+
/**
|
|
4142
|
+
* The region where the binlog file resides
|
|
4143
|
+
* @type {string || null}
|
|
4144
|
+
*/
|
|
4145
|
+
this.Region = null;
|
|
4146
|
+
|
|
4147
|
+
/**
|
|
4148
|
+
* Backup task status. Valid values: `SUCCESS` (backup succeeded), `FAILED` (backup failed), `RUNNING` (backup is in progress).
|
|
4149
|
+
* @type {string || null}
|
|
4150
|
+
*/
|
|
4151
|
+
this.Status = null;
|
|
4152
|
+
|
|
4153
|
+
/**
|
|
4154
|
+
* The detailed information of remote binlog backups
|
|
4155
|
+
* @type {Array.<RemoteBackupInfo> || null}
|
|
4156
|
+
*/
|
|
4157
|
+
this.RemoteInfo = null;
|
|
4158
|
+
|
|
4159
|
+
/**
|
|
4160
|
+
* Storage method. Valid values: `0` (regular storage), `1`(archive storage). Default value: `0`.
|
|
4161
|
+
* @type {number || null}
|
|
4162
|
+
*/
|
|
4163
|
+
this.CosStorageType = null;
|
|
4164
|
+
|
|
4165
|
+
/**
|
|
4166
|
+
* Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console.
|
|
4167
|
+
* @type {string || null}
|
|
4168
|
+
*/
|
|
4169
|
+
this.InstanceId = null;
|
|
4170
|
+
|
|
4127
4171
|
}
|
|
4128
4172
|
|
|
4129
4173
|
/**
|
|
@@ -4141,6 +4185,19 @@ class BinlogInfo extends AbstractModel {
|
|
|
4141
4185
|
this.Type = 'Type' in params ? params.Type : null;
|
|
4142
4186
|
this.BinlogStartTime = 'BinlogStartTime' in params ? params.BinlogStartTime : null;
|
|
4143
4187
|
this.BinlogFinishTime = 'BinlogFinishTime' in params ? params.BinlogFinishTime : null;
|
|
4188
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
4189
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
4190
|
+
|
|
4191
|
+
if (params.RemoteInfo) {
|
|
4192
|
+
this.RemoteInfo = new Array();
|
|
4193
|
+
for (let z in params.RemoteInfo) {
|
|
4194
|
+
let obj = new RemoteBackupInfo();
|
|
4195
|
+
obj.deserialize(params.RemoteInfo[z]);
|
|
4196
|
+
this.RemoteInfo.push(obj);
|
|
4197
|
+
}
|
|
4198
|
+
}
|
|
4199
|
+
this.CosStorageType = 'CosStorageType' in params ? params.CosStorageType : null;
|
|
4200
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4144
4201
|
|
|
4145
4202
|
}
|
|
4146
4203
|
}
|
|
@@ -5123,6 +5180,69 @@ class CreateDBInstanceHourRequest extends AbstractModel {
|
|
|
5123
5180
|
}
|
|
5124
5181
|
}
|
|
5125
5182
|
|
|
5183
|
+
/**
|
|
5184
|
+
* Information of the remote backup
|
|
5185
|
+
* @class
|
|
5186
|
+
*/
|
|
5187
|
+
class RemoteBackupInfo extends AbstractModel {
|
|
5188
|
+
constructor(){
|
|
5189
|
+
super();
|
|
5190
|
+
|
|
5191
|
+
/**
|
|
5192
|
+
* ID of the remote backup subtask
|
|
5193
|
+
* @type {Array.<number> || null}
|
|
5194
|
+
*/
|
|
5195
|
+
this.SubBackupId = null;
|
|
5196
|
+
|
|
5197
|
+
/**
|
|
5198
|
+
* The region where the remote backup resides
|
|
5199
|
+
* @type {string || null}
|
|
5200
|
+
*/
|
|
5201
|
+
this.Region = null;
|
|
5202
|
+
|
|
5203
|
+
/**
|
|
5204
|
+
* Backup task status. Valid values: `SUCCESS` (backup succeeded), `FAILED` (backup failed), `RUNNING` (backup is in progress).
|
|
5205
|
+
* @type {string || null}
|
|
5206
|
+
*/
|
|
5207
|
+
this.Status = null;
|
|
5208
|
+
|
|
5209
|
+
/**
|
|
5210
|
+
* The start time of remote backup
|
|
5211
|
+
* @type {string || null}
|
|
5212
|
+
*/
|
|
5213
|
+
this.StartTime = null;
|
|
5214
|
+
|
|
5215
|
+
/**
|
|
5216
|
+
* The end time of remote backup
|
|
5217
|
+
* @type {string || null}
|
|
5218
|
+
*/
|
|
5219
|
+
this.FinishTime = null;
|
|
5220
|
+
|
|
5221
|
+
/**
|
|
5222
|
+
* The download address
|
|
5223
|
+
* @type {string || null}
|
|
5224
|
+
*/
|
|
5225
|
+
this.Url = null;
|
|
5226
|
+
|
|
5227
|
+
}
|
|
5228
|
+
|
|
5229
|
+
/**
|
|
5230
|
+
* @private
|
|
5231
|
+
*/
|
|
5232
|
+
deserialize(params) {
|
|
5233
|
+
if (!params) {
|
|
5234
|
+
return;
|
|
5235
|
+
}
|
|
5236
|
+
this.SubBackupId = 'SubBackupId' in params ? params.SubBackupId : null;
|
|
5237
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
5238
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
5239
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
5240
|
+
this.FinishTime = 'FinishTime' in params ? params.FinishTime : null;
|
|
5241
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
5242
|
+
|
|
5243
|
+
}
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5126
5246
|
/**
|
|
5127
5247
|
* Information of instances in the proxy group
|
|
5128
5248
|
* @class
|
|
@@ -5437,6 +5557,30 @@ class BackupInfo extends AbstractModel {
|
|
|
5437
5557
|
*/
|
|
5438
5558
|
this.SaveMode = null;
|
|
5439
5559
|
|
|
5560
|
+
/**
|
|
5561
|
+
* The region where local backup resides
|
|
5562
|
+
* @type {string || null}
|
|
5563
|
+
*/
|
|
5564
|
+
this.Region = null;
|
|
5565
|
+
|
|
5566
|
+
/**
|
|
5567
|
+
* Detailed information of remote backups
|
|
5568
|
+
* @type {Array.<RemoteBackupInfo> || null}
|
|
5569
|
+
*/
|
|
5570
|
+
this.RemoteInfo = null;
|
|
5571
|
+
|
|
5572
|
+
/**
|
|
5573
|
+
* Storage method. Valid values: `0` (regular storage), `1`(archive storage). Default value: `0`.
|
|
5574
|
+
* @type {number || null}
|
|
5575
|
+
*/
|
|
5576
|
+
this.CosStorageType = null;
|
|
5577
|
+
|
|
5578
|
+
/**
|
|
5579
|
+
* Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console.
|
|
5580
|
+
* @type {string || null}
|
|
5581
|
+
*/
|
|
5582
|
+
this.InstanceId = null;
|
|
5583
|
+
|
|
5440
5584
|
}
|
|
5441
5585
|
|
|
5442
5586
|
/**
|
|
@@ -5461,6 +5605,18 @@ class BackupInfo extends AbstractModel {
|
|
|
5461
5605
|
this.Way = 'Way' in params ? params.Way : null;
|
|
5462
5606
|
this.ManualBackupName = 'ManualBackupName' in params ? params.ManualBackupName : null;
|
|
5463
5607
|
this.SaveMode = 'SaveMode' in params ? params.SaveMode : null;
|
|
5608
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
5609
|
+
|
|
5610
|
+
if (params.RemoteInfo) {
|
|
5611
|
+
this.RemoteInfo = new Array();
|
|
5612
|
+
for (let z in params.RemoteInfo) {
|
|
5613
|
+
let obj = new RemoteBackupInfo();
|
|
5614
|
+
obj.deserialize(params.RemoteInfo[z]);
|
|
5615
|
+
this.RemoteInfo.push(obj);
|
|
5616
|
+
}
|
|
5617
|
+
}
|
|
5618
|
+
this.CosStorageType = 'CosStorageType' in params ? params.CosStorageType : null;
|
|
5619
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
5464
5620
|
|
|
5465
5621
|
}
|
|
5466
5622
|
}
|
|
@@ -8157,6 +8313,30 @@ class DescribeBackupConfigResponse extends AbstractModel {
|
|
|
8157
8313
|
*/
|
|
8158
8314
|
this.StartBackupPeriodSaveDate = null;
|
|
8159
8315
|
|
|
8316
|
+
/**
|
|
8317
|
+
* Whether to enable the archive backup. Valid values: `off` (disable), `on` (enable). Default value: `off`.
|
|
8318
|
+
* @type {string || null}
|
|
8319
|
+
*/
|
|
8320
|
+
this.EnableBackupArchive = null;
|
|
8321
|
+
|
|
8322
|
+
/**
|
|
8323
|
+
* The period (in days) of how long a data backup is retained before being archived, which falls between 180 days and the number of days from the time it is created until it expires.
|
|
8324
|
+
* @type {number || null}
|
|
8325
|
+
*/
|
|
8326
|
+
this.BackupArchiveDays = null;
|
|
8327
|
+
|
|
8328
|
+
/**
|
|
8329
|
+
* Whether to enable the archive backup of logs. Valid values: `off` (disable), `on` (enable). Default value: `off`.
|
|
8330
|
+
* @type {string || null}
|
|
8331
|
+
*/
|
|
8332
|
+
this.EnableBinlogArchive = null;
|
|
8333
|
+
|
|
8334
|
+
/**
|
|
8335
|
+
* The period (in days) of how long a log backup is retained before being archived, which falls between 180 days and the number of days from the time it is created until it expires.
|
|
8336
|
+
* @type {number || null}
|
|
8337
|
+
*/
|
|
8338
|
+
this.BinlogArchiveDays = null;
|
|
8339
|
+
|
|
8160
8340
|
/**
|
|
8161
8341
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
8162
8342
|
* @type {string || null}
|
|
@@ -8188,6 +8368,10 @@ class DescribeBackupConfigResponse extends AbstractModel {
|
|
|
8188
8368
|
this.BackupPeriodSaveInterval = 'BackupPeriodSaveInterval' in params ? params.BackupPeriodSaveInterval : null;
|
|
8189
8369
|
this.BackupPeriodSaveCount = 'BackupPeriodSaveCount' in params ? params.BackupPeriodSaveCount : null;
|
|
8190
8370
|
this.StartBackupPeriodSaveDate = 'StartBackupPeriodSaveDate' in params ? params.StartBackupPeriodSaveDate : null;
|
|
8371
|
+
this.EnableBackupArchive = 'EnableBackupArchive' in params ? params.EnableBackupArchive : null;
|
|
8372
|
+
this.BackupArchiveDays = 'BackupArchiveDays' in params ? params.BackupArchiveDays : null;
|
|
8373
|
+
this.EnableBinlogArchive = 'EnableBinlogArchive' in params ? params.EnableBinlogArchive : null;
|
|
8374
|
+
this.BinlogArchiveDays = 'BinlogArchiveDays' in params ? params.BinlogArchiveDays : null;
|
|
8191
8375
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8192
8376
|
|
|
8193
8377
|
}
|
|
@@ -9786,6 +9970,20 @@ class DescribeBackupOverviewResponse extends AbstractModel {
|
|
|
9786
9970
|
*/
|
|
9787
9971
|
this.FreeVolume = null;
|
|
9788
9972
|
|
|
9973
|
+
/**
|
|
9974
|
+
* Total capacity of backups of a user in the current region
|
|
9975
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
9976
|
+
* @type {number || null}
|
|
9977
|
+
*/
|
|
9978
|
+
this.RemoteBackupVolume = null;
|
|
9979
|
+
|
|
9980
|
+
/**
|
|
9981
|
+
* Archive backup capacity, which includes data backups and log backups.
|
|
9982
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
9983
|
+
* @type {number || null}
|
|
9984
|
+
*/
|
|
9985
|
+
this.BackupArchiveVolume = null;
|
|
9986
|
+
|
|
9789
9987
|
/**
|
|
9790
9988
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
9791
9989
|
* @type {string || null}
|
|
@@ -9805,6 +10003,8 @@ class DescribeBackupOverviewResponse extends AbstractModel {
|
|
|
9805
10003
|
this.BackupVolume = 'BackupVolume' in params ? params.BackupVolume : null;
|
|
9806
10004
|
this.BillingVolume = 'BillingVolume' in params ? params.BillingVolume : null;
|
|
9807
10005
|
this.FreeVolume = 'FreeVolume' in params ? params.FreeVolume : null;
|
|
10006
|
+
this.RemoteBackupVolume = 'RemoteBackupVolume' in params ? params.RemoteBackupVolume : null;
|
|
10007
|
+
this.BackupArchiveVolume = 'BackupArchiveVolume' in params ? params.BackupArchiveVolume : null;
|
|
9808
10008
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9809
10009
|
|
|
9810
10010
|
}
|
|
@@ -12839,6 +13039,18 @@ class DescribeBinlogBackupOverviewResponse extends AbstractModel {
|
|
|
12839
13039
|
*/
|
|
12840
13040
|
this.RemoteBinlogCount = null;
|
|
12841
13041
|
|
|
13042
|
+
/**
|
|
13043
|
+
* Capacity of archive log backups in bytes
|
|
13044
|
+
* @type {number || null}
|
|
13045
|
+
*/
|
|
13046
|
+
this.BinlogArchiveVolume = null;
|
|
13047
|
+
|
|
13048
|
+
/**
|
|
13049
|
+
* Number of archived log backups
|
|
13050
|
+
* @type {number || null}
|
|
13051
|
+
*/
|
|
13052
|
+
this.BinlogArchiveCount = null;
|
|
13053
|
+
|
|
12842
13054
|
/**
|
|
12843
13055
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
12844
13056
|
* @type {string || null}
|
|
@@ -12858,6 +13070,8 @@ class DescribeBinlogBackupOverviewResponse extends AbstractModel {
|
|
|
12858
13070
|
this.BinlogBackupCount = 'BinlogBackupCount' in params ? params.BinlogBackupCount : null;
|
|
12859
13071
|
this.RemoteBinlogVolume = 'RemoteBinlogVolume' in params ? params.RemoteBinlogVolume : null;
|
|
12860
13072
|
this.RemoteBinlogCount = 'RemoteBinlogCount' in params ? params.RemoteBinlogCount : null;
|
|
13073
|
+
this.BinlogArchiveVolume = 'BinlogArchiveVolume' in params ? params.BinlogArchiveVolume : null;
|
|
13074
|
+
this.BinlogArchiveCount = 'BinlogArchiveCount' in params ? params.BinlogArchiveCount : null;
|
|
12861
13075
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12862
13076
|
|
|
12863
13077
|
}
|
|
@@ -13945,6 +14159,30 @@ class ModifyBackupConfigRequest extends AbstractModel {
|
|
|
13945
14159
|
*/
|
|
13946
14160
|
this.StartBackupPeriodSaveDate = null;
|
|
13947
14161
|
|
|
14162
|
+
/**
|
|
14163
|
+
* Whether to enable the archive backup. Valid values: `off` (disable), `on` (enable). Default value: `off`.
|
|
14164
|
+
* @type {string || null}
|
|
14165
|
+
*/
|
|
14166
|
+
this.EnableBackupArchive = null;
|
|
14167
|
+
|
|
14168
|
+
/**
|
|
14169
|
+
* The period (in days) of how long a data backup is retained before being archived, which falls between 180 days and the number of days from the time it is created until it expires.
|
|
14170
|
+
* @type {number || null}
|
|
14171
|
+
*/
|
|
14172
|
+
this.BackupArchiveDays = null;
|
|
14173
|
+
|
|
14174
|
+
/**
|
|
14175
|
+
* The period (in days) of how long a log backup is retained before being archived, which falls between 180 days and the number of days from the time it is created until it expires.
|
|
14176
|
+
* @type {number || null}
|
|
14177
|
+
*/
|
|
14178
|
+
this.BinlogArchiveDays = null;
|
|
14179
|
+
|
|
14180
|
+
/**
|
|
14181
|
+
* Whether to enable the archive backup of the log. Valid values: `off` (disable), `on` (enable). Default value: `off`.
|
|
14182
|
+
* @type {string || null}
|
|
14183
|
+
*/
|
|
14184
|
+
this.EnableBinlogArchive = null;
|
|
14185
|
+
|
|
13948
14186
|
}
|
|
13949
14187
|
|
|
13950
14188
|
/**
|
|
@@ -13971,6 +14209,10 @@ class ModifyBackupConfigRequest extends AbstractModel {
|
|
|
13971
14209
|
this.BackupPeriodSaveInterval = 'BackupPeriodSaveInterval' in params ? params.BackupPeriodSaveInterval : null;
|
|
13972
14210
|
this.BackupPeriodSaveCount = 'BackupPeriodSaveCount' in params ? params.BackupPeriodSaveCount : null;
|
|
13973
14211
|
this.StartBackupPeriodSaveDate = 'StartBackupPeriodSaveDate' in params ? params.StartBackupPeriodSaveDate : null;
|
|
14212
|
+
this.EnableBackupArchive = 'EnableBackupArchive' in params ? params.EnableBackupArchive : null;
|
|
14213
|
+
this.BackupArchiveDays = 'BackupArchiveDays' in params ? params.BackupArchiveDays : null;
|
|
14214
|
+
this.BinlogArchiveDays = 'BinlogArchiveDays' in params ? params.BinlogArchiveDays : null;
|
|
14215
|
+
this.EnableBinlogArchive = 'EnableBinlogArchive' in params ? params.EnableBinlogArchive : null;
|
|
13974
14216
|
|
|
13975
14217
|
}
|
|
13976
14218
|
}
|
|
@@ -16581,6 +16823,7 @@ module.exports = {
|
|
|
16581
16823
|
DescribeRollbackTaskDetailResponse: DescribeRollbackTaskDetailResponse,
|
|
16582
16824
|
CreateParamTemplateRequest: CreateParamTemplateRequest,
|
|
16583
16825
|
CreateDBInstanceHourRequest: CreateDBInstanceHourRequest,
|
|
16826
|
+
RemoteBackupInfo: RemoteBackupInfo,
|
|
16584
16827
|
RWInstanceInfo: RWInstanceInfo,
|
|
16585
16828
|
DescribeSlowLogsResponse: DescribeSlowLogsResponse,
|
|
16586
16829
|
RollbackInstancesInfo: RollbackInstancesInfo,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.556";
|
|
2
2
|
module.exports = sdkVersion
|