tencentcloud-sdk-nodejs-intl-en 3.0.1090 → 3.0.1091
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,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1091";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -1071,15 +1071,15 @@ class SystemDisk extends AbstractModel {
|
|
|
1071
1071
|
super();
|
|
1072
1072
|
|
|
1073
1073
|
/**
|
|
1074
|
-
* System disk type. For the restrictions on the system disk type, refer to [Storage Overview]
|
|
1074
|
+
* System disk type. For the restrictions on the system disk type, refer to [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Value values:<br>
|
|
1075
1075
|
<li>LOCAL_BASIC: Local Disk</li>
|
|
1076
|
-
<li>LOCAL_SSD: Local SSD
|
|
1077
|
-
<li>CLOUD_BASIC:
|
|
1076
|
+
<li>LOCAL_SSD: Local SSD</li>
|
|
1077
|
+
<li>CLOUD_BASIC: Basic Cloud Disk</li>
|
|
1078
1078
|
<li>CLOUD_SSD: Cloud SSD</li>
|
|
1079
|
-
<li>CLOUD_PREMIUM: Premium
|
|
1079
|
+
<li>CLOUD_PREMIUM: Premium Disk</li>
|
|
1080
1080
|
<li>CLOUD_BSSD: Balanced SSD</li>
|
|
1081
1081
|
<li>CLOUD_HSSD: Enhanced SSD</li>
|
|
1082
|
-
<li>CLOUD_TSSD:
|
|
1082
|
+
<li>CLOUD_TSSD: Tremendous SSD</li><br>
|
|
1083
1083
|
Default value: Current disk types with inventory available.
|
|
1084
1084
|
* @type {string || null}
|
|
1085
1085
|
*/
|
|
@@ -4500,23 +4500,24 @@ class DataDisk extends AbstractModel {
|
|
|
4500
4500
|
this.DiskSize = null;
|
|
4501
4501
|
|
|
4502
4502
|
/**
|
|
4503
|
-
* Data disk type. For the detailed restrictions on the data disk type, refer to [Storage Overview]
|
|
4503
|
+
* Data disk type. For the detailed restrictions on the data disk type, refer to [Storage Overview](https://cloud.tencent.com/document/product/213/4952). Valid values: <br /><li>LOCAL_BASIC: Local Disk <br /><li>LOCAL_SSD: Local SSD <br /><li>LOCAL_NVME: Local NVMe Disk, which is strongly related with InstanceType and can not be specified <br /><li>LOCAL_PRO: Local HDD, which is strongly related with InstanceType and can not be specified <br /><li>CLOUD_BASIC: Basic Cloud Disk <br /><li>CLOUD_PREMIUM: Premium Disk <br /><li>CLOUD_SSD: Cloud SSD <br /><li>CLOUD_HSSD: Enhanced SSD <br /><li>CLOUD_TSSD: Tremendous SSD <br /><li>CLOUD_BSSD: Balanced SSD <br /><br />Default value: LOCAL_BASIC. <br /><br />This parameter is invalid for the `ResizeInstanceDisk` API.</li></li></li> </li> </li></li></li></li></li></li>
|
|
4504
4504
|
* @type {string || null}
|
|
4505
4505
|
*/
|
|
4506
4506
|
this.DiskType = null;
|
|
4507
4507
|
|
|
4508
4508
|
/**
|
|
4509
|
-
* Data disk ID. Note that it
|
|
4509
|
+
* Data disk ID. Note that it's not available for `LOCAL_BASIC` and `LOCAL_SSD` disks.
|
|
4510
4510
|
It is only used as a response parameter for APIs such as `DescribeInstances`, and cannot be used as a request parameter for APIs such as `RunInstances`.
|
|
4511
4511
|
* @type {string || null}
|
|
4512
4512
|
*/
|
|
4513
4513
|
this.DiskId = null;
|
|
4514
4514
|
|
|
4515
4515
|
/**
|
|
4516
|
-
* Whether the data disk is
|
|
4517
|
-
|
|
4516
|
+
* Whether the data disk is terminated with the Cloud Virtual Machine (CVM). Valid values:
|
|
4517
|
+
|
|
4518
|
+
<li>true: Terminate the data disk when the CVM is terminated. Only the pay-as-you-go cloud disk billed by hour is supported.</li>
|
|
4518
4519
|
<li>
|
|
4519
|
-
false: Retain the data disk when the CVM is
|
|
4520
|
+
false: Retain the data disk when the CVM is terminated.<br />
|
|
4520
4521
|
Default value: true.<br />
|
|
4521
4522
|
This parameter is currently only used for the `RunInstances` API.
|
|
4522
4523
|
</li>
|
|
@@ -4546,7 +4547,7 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
4546
4547
|
this.Encrypt = null;
|
|
4547
4548
|
|
|
4548
4549
|
/**
|
|
4549
|
-
* ID of the custom CMK in the format of UUID or
|
|
4550
|
+
* ID of the custom CMK in the format of UUID or "kms-abcd1234". This parameter is used to encrypt cloud disks.
|
|
4550
4551
|
|
|
4551
4552
|
Currently, this parameter is only used in the `RunInstances` API.
|
|
4552
4553
|
Note: this field may return null, indicating that no valid values can be obtained.
|
|
@@ -6516,6 +6517,29 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
6516
6517
|
*/
|
|
6517
6518
|
this.Externals = null;
|
|
6518
6519
|
|
|
6520
|
+
/**
|
|
6521
|
+
* Timer ID.
|
|
6522
|
+
* @type {string || null}
|
|
6523
|
+
*/
|
|
6524
|
+
this.ActionTimerId = null;
|
|
6525
|
+
|
|
6526
|
+
/**
|
|
6527
|
+
* Timer status. Valid values:
|
|
6528
|
+
|
|
6529
|
+
UNDO: Not triggered.
|
|
6530
|
+
DOING: Triggering.
|
|
6531
|
+
DONE: Triggered already.
|
|
6532
|
+
|
|
6533
|
+
* @type {string || null}
|
|
6534
|
+
*/
|
|
6535
|
+
this.Status = null;
|
|
6536
|
+
|
|
6537
|
+
/**
|
|
6538
|
+
* Instance ID corresponding to a timer.
|
|
6539
|
+
* @type {string || null}
|
|
6540
|
+
*/
|
|
6541
|
+
this.InstanceId = null;
|
|
6542
|
+
|
|
6519
6543
|
}
|
|
6520
6544
|
|
|
6521
6545
|
/**
|
|
@@ -6533,6 +6557,9 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
6533
6557
|
obj.deserialize(params.Externals)
|
|
6534
6558
|
this.Externals = obj;
|
|
6535
6559
|
}
|
|
6560
|
+
this.ActionTimerId = 'ActionTimerId' in params ? params.ActionTimerId : null;
|
|
6561
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
6562
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
6536
6563
|
|
|
6537
6564
|
}
|
|
6538
6565
|
}
|
|
@@ -40,6 +40,7 @@ const DescribeProjectSecurityGroupsRequest = models.DescribeProjectSecurityGroup
|
|
|
40
40
|
const DescribeDBSlowLogsRequest = models.DescribeDBSlowLogsRequest;
|
|
41
41
|
const CreateAccountRequest = models.CreateAccountRequest;
|
|
42
42
|
const UpgradeDedicatedDCDBInstanceResponse = models.UpgradeDedicatedDCDBInstanceResponse;
|
|
43
|
+
const CreateOnlineDDLJobResponse = models.CreateOnlineDDLJobResponse;
|
|
43
44
|
const DescribeDBParametersResponse = models.DescribeDBParametersResponse;
|
|
44
45
|
const DescribeBackupFilesRequest = models.DescribeBackupFilesRequest;
|
|
45
46
|
const IsolateHourDCDBInstanceRequest = models.IsolateHourDCDBInstanceRequest;
|
|
@@ -130,6 +131,7 @@ const CloseDBExtranetAccessResponse = models.CloseDBExtranetAccessResponse;
|
|
|
130
131
|
const ModifyAccountDescriptionRequest = models.ModifyAccountDescriptionRequest;
|
|
131
132
|
const KillSessionResponse = models.KillSessionResponse;
|
|
132
133
|
const SlowLogData = models.SlowLogData;
|
|
134
|
+
const CreateOnlineDDLJobRequest = models.CreateOnlineDDLJobRequest;
|
|
133
135
|
const DescribeDatabasesResponse = models.DescribeDatabasesResponse;
|
|
134
136
|
const ViewPrivileges = models.ViewPrivileges;
|
|
135
137
|
const DescribeOrdersRequest = models.DescribeOrdersRequest;
|
|
@@ -423,14 +425,14 @@ Note: accounts with the same username but different hosts are different accounts
|
|
|
423
425
|
}
|
|
424
426
|
|
|
425
427
|
/**
|
|
426
|
-
* This API is used to
|
|
427
|
-
* @param {
|
|
428
|
-
* @param {function(string,
|
|
428
|
+
* This API is used to get the details of a TDSQL instance.
|
|
429
|
+
* @param {DescribeDCDBInstanceDetailRequest} req
|
|
430
|
+
* @param {function(string, DescribeDCDBInstanceDetailResponse):void} cb
|
|
429
431
|
* @public
|
|
430
432
|
*/
|
|
431
|
-
|
|
432
|
-
let resp = new
|
|
433
|
-
this.request("
|
|
433
|
+
DescribeDCDBInstanceDetail(req, cb) {
|
|
434
|
+
let resp = new DescribeDCDBInstanceDetailResponse();
|
|
435
|
+
this.request("DescribeDCDBInstanceDetail", req, resp, cb);
|
|
434
436
|
}
|
|
435
437
|
|
|
436
438
|
/**
|
|
@@ -754,6 +756,17 @@ Note: Accounts with the same username but different hosts are different accounts
|
|
|
754
756
|
this.request("DescribeDBSecurityGroups", req, resp, cb);
|
|
755
757
|
}
|
|
756
758
|
|
|
759
|
+
/**
|
|
760
|
+
* This API is used to modify instance VIP.
|
|
761
|
+
* @param {ModifyInstanceVipRequest} req
|
|
762
|
+
* @param {function(string, ModifyInstanceVipResponse):void} cb
|
|
763
|
+
* @public
|
|
764
|
+
*/
|
|
765
|
+
ModifyInstanceVip(req, cb) {
|
|
766
|
+
let resp = new ModifyInstanceVipResponse();
|
|
767
|
+
this.request("ModifyInstanceVip", req, resp, cb);
|
|
768
|
+
}
|
|
769
|
+
|
|
757
770
|
/**
|
|
758
771
|
* This API is used to query the table information of a TencentDB instance.
|
|
759
772
|
* @param {DescribeDatabaseTableRequest} req
|
|
@@ -799,14 +812,14 @@ Note: Accounts with the same username but different hosts are different accounts
|
|
|
799
812
|
}
|
|
800
813
|
|
|
801
814
|
/**
|
|
802
|
-
* This API is used to
|
|
803
|
-
* @param {
|
|
804
|
-
* @param {function(string,
|
|
815
|
+
* This API is used to create an online DDL job.
|
|
816
|
+
* @param {CreateOnlineDDLJobRequest} req
|
|
817
|
+
* @param {function(string, CreateOnlineDDLJobResponse):void} cb
|
|
805
818
|
* @public
|
|
806
819
|
*/
|
|
807
|
-
|
|
808
|
-
let resp = new
|
|
809
|
-
this.request("
|
|
820
|
+
CreateOnlineDDLJob(req, cb) {
|
|
821
|
+
let resp = new CreateOnlineDDLJobResponse();
|
|
822
|
+
this.request("CreateOnlineDDLJob", req, resp, cb);
|
|
810
823
|
}
|
|
811
824
|
|
|
812
825
|
/**
|
|
@@ -1160,6 +1160,41 @@ class UpgradeDedicatedDCDBInstanceResponse extends AbstractModel {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
|
+
/**
|
|
1164
|
+
* CreateOnlineDDLJob response structure.
|
|
1165
|
+
* @class
|
|
1166
|
+
*/
|
|
1167
|
+
class CreateOnlineDDLJobResponse extends AbstractModel {
|
|
1168
|
+
constructor(){
|
|
1169
|
+
super();
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* Online DDL task ID
|
|
1173
|
+
* @type {number || null}
|
|
1174
|
+
*/
|
|
1175
|
+
this.FlowId = null;
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* 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.
|
|
1179
|
+
* @type {string || null}
|
|
1180
|
+
*/
|
|
1181
|
+
this.RequestId = null;
|
|
1182
|
+
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* @private
|
|
1187
|
+
*/
|
|
1188
|
+
deserialize(params) {
|
|
1189
|
+
if (!params) {
|
|
1190
|
+
return;
|
|
1191
|
+
}
|
|
1192
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
1193
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1194
|
+
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1163
1198
|
/**
|
|
1164
1199
|
* DescribeDBParameters response structure.
|
|
1165
1200
|
* @class
|
|
@@ -6827,6 +6862,104 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6827
6862
|
}
|
|
6828
6863
|
}
|
|
6829
6864
|
|
|
6865
|
+
/**
|
|
6866
|
+
* CreateOnlineDDLJob request structure.
|
|
6867
|
+
* @class
|
|
6868
|
+
*/
|
|
6869
|
+
class CreateOnlineDDLJobRequest extends AbstractModel {
|
|
6870
|
+
constructor(){
|
|
6871
|
+
super();
|
|
6872
|
+
|
|
6873
|
+
/**
|
|
6874
|
+
* Instance ID
|
|
6875
|
+
* @type {string || null}
|
|
6876
|
+
*/
|
|
6877
|
+
this.InstanceId = null;
|
|
6878
|
+
|
|
6879
|
+
/**
|
|
6880
|
+
* Specifies the DDL statement to be executed. Common online DDL refer to this API documentation example section.
|
|
6881
|
+
* @type {string || null}
|
|
6882
|
+
*/
|
|
6883
|
+
this.Alter = null;
|
|
6884
|
+
|
|
6885
|
+
/**
|
|
6886
|
+
* Specifies the database to be modified.
|
|
6887
|
+
* @type {string || null}
|
|
6888
|
+
*/
|
|
6889
|
+
this.DbName = null;
|
|
6890
|
+
|
|
6891
|
+
/**
|
|
6892
|
+
* Specifies the table to be modified.
|
|
6893
|
+
* @type {string || null}
|
|
6894
|
+
*/
|
|
6895
|
+
this.Table = null;
|
|
6896
|
+
|
|
6897
|
+
/**
|
|
6898
|
+
* Specifies the account to execute DDL. Ensure the account has ALTER, CREATE, INSERT, UPDATE, DROP, DELETE, INDEX, CREATE TEMPORARY TABLES, LOCK TABLES, TRIGGER, REPLICATION CLIENT, REPLICATION SLAVE permissions. If not specified, the system account will be used by default.
|
|
6899
|
+
* @type {string || null}
|
|
6900
|
+
*/
|
|
6901
|
+
this.User = null;
|
|
6902
|
+
|
|
6903
|
+
/**
|
|
6904
|
+
* Specifies the password for the account.
|
|
6905
|
+
* @type {string || null}
|
|
6906
|
+
*/
|
|
6907
|
+
this.Password = null;
|
|
6908
|
+
|
|
6909
|
+
/**
|
|
6910
|
+
* Indicates that DDL will terminate if the number of running threads exceeds this value. Default is 58 if not specified.
|
|
6911
|
+
* @type {number || null}
|
|
6912
|
+
*/
|
|
6913
|
+
this.CriticalLoad = null;
|
|
6914
|
+
|
|
6915
|
+
/**
|
|
6916
|
+
* Specifies whether to check auto-increment fields. If set to 1, modification of auto-increment fields is not allowed; if set to 0 or left empty, no check is performed.
|
|
6917
|
+
* @type {number || null}
|
|
6918
|
+
*/
|
|
6919
|
+
this.CheckAutoInc = null;
|
|
6920
|
+
|
|
6921
|
+
/**
|
|
6922
|
+
* Allowed primary-secondary delay time (in seconds). If set to 0 or left empty, do not check delay.
|
|
6923
|
+
* @type {number || null}
|
|
6924
|
+
*/
|
|
6925
|
+
this.MaxDelay = null;
|
|
6926
|
+
|
|
6927
|
+
/**
|
|
6928
|
+
* Indicates whether to use pt-osc tool for DDL.
|
|
6929
|
+
* @type {number || null}
|
|
6930
|
+
*/
|
|
6931
|
+
this.UsePt = null;
|
|
6932
|
+
|
|
6933
|
+
/**
|
|
6934
|
+
* Start Execution Time
|
|
6935
|
+
* @type {string || null}
|
|
6936
|
+
*/
|
|
6937
|
+
this.StartTime = null;
|
|
6938
|
+
|
|
6939
|
+
}
|
|
6940
|
+
|
|
6941
|
+
/**
|
|
6942
|
+
* @private
|
|
6943
|
+
*/
|
|
6944
|
+
deserialize(params) {
|
|
6945
|
+
if (!params) {
|
|
6946
|
+
return;
|
|
6947
|
+
}
|
|
6948
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
6949
|
+
this.Alter = 'Alter' in params ? params.Alter : null;
|
|
6950
|
+
this.DbName = 'DbName' in params ? params.DbName : null;
|
|
6951
|
+
this.Table = 'Table' in params ? params.Table : null;
|
|
6952
|
+
this.User = 'User' in params ? params.User : null;
|
|
6953
|
+
this.Password = 'Password' in params ? params.Password : null;
|
|
6954
|
+
this.CriticalLoad = 'CriticalLoad' in params ? params.CriticalLoad : null;
|
|
6955
|
+
this.CheckAutoInc = 'CheckAutoInc' in params ? params.CheckAutoInc : null;
|
|
6956
|
+
this.MaxDelay = 'MaxDelay' in params ? params.MaxDelay : null;
|
|
6957
|
+
this.UsePt = 'UsePt' in params ? params.UsePt : null;
|
|
6958
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
6959
|
+
|
|
6960
|
+
}
|
|
6961
|
+
}
|
|
6962
|
+
|
|
6830
6963
|
/**
|
|
6831
6964
|
* DescribeDatabases response structure.
|
|
6832
6965
|
* @class
|
|
@@ -9083,6 +9216,7 @@ module.exports = {
|
|
|
9083
9216
|
DescribeDBSlowLogsRequest: DescribeDBSlowLogsRequest,
|
|
9084
9217
|
CreateAccountRequest: CreateAccountRequest,
|
|
9085
9218
|
UpgradeDedicatedDCDBInstanceResponse: UpgradeDedicatedDCDBInstanceResponse,
|
|
9219
|
+
CreateOnlineDDLJobResponse: CreateOnlineDDLJobResponse,
|
|
9086
9220
|
DescribeDBParametersResponse: DescribeDBParametersResponse,
|
|
9087
9221
|
DescribeBackupFilesRequest: DescribeBackupFilesRequest,
|
|
9088
9222
|
IsolateHourDCDBInstanceRequest: IsolateHourDCDBInstanceRequest,
|
|
@@ -9173,6 +9307,7 @@ module.exports = {
|
|
|
9173
9307
|
ModifyAccountDescriptionRequest: ModifyAccountDescriptionRequest,
|
|
9174
9308
|
KillSessionResponse: KillSessionResponse,
|
|
9175
9309
|
SlowLogData: SlowLogData,
|
|
9310
|
+
CreateOnlineDDLJobRequest: CreateOnlineDDLJobRequest,
|
|
9176
9311
|
DescribeDatabasesResponse: DescribeDatabasesResponse,
|
|
9177
9312
|
ViewPrivileges: ViewPrivileges,
|
|
9178
9313
|
DescribeOrdersRequest: DescribeOrdersRequest,
|