tencentcloud-sdk-nodejs-intl-en 3.0.352 → 3.0.356
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/antiddos/v20200309/models.js +2 -1
- package/tencentcloud/apigateway/v20180808/models.js +30 -2
- package/tencentcloud/cdn/v20180606/cdn_client.js +1 -0
- package/tencentcloud/cdn/v20180606/models.js +94 -3
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +1 -0
- package/tencentcloud/ckafka/v20190819/models.js +89 -11
- package/tencentcloud/cls/v20201016/cls_client.js +75 -21
- package/tencentcloud/cls/v20201016/models.js +564 -120
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/emr/v20190103/models.js +70 -0
- package/tencentcloud/faceid/v20180301/faceid_client.js +13 -0
- package/tencentcloud/faceid/v20180301/models.js +114 -0
- package/tencentcloud/gaap/v20180529/models.js +7 -0
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/lighthouse/v20200324/models.js +11 -5
- package/tencentcloud/mariadb/v20170312/mariadb_client.js +13 -0
- package/tencentcloud/mariadb/v20170312/models.js +72 -0
- package/tencentcloud/mongodb/v20190725/models.js +501 -43
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +18 -1
- package/tencentcloud/postgres/v20170312/models.js +51 -14
- package/tencentcloud/privatedns/v20201028/models.js +344 -59
- package/tencentcloud/privatedns/v20201028/privatedns_client.js +43 -3
- package/tencentcloud/tdmq/index.js +3 -0
- package/tencentcloud/tdmq/v20200217/index.js +4 -0
- package/tencentcloud/tdmq/v20200217/models.js +9546 -0
- package/tencentcloud/tdmq/v20200217/tdmq_client.js +1003 -0
- package/tencentcloud/tke/v20180525/models.js +1 -1
- package/tencentcloud/vod/v20180717/models.js +333 -24
- package/tencentcloud/vod/v20180717/vod_client.js +3 -2
|
@@ -1100,6 +1100,12 @@ class ClientConnection extends AbstractModel {
|
|
|
1100
1100
|
*/
|
|
1101
1101
|
this.Count = null;
|
|
1102
1102
|
|
|
1103
|
+
/**
|
|
1104
|
+
* Whether it is the Tencent Cloud IP for automated testing
|
|
1105
|
+
* @type {boolean || null}
|
|
1106
|
+
*/
|
|
1107
|
+
this.InternalService = null;
|
|
1108
|
+
|
|
1103
1109
|
}
|
|
1104
1110
|
|
|
1105
1111
|
/**
|
|
@@ -1111,6 +1117,7 @@ class ClientConnection extends AbstractModel {
|
|
|
1111
1117
|
}
|
|
1112
1118
|
this.IP = 'IP' in params ? params.IP : null;
|
|
1113
1119
|
this.Count = 'Count' in params ? params.Count : null;
|
|
1120
|
+
this.InternalService = 'InternalService' in params ? params.InternalService : null;
|
|
1114
1121
|
|
|
1115
1122
|
}
|
|
1116
1123
|
}
|
|
@@ -1245,6 +1252,92 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1245
1252
|
}
|
|
1246
1253
|
}
|
|
1247
1254
|
|
|
1255
|
+
/**
|
|
1256
|
+
* Security group information
|
|
1257
|
+
* @class
|
|
1258
|
+
*/
|
|
1259
|
+
class SecurityGroup extends AbstractModel {
|
|
1260
|
+
constructor(){
|
|
1261
|
+
super();
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Project ID
|
|
1265
|
+
* @type {number || null}
|
|
1266
|
+
*/
|
|
1267
|
+
this.ProjectId = null;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Creation time
|
|
1271
|
+
* @type {string || null}
|
|
1272
|
+
*/
|
|
1273
|
+
this.CreateTime = null;
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* Inbound rule
|
|
1277
|
+
* @type {Array.<SecurityGroupBound> || null}
|
|
1278
|
+
*/
|
|
1279
|
+
this.Inbound = null;
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* Outbound rule
|
|
1283
|
+
* @type {Array.<SecurityGroupBound> || null}
|
|
1284
|
+
*/
|
|
1285
|
+
this.Outbound = null;
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* Security group ID
|
|
1289
|
+
* @type {string || null}
|
|
1290
|
+
*/
|
|
1291
|
+
this.SecurityGroupId = null;
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* Security group name
|
|
1295
|
+
* @type {string || null}
|
|
1296
|
+
*/
|
|
1297
|
+
this.SecurityGroupName = null;
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* Security group remarks
|
|
1301
|
+
* @type {string || null}
|
|
1302
|
+
*/
|
|
1303
|
+
this.SecurityGroupRemark = null;
|
|
1304
|
+
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* @private
|
|
1309
|
+
*/
|
|
1310
|
+
deserialize(params) {
|
|
1311
|
+
if (!params) {
|
|
1312
|
+
return;
|
|
1313
|
+
}
|
|
1314
|
+
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
|
|
1315
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1316
|
+
|
|
1317
|
+
if (params.Inbound) {
|
|
1318
|
+
this.Inbound = new Array();
|
|
1319
|
+
for (let z in params.Inbound) {
|
|
1320
|
+
let obj = new SecurityGroupBound();
|
|
1321
|
+
obj.deserialize(params.Inbound[z]);
|
|
1322
|
+
this.Inbound.push(obj);
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
if (params.Outbound) {
|
|
1327
|
+
this.Outbound = new Array();
|
|
1328
|
+
for (let z in params.Outbound) {
|
|
1329
|
+
let obj = new SecurityGroupBound();
|
|
1330
|
+
obj.deserialize(params.Outbound[z]);
|
|
1331
|
+
this.Outbound.push(obj);
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
this.SecurityGroupId = 'SecurityGroupId' in params ? params.SecurityGroupId : null;
|
|
1335
|
+
this.SecurityGroupName = 'SecurityGroupName' in params ? params.SecurityGroupName : null;
|
|
1336
|
+
this.SecurityGroupRemark = 'SecurityGroupRemark' in params ? params.SecurityGroupRemark : null;
|
|
1337
|
+
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1248
1341
|
/**
|
|
1249
1342
|
* InquirePriceRenewDBInstances request structure.
|
|
1250
1343
|
* @class
|
|
@@ -1999,6 +2092,97 @@ class OfflineIsolatedDBInstanceRequest extends AbstractModel {
|
|
|
1999
2092
|
}
|
|
2000
2093
|
}
|
|
2001
2094
|
|
|
2095
|
+
/**
|
|
2096
|
+
* The collection of modifiable integer parameters of an instance.
|
|
2097
|
+
* @class
|
|
2098
|
+
*/
|
|
2099
|
+
class InstanceIntegerParam extends AbstractModel {
|
|
2100
|
+
constructor(){
|
|
2101
|
+
super();
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* Current value
|
|
2105
|
+
* @type {string || null}
|
|
2106
|
+
*/
|
|
2107
|
+
this.CurrentValue = null;
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* Default value
|
|
2111
|
+
* @type {string || null}
|
|
2112
|
+
*/
|
|
2113
|
+
this.DefaultValue = null;
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* Maximum value
|
|
2117
|
+
* @type {string || null}
|
|
2118
|
+
*/
|
|
2119
|
+
this.Max = null;
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* Minimum value
|
|
2123
|
+
* @type {string || null}
|
|
2124
|
+
*/
|
|
2125
|
+
this.Min = null;
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* Whether to restart the instance for the parameter to take effect. Valid values: `1` (yes), `0` (no)
|
|
2129
|
+
* @type {string || null}
|
|
2130
|
+
*/
|
|
2131
|
+
this.NeedRestart = null;
|
|
2132
|
+
|
|
2133
|
+
/**
|
|
2134
|
+
* Parameter name
|
|
2135
|
+
* @type {string || null}
|
|
2136
|
+
*/
|
|
2137
|
+
this.ParamName = null;
|
|
2138
|
+
|
|
2139
|
+
/**
|
|
2140
|
+
* Parameter description
|
|
2141
|
+
* @type {Array.<string> || null}
|
|
2142
|
+
*/
|
|
2143
|
+
this.Tips = null;
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* Data type of the parameter
|
|
2147
|
+
* @type {string || null}
|
|
2148
|
+
*/
|
|
2149
|
+
this.ValueType = null;
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* Whether the TencentDB for MongoDB console has pulled parameter information successfully. Valid values: `1` (no), `0` (yes). This field is only used in the console.
|
|
2153
|
+
* @type {number || null}
|
|
2154
|
+
*/
|
|
2155
|
+
this.Status = null;
|
|
2156
|
+
|
|
2157
|
+
/**
|
|
2158
|
+
* This field is not in use
|
|
2159
|
+
* @type {string || null}
|
|
2160
|
+
*/
|
|
2161
|
+
this.Unit = null;
|
|
2162
|
+
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* @private
|
|
2167
|
+
*/
|
|
2168
|
+
deserialize(params) {
|
|
2169
|
+
if (!params) {
|
|
2170
|
+
return;
|
|
2171
|
+
}
|
|
2172
|
+
this.CurrentValue = 'CurrentValue' in params ? params.CurrentValue : null;
|
|
2173
|
+
this.DefaultValue = 'DefaultValue' in params ? params.DefaultValue : null;
|
|
2174
|
+
this.Max = 'Max' in params ? params.Max : null;
|
|
2175
|
+
this.Min = 'Min' in params ? params.Min : null;
|
|
2176
|
+
this.NeedRestart = 'NeedRestart' in params ? params.NeedRestart : null;
|
|
2177
|
+
this.ParamName = 'ParamName' in params ? params.ParamName : null;
|
|
2178
|
+
this.Tips = 'Tips' in params ? params.Tips : null;
|
|
2179
|
+
this.ValueType = 'ValueType' in params ? params.ValueType : null;
|
|
2180
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2181
|
+
this.Unit = 'Unit' in params ? params.Unit : null;
|
|
2182
|
+
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2002
2186
|
/**
|
|
2003
2187
|
* DescribeDBInstanceDeal request structure.
|
|
2004
2188
|
* @class
|
|
@@ -2228,6 +2412,101 @@ class CreateDBInstanceResponse extends AbstractModel {
|
|
|
2228
2412
|
}
|
|
2229
2413
|
}
|
|
2230
2414
|
|
|
2415
|
+
/**
|
|
2416
|
+
* DescribeInstanceParams response structure.
|
|
2417
|
+
* @class
|
|
2418
|
+
*/
|
|
2419
|
+
class DescribeInstanceParamsResponse extends AbstractModel {
|
|
2420
|
+
constructor(){
|
|
2421
|
+
super();
|
|
2422
|
+
|
|
2423
|
+
/**
|
|
2424
|
+
* The collection of enum parameters
|
|
2425
|
+
* @type {Array.<InstanceEnumParam> || null}
|
|
2426
|
+
*/
|
|
2427
|
+
this.InstanceEnumParam = null;
|
|
2428
|
+
|
|
2429
|
+
/**
|
|
2430
|
+
* The collection of integer parameters
|
|
2431
|
+
* @type {Array.<InstanceIntegerParam> || null}
|
|
2432
|
+
*/
|
|
2433
|
+
this.InstanceIntegerParam = null;
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* The collection of text parameters
|
|
2437
|
+
* @type {Array.<InstanceTextParam> || null}
|
|
2438
|
+
*/
|
|
2439
|
+
this.InstanceTextParam = null;
|
|
2440
|
+
|
|
2441
|
+
/**
|
|
2442
|
+
* The collection of string parameters used to represent time ranges
|
|
2443
|
+
* @type {Array.<InstanceMultiParam> || null}
|
|
2444
|
+
*/
|
|
2445
|
+
this.InstanceMultiParam = null;
|
|
2446
|
+
|
|
2447
|
+
/**
|
|
2448
|
+
* The total number of modifiable parameters of the instance, such as 0
|
|
2449
|
+
* @type {number || null}
|
|
2450
|
+
*/
|
|
2451
|
+
this.TotalCount = null;
|
|
2452
|
+
|
|
2453
|
+
/**
|
|
2454
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2455
|
+
* @type {string || null}
|
|
2456
|
+
*/
|
|
2457
|
+
this.RequestId = null;
|
|
2458
|
+
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
/**
|
|
2462
|
+
* @private
|
|
2463
|
+
*/
|
|
2464
|
+
deserialize(params) {
|
|
2465
|
+
if (!params) {
|
|
2466
|
+
return;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
if (params.InstanceEnumParam) {
|
|
2470
|
+
this.InstanceEnumParam = new Array();
|
|
2471
|
+
for (let z in params.InstanceEnumParam) {
|
|
2472
|
+
let obj = new InstanceEnumParam();
|
|
2473
|
+
obj.deserialize(params.InstanceEnumParam[z]);
|
|
2474
|
+
this.InstanceEnumParam.push(obj);
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
if (params.InstanceIntegerParam) {
|
|
2479
|
+
this.InstanceIntegerParam = new Array();
|
|
2480
|
+
for (let z in params.InstanceIntegerParam) {
|
|
2481
|
+
let obj = new InstanceIntegerParam();
|
|
2482
|
+
obj.deserialize(params.InstanceIntegerParam[z]);
|
|
2483
|
+
this.InstanceIntegerParam.push(obj);
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
if (params.InstanceTextParam) {
|
|
2488
|
+
this.InstanceTextParam = new Array();
|
|
2489
|
+
for (let z in params.InstanceTextParam) {
|
|
2490
|
+
let obj = new InstanceTextParam();
|
|
2491
|
+
obj.deserialize(params.InstanceTextParam[z]);
|
|
2492
|
+
this.InstanceTextParam.push(obj);
|
|
2493
|
+
}
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
if (params.InstanceMultiParam) {
|
|
2497
|
+
this.InstanceMultiParam = new Array();
|
|
2498
|
+
for (let z in params.InstanceMultiParam) {
|
|
2499
|
+
let obj = new InstanceMultiParam();
|
|
2500
|
+
obj.deserialize(params.InstanceMultiParam[z]);
|
|
2501
|
+
this.InstanceMultiParam.push(obj);
|
|
2502
|
+
}
|
|
2503
|
+
}
|
|
2504
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2505
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2506
|
+
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
|
|
2231
2510
|
/**
|
|
2232
2511
|
* AssignProject response structure.
|
|
2233
2512
|
* @class
|
|
@@ -2389,6 +2668,83 @@ class DescribeDBBackupsRequest extends AbstractModel {
|
|
|
2389
2668
|
}
|
|
2390
2669
|
}
|
|
2391
2670
|
|
|
2671
|
+
/**
|
|
2672
|
+
* The collection of modifiable string parameters of an instance which are used to represent time ranges.
|
|
2673
|
+
* @class
|
|
2674
|
+
*/
|
|
2675
|
+
class InstanceMultiParam extends AbstractModel {
|
|
2676
|
+
constructor(){
|
|
2677
|
+
super();
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* Current value
|
|
2681
|
+
* @type {string || null}
|
|
2682
|
+
*/
|
|
2683
|
+
this.CurrentValue = null;
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* Default value
|
|
2687
|
+
* @type {string || null}
|
|
2688
|
+
*/
|
|
2689
|
+
this.DefaultValue = null;
|
|
2690
|
+
|
|
2691
|
+
/**
|
|
2692
|
+
* Acceptable values
|
|
2693
|
+
* @type {Array.<string> || null}
|
|
2694
|
+
*/
|
|
2695
|
+
this.EnumValue = null;
|
|
2696
|
+
|
|
2697
|
+
/**
|
|
2698
|
+
* Whether to restart the instance for the parameter to take effect
|
|
2699
|
+
* @type {string || null}
|
|
2700
|
+
*/
|
|
2701
|
+
this.NeedRestart = null;
|
|
2702
|
+
|
|
2703
|
+
/**
|
|
2704
|
+
* Parameter name
|
|
2705
|
+
* @type {string || null}
|
|
2706
|
+
*/
|
|
2707
|
+
this.ParamName = null;
|
|
2708
|
+
|
|
2709
|
+
/**
|
|
2710
|
+
* Whether the TencentDB for MongoDB console has pulled parameter information successfully
|
|
2711
|
+
* @type {number || null}
|
|
2712
|
+
*/
|
|
2713
|
+
this.Status = null;
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* Parameter description
|
|
2717
|
+
* @type {Array.<string> || null}
|
|
2718
|
+
*/
|
|
2719
|
+
this.Tips = null;
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* Data type of the parameter
|
|
2723
|
+
* @type {string || null}
|
|
2724
|
+
*/
|
|
2725
|
+
this.ValueType = null;
|
|
2726
|
+
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* @private
|
|
2731
|
+
*/
|
|
2732
|
+
deserialize(params) {
|
|
2733
|
+
if (!params) {
|
|
2734
|
+
return;
|
|
2735
|
+
}
|
|
2736
|
+
this.CurrentValue = 'CurrentValue' in params ? params.CurrentValue : null;
|
|
2737
|
+
this.DefaultValue = 'DefaultValue' in params ? params.DefaultValue : null;
|
|
2738
|
+
this.EnumValue = 'EnumValue' in params ? params.EnumValue : null;
|
|
2739
|
+
this.NeedRestart = 'NeedRestart' in params ? params.NeedRestart : null;
|
|
2740
|
+
this.ParamName = 'ParamName' in params ? params.ParamName : null;
|
|
2741
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2742
|
+
this.Tips = 'Tips' in params ? params.Tips : null;
|
|
2743
|
+
this.ValueType = 'ValueType' in params ? params.ValueType : null;
|
|
2744
|
+
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
|
|
2392
2748
|
/**
|
|
2393
2749
|
* DescribeClientConnections request structure.
|
|
2394
2750
|
* @class
|
|
@@ -2523,54 +2879,60 @@ class ModifyDBInstanceSpecResponse extends AbstractModel {
|
|
|
2523
2879
|
}
|
|
2524
2880
|
|
|
2525
2881
|
/**
|
|
2526
|
-
*
|
|
2882
|
+
* The collection of modifiable text parameters of an instance.
|
|
2527
2883
|
* @class
|
|
2528
2884
|
*/
|
|
2529
|
-
class
|
|
2885
|
+
class InstanceTextParam extends AbstractModel {
|
|
2530
2886
|
constructor(){
|
|
2531
2887
|
super();
|
|
2532
2888
|
|
|
2533
2889
|
/**
|
|
2534
|
-
*
|
|
2535
|
-
* @type {
|
|
2890
|
+
* Current value (not in use)
|
|
2891
|
+
* @type {string || null}
|
|
2536
2892
|
*/
|
|
2537
|
-
this.
|
|
2893
|
+
this.CurrentValue = null;
|
|
2538
2894
|
|
|
2539
2895
|
/**
|
|
2540
|
-
*
|
|
2896
|
+
* Default value (not in use)
|
|
2541
2897
|
* @type {string || null}
|
|
2542
2898
|
*/
|
|
2543
|
-
this.
|
|
2899
|
+
this.DefaultValue = null;
|
|
2544
2900
|
|
|
2545
2901
|
/**
|
|
2546
|
-
*
|
|
2547
|
-
* @type {
|
|
2902
|
+
* Whether to restart the instance for the parameter to take effect (not in use)
|
|
2903
|
+
* @type {string || null}
|
|
2548
2904
|
*/
|
|
2549
|
-
this.
|
|
2905
|
+
this.NeedRestart = null;
|
|
2550
2906
|
|
|
2551
2907
|
/**
|
|
2552
|
-
*
|
|
2553
|
-
* @type {
|
|
2908
|
+
* Parameter name (not in use)
|
|
2909
|
+
* @type {string || null}
|
|
2554
2910
|
*/
|
|
2555
|
-
this.
|
|
2911
|
+
this.ParamName = null;
|
|
2556
2912
|
|
|
2557
2913
|
/**
|
|
2558
|
-
*
|
|
2914
|
+
* Acceptable values (not in use)
|
|
2559
2915
|
* @type {string || null}
|
|
2560
2916
|
*/
|
|
2561
|
-
this.
|
|
2917
|
+
this.TextValue = null;
|
|
2562
2918
|
|
|
2563
2919
|
/**
|
|
2564
|
-
*
|
|
2920
|
+
* Parameter description (not in use)
|
|
2921
|
+
* @type {Array.<string> || null}
|
|
2922
|
+
*/
|
|
2923
|
+
this.Tips = null;
|
|
2924
|
+
|
|
2925
|
+
/**
|
|
2926
|
+
* Data type of the parameter (not in use)
|
|
2565
2927
|
* @type {string || null}
|
|
2566
2928
|
*/
|
|
2567
|
-
this.
|
|
2929
|
+
this.ValueType = null;
|
|
2568
2930
|
|
|
2569
2931
|
/**
|
|
2570
|
-
*
|
|
2932
|
+
* Whether the TencentDB for MongoDB console has pulled parameter information successfully (not in use)
|
|
2571
2933
|
* @type {string || null}
|
|
2572
2934
|
*/
|
|
2573
|
-
this.
|
|
2935
|
+
this.Status = null;
|
|
2574
2936
|
|
|
2575
2937
|
}
|
|
2576
2938
|
|
|
@@ -2581,29 +2943,14 @@ class SecurityGroup extends AbstractModel {
|
|
|
2581
2943
|
if (!params) {
|
|
2582
2944
|
return;
|
|
2583
2945
|
}
|
|
2584
|
-
this.
|
|
2585
|
-
this.
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
this.Inbound.push(obj);
|
|
2593
|
-
}
|
|
2594
|
-
}
|
|
2595
|
-
|
|
2596
|
-
if (params.Outbound) {
|
|
2597
|
-
this.Outbound = new Array();
|
|
2598
|
-
for (let z in params.Outbound) {
|
|
2599
|
-
let obj = new SecurityGroupBound();
|
|
2600
|
-
obj.deserialize(params.Outbound[z]);
|
|
2601
|
-
this.Outbound.push(obj);
|
|
2602
|
-
}
|
|
2603
|
-
}
|
|
2604
|
-
this.SecurityGroupId = 'SecurityGroupId' in params ? params.SecurityGroupId : null;
|
|
2605
|
-
this.SecurityGroupName = 'SecurityGroupName' in params ? params.SecurityGroupName : null;
|
|
2606
|
-
this.SecurityGroupRemark = 'SecurityGroupRemark' in params ? params.SecurityGroupRemark : null;
|
|
2946
|
+
this.CurrentValue = 'CurrentValue' in params ? params.CurrentValue : null;
|
|
2947
|
+
this.DefaultValue = 'DefaultValue' in params ? params.DefaultValue : null;
|
|
2948
|
+
this.NeedRestart = 'NeedRestart' in params ? params.NeedRestart : null;
|
|
2949
|
+
this.ParamName = 'ParamName' in params ? params.ParamName : null;
|
|
2950
|
+
this.TextValue = 'TextValue' in params ? params.TextValue : null;
|
|
2951
|
+
this.Tips = 'Tips' in params ? params.Tips : null;
|
|
2952
|
+
this.ValueType = 'ValueType' in params ? params.ValueType : null;
|
|
2953
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2607
2954
|
|
|
2608
2955
|
}
|
|
2609
2956
|
}
|
|
@@ -2853,6 +3200,83 @@ class RenewDBInstancesResponse extends AbstractModel {
|
|
|
2853
3200
|
}
|
|
2854
3201
|
}
|
|
2855
3202
|
|
|
3203
|
+
/**
|
|
3204
|
+
* The collection of modifiable enum parameters of an instance.
|
|
3205
|
+
* @class
|
|
3206
|
+
*/
|
|
3207
|
+
class InstanceEnumParam extends AbstractModel {
|
|
3208
|
+
constructor(){
|
|
3209
|
+
super();
|
|
3210
|
+
|
|
3211
|
+
/**
|
|
3212
|
+
* Current value
|
|
3213
|
+
* @type {string || null}
|
|
3214
|
+
*/
|
|
3215
|
+
this.CurrentValue = null;
|
|
3216
|
+
|
|
3217
|
+
/**
|
|
3218
|
+
* Default value
|
|
3219
|
+
* @type {string || null}
|
|
3220
|
+
*/
|
|
3221
|
+
this.DefaultValue = null;
|
|
3222
|
+
|
|
3223
|
+
/**
|
|
3224
|
+
* Acceptable values
|
|
3225
|
+
* @type {Array.<string> || null}
|
|
3226
|
+
*/
|
|
3227
|
+
this.EnumValue = null;
|
|
3228
|
+
|
|
3229
|
+
/**
|
|
3230
|
+
* Whether to restart the instance for the parameter to take effect. Valid values: `1` (yes), `0` (no)
|
|
3231
|
+
* @type {string || null}
|
|
3232
|
+
*/
|
|
3233
|
+
this.NeedRestart = null;
|
|
3234
|
+
|
|
3235
|
+
/**
|
|
3236
|
+
* Parameter name
|
|
3237
|
+
* @type {string || null}
|
|
3238
|
+
*/
|
|
3239
|
+
this.ParamName = null;
|
|
3240
|
+
|
|
3241
|
+
/**
|
|
3242
|
+
* Parameter description
|
|
3243
|
+
* @type {Array.<string> || null}
|
|
3244
|
+
*/
|
|
3245
|
+
this.Tips = null;
|
|
3246
|
+
|
|
3247
|
+
/**
|
|
3248
|
+
* Data type of the parameter
|
|
3249
|
+
* @type {string || null}
|
|
3250
|
+
*/
|
|
3251
|
+
this.ValueType = null;
|
|
3252
|
+
|
|
3253
|
+
/**
|
|
3254
|
+
* Whether the TencentDB for MongoDB console has pulled parameter information successfully. Valid values: `1` (yes), `0` (no, and displays "Loading" in the console)
|
|
3255
|
+
* @type {number || null}
|
|
3256
|
+
*/
|
|
3257
|
+
this.Status = null;
|
|
3258
|
+
|
|
3259
|
+
}
|
|
3260
|
+
|
|
3261
|
+
/**
|
|
3262
|
+
* @private
|
|
3263
|
+
*/
|
|
3264
|
+
deserialize(params) {
|
|
3265
|
+
if (!params) {
|
|
3266
|
+
return;
|
|
3267
|
+
}
|
|
3268
|
+
this.CurrentValue = 'CurrentValue' in params ? params.CurrentValue : null;
|
|
3269
|
+
this.DefaultValue = 'DefaultValue' in params ? params.DefaultValue : null;
|
|
3270
|
+
this.EnumValue = 'EnumValue' in params ? params.EnumValue : null;
|
|
3271
|
+
this.NeedRestart = 'NeedRestart' in params ? params.NeedRestart : null;
|
|
3272
|
+
this.ParamName = 'ParamName' in params ? params.ParamName : null;
|
|
3273
|
+
this.Tips = 'Tips' in params ? params.Tips : null;
|
|
3274
|
+
this.ValueType = 'ValueType' in params ? params.ValueType : null;
|
|
3275
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
3276
|
+
|
|
3277
|
+
}
|
|
3278
|
+
}
|
|
3279
|
+
|
|
2856
3280
|
/**
|
|
2857
3281
|
* DescribeBackupDownloadTask response structure.
|
|
2858
3282
|
* @class
|
|
@@ -3734,6 +4158,34 @@ class CreateBackupDBInstanceRequest extends AbstractModel {
|
|
|
3734
4158
|
}
|
|
3735
4159
|
}
|
|
3736
4160
|
|
|
4161
|
+
/**
|
|
4162
|
+
* DescribeInstanceParams request structure.
|
|
4163
|
+
* @class
|
|
4164
|
+
*/
|
|
4165
|
+
class DescribeInstanceParamsRequest extends AbstractModel {
|
|
4166
|
+
constructor(){
|
|
4167
|
+
super();
|
|
4168
|
+
|
|
4169
|
+
/**
|
|
4170
|
+
* Instance ID
|
|
4171
|
+
* @type {string || null}
|
|
4172
|
+
*/
|
|
4173
|
+
this.InstanceId = null;
|
|
4174
|
+
|
|
4175
|
+
}
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
* @private
|
|
4179
|
+
*/
|
|
4180
|
+
deserialize(params) {
|
|
4181
|
+
if (!params) {
|
|
4182
|
+
return;
|
|
4183
|
+
}
|
|
4184
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4185
|
+
|
|
4186
|
+
}
|
|
4187
|
+
}
|
|
4188
|
+
|
|
3737
4189
|
/**
|
|
3738
4190
|
* Description on the billing mode of an instance
|
|
3739
4191
|
* @class
|
|
@@ -3954,6 +4406,7 @@ module.exports = {
|
|
|
3954
4406
|
ClientConnection: ClientConnection,
|
|
3955
4407
|
InquirePriceModifyDBInstanceSpecRequest: InquirePriceModifyDBInstanceSpecRequest,
|
|
3956
4408
|
BackupInfo: BackupInfo,
|
|
4409
|
+
SecurityGroup: SecurityGroup,
|
|
3957
4410
|
InquirePriceRenewDBInstancesRequest: InquirePriceRenewDBInstancesRequest,
|
|
3958
4411
|
DescribeAsyncRequestInfoRequest: DescribeAsyncRequestInfoRequest,
|
|
3959
4412
|
SpecificationInfo: SpecificationInfo,
|
|
@@ -3969,23 +4422,27 @@ module.exports = {
|
|
|
3969
4422
|
TagInfo: TagInfo,
|
|
3970
4423
|
DescribeDBInstancesResponse: DescribeDBInstancesResponse,
|
|
3971
4424
|
OfflineIsolatedDBInstanceRequest: OfflineIsolatedDBInstanceRequest,
|
|
4425
|
+
InstanceIntegerParam: InstanceIntegerParam,
|
|
3972
4426
|
DescribeDBInstanceDealRequest: DescribeDBInstanceDealRequest,
|
|
3973
4427
|
DescribeDBInstancesRequest: DescribeDBInstancesRequest,
|
|
3974
4428
|
DescribeAsyncRequestInfoResponse: DescribeAsyncRequestInfoResponse,
|
|
3975
4429
|
CreateDBInstanceResponse: CreateDBInstanceResponse,
|
|
4430
|
+
DescribeInstanceParamsResponse: DescribeInstanceParamsResponse,
|
|
3976
4431
|
AssignProjectResponse: AssignProjectResponse,
|
|
3977
4432
|
BackupDownloadTask: BackupDownloadTask,
|
|
3978
4433
|
DescribeDBBackupsRequest: DescribeDBBackupsRequest,
|
|
4434
|
+
InstanceMultiParam: InstanceMultiParam,
|
|
3979
4435
|
DescribeClientConnectionsRequest: DescribeClientConnectionsRequest,
|
|
3980
4436
|
DescribeDBInstanceDealResponse: DescribeDBInstanceDealResponse,
|
|
3981
4437
|
ModifyDBInstanceSpecResponse: ModifyDBInstanceSpecResponse,
|
|
3982
|
-
|
|
4438
|
+
InstanceTextParam: InstanceTextParam,
|
|
3983
4439
|
OfflineIsolatedDBInstanceResponse: OfflineIsolatedDBInstanceResponse,
|
|
3984
4440
|
DescribeBackupDownloadTaskRequest: DescribeBackupDownloadTaskRequest,
|
|
3985
4441
|
DescribeBackupAccessRequest: DescribeBackupAccessRequest,
|
|
3986
4442
|
RenameInstanceRequest: RenameInstanceRequest,
|
|
3987
4443
|
DescribeSecurityGroupRequest: DescribeSecurityGroupRequest,
|
|
3988
4444
|
RenewDBInstancesResponse: RenewDBInstancesResponse,
|
|
4445
|
+
InstanceEnumParam: InstanceEnumParam,
|
|
3989
4446
|
DescribeBackupDownloadTaskResponse: DescribeBackupDownloadTaskResponse,
|
|
3990
4447
|
RenameInstanceResponse: RenameInstanceResponse,
|
|
3991
4448
|
DescribeClientConnectionsResponse: DescribeClientConnectionsResponse,
|
|
@@ -3999,6 +4456,7 @@ module.exports = {
|
|
|
3999
4456
|
SlowLogPattern: SlowLogPattern,
|
|
4000
4457
|
CreateDBInstanceHourResponse: CreateDBInstanceHourResponse,
|
|
4001
4458
|
CreateBackupDBInstanceRequest: CreateBackupDBInstanceRequest,
|
|
4459
|
+
DescribeInstanceParamsRequest: DescribeInstanceParamsRequest,
|
|
4002
4460
|
InstanceChargePrepaid: InstanceChargePrepaid,
|
|
4003
4461
|
InquirePriceCreateDBInstancesResponse: InquirePriceCreateDBInstancesResponse,
|
|
4004
4462
|
RenewDBInstancesRequest: RenewDBInstancesRequest,
|