tencentcloud-sdk-nodejs-intl-en 3.0.1235 → 3.0.1236
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/common/sdk_version.js +1 -1
- package/tencentcloud/emr/v20190103/emr_client.js +1 -0
- package/tencentcloud/emr/v20190103/models.js +186 -0
- package/tencentcloud/postgres/v20170312/models.js +25 -11
- package/tencentcloud/redis/v20180412/models.js +663 -393
- package/tencentcloud/redis/v20180412/redis_client.js +54 -14
- package/tencentcloud/trtc/v20190722/models.js +843 -152
- package/tencentcloud/trtc/v20190722/trtc_client.js +89 -27
|
@@ -67,6 +67,34 @@ class UpgradeProxyVersionRequest extends AbstractModel {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
/**
|
|
71
|
+
* RemoveReplicationGroup request structure.
|
|
72
|
+
* @class
|
|
73
|
+
*/
|
|
74
|
+
class RemoveReplicationGroupRequest extends AbstractModel {
|
|
75
|
+
constructor(){
|
|
76
|
+
super();
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Replication group ID.
|
|
80
|
+
* @type {string || null}
|
|
81
|
+
*/
|
|
82
|
+
this.GroupId = null;
|
|
83
|
+
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @private
|
|
88
|
+
*/
|
|
89
|
+
deserialize(params) {
|
|
90
|
+
if (!params) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
94
|
+
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
70
98
|
/**
|
|
71
99
|
* UpgradeSmallVersion request structure.
|
|
72
100
|
* @class
|
|
@@ -299,21 +327,18 @@ class RedisBackupSet extends AbstractModel {
|
|
|
299
327
|
|
|
300
328
|
/**
|
|
301
329
|
* Internal field, which can be ignored.
|
|
302
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
303
330
|
* @type {number || null}
|
|
304
331
|
*/
|
|
305
332
|
this.BackupSize = null;
|
|
306
333
|
|
|
307
334
|
/**
|
|
308
335
|
* Internal field, which can be ignored.
|
|
309
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
310
336
|
* @type {number || null}
|
|
311
337
|
*/
|
|
312
338
|
this.FullBackup = null;
|
|
313
339
|
|
|
314
340
|
/**
|
|
315
341
|
* Internal field, which can be ignored.
|
|
316
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
317
342
|
* @type {number || null}
|
|
318
343
|
*/
|
|
319
344
|
this.InstanceType = null;
|
|
@@ -694,7 +719,8 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
694
719
|
|
|
695
720
|
/**
|
|
696
721
|
* Instance type.
|
|
697
|
-
|
|
722
|
+
|
|
723
|
+
<ul><li>2: Redis 2.8 memory edition (standard architecture).</li><li>3: CKV 3.2 memory edition (standard architecture).</li><li>4: CKV 3.2 memory edition (cluster architecture).</li><li>6: Redis 4.0 memory edition (standard architecture).</li><li>7: Redis 4.0 memory edition (cluster architecture).</li><li>8: Redis 5.0 memory edition (standard architecture).</li><li>9: Redis 5.0 memory edition (cluster architecture).</li><li>15: Redis 6.2 memory edition (standard architecture).</li><li>16: Redis 6.2 memory edition (cluster architecture).</li><li>17: Redis 7.0 memory edition (standard architecture).</li><li>18: Redis 7.0 memory edition (cluster architecture).</li><li>200: Memcached 1.6 memory edition (cluster architecture).</li>Note: CKV editions are currently used by some users and are temporarily retained.</ul>
|
|
698
724
|
* @type {number || null}
|
|
699
725
|
*/
|
|
700
726
|
this.TypeId = null;
|
|
@@ -734,10 +760,10 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
734
760
|
this.ZoneId = null;
|
|
735
761
|
|
|
736
762
|
/**
|
|
737
|
-
*
|
|
738
|
-
-
|
|
739
|
-
-
|
|
740
|
-
- When the instance type parameter **TypeId** is set to CKV 3.2
|
|
763
|
+
* Instance access password.
|
|
764
|
+
- If the input parameter **NoAuth** is set to **true**, indicating that instance access requires no password, Password does not need to be specified. Otherwise, Password is required.
|
|
765
|
+
- If the instance type (**TypeId**) is Redis 2.8 memory edition standard architecture or Redis 4.0/5.0/6.2/7.0 memory edition standard architecture or cluster architecture, the password complexity requirements are as follows: It should contain 8 to 64 characters but cannot start with a forward slash (/). It should contain at least two types of the following characters: lowercase letters, uppercase letters, digits, and special characters: ()`~!@#$%^&*-+=_|{}[]:;<>,.?/
|
|
766
|
+
- When the instance type parameter **TypeId** is set to CKV 3.2 memory edition (standard architecture or cluster architecture), the password should contain 8 to 30 characters, including only letters and digits.
|
|
741
767
|
* @type {string || null}
|
|
742
768
|
*/
|
|
743
769
|
this.Password = null;
|
|
@@ -858,10 +884,10 @@ Node information of an instance. Currently, information about the node type (mas
|
|
|
858
884
|
this.DryRun = null;
|
|
859
885
|
|
|
860
886
|
/**
|
|
861
|
-
*
|
|
862
|
-
-
|
|
863
|
-
-
|
|
864
|
-
-
|
|
887
|
+
* Specifies the instance deployment mode.
|
|
888
|
+
- local: traditional architecture. It is the default value.
|
|
889
|
+
- cdc: dedicated cluster.
|
|
890
|
+
- cloud: cloud native. Currently, this mode is unavailable.
|
|
865
891
|
* @type {string || null}
|
|
866
892
|
*/
|
|
867
893
|
this.ProductVersion = null;
|
|
@@ -1412,18 +1438,37 @@ class ModifyInstancePasswordResponse extends AbstractModel {
|
|
|
1412
1438
|
}
|
|
1413
1439
|
|
|
1414
1440
|
/**
|
|
1415
|
-
*
|
|
1441
|
+
* DescribeSecondLevelBackupInfo response structure.
|
|
1416
1442
|
* @class
|
|
1417
1443
|
*/
|
|
1418
|
-
class
|
|
1444
|
+
class DescribeSecondLevelBackupInfoResponse extends AbstractModel {
|
|
1419
1445
|
constructor(){
|
|
1420
1446
|
super();
|
|
1421
1447
|
|
|
1422
1448
|
/**
|
|
1423
|
-
*
|
|
1449
|
+
* Backup record ID.
|
|
1450
|
+
* @type {string || null}
|
|
1451
|
+
*/
|
|
1452
|
+
this.BackupId = null;
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* Backup timestamp.
|
|
1424
1456
|
* @type {number || null}
|
|
1425
1457
|
*/
|
|
1426
|
-
this.
|
|
1458
|
+
this.BackupTimestamp = null;
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* Timestamp range within which backup is missing.
|
|
1462
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
1463
|
+
* @type {Array.<SecondLevelBackupMissingTimestamps> || null}
|
|
1464
|
+
*/
|
|
1465
|
+
this.MissingTimestamps = null;
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* Timestamp when second-level backup is enabled for the instance.
|
|
1469
|
+
* @type {number || null}
|
|
1470
|
+
*/
|
|
1471
|
+
this.StartTimestamp = null;
|
|
1427
1472
|
|
|
1428
1473
|
/**
|
|
1429
1474
|
* 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.
|
|
@@ -1440,7 +1485,18 @@ class KillMasterGroupResponse extends AbstractModel {
|
|
|
1440
1485
|
if (!params) {
|
|
1441
1486
|
return;
|
|
1442
1487
|
}
|
|
1443
|
-
this.
|
|
1488
|
+
this.BackupId = 'BackupId' in params ? params.BackupId : null;
|
|
1489
|
+
this.BackupTimestamp = 'BackupTimestamp' in params ? params.BackupTimestamp : null;
|
|
1490
|
+
|
|
1491
|
+
if (params.MissingTimestamps) {
|
|
1492
|
+
this.MissingTimestamps = new Array();
|
|
1493
|
+
for (let z in params.MissingTimestamps) {
|
|
1494
|
+
let obj = new SecondLevelBackupMissingTimestamps();
|
|
1495
|
+
obj.deserialize(params.MissingTimestamps[z]);
|
|
1496
|
+
this.MissingTimestamps.push(obj);
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
this.StartTimestamp = 'StartTimestamp' in params ? params.StartTimestamp : null;
|
|
1444
1500
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1445
1501
|
|
|
1446
1502
|
}
|
|
@@ -1502,7 +1558,7 @@ class DescribeSlowLogResponse extends AbstractModel {
|
|
|
1502
1558
|
this.InstanceSlowlogDetail = null;
|
|
1503
1559
|
|
|
1504
1560
|
/**
|
|
1505
|
-
*
|
|
1561
|
+
* Slow query details. Note: If the value of TotalCount is greater than 10,000, indicating that the number of slow logs exceeds 10,000, log details cannot be returned. Instead, the returned data is empty. It is recommended to reduce the interval between BeginTime and EndTime and perform multiple queries.
|
|
1506
1562
|
* @type {Array.<InstanceSlowlogDetail> || null}
|
|
1507
1563
|
*/
|
|
1508
1564
|
this.InstanceSlowLogDetail = null;
|
|
@@ -1998,15 +2054,13 @@ class TaskInfoDetail extends AbstractModel {
|
|
|
1998
2054
|
super();
|
|
1999
2055
|
|
|
2000
2056
|
/**
|
|
2001
|
-
* Task ID
|
|
2002
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2057
|
+
* Task ID.
|
|
2003
2058
|
* @type {number || null}
|
|
2004
2059
|
*/
|
|
2005
2060
|
this.TaskId = null;
|
|
2006
2061
|
|
|
2007
2062
|
/**
|
|
2008
|
-
* Task start time
|
|
2009
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2063
|
+
* Task start time.
|
|
2010
2064
|
* @type {string || null}
|
|
2011
2065
|
*/
|
|
2012
2066
|
this.StartTime = null;
|
|
@@ -2014,104 +2068,104 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
|
2014
2068
|
/**
|
|
2015
2069
|
* Task type.
|
|
2016
2070
|
|
|
2017
|
-
- FLOW_CREATE: "001"
|
|
2018
|
-
- FLOW_RESIZE: "002"
|
|
2019
|
-
- FLOW_CLOSE: "003"
|
|
2020
|
-
- FLOW_CLEAN: "004"
|
|
2021
|
-
- FLOW_STARTUP: "005"
|
|
2022
|
-
- FLOW_DELETE: "006"
|
|
2023
|
-
- FLOW_SETPWD: "007"
|
|
2024
|
-
- FLOW_EXPORTBACKUP: "009"
|
|
2025
|
-
- FLOW_RESTOREBACKUP: "010"
|
|
2026
|
-
- FLOW_BACKUPINSTANCE: "012"
|
|
2027
|
-
- FLOW_MIGRATEINSTANCE: "013"
|
|
2028
|
-
- FLOW_DELBACKUP: "014"
|
|
2029
|
-
- FLOW_EXCHANGEINSTANCE: "016"
|
|
2030
|
-
- FLOW_AUTOBACKUP: "017"
|
|
2031
|
-
- FLOW_MIGRATECHECK: "022"
|
|
2032
|
-
- FLOW_MIGRATETASK: "023"
|
|
2033
|
-
- FLOW_CLEANDB: "025"
|
|
2034
|
-
- FLOW_CLONEBACKUP: "026"
|
|
2035
|
-
- FLOW_CHANGEVIP: "027"
|
|
2036
|
-
- FLOW_EXPORSHR: "028"
|
|
2037
|
-
- FLOW_ADDNODES: "029"
|
|
2038
|
-
- FLOW_CHANGENET: "031"
|
|
2039
|
-
- FLOW_MODIFYINSTACEREADONLY: "033"
|
|
2040
|
-
- FLOW_MODIFYINSTANCEPARAMS: "034"
|
|
2041
|
-
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035"
|
|
2042
|
-
- FLOW_SWITCHINSTANCEVIP: "036"
|
|
2043
|
-
- FLOW_MODIFYINSTANCEACCOUNT: "037"
|
|
2044
|
-
- FLOW_MODIFYINSTANCEBANDWIDTH: "038"
|
|
2045
|
-
- FLOW_ENABLEINSTANCE_REPLICATE: "039"
|
|
2046
|
-
- FLOW_DISABLEINSTANCE_REPLICATE: "040"
|
|
2047
|
-
- FLOW_UpgradeArch: "041"
|
|
2048
|
-
- FLOW_DowngradeArch: "042"
|
|
2049
|
-
- FLOW_UpgradeVersion: "043"
|
|
2050
|
-
- FLOW_MODIFYCONNECTIONCONFIG: "044"
|
|
2051
|
-
- FLOW_CLEARNETWORK: "045"
|
|
2052
|
-
- FLOW_REMOVE_BACKUP_FILE: "046"
|
|
2053
|
-
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047"
|
|
2054
|
-
- FLOW_SHUTDOWN_MASTER: "048"
|
|
2055
|
-
- FLOW_CHANGE_REPLICA_TO_MASTER: "049"
|
|
2056
|
-
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050"
|
|
2057
|
-
- FLOW_OPEN_WAN: "052"
|
|
2058
|
-
- FLOW_CLOSE_WAN: "053"
|
|
2059
|
-
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055"
|
|
2060
|
-
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056"
|
|
2061
|
-
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057"
|
|
2062
|
-
- FLOW_MIGRATE_NODE: "058"
|
|
2063
|
-
- FLOW_SWITCH_NODE: "059"
|
|
2064
|
-
- FLOW_UPGRADE_SMALL_VERSION: "060"
|
|
2065
|
-
- FLOW_UPGRADE_PROXY_VERSION: "061"
|
|
2066
|
-
- FLOW_MODIFY_INSTANCE_NETWORK: "062"
|
|
2067
|
-
- FLOW_MIGRATE_PROXY_NODE: "063"
|
|
2068
|
-
- FLOW_MIGRATION_INSTANCE_ZONE: "066"
|
|
2069
|
-
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067"
|
|
2070
|
-
- FLOW_MODIFY_PROXY_NUM: "069"
|
|
2071
|
-
- FLOW_MODIFYBACKUPMOD: "070"
|
|
2072
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
2071
|
+
- FLOW_CREATE: "001", indicating instance creation.
|
|
2072
|
+
- FLOW_RESIZE: "002", indicating configuration modification.
|
|
2073
|
+
- FLOW_CLOSE: "003", indicating instance disabling.
|
|
2074
|
+
- FLOW_CLEAN: "004", indicating instance cleanup.
|
|
2075
|
+
- FLOW_STARTUP: "005", indicating instance enabling.
|
|
2076
|
+
- FLOW_DELETE: "006", indicating instance deletion.
|
|
2077
|
+
- FLOW_SETPWD: "007", indicating password reset.
|
|
2078
|
+
- FLOW_EXPORTBACKUP: "009", indicating backup file export.
|
|
2079
|
+
- FLOW_RESTOREBACKUP: "010", indicating backup restoration.
|
|
2080
|
+
- FLOW_BACKUPINSTANCE: "012", indicating instance backup.
|
|
2081
|
+
- FLOW_MIGRATEINSTANCE: "013", indicating instance migration.
|
|
2082
|
+
- FLOW_DELBACKUP: "014", indicating backup deletion.
|
|
2083
|
+
- FLOW_EXCHANGEINSTANCE: "016", indicating instance switch.
|
|
2084
|
+
- FLOW_AUTOBACKUP: "017", indicating automatic instance backup.
|
|
2085
|
+
- FLOW_MIGRATECHECK: "022", indicating migration parameter verification.
|
|
2086
|
+
- FLOW_MIGRATETASK: "023", indicating that data migration is in progress.
|
|
2087
|
+
- FLOW_CLEANDB: "025", indicating database cleanup.
|
|
2088
|
+
- FLOW_CLONEBACKUP: "026": indicating backup cloning.
|
|
2089
|
+
- FLOW_CHANGEVIP: "027", indicating VIP address modification.
|
|
2090
|
+
- FLOW_EXPORSHR: "028", indicating scaling.
|
|
2091
|
+
- FLOW_ADDNODES: "029", indicating node addition (removal).
|
|
2092
|
+
- FLOW_CHANGENET: "031", indicating network type modification.
|
|
2093
|
+
- FLOW_MODIFYINSTACEREADONLY: "033": indicating read-only policy modification.
|
|
2094
|
+
- FLOW_MODIFYINSTANCEPARAMS: "034", indicating instance parameter modification.
|
|
2095
|
+
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035", indicating password-free access settings.
|
|
2096
|
+
- FLOW_SWITCHINSTANCEVIP: "036", indicating instance VIP address switch.
|
|
2097
|
+
- FLOW_MODIFYINSTANCEACCOUNT: "037", indicating instance account modification.
|
|
2098
|
+
- FLOW_MODIFYINSTANCEBANDWIDTH: "038", indicating instance bandwidth modification.
|
|
2099
|
+
- FLOW_ENABLEINSTANCE_REPLICATE: "039", indicating enabling of read-only replica.
|
|
2100
|
+
- FLOW_DISABLEINSTANCE_REPLICATE: "040", indicating disabling of read-only replica.
|
|
2101
|
+
- FLOW_UpgradeArch: "041", indicating instance architecture upgrade from the standard architecture to the cluster architecture.
|
|
2102
|
+
- FLOW_DowngradeArch: "042", indicating instance architecture downgrade from the cluster architecture to the standard architecture.
|
|
2103
|
+
- FLOW_UpgradeVersion: "043", indicating version upgrade.
|
|
2104
|
+
- FLOW_MODIFYCONNECTIONCONFIG: "044", indicating adjustment of the bandwidth and the number of connections.
|
|
2105
|
+
- FLOW_CLEARNETWORK: "045", indicating network change.
|
|
2106
|
+
- FLOW_REMOVE_BACKUP_FILE: "046", indicating backup deletion.
|
|
2107
|
+
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047", indicating instance upgrade to multi-AZ deployment.
|
|
2108
|
+
- FLOW_SHUTDOWN_MASTER: "048", indicating fault simulation.
|
|
2109
|
+
- FLOW_CHANGE_REPLICA_TO_MASTER: "049", indicating manual promotion to the primary node.
|
|
2110
|
+
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050", indicating replication group addition.
|
|
2111
|
+
- FLOW_OPEN_WAN: "052", indicating enabling of public network access.
|
|
2112
|
+
- FLOW_CLOSE_WAN: "053", indicating disabling of public network access.
|
|
2113
|
+
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055", indicating replication group unbinding.
|
|
2114
|
+
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056", indicating switching a replication group instance to the primary instance.
|
|
2115
|
+
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057", indicating modification of the replication group instance role.
|
|
2116
|
+
- FLOW_MIGRATE_NODE: "058", indicating node migration.
|
|
2117
|
+
- FLOW_SWITCH_NODE: "059", indicating node switch.
|
|
2118
|
+
- FLOW_UPGRADE_SMALL_VERSION: "060", indicating Redis version upgrade.
|
|
2119
|
+
- FLOW_UPGRADE_PROXY_VERSION: "061", indicating proxy version upgrade.
|
|
2120
|
+
- FLOW_MODIFY_INSTANCE_NETWORK: "062", indicating instance network modification.
|
|
2121
|
+
- FLOW_MIGRATE_PROXY_NODE: "063", indicating proxy node migration.
|
|
2122
|
+
- FLOW_MIGRATION_INSTANCE_ZONE: "066", indicating that instance migration to another AZ is in progress.
|
|
2123
|
+
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067", indicating that instance version upgrade is in progress.
|
|
2124
|
+
- FLOW_MODIFY_PROXY_NUM: "069", indicating proxy node addition (removal).
|
|
2125
|
+
- FLOW_MODIFYBACKUPMOD: "070", indicating instance backup mode modification.
|
|
2073
2126
|
* @type {string || null}
|
|
2074
2127
|
*/
|
|
2075
2128
|
this.TaskType = null;
|
|
2076
2129
|
|
|
2077
2130
|
/**
|
|
2078
|
-
* Instance name
|
|
2079
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2131
|
+
* Instance name.
|
|
2080
2132
|
* @type {string || null}
|
|
2081
2133
|
*/
|
|
2082
2134
|
this.InstanceName = null;
|
|
2083
2135
|
|
|
2084
2136
|
/**
|
|
2085
|
-
* Instance ID
|
|
2086
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2137
|
+
* Instance ID.
|
|
2087
2138
|
* @type {string || null}
|
|
2088
2139
|
*/
|
|
2089
2140
|
this.InstanceId = null;
|
|
2090
2141
|
|
|
2091
2142
|
/**
|
|
2092
|
-
* Project ID
|
|
2093
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2143
|
+
* Project ID.
|
|
2094
2144
|
* @type {number || null}
|
|
2095
2145
|
*/
|
|
2096
2146
|
this.ProjectId = null;
|
|
2097
2147
|
|
|
2098
2148
|
/**
|
|
2099
|
-
* Task progress
|
|
2100
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2149
|
+
* Task progress.
|
|
2101
2150
|
* @type {number || null}
|
|
2102
2151
|
*/
|
|
2103
2152
|
this.Progress = null;
|
|
2104
2153
|
|
|
2105
2154
|
/**
|
|
2106
|
-
* Task end time
|
|
2107
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2155
|
+
* Task execution end time.
|
|
2108
2156
|
* @type {string || null}
|
|
2109
2157
|
*/
|
|
2110
2158
|
this.EndTime = null;
|
|
2111
2159
|
|
|
2112
2160
|
/**
|
|
2113
|
-
* Task execution status.
|
|
2114
|
-
|
|
2161
|
+
* Task execution status.
|
|
2162
|
+
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
0: initializing the task.
|
|
2166
|
+
1: executing.
|
|
2167
|
+
2. completed.
|
|
2168
|
+
4: failed.
|
|
2115
2169
|
* @type {number || null}
|
|
2116
2170
|
*/
|
|
2117
2171
|
this.Result = null;
|
|
@@ -2198,56 +2252,51 @@ class Account extends AbstractModel {
|
|
|
2198
2252
|
|
|
2199
2253
|
/**
|
|
2200
2254
|
* Instance ID.
|
|
2201
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
2202
2255
|
* @type {string || null}
|
|
2203
2256
|
*/
|
|
2204
2257
|
this.InstanceId = null;
|
|
2205
2258
|
|
|
2206
2259
|
/**
|
|
2207
2260
|
* Account name.
|
|
2208
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
2209
2261
|
* @type {string || null}
|
|
2210
2262
|
*/
|
|
2211
2263
|
this.AccountName = null;
|
|
2212
2264
|
|
|
2213
2265
|
/**
|
|
2214
2266
|
* Account description.
|
|
2215
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
2216
2267
|
* @type {string || null}
|
|
2217
2268
|
*/
|
|
2218
2269
|
this.Remark = null;
|
|
2219
2270
|
|
|
2220
2271
|
/**
|
|
2221
|
-
* Read/
|
|
2272
|
+
* Read/Write permission policy.
|
|
2222
2273
|
- r: read-only.
|
|
2223
|
-
|
|
2274
|
+
|
|
2275
|
+
- w: write-only.
|
|
2224
2276
|
- rw: read/write.
|
|
2225
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
2226
2277
|
* @type {string || null}
|
|
2227
2278
|
*/
|
|
2228
2279
|
this.Privilege = null;
|
|
2229
2280
|
|
|
2230
2281
|
/**
|
|
2231
2282
|
* Read-only routing policy.
|
|
2232
|
-
- master: primary node.
|
|
2233
|
-
- replication:
|
|
2234
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
2283
|
+
- master: primary node.
|
|
2284
|
+
- replication: replica node.
|
|
2235
2285
|
* @type {Array.<string> || null}
|
|
2236
2286
|
*/
|
|
2237
2287
|
this.ReadonlyPolicy = null;
|
|
2238
2288
|
|
|
2239
2289
|
/**
|
|
2240
2290
|
* Sub-account status.
|
|
2241
|
-
- 1:
|
|
2242
|
-
- 2: valid.
|
|
2243
|
-
- 4: deleted.
|
|
2244
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
2291
|
+
- 1: account under modification.
|
|
2292
|
+
- 2: valid account.
|
|
2293
|
+
- 4: account deleted.
|
|
2245
2294
|
* @type {number || null}
|
|
2246
2295
|
*/
|
|
2247
2296
|
this.Status = null;
|
|
2248
2297
|
|
|
2249
2298
|
/**
|
|
2250
|
-
* Creation time
|
|
2299
|
+
* Creation time
|
|
2251
2300
|
* @type {string || null}
|
|
2252
2301
|
*/
|
|
2253
2302
|
this.CreateTime = null;
|
|
@@ -2781,84 +2830,86 @@ class RedisInstanceEvent extends AbstractModel {
|
|
|
2781
2830
|
|
|
2782
2831
|
/**
|
|
2783
2832
|
* Event ID.
|
|
2784
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2785
2833
|
* @type {number || null}
|
|
2786
2834
|
*/
|
|
2787
2835
|
this.ID = null;
|
|
2788
2836
|
|
|
2789
2837
|
/**
|
|
2790
|
-
* Instance ID.
|
|
2838
|
+
* Instance ID.
|
|
2791
2839
|
* @type {string || null}
|
|
2792
2840
|
*/
|
|
2793
2841
|
this.InstanceId = null;
|
|
2794
2842
|
|
|
2795
2843
|
/**
|
|
2796
|
-
* Instance name.
|
|
2844
|
+
* Instance name.
|
|
2797
2845
|
* @type {string || null}
|
|
2798
2846
|
*/
|
|
2799
2847
|
this.InstanceName = null;
|
|
2800
2848
|
|
|
2801
2849
|
/**
|
|
2802
|
-
* Event type. Currently, the type can only be related to instance migration, resource movement, and IDC deletion. This parameter can be only
|
|
2850
|
+
* Event type. Currently, the type can only be related to instance migration, resource movement, and IDC deletion. This parameter can be set only to **InstanceMigration**.
|
|
2803
2851
|
* @type {string || null}
|
|
2804
2852
|
*/
|
|
2805
2853
|
this.Type = null;
|
|
2806
2854
|
|
|
2807
2855
|
/**
|
|
2808
|
-
* Event levels are divided into
|
|
2809
|
-
-
|
|
2810
|
-
-
|
|
2811
|
-
-
|
|
2812
|
-
|
|
2856
|
+
* Event level. The levels are divided into critical, important, medium, and general based on severity and urgency.
|
|
2857
|
+
- Critical: critical.
|
|
2858
|
+
- High: important.
|
|
2859
|
+
- Middle: medium.
|
|
2860
|
+
- Low.
|
|
2813
2861
|
* @type {string || null}
|
|
2814
2862
|
*/
|
|
2815
2863
|
this.Grade = null;
|
|
2816
2864
|
|
|
2817
2865
|
/**
|
|
2818
|
-
* Scheduled event execution date.
|
|
2866
|
+
* Scheduled event execution date.
|
|
2819
2867
|
* @type {string || null}
|
|
2820
2868
|
*/
|
|
2821
2869
|
this.ExecutionDate = null;
|
|
2822
2870
|
|
|
2823
2871
|
/**
|
|
2824
|
-
*
|
|
2872
|
+
* Start date of scheduled event execution.
|
|
2825
2873
|
* @type {string || null}
|
|
2826
2874
|
*/
|
|
2827
2875
|
this.StartTime = null;
|
|
2828
2876
|
|
|
2829
2877
|
/**
|
|
2830
|
-
*
|
|
2878
|
+
* End date of scheduled event execution.
|
|
2831
2879
|
* @type {string || null}
|
|
2832
2880
|
*/
|
|
2833
2881
|
this.EndTime = null;
|
|
2834
2882
|
|
|
2835
2883
|
/**
|
|
2836
|
-
*
|
|
2884
|
+
* Latest execution date of the Ops event. The event should be completed before this date. Otherwise, the business may be affected.
|
|
2837
2885
|
* @type {string || null}
|
|
2838
2886
|
*/
|
|
2839
2887
|
this.LatestExecutionDate = null;
|
|
2840
2888
|
|
|
2841
2889
|
/**
|
|
2842
|
-
* Current event status
|
|
2890
|
+
* Current event status.
|
|
2891
|
+
- Waiting: event not reached the execution date or not within the maintenance window.
|
|
2892
|
+
- Running: event within the maintenance window and under maintenance execution.
|
|
2893
|
+
- Finished: event with maintenance completed.
|
|
2894
|
+
- Canceled: Execution of the event is canceled.
|
|
2843
2895
|
* @type {string || null}
|
|
2844
2896
|
*/
|
|
2845
2897
|
this.Status = null;
|
|
2846
2898
|
|
|
2847
2899
|
/**
|
|
2848
2900
|
* Completion time of the event execution task.
|
|
2849
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2850
2901
|
* @type {string || null}
|
|
2851
2902
|
*/
|
|
2852
2903
|
this.TaskEndTime = null;
|
|
2853
2904
|
|
|
2854
2905
|
/**
|
|
2855
|
-
*
|
|
2906
|
+
* Event impact information.
|
|
2856
2907
|
* @type {string || null}
|
|
2857
2908
|
*/
|
|
2858
2909
|
this.EffectInfo = null;
|
|
2859
2910
|
|
|
2860
2911
|
/**
|
|
2861
|
-
* Initial scheduled execution date
|
|
2912
|
+
* Initial scheduled event execution date.
|
|
2862
2913
|
* @type {string || null}
|
|
2863
2914
|
*/
|
|
2864
2915
|
this.InitialExecutionDate = null;
|
|
@@ -3250,6 +3301,41 @@ class DescribeInstanceDealDetailRequest extends AbstractModel {
|
|
|
3250
3301
|
}
|
|
3251
3302
|
}
|
|
3252
3303
|
|
|
3304
|
+
/**
|
|
3305
|
+
* KillMasterGroup response structure.
|
|
3306
|
+
* @class
|
|
3307
|
+
*/
|
|
3308
|
+
class KillMasterGroupResponse extends AbstractModel {
|
|
3309
|
+
constructor(){
|
|
3310
|
+
super();
|
|
3311
|
+
|
|
3312
|
+
/**
|
|
3313
|
+
* Async task ID
|
|
3314
|
+
* @type {number || null}
|
|
3315
|
+
*/
|
|
3316
|
+
this.TaskId = null;
|
|
3317
|
+
|
|
3318
|
+
/**
|
|
3319
|
+
* 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.
|
|
3320
|
+
* @type {string || null}
|
|
3321
|
+
*/
|
|
3322
|
+
this.RequestId = null;
|
|
3323
|
+
|
|
3324
|
+
}
|
|
3325
|
+
|
|
3326
|
+
/**
|
|
3327
|
+
* @private
|
|
3328
|
+
*/
|
|
3329
|
+
deserialize(params) {
|
|
3330
|
+
if (!params) {
|
|
3331
|
+
return;
|
|
3332
|
+
}
|
|
3333
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
3334
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3335
|
+
|
|
3336
|
+
}
|
|
3337
|
+
}
|
|
3338
|
+
|
|
3253
3339
|
/**
|
|
3254
3340
|
* Running information of Redis nodes
|
|
3255
3341
|
* @class
|
|
@@ -3391,22 +3477,19 @@ class ParameterDetail extends AbstractModel {
|
|
|
3391
3477
|
this.NeedReboot = null;
|
|
3392
3478
|
|
|
3393
3479
|
/**
|
|
3394
|
-
* Maximum value
|
|
3395
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3480
|
+
* Maximum parameter value allowed.
|
|
3396
3481
|
* @type {string || null}
|
|
3397
3482
|
*/
|
|
3398
3483
|
this.Max = null;
|
|
3399
3484
|
|
|
3400
3485
|
/**
|
|
3401
|
-
* Minimum value
|
|
3402
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3486
|
+
* Minimum parameter value allowed.
|
|
3403
3487
|
* @type {string || null}
|
|
3404
3488
|
*/
|
|
3405
3489
|
this.Min = null;
|
|
3406
3490
|
|
|
3407
3491
|
/**
|
|
3408
|
-
*
|
|
3409
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3492
|
+
* Optional enumeration values of a parameter. For non-enumeration parameters, it is empty.
|
|
3410
3493
|
* @type {Array.<string> || null}
|
|
3411
3494
|
*/
|
|
3412
3495
|
this.EnumValue = null;
|
|
@@ -3797,8 +3880,7 @@ class DisableReplicaReadonlyResponse extends AbstractModel {
|
|
|
3797
3880
|
super();
|
|
3798
3881
|
|
|
3799
3882
|
/**
|
|
3800
|
-
* Task ID
|
|
3801
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3883
|
+
* Task ID.
|
|
3802
3884
|
* @type {number || null}
|
|
3803
3885
|
*/
|
|
3804
3886
|
this.TaskId = null;
|
|
@@ -3931,57 +4013,49 @@ class DescribeInstanceDTSInfoResponse extends AbstractModel {
|
|
|
3931
4013
|
super();
|
|
3932
4014
|
|
|
3933
4015
|
/**
|
|
3934
|
-
* DTS task ID
|
|
3935
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4016
|
+
* DTS task ID.
|
|
3936
4017
|
* @type {string || null}
|
|
3937
4018
|
*/
|
|
3938
4019
|
this.JobId = null;
|
|
3939
4020
|
|
|
3940
4021
|
/**
|
|
3941
|
-
* DTS task name
|
|
3942
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4022
|
+
* DTS task name.
|
|
3943
4023
|
* @type {string || null}
|
|
3944
4024
|
*/
|
|
3945
4025
|
this.JobName = null;
|
|
3946
4026
|
|
|
3947
4027
|
/**
|
|
3948
|
-
* Task status.
|
|
3949
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4028
|
+
* Task status. 1: creating (Creating); 3: checking (Checking); 4: check successful (CheckPass); 5: check failed (CheckNotPass); 7: task running (Running); 8: preparation completed (ReadyComplete); 9: task successful (Success); 10: task failed (Failed); 11: stopping (Stopping); 12: completing (Completing).
|
|
3950
4029
|
* @type {number || null}
|
|
3951
4030
|
*/
|
|
3952
4031
|
this.Status = null;
|
|
3953
4032
|
|
|
3954
4033
|
/**
|
|
3955
|
-
* Status description
|
|
3956
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4034
|
+
* Status description.
|
|
3957
4035
|
* @type {string || null}
|
|
3958
4036
|
*/
|
|
3959
4037
|
this.StatusDesc = null;
|
|
3960
4038
|
|
|
3961
4039
|
/**
|
|
3962
|
-
*
|
|
3963
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4040
|
+
* Synchronization delay. Unit: bytes.
|
|
3964
4041
|
* @type {number || null}
|
|
3965
4042
|
*/
|
|
3966
4043
|
this.Offset = null;
|
|
3967
4044
|
|
|
3968
4045
|
/**
|
|
3969
|
-
* Disconnection time
|
|
3970
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4046
|
+
* Disconnection time.
|
|
3971
4047
|
* @type {string || null}
|
|
3972
4048
|
*/
|
|
3973
4049
|
this.CutDownTime = null;
|
|
3974
4050
|
|
|
3975
4051
|
/**
|
|
3976
|
-
* Source instance information
|
|
3977
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4052
|
+
* Source instance information.
|
|
3978
4053
|
* @type {DescribeInstanceDTSInstanceInfo || null}
|
|
3979
4054
|
*/
|
|
3980
4055
|
this.SrcInfo = null;
|
|
3981
4056
|
|
|
3982
4057
|
/**
|
|
3983
|
-
*
|
|
3984
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4058
|
+
* Destination instance information.
|
|
3985
4059
|
* @type {DescribeInstanceDTSInstanceInfo || null}
|
|
3986
4060
|
*/
|
|
3987
4061
|
this.DstInfo = null;
|
|
@@ -4295,15 +4369,13 @@ class ProxyNodes extends AbstractModel {
|
|
|
4295
4369
|
super();
|
|
4296
4370
|
|
|
4297
4371
|
/**
|
|
4298
|
-
* Node ID
|
|
4299
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4372
|
+
* Node ID.
|
|
4300
4373
|
* @type {string || null}
|
|
4301
4374
|
*/
|
|
4302
4375
|
this.NodeId = null;
|
|
4303
4376
|
|
|
4304
4377
|
/**
|
|
4305
|
-
* AZ ID
|
|
4306
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4378
|
+
* AZ ID.
|
|
4307
4379
|
* @type {number || null}
|
|
4308
4380
|
*/
|
|
4309
4381
|
this.ZoneId = null;
|
|
@@ -4712,7 +4784,7 @@ class DescribeTendisSlowLogResponse extends AbstractModel {
|
|
|
4712
4784
|
this.TotalCount = null;
|
|
4713
4785
|
|
|
4714
4786
|
/**
|
|
4715
|
-
* Slow query details
|
|
4787
|
+
* Slow query details. Note: If the value of TotalCount is greater than 10,000, indicating that the number of slow logs exceeds 10,000, log details cannot be returned. Instead, the returned data is empty. It is recommended to reduce the interval between BeginTime and EndTime and perform multiple queries.
|
|
4716
4788
|
* @type {Array.<TendisSlowLogDetail> || null}
|
|
4717
4789
|
*/
|
|
4718
4790
|
this.TendisSlowLogDetail = null;
|
|
@@ -4756,7 +4828,7 @@ class DescribeProductInfoResponse extends AbstractModel {
|
|
|
4756
4828
|
super();
|
|
4757
4829
|
|
|
4758
4830
|
/**
|
|
4759
|
-
*
|
|
4831
|
+
* Selling information on the region. The selling information on all regions is returned even if a region is specified.
|
|
4760
4832
|
* @type {Array.<RegionConf> || null}
|
|
4761
4833
|
*/
|
|
4762
4834
|
this.RegionSet = null;
|
|
@@ -4965,8 +5037,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4965
5037
|
this.Filenames = null;
|
|
4966
5038
|
|
|
4967
5039
|
/**
|
|
4968
|
-
*
|
|
4969
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5040
|
+
* Backup file information list.
|
|
4970
5041
|
* @type {Array.<BackupDownloadInfo> || null}
|
|
4971
5042
|
*/
|
|
4972
5043
|
this.BackupInfos = null;
|
|
@@ -5068,25 +5139,25 @@ class ModifyInstanceLogDeliveryRequest extends AbstractModel {
|
|
|
5068
5139
|
this.Enabled = null;
|
|
5069
5140
|
|
|
5070
5141
|
/**
|
|
5071
|
-
* ID of the shipped logset
|
|
5142
|
+
* ID of the shipped logset. It can be obtained through the API [DescribeLogsets](https://intl.cloud.tencent.com/document/api/614/58624?from_cn_redirect=1).
|
|
5072
5143
|
* @type {string || null}
|
|
5073
5144
|
*/
|
|
5074
5145
|
this.LogsetId = null;
|
|
5075
5146
|
|
|
5076
5147
|
/**
|
|
5077
|
-
* ID of the shipped log topic
|
|
5148
|
+
* ID of the shipped log topic. It can be obtained through the API [DescribeTopics](https://intl.cloud.tencent.com/document/api/614/56454?from_cn_redirect=1).
|
|
5078
5149
|
* @type {string || null}
|
|
5079
5150
|
*/
|
|
5080
5151
|
this.TopicId = null;
|
|
5081
5152
|
|
|
5082
5153
|
/**
|
|
5083
|
-
* Logset name.
|
|
5154
|
+
* Logset name. It is required when **LogsetId** is left blank. The system will create a logset with the value of LogsetName and ship logs.
|
|
5084
5155
|
* @type {string || null}
|
|
5085
5156
|
*/
|
|
5086
5157
|
this.LogsetName = null;
|
|
5087
5158
|
|
|
5088
5159
|
/**
|
|
5089
|
-
* Log topic name.
|
|
5160
|
+
* Log topic name. It is required when **TopicId** is left blank. The system will create a log topic with the value of TopicName and ship logs.
|
|
5090
5161
|
* @type {string || null}
|
|
5091
5162
|
*/
|
|
5092
5163
|
this.TopicName = null;
|
|
@@ -5162,12 +5233,32 @@ class InquiryPriceCreateInstanceResponse extends AbstractModel {
|
|
|
5162
5233
|
super();
|
|
5163
5234
|
|
|
5164
5235
|
/**
|
|
5165
|
-
* Price.
|
|
5166
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
5236
|
+
* Price.
|
|
5167
5237
|
* @type {number || null}
|
|
5168
5238
|
*/
|
|
5169
5239
|
this.Price = null;
|
|
5170
5240
|
|
|
5241
|
+
/**
|
|
5242
|
+
* High precision price.
|
|
5243
|
+
* @type {number || null}
|
|
5244
|
+
*/
|
|
5245
|
+
this.HighPrecisionPrice = null;
|
|
5246
|
+
|
|
5247
|
+
/**
|
|
5248
|
+
* Currency.
|
|
5249
|
+
* @type {string || null}
|
|
5250
|
+
*/
|
|
5251
|
+
this.Currency = null;
|
|
5252
|
+
|
|
5253
|
+
/**
|
|
5254
|
+
* Price unit.
|
|
5255
|
+
|
|
5256
|
+
- pent: cent.
|
|
5257
|
+
- microPent: microcent.
|
|
5258
|
+
* @type {string || null}
|
|
5259
|
+
*/
|
|
5260
|
+
this.AmountUnit = null;
|
|
5261
|
+
|
|
5171
5262
|
/**
|
|
5172
5263
|
* 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.
|
|
5173
5264
|
* @type {string || null}
|
|
@@ -5184,6 +5275,9 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
5184
5275
|
return;
|
|
5185
5276
|
}
|
|
5186
5277
|
this.Price = 'Price' in params ? params.Price : null;
|
|
5278
|
+
this.HighPrecisionPrice = 'HighPrecisionPrice' in params ? params.HighPrecisionPrice : null;
|
|
5279
|
+
this.Currency = 'Currency' in params ? params.Currency : null;
|
|
5280
|
+
this.AmountUnit = 'AmountUnit' in params ? params.AmountUnit : null;
|
|
5187
5281
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5188
5282
|
|
|
5189
5283
|
}
|
|
@@ -5824,8 +5918,7 @@ class InstanceIntegerParam extends AbstractModel {
|
|
|
5824
5918
|
this.Status = null;
|
|
5825
5919
|
|
|
5826
5920
|
/**
|
|
5827
|
-
* Parameter unit
|
|
5828
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5921
|
+
* Parameter unit.
|
|
5829
5922
|
* @type {string || null}
|
|
5830
5923
|
*/
|
|
5831
5924
|
this.Unit = null;
|
|
@@ -6086,6 +6179,34 @@ Sample value: crs-asdasdas.
|
|
|
6086
6179
|
}
|
|
6087
6180
|
}
|
|
6088
6181
|
|
|
6182
|
+
/**
|
|
6183
|
+
* RemoveReplicationGroup response structure.
|
|
6184
|
+
* @class
|
|
6185
|
+
*/
|
|
6186
|
+
class RemoveReplicationGroupResponse extends AbstractModel {
|
|
6187
|
+
constructor(){
|
|
6188
|
+
super();
|
|
6189
|
+
|
|
6190
|
+
/**
|
|
6191
|
+
* 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.
|
|
6192
|
+
* @type {string || null}
|
|
6193
|
+
*/
|
|
6194
|
+
this.RequestId = null;
|
|
6195
|
+
|
|
6196
|
+
}
|
|
6197
|
+
|
|
6198
|
+
/**
|
|
6199
|
+
* @private
|
|
6200
|
+
*/
|
|
6201
|
+
deserialize(params) {
|
|
6202
|
+
if (!params) {
|
|
6203
|
+
return;
|
|
6204
|
+
}
|
|
6205
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6206
|
+
|
|
6207
|
+
}
|
|
6208
|
+
}
|
|
6209
|
+
|
|
6089
6210
|
/**
|
|
6090
6211
|
* KillMasterGroup request structure.
|
|
6091
6212
|
* @class
|
|
@@ -6598,7 +6719,7 @@ class DescribeTaskListRequest extends AbstractModel {
|
|
|
6598
6719
|
this.Offset = null;
|
|
6599
6720
|
|
|
6600
6721
|
/**
|
|
6601
|
-
* Project ID
|
|
6722
|
+
* Project ID. This field has been deprecated. Please ignore it.
|
|
6602
6723
|
* @type {Array.<number> || null}
|
|
6603
6724
|
*/
|
|
6604
6725
|
this.ProjectIds = null;
|
|
@@ -6608,61 +6729,62 @@ class DescribeTaskListRequest extends AbstractModel {
|
|
|
6608
6729
|
|
|
6609
6730
|
|
|
6610
6731
|
|
|
6611
|
-
- FLOW_CREATE: "001"
|
|
6612
|
-
- FLOW_RESIZE: "002"
|
|
6613
|
-
- FLOW_CLOSE: "003"
|
|
6614
|
-
- FLOW_CLEAN: "004"
|
|
6615
|
-
- FLOW_STARTUP: "005"
|
|
6616
|
-
- FLOW_DELETE: "006"
|
|
6617
|
-
- FLOW_SETPWD: "007"
|
|
6618
|
-
- FLOW_EXPORTBACKUP: "009"
|
|
6619
|
-
- FLOW_RESTOREBACKUP: "010"
|
|
6620
|
-
- FLOW_BACKUPINSTANCE: "012"
|
|
6621
|
-
- FLOW_MIGRATEINSTANCE: "013"
|
|
6622
|
-
- FLOW_DELBACKUP: "014"
|
|
6623
|
-
- FLOW_EXCHANGEINSTANCE: "016"
|
|
6624
|
-
- FLOW_AUTOBACKUP: "017"
|
|
6625
|
-
- FLOW_MIGRATECHECK: "022"
|
|
6626
|
-
- FLOW_MIGRATETASK: "023"
|
|
6627
|
-
- FLOW_CLEANDB: "025"
|
|
6628
|
-
- FLOW_CLONEBACKUP: "026"
|
|
6629
|
-
- FLOW_CHANGEVIP: "027"
|
|
6630
|
-
- FLOW_EXPORSHR: "028"
|
|
6631
|
-
- FLOW_ADDNODES: "029"
|
|
6632
|
-
- FLOW_CHANGENET: "031"
|
|
6633
|
-
- FLOW_MODIFYINSTACEREADONLY: "033"
|
|
6634
|
-
- FLOW_MODIFYINSTANCEPARAMS: "034"
|
|
6635
|
-
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035"
|
|
6636
|
-
- FLOW_SWITCHINSTANCEVIP: "036"
|
|
6637
|
-
- FLOW_MODIFYINSTANCEACCOUNT: "037"
|
|
6638
|
-
- FLOW_MODIFYINSTANCEBANDWIDTH: "038"
|
|
6639
|
-
- FLOW_ENABLEINSTANCE_REPLICATE: "039"
|
|
6640
|
-
- FLOW_DISABLEINSTANCE_REPLICATE: "040"
|
|
6641
|
-
- FLOW_UpgradeArch: "041"
|
|
6642
|
-
- FLOW_DowngradeArch: "042"
|
|
6643
|
-
- FLOW_UpgradeVersion: "043"
|
|
6644
|
-
- FLOW_MODIFYCONNECTIONCONFIG: "044"
|
|
6645
|
-
- FLOW_CLEARNETWORK: "045"
|
|
6646
|
-
- FLOW_REMOVE_BACKUP_FILE: "046"
|
|
6647
|
-
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047"
|
|
6648
|
-
- FLOW_SHUTDOWN_MASTER: "048"
|
|
6649
|
-
- FLOW_CHANGE_REPLICA_TO_MASTER: "049"
|
|
6650
|
-
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050"
|
|
6651
|
-
- FLOW_OPEN_WAN: "052"
|
|
6652
|
-
- FLOW_CLOSE_WAN: "053"
|
|
6653
|
-
-
|
|
6654
|
-
-
|
|
6655
|
-
-
|
|
6656
|
-
-
|
|
6657
|
-
-
|
|
6658
|
-
-
|
|
6659
|
-
-
|
|
6660
|
-
-
|
|
6661
|
-
-
|
|
6662
|
-
-
|
|
6663
|
-
-
|
|
6664
|
-
-
|
|
6665
|
-
-
|
|
6732
|
+
- FLOW_CREATE: "001", indicating instance creation.
|
|
6733
|
+
- FLOW_RESIZE: "002", indicating configuration modification.
|
|
6734
|
+
- FLOW_CLOSE: "003", indicating instance disabling.
|
|
6735
|
+
- FLOW_CLEAN: "004", indicating instance cleanup.
|
|
6736
|
+
- FLOW_STARTUP: "005", indicating instance enabling.
|
|
6737
|
+
- FLOW_DELETE: "006", indicating instance deletion.
|
|
6738
|
+
- FLOW_SETPWD: "007", indicating password reset.
|
|
6739
|
+
- FLOW_EXPORTBACKUP: "009", indicating backup file export.
|
|
6740
|
+
- FLOW_RESTOREBACKUP: "010", indicating backup restoration.
|
|
6741
|
+
- FLOW_BACKUPINSTANCE: "012", indicating instance backup.
|
|
6742
|
+
- FLOW_MIGRATEINSTANCE: "013", indicating instance migration.
|
|
6743
|
+
- FLOW_DELBACKUP: "014", indicating backup deletion.
|
|
6744
|
+
- FLOW_EXCHANGEINSTANCE: "016", indicating instance switch.
|
|
6745
|
+
- FLOW_AUTOBACKUP: "017", indicating automatic instance backup.
|
|
6746
|
+
- FLOW_MIGRATECHECK: "022", indicating migration parameter verification.
|
|
6747
|
+
- FLOW_MIGRATETASK: "023", indicating that data migration is in progress.
|
|
6748
|
+
- FLOW_CLEANDB: "025", indicating database cleanup.
|
|
6749
|
+
- FLOW_CLONEBACKUP: "026": indicating backup cloning.
|
|
6750
|
+
- FLOW_CHANGEVIP: "027", indicating VIP address modification.
|
|
6751
|
+
- FLOW_EXPORSHR: "028", indicating scaling.
|
|
6752
|
+
- FLOW_ADDNODES: "029", indicating node addition (removal).
|
|
6753
|
+
- FLOW_CHANGENET: "031", indicating network type modification.
|
|
6754
|
+
- FLOW_MODIFYINSTACEREADONLY: "033": indicating read-only policy modification.
|
|
6755
|
+
- FLOW_MODIFYINSTANCEPARAMS: "034", indicating instance parameter modification.
|
|
6756
|
+
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035", indicating password-free access settings.
|
|
6757
|
+
- FLOW_SWITCHINSTANCEVIP: "036", indicating instance VIP address switch.
|
|
6758
|
+
- FLOW_MODIFYINSTANCEACCOUNT: "037", indicating instance account modification.
|
|
6759
|
+
- FLOW_MODIFYINSTANCEBANDWIDTH: "038", indicating instance bandwidth modification.
|
|
6760
|
+
- FLOW_ENABLEINSTANCE_REPLICATE: "039", indicating enabling of read-only replica.
|
|
6761
|
+
- FLOW_DISABLEINSTANCE_REPLICATE: "040", indicating disabling of read-only replica.
|
|
6762
|
+
- FLOW_UpgradeArch: "041", indicating instance architecture upgrade from the standard architecture to the cluster architecture.
|
|
6763
|
+
- FLOW_DowngradeArch: "042", indicating instance architecture downgrade from the cluster architecture to the standard architecture.
|
|
6764
|
+
- FLOW_UpgradeVersion: "043", indicating version upgrade.
|
|
6765
|
+
- FLOW_MODIFYCONNECTIONCONFIG: "044", indicating adjustment of the bandwidth and the number of connections.
|
|
6766
|
+
- FLOW_CLEARNETWORK: "045", indicating network change.
|
|
6767
|
+
- FLOW_REMOVE_BACKUP_FILE: "046", indicating backup deletion.
|
|
6768
|
+
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047", indicating instance upgrade to multi-AZ deployment.
|
|
6769
|
+
- FLOW_SHUTDOWN_MASTER: "048", indicating fault simulation.
|
|
6770
|
+
- FLOW_CHANGE_REPLICA_TO_MASTER: "049", indicating manual promotion to the primary node.
|
|
6771
|
+
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050", indicating replication group addition.
|
|
6772
|
+
- FLOW_OPEN_WAN: "052", indicating enabling of public network access.
|
|
6773
|
+
- FLOW_CLOSE_WAN: "053", indicating disabling of public network access.
|
|
6774
|
+
- FLOW_UPDATE_WAN: "054", indicating update of the public network access configuration.
|
|
6775
|
+
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055", indicating replication group unbinding.
|
|
6776
|
+
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056", indicating switching a replication group instance to the primary instance.
|
|
6777
|
+
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057", indicating modification of the replication group instance role.
|
|
6778
|
+
- FLOW_MIGRATE_NODE: "058", indicating node migration.
|
|
6779
|
+
- FLOW_SWITCH_NODE: "059", indicating node switch.
|
|
6780
|
+
- FLOW_UPGRADE_SMALL_VERSION: "060", indicating Redis version upgrade.
|
|
6781
|
+
- FLOW_UPGRADE_PROXY_VERSION: "061", indicating proxy version upgrade.
|
|
6782
|
+
- FLOW_MODIFY_INSTANCE_NETWORK: "062", indicating instance network modification.
|
|
6783
|
+
- FLOW_MIGRATE_PROXY_NODE: "063", indicating proxy node migration.
|
|
6784
|
+
- FLOW_MIGRATION_INSTANCE_ZONE: "066", indicating that instance migration to another AZ is in progress.
|
|
6785
|
+
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067", indicating that instance version upgrade is in progress.
|
|
6786
|
+
- FLOW_MODIFY_PROXY_NUM: "069", indicating proxy node addition (removal).
|
|
6787
|
+
- FLOW_MODIFYBACKUPMOD: "070", indicating instance backup mode modification.
|
|
6666
6788
|
* @type {Array.<string> || null}
|
|
6667
6789
|
*/
|
|
6668
6790
|
this.TaskTypes = null;
|
|
@@ -6826,6 +6948,41 @@ class ModifyInstanceEventRequest extends AbstractModel {
|
|
|
6826
6948
|
}
|
|
6827
6949
|
}
|
|
6828
6950
|
|
|
6951
|
+
/**
|
|
6952
|
+
* Timestamp range within which second-level backup is missing
|
|
6953
|
+
* @class
|
|
6954
|
+
*/
|
|
6955
|
+
class SecondLevelBackupMissingTimestamps extends AbstractModel {
|
|
6956
|
+
constructor(){
|
|
6957
|
+
super();
|
|
6958
|
+
|
|
6959
|
+
/**
|
|
6960
|
+
* Start timestamp.
|
|
6961
|
+
* @type {number || null}
|
|
6962
|
+
*/
|
|
6963
|
+
this.StartTimeStamp = null;
|
|
6964
|
+
|
|
6965
|
+
/**
|
|
6966
|
+
* End timestamp.
|
|
6967
|
+
* @type {number || null}
|
|
6968
|
+
*/
|
|
6969
|
+
this.EndTimeStamp = null;
|
|
6970
|
+
|
|
6971
|
+
}
|
|
6972
|
+
|
|
6973
|
+
/**
|
|
6974
|
+
* @private
|
|
6975
|
+
*/
|
|
6976
|
+
deserialize(params) {
|
|
6977
|
+
if (!params) {
|
|
6978
|
+
return;
|
|
6979
|
+
}
|
|
6980
|
+
this.StartTimeStamp = 'StartTimeStamp' in params ? params.StartTimeStamp : null;
|
|
6981
|
+
this.EndTimeStamp = 'EndTimeStamp' in params ? params.EndTimeStamp : null;
|
|
6982
|
+
|
|
6983
|
+
}
|
|
6984
|
+
}
|
|
6985
|
+
|
|
6829
6986
|
/**
|
|
6830
6987
|
* DescribeBackupDetail response structure.
|
|
6831
6988
|
* @class
|
|
@@ -7380,7 +7537,7 @@ class DescribeInstanceMonitorTopNCmdRequest extends AbstractModel {
|
|
|
7380
7537
|
super();
|
|
7381
7538
|
|
|
7382
7539
|
/**
|
|
7383
|
-
* Instance ID.
|
|
7540
|
+
* Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
|
|
7384
7541
|
* @type {string || null}
|
|
7385
7542
|
*/
|
|
7386
7543
|
this.InstanceId = null;
|
|
@@ -7657,9 +7814,11 @@ class ModifyDBInstanceSecurityGroupsRequest extends AbstractModel {
|
|
|
7657
7814
|
this.Product = null;
|
|
7658
7815
|
|
|
7659
7816
|
/**
|
|
7660
|
-
*
|
|
7661
|
-
- To configure a security group for an instance for the first time,
|
|
7817
|
+
* Replaces with the new security group ID list, which is an array of one or more security group IDs.
|
|
7818
|
+
- To configure a security group for an instance for the first time, call the API [AssociateSecurityGroups](https://www.tencentcloud.comom/document/product/239/41260?from_cn_redirect=1) to bind a security group first.
|
|
7662
7819
|
- To replace the security group, obtain the security group ID on the [security group](https://console.tencentcloud.com/vpc/security-group) page of the console.
|
|
7820
|
+
|
|
7821
|
+
**Note:** This input parameter performs a full replacement on all existing collections but not an incremental update. To modify it, import the expected full collections.
|
|
7663
7822
|
* @type {Array.<string> || null}
|
|
7664
7823
|
*/
|
|
7665
7824
|
this.SecurityGroupIds = null;
|
|
@@ -8263,15 +8422,13 @@ class EnableReplicaReadonlyResponse extends AbstractModel {
|
|
|
8263
8422
|
super();
|
|
8264
8423
|
|
|
8265
8424
|
/**
|
|
8266
|
-
*
|
|
8267
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8425
|
+
* ERROR: incorrect; OK: correct (discarded).
|
|
8268
8426
|
* @type {string || null}
|
|
8269
8427
|
*/
|
|
8270
8428
|
this.Status = null;
|
|
8271
8429
|
|
|
8272
8430
|
/**
|
|
8273
|
-
* Task ID
|
|
8274
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8431
|
+
* Task ID.
|
|
8275
8432
|
* @type {number || null}
|
|
8276
8433
|
*/
|
|
8277
8434
|
this.TaskId = null;
|
|
@@ -8615,10 +8772,9 @@ class ProductConf extends AbstractModel {
|
|
|
8615
8772
|
this.EnableRepicaReadOnly = null;
|
|
8616
8773
|
|
|
8617
8774
|
/**
|
|
8618
|
-
* Whether
|
|
8619
|
-
- true:
|
|
8620
|
-
- false:
|
|
8621
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
8775
|
+
* Whether read-only replica is supported.
|
|
8776
|
+
- true: read-only replica supported.
|
|
8777
|
+
- false: not supported.
|
|
8622
8778
|
* @type {boolean || null}
|
|
8623
8779
|
*/
|
|
8624
8780
|
this.EnableReplicaReadOnly = null;
|
|
@@ -8773,30 +8929,24 @@ class InstanceNode extends AbstractModel {
|
|
|
8773
8929
|
}
|
|
8774
8930
|
|
|
8775
8931
|
/**
|
|
8776
|
-
*
|
|
8932
|
+
* ModifyInstanceBackupMode response structure.
|
|
8777
8933
|
* @class
|
|
8778
8934
|
*/
|
|
8779
|
-
class
|
|
8935
|
+
class ModifyInstanceBackupModeResponse extends AbstractModel {
|
|
8780
8936
|
constructor(){
|
|
8781
8937
|
super();
|
|
8782
8938
|
|
|
8783
8939
|
/**
|
|
8784
|
-
*
|
|
8785
|
-
* @type {
|
|
8940
|
+
* Task ID.
|
|
8941
|
+
* @type {number || null}
|
|
8786
8942
|
*/
|
|
8787
|
-
this.
|
|
8943
|
+
this.TaskId = null;
|
|
8788
8944
|
|
|
8789
8945
|
/**
|
|
8790
|
-
*
|
|
8946
|
+
* 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.
|
|
8791
8947
|
* @type {string || null}
|
|
8792
8948
|
*/
|
|
8793
|
-
this.
|
|
8794
|
-
|
|
8795
|
-
/**
|
|
8796
|
-
* AZ ID.
|
|
8797
|
-
* @type {number || null}
|
|
8798
|
-
*/
|
|
8799
|
-
this.ZoneId = null;
|
|
8949
|
+
this.RequestId = null;
|
|
8800
8950
|
|
|
8801
8951
|
}
|
|
8802
8952
|
|
|
@@ -8807,9 +8957,8 @@ class TendisNodes extends AbstractModel {
|
|
|
8807
8957
|
if (!params) {
|
|
8808
8958
|
return;
|
|
8809
8959
|
}
|
|
8810
|
-
this.
|
|
8811
|
-
this.
|
|
8812
|
-
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
8960
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
8961
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8813
8962
|
|
|
8814
8963
|
}
|
|
8815
8964
|
}
|
|
@@ -8822,6 +8971,12 @@ class SwitchProxyResponse extends AbstractModel {
|
|
|
8822
8971
|
constructor(){
|
|
8823
8972
|
super();
|
|
8824
8973
|
|
|
8974
|
+
/**
|
|
8975
|
+
* Task ID.
|
|
8976
|
+
* @type {number || null}
|
|
8977
|
+
*/
|
|
8978
|
+
this.TaskId = null;
|
|
8979
|
+
|
|
8825
8980
|
/**
|
|
8826
8981
|
* 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.
|
|
8827
8982
|
* @type {string || null}
|
|
@@ -8837,6 +8992,7 @@ class SwitchProxyResponse extends AbstractModel {
|
|
|
8837
8992
|
if (!params) {
|
|
8838
8993
|
return;
|
|
8839
8994
|
}
|
|
8995
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
8840
8996
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8841
8997
|
|
|
8842
8998
|
}
|
|
@@ -8887,56 +9043,48 @@ class DescribeInstanceDTSInstanceInfo extends AbstractModel {
|
|
|
8887
9043
|
|
|
8888
9044
|
/**
|
|
8889
9045
|
* Region ID.
|
|
8890
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
8891
9046
|
* @type {number || null}
|
|
8892
9047
|
*/
|
|
8893
9048
|
this.RegionId = null;
|
|
8894
9049
|
|
|
8895
9050
|
/**
|
|
8896
9051
|
* Instance ID.
|
|
8897
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
8898
9052
|
* @type {string || null}
|
|
8899
9053
|
*/
|
|
8900
9054
|
this.InstanceId = null;
|
|
8901
9055
|
|
|
8902
9056
|
/**
|
|
8903
|
-
*
|
|
8904
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
9057
|
+
* Repository ID.
|
|
8905
9058
|
* @type {number || null}
|
|
8906
9059
|
*/
|
|
8907
9060
|
this.SetId = null;
|
|
8908
9061
|
|
|
8909
9062
|
/**
|
|
8910
9063
|
* AZ ID.
|
|
8911
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
8912
9064
|
* @type {number || null}
|
|
8913
9065
|
*/
|
|
8914
9066
|
this.ZoneId = null;
|
|
8915
9067
|
|
|
8916
9068
|
/**
|
|
8917
9069
|
* Instance type.
|
|
8918
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
8919
9070
|
* @type {number || null}
|
|
8920
9071
|
*/
|
|
8921
9072
|
this.Type = null;
|
|
8922
9073
|
|
|
8923
9074
|
/**
|
|
8924
9075
|
* Instance name.
|
|
8925
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
8926
9076
|
* @type {string || null}
|
|
8927
9077
|
*/
|
|
8928
9078
|
this.InstanceName = null;
|
|
8929
9079
|
|
|
8930
9080
|
/**
|
|
8931
9081
|
* Instance access address.
|
|
8932
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
8933
9082
|
* @type {string || null}
|
|
8934
9083
|
*/
|
|
8935
9084
|
this.Vip = null;
|
|
8936
9085
|
|
|
8937
9086
|
/**
|
|
8938
9087
|
* Status.
|
|
8939
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
8940
9088
|
* @type {number || null}
|
|
8941
9089
|
*/
|
|
8942
9090
|
this.Status = null;
|
|
@@ -9139,30 +9287,25 @@ class LogDeliveryInfo extends AbstractModel {
|
|
|
9139
9287
|
super();
|
|
9140
9288
|
|
|
9141
9289
|
/**
|
|
9142
|
-
*
|
|
9143
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
9290
|
+
* Enabling status of log shipping. true: enabled; false: disabled.
|
|
9144
9291
|
* @type {boolean || null}
|
|
9145
9292
|
*/
|
|
9146
9293
|
this.Enabled = null;
|
|
9147
9294
|
|
|
9148
9295
|
/**
|
|
9149
|
-
*
|
|
9150
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
9296
|
+
* Log set ID.
|
|
9151
9297
|
* @type {string || null}
|
|
9152
9298
|
*/
|
|
9153
9299
|
this.LogsetId = null;
|
|
9154
9300
|
|
|
9155
9301
|
/**
|
|
9156
9302
|
* Log topic ID.
|
|
9157
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
9158
9303
|
* @type {string || null}
|
|
9159
9304
|
*/
|
|
9160
9305
|
this.TopicId = null;
|
|
9161
9306
|
|
|
9162
9307
|
/**
|
|
9163
9308
|
* Logset region
|
|
9164
|
-
|
|
9165
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
9166
9309
|
* @type {string || null}
|
|
9167
9310
|
*/
|
|
9168
9311
|
this.LogRegion = null;
|
|
@@ -9459,21 +9602,20 @@ class Groups extends AbstractModel {
|
|
|
9459
9602
|
|
|
9460
9603
|
/**
|
|
9461
9604
|
* Region ID.
|
|
9462
|
-
- 1: Guangzhou.
|
|
9463
|
-
- 4: Shanghai.
|
|
9464
|
-
- 5: Hong Kong (China).
|
|
9465
|
-
- 7: Shanghai Finance.
|
|
9466
|
-
- 8: Beijing.
|
|
9467
|
-
- 9: Singapore.
|
|
9468
|
-
- 11: Shenzhen Finance.
|
|
9469
|
-
- 15: Western
|
|
9470
|
-
- 16: Chengdu.
|
|
9471
|
-
- 17: Germany.
|
|
9472
|
-
- 18: South Korea.
|
|
9473
|
-
- 19: Chongqing.
|
|
9474
|
-
-
|
|
9475
|
-
-
|
|
9476
|
-
- 23: Thailand.
|
|
9605
|
+
- 1: Guangzhou.
|
|
9606
|
+
- 4: Shanghai.
|
|
9607
|
+
- 5: Hong Kong (China).
|
|
9608
|
+
- 7: Shanghai Finance.
|
|
9609
|
+
- 8: Beijing.
|
|
9610
|
+
- 9: Singapore.
|
|
9611
|
+
- 11: Shenzhen Finance.
|
|
9612
|
+
- 15: Western US (Silicon Valley).
|
|
9613
|
+
- 16: Chengdu.
|
|
9614
|
+
- 17: Germany.
|
|
9615
|
+
- 18: South Korea.
|
|
9616
|
+
- 19: Chongqing.
|
|
9617
|
+
- 22: Eastern US (Virginia).
|
|
9618
|
+
- 23: Thailand.
|
|
9477
9619
|
- 25: Japan.
|
|
9478
9620
|
* @type {number || null}
|
|
9479
9621
|
*/
|
|
@@ -9486,8 +9628,7 @@ class Groups extends AbstractModel {
|
|
|
9486
9628
|
this.GroupId = null;
|
|
9487
9629
|
|
|
9488
9630
|
/**
|
|
9489
|
-
* Replication group name
|
|
9490
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9631
|
+
* Replication group name.
|
|
9491
9632
|
* @type {string || null}
|
|
9492
9633
|
*/
|
|
9493
9634
|
this.GroupName = null;
|
|
@@ -9510,15 +9651,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
9510
9651
|
this.InstanceCount = null;
|
|
9511
9652
|
|
|
9512
9653
|
/**
|
|
9513
|
-
* Instance information
|
|
9514
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9654
|
+
* Instance information on the replication group.
|
|
9515
9655
|
* @type {Array.<Instances> || null}
|
|
9516
9656
|
*/
|
|
9517
9657
|
this.Instances = null;
|
|
9518
9658
|
|
|
9519
9659
|
/**
|
|
9520
|
-
*
|
|
9521
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9660
|
+
* Remark information.
|
|
9522
9661
|
* @type {string || null}
|
|
9523
9662
|
*/
|
|
9524
9663
|
this.Remark = null;
|
|
@@ -9685,18 +9824,20 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
9685
9824
|
|
|
9686
9825
|
/**
|
|
9687
9826
|
* Instance type.
|
|
9688
|
-
|
|
9689
|
-
-
|
|
9690
|
-
-
|
|
9691
|
-
-
|
|
9692
|
-
-
|
|
9693
|
-
-
|
|
9694
|
-
-
|
|
9695
|
-
-
|
|
9696
|
-
-
|
|
9697
|
-
-
|
|
9698
|
-
-
|
|
9699
|
-
-
|
|
9827
|
+
|
|
9828
|
+
- 2: Redis 2.8 memory edition (standard architecture).
|
|
9829
|
+
- 3: CKV 3.2 memory edition (standard architecture).
|
|
9830
|
+
- 4: CKV 3.2 memory edition (cluster architecture).
|
|
9831
|
+
- 5: Redis 2.8 memory edition (standalone).
|
|
9832
|
+
- 6: Redis 4.0 memory edition (standard architecture).
|
|
9833
|
+
- 7: Redis 4.0 memory edition (cluster architecture).
|
|
9834
|
+
- 8: Redis 5.0 memory edition (standard architecture).
|
|
9835
|
+
- 9: Redis 5.0 memory edition (cluster architecture).
|
|
9836
|
+
- 15: Redis 6.2 memory edition (standard architecture).
|
|
9837
|
+
- 16: Redis 6.2 memory edition (cluster architecture).
|
|
9838
|
+
- 17: Redis 7.0 memory edition (standard architecture).
|
|
9839
|
+
- 18: Redis 7.0 memory edition (cluster architecture).
|
|
9840
|
+
- 200: Memcached 1.6 memory edition (cluster architecture).
|
|
9700
9841
|
* @type {number || null}
|
|
9701
9842
|
*/
|
|
9702
9843
|
this.Type = null;
|
|
@@ -9857,10 +9998,10 @@ class ModfiyInstancePasswordRequest extends AbstractModel {
|
|
|
9857
9998
|
this.OldPassword = null;
|
|
9858
9999
|
|
|
9859
10000
|
/**
|
|
9860
|
-
* New instance password
|
|
9861
|
-
- It
|
|
9862
|
-
- It cannot start with a slash (/)
|
|
9863
|
-
- It
|
|
10001
|
+
* New instance password. The password complexity requirements are as follows:
|
|
10002
|
+
- It should contain 8 to 64 characters. 12 or more characters are recommended.
|
|
10003
|
+
- It cannot start with a forward slash (/).
|
|
10004
|
+
- It should contain at least two of the following types: lowercase letters (a–z), uppercase letters (A–Z), digits (0–9), and special characters (such as ()~!@#$%^&*-+=_|{}[]:;<>,.?/).
|
|
9864
10005
|
* @type {string || null}
|
|
9865
10006
|
*/
|
|
9866
10007
|
this.Password = null;
|
|
@@ -10625,15 +10766,12 @@ class AvailableRegion extends AbstractModel {
|
|
|
10625
10766
|
|
|
10626
10767
|
/**
|
|
10627
10768
|
* Region
|
|
10628
|
-
|
|
10629
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
10630
10769
|
* @type {string || null}
|
|
10631
10770
|
*/
|
|
10632
10771
|
this.Region = null;
|
|
10633
10772
|
|
|
10634
10773
|
/**
|
|
10635
|
-
* AZ information
|
|
10636
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
10774
|
+
* AZ information
|
|
10637
10775
|
* @type {Array.<string> || null}
|
|
10638
10776
|
*/
|
|
10639
10777
|
this.AvailableZones = null;
|
|
@@ -10687,7 +10825,7 @@ class InstanceSet extends AbstractModel {
|
|
|
10687
10825
|
this.ProjectId = null;
|
|
10688
10826
|
|
|
10689
10827
|
/**
|
|
10690
|
-
* Region ID
|
|
10828
|
+
* Region ID.<ul><li>1: Guangzhou.</li><li>4: Shanghai.</li><li>5: Hong Kong (China).</li><li>7: Shanghai Finance.</li><li>8: Beijing.</li><li>9: Singapore.</li><li>11: Shenzhen Finance.</li><li>15: Western US (Silicon Valley).</li><li>16: Chengdu.</li><li>17: Frankfurt.</li><li>18: Seoul.</li><li>19: Chongqing.</li><li>22: Eastern US (Virginia).</li><li>23: Bangkok.</li><li>25: Tokyo.</li></ul>
|
|
10691
10829
|
* @type {number || null}
|
|
10692
10830
|
*/
|
|
10693
10831
|
this.RegionId = null;
|
|
@@ -10748,18 +10886,20 @@ class InstanceSet extends AbstractModel {
|
|
|
10748
10886
|
|
|
10749
10887
|
/**
|
|
10750
10888
|
* Instance type.
|
|
10751
|
-
|
|
10752
|
-
-
|
|
10753
|
-
-
|
|
10754
|
-
-
|
|
10755
|
-
-
|
|
10756
|
-
-
|
|
10757
|
-
-
|
|
10758
|
-
-
|
|
10759
|
-
-
|
|
10760
|
-
-
|
|
10761
|
-
-
|
|
10762
|
-
-
|
|
10889
|
+
|
|
10890
|
+
- 2: Redis 2.8 memory edition (standard architecture).
|
|
10891
|
+
- 3: CKV 3.2 memory edition (standard architecture).
|
|
10892
|
+
- 4: CKV 3.2 memory edition (cluster architecture).
|
|
10893
|
+
- 5: Redis 2.8 memory edition (standalone).
|
|
10894
|
+
- 6: Redis 4.0 memory edition (standard architecture).
|
|
10895
|
+
- 7: Redis 4.0 memory edition (cluster architecture).
|
|
10896
|
+
- 8: Redis 5.0 memory edition (standard architecture).
|
|
10897
|
+
- 9: Redis 5.0 memory edition (cluster architecture).
|
|
10898
|
+
- 15: Redis 6.2 memory edition (standard architecture).
|
|
10899
|
+
- 16: Redis 6.2 memory edition (cluster architecture).
|
|
10900
|
+
- 17: Redis 7.0 memory edition (standard architecture).
|
|
10901
|
+
- 18: Redis 7.0 memory edition (cluster architecture).
|
|
10902
|
+
- 200: Memcached 1.6 memory edition (cluster architecture).
|
|
10763
10903
|
* @type {number || null}
|
|
10764
10904
|
*/
|
|
10765
10905
|
this.Type = null;
|
|
@@ -10819,7 +10959,9 @@ class InstanceSet extends AbstractModel {
|
|
|
10819
10959
|
this.OfflineTime = null;
|
|
10820
10960
|
|
|
10821
10961
|
/**
|
|
10822
|
-
* Sub-status returned for
|
|
10962
|
+
* Sub-status returned for the instance in the process.
|
|
10963
|
+
- 0: disk read-write status.
|
|
10964
|
+
- 1: disk read-only status because the upper limit is exceeded.
|
|
10823
10965
|
* @type {number || null}
|
|
10824
10966
|
*/
|
|
10825
10967
|
this.SubStatus = null;
|
|
@@ -10873,191 +11015,165 @@ class InstanceSet extends AbstractModel {
|
|
|
10873
11015
|
this.SlaveReadWeight = null;
|
|
10874
11016
|
|
|
10875
11017
|
/**
|
|
10876
|
-
*
|
|
10877
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11018
|
+
* Information on tags associated with the instance.
|
|
10878
11019
|
* @type {Array.<InstanceTagInfo> || null}
|
|
10879
11020
|
*/
|
|
10880
11021
|
this.InstanceTags = null;
|
|
10881
11022
|
|
|
10882
11023
|
/**
|
|
10883
11024
|
* Project name
|
|
10884
|
-
|
|
10885
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
10886
11025
|
* @type {string || null}
|
|
10887
11026
|
*/
|
|
10888
11027
|
this.ProjectName = null;
|
|
10889
11028
|
|
|
10890
11029
|
/**
|
|
10891
|
-
* Whether
|
|
10892
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11030
|
+
* Whether the instance is password-free.<ul><li>true: password-free instance.</li><li>false: password required by the instance.</li></ul>
|
|
10893
11031
|
* @type {boolean || null}
|
|
10894
11032
|
*/
|
|
10895
11033
|
this.NoAuth = null;
|
|
10896
11034
|
|
|
10897
11035
|
/**
|
|
10898
11036
|
* Number of client connections.
|
|
10899
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
10900
11037
|
* @type {number || null}
|
|
10901
11038
|
*/
|
|
10902
11039
|
this.ClientLimit = null;
|
|
10903
11040
|
|
|
10904
11041
|
/**
|
|
10905
|
-
* DTS status (
|
|
10906
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11042
|
+
* DTS status. (Internal parameter, which can be ignored.)
|
|
10907
11043
|
* @type {number || null}
|
|
10908
11044
|
*/
|
|
10909
11045
|
this.DtsStatus = null;
|
|
10910
11046
|
|
|
10911
11047
|
/**
|
|
10912
|
-
*
|
|
10913
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11048
|
+
* Shard bandwidth limit. Unit: MB.
|
|
10914
11049
|
* @type {number || null}
|
|
10915
11050
|
*/
|
|
10916
11051
|
this.NetLimit = null;
|
|
10917
11052
|
|
|
10918
11053
|
/**
|
|
10919
|
-
* Password-free instance flag (
|
|
10920
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11054
|
+
* Password-free instance flag. (Internal parameter, which can be ignored.)
|
|
10921
11055
|
* @type {number || null}
|
|
10922
11056
|
*/
|
|
10923
11057
|
this.PasswordFree = null;
|
|
10924
11058
|
|
|
10925
11059
|
/**
|
|
10926
|
-
*
|
|
10927
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11060
|
+
* This parameter encounters a naming issue. It is recommended to use the parameter IPv6 instead. It is an internal parameter and can be ignored.
|
|
10928
11061
|
* @type {string || null}
|
|
10929
11062
|
*/
|
|
10930
11063
|
this.Vip6 = null;
|
|
10931
11064
|
|
|
10932
11065
|
/**
|
|
10933
11066
|
* Internal parameter, which can be ignored.
|
|
10934
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
10935
11067
|
* @type {string || null}
|
|
10936
11068
|
*/
|
|
10937
11069
|
this.IPv6 = null;
|
|
10938
11070
|
|
|
10939
11071
|
/**
|
|
10940
|
-
* Instance read-only flag (
|
|
10941
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11072
|
+
* Instance read-only flag. (Internal parameter, which can be ignored.)
|
|
10942
11073
|
* @type {number || null}
|
|
10943
11074
|
*/
|
|
10944
11075
|
this.ReadOnly = null;
|
|
10945
11076
|
|
|
10946
11077
|
/**
|
|
10947
11078
|
* Internal parameter, which can be ignored.
|
|
10948
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
10949
11079
|
* @type {string || null}
|
|
10950
11080
|
*/
|
|
10951
11081
|
this.RemainBandwidthDuration = null;
|
|
10952
11082
|
|
|
10953
11083
|
/**
|
|
10954
|
-
* For Redis instances, ignore this parameter.
|
|
10955
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11084
|
+
* For TencentDB for Redis® instances, ignore this parameter.
|
|
10956
11085
|
* @type {number || null}
|
|
10957
11086
|
*/
|
|
10958
11087
|
this.DiskSize = null;
|
|
10959
11088
|
|
|
10960
11089
|
/**
|
|
10961
|
-
* Monitoring version
|
|
10962
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11090
|
+
* Monitoring version.<ul><li>1m: monitoring with the 1-minute granularity. Currently, this monitoring granularity is unavailable. For details, see [1-Minute Granularity Will Be Disused](https://intl.cloud.tencent.com/document/product/239/80653?from_cn_redirect=1).</li><li>5s: monitoring with the 5-second granularity.</li></ul>
|
|
10963
11091
|
* @type {string || null}
|
|
10964
11092
|
*/
|
|
10965
11093
|
this.MonitorVersion = null;
|
|
10966
11094
|
|
|
10967
11095
|
/**
|
|
10968
11096
|
* Minimum value that can be set for the maximum number of client connections.
|
|
10969
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
10970
11097
|
* @type {number || null}
|
|
10971
11098
|
*/
|
|
10972
11099
|
this.ClientLimitMin = null;
|
|
10973
11100
|
|
|
10974
11101
|
/**
|
|
10975
11102
|
* Maximum value that can be set for the maximum number of client connections.
|
|
10976
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
10977
11103
|
* @type {number || null}
|
|
10978
11104
|
*/
|
|
10979
11105
|
this.ClientLimitMax = null;
|
|
10980
11106
|
|
|
10981
11107
|
/**
|
|
10982
|
-
*
|
|
10983
|
-
|
|
11108
|
+
* Node details of the instance.
|
|
11109
|
+
|
|
11110
|
+
It is returned only for multi-AZ instances.
|
|
10984
11111
|
* @type {Array.<RedisNodeInfo> || null}
|
|
10985
11112
|
*/
|
|
10986
11113
|
this.NodeSet = null;
|
|
10987
11114
|
|
|
10988
11115
|
/**
|
|
10989
|
-
* Region information
|
|
10990
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11116
|
+
* Region information on the instance. For example, ap-guangzhou.
|
|
10991
11117
|
* @type {string || null}
|
|
10992
11118
|
*/
|
|
10993
11119
|
this.Region = null;
|
|
10994
11120
|
|
|
10995
11121
|
/**
|
|
10996
11122
|
* Public network address.
|
|
10997
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
10998
11123
|
* @type {string || null}
|
|
10999
11124
|
*/
|
|
11000
11125
|
this.WanAddress = null;
|
|
11001
11126
|
|
|
11002
11127
|
/**
|
|
11003
|
-
* Polaris service address
|
|
11004
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11128
|
+
* Polaris service address for internal use.
|
|
11005
11129
|
* @type {string || null}
|
|
11006
11130
|
*/
|
|
11007
11131
|
this.PolarisServer = null;
|
|
11008
11132
|
|
|
11009
11133
|
/**
|
|
11010
|
-
* CDC
|
|
11011
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11134
|
+
* CDC cluster ID of TencentDB for Redis®.
|
|
11012
11135
|
* @type {string || null}
|
|
11013
11136
|
*/
|
|
11014
11137
|
this.RedisClusterId = null;
|
|
11015
11138
|
|
|
11016
11139
|
/**
|
|
11017
11140
|
* CDC cluster ID.
|
|
11018
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11019
11141
|
* @type {string || null}
|
|
11020
11142
|
*/
|
|
11021
11143
|
this.DedicatedClusterId = null;
|
|
11022
11144
|
|
|
11023
11145
|
/**
|
|
11024
|
-
* Product edition
|
|
11025
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11146
|
+
* Product edition.<ul><li>local: local disk.</li><li>cloud: cloud disk edition.</li><li>cdc: CDC cluster edition.</li></ul>
|
|
11026
11147
|
* @type {string || null}
|
|
11027
11148
|
*/
|
|
11028
11149
|
this.ProductVersion = null;
|
|
11029
11150
|
|
|
11030
11151
|
/**
|
|
11031
|
-
* Current
|
|
11032
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11152
|
+
* Current proxy version of the instance.
|
|
11033
11153
|
* @type {string || null}
|
|
11034
11154
|
*/
|
|
11035
11155
|
this.CurrentProxyVersion = null;
|
|
11036
11156
|
|
|
11037
11157
|
/**
|
|
11038
|
-
* Current
|
|
11039
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11158
|
+
* Current cache minor version of the instance. If the instance is added to a global replication group, the global replication kernel version is displayed.
|
|
11040
11159
|
* @type {string || null}
|
|
11041
11160
|
*/
|
|
11042
11161
|
this.CurrentRedisVersion = null;
|
|
11043
11162
|
|
|
11044
11163
|
/**
|
|
11045
|
-
* Upgradable
|
|
11046
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11164
|
+
* Upgradable proxy version for the instance.
|
|
11047
11165
|
* @type {string || null}
|
|
11048
11166
|
*/
|
|
11049
11167
|
this.UpgradeProxyVersion = null;
|
|
11050
11168
|
|
|
11051
11169
|
/**
|
|
11052
|
-
* Upgradable
|
|
11053
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11170
|
+
* Upgradable cache minor version for the instance.
|
|
11054
11171
|
* @type {string || null}
|
|
11055
11172
|
*/
|
|
11056
11173
|
this.UpgradeRedisVersion = null;
|
|
11057
11174
|
|
|
11058
11175
|
/**
|
|
11059
|
-
* Backup mode. SecondLevelBackup: second-level backup
|
|
11060
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11176
|
+
* Backup mode. - SecondLevelBackup: second-level backup. - NormalLevelBackup: ordinary backup.
|
|
11061
11177
|
* @type {string || null}
|
|
11062
11178
|
*/
|
|
11063
11179
|
this.BackupMode = null;
|
|
@@ -11554,15 +11670,17 @@ class InquiryPriceCreateInstanceRequest extends AbstractModel {
|
|
|
11554
11670
|
|
|
11555
11671
|
/**
|
|
11556
11672
|
* Instance type.
|
|
11557
|
-
|
|
11558
|
-
-
|
|
11559
|
-
-
|
|
11560
|
-
-
|
|
11561
|
-
-
|
|
11562
|
-
-
|
|
11563
|
-
-
|
|
11564
|
-
-
|
|
11565
|
-
-
|
|
11673
|
+
|
|
11674
|
+
- 2: Redis 2.8 memory edition (standard architecture).
|
|
11675
|
+
- 6: Redis 4.0 memory edition (standard architecture).
|
|
11676
|
+
- 7: Redis 4.0 memory edition (cluster architecture).
|
|
11677
|
+
- 8: Redis 5.0 memory edition (standard architecture).
|
|
11678
|
+
- 9: Redis 5.0 memory edition (cluster architecture).
|
|
11679
|
+
- 15: Redis 6.2 memory edition (standard architecture).
|
|
11680
|
+
- 16: Redis 6.2 memory edition (cluster architecture).
|
|
11681
|
+
- 17: Redis 7.0 memory edition (standard architecture).
|
|
11682
|
+
- 18: Redis 7.0 memory edition (cluster architecture).
|
|
11683
|
+
- 200: Memcached 1.6 memory edition (cluster architecture).
|
|
11566
11684
|
* @type {number || null}
|
|
11567
11685
|
*/
|
|
11568
11686
|
this.TypeId = null;
|
|
@@ -12516,6 +12634,43 @@ class DescribeRedisClustersResponse extends AbstractModel {
|
|
|
12516
12634
|
}
|
|
12517
12635
|
}
|
|
12518
12636
|
|
|
12637
|
+
/**
|
|
12638
|
+
* ModifyInstanceBackupMode request structure.
|
|
12639
|
+
* @class
|
|
12640
|
+
*/
|
|
12641
|
+
class ModifyInstanceBackupModeRequest extends AbstractModel {
|
|
12642
|
+
constructor(){
|
|
12643
|
+
super();
|
|
12644
|
+
|
|
12645
|
+
/**
|
|
12646
|
+
* Instance ID, which can contain 12 to 36 characters.
|
|
12647
|
+
* @type {string || null}
|
|
12648
|
+
*/
|
|
12649
|
+
this.InstanceId = null;
|
|
12650
|
+
|
|
12651
|
+
/**
|
|
12652
|
+
* Backup mode:
|
|
12653
|
+
- SecondLevelBackup: second-level backup.
|
|
12654
|
+
- NormalLevelBackup: ordinary backup.
|
|
12655
|
+
* @type {string || null}
|
|
12656
|
+
*/
|
|
12657
|
+
this.BackupMode = null;
|
|
12658
|
+
|
|
12659
|
+
}
|
|
12660
|
+
|
|
12661
|
+
/**
|
|
12662
|
+
* @private
|
|
12663
|
+
*/
|
|
12664
|
+
deserialize(params) {
|
|
12665
|
+
if (!params) {
|
|
12666
|
+
return;
|
|
12667
|
+
}
|
|
12668
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
12669
|
+
this.BackupMode = 'BackupMode' in params ? params.BackupMode : null;
|
|
12670
|
+
|
|
12671
|
+
}
|
|
12672
|
+
}
|
|
12673
|
+
|
|
12519
12674
|
/**
|
|
12520
12675
|
* DescribeProxySlowLog response structure.
|
|
12521
12676
|
* @class
|
|
@@ -12531,7 +12686,7 @@ class DescribeProxySlowLogResponse extends AbstractModel {
|
|
|
12531
12686
|
this.TotalCount = null;
|
|
12532
12687
|
|
|
12533
12688
|
/**
|
|
12534
|
-
* Slow query details
|
|
12689
|
+
* Slow query details. Note: If the value of TotalCount is greater than 10,000, indicating that the number of slow logs exceeds 10,000, log details cannot be returned. Instead, the returned data is empty. It is recommended to reduce the interval between BeginTime and EndTime and perform multiple queries.
|
|
12535
12690
|
* @type {Array.<InstanceProxySlowlogDetail> || null}
|
|
12536
12691
|
*/
|
|
12537
12692
|
this.InstanceProxySlowLogDetail = null;
|
|
@@ -12612,15 +12767,13 @@ class DescribeInstanceAccountResponse extends AbstractModel {
|
|
|
12612
12767
|
super();
|
|
12613
12768
|
|
|
12614
12769
|
/**
|
|
12615
|
-
* Account details
|
|
12616
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12770
|
+
* Account details.
|
|
12617
12771
|
* @type {Array.<Account> || null}
|
|
12618
12772
|
*/
|
|
12619
12773
|
this.Accounts = null;
|
|
12620
12774
|
|
|
12621
12775
|
/**
|
|
12622
|
-
* Number of accounts
|
|
12623
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12776
|
+
* Number of accounts.
|
|
12624
12777
|
* @type {number || null}
|
|
12625
12778
|
*/
|
|
12626
12779
|
this.TotalCount = null;
|
|
@@ -12718,6 +12871,48 @@ class DescribeBackupDownloadRestrictionRequest extends AbstractModel {
|
|
|
12718
12871
|
}
|
|
12719
12872
|
}
|
|
12720
12873
|
|
|
12874
|
+
/**
|
|
12875
|
+
* Tendis node information
|
|
12876
|
+
* @class
|
|
12877
|
+
*/
|
|
12878
|
+
class TendisNodes extends AbstractModel {
|
|
12879
|
+
constructor(){
|
|
12880
|
+
super();
|
|
12881
|
+
|
|
12882
|
+
/**
|
|
12883
|
+
* Node ID
|
|
12884
|
+
* @type {string || null}
|
|
12885
|
+
*/
|
|
12886
|
+
this.NodeId = null;
|
|
12887
|
+
|
|
12888
|
+
/**
|
|
12889
|
+
* Node role
|
|
12890
|
+
* @type {string || null}
|
|
12891
|
+
*/
|
|
12892
|
+
this.NodeRole = null;
|
|
12893
|
+
|
|
12894
|
+
/**
|
|
12895
|
+
* AZ ID.
|
|
12896
|
+
* @type {number || null}
|
|
12897
|
+
*/
|
|
12898
|
+
this.ZoneId = null;
|
|
12899
|
+
|
|
12900
|
+
}
|
|
12901
|
+
|
|
12902
|
+
/**
|
|
12903
|
+
* @private
|
|
12904
|
+
*/
|
|
12905
|
+
deserialize(params) {
|
|
12906
|
+
if (!params) {
|
|
12907
|
+
return;
|
|
12908
|
+
}
|
|
12909
|
+
this.NodeId = 'NodeId' in params ? params.NodeId : null;
|
|
12910
|
+
this.NodeRole = 'NodeRole' in params ? params.NodeRole : null;
|
|
12911
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
12912
|
+
|
|
12913
|
+
}
|
|
12914
|
+
}
|
|
12915
|
+
|
|
12721
12916
|
/**
|
|
12722
12917
|
* DescribeParamTemplateInfo response structure.
|
|
12723
12918
|
* @class
|
|
@@ -12828,6 +13023,12 @@ class SwitchProxyRequest extends AbstractModel {
|
|
|
12828
13023
|
*/
|
|
12829
13024
|
this.ProxyID = null;
|
|
12830
13025
|
|
|
13026
|
+
/**
|
|
13027
|
+
* Instance proxy ID list. Call the API [DescribeInstanceNodeInfo](https://www.tencentcloud.comom/document/product/239/48603?from_cn_redirect=1) to obtain IDs from **NodeId** in the **Proxy** response parameter.
|
|
13028
|
+
* @type {Array.<string> || null}
|
|
13029
|
+
*/
|
|
13030
|
+
this.ProxyIDList = null;
|
|
13031
|
+
|
|
12831
13032
|
}
|
|
12832
13033
|
|
|
12833
13034
|
/**
|
|
@@ -12839,6 +13040,7 @@ class SwitchProxyRequest extends AbstractModel {
|
|
|
12839
13040
|
}
|
|
12840
13041
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
12841
13042
|
this.ProxyID = 'ProxyID' in params ? params.ProxyID : null;
|
|
13043
|
+
this.ProxyIDList = 'ProxyIDList' in params ? params.ProxyIDList : null;
|
|
12842
13044
|
|
|
12843
13045
|
}
|
|
12844
13046
|
}
|
|
@@ -13269,6 +13471,41 @@ class RemoveReplicationInstanceResponse extends AbstractModel {
|
|
|
13269
13471
|
}
|
|
13270
13472
|
}
|
|
13271
13473
|
|
|
13474
|
+
/**
|
|
13475
|
+
* DescribeSecondLevelBackupInfo request structure.
|
|
13476
|
+
* @class
|
|
13477
|
+
*/
|
|
13478
|
+
class DescribeSecondLevelBackupInfoRequest extends AbstractModel {
|
|
13479
|
+
constructor(){
|
|
13480
|
+
super();
|
|
13481
|
+
|
|
13482
|
+
/**
|
|
13483
|
+
* Specifies the instance ID. For example, crs-xjhsdj****. Log in to the TencentDB for Redis® console and copy the instance ID from the instance list.
|
|
13484
|
+
* @type {string || null}
|
|
13485
|
+
*/
|
|
13486
|
+
this.InstanceId = null;
|
|
13487
|
+
|
|
13488
|
+
/**
|
|
13489
|
+
* Second-level backup timestamp. The corresponding time should be within the last 7 days.
|
|
13490
|
+
* @type {number || null}
|
|
13491
|
+
*/
|
|
13492
|
+
this.BackupTimestamp = null;
|
|
13493
|
+
|
|
13494
|
+
}
|
|
13495
|
+
|
|
13496
|
+
/**
|
|
13497
|
+
* @private
|
|
13498
|
+
*/
|
|
13499
|
+
deserialize(params) {
|
|
13500
|
+
if (!params) {
|
|
13501
|
+
return;
|
|
13502
|
+
}
|
|
13503
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
13504
|
+
this.BackupTimestamp = 'BackupTimestamp' in params ? params.BackupTimestamp : null;
|
|
13505
|
+
|
|
13506
|
+
}
|
|
13507
|
+
}
|
|
13508
|
+
|
|
13272
13509
|
/**
|
|
13273
13510
|
* Security group details
|
|
13274
13511
|
* @class
|
|
@@ -13364,12 +13601,32 @@ class InquiryPriceUpgradeInstanceResponse extends AbstractModel {
|
|
|
13364
13601
|
super();
|
|
13365
13602
|
|
|
13366
13603
|
/**
|
|
13367
|
-
* Price.
|
|
13368
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
13604
|
+
* Price.
|
|
13369
13605
|
* @type {number || null}
|
|
13370
13606
|
*/
|
|
13371
13607
|
this.Price = null;
|
|
13372
13608
|
|
|
13609
|
+
/**
|
|
13610
|
+
* High precision price.
|
|
13611
|
+
* @type {number || null}
|
|
13612
|
+
*/
|
|
13613
|
+
this.HighPrecisionPrice = null;
|
|
13614
|
+
|
|
13615
|
+
/**
|
|
13616
|
+
* Currency.
|
|
13617
|
+
* @type {string || null}
|
|
13618
|
+
*/
|
|
13619
|
+
this.Currency = null;
|
|
13620
|
+
|
|
13621
|
+
/**
|
|
13622
|
+
* Price unit.
|
|
13623
|
+
|
|
13624
|
+
- pent: cent.
|
|
13625
|
+
- microPent: microcent.
|
|
13626
|
+
* @type {string || null}
|
|
13627
|
+
*/
|
|
13628
|
+
this.AmountUnit = null;
|
|
13629
|
+
|
|
13373
13630
|
/**
|
|
13374
13631
|
* 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.
|
|
13375
13632
|
* @type {string || null}
|
|
@@ -13386,6 +13643,9 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
13386
13643
|
return;
|
|
13387
13644
|
}
|
|
13388
13645
|
this.Price = 'Price' in params ? params.Price : null;
|
|
13646
|
+
this.HighPrecisionPrice = 'HighPrecisionPrice' in params ? params.HighPrecisionPrice : null;
|
|
13647
|
+
this.Currency = 'Currency' in params ? params.Currency : null;
|
|
13648
|
+
this.AmountUnit = 'AmountUnit' in params ? params.AmountUnit : null;
|
|
13389
13649
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
13390
13650
|
|
|
13391
13651
|
}
|
|
@@ -13845,7 +14105,7 @@ class UpgradeInstanceRequest extends AbstractModel {
|
|
|
13845
14105
|
super();
|
|
13846
14106
|
|
|
13847
14107
|
/**
|
|
13848
|
-
*
|
|
14108
|
+
* ID of the instance whose configuration is to be modified. Log in to the [TencentDB for Redis® console](https://console.cloud.tencent.com/Redis/instance/list) and copy the instance ID from the instance list.
|
|
13849
14109
|
* @type {string || null}
|
|
13850
14110
|
*/
|
|
13851
14111
|
this.InstanceId = null;
|
|
@@ -13874,6 +14134,14 @@ class UpgradeInstanceRequest extends AbstractModel {
|
|
|
13874
14134
|
*/
|
|
13875
14135
|
this.NodeSet = null;
|
|
13876
14136
|
|
|
14137
|
+
/**
|
|
14138
|
+
* Switch time.
|
|
14139
|
+
- 1: Perform the operation within the maintenance window: Specification upgrade is executed within the set maintenance window. Use the API [DescribeMaintenanceWindow](https://intl.cloud.tencent.com/document/product/239/46336?from_cn_redirect=1) to query the time period of the set maintenance window. Replica addition/removal, shard addition/removal, and memory capacity expansion/shrinkage are supported within the maintenance window. Specification upgrade within the maintenance window is being gradually tested and published by region. It is already supported in some regions. For urgent integration in regions that do not support it, [submit a ticket](https://console.cloud.tencent.com/workorder/category) to apply for an allowlist.
|
|
14140
|
+
-2: Perform the operation immediately: The operation will be performed immediately, without the need to wait for the maintenance window. Operations will be performed immediately by default for the system.
|
|
14141
|
+
* @type {number || null}
|
|
14142
|
+
*/
|
|
14143
|
+
this.SwitchOption = null;
|
|
14144
|
+
|
|
13877
14145
|
}
|
|
13878
14146
|
|
|
13879
14147
|
/**
|
|
@@ -13896,6 +14164,7 @@ class UpgradeInstanceRequest extends AbstractModel {
|
|
|
13896
14164
|
this.NodeSet.push(obj);
|
|
13897
14165
|
}
|
|
13898
14166
|
}
|
|
14167
|
+
this.SwitchOption = 'SwitchOption' in params ? params.SwitchOption : null;
|
|
13899
14168
|
|
|
13900
14169
|
}
|
|
13901
14170
|
}
|
|
@@ -13915,8 +14184,7 @@ class DescribeInstanceNodeInfoResponse extends AbstractModel {
|
|
|
13915
14184
|
this.ProxyCount = null;
|
|
13916
14185
|
|
|
13917
14186
|
/**
|
|
13918
|
-
* Proxy node information
|
|
13919
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14187
|
+
* Proxy node information.
|
|
13920
14188
|
* @type {Array.<ProxyNodes> || null}
|
|
13921
14189
|
*/
|
|
13922
14190
|
this.Proxy = null;
|
|
@@ -13928,8 +14196,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
|
13928
14196
|
this.RedisCount = null;
|
|
13929
14197
|
|
|
13930
14198
|
/**
|
|
13931
|
-
* Redis node information
|
|
13932
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14199
|
+
* TencentDB for Redis® node information.
|
|
13933
14200
|
* @type {Array.<RedisNodes> || null}
|
|
13934
14201
|
*/
|
|
13935
14202
|
this.Redis = null;
|
|
@@ -13941,8 +14208,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
|
13941
14208
|
this.TendisCount = null;
|
|
13942
14209
|
|
|
13943
14210
|
/**
|
|
13944
|
-
* This parameter
|
|
13945
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14211
|
+
* This parameter is no longer used. Please ignore it.
|
|
13946
14212
|
* @type {Array.<TendisNodes> || null}
|
|
13947
14213
|
*/
|
|
13948
14214
|
this.Tendis = null;
|
|
@@ -14097,8 +14363,7 @@ class Instances extends AbstractModel {
|
|
|
14097
14363
|
this.RedisShardSize = null;
|
|
14098
14364
|
|
|
14099
14365
|
/**
|
|
14100
|
-
* Instance disk size
|
|
14101
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14366
|
+
* Instance disk size.
|
|
14102
14367
|
* @type {number || null}
|
|
14103
14368
|
*/
|
|
14104
14369
|
this.DiskSize = null;
|
|
@@ -14122,15 +14387,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
14122
14387
|
this.Vip = null;
|
|
14123
14388
|
|
|
14124
14389
|
/**
|
|
14125
|
-
*
|
|
14126
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14390
|
+
* This parameter encounters a naming issue. It is recommended to use the parameter IPv6 instead. It is an internal parameter and can be ignored.
|
|
14127
14391
|
* @type {string || null}
|
|
14128
14392
|
*/
|
|
14129
14393
|
this.Vip6 = null;
|
|
14130
14394
|
|
|
14131
14395
|
/**
|
|
14132
|
-
* Internal
|
|
14133
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14396
|
+
* Internal parameter, which can be ignored.
|
|
14134
14397
|
* @type {string || null}
|
|
14135
14398
|
*/
|
|
14136
14399
|
this.IPv6 = null;
|
|
@@ -14427,6 +14690,7 @@ class InstanceSlowlogDetail extends AbstractModel {
|
|
|
14427
14690
|
|
|
14428
14691
|
module.exports = {
|
|
14429
14692
|
UpgradeProxyVersionRequest: UpgradeProxyVersionRequest,
|
|
14693
|
+
RemoveReplicationGroupRequest: RemoveReplicationGroupRequest,
|
|
14430
14694
|
UpgradeSmallVersionRequest: UpgradeSmallVersionRequest,
|
|
14431
14695
|
ModifyInstanceParamsResponse: ModifyInstanceParamsResponse,
|
|
14432
14696
|
EnableReplicaReadonlyRequest: EnableReplicaReadonlyRequest,
|
|
@@ -14452,7 +14716,7 @@ module.exports = {
|
|
|
14452
14716
|
AssociateSecurityGroupsRequest: AssociateSecurityGroupsRequest,
|
|
14453
14717
|
DescribeTaskListResponse: DescribeTaskListResponse,
|
|
14454
14718
|
ModifyInstancePasswordResponse: ModifyInstancePasswordResponse,
|
|
14455
|
-
|
|
14719
|
+
DescribeSecondLevelBackupInfoResponse: DescribeSecondLevelBackupInfoResponse,
|
|
14456
14720
|
RenewInstanceResponse: RenewInstanceResponse,
|
|
14457
14721
|
DescribeSlowLogResponse: DescribeSlowLogResponse,
|
|
14458
14722
|
DescribeCommonDBInstancesRequest: DescribeCommonDBInstancesRequest,
|
|
@@ -14484,6 +14748,7 @@ module.exports = {
|
|
|
14484
14748
|
ModifyAutoBackupConfigRequest: ModifyAutoBackupConfigRequest,
|
|
14485
14749
|
InstanceMultiParam: InstanceMultiParam,
|
|
14486
14750
|
DescribeInstanceDealDetailRequest: DescribeInstanceDealDetailRequest,
|
|
14751
|
+
KillMasterGroupResponse: KillMasterGroupResponse,
|
|
14487
14752
|
RedisNode: RedisNode,
|
|
14488
14753
|
DescribeProjectSecurityGroupRequest: DescribeProjectSecurityGroupRequest,
|
|
14489
14754
|
ParameterDetail: ParameterDetail,
|
|
@@ -14541,6 +14806,7 @@ module.exports = {
|
|
|
14541
14806
|
DescribeInstanceMonitorTookDistRequest: DescribeInstanceMonitorTookDistRequest,
|
|
14542
14807
|
DeleteReplicationInstanceRequest: DeleteReplicationInstanceRequest,
|
|
14543
14808
|
SwitchAccessNewInstanceRequest: SwitchAccessNewInstanceRequest,
|
|
14809
|
+
RemoveReplicationGroupResponse: RemoveReplicationGroupResponse,
|
|
14544
14810
|
KillMasterGroupRequest: KillMasterGroupRequest,
|
|
14545
14811
|
SwitchAccessNewInstanceResponse: SwitchAccessNewInstanceResponse,
|
|
14546
14812
|
CloneInstancesResponse: CloneInstancesResponse,
|
|
@@ -14555,6 +14821,7 @@ module.exports = {
|
|
|
14555
14821
|
DescribeTaskListRequest: DescribeTaskListRequest,
|
|
14556
14822
|
ChangeMasterInstanceResponse: ChangeMasterInstanceResponse,
|
|
14557
14823
|
ModifyInstanceEventRequest: ModifyInstanceEventRequest,
|
|
14824
|
+
SecondLevelBackupMissingTimestamps: SecondLevelBackupMissingTimestamps,
|
|
14558
14825
|
DescribeBackupDetailResponse: DescribeBackupDetailResponse,
|
|
14559
14826
|
ChangeReplicaToMasterResponse: ChangeReplicaToMasterResponse,
|
|
14560
14827
|
CreateInstancesResponse: CreateInstancesResponse,
|
|
@@ -14590,7 +14857,7 @@ module.exports = {
|
|
|
14590
14857
|
ModifyConnectionConfigRequest: ModifyConnectionConfigRequest,
|
|
14591
14858
|
ManualBackupInstanceResponse: ManualBackupInstanceResponse,
|
|
14592
14859
|
InstanceNode: InstanceNode,
|
|
14593
|
-
|
|
14860
|
+
ModifyInstanceBackupModeResponse: ModifyInstanceBackupModeResponse,
|
|
14594
14861
|
SwitchProxyResponse: SwitchProxyResponse,
|
|
14595
14862
|
StartupInstanceResponse: StartupInstanceResponse,
|
|
14596
14863
|
DescribeInstanceDTSInstanceInfo: DescribeInstanceDTSInstanceInfo,
|
|
@@ -14655,11 +14922,13 @@ module.exports = {
|
|
|
14655
14922
|
DescribeTendisSlowLogRequest: DescribeTendisSlowLogRequest,
|
|
14656
14923
|
DescribeProxySlowLogRequest: DescribeProxySlowLogRequest,
|
|
14657
14924
|
DescribeRedisClustersResponse: DescribeRedisClustersResponse,
|
|
14925
|
+
ModifyInstanceBackupModeRequest: ModifyInstanceBackupModeRequest,
|
|
14658
14926
|
DescribeProxySlowLogResponse: DescribeProxySlowLogResponse,
|
|
14659
14927
|
ModifyInstanceReadOnlyRequest: ModifyInstanceReadOnlyRequest,
|
|
14660
14928
|
DescribeInstanceAccountResponse: DescribeInstanceAccountResponse,
|
|
14661
14929
|
DescribeInstanceMonitorBigKeyRequest: DescribeInstanceMonitorBigKeyRequest,
|
|
14662
14930
|
DescribeBackupDownloadRestrictionRequest: DescribeBackupDownloadRestrictionRequest,
|
|
14931
|
+
TendisNodes: TendisNodes,
|
|
14663
14932
|
DescribeParamTemplateInfoResponse: DescribeParamTemplateInfoResponse,
|
|
14664
14933
|
SwitchProxyRequest: SwitchProxyRequest,
|
|
14665
14934
|
DescribeInstanceSpecBandwidthRequest: DescribeInstanceSpecBandwidthRequest,
|
|
@@ -14672,6 +14941,7 @@ module.exports = {
|
|
|
14672
14941
|
CreateInstanceAccountResponse: CreateInstanceAccountResponse,
|
|
14673
14942
|
DescribeInstanceBackupsRequest: DescribeInstanceBackupsRequest,
|
|
14674
14943
|
RemoveReplicationInstanceResponse: RemoveReplicationInstanceResponse,
|
|
14944
|
+
DescribeSecondLevelBackupInfoRequest: DescribeSecondLevelBackupInfoRequest,
|
|
14675
14945
|
SecurityGroupDetail: SecurityGroupDetail,
|
|
14676
14946
|
InquiryPriceUpgradeInstanceResponse: InquiryPriceUpgradeInstanceResponse,
|
|
14677
14947
|
DeleteInstanceAccountResponse: DeleteInstanceAccountResponse,
|