tencentcloud-sdk-nodejs-intl-en 3.0.731 → 3.0.733
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.733";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -157,28 +157,19 @@ class RedisBackupSet extends AbstractModel {
|
|
|
157
157
|
this.StartTime = null;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
|
-
* Backup ID
|
|
160
|
+
* Backup task ID
|
|
161
161
|
* @type {string || null}
|
|
162
162
|
*/
|
|
163
163
|
this.BackupId = null;
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
|
-
* Backup type
|
|
167
|
-
|
|
168
|
-
- `1`: Manual backup initiated by the user.
|
|
169
|
-
- `0`: Automatic backup in the early morning initiated by the system.
|
|
166
|
+
* Backup type. Valid values: `1` (Automatic backup in the early morning initiated by the system.) `0`: Manual backup initiated by the user.
|
|
170
167
|
* @type {string || null}
|
|
171
168
|
*/
|
|
172
169
|
this.BackupType = null;
|
|
173
170
|
|
|
174
171
|
/**
|
|
175
|
-
* Backup status
|
|
176
|
-
|
|
177
|
-
- `1`: The backup is locked by another process.
|
|
178
|
-
- `2`: The backup is normal and not locked by any process.
|
|
179
|
-
- `-1`: The backup expired.
|
|
180
|
-
- `3`: The backup is being exported.
|
|
181
|
-
- `4`: The backup was exported successfully.
|
|
172
|
+
* Backup status. Valid values: - `1`: The backup is locked by another process. - `2`: The backup is normal and not locked by any process. - `-1`: The backup is expired. - `3`: The backup is being exported. - `4`: Exported the backup successfully.
|
|
182
173
|
* @type {number || null}
|
|
183
174
|
*/
|
|
184
175
|
this.Status = null;
|
|
@@ -190,10 +181,7 @@ class RedisBackupSet extends AbstractModel {
|
|
|
190
181
|
this.Remark = null;
|
|
191
182
|
|
|
192
183
|
/**
|
|
193
|
-
* Whether the backup is locked
|
|
194
|
-
|
|
195
|
-
- `0`: Not locked.
|
|
196
|
-
- `1`: Locked.
|
|
184
|
+
* Whether the backup is locked. Valid values: - `0` (no) - `1` (yes)
|
|
197
185
|
* @type {number || null}
|
|
198
186
|
*/
|
|
199
187
|
this.Locked = null;
|
|
@@ -335,7 +323,7 @@ class ModifyAutoBackupConfigResponse extends AbstractModel {
|
|
|
335
323
|
super();
|
|
336
324
|
|
|
337
325
|
/**
|
|
338
|
-
* Automatic backup type:
|
|
326
|
+
* Automatic backup type. Valid value: `1` (scheduled backup).
|
|
339
327
|
* @type {number || null}
|
|
340
328
|
*/
|
|
341
329
|
this.AutoBackupType = null;
|
|
@@ -347,7 +335,7 @@ class ModifyAutoBackupConfigResponse extends AbstractModel {
|
|
|
347
335
|
this.WeekDays = null;
|
|
348
336
|
|
|
349
337
|
/**
|
|
350
|
-
*
|
|
338
|
+
* Time period for automatic scheduled backup in the format of “00:00-01:00, 01:00-02:00...... 23:00-00:00”.
|
|
351
339
|
* @type {string || null}
|
|
352
340
|
*/
|
|
353
341
|
this.TimePeriod = null;
|
|
@@ -806,7 +794,7 @@ class DescribeInstanceZoneInfoRequest extends AbstractModel {
|
|
|
806
794
|
super();
|
|
807
795
|
|
|
808
796
|
/**
|
|
809
|
-
*
|
|
797
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
810
798
|
* @type {string || null}
|
|
811
799
|
*/
|
|
812
800
|
this.InstanceId = null;
|
|
@@ -1459,13 +1447,13 @@ class DescribeDBSecurityGroupsResponse extends AbstractModel {
|
|
|
1459
1447
|
this.Groups = null;
|
|
1460
1448
|
|
|
1461
1449
|
/**
|
|
1462
|
-
* Private
|
|
1450
|
+
* Private IPv4 address of an instance
|
|
1463
1451
|
* @type {string || null}
|
|
1464
1452
|
*/
|
|
1465
1453
|
this.VIP = null;
|
|
1466
1454
|
|
|
1467
1455
|
/**
|
|
1468
|
-
* Private port
|
|
1456
|
+
* Private network port
|
|
1469
1457
|
* @type {string || null}
|
|
1470
1458
|
*/
|
|
1471
1459
|
this.VPort = null;
|
|
@@ -1551,7 +1539,7 @@ class RedisNodeInfo extends AbstractModel {
|
|
|
1551
1539
|
this.NodeType = null;
|
|
1552
1540
|
|
|
1553
1541
|
/**
|
|
1554
|
-
*
|
|
1542
|
+
* ID of the master or replica node <ul><li>This parameter is optional when the [CreateInstances](https://intl.cloud.tencent.com/document/product/239/20026?from_cn_redirect=1) API is used to create a TencentDB for Redis instance, but it is required when the [UpgradeInstance](https://intl.cloud.tencent.com/document/product/239/20013?from_cn_redirect=1) API is used to adjust the configuration of an instance by deleting a replica. </li><li>You can use the [DescribeInstances](https://intl.cloud.tencent.com/document/product/239/20018?from_cn_redirect=1) API to get the node ID of integer type. </li></ul> </li></ul>
|
|
1555
1543
|
* @type {number || null}
|
|
1556
1544
|
*/
|
|
1557
1545
|
this.NodeId = null;
|
|
@@ -1835,43 +1823,43 @@ class Account extends AbstractModel {
|
|
|
1835
1823
|
super();
|
|
1836
1824
|
|
|
1837
1825
|
/**
|
|
1838
|
-
* Instance ID
|
|
1839
|
-
Note:
|
|
1826
|
+
* Instance ID
|
|
1827
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1840
1828
|
* @type {string || null}
|
|
1841
1829
|
*/
|
|
1842
1830
|
this.InstanceId = null;
|
|
1843
1831
|
|
|
1844
1832
|
/**
|
|
1845
|
-
* Account name
|
|
1846
|
-
Note:
|
|
1833
|
+
* Account name
|
|
1834
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1847
1835
|
* @type {string || null}
|
|
1848
1836
|
*/
|
|
1849
1837
|
this.AccountName = null;
|
|
1850
1838
|
|
|
1851
1839
|
/**
|
|
1852
|
-
* Account description information
|
|
1853
|
-
Note:
|
|
1840
|
+
* Account description information
|
|
1841
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1854
1842
|
* @type {string || null}
|
|
1855
1843
|
*/
|
|
1856
1844
|
this.Remark = null;
|
|
1857
1845
|
|
|
1858
1846
|
/**
|
|
1859
|
-
* Read/write policy.
|
|
1860
|
-
Note:
|
|
1847
|
+
* Read/write permission policy. Valid values: `r` (read-only), `w` (write-only), `rw` (read/write).
|
|
1848
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1861
1849
|
* @type {string || null}
|
|
1862
1850
|
*/
|
|
1863
1851
|
this.Privilege = null;
|
|
1864
1852
|
|
|
1865
1853
|
/**
|
|
1866
|
-
*
|
|
1867
|
-
Note:
|
|
1854
|
+
* Read-only routing policy. Valid values: `master` (master node), `replication` (replica node).
|
|
1855
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1868
1856
|
* @type {Array.<string> || null}
|
|
1869
1857
|
*/
|
|
1870
1858
|
this.ReadonlyPolicy = null;
|
|
1871
1859
|
|
|
1872
1860
|
/**
|
|
1873
|
-
* Sub-account status. 1
|
|
1874
|
-
Note:
|
|
1861
|
+
* Sub-account status. Valid values: `1` (being changed), `2` (valid). `4` (deleted).
|
|
1862
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1875
1863
|
* @type {number || null}
|
|
1876
1864
|
*/
|
|
1877
1865
|
this.Status = null;
|
|
@@ -1960,13 +1948,13 @@ class SecurityGroupsInboundAndOutbound extends AbstractModel {
|
|
|
1960
1948
|
super();
|
|
1961
1949
|
|
|
1962
1950
|
/**
|
|
1963
|
-
*
|
|
1951
|
+
* Identify whether the IP and port for accessing the database are allowed
|
|
1964
1952
|
* @type {string || null}
|
|
1965
1953
|
*/
|
|
1966
1954
|
this.Action = null;
|
|
1967
1955
|
|
|
1968
1956
|
/**
|
|
1969
|
-
* IP
|
|
1957
|
+
* IP address for accessing the database
|
|
1970
1958
|
* @type {string || null}
|
|
1971
1959
|
*/
|
|
1972
1960
|
this.Ip = null;
|
|
@@ -2516,7 +2504,8 @@ class ModifyAutoBackupConfigRequest extends AbstractModel {
|
|
|
2516
2504
|
super();
|
|
2517
2505
|
|
|
2518
2506
|
/**
|
|
2519
|
-
*
|
|
2507
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
2508
|
+
|
|
2520
2509
|
* @type {string || null}
|
|
2521
2510
|
*/
|
|
2522
2511
|
this.InstanceId = null;
|
|
@@ -2534,7 +2523,7 @@ class ModifyAutoBackupConfigRequest extends AbstractModel {
|
|
|
2534
2523
|
this.TimePeriod = null;
|
|
2535
2524
|
|
|
2536
2525
|
/**
|
|
2537
|
-
* Automatic backup type. `1
|
|
2526
|
+
* Automatic backup type. Valid value: `1` (scheduled backup).
|
|
2538
2527
|
* @type {number || null}
|
|
2539
2528
|
*/
|
|
2540
2529
|
this.AutoBackupType = null;
|
|
@@ -2571,13 +2560,13 @@ class InstanceMultiParam extends AbstractModel {
|
|
|
2571
2560
|
this.ParamName = null;
|
|
2572
2561
|
|
|
2573
2562
|
/**
|
|
2574
|
-
* Parameter
|
|
2563
|
+
* Parameter Type such as `MULTI`
|
|
2575
2564
|
* @type {string || null}
|
|
2576
2565
|
*/
|
|
2577
2566
|
this.ValueType = null;
|
|
2578
2567
|
|
|
2579
2568
|
/**
|
|
2580
|
-
* Whether restart
|
|
2569
|
+
* Whether to restart the database after modifying the parameter. Valid values: - `true` (required) - `false` (not required)
|
|
2581
2570
|
* @type {string || null}
|
|
2582
2571
|
*/
|
|
2583
2572
|
this.NeedRestart = null;
|
|
@@ -2595,19 +2584,19 @@ class InstanceMultiParam extends AbstractModel {
|
|
|
2595
2584
|
this.CurrentValue = null;
|
|
2596
2585
|
|
|
2597
2586
|
/**
|
|
2598
|
-
*
|
|
2587
|
+
* Description
|
|
2599
2588
|
* @type {string || null}
|
|
2600
2589
|
*/
|
|
2601
2590
|
this.Tips = null;
|
|
2602
2591
|
|
|
2603
2592
|
/**
|
|
2604
|
-
*
|
|
2593
|
+
* Description
|
|
2605
2594
|
* @type {Array.<string> || null}
|
|
2606
2595
|
*/
|
|
2607
2596
|
this.EnumValue = null;
|
|
2608
2597
|
|
|
2609
2598
|
/**
|
|
2610
|
-
* Parameter status.
|
|
2599
|
+
* Parameter modification status. Valid values: - `1` (modifying) - `2` (modified)
|
|
2611
2600
|
* @type {number || null}
|
|
2612
2601
|
*/
|
|
2613
2602
|
this.Status = null;
|
|
@@ -2670,19 +2659,19 @@ class RedisNode extends AbstractModel {
|
|
|
2670
2659
|
super();
|
|
2671
2660
|
|
|
2672
2661
|
/**
|
|
2673
|
-
* Number of keys on
|
|
2662
|
+
* Number of keys on Redis nodes
|
|
2674
2663
|
* @type {number || null}
|
|
2675
2664
|
*/
|
|
2676
2665
|
this.Keys = null;
|
|
2677
2666
|
|
|
2678
2667
|
/**
|
|
2679
|
-
*
|
|
2668
|
+
* Slot distribution range for Redis node. Value range: 0-5460.
|
|
2680
2669
|
* @type {string || null}
|
|
2681
2670
|
*/
|
|
2682
2671
|
this.Slot = null;
|
|
2683
2672
|
|
|
2684
2673
|
/**
|
|
2685
|
-
* Node ID
|
|
2674
|
+
* Node sequence ID
|
|
2686
2675
|
* @type {string || null}
|
|
2687
2676
|
*/
|
|
2688
2677
|
this.NodeId = null;
|
|
@@ -2850,13 +2839,13 @@ class DescribeInstanceShardsResponse extends AbstractModel {
|
|
|
2850
2839
|
super();
|
|
2851
2840
|
|
|
2852
2841
|
/**
|
|
2853
|
-
*
|
|
2842
|
+
* List information of the instance shards, which includes node information, node ID, key count, used capacity, and capacity slope.
|
|
2854
2843
|
* @type {Array.<InstanceClusterShard> || null}
|
|
2855
2844
|
*/
|
|
2856
2845
|
this.InstanceShards = null;
|
|
2857
2846
|
|
|
2858
2847
|
/**
|
|
2859
|
-
*
|
|
2848
|
+
* Number of instance shard nodes
|
|
2860
2849
|
* @type {number || null}
|
|
2861
2850
|
*/
|
|
2862
2851
|
this.TotalCount = null;
|
|
@@ -2956,64 +2945,64 @@ class TaskInfoDetail extends AbstractModel {
|
|
|
2956
2945
|
super();
|
|
2957
2946
|
|
|
2958
2947
|
/**
|
|
2959
|
-
* Task ID
|
|
2960
|
-
Note:
|
|
2948
|
+
* Task ID
|
|
2949
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2961
2950
|
* @type {number || null}
|
|
2962
2951
|
*/
|
|
2963
2952
|
this.TaskId = null;
|
|
2964
2953
|
|
|
2965
2954
|
/**
|
|
2966
|
-
*
|
|
2967
|
-
Note:
|
|
2955
|
+
* Task start time
|
|
2956
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2968
2957
|
* @type {string || null}
|
|
2969
2958
|
*/
|
|
2970
2959
|
this.StartTime = null;
|
|
2971
2960
|
|
|
2972
2961
|
/**
|
|
2973
|
-
* Task type
|
|
2974
|
-
Note:
|
|
2962
|
+
* Task type. Valid values: - `FLOW_CREATE`: Create an instance. - `FLOW_MODIFYCONNECTIONCONFIG`: Adjust the number of bandwidth connections. - `FLOW_MODIFYINSTANCEPASSWORDFREE`: Modify the process of password-free access. - `FLOW_CLEARNETWORK`: Returning VPC - `FLOW_SETPWD`: Set the access password. - `FLOW_EXPORSHR`: Expand or reduce the capacity. - `FLOW_UpgradeArch`: Upgrade the instance architecture. - `FLOW_MODIFYINSTANCEPARAMS`: Modify the instance parameters. - `FLOW_MODIFYINSTACEREADONLY`: Modify read-only process. - `FLOW_CLOSE`: Disable the instance. - `FLOW_DELETE`: Delete the instance. - `FLOW_OPEN_WAN`: Enable the public network. - `FLOW_FLOW_CLEAN`: Clear the instance. - `FLOW_MODIFYINSTANCEACCOUNT`: Modify the instance account. - `FLOW_ENABLEINSTANCE_REPLICATE`: Enable the replica read-only feature. - `FLOW_DISABLEINSTANCE_REPLICATE`: Disable the replica read-only feature. - `FLOW_SWITCHINSTANCEVIP`: Swap the VIPs of instances. - FLOW_CHANGE_REPLICA_TO_MSTER: Promote the replica node to the mater node. Backup instance
|
|
2963
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2975
2964
|
* @type {string || null}
|
|
2976
2965
|
*/
|
|
2977
2966
|
this.TaskType = null;
|
|
2978
2967
|
|
|
2979
2968
|
/**
|
|
2980
|
-
* Instance name
|
|
2981
|
-
Note:
|
|
2969
|
+
* Instance name
|
|
2970
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2982
2971
|
* @type {string || null}
|
|
2983
2972
|
*/
|
|
2984
2973
|
this.InstanceName = null;
|
|
2985
2974
|
|
|
2986
2975
|
/**
|
|
2987
|
-
* Instance ID
|
|
2988
|
-
Note:
|
|
2976
|
+
* Instance ID
|
|
2977
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2989
2978
|
* @type {string || null}
|
|
2990
2979
|
*/
|
|
2991
2980
|
this.InstanceId = null;
|
|
2992
2981
|
|
|
2993
2982
|
/**
|
|
2994
|
-
* Project ID
|
|
2995
|
-
Note:
|
|
2983
|
+
* Project ID
|
|
2984
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2996
2985
|
* @type {number || null}
|
|
2997
2986
|
*/
|
|
2998
2987
|
this.ProjectId = null;
|
|
2999
2988
|
|
|
3000
2989
|
/**
|
|
3001
|
-
* Task progress
|
|
3002
|
-
Note:
|
|
2990
|
+
* Task progress
|
|
2991
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3003
2992
|
* @type {number || null}
|
|
3004
2993
|
*/
|
|
3005
2994
|
this.Progress = null;
|
|
3006
2995
|
|
|
3007
2996
|
/**
|
|
3008
|
-
*
|
|
3009
|
-
Note:
|
|
2997
|
+
* Task end time
|
|
2998
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3010
2999
|
* @type {string || null}
|
|
3011
3000
|
*/
|
|
3012
3001
|
this.EndTime = null;
|
|
3013
3002
|
|
|
3014
3003
|
/**
|
|
3015
|
-
* Task status
|
|
3016
|
-
Note:
|
|
3004
|
+
* Task execution status. Valid values: - `0` (initilized) - `1` (executing) - `2` (completed) - `4` (failed)
|
|
3005
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3017
3006
|
* @type {number || null}
|
|
3018
3007
|
*/
|
|
3019
3008
|
this.Result = null;
|
|
@@ -3455,13 +3444,14 @@ class ChangeReplicaToMasterRequest extends AbstractModel {
|
|
|
3455
3444
|
super();
|
|
3456
3445
|
|
|
3457
3446
|
/**
|
|
3458
|
-
*
|
|
3447
|
+
* ID of the specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
3448
|
+
|
|
3459
3449
|
* @type {string || null}
|
|
3460
3450
|
*/
|
|
3461
3451
|
this.InstanceId = null;
|
|
3462
3452
|
|
|
3463
3453
|
/**
|
|
3464
|
-
*
|
|
3454
|
+
* ID of the replica node group. You can get more ID information of the multi-AZ replica node group though the [DescribeInstanceZoneInfo](https://intl.cloud.tencent.com/document/product/239/50312?from_cn_redirect=1) API. This parameter is not required for a single-AZ replica node group.
|
|
3465
3455
|
* @type {number || null}
|
|
3466
3456
|
*/
|
|
3467
3457
|
this.GroupId = null;
|
|
@@ -4185,7 +4175,8 @@ class DescribeDBSecurityGroupsRequest extends AbstractModel {
|
|
|
4185
4175
|
this.Product = null;
|
|
4186
4176
|
|
|
4187
4177
|
/**
|
|
4188
|
-
*
|
|
4178
|
+
* ID of the specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
4179
|
+
|
|
4189
4180
|
* @type {string || null}
|
|
4190
4181
|
*/
|
|
4191
4182
|
this.InstanceId = null;
|
|
@@ -4256,7 +4247,7 @@ class InstanceSecurityGroupDetail extends AbstractModel {
|
|
|
4256
4247
|
this.InstanceId = null;
|
|
4257
4248
|
|
|
4258
4249
|
/**
|
|
4259
|
-
* Security group information
|
|
4250
|
+
* Security group information, which includes security group ID, name, outbound and inbound rules.
|
|
4260
4251
|
* @type {Array.<SecurityGroupDetail> || null}
|
|
4261
4252
|
*/
|
|
4262
4253
|
this.SecurityGroupDetails = null;
|
|
@@ -4440,19 +4431,13 @@ class DelayDistribution extends AbstractModel {
|
|
|
4440
4431
|
super();
|
|
4441
4432
|
|
|
4442
4433
|
/**
|
|
4443
|
-
*
|
|
4444
|
-
[0ms,1ms]: 1;
|
|
4445
|
-
[1ms,5ms]: 5;
|
|
4446
|
-
[5ms,10ms]: 10;
|
|
4447
|
-
[10ms,50ms]: 50;
|
|
4448
|
-
[50ms,200ms]: 200;
|
|
4449
|
-
[200ms,∞]: -1.
|
|
4434
|
+
* The delay distribution. The mapping between delay range and `Ladder` value is as follows: - `1`: [0ms,1ms]. - `5`: [1ms,5ms]. - `10`: [5ms,10ms]. - `50`: [10ms,50ms]. - `200`: [50ms,200ms]. - `-1`: [200ms,∞].
|
|
4450
4435
|
* @type {number || null}
|
|
4451
4436
|
*/
|
|
4452
4437
|
this.Ladder = null;
|
|
4453
4438
|
|
|
4454
4439
|
/**
|
|
4455
|
-
* The number of commands
|
|
4440
|
+
* The number of commands with delay falling within the current delay range -
|
|
4456
4441
|
* @type {number || null}
|
|
4457
4442
|
*/
|
|
4458
4443
|
this.Size = null;
|
|
@@ -4821,25 +4806,19 @@ class KillMasterGroupRequest extends AbstractModel {
|
|
|
4821
4806
|
super();
|
|
4822
4807
|
|
|
4823
4808
|
/**
|
|
4824
|
-
*
|
|
4809
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
4825
4810
|
* @type {string || null}
|
|
4826
4811
|
*/
|
|
4827
4812
|
this.InstanceId = null;
|
|
4828
4813
|
|
|
4829
4814
|
/**
|
|
4830
|
-
*
|
|
4831
|
-
2. It cannot start with a slash (/).
|
|
4832
|
-
3. It must contain characters in at least two of the following types:
|
|
4833
|
-
a. Lowercase letters (a–z)
|
|
4834
|
-
b. Uppercase letters (A–Z)
|
|
4835
|
-
c. Digits (0–9)
|
|
4836
|
-
d. ()`~!@#$%^&*-+=_|{}[]:;<>,.?/
|
|
4815
|
+
* A parameter used to configure the access password for a specified instance. If password-free authentication is enabled, this parameter will not be required. Required password strength. - It must contains 8-30 characters. We recommend that you use a password of more than 12 characters. - It must contain at least two of the following types: lowercase letters, uppercase letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;<>,.?/), and it cannot start with a slash (/).
|
|
4837
4816
|
* @type {string || null}
|
|
4838
4817
|
*/
|
|
4839
4818
|
this.Password = null;
|
|
4840
4819
|
|
|
4841
4820
|
/**
|
|
4842
|
-
*
|
|
4821
|
+
* Shard ID of a sharded cluster
|
|
4843
4822
|
* @type {Array.<number> || null}
|
|
4844
4823
|
*/
|
|
4845
4824
|
this.ShardIds = null;
|
|
@@ -5076,7 +5055,7 @@ class DescribeInstanceAccountRequest extends AbstractModel {
|
|
|
5076
5055
|
super();
|
|
5077
5056
|
|
|
5078
5057
|
/**
|
|
5079
|
-
*
|
|
5058
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
5080
5059
|
* @type {string || null}
|
|
5081
5060
|
*/
|
|
5082
5061
|
this.InstanceId = null;
|
|
@@ -5088,7 +5067,7 @@ class DescribeInstanceAccountRequest extends AbstractModel {
|
|
|
5088
5067
|
this.Limit = null;
|
|
5089
5068
|
|
|
5090
5069
|
/**
|
|
5091
|
-
*
|
|
5070
|
+
* Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).
|
|
5092
5071
|
* @type {number || null}
|
|
5093
5072
|
*/
|
|
5094
5073
|
this.Offset = null;
|
|
@@ -5124,13 +5103,13 @@ class InstanceTextParam extends AbstractModel {
|
|
|
5124
5103
|
this.ParamName = null;
|
|
5125
5104
|
|
|
5126
5105
|
/**
|
|
5127
|
-
* Parameter type
|
|
5106
|
+
* Parameter type such as `Text`.
|
|
5128
5107
|
* @type {string || null}
|
|
5129
5108
|
*/
|
|
5130
5109
|
this.ValueType = null;
|
|
5131
5110
|
|
|
5132
5111
|
/**
|
|
5133
|
-
* Whether restart
|
|
5112
|
+
* Whether to restart the database after modifying the parameter. Valid values: - `true` (required) - `false` (not required)
|
|
5134
5113
|
* @type {string || null}
|
|
5135
5114
|
*/
|
|
5136
5115
|
this.NeedRestart = null;
|
|
@@ -5148,19 +5127,19 @@ class InstanceTextParam extends AbstractModel {
|
|
|
5148
5127
|
this.CurrentValue = null;
|
|
5149
5128
|
|
|
5150
5129
|
/**
|
|
5151
|
-
*
|
|
5130
|
+
* Description
|
|
5152
5131
|
* @type {string || null}
|
|
5153
5132
|
*/
|
|
5154
5133
|
this.Tips = null;
|
|
5155
5134
|
|
|
5156
5135
|
/**
|
|
5157
|
-
*
|
|
5136
|
+
* Acceptable values of the parameter
|
|
5158
5137
|
* @type {Array.<string> || null}
|
|
5159
5138
|
*/
|
|
5160
5139
|
this.TextValue = null;
|
|
5161
5140
|
|
|
5162
5141
|
/**
|
|
5163
|
-
* Parameter status.
|
|
5142
|
+
* Parameter modification status. Valid values: - `1` (modifying) - `2` (modified)
|
|
5164
5143
|
* @type {number || null}
|
|
5165
5144
|
*/
|
|
5166
5145
|
this.Status = null;
|
|
@@ -5237,7 +5216,7 @@ class DescribeTaskListRequest extends AbstractModel {
|
|
|
5237
5216
|
super();
|
|
5238
5217
|
|
|
5239
5218
|
/**
|
|
5240
|
-
*
|
|
5219
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
5241
5220
|
* @type {string || null}
|
|
5242
5221
|
*/
|
|
5243
5222
|
this.InstanceId = null;
|
|
@@ -5249,49 +5228,49 @@ class DescribeTaskListRequest extends AbstractModel {
|
|
|
5249
5228
|
this.InstanceName = null;
|
|
5250
5229
|
|
|
5251
5230
|
/**
|
|
5252
|
-
*
|
|
5231
|
+
* Number of taskss returned per page. Default value: `20`. Maximum value: `100`.
|
|
5253
5232
|
* @type {number || null}
|
|
5254
5233
|
*/
|
|
5255
5234
|
this.Limit = null;
|
|
5256
5235
|
|
|
5257
5236
|
/**
|
|
5258
|
-
*
|
|
5237
|
+
* Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).
|
|
5259
5238
|
* @type {number || null}
|
|
5260
5239
|
*/
|
|
5261
5240
|
this.Offset = null;
|
|
5262
5241
|
|
|
5263
5242
|
/**
|
|
5264
|
-
* Project ID
|
|
5243
|
+
* Project ID Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), go to the account information menu in the top-right corner, and select **Project Management** to query the project ID.
|
|
5265
5244
|
* @type {Array.<number> || null}
|
|
5266
5245
|
*/
|
|
5267
5246
|
this.ProjectIds = null;
|
|
5268
5247
|
|
|
5269
5248
|
/**
|
|
5270
|
-
* Task type
|
|
5249
|
+
* Task type. Valid values: - `FLOW_CREATE`: Create an instance. - `FLOW_MODIFYCONNECTIONCONFIG`: Adjust the number of bandwidth connections. - `FLOW_MODIFYINSTANCEPASSWORDFREE`: Modify the process of password-free access. - `FLOW_CLEARNETWORK`: Returning VPC - `FLOW_SETPWD`: Set the access password. - `FLOW_EXPORSHR`: Expand or reduce the capacity. - `FLOW_UpgradeArch`: Upgrade the instance architecture. - `FLOW_MODIFYINSTANCEPARAMS`: Modify the instance parameters. - `FLOW_MODIFYINSTACEREADONLY`: Modify read-only process. - `FLOW_CLOSE`: Disable the instance. - `FLOW_DELETE`: Delete the instance. - `FLOW_OPEN_WAN`: Enable the public network. - `FLOW_FLOW_CLEAN`: Clear the instance. - `FLOW_MODIFYINSTANCEACCOUNT`: Modify the instance account. - `FLOW_ENABLEINSTANCE_REPLICATE`: Enable the replica read-only feature. - `FLOW_DISABLEINSTANCE_REPLICATE`: Disable the replica read-only feature. - `FLOW_SWITCHINSTANCEVIP`: Swap the VIPs of instances. - FLOW_CHANGE_REPLICA_TO_MSTER: Promote the replica node to the mater node. - `FLOW_BACKUPINSTANCE`: Back up an instance.
|
|
5271
5250
|
* @type {Array.<string> || null}
|
|
5272
5251
|
*/
|
|
5273
5252
|
this.TaskTypes = null;
|
|
5274
5253
|
|
|
5275
5254
|
/**
|
|
5276
|
-
* Start time
|
|
5255
|
+
* Start time for executing a task, in the format of “2020-10-12 00:00:00”.
|
|
5277
5256
|
* @type {string || null}
|
|
5278
5257
|
*/
|
|
5279
5258
|
this.BeginTime = null;
|
|
5280
5259
|
|
|
5281
5260
|
/**
|
|
5282
|
-
* End time
|
|
5261
|
+
* End time for executing a task, in the format of “2021-12-30 20:59:35”.
|
|
5283
5262
|
* @type {string || null}
|
|
5284
5263
|
*/
|
|
5285
5264
|
this.EndTime = null;
|
|
5286
5265
|
|
|
5287
5266
|
/**
|
|
5288
|
-
*
|
|
5267
|
+
* This parameter is only for internal use and can be ignored.
|
|
5289
5268
|
* @type {Array.<number> || null}
|
|
5290
5269
|
*/
|
|
5291
5270
|
this.TaskStatus = null;
|
|
5292
5271
|
|
|
5293
5272
|
/**
|
|
5294
|
-
* Task status
|
|
5273
|
+
* Task execution status. Valid values: - `0` (initilized) - `1` (executing) - `2` (completed) - `4` (failed)
|
|
5295
5274
|
* @type {Array.<number> || null}
|
|
5296
5275
|
*/
|
|
5297
5276
|
this.Result = null;
|
|
@@ -5303,7 +5282,7 @@ class DescribeTaskListRequest extends AbstractModel {
|
|
|
5303
5282
|
this.OperatorUin = null;
|
|
5304
5283
|
|
|
5305
5284
|
/**
|
|
5306
|
-
* Operator
|
|
5285
|
+
* Operator account ID or UIN
|
|
5307
5286
|
* @type {Array.<string> || null}
|
|
5308
5287
|
*/
|
|
5309
5288
|
this.OperateUin = null;
|
|
@@ -5867,7 +5846,7 @@ class DescribeInstanceSecurityGroupRequest extends AbstractModel {
|
|
|
5867
5846
|
super();
|
|
5868
5847
|
|
|
5869
5848
|
/**
|
|
5870
|
-
* List of
|
|
5849
|
+
* List of instance IDs, such as "crs-f2ho5rsz\n".
|
|
5871
5850
|
* @type {Array.<string> || null}
|
|
5872
5851
|
*/
|
|
5873
5852
|
this.InstanceIds = null;
|
|
@@ -5954,7 +5933,7 @@ class DescribeInstanceParamsRequest extends AbstractModel {
|
|
|
5954
5933
|
super();
|
|
5955
5934
|
|
|
5956
5935
|
/**
|
|
5957
|
-
*
|
|
5936
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
5958
5937
|
* @type {string || null}
|
|
5959
5938
|
*/
|
|
5960
5939
|
this.InstanceId = null;
|
|
@@ -6109,13 +6088,13 @@ class DescribeInstanceShardsRequest extends AbstractModel {
|
|
|
6109
6088
|
super();
|
|
6110
6089
|
|
|
6111
6090
|
/**
|
|
6112
|
-
*
|
|
6091
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
6113
6092
|
* @type {string || null}
|
|
6114
6093
|
*/
|
|
6115
6094
|
this.InstanceId = null;
|
|
6116
6095
|
|
|
6117
6096
|
/**
|
|
6118
|
-
* Whether to filter out the replica node information
|
|
6097
|
+
* Whether to filter out the replica node information. Valid values: `true` (yes), `false` (no).
|
|
6119
6098
|
* @type {boolean || null}
|
|
6120
6099
|
*/
|
|
6121
6100
|
this.FilterSlave = null;
|
|
@@ -6221,31 +6200,31 @@ class DescribeAutoBackupConfigResponse extends AbstractModel {
|
|
|
6221
6200
|
super();
|
|
6222
6201
|
|
|
6223
6202
|
/**
|
|
6224
|
-
*
|
|
6203
|
+
* This parameter is retained due to compatibility and can be ignored.
|
|
6225
6204
|
* @type {number || null}
|
|
6226
6205
|
*/
|
|
6227
6206
|
this.AutoBackupType = null;
|
|
6228
6207
|
|
|
6229
6208
|
/**
|
|
6230
|
-
*
|
|
6209
|
+
* Backup cycle, which will be daily by default. Valid values: `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.
|
|
6231
6210
|
* @type {Array.<string> || null}
|
|
6232
6211
|
*/
|
|
6233
6212
|
this.WeekDays = null;
|
|
6234
6213
|
|
|
6235
6214
|
/**
|
|
6236
|
-
* Time period
|
|
6215
|
+
* Time period for backup task initialization
|
|
6237
6216
|
* @type {string || null}
|
|
6238
6217
|
*/
|
|
6239
6218
|
this.TimePeriod = null;
|
|
6240
6219
|
|
|
6241
6220
|
/**
|
|
6242
|
-
*
|
|
6221
|
+
* Retention time of full backup files in days. Default value: `7`. To retain the files for more days, [submit a ticket](https://console.cloud.tencent.com/workorder/category) for application.
|
|
6243
6222
|
* @type {number || null}
|
|
6244
6223
|
*/
|
|
6245
6224
|
this.BackupStorageDays = null;
|
|
6246
6225
|
|
|
6247
6226
|
/**
|
|
6248
|
-
*
|
|
6227
|
+
* This parameter has been disused.
|
|
6249
6228
|
* @type {number || null}
|
|
6250
6229
|
*/
|
|
6251
6230
|
this.BinlogStorageDays = null;
|
|
@@ -6743,7 +6722,7 @@ class DescribeInstanceSecurityGroupResponse extends AbstractModel {
|
|
|
6743
6722
|
super();
|
|
6744
6723
|
|
|
6745
6724
|
/**
|
|
6746
|
-
* Security group information of
|
|
6725
|
+
* Security group information of an instance
|
|
6747
6726
|
* @type {Array.<InstanceSecurityGroupDetail> || null}
|
|
6748
6727
|
*/
|
|
6749
6728
|
this.InstanceSecurityGroupsDetail = null;
|
|
@@ -6991,7 +6970,7 @@ class InstanceNode extends AbstractModel {
|
|
|
6991
6970
|
super();
|
|
6992
6971
|
|
|
6993
6972
|
/**
|
|
6994
|
-
*
|
|
6973
|
+
* Instance ID
|
|
6995
6974
|
* @type {number || null}
|
|
6996
6975
|
*/
|
|
6997
6976
|
this.Id = null;
|
|
@@ -7377,7 +7356,7 @@ class AssociateSecurityGroupsResponse extends AbstractModel {
|
|
|
7377
7356
|
}
|
|
7378
7357
|
|
|
7379
7358
|
/**
|
|
7380
|
-
*
|
|
7359
|
+
* Information of the instance node group
|
|
7381
7360
|
* @class
|
|
7382
7361
|
*/
|
|
7383
7362
|
class ReplicaGroup extends AbstractModel {
|
|
@@ -7743,19 +7722,21 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
7743
7722
|
this.Limit = null;
|
|
7744
7723
|
|
|
7745
7724
|
/**
|
|
7746
|
-
* Pagination offset, which is an integral multiple of `Limit`.
|
|
7725
|
+
* Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).
|
|
7747
7726
|
* @type {number || null}
|
|
7748
7727
|
*/
|
|
7749
7728
|
this.Offset = null;
|
|
7750
7729
|
|
|
7751
7730
|
/**
|
|
7752
|
-
*
|
|
7731
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
7732
|
+
|
|
7733
|
+
|
|
7753
7734
|
* @type {string || null}
|
|
7754
7735
|
*/
|
|
7755
7736
|
this.InstanceId = null;
|
|
7756
7737
|
|
|
7757
7738
|
/**
|
|
7758
|
-
* Instance sorting criteria. The enumerated values are as listed below:
|
|
7739
|
+
* Instance list sorting criteria. The enumerated values are as listed below: <ul><li>`projectId`: Project ID. </li><li>`createtime`: Instance creation time. </li><li>`instancename`: Instance name. </li><li>`type`: Instance type. </li><li>`curDeadline`: Instance expiration time. </li></ul>
|
|
7759
7740
|
* @type {string || null}
|
|
7760
7741
|
*/
|
|
7761
7742
|
this.OrderBy = null;
|
|
@@ -7833,7 +7814,7 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
7833
7814
|
this.EngineName = null;
|
|
7834
7815
|
|
|
7835
7816
|
/**
|
|
7836
|
-
* Renewal mode. <ul><li>`0`:
|
|
7817
|
+
* Renewal mode. Valid values: <ul><li>`0`: Manual renewal </li><li>`1`: Auto-renewal </li><li>`2`: No renewal upon expiration </ul>
|
|
7837
7818
|
* @type {Array.<number> || null}
|
|
7838
7819
|
*/
|
|
7839
7820
|
this.AutoRenew = null;
|
|
@@ -7845,7 +7826,7 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
7845
7826
|
this.BillingMode = null;
|
|
7846
7827
|
|
|
7847
7828
|
/**
|
|
7848
|
-
* Instance type.
|
|
7829
|
+
* Instance type. Valid values: - `2`: Redis 2.8 Memory Edition (Standard Architecture). - `3`: CKV 3.2 Memory Edition (Standard Architecture). - `4`: CKV 3.2 Memory Edition (Cluster Architecture). - `5`: Redis 2.8 Memory Edition (Standalone). - `6`: Redis 4.0 Memory Edition (Standard Architecture). - `7`: Redis 4.0 Memory Edition (Cluster Architecture). - `8`: Redis 5.0 Memory Edition (Standard Architecture). - `9`: Redis 5.0 Memory Edition (Cluster Architecture). - `15`: Redis 6.2 Memory Edition (Standard Architecture). - `16`: Redis 6.2 Memory Edition (Cluster Architecture).
|
|
7849
7830
|
* @type {number || null}
|
|
7850
7831
|
*/
|
|
7851
7832
|
this.Type = null;
|
|
@@ -7881,7 +7862,7 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
7881
7862
|
this.TagKeys = null;
|
|
7882
7863
|
|
|
7883
7864
|
/**
|
|
7884
|
-
* Instance product version.
|
|
7865
|
+
* Instance product version. If this parameter is not passed in or the array is empty, the instances will not be filtered based this parameter by default. <ul><li>`local`: Local disk edition. </li><li>`cdc`: Dedicated cluster edition. </li></ul>
|
|
7885
7866
|
* @type {Array.<string> || null}
|
|
7886
7867
|
*/
|
|
7887
7868
|
this.ProductVersions = null;
|
|
@@ -8035,37 +8016,38 @@ class DescribeSlowLogRequest extends AbstractModel {
|
|
|
8035
8016
|
super();
|
|
8036
8017
|
|
|
8037
8018
|
/**
|
|
8038
|
-
*
|
|
8019
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
8020
|
+
|
|
8039
8021
|
* @type {string || null}
|
|
8040
8022
|
*/
|
|
8041
8023
|
this.InstanceId = null;
|
|
8042
8024
|
|
|
8043
8025
|
/**
|
|
8044
|
-
*
|
|
8026
|
+
* Start time for prequerying a slow log
|
|
8045
8027
|
* @type {string || null}
|
|
8046
8028
|
*/
|
|
8047
8029
|
this.BeginTime = null;
|
|
8048
8030
|
|
|
8049
8031
|
/**
|
|
8050
|
-
*
|
|
8032
|
+
* End time for prequerying a slow log
|
|
8051
8033
|
* @type {string || null}
|
|
8052
8034
|
*/
|
|
8053
8035
|
this.EndTime = null;
|
|
8054
8036
|
|
|
8055
8037
|
/**
|
|
8056
|
-
* The average execution time threshold of slow query
|
|
8038
|
+
* The average execution time threshold of slow query in microseconds
|
|
8057
8039
|
* @type {number || null}
|
|
8058
8040
|
*/
|
|
8059
8041
|
this.MinQueryTime = null;
|
|
8060
8042
|
|
|
8061
8043
|
/**
|
|
8062
|
-
* Number of slow queries displayed per page. Default value: `20`.
|
|
8044
|
+
* Number of slow queries displayed per page. Default value: `20`. Value range: [20,1000].
|
|
8063
8045
|
* @type {number || null}
|
|
8064
8046
|
*/
|
|
8065
8047
|
this.Limit = null;
|
|
8066
8048
|
|
|
8067
8049
|
/**
|
|
8068
|
-
* Slow query offset, which is an integral multiple of `Limit`.
|
|
8050
|
+
* Slow query offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).
|
|
8069
8051
|
* @type {number || null}
|
|
8070
8052
|
*/
|
|
8071
8053
|
this.Offset = null;
|
|
@@ -8133,7 +8115,7 @@ class DescribeAutoBackupConfigRequest extends AbstractModel {
|
|
|
8133
8115
|
super();
|
|
8134
8116
|
|
|
8135
8117
|
/**
|
|
8136
|
-
*
|
|
8118
|
+
* ID of the specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
8137
8119
|
* @type {string || null}
|
|
8138
8120
|
*/
|
|
8139
8121
|
this.InstanceId = null;
|
|
@@ -8457,19 +8439,19 @@ class ManualBackupInstanceRequest extends AbstractModel {
|
|
|
8457
8439
|
super();
|
|
8458
8440
|
|
|
8459
8441
|
/**
|
|
8460
|
-
* ID of
|
|
8442
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
8461
8443
|
* @type {string || null}
|
|
8462
8444
|
*/
|
|
8463
8445
|
this.InstanceId = null;
|
|
8464
8446
|
|
|
8465
8447
|
/**
|
|
8466
|
-
*
|
|
8448
|
+
* Remarks for manual backup task
|
|
8467
8449
|
* @type {string || null}
|
|
8468
8450
|
*/
|
|
8469
8451
|
this.Remark = null;
|
|
8470
8452
|
|
|
8471
8453
|
/**
|
|
8472
|
-
* Retention
|
|
8454
|
+
* Retention period of backup data in days. Default value: 7 days. Value range: [0,1825]. If the value exceeds 7 days, [submit a ticket](https://console.cloud.tencent.com/workorder/category) for application. - If this parameter is not configured, it will set to be the same as the period of automatic backup retention. - If automatic backup is not set, the default value will be 7 days.
|
|
8473
8455
|
* @type {number || null}
|
|
8474
8456
|
*/
|
|
8475
8457
|
this.StorageDays = null;
|
|
@@ -9688,19 +9670,19 @@ class DescribeInstanceNodeInfoRequest extends AbstractModel {
|
|
|
9688
9670
|
super();
|
|
9689
9671
|
|
|
9690
9672
|
/**
|
|
9691
|
-
*
|
|
9673
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
9692
9674
|
* @type {string || null}
|
|
9693
9675
|
*/
|
|
9694
9676
|
this.InstanceId = null;
|
|
9695
9677
|
|
|
9696
9678
|
/**
|
|
9697
|
-
* List size
|
|
9679
|
+
* List size Size of node information returned per page. Default value: `20`. Maximum value: `1000`. This field has been disused.
|
|
9698
9680
|
* @type {number || null}
|
|
9699
9681
|
*/
|
|
9700
9682
|
this.Limit = null;
|
|
9701
9683
|
|
|
9702
9684
|
/**
|
|
9703
|
-
*
|
|
9685
|
+
* Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1). This field has been disused.
|
|
9704
9686
|
* @type {number || null}
|
|
9705
9687
|
*/
|
|
9706
9688
|
this.Offset = null;
|
|
@@ -9764,25 +9746,25 @@ class InstanceClusterNode extends AbstractModel {
|
|
|
9764
9746
|
this.Name = null;
|
|
9765
9747
|
|
|
9766
9748
|
/**
|
|
9767
|
-
* ID of the runtime node of
|
|
9749
|
+
* ID of the runtime node of an instance
|
|
9768
9750
|
* @type {string || null}
|
|
9769
9751
|
*/
|
|
9770
9752
|
this.RunId = null;
|
|
9771
9753
|
|
|
9772
9754
|
/**
|
|
9773
|
-
* Cluster role.
|
|
9755
|
+
* Cluster role. Valid values: - `0` (master) - `1` (replica)
|
|
9774
9756
|
* @type {number || null}
|
|
9775
9757
|
*/
|
|
9776
9758
|
this.Role = null;
|
|
9777
9759
|
|
|
9778
9760
|
/**
|
|
9779
|
-
* Node status.
|
|
9761
|
+
* Node status. Valid values: - `0` (read/write) - `1` (read) - `2` (backup)
|
|
9780
9762
|
* @type {number || null}
|
|
9781
9763
|
*/
|
|
9782
9764
|
this.Status = null;
|
|
9783
9765
|
|
|
9784
9766
|
/**
|
|
9785
|
-
* Service status.
|
|
9767
|
+
* Service status. Valid values: `0` (down), `1` (on).
|
|
9786
9768
|
* @type {number || null}
|
|
9787
9769
|
*/
|
|
9788
9770
|
this.Connected = null;
|
|
@@ -9800,7 +9782,7 @@ class InstanceClusterNode extends AbstractModel {
|
|
|
9800
9782
|
this.DownTime = null;
|
|
9801
9783
|
|
|
9802
9784
|
/**
|
|
9803
|
-
*
|
|
9785
|
+
* Node slot distribution range
|
|
9804
9786
|
* @type {string || null}
|
|
9805
9787
|
*/
|
|
9806
9788
|
this.Slots = null;
|
|
@@ -9812,13 +9794,13 @@ class InstanceClusterNode extends AbstractModel {
|
|
|
9812
9794
|
this.Keys = null;
|
|
9813
9795
|
|
|
9814
9796
|
/**
|
|
9815
|
-
* Node QPS
|
|
9797
|
+
* Node QPS Number of executions per second on sharded nodes Unit: Counts/sec
|
|
9816
9798
|
* @type {number || null}
|
|
9817
9799
|
*/
|
|
9818
9800
|
this.Qps = null;
|
|
9819
9801
|
|
|
9820
9802
|
/**
|
|
9821
|
-
*
|
|
9803
|
+
* QPS slope of a node
|
|
9822
9804
|
* @type {number || null}
|
|
9823
9805
|
*/
|
|
9824
9806
|
this.QpsSlope = null;
|
|
@@ -10002,31 +9984,32 @@ class DescribeProxySlowLogRequest extends AbstractModel {
|
|
|
10002
9984
|
super();
|
|
10003
9985
|
|
|
10004
9986
|
/**
|
|
10005
|
-
*
|
|
9987
|
+
* ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
|
9988
|
+
|
|
10006
9989
|
* @type {string || null}
|
|
10007
9990
|
*/
|
|
10008
9991
|
this.InstanceId = null;
|
|
10009
9992
|
|
|
10010
9993
|
/**
|
|
10011
|
-
* Start time
|
|
9994
|
+
* Start time of slow query
|
|
10012
9995
|
* @type {string || null}
|
|
10013
9996
|
*/
|
|
10014
9997
|
this.BeginTime = null;
|
|
10015
9998
|
|
|
10016
9999
|
/**
|
|
10017
|
-
* End time
|
|
10000
|
+
* End time of slow query
|
|
10018
10001
|
* @type {string || null}
|
|
10019
10002
|
*/
|
|
10020
10003
|
this.EndTime = null;
|
|
10021
10004
|
|
|
10022
10005
|
/**
|
|
10023
|
-
* Slow query threshold
|
|
10006
|
+
* Slow query threshold in milliseconds
|
|
10024
10007
|
* @type {number || null}
|
|
10025
10008
|
*/
|
|
10026
10009
|
this.MinQueryTime = null;
|
|
10027
10010
|
|
|
10028
10011
|
/**
|
|
10029
|
-
*
|
|
10012
|
+
* Number of results per page. Default value: `20`. Value range: [20,1000].
|
|
10030
10013
|
* @type {number || null}
|
|
10031
10014
|
*/
|
|
10032
10015
|
this.Limit = null;
|
|
@@ -10150,15 +10133,15 @@ class DescribeInstanceAccountResponse extends AbstractModel {
|
|
|
10150
10133
|
super();
|
|
10151
10134
|
|
|
10152
10135
|
/**
|
|
10153
|
-
* Account details
|
|
10154
|
-
Note:
|
|
10136
|
+
* Account details
|
|
10137
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10155
10138
|
* @type {Array.<Account> || null}
|
|
10156
10139
|
*/
|
|
10157
10140
|
this.Accounts = null;
|
|
10158
10141
|
|
|
10159
10142
|
/**
|
|
10160
|
-
* Number of accounts
|
|
10161
|
-
Note:
|
|
10143
|
+
* Number of accounts
|
|
10144
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10162
10145
|
* @type {number || null}
|
|
10163
10146
|
*/
|
|
10164
10147
|
this.TotalCount = null;
|
|
@@ -10444,7 +10427,7 @@ class DescribeInstanceParamsResponse extends AbstractModel {
|
|
|
10444
10427
|
super();
|
|
10445
10428
|
|
|
10446
10429
|
/**
|
|
10447
|
-
*
|
|
10430
|
+
* Total number of the parameter lists
|
|
10448
10431
|
* @type {number || null}
|
|
10449
10432
|
*/
|
|
10450
10433
|
this.TotalCount = null;
|
|
@@ -10657,13 +10640,13 @@ class InstanceEnumParam extends AbstractModel {
|
|
|
10657
10640
|
this.ParamName = null;
|
|
10658
10641
|
|
|
10659
10642
|
/**
|
|
10660
|
-
* Parameter type
|
|
10643
|
+
* Parameter type, such as `Enum`.
|
|
10661
10644
|
* @type {string || null}
|
|
10662
10645
|
*/
|
|
10663
10646
|
this.ValueType = null;
|
|
10664
10647
|
|
|
10665
10648
|
/**
|
|
10666
|
-
* Whether restart
|
|
10649
|
+
* Whether to restart the database after modifying the parameters. Valid values: - `true` (required) - `false` (not required)
|
|
10667
10650
|
* @type {string || null}
|
|
10668
10651
|
*/
|
|
10669
10652
|
this.NeedRestart = null;
|
|
@@ -10681,19 +10664,19 @@ class InstanceEnumParam extends AbstractModel {
|
|
|
10681
10664
|
this.CurrentValue = null;
|
|
10682
10665
|
|
|
10683
10666
|
/**
|
|
10684
|
-
*
|
|
10667
|
+
* Description
|
|
10685
10668
|
* @type {string || null}
|
|
10686
10669
|
*/
|
|
10687
10670
|
this.Tips = null;
|
|
10688
10671
|
|
|
10689
10672
|
/**
|
|
10690
|
-
*
|
|
10673
|
+
* Acceptable values for the parameter
|
|
10691
10674
|
* @type {Array.<string> || null}
|
|
10692
10675
|
*/
|
|
10693
10676
|
this.EnumValue = null;
|
|
10694
10677
|
|
|
10695
10678
|
/**
|
|
10696
|
-
* Parameter status.
|
|
10679
|
+
* Parameter modification status. Valid values: - `1` (modifying) - `2` (modified)
|
|
10697
10680
|
* @type {number || null}
|
|
10698
10681
|
*/
|
|
10699
10682
|
this.Status = null;
|
|
@@ -10880,7 +10863,7 @@ class SecurityGroupDetail extends AbstractModel {
|
|
|
10880
10863
|
this.ProjectId = null;
|
|
10881
10864
|
|
|
10882
10865
|
/**
|
|
10883
|
-
*
|
|
10866
|
+
* Security group creation time
|
|
10884
10867
|
* @type {string || null}
|
|
10885
10868
|
*/
|
|
10886
10869
|
this.CreateTime = null;
|
|
@@ -10904,7 +10887,7 @@ class SecurityGroupDetail extends AbstractModel {
|
|
|
10904
10887
|
this.SecurityGroupRemark = null;
|
|
10905
10888
|
|
|
10906
10889
|
/**
|
|
10907
|
-
*
|
|
10890
|
+
* Inbound rules of the security group, which control the access source to the database.
|
|
10908
10891
|
* @type {Array.<SecurityGroupsInboundAndOutbound> || null}
|
|
10909
10892
|
*/
|
|
10910
10893
|
this.InboundRule = null;
|
|
@@ -11470,34 +11453,34 @@ class DescribeInstanceNodeInfoResponse extends AbstractModel {
|
|
|
11470
11453
|
this.ProxyCount = null;
|
|
11471
11454
|
|
|
11472
11455
|
/**
|
|
11473
|
-
* Proxy node information
|
|
11474
|
-
Note:
|
|
11456
|
+
* Proxy node information
|
|
11457
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11475
11458
|
* @type {Array.<ProxyNodes> || null}
|
|
11476
11459
|
*/
|
|
11477
11460
|
this.Proxy = null;
|
|
11478
11461
|
|
|
11479
11462
|
/**
|
|
11480
|
-
* The number of
|
|
11463
|
+
* The number of Redis nodes
|
|
11481
11464
|
* @type {number || null}
|
|
11482
11465
|
*/
|
|
11483
11466
|
this.RedisCount = null;
|
|
11484
11467
|
|
|
11485
11468
|
/**
|
|
11486
|
-
* Redis node information
|
|
11487
|
-
Note:
|
|
11469
|
+
* Redis node information
|
|
11470
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11488
11471
|
* @type {Array.<RedisNodes> || null}
|
|
11489
11472
|
*/
|
|
11490
11473
|
this.Redis = null;
|
|
11491
11474
|
|
|
11492
11475
|
/**
|
|
11493
|
-
*
|
|
11476
|
+
* This parameter has been disused.
|
|
11494
11477
|
* @type {number || null}
|
|
11495
11478
|
*/
|
|
11496
11479
|
this.TendisCount = null;
|
|
11497
11480
|
|
|
11498
11481
|
/**
|
|
11499
|
-
*
|
|
11500
|
-
Note:
|
|
11482
|
+
* This parameter has been disused.
|
|
11483
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11501
11484
|
* @type {Array.<TendisNodes> || null}
|
|
11502
11485
|
*/
|
|
11503
11486
|
this.Tendis = null;
|
|
@@ -274,7 +274,7 @@ class RedisClient extends AbstractClient {
|
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
|
-
* This API is used to query the list of
|
|
277
|
+
* This API is used to query the task list information of a specified instance.
|
|
278
278
|
* @param {DescribeTaskListRequest} req
|
|
279
279
|
* @param {function(string, DescribeTaskListResponse):void} cb
|
|
280
280
|
* @public
|
|
@@ -296,7 +296,7 @@ class RedisClient extends AbstractClient {
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
/**
|
|
299
|
-
* This API is used to
|
|
299
|
+
* This API is used to query the information of an instance sub-account.
|
|
300
300
|
* @param {DescribeInstanceAccountRequest} req
|
|
301
301
|
* @param {function(string, DescribeInstanceAccountResponse):void} cb
|
|
302
302
|
* @public
|
|
@@ -307,7 +307,7 @@ class RedisClient extends AbstractClient {
|
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
|
-
* This API is used to promote a replica node group
|
|
310
|
+
* This API is used to promote a replica node group to a master node group or a replica node to a master node for an instance.
|
|
311
311
|
* @param {ChangeReplicaToMasterRequest} req
|
|
312
312
|
* @param {function(string, ChangeReplicaToMasterResponse):void} cb
|
|
313
313
|
* @public
|
|
@@ -483,7 +483,7 @@ class RedisClient extends AbstractClient {
|
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
|
-
* This API is used to query instance node
|
|
486
|
+
* This API is used to query the information of an instance node.
|
|
487
487
|
* @param {DescribeInstanceNodeInfoRequest} req
|
|
488
488
|
* @param {function(string, DescribeInstanceNodeInfoResponse):void} cb
|
|
489
489
|
* @public
|
|
@@ -527,7 +527,7 @@ class RedisClient extends AbstractClient {
|
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
|
-
* This API is used to
|
|
530
|
+
* This API is used to set the configuration for an automatic backup.
|
|
531
531
|
* @param {ModifyAutoBackupConfigRequest} req
|
|
532
532
|
* @param {function(string, ModifyAutoBackupConfigResponse):void} cb
|
|
533
533
|
* @public
|
|
@@ -670,7 +670,7 @@ class RedisClient extends AbstractClient {
|
|
|
670
670
|
}
|
|
671
671
|
|
|
672
672
|
/**
|
|
673
|
-
* This API is used to query the list of instance
|
|
673
|
+
* This API is used to query the parameter list of an instance.
|
|
674
674
|
* @param {DescribeInstanceParamsRequest} req
|
|
675
675
|
* @param {function(string, DescribeInstanceParamsResponse):void} cb
|
|
676
676
|
* @public
|
|
@@ -923,7 +923,7 @@ class RedisClient extends AbstractClient {
|
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
/**
|
|
926
|
-
* This API is used to
|
|
926
|
+
* This API is used to simulate the failure.
|
|
927
927
|
* @param {KillMasterGroupRequest} req
|
|
928
928
|
* @param {function(string, KillMasterGroupResponse):void} cb
|
|
929
929
|
* @public
|
|
@@ -967,7 +967,7 @@ class RedisClient extends AbstractClient {
|
|
|
967
967
|
}
|
|
968
968
|
|
|
969
969
|
/**
|
|
970
|
-
* This API is used to query the Redis node
|
|
970
|
+
* This API is used to query the details of a Redis node.
|
|
971
971
|
* @param {DescribeInstanceZoneInfoRequest} req
|
|
972
972
|
* @param {function(string, DescribeInstanceZoneInfoResponse):void} cb
|
|
973
973
|
* @public
|
|
@@ -1022,7 +1022,7 @@ class RedisClient extends AbstractClient {
|
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
/**
|
|
1025
|
-
* This API is used to get the information of
|
|
1025
|
+
* This API is used to get the shard information of the instance on cluster architecture.
|
|
1026
1026
|
* @param {DescribeInstanceShardsRequest} req
|
|
1027
1027
|
* @param {function(string, DescribeInstanceShardsResponse):void} cb
|
|
1028
1028
|
* @public
|
|
@@ -1066,7 +1066,7 @@ class RedisClient extends AbstractClient {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
1068
|
/**
|
|
1069
|
-
* This API is used to get the backup
|
|
1069
|
+
* This API is used to get the configuration rules for an automatic backup.
|
|
1070
1070
|
* @param {DescribeAutoBackupConfigRequest} req
|
|
1071
1071
|
* @param {function(string, DescribeAutoBackupConfigResponse):void} cb
|
|
1072
1072
|
* @public
|
|
@@ -164,6 +164,12 @@ class Trigger extends AbstractModel {
|
|
|
164
164
|
*/
|
|
165
165
|
this.Qualifier = null;
|
|
166
166
|
|
|
167
|
+
/**
|
|
168
|
+
* Trigger description
|
|
169
|
+
* @type {string || null}
|
|
170
|
+
*/
|
|
171
|
+
this.Description = null;
|
|
172
|
+
|
|
167
173
|
}
|
|
168
174
|
|
|
169
175
|
/**
|
|
@@ -185,6 +191,7 @@ class Trigger extends AbstractModel {
|
|
|
185
191
|
this.BindStatus = 'BindStatus' in params ? params.BindStatus : null;
|
|
186
192
|
this.TriggerAttribute = 'TriggerAttribute' in params ? params.TriggerAttribute : null;
|
|
187
193
|
this.Qualifier = 'Qualifier' in params ? params.Qualifier : null;
|
|
194
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
188
195
|
|
|
189
196
|
}
|
|
190
197
|
}
|
|
@@ -2553,6 +2560,12 @@ class CreateTriggerRequest extends AbstractModel {
|
|
|
2553
2560
|
*/
|
|
2554
2561
|
this.CustomArgument = null;
|
|
2555
2562
|
|
|
2563
|
+
/**
|
|
2564
|
+
* Trigger description
|
|
2565
|
+
* @type {string || null}
|
|
2566
|
+
*/
|
|
2567
|
+
this.Description = null;
|
|
2568
|
+
|
|
2556
2569
|
}
|
|
2557
2570
|
|
|
2558
2571
|
/**
|
|
@@ -2570,6 +2583,7 @@ class CreateTriggerRequest extends AbstractModel {
|
|
|
2570
2583
|
this.Qualifier = 'Qualifier' in params ? params.Qualifier : null;
|
|
2571
2584
|
this.Enable = 'Enable' in params ? params.Enable : null;
|
|
2572
2585
|
this.CustomArgument = 'CustomArgument' in params ? params.CustomArgument : null;
|
|
2586
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
2573
2587
|
|
|
2574
2588
|
}
|
|
2575
2589
|
}
|
|
@@ -2987,6 +3001,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2987
3001
|
*/
|
|
2988
3002
|
this.TriggerAttribute = null;
|
|
2989
3003
|
|
|
3004
|
+
/**
|
|
3005
|
+
* Description of a custom trigger
|
|
3006
|
+
Note: This parameter may return null, indicating that no valid values can be obtained.
|
|
3007
|
+
* @type {string || null}
|
|
3008
|
+
*/
|
|
3009
|
+
this.Description = null;
|
|
3010
|
+
|
|
2990
3011
|
}
|
|
2991
3012
|
|
|
2992
3013
|
/**
|
|
@@ -3008,6 +3029,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3008
3029
|
this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
|
|
3009
3030
|
this.BindStatus = 'BindStatus' in params ? params.BindStatus : null;
|
|
3010
3031
|
this.TriggerAttribute = 'TriggerAttribute' in params ? params.TriggerAttribute : null;
|
|
3032
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
3011
3033
|
|
|
3012
3034
|
}
|
|
3013
3035
|
}
|
|
@@ -3239,7 +3261,8 @@ class PublishVersionResponse extends AbstractModel {
|
|
|
3239
3261
|
this.Timeout = null;
|
|
3240
3262
|
|
|
3241
3263
|
/**
|
|
3242
|
-
* Function running environment
|
|
3264
|
+
* Function running environment
|
|
3265
|
+
Note: This parameter may return null, indicating that no valid values can be obtained.
|
|
3243
3266
|
* @type {string || null}
|
|
3244
3267
|
*/
|
|
3245
3268
|
this.Runtime = null;
|
|
@@ -5233,8 +5256,9 @@ class ListTriggersRequest extends AbstractModel {
|
|
|
5233
5256
|
this.Order = null;
|
|
5234
5257
|
|
|
5235
5258
|
/**
|
|
5236
|
-
* * Qualifier:
|
|
5237
|
-
|
|
5259
|
+
* * Qualifier: Version/Alias of trigger function
|
|
5260
|
+
*TriggerName: Name of the trigger
|
|
5261
|
+
*Description: Function trigger description
|
|
5238
5262
|
* @type {Array.<Filter> || null}
|
|
5239
5263
|
*/
|
|
5240
5264
|
this.Filters = null;
|
|
@@ -5448,7 +5472,8 @@ class Function extends AbstractModel {
|
|
|
5448
5472
|
this.AddTime = null;
|
|
5449
5473
|
|
|
5450
5474
|
/**
|
|
5451
|
-
*
|
|
5475
|
+
* Runtime
|
|
5476
|
+
Note: This parameter may return null, indicating that no valid values can be obtained.
|
|
5452
5477
|
* @type {string || null}
|
|
5453
5478
|
*/
|
|
5454
5479
|
this.Runtime = null;
|