tencentcloud-sdk-nodejs-intl-en 3.0.980 → 3.0.982
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/as/v20180419/as_client.js +2 -2
- package/tencentcloud/as/v20180419/models.js +2 -2
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +2 -1
- package/tencentcloud/cynosdb/v20190107/models.js +140 -60
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +2 -2
- package/tencentcloud/dcdb/v20180411/models.js +76 -69
- package/tencentcloud/mdl/v20200326/mdl_client.js +34 -15
- package/tencentcloud/mdl/v20200326/models.js +883 -176
- package/tencentcloud/tke/v20180525/models.js +9 -9
package/package.json
CHANGED
|
@@ -305,11 +305,11 @@ If the parameter is empty, a certain number (specified by `Limit` and 20 by defa
|
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* This API is used to add the specified number of instances to a scaling group. It returns the scaling activity ID `ActivityId`.
|
|
308
|
-
*
|
|
308
|
+
* Make sure that there are no ongoing scaling tasks.
|
|
309
309
|
* This API is valid even when the scaling group is disabled. For more details, see [DisableAutoScalingGroup](https://intl.cloud.tencent.com/document/api/377/20435?from_cn_redirect=1).
|
|
310
310
|
* The total number of instances after this action cannot exceed the maximum capacity.
|
|
311
311
|
* If a scale-out action failed or partially succeeded, only the number of successfully created instances is added to the number of desired capacity.
|
|
312
|
-
* If the allocation policy is `SPOT_MIXED`, there may be multiple scaling activities triggered for one scaling task.
|
|
312
|
+
* If the allocation policy is `SPOT_MIXED`, there may be multiple scaling activities triggered for one scaling task. In this case, the first activity ID (`ActivityId`) is returned.
|
|
313
313
|
* @param {ScaleOutInstancesRequest} req
|
|
314
314
|
* @param {function(string, ScaleOutInstancesResponse):void} cb
|
|
315
315
|
* @public
|
|
@@ -1270,7 +1270,7 @@ class RelatedInstance extends AbstractModel {
|
|
|
1270
1270
|
/**
|
|
1271
1271
|
* Status of the instance in the scaling activity. Valid values:
|
|
1272
1272
|
`INIT`: Initializing
|
|
1273
|
-
`RUNNING`:
|
|
1273
|
+
`RUNNING`: Processing the instance
|
|
1274
1274
|
`SUCCESSFUL`: Task succeeded on the instance
|
|
1275
1275
|
`FAILED`: Task failed on the instance
|
|
1276
1276
|
* @type {string || null}
|
|
@@ -1319,7 +1319,7 @@ class Advice extends AbstractModel {
|
|
|
1319
1319
|
this.Solution = null;
|
|
1320
1320
|
|
|
1321
1321
|
/**
|
|
1322
|
-
*
|
|
1322
|
+
* Risk level of the scaling group configuration. Valid values: <br>
|
|
1323
1323
|
<li>WARNING<br>
|
|
1324
1324
|
<li>CRITICAL<br>
|
|
1325
1325
|
* @type {string || null}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.982";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -199,6 +199,7 @@ const DescribeResourcesByDealNameRequest = models.DescribeResourcesByDealNameReq
|
|
|
199
199
|
const DescribeInstanceDetailResponse = models.DescribeInstanceDetailResponse;
|
|
200
200
|
const CreateBackupResponse = models.CreateBackupResponse;
|
|
201
201
|
const CreateProxyEndPointRequest = models.CreateProxyEndPointRequest;
|
|
202
|
+
const SlaveZoneAttrItem = models.SlaveZoneAttrItem;
|
|
202
203
|
const ModifyAccountPrivilegesResponse = models.ModifyAccountPrivilegesResponse;
|
|
203
204
|
const DescribeRollbackTimeValidityResponse = models.DescribeRollbackTimeValidityResponse;
|
|
204
205
|
const AuditRuleTemplateInfo = models.AuditRuleTemplateInfo;
|
|
@@ -436,7 +437,7 @@ class CynosdbClient extends AbstractClient {
|
|
|
436
437
|
}
|
|
437
438
|
|
|
438
439
|
/**
|
|
439
|
-
* This API is used to disable
|
|
440
|
+
* This API is used to disable the database proxy.
|
|
440
441
|
* @param {CloseProxyRequest} req
|
|
441
442
|
* @param {function(string, CloseProxyResponse):void} cb
|
|
442
443
|
* @public
|
|
@@ -101,7 +101,7 @@ class ModifyProxyRwSplitRequest extends AbstractModel {
|
|
|
101
101
|
this.ClusterId = null;
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
|
-
* Database proxy
|
|
104
|
+
* Database proxy group ID
|
|
105
105
|
* @type {string || null}
|
|
106
106
|
*/
|
|
107
107
|
this.ProxyGroupId = null;
|
|
@@ -183,7 +183,7 @@ class ModifyProxyRwSplitRequest extends AbstractModel {
|
|
|
183
183
|
this.ConnectionPoolType = null;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* Connection
|
|
186
|
+
* Connection persistence timeout
|
|
187
187
|
* @type {number || null}
|
|
188
188
|
*/
|
|
189
189
|
this.ConnectionPoolTimeOut = null;
|
|
@@ -273,7 +273,7 @@ class DescribeResourcePackageListResponse extends AbstractModel {
|
|
|
273
273
|
this.Detail = null;
|
|
274
274
|
|
|
275
275
|
/**
|
|
276
|
-
* The unique request ID,
|
|
276
|
+
* 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.
|
|
277
277
|
* @type {string || null}
|
|
278
278
|
*/
|
|
279
279
|
this.RequestId = null;
|
|
@@ -1082,21 +1082,21 @@ class ProxyConnectionPoolInfo extends AbstractModel {
|
|
|
1082
1082
|
|
|
1083
1083
|
/**
|
|
1084
1084
|
* Connection persistence timeout in seconds
|
|
1085
|
-
Note:
|
|
1085
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1086
1086
|
* @type {number || null}
|
|
1087
1087
|
*/
|
|
1088
1088
|
this.ConnectionPoolTimeOut = null;
|
|
1089
1089
|
|
|
1090
1090
|
/**
|
|
1091
1091
|
* Whether the connection pool is enabled
|
|
1092
|
-
Note:
|
|
1092
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1093
1093
|
* @type {string || null}
|
|
1094
1094
|
*/
|
|
1095
1095
|
this.OpenConnectionPool = null;
|
|
1096
1096
|
|
|
1097
1097
|
/**
|
|
1098
1098
|
* Connection pool type. Valid value: `SessionConnectionPool` (session-level).
|
|
1099
|
-
Note:
|
|
1099
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1100
1100
|
* @type {string || null}
|
|
1101
1101
|
*/
|
|
1102
1102
|
this.ConnectionPoolType = null;
|
|
@@ -1718,32 +1718,44 @@ class ClusterInstanceDetail extends AbstractModel {
|
|
|
1718
1718
|
|
|
1719
1719
|
/**
|
|
1720
1720
|
* Execution start time in seconds from 0:00
|
|
1721
|
-
Note:
|
|
1721
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1722
1722
|
* @type {number || null}
|
|
1723
1723
|
*/
|
|
1724
1724
|
this.MaintainStartTime = null;
|
|
1725
1725
|
|
|
1726
1726
|
/**
|
|
1727
1727
|
* Duration in seconds
|
|
1728
|
-
Note:
|
|
1728
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1729
1729
|
* @type {number || null}
|
|
1730
1730
|
*/
|
|
1731
1731
|
this.MaintainDuration = null;
|
|
1732
1732
|
|
|
1733
1733
|
/**
|
|
1734
1734
|
* Execution time. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, Sat`, `Sun`.
|
|
1735
|
-
Note:
|
|
1735
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1736
1736
|
* @type {Array.<string> || null}
|
|
1737
1737
|
*/
|
|
1738
1738
|
this.MaintainWeekDays = null;
|
|
1739
1739
|
|
|
1740
1740
|
/**
|
|
1741
|
-
* Serverless instance
|
|
1742
|
-
Note:
|
|
1741
|
+
* Serverless instance enablement status
|
|
1742
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1743
1743
|
* @type {string || null}
|
|
1744
1744
|
*/
|
|
1745
1745
|
this.ServerlessStatus = null;
|
|
1746
1746
|
|
|
1747
|
+
/**
|
|
1748
|
+
*
|
|
1749
|
+
* @type {Array.<ObjectTask> || null}
|
|
1750
|
+
*/
|
|
1751
|
+
this.InstanceTasks = null;
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
*
|
|
1755
|
+
* @type {string || null}
|
|
1756
|
+
*/
|
|
1757
|
+
this.InstanceDeviceType = null;
|
|
1758
|
+
|
|
1747
1759
|
}
|
|
1748
1760
|
|
|
1749
1761
|
/**
|
|
@@ -1767,6 +1779,16 @@ Note: u200dThis field may return null, indicating that no valid values can be ob
|
|
|
1767
1779
|
this.MaintainWeekDays = 'MaintainWeekDays' in params ? params.MaintainWeekDays : null;
|
|
1768
1780
|
this.ServerlessStatus = 'ServerlessStatus' in params ? params.ServerlessStatus : null;
|
|
1769
1781
|
|
|
1782
|
+
if (params.InstanceTasks) {
|
|
1783
|
+
this.InstanceTasks = new Array();
|
|
1784
|
+
for (let z in params.InstanceTasks) {
|
|
1785
|
+
let obj = new ObjectTask();
|
|
1786
|
+
obj.deserialize(params.InstanceTasks[z]);
|
|
1787
|
+
this.InstanceTasks.push(obj);
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
this.InstanceDeviceType = 'InstanceDeviceType' in params ? params.InstanceDeviceType : null;
|
|
1791
|
+
|
|
1770
1792
|
}
|
|
1771
1793
|
}
|
|
1772
1794
|
|
|
@@ -2336,7 +2358,7 @@ class UpgradeProxyVersionRequest extends AbstractModel {
|
|
|
2336
2358
|
this.DstProxyVersion = null;
|
|
2337
2359
|
|
|
2338
2360
|
/**
|
|
2339
|
-
* Database proxy
|
|
2361
|
+
* Database proxy group ID
|
|
2340
2362
|
* @type {string || null}
|
|
2341
2363
|
*/
|
|
2342
2364
|
this.ProxyGroupId = null;
|
|
@@ -2472,20 +2494,20 @@ class DescribeProxiesResponse extends AbstractModel {
|
|
|
2472
2494
|
|
|
2473
2495
|
/**
|
|
2474
2496
|
* List of database proxy groups
|
|
2475
|
-
Note:
|
|
2497
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2476
2498
|
* @type {Array.<ProxyGroupInfo> || null}
|
|
2477
2499
|
*/
|
|
2478
2500
|
this.ProxyGroupInfos = null;
|
|
2479
2501
|
|
|
2480
2502
|
/**
|
|
2481
2503
|
* Database proxy node
|
|
2482
|
-
Note:
|
|
2504
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2483
2505
|
* @type {Array.<ProxyNodeInfo> || null}
|
|
2484
2506
|
*/
|
|
2485
2507
|
this.ProxyNodeInfos = null;
|
|
2486
2508
|
|
|
2487
2509
|
/**
|
|
2488
|
-
* The unique request ID,
|
|
2510
|
+
* 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.
|
|
2489
2511
|
* @type {string || null}
|
|
2490
2512
|
*/
|
|
2491
2513
|
this.RequestId = null;
|
|
@@ -3557,7 +3579,7 @@ class ProxyGroup extends AbstractModel {
|
|
|
3557
3579
|
super();
|
|
3558
3580
|
|
|
3559
3581
|
/**
|
|
3560
|
-
* Database proxy
|
|
3582
|
+
* Database proxy group ID
|
|
3561
3583
|
* @type {string || null}
|
|
3562
3584
|
*/
|
|
3563
3585
|
this.ProxyGroupId = null;
|
|
@@ -3569,7 +3591,7 @@ class ProxyGroup extends AbstractModel {
|
|
|
3569
3591
|
this.ProxyNodeCount = null;
|
|
3570
3592
|
|
|
3571
3593
|
/**
|
|
3572
|
-
* Database proxy
|
|
3594
|
+
* Database proxy group status
|
|
3573
3595
|
* @type {string || null}
|
|
3574
3596
|
*/
|
|
3575
3597
|
this.Status = null;
|
|
@@ -3594,21 +3616,21 @@ class ProxyGroup extends AbstractModel {
|
|
|
3594
3616
|
|
|
3595
3617
|
/**
|
|
3596
3618
|
* Cluster ID
|
|
3597
|
-
Note:
|
|
3619
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3598
3620
|
* @type {string || null}
|
|
3599
3621
|
*/
|
|
3600
3622
|
this.ClusterId = null;
|
|
3601
3623
|
|
|
3602
3624
|
/**
|
|
3603
3625
|
* User `AppId`
|
|
3604
|
-
Note:
|
|
3626
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3605
3627
|
* @type {number || null}
|
|
3606
3628
|
*/
|
|
3607
3629
|
this.AppId = null;
|
|
3608
3630
|
|
|
3609
3631
|
/**
|
|
3610
3632
|
* Enabling read/write separation for database proxy
|
|
3611
|
-
Note:
|
|
3633
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3612
3634
|
* @type {string || null}
|
|
3613
3635
|
*/
|
|
3614
3636
|
this.OpenRw = null;
|
|
@@ -4071,7 +4093,7 @@ class DescribeSupportProxyVersionRequest extends AbstractModel {
|
|
|
4071
4093
|
this.ClusterId = null;
|
|
4072
4094
|
|
|
4073
4095
|
/**
|
|
4074
|
-
* Database proxy
|
|
4096
|
+
* Database proxy group ID
|
|
4075
4097
|
* @type {string || null}
|
|
4076
4098
|
*/
|
|
4077
4099
|
this.ProxyGroupId = null;
|
|
@@ -4204,7 +4226,7 @@ class OpenReadOnlyInstanceExclusiveAccessResponse extends AbstractModel {
|
|
|
4204
4226
|
}
|
|
4205
4227
|
|
|
4206
4228
|
/**
|
|
4207
|
-
* Read/write separation information of the database proxy
|
|
4229
|
+
* Read/write separation information of the database proxy group
|
|
4208
4230
|
* @class
|
|
4209
4231
|
*/
|
|
4210
4232
|
class ProxyGroupRwInfo extends AbstractModel {
|
|
@@ -4249,7 +4271,7 @@ class ProxyGroupRwInfo extends AbstractModel {
|
|
|
4249
4271
|
|
|
4250
4272
|
/**
|
|
4251
4273
|
* Whether to enable read-write node. Valid values: `yes`, `no`.
|
|
4252
|
-
Note:
|
|
4274
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4253
4275
|
* @type {string || null}
|
|
4254
4276
|
*/
|
|
4255
4277
|
this.OpenRw = null;
|
|
@@ -4825,7 +4847,7 @@ class ReloadBalanceProxyNodeRequest extends AbstractModel {
|
|
|
4825
4847
|
this.ClusterId = null;
|
|
4826
4848
|
|
|
4827
4849
|
/**
|
|
4828
|
-
* Database proxy
|
|
4850
|
+
* Database proxy group ID
|
|
4829
4851
|
* @type {string || null}
|
|
4830
4852
|
*/
|
|
4831
4853
|
this.ProxyGroupId = null;
|
|
@@ -4882,7 +4904,7 @@ class ProxyZone extends AbstractModel {
|
|
|
4882
4904
|
super();
|
|
4883
4905
|
|
|
4884
4906
|
/**
|
|
4885
|
-
* AZ
|
|
4907
|
+
* AZ of the proxy node
|
|
4886
4908
|
* @type {string || null}
|
|
4887
4909
|
*/
|
|
4888
4910
|
this.ProxyNodeZone = null;
|
|
@@ -5284,7 +5306,7 @@ class SwitchClusterVpcResponse extends AbstractModel {
|
|
|
5284
5306
|
this.FlowId = null;
|
|
5285
5307
|
|
|
5286
5308
|
/**
|
|
5287
|
-
* The unique request ID,
|
|
5309
|
+
* 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.
|
|
5288
5310
|
* @type {string || null}
|
|
5289
5311
|
*/
|
|
5290
5312
|
this.RequestId = null;
|
|
@@ -5648,7 +5670,7 @@ class OpenClusterReadOnlyInstanceGroupAccessResponse extends AbstractModel {
|
|
|
5648
5670
|
super();
|
|
5649
5671
|
|
|
5650
5672
|
/**
|
|
5651
|
-
* The unique request ID,
|
|
5673
|
+
* 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.
|
|
5652
5674
|
* @type {string || null}
|
|
5653
5675
|
*/
|
|
5654
5676
|
this.RequestId = null;
|
|
@@ -5716,7 +5738,7 @@ class UpgradeProxyVersionResponse extends AbstractModel {
|
|
|
5716
5738
|
this.TaskId = null;
|
|
5717
5739
|
|
|
5718
5740
|
/**
|
|
5719
|
-
* The unique request ID,
|
|
5741
|
+
* 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.
|
|
5720
5742
|
* @type {string || null}
|
|
5721
5743
|
*/
|
|
5722
5744
|
this.RequestId = null;
|
|
@@ -6100,7 +6122,7 @@ class BindInstanceInfo extends AbstractModel {
|
|
|
6100
6122
|
|
|
6101
6123
|
/**
|
|
6102
6124
|
* ID of the bound cluster
|
|
6103
|
-
Note:
|
|
6125
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6104
6126
|
* @type {string || null}
|
|
6105
6127
|
*/
|
|
6106
6128
|
this.InstanceId = null;
|
|
@@ -6119,7 +6141,7 @@ Note: u200dThis field may return null, indicating that no valid values can be ob
|
|
|
6119
6141
|
|
|
6120
6142
|
/**
|
|
6121
6143
|
* ID of the instance in the bound cluster
|
|
6122
|
-
Note:
|
|
6144
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6123
6145
|
* @type {Array.<string> || null}
|
|
6124
6146
|
*/
|
|
6125
6147
|
this.ExtendIds = null;
|
|
@@ -6348,7 +6370,7 @@ class CloseProxyRequest extends AbstractModel {
|
|
|
6348
6370
|
this.ClusterId = null;
|
|
6349
6371
|
|
|
6350
6372
|
/**
|
|
6351
|
-
* Database proxy
|
|
6373
|
+
* Database proxy group ID
|
|
6352
6374
|
* @type {string || null}
|
|
6353
6375
|
*/
|
|
6354
6376
|
this.ProxyGroupId = null;
|
|
@@ -6384,7 +6406,7 @@ class ModifyProxyDescResponse extends AbstractModel {
|
|
|
6384
6406
|
super();
|
|
6385
6407
|
|
|
6386
6408
|
/**
|
|
6387
|
-
* The unique request ID,
|
|
6409
|
+
* 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.
|
|
6388
6410
|
* @type {string || null}
|
|
6389
6411
|
*/
|
|
6390
6412
|
this.RequestId = null;
|
|
@@ -7333,7 +7355,7 @@ class ModifyProxyDescRequest extends AbstractModel {
|
|
|
7333
7355
|
this.ClusterId = null;
|
|
7334
7356
|
|
|
7335
7357
|
/**
|
|
7336
|
-
* Database proxy
|
|
7358
|
+
* Database proxy group ID
|
|
7337
7359
|
* @type {string || null}
|
|
7338
7360
|
*/
|
|
7339
7361
|
this.ProxyGroupId = null;
|
|
@@ -9129,7 +9151,7 @@ class CreateProxyRequest extends AbstractModel {
|
|
|
9129
9151
|
this.Mem = null;
|
|
9130
9152
|
|
|
9131
9153
|
/**
|
|
9132
|
-
* VPC ID, which is the same as that of the cluster by
|
|
9154
|
+
* VPC ID, which is the same as that of the cluster by default.
|
|
9133
9155
|
* @type {string || null}
|
|
9134
9156
|
*/
|
|
9135
9157
|
this.UniqueVpcId = null;
|
|
@@ -9153,7 +9175,7 @@ class CreateProxyRequest extends AbstractModel {
|
|
|
9153
9175
|
this.ConnectionPoolType = null;
|
|
9154
9176
|
|
|
9155
9177
|
/**
|
|
9156
|
-
* Whether to enable connection pool. Valid value: `yes` (enable), `no`
|
|
9178
|
+
* Whether to enable connection pool. Valid value: `yes` (enable), `no` (disable).
|
|
9157
9179
|
* @type {string || null}
|
|
9158
9180
|
*/
|
|
9159
9181
|
this.OpenConnectionPool = null;
|
|
@@ -9271,13 +9293,13 @@ class CreateProxyEndPointResponse extends AbstractModel {
|
|
|
9271
9293
|
this.TaskId = null;
|
|
9272
9294
|
|
|
9273
9295
|
/**
|
|
9274
|
-
* Database proxy
|
|
9296
|
+
* Database proxy group ID
|
|
9275
9297
|
* @type {string || null}
|
|
9276
9298
|
*/
|
|
9277
9299
|
this.ProxyGroupId = null;
|
|
9278
9300
|
|
|
9279
9301
|
/**
|
|
9280
|
-
* The unique request ID,
|
|
9302
|
+
* 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.
|
|
9281
9303
|
* @type {string || null}
|
|
9282
9304
|
*/
|
|
9283
9305
|
this.RequestId = null;
|
|
@@ -9642,42 +9664,42 @@ class ProxyGroupInfo extends AbstractModel {
|
|
|
9642
9664
|
|
|
9643
9665
|
/**
|
|
9644
9666
|
* Database proxy group
|
|
9645
|
-
Note:
|
|
9667
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9646
9668
|
* @type {ProxyGroup || null}
|
|
9647
9669
|
*/
|
|
9648
9670
|
this.ProxyGroup = null;
|
|
9649
9671
|
|
|
9650
9672
|
/**
|
|
9651
|
-
* Read/write separation information of the database proxy
|
|
9652
|
-
Note:
|
|
9673
|
+
* Read/write separation information of the database proxy group
|
|
9674
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9653
9675
|
* @type {ProxyGroupRwInfo || null}
|
|
9654
9676
|
*/
|
|
9655
9677
|
this.ProxyGroupRwInfo = null;
|
|
9656
9678
|
|
|
9657
9679
|
/**
|
|
9658
|
-
* Node information of the
|
|
9659
|
-
Note:
|
|
9680
|
+
* Node information of the database proxy
|
|
9681
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9660
9682
|
* @type {Array.<ProxyNodeInfo> || null}
|
|
9661
9683
|
*/
|
|
9662
9684
|
this.ProxyNodes = null;
|
|
9663
9685
|
|
|
9664
9686
|
/**
|
|
9665
9687
|
* Connection pool information for the database proxy
|
|
9666
|
-
Note:
|
|
9688
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9667
9689
|
* @type {ProxyConnectionPoolInfo || null}
|
|
9668
9690
|
*/
|
|
9669
9691
|
this.ConnectionPool = null;
|
|
9670
9692
|
|
|
9671
9693
|
/**
|
|
9672
9694
|
* Network information for database proxy
|
|
9673
|
-
Note:
|
|
9695
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9674
9696
|
* @type {Array.<NetAddr> || null}
|
|
9675
9697
|
*/
|
|
9676
9698
|
this.NetAddrInfos = null;
|
|
9677
9699
|
|
|
9678
9700
|
/**
|
|
9679
9701
|
* Task set of the database proxy
|
|
9680
|
-
Note:
|
|
9702
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9681
9703
|
* @type {Array.<ObjectTask> || null}
|
|
9682
9704
|
*/
|
|
9683
9705
|
this.Tasks = null;
|
|
@@ -9952,7 +9974,7 @@ class CreateProxyEndPointRequest extends AbstractModel {
|
|
|
9952
9974
|
this.ClusterId = null;
|
|
9953
9975
|
|
|
9954
9976
|
/**
|
|
9955
|
-
* VPC ID, which is the same as that of the cluster by
|
|
9977
|
+
* VPC ID, which is the same as that of the cluster by default.
|
|
9956
9978
|
* @type {string || null}
|
|
9957
9979
|
*/
|
|
9958
9980
|
this.UniqueVpcId = null;
|
|
@@ -9970,7 +9992,7 @@ class CreateProxyEndPointRequest extends AbstractModel {
|
|
|
9970
9992
|
this.ConnectionPoolType = null;
|
|
9971
9993
|
|
|
9972
9994
|
/**
|
|
9973
|
-
* Whether to enable connection pool. Valid value: `yes` (enable), `no`
|
|
9995
|
+
* Whether to enable connection pool. Valid value: `yes` (enable), `no` (disable).
|
|
9974
9996
|
* @type {string || null}
|
|
9975
9997
|
*/
|
|
9976
9998
|
this.OpenConnectionPool = null;
|
|
@@ -10096,6 +10118,41 @@ Valid values: `system` (system-assigned), `custom` (custom).
|
|
|
10096
10118
|
}
|
|
10097
10119
|
}
|
|
10098
10120
|
|
|
10121
|
+
/**
|
|
10122
|
+
*
|
|
10123
|
+
* @class
|
|
10124
|
+
*/
|
|
10125
|
+
class SlaveZoneAttrItem extends AbstractModel {
|
|
10126
|
+
constructor(){
|
|
10127
|
+
super();
|
|
10128
|
+
|
|
10129
|
+
/**
|
|
10130
|
+
*
|
|
10131
|
+
* @type {string || null}
|
|
10132
|
+
*/
|
|
10133
|
+
this.Zone = null;
|
|
10134
|
+
|
|
10135
|
+
/**
|
|
10136
|
+
*
|
|
10137
|
+
* @type {string || null}
|
|
10138
|
+
*/
|
|
10139
|
+
this.BinlogSyncWay = null;
|
|
10140
|
+
|
|
10141
|
+
}
|
|
10142
|
+
|
|
10143
|
+
/**
|
|
10144
|
+
* @private
|
|
10145
|
+
*/
|
|
10146
|
+
deserialize(params) {
|
|
10147
|
+
if (!params) {
|
|
10148
|
+
return;
|
|
10149
|
+
}
|
|
10150
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
10151
|
+
this.BinlogSyncWay = 'BinlogSyncWay' in params ? params.BinlogSyncWay : null;
|
|
10152
|
+
|
|
10153
|
+
}
|
|
10154
|
+
}
|
|
10155
|
+
|
|
10099
10156
|
/**
|
|
10100
10157
|
* ModifyAccountPrivileges response structure.
|
|
10101
10158
|
* @class
|
|
@@ -10917,7 +10974,7 @@ class ModifyProxyRwSplitResponse extends AbstractModel {
|
|
|
10917
10974
|
this.TaskId = null;
|
|
10918
10975
|
|
|
10919
10976
|
/**
|
|
10920
|
-
* The unique request ID,
|
|
10977
|
+
* 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.
|
|
10921
10978
|
* @type {string || null}
|
|
10922
10979
|
*/
|
|
10923
10980
|
this.RequestId = null;
|
|
@@ -11037,7 +11094,7 @@ class ExportInstanceSlowQueriesRequest extends AbstractModel {
|
|
|
11037
11094
|
this.FileType = null;
|
|
11038
11095
|
|
|
11039
11096
|
/**
|
|
11040
|
-
* Sorting field. Valid values:
|
|
11097
|
+
* Sorting field. Valid values: `QueryTime`, `LockTime`, `RowsExamined`, and `RowsSent`.
|
|
11041
11098
|
* @type {string || null}
|
|
11042
11099
|
*/
|
|
11043
11100
|
this.OrderBy = null;
|
|
@@ -12884,7 +12941,7 @@ class ExportInstanceSlowQueriesResponse extends AbstractModel {
|
|
|
12884
12941
|
this.FileContent = null;
|
|
12885
12942
|
|
|
12886
12943
|
/**
|
|
12887
|
-
* The unique request ID,
|
|
12944
|
+
* 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.
|
|
12888
12945
|
* @type {string || null}
|
|
12889
12946
|
*/
|
|
12890
12947
|
this.RequestId = null;
|
|
@@ -12925,7 +12982,7 @@ class CloseProxyResponse extends AbstractModel {
|
|
|
12925
12982
|
this.TaskId = null;
|
|
12926
12983
|
|
|
12927
12984
|
/**
|
|
12928
|
-
* The unique request ID,
|
|
12985
|
+
* 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.
|
|
12929
12986
|
* @type {string || null}
|
|
12930
12987
|
*/
|
|
12931
12988
|
this.RequestId = null;
|
|
@@ -14333,20 +14390,20 @@ class DescribeSupportProxyVersionResponse extends AbstractModel {
|
|
|
14333
14390
|
|
|
14334
14391
|
/**
|
|
14335
14392
|
* Collection of supported database proxy versions
|
|
14336
|
-
Note:
|
|
14393
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14337
14394
|
* @type {Array.<string> || null}
|
|
14338
14395
|
*/
|
|
14339
14396
|
this.SupportProxyVersions = null;
|
|
14340
14397
|
|
|
14341
14398
|
/**
|
|
14342
14399
|
* The current proxy version
|
|
14343
|
-
Note:
|
|
14400
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14344
14401
|
* @type {string || null}
|
|
14345
14402
|
*/
|
|
14346
14403
|
this.CurrentProxyVersion = null;
|
|
14347
14404
|
|
|
14348
14405
|
/**
|
|
14349
|
-
* The unique request ID,
|
|
14406
|
+
* 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.
|
|
14350
14407
|
* @type {string || null}
|
|
14351
14408
|
*/
|
|
14352
14409
|
this.RequestId = null;
|
|
@@ -14607,7 +14664,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
14607
14664
|
this.Vport = null;
|
|
14608
14665
|
|
|
14609
14666
|
/**
|
|
14610
|
-
* VIP
|
|
14667
|
+
* VIP and vport of the read-only instance in a cluster
|
|
14611
14668
|
* @type {Array.<Addr> || null}
|
|
14612
14669
|
*/
|
|
14613
14670
|
this.RoAddr = null;
|
|
@@ -14752,6 +14809,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
14752
14809
|
*/
|
|
14753
14810
|
this.RenewFlag = null;
|
|
14754
14811
|
|
|
14812
|
+
/**
|
|
14813
|
+
*
|
|
14814
|
+
* @type {string || null}
|
|
14815
|
+
*/
|
|
14816
|
+
this.NetworkType = null;
|
|
14817
|
+
|
|
14818
|
+
/**
|
|
14819
|
+
*
|
|
14820
|
+
* @type {Array.<SlaveZoneAttrItem> || null}
|
|
14821
|
+
*/
|
|
14822
|
+
this.SlaveZoneAttr = null;
|
|
14823
|
+
|
|
14755
14824
|
}
|
|
14756
14825
|
|
|
14757
14826
|
/**
|
|
@@ -14854,6 +14923,16 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
14854
14923
|
}
|
|
14855
14924
|
}
|
|
14856
14925
|
this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
|
|
14926
|
+
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
14927
|
+
|
|
14928
|
+
if (params.SlaveZoneAttr) {
|
|
14929
|
+
this.SlaveZoneAttr = new Array();
|
|
14930
|
+
for (let z in params.SlaveZoneAttr) {
|
|
14931
|
+
let obj = new SlaveZoneAttrItem();
|
|
14932
|
+
obj.deserialize(params.SlaveZoneAttr[z]);
|
|
14933
|
+
this.SlaveZoneAttr.push(obj);
|
|
14934
|
+
}
|
|
14935
|
+
}
|
|
14857
14936
|
|
|
14858
14937
|
}
|
|
14859
14938
|
}
|
|
@@ -15402,7 +15481,7 @@ class ReloadBalanceProxyNodeResponse extends AbstractModel {
|
|
|
15402
15481
|
this.TaskId = null;
|
|
15403
15482
|
|
|
15404
15483
|
/**
|
|
15405
|
-
* The unique request ID,
|
|
15484
|
+
* 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.
|
|
15406
15485
|
* @type {string || null}
|
|
15407
15486
|
*/
|
|
15408
15487
|
this.RequestId = null;
|
|
@@ -15886,13 +15965,13 @@ class CreateProxyResponse extends AbstractModel {
|
|
|
15886
15965
|
this.TaskId = null;
|
|
15887
15966
|
|
|
15888
15967
|
/**
|
|
15889
|
-
* Database proxy
|
|
15968
|
+
* Database proxy group ID
|
|
15890
15969
|
* @type {string || null}
|
|
15891
15970
|
*/
|
|
15892
15971
|
this.ProxyGroupId = null;
|
|
15893
15972
|
|
|
15894
15973
|
/**
|
|
15895
|
-
* The unique request ID,
|
|
15974
|
+
* 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.
|
|
15896
15975
|
* @type {string || null}
|
|
15897
15976
|
*/
|
|
15898
15977
|
this.RequestId = null;
|
|
@@ -16168,7 +16247,7 @@ class DescribeClusterDetailResponse extends AbstractModel {
|
|
|
16168
16247
|
this.Detail = null;
|
|
16169
16248
|
|
|
16170
16249
|
/**
|
|
16171
|
-
* The unique request ID,
|
|
16250
|
+
* 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.
|
|
16172
16251
|
* @type {string || null}
|
|
16173
16252
|
*/
|
|
16174
16253
|
this.RequestId = null;
|
|
@@ -16293,7 +16372,7 @@ class ModifyResourcePackageClustersResponse extends AbstractModel {
|
|
|
16293
16372
|
super();
|
|
16294
16373
|
|
|
16295
16374
|
/**
|
|
16296
|
-
* The unique request ID,
|
|
16375
|
+
* 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.
|
|
16297
16376
|
* @type {string || null}
|
|
16298
16377
|
*/
|
|
16299
16378
|
this.RequestId = null;
|
|
@@ -16826,6 +16905,7 @@ module.exports = {
|
|
|
16826
16905
|
DescribeInstanceDetailResponse: DescribeInstanceDetailResponse,
|
|
16827
16906
|
CreateBackupResponse: CreateBackupResponse,
|
|
16828
16907
|
CreateProxyEndPointRequest: CreateProxyEndPointRequest,
|
|
16908
|
+
SlaveZoneAttrItem: SlaveZoneAttrItem,
|
|
16829
16909
|
ModifyAccountPrivilegesResponse: ModifyAccountPrivilegesResponse,
|
|
16830
16910
|
DescribeRollbackTimeValidityResponse: DescribeRollbackTimeValidityResponse,
|
|
16831
16911
|
AuditRuleTemplateInfo: AuditRuleTemplateInfo,
|