tencentcloud-sdk-python-intl-en 3.0.1258__py2.py3-none-any.whl → 3.0.1259__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/emr/v20190103/models.py +336 -0
- tencentcloud/postgres/v20170312/errorcodes.py +18 -0
- tencentcloud/postgres/v20170312/models.py +56 -22
- tencentcloud/redis/v20180412/models.py +1117 -745
- tencentcloud/redis/v20180412/redis_client.py +75 -6
- tencentcloud/trtc/v20190722/models.py +1368 -323
- tencentcloud/trtc/v20190722/trtc_client.py +97 -0
- {tencentcloud_sdk_python_intl_en-3.0.1258.dist-info → tencentcloud_sdk_python_intl_en-3.0.1259.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1258.dist-info → tencentcloud_sdk_python_intl_en-3.0.1259.dist-info}/RECORD +12 -12
- {tencentcloud_sdk_python_intl_en-3.0.1258.dist-info → tencentcloud_sdk_python_intl_en-3.0.1259.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1258.dist-info → tencentcloud_sdk_python_intl_en-3.0.1259.dist-info}/top_level.txt +0 -0
@@ -26,32 +26,27 @@ class Account(AbstractModel):
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
28
|
:param _InstanceId: Instance ID.
|
29
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
30
29
|
:type InstanceId: str
|
31
30
|
:param _AccountName: Account name.
|
32
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
33
31
|
:type AccountName: str
|
34
32
|
:param _Remark: Account description.
|
35
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
36
33
|
:type Remark: str
|
37
|
-
:param _Privilege: Read/
|
34
|
+
:param _Privilege: Read/Write permission policy.
|
38
35
|
- r: read-only.
|
39
|
-
|
36
|
+
|
37
|
+
- w: write-only.
|
40
38
|
- rw: read/write.
|
41
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
42
39
|
:type Privilege: str
|
43
40
|
:param _ReadonlyPolicy: Read-only routing policy.
|
44
|
-
- master: primary node.
|
45
|
-
- replication:
|
46
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
41
|
+
- master: primary node.
|
42
|
+
- replication: replica node.
|
47
43
|
:type ReadonlyPolicy: list of str
|
48
44
|
:param _Status: Sub-account status.
|
49
|
-
- 1:
|
50
|
-
- 2: valid.
|
51
|
-
- 4: deleted.
|
52
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
45
|
+
- 1: account under modification.
|
46
|
+
- 2: valid account.
|
47
|
+
- 4: account deleted.
|
53
48
|
:type Status: int
|
54
|
-
:param _CreateTime: Creation time
|
49
|
+
:param _CreateTime: Creation time
|
55
50
|
:type CreateTime: str
|
56
51
|
"""
|
57
52
|
self._InstanceId = None
|
@@ -65,7 +60,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
65
60
|
@property
|
66
61
|
def InstanceId(self):
|
67
62
|
"""Instance ID.
|
68
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
69
63
|
:rtype: str
|
70
64
|
"""
|
71
65
|
return self._InstanceId
|
@@ -77,7 +71,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
77
71
|
@property
|
78
72
|
def AccountName(self):
|
79
73
|
"""Account name.
|
80
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
81
74
|
:rtype: str
|
82
75
|
"""
|
83
76
|
return self._AccountName
|
@@ -89,7 +82,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
89
82
|
@property
|
90
83
|
def Remark(self):
|
91
84
|
"""Account description.
|
92
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
93
85
|
:rtype: str
|
94
86
|
"""
|
95
87
|
return self._Remark
|
@@ -100,11 +92,11 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
100
92
|
|
101
93
|
@property
|
102
94
|
def Privilege(self):
|
103
|
-
"""Read/
|
95
|
+
"""Read/Write permission policy.
|
104
96
|
- r: read-only.
|
105
|
-
|
97
|
+
|
98
|
+
- w: write-only.
|
106
99
|
- rw: read/write.
|
107
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
108
100
|
:rtype: str
|
109
101
|
"""
|
110
102
|
return self._Privilege
|
@@ -116,9 +108,8 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
116
108
|
@property
|
117
109
|
def ReadonlyPolicy(self):
|
118
110
|
"""Read-only routing policy.
|
119
|
-
- master: primary node.
|
120
|
-
- replication:
|
121
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
111
|
+
- master: primary node.
|
112
|
+
- replication: replica node.
|
122
113
|
:rtype: list of str
|
123
114
|
"""
|
124
115
|
return self._ReadonlyPolicy
|
@@ -130,10 +121,9 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
130
121
|
@property
|
131
122
|
def Status(self):
|
132
123
|
"""Sub-account status.
|
133
|
-
- 1:
|
134
|
-
- 2: valid.
|
135
|
-
- 4: deleted.
|
136
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
124
|
+
- 1: account under modification.
|
125
|
+
- 2: valid account.
|
126
|
+
- 4: account deleted.
|
137
127
|
:rtype: int
|
138
128
|
"""
|
139
129
|
return self._Status
|
@@ -144,7 +134,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
144
134
|
|
145
135
|
@property
|
146
136
|
def CreateTime(self):
|
147
|
-
"""Creation time
|
137
|
+
"""Creation time
|
148
138
|
:rtype: str
|
149
139
|
"""
|
150
140
|
return self._CreateTime
|
@@ -571,11 +561,8 @@ class AvailableRegion(AbstractModel):
|
|
571
561
|
def __init__(self):
|
572
562
|
r"""
|
573
563
|
:param _Region: Region
|
574
|
-
|
575
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
576
564
|
:type Region: str
|
577
|
-
:param _AvailableZones: AZ information
|
578
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
565
|
+
:param _AvailableZones: AZ information
|
579
566
|
:type AvailableZones: list of str
|
580
567
|
"""
|
581
568
|
self._Region = None
|
@@ -584,8 +571,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
584
571
|
@property
|
585
572
|
def Region(self):
|
586
573
|
"""Region
|
587
|
-
|
588
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
589
574
|
:rtype: str
|
590
575
|
"""
|
591
576
|
return self._Region
|
@@ -596,8 +581,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
596
581
|
|
597
582
|
@property
|
598
583
|
def AvailableZones(self):
|
599
|
-
"""AZ information
|
600
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
584
|
+
"""AZ information
|
601
585
|
:rtype: list of str
|
602
586
|
"""
|
603
587
|
return self._AvailableZones
|
@@ -2386,7 +2370,8 @@ class CreateInstancesRequest(AbstractModel):
|
|
2386
2370
|
def __init__(self):
|
2387
2371
|
r"""
|
2388
2372
|
:param _TypeId: Instance type.
|
2389
|
-
|
2373
|
+
|
2374
|
+
<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>
|
2390
2375
|
:type TypeId: int
|
2391
2376
|
:param _MemSize: Memory capacity in MB, which must be an integer multiple of 1024. For specific specifications, query the sales specifications in all regions through the [DescribeProductInfo](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1) API.
|
2392
2377
|
- When **TypeId** is a standard architecture, **MemSize** is the total memory capacity of the instance;
|
@@ -2402,10 +2387,10 @@ class CreateInstancesRequest(AbstractModel):
|
|
2402
2387
|
:type BillingMode: int
|
2403
2388
|
:param _ZoneId: ID of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
|
2404
2389
|
:type ZoneId: int
|
2405
|
-
:param _Password:
|
2406
|
-
-
|
2407
|
-
-
|
2408
|
-
- When the instance type parameter **TypeId** is set to CKV 3.2
|
2390
|
+
:param _Password: Instance access password.
|
2391
|
+
- 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.
|
2392
|
+
- 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: ()`~!@#$%^&*-+=_|{}[]:;<>,.?/
|
2393
|
+
- 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.
|
2409
2394
|
:type Password: str
|
2410
2395
|
:param _VpcId: VPC ID. If this parameter is not passed in, the classic network will be selected by default. You can query the specific VPC ID in the [VPC console](https://console.cloud.tencent.com/vpc).
|
2411
2396
|
:type VpcId: str
|
@@ -2458,10 +2443,10 @@ Node information of an instance. Currently, information about the node type (mas
|
|
2458
2443
|
- `false`: Default value. Send a normal request and create an instance if all the requirements are met.
|
2459
2444
|
- `true`: Send a check request and create no instance.
|
2460
2445
|
:type DryRun: bool
|
2461
|
-
:param _ProductVersion:
|
2462
|
-
-
|
2463
|
-
-
|
2464
|
-
-
|
2446
|
+
:param _ProductVersion: Specifies the instance deployment mode.
|
2447
|
+
- local: traditional architecture. It is the default value.
|
2448
|
+
- cdc: dedicated cluster.
|
2449
|
+
- cloud: cloud native. Currently, this mode is unavailable.
|
2465
2450
|
:type ProductVersion: str
|
2466
2451
|
:param _RedisClusterId: Exclusive cluster ID. When `ProductVersion` is set to `cdc`, this parameter is required.
|
2467
2452
|
:type RedisClusterId: str
|
@@ -2498,7 +2483,8 @@ Node information of an instance. Currently, information about the node type (mas
|
|
2498
2483
|
@property
|
2499
2484
|
def TypeId(self):
|
2500
2485
|
"""Instance type.
|
2501
|
-
|
2486
|
+
|
2487
|
+
<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>
|
2502
2488
|
:rtype: int
|
2503
2489
|
"""
|
2504
2490
|
return self._TypeId
|
@@ -2568,10 +2554,10 @@ Node information of an instance. Currently, information about the node type (mas
|
|
2568
2554
|
|
2569
2555
|
@property
|
2570
2556
|
def Password(self):
|
2571
|
-
"""
|
2572
|
-
-
|
2573
|
-
-
|
2574
|
-
- When the instance type parameter **TypeId** is set to CKV 3.2
|
2557
|
+
"""Instance access password.
|
2558
|
+
- 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.
|
2559
|
+
- 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: ()`~!@#$%^&*-+=_|{}[]:;<>,.?/
|
2560
|
+
- 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.
|
2575
2561
|
:rtype: str
|
2576
2562
|
"""
|
2577
2563
|
return self._Password
|
@@ -2777,10 +2763,10 @@ Node information of an instance. Currently, information about the node type (mas
|
|
2777
2763
|
|
2778
2764
|
@property
|
2779
2765
|
def ProductVersion(self):
|
2780
|
-
"""
|
2781
|
-
-
|
2782
|
-
-
|
2783
|
-
-
|
2766
|
+
"""Specifies the instance deployment mode.
|
2767
|
+
- local: traditional architecture. It is the default value.
|
2768
|
+
- cdc: dedicated cluster.
|
2769
|
+
- cloud: cloud native. Currently, this mode is unavailable.
|
2784
2770
|
:rtype: str
|
2785
2771
|
"""
|
2786
2772
|
return self._ProductVersion
|
@@ -4236,8 +4222,7 @@ class DescribeBackupUrlResponse(AbstractModel):
|
|
4236
4222
|
:param _Filenames: Filename. This field will be disused soon.
|
4237
4223
|
Note: This field may return null, indicating that no valid values can be obtained.
|
4238
4224
|
:type Filenames: list of str
|
4239
|
-
:param _BackupInfos:
|
4240
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
4225
|
+
:param _BackupInfos: Backup file information list.
|
4241
4226
|
:type BackupInfos: list of BackupDownloadInfo
|
4242
4227
|
:param _RequestId: 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.
|
4243
4228
|
:type RequestId: str
|
@@ -4296,8 +4281,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
4296
4281
|
|
4297
4282
|
@property
|
4298
4283
|
def BackupInfos(self):
|
4299
|
-
"""
|
4300
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
4284
|
+
"""Backup file information list.
|
4301
4285
|
:rtype: list of BackupDownloadInfo
|
4302
4286
|
"""
|
4303
4287
|
return self._BackupInfos
|
@@ -4992,11 +4976,9 @@ class DescribeInstanceAccountResponse(AbstractModel):
|
|
4992
4976
|
|
4993
4977
|
def __init__(self):
|
4994
4978
|
r"""
|
4995
|
-
:param _Accounts: Account details
|
4996
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
4979
|
+
:param _Accounts: Account details.
|
4997
4980
|
:type Accounts: list of Account
|
4998
|
-
:param _TotalCount: Number of accounts
|
4999
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
4981
|
+
:param _TotalCount: Number of accounts.
|
5000
4982
|
:type TotalCount: int
|
5001
4983
|
:param _RequestId: 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.
|
5002
4984
|
:type RequestId: str
|
@@ -5007,8 +4989,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
5007
4989
|
|
5008
4990
|
@property
|
5009
4991
|
def Accounts(self):
|
5010
|
-
"""Account details
|
5011
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
4992
|
+
"""Account details.
|
5012
4993
|
:rtype: list of Account
|
5013
4994
|
"""
|
5014
4995
|
return self._Accounts
|
@@ -5019,8 +5000,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
5019
5000
|
|
5020
5001
|
@property
|
5021
5002
|
def TotalCount(self):
|
5022
|
-
"""Number of accounts
|
5023
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5003
|
+
"""Number of accounts.
|
5024
5004
|
:rtype: int
|
5025
5005
|
"""
|
5026
5006
|
return self._TotalCount
|
@@ -5296,29 +5276,21 @@ class DescribeInstanceDTSInfoResponse(AbstractModel):
|
|
5296
5276
|
|
5297
5277
|
def __init__(self):
|
5298
5278
|
r"""
|
5299
|
-
:param _JobId: DTS task ID
|
5300
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5279
|
+
:param _JobId: DTS task ID.
|
5301
5280
|
:type JobId: str
|
5302
|
-
:param _JobName: DTS task name
|
5303
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5281
|
+
:param _JobName: DTS task name.
|
5304
5282
|
:type JobName: str
|
5305
|
-
:param _Status: Task status.
|
5306
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5283
|
+
:param _Status: 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).
|
5307
5284
|
:type Status: int
|
5308
|
-
:param _StatusDesc: Status description
|
5309
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5285
|
+
:param _StatusDesc: Status description.
|
5310
5286
|
:type StatusDesc: str
|
5311
|
-
:param _Offset:
|
5312
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5287
|
+
:param _Offset: Synchronization delay. Unit: bytes.
|
5313
5288
|
:type Offset: int
|
5314
|
-
:param _CutDownTime: Disconnection time
|
5315
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5289
|
+
:param _CutDownTime: Disconnection time.
|
5316
5290
|
:type CutDownTime: str
|
5317
|
-
:param _SrcInfo: Source instance information
|
5318
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5291
|
+
:param _SrcInfo: Source instance information.
|
5319
5292
|
:type SrcInfo: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceDTSInstanceInfo`
|
5320
|
-
:param _DstInfo:
|
5321
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5293
|
+
:param _DstInfo: Destination instance information.
|
5322
5294
|
:type DstInfo: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceDTSInstanceInfo`
|
5323
5295
|
:param _RequestId: 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.
|
5324
5296
|
:type RequestId: str
|
@@ -5335,8 +5307,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5335
5307
|
|
5336
5308
|
@property
|
5337
5309
|
def JobId(self):
|
5338
|
-
"""DTS task ID
|
5339
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5310
|
+
"""DTS task ID.
|
5340
5311
|
:rtype: str
|
5341
5312
|
"""
|
5342
5313
|
return self._JobId
|
@@ -5347,8 +5318,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5347
5318
|
|
5348
5319
|
@property
|
5349
5320
|
def JobName(self):
|
5350
|
-
"""DTS task name
|
5351
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5321
|
+
"""DTS task name.
|
5352
5322
|
:rtype: str
|
5353
5323
|
"""
|
5354
5324
|
return self._JobName
|
@@ -5359,8 +5329,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5359
5329
|
|
5360
5330
|
@property
|
5361
5331
|
def Status(self):
|
5362
|
-
"""Task status.
|
5363
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5332
|
+
"""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).
|
5364
5333
|
:rtype: int
|
5365
5334
|
"""
|
5366
5335
|
return self._Status
|
@@ -5371,8 +5340,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5371
5340
|
|
5372
5341
|
@property
|
5373
5342
|
def StatusDesc(self):
|
5374
|
-
"""Status description
|
5375
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5343
|
+
"""Status description.
|
5376
5344
|
:rtype: str
|
5377
5345
|
"""
|
5378
5346
|
return self._StatusDesc
|
@@ -5383,8 +5351,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5383
5351
|
|
5384
5352
|
@property
|
5385
5353
|
def Offset(self):
|
5386
|
-
"""
|
5387
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5354
|
+
"""Synchronization delay. Unit: bytes.
|
5388
5355
|
:rtype: int
|
5389
5356
|
"""
|
5390
5357
|
return self._Offset
|
@@ -5395,8 +5362,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5395
5362
|
|
5396
5363
|
@property
|
5397
5364
|
def CutDownTime(self):
|
5398
|
-
"""Disconnection time
|
5399
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5365
|
+
"""Disconnection time.
|
5400
5366
|
:rtype: str
|
5401
5367
|
"""
|
5402
5368
|
return self._CutDownTime
|
@@ -5407,8 +5373,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5407
5373
|
|
5408
5374
|
@property
|
5409
5375
|
def SrcInfo(self):
|
5410
|
-
"""Source instance information
|
5411
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5376
|
+
"""Source instance information.
|
5412
5377
|
:rtype: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceDTSInstanceInfo`
|
5413
5378
|
"""
|
5414
5379
|
return self._SrcInfo
|
@@ -5419,8 +5384,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5419
5384
|
|
5420
5385
|
@property
|
5421
5386
|
def DstInfo(self):
|
5422
|
-
"""
|
5423
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
5387
|
+
"""Destination instance information.
|
5424
5388
|
:rtype: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceDTSInstanceInfo`
|
5425
5389
|
"""
|
5426
5390
|
return self._DstInfo
|
@@ -5465,28 +5429,20 @@ class DescribeInstanceDTSInstanceInfo(AbstractModel):
|
|
5465
5429
|
def __init__(self):
|
5466
5430
|
r"""
|
5467
5431
|
:param _RegionId: Region ID.
|
5468
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5469
5432
|
:type RegionId: int
|
5470
5433
|
:param _InstanceId: Instance ID.
|
5471
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5472
5434
|
:type InstanceId: str
|
5473
|
-
:param _SetId:
|
5474
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5435
|
+
:param _SetId: Repository ID.
|
5475
5436
|
:type SetId: int
|
5476
5437
|
:param _ZoneId: AZ ID.
|
5477
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5478
5438
|
:type ZoneId: int
|
5479
5439
|
:param _Type: Instance type.
|
5480
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5481
5440
|
:type Type: int
|
5482
5441
|
:param _InstanceName: Instance name.
|
5483
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5484
5442
|
:type InstanceName: str
|
5485
5443
|
:param _Vip: Instance access address.
|
5486
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5487
5444
|
:type Vip: str
|
5488
5445
|
:param _Status: Status.
|
5489
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5490
5446
|
:type Status: int
|
5491
5447
|
"""
|
5492
5448
|
self._RegionId = None
|
@@ -5501,7 +5457,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
5501
5457
|
@property
|
5502
5458
|
def RegionId(self):
|
5503
5459
|
"""Region ID.
|
5504
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5505
5460
|
:rtype: int
|
5506
5461
|
"""
|
5507
5462
|
return self._RegionId
|
@@ -5513,7 +5468,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
5513
5468
|
@property
|
5514
5469
|
def InstanceId(self):
|
5515
5470
|
"""Instance ID.
|
5516
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5517
5471
|
:rtype: str
|
5518
5472
|
"""
|
5519
5473
|
return self._InstanceId
|
@@ -5524,8 +5478,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
5524
5478
|
|
5525
5479
|
@property
|
5526
5480
|
def SetId(self):
|
5527
|
-
"""
|
5528
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5481
|
+
"""Repository ID.
|
5529
5482
|
:rtype: int
|
5530
5483
|
"""
|
5531
5484
|
return self._SetId
|
@@ -5537,7 +5490,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
5537
5490
|
@property
|
5538
5491
|
def ZoneId(self):
|
5539
5492
|
"""AZ ID.
|
5540
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5541
5493
|
:rtype: int
|
5542
5494
|
"""
|
5543
5495
|
return self._ZoneId
|
@@ -5549,7 +5501,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
5549
5501
|
@property
|
5550
5502
|
def Type(self):
|
5551
5503
|
"""Instance type.
|
5552
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5553
5504
|
:rtype: int
|
5554
5505
|
"""
|
5555
5506
|
return self._Type
|
@@ -5561,7 +5512,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
5561
5512
|
@property
|
5562
5513
|
def InstanceName(self):
|
5563
5514
|
"""Instance name.
|
5564
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5565
5515
|
:rtype: str
|
5566
5516
|
"""
|
5567
5517
|
return self._InstanceName
|
@@ -5573,7 +5523,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
5573
5523
|
@property
|
5574
5524
|
def Vip(self):
|
5575
5525
|
"""Instance access address.
|
5576
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5577
5526
|
:rtype: str
|
5578
5527
|
"""
|
5579
5528
|
return self._Vip
|
@@ -5585,7 +5534,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
5585
5534
|
@property
|
5586
5535
|
def Status(self):
|
5587
5536
|
"""Status.
|
5588
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
5589
5537
|
:rtype: int
|
5590
5538
|
"""
|
5591
5539
|
return self._Status
|
@@ -6615,7 +6563,7 @@ class DescribeInstanceMonitorTopNCmdRequest(AbstractModel):
|
|
6615
6563
|
|
6616
6564
|
def __init__(self):
|
6617
6565
|
r"""
|
6618
|
-
:param _InstanceId: Instance ID.
|
6566
|
+
:param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
|
6619
6567
|
:type InstanceId: str
|
6620
6568
|
:param _SpanType: Time range.
|
6621
6569
|
- 1: real-time.
|
@@ -6629,7 +6577,7 @@ class DescribeInstanceMonitorTopNCmdRequest(AbstractModel):
|
|
6629
6577
|
|
6630
6578
|
@property
|
6631
6579
|
def InstanceId(self):
|
6632
|
-
"""Instance ID.
|
6580
|
+
"""Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
|
6633
6581
|
:rtype: str
|
6634
6582
|
"""
|
6635
6583
|
return self._InstanceId
|
@@ -6897,18 +6845,15 @@ class DescribeInstanceNodeInfoResponse(AbstractModel):
|
|
6897
6845
|
r"""
|
6898
6846
|
:param _ProxyCount: The number of proxy nodes
|
6899
6847
|
:type ProxyCount: int
|
6900
|
-
:param _Proxy: Proxy node information
|
6901
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
6848
|
+
:param _Proxy: Proxy node information.
|
6902
6849
|
:type Proxy: list of ProxyNodes
|
6903
6850
|
:param _RedisCount: The number of Redis nodes
|
6904
6851
|
:type RedisCount: int
|
6905
|
-
:param _Redis: Redis node information
|
6906
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
6852
|
+
:param _Redis: TencentDB for Redis® node information.
|
6907
6853
|
:type Redis: list of RedisNodes
|
6908
6854
|
:param _TendisCount: This parameter has been disused.
|
6909
6855
|
:type TendisCount: int
|
6910
|
-
:param _Tendis: This parameter
|
6911
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
6856
|
+
:param _Tendis: This parameter is no longer used. Please ignore it.
|
6912
6857
|
:type Tendis: list of TendisNodes
|
6913
6858
|
:param _RequestId: 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.
|
6914
6859
|
:type RequestId: str
|
@@ -6934,8 +6879,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
6934
6879
|
|
6935
6880
|
@property
|
6936
6881
|
def Proxy(self):
|
6937
|
-
"""Proxy node information
|
6938
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
6882
|
+
"""Proxy node information.
|
6939
6883
|
:rtype: list of ProxyNodes
|
6940
6884
|
"""
|
6941
6885
|
return self._Proxy
|
@@ -6957,8 +6901,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
6957
6901
|
|
6958
6902
|
@property
|
6959
6903
|
def Redis(self):
|
6960
|
-
"""Redis node information
|
6961
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
6904
|
+
"""TencentDB for Redis® node information.
|
6962
6905
|
:rtype: list of RedisNodes
|
6963
6906
|
"""
|
6964
6907
|
return self._Redis
|
@@ -6980,8 +6923,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
6980
6923
|
|
6981
6924
|
@property
|
6982
6925
|
def Tendis(self):
|
6983
|
-
"""This parameter
|
6984
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
6926
|
+
"""This parameter is no longer used. Please ignore it.
|
6985
6927
|
:rtype: list of TendisNodes
|
6986
6928
|
"""
|
6987
6929
|
return self._Tendis
|
@@ -7805,18 +7747,20 @@ class DescribeInstancesRequest(AbstractModel):
|
|
7805
7747
|
:param _BillingMode: Billing mode. Only pay-as-you-go billing is supported.
|
7806
7748
|
:type BillingMode: str
|
7807
7749
|
:param _Type: Instance type.
|
7808
|
-
|
7809
|
-
-
|
7810
|
-
-
|
7811
|
-
-
|
7812
|
-
-
|
7813
|
-
-
|
7814
|
-
-
|
7815
|
-
-
|
7816
|
-
-
|
7817
|
-
-
|
7818
|
-
-
|
7819
|
-
-
|
7750
|
+
|
7751
|
+
- 2: Redis 2.8 memory edition (standard architecture).
|
7752
|
+
- 3: CKV 3.2 memory edition (standard architecture).
|
7753
|
+
- 4: CKV 3.2 memory edition (cluster architecture).
|
7754
|
+
- 5: Redis 2.8 memory edition (standalone).
|
7755
|
+
- 6: Redis 4.0 memory edition (standard architecture).
|
7756
|
+
- 7: Redis 4.0 memory edition (cluster architecture).
|
7757
|
+
- 8: Redis 5.0 memory edition (standard architecture).
|
7758
|
+
- 9: Redis 5.0 memory edition (cluster architecture).
|
7759
|
+
- 15: Redis 6.2 memory edition (standard architecture).
|
7760
|
+
- 16: Redis 6.2 memory edition (cluster architecture).
|
7761
|
+
- 17: Redis 7.0 memory edition (standard architecture).
|
7762
|
+
- 18: Redis 7.0 memory edition (cluster architecture).
|
7763
|
+
- 200: Memcached 1.6 memory edition (cluster architecture).
|
7820
7764
|
:type Type: int
|
7821
7765
|
:param _SearchKeys: This parameter is of array type and supports the configuration of instance names, instance IDs, and IP addresses. Among these, the instance name is fuzzy matching while the instance ID and IP address are precise matching.
|
7822
7766
|
- Each element in the array is used for a union-based matching query.- When both **InstanceId** and **SearchKeys** are configured simultaneously, their intersection will be used for the matching query.
|
@@ -8083,18 +8027,20 @@ class DescribeInstancesRequest(AbstractModel):
|
|
8083
8027
|
@property
|
8084
8028
|
def Type(self):
|
8085
8029
|
"""Instance type.
|
8086
|
-
|
8087
|
-
-
|
8088
|
-
-
|
8089
|
-
-
|
8090
|
-
-
|
8091
|
-
-
|
8092
|
-
-
|
8093
|
-
-
|
8094
|
-
-
|
8095
|
-
-
|
8096
|
-
-
|
8097
|
-
-
|
8030
|
+
|
8031
|
+
- 2: Redis 2.8 memory edition (standard architecture).
|
8032
|
+
- 3: CKV 3.2 memory edition (standard architecture).
|
8033
|
+
- 4: CKV 3.2 memory edition (cluster architecture).
|
8034
|
+
- 5: Redis 2.8 memory edition (standalone).
|
8035
|
+
- 6: Redis 4.0 memory edition (standard architecture).
|
8036
|
+
- 7: Redis 4.0 memory edition (cluster architecture).
|
8037
|
+
- 8: Redis 5.0 memory edition (standard architecture).
|
8038
|
+
- 9: Redis 5.0 memory edition (cluster architecture).
|
8039
|
+
- 15: Redis 6.2 memory edition (standard architecture).
|
8040
|
+
- 16: Redis 6.2 memory edition (cluster architecture).
|
8041
|
+
- 17: Redis 7.0 memory edition (standard architecture).
|
8042
|
+
- 18: Redis 7.0 memory edition (cluster architecture).
|
8043
|
+
- 200: Memcached 1.6 memory edition (cluster architecture).
|
8098
8044
|
:rtype: int
|
8099
8045
|
"""
|
8100
8046
|
return self._Type
|
@@ -8749,7 +8695,7 @@ class DescribeProductInfoResponse(AbstractModel):
|
|
8749
8695
|
|
8750
8696
|
def __init__(self):
|
8751
8697
|
r"""
|
8752
|
-
:param _RegionSet:
|
8698
|
+
:param _RegionSet: Selling information on the region. The selling information on all regions is returned even if a region is specified.
|
8753
8699
|
:type RegionSet: list of RegionConf
|
8754
8700
|
:param _RequestId: 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.
|
8755
8701
|
:type RequestId: str
|
@@ -8759,7 +8705,7 @@ class DescribeProductInfoResponse(AbstractModel):
|
|
8759
8705
|
|
8760
8706
|
@property
|
8761
8707
|
def RegionSet(self):
|
8762
|
-
"""
|
8708
|
+
"""Selling information on the region. The selling information on all regions is returned even if a region is specified.
|
8763
8709
|
:rtype: list of RegionConf
|
8764
8710
|
"""
|
8765
8711
|
return self._RegionSet
|
@@ -9176,7 +9122,7 @@ class DescribeProxySlowLogResponse(AbstractModel):
|
|
9176
9122
|
r"""
|
9177
9123
|
:param _TotalCount: Total number of slow queries
|
9178
9124
|
:type TotalCount: int
|
9179
|
-
:param _InstanceProxySlowLogDetail: Slow query details
|
9125
|
+
:param _InstanceProxySlowLogDetail: 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.
|
9180
9126
|
:type InstanceProxySlowLogDetail: list of InstanceProxySlowlogDetail
|
9181
9127
|
:param _RequestId: 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.
|
9182
9128
|
:type RequestId: str
|
@@ -9198,7 +9144,7 @@ class DescribeProxySlowLogResponse(AbstractModel):
|
|
9198
9144
|
|
9199
9145
|
@property
|
9200
9146
|
def InstanceProxySlowLogDetail(self):
|
9201
|
-
"""Slow query details
|
9147
|
+
"""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.
|
9202
9148
|
:rtype: list of InstanceProxySlowlogDetail
|
9203
9149
|
"""
|
9204
9150
|
return self._InstanceProxySlowLogDetail
|
@@ -9999,6 +9945,152 @@ class DescribeSSLStatusResponse(AbstractModel):
|
|
9999
9945
|
self._RequestId = params.get("RequestId")
|
10000
9946
|
|
10001
9947
|
|
9948
|
+
class DescribeSecondLevelBackupInfoRequest(AbstractModel):
|
9949
|
+
"""DescribeSecondLevelBackupInfo request structure.
|
9950
|
+
|
9951
|
+
"""
|
9952
|
+
|
9953
|
+
def __init__(self):
|
9954
|
+
r"""
|
9955
|
+
:param _InstanceId: 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.
|
9956
|
+
:type InstanceId: str
|
9957
|
+
:param _BackupTimestamp: Second-level backup timestamp. The corresponding time should be within the last 7 days.
|
9958
|
+
:type BackupTimestamp: int
|
9959
|
+
"""
|
9960
|
+
self._InstanceId = None
|
9961
|
+
self._BackupTimestamp = None
|
9962
|
+
|
9963
|
+
@property
|
9964
|
+
def InstanceId(self):
|
9965
|
+
"""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.
|
9966
|
+
:rtype: str
|
9967
|
+
"""
|
9968
|
+
return self._InstanceId
|
9969
|
+
|
9970
|
+
@InstanceId.setter
|
9971
|
+
def InstanceId(self, InstanceId):
|
9972
|
+
self._InstanceId = InstanceId
|
9973
|
+
|
9974
|
+
@property
|
9975
|
+
def BackupTimestamp(self):
|
9976
|
+
"""Second-level backup timestamp. The corresponding time should be within the last 7 days.
|
9977
|
+
:rtype: int
|
9978
|
+
"""
|
9979
|
+
return self._BackupTimestamp
|
9980
|
+
|
9981
|
+
@BackupTimestamp.setter
|
9982
|
+
def BackupTimestamp(self, BackupTimestamp):
|
9983
|
+
self._BackupTimestamp = BackupTimestamp
|
9984
|
+
|
9985
|
+
|
9986
|
+
def _deserialize(self, params):
|
9987
|
+
self._InstanceId = params.get("InstanceId")
|
9988
|
+
self._BackupTimestamp = params.get("BackupTimestamp")
|
9989
|
+
memeber_set = set(params.keys())
|
9990
|
+
for name, value in vars(self).items():
|
9991
|
+
property_name = name[1:]
|
9992
|
+
if property_name in memeber_set:
|
9993
|
+
memeber_set.remove(property_name)
|
9994
|
+
if len(memeber_set) > 0:
|
9995
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9996
|
+
|
9997
|
+
|
9998
|
+
|
9999
|
+
class DescribeSecondLevelBackupInfoResponse(AbstractModel):
|
10000
|
+
"""DescribeSecondLevelBackupInfo response structure.
|
10001
|
+
|
10002
|
+
"""
|
10003
|
+
|
10004
|
+
def __init__(self):
|
10005
|
+
r"""
|
10006
|
+
:param _BackupId: Backup record ID.
|
10007
|
+
:type BackupId: str
|
10008
|
+
:param _BackupTimestamp: Backup timestamp.
|
10009
|
+
:type BackupTimestamp: int
|
10010
|
+
:param _MissingTimestamps: Timestamp range within which backup is missing.
|
10011
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
10012
|
+
:type MissingTimestamps: list of SecondLevelBackupMissingTimestamps
|
10013
|
+
:param _StartTimestamp: Timestamp when second-level backup is enabled for the instance.
|
10014
|
+
:type StartTimestamp: int
|
10015
|
+
:param _RequestId: 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.
|
10016
|
+
:type RequestId: str
|
10017
|
+
"""
|
10018
|
+
self._BackupId = None
|
10019
|
+
self._BackupTimestamp = None
|
10020
|
+
self._MissingTimestamps = None
|
10021
|
+
self._StartTimestamp = None
|
10022
|
+
self._RequestId = None
|
10023
|
+
|
10024
|
+
@property
|
10025
|
+
def BackupId(self):
|
10026
|
+
"""Backup record ID.
|
10027
|
+
:rtype: str
|
10028
|
+
"""
|
10029
|
+
return self._BackupId
|
10030
|
+
|
10031
|
+
@BackupId.setter
|
10032
|
+
def BackupId(self, BackupId):
|
10033
|
+
self._BackupId = BackupId
|
10034
|
+
|
10035
|
+
@property
|
10036
|
+
def BackupTimestamp(self):
|
10037
|
+
"""Backup timestamp.
|
10038
|
+
:rtype: int
|
10039
|
+
"""
|
10040
|
+
return self._BackupTimestamp
|
10041
|
+
|
10042
|
+
@BackupTimestamp.setter
|
10043
|
+
def BackupTimestamp(self, BackupTimestamp):
|
10044
|
+
self._BackupTimestamp = BackupTimestamp
|
10045
|
+
|
10046
|
+
@property
|
10047
|
+
def MissingTimestamps(self):
|
10048
|
+
"""Timestamp range within which backup is missing.
|
10049
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
10050
|
+
:rtype: list of SecondLevelBackupMissingTimestamps
|
10051
|
+
"""
|
10052
|
+
return self._MissingTimestamps
|
10053
|
+
|
10054
|
+
@MissingTimestamps.setter
|
10055
|
+
def MissingTimestamps(self, MissingTimestamps):
|
10056
|
+
self._MissingTimestamps = MissingTimestamps
|
10057
|
+
|
10058
|
+
@property
|
10059
|
+
def StartTimestamp(self):
|
10060
|
+
"""Timestamp when second-level backup is enabled for the instance.
|
10061
|
+
:rtype: int
|
10062
|
+
"""
|
10063
|
+
return self._StartTimestamp
|
10064
|
+
|
10065
|
+
@StartTimestamp.setter
|
10066
|
+
def StartTimestamp(self, StartTimestamp):
|
10067
|
+
self._StartTimestamp = StartTimestamp
|
10068
|
+
|
10069
|
+
@property
|
10070
|
+
def RequestId(self):
|
10071
|
+
"""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.
|
10072
|
+
:rtype: str
|
10073
|
+
"""
|
10074
|
+
return self._RequestId
|
10075
|
+
|
10076
|
+
@RequestId.setter
|
10077
|
+
def RequestId(self, RequestId):
|
10078
|
+
self._RequestId = RequestId
|
10079
|
+
|
10080
|
+
|
10081
|
+
def _deserialize(self, params):
|
10082
|
+
self._BackupId = params.get("BackupId")
|
10083
|
+
self._BackupTimestamp = params.get("BackupTimestamp")
|
10084
|
+
if params.get("MissingTimestamps") is not None:
|
10085
|
+
self._MissingTimestamps = []
|
10086
|
+
for item in params.get("MissingTimestamps"):
|
10087
|
+
obj = SecondLevelBackupMissingTimestamps()
|
10088
|
+
obj._deserialize(item)
|
10089
|
+
self._MissingTimestamps.append(obj)
|
10090
|
+
self._StartTimestamp = params.get("StartTimestamp")
|
10091
|
+
self._RequestId = params.get("RequestId")
|
10092
|
+
|
10093
|
+
|
10002
10094
|
class DescribeSlowLogRequest(AbstractModel):
|
10003
10095
|
"""DescribeSlowLog request structure.
|
10004
10096
|
|
@@ -10140,7 +10232,7 @@ class DescribeSlowLogResponse(AbstractModel):
|
|
10140
10232
|
:type TotalCount: int
|
10141
10233
|
:param _InstanceSlowlogDetail: Slow query log details. This parameter has been deprecated and will be replaced by InstanceSlowLogDetail because it is not properly named.
|
10142
10234
|
:type InstanceSlowlogDetail: list of InstanceSlowlogDetail
|
10143
|
-
:param _InstanceSlowLogDetail:
|
10235
|
+
:param _InstanceSlowLogDetail: 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.
|
10144
10236
|
:type InstanceSlowLogDetail: list of InstanceSlowlogDetail
|
10145
10237
|
:param _RequestId: 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.
|
10146
10238
|
:type RequestId: str
|
@@ -10178,7 +10270,7 @@ class DescribeSlowLogResponse(AbstractModel):
|
|
10178
10270
|
|
10179
10271
|
@property
|
10180
10272
|
def InstanceSlowLogDetail(self):
|
10181
|
-
"""
|
10273
|
+
"""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.
|
10182
10274
|
:rtype: list of InstanceSlowlogDetail
|
10183
10275
|
"""
|
10184
10276
|
return self._InstanceSlowLogDetail
|
@@ -10380,67 +10472,68 @@ class DescribeTaskListRequest(AbstractModel):
|
|
10380
10472
|
:type Limit: int
|
10381
10473
|
:param _Offset: Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).
|
10382
10474
|
:type Offset: int
|
10383
|
-
:param _ProjectIds: Project ID
|
10475
|
+
:param _ProjectIds: Project ID. This field has been deprecated. Please ignore it.
|
10384
10476
|
:type ProjectIds: list of int
|
10385
10477
|
:param _TaskTypes: Task type.
|
10386
10478
|
|
10387
10479
|
|
10388
10480
|
|
10389
|
-
- FLOW_CREATE: "001"
|
10390
|
-
- FLOW_RESIZE: "002"
|
10391
|
-
- FLOW_CLOSE: "003"
|
10392
|
-
- FLOW_CLEAN: "004"
|
10393
|
-
- FLOW_STARTUP: "005"
|
10394
|
-
- FLOW_DELETE: "006"
|
10395
|
-
- FLOW_SETPWD: "007"
|
10396
|
-
- FLOW_EXPORTBACKUP: "009"
|
10397
|
-
- FLOW_RESTOREBACKUP: "010"
|
10398
|
-
- FLOW_BACKUPINSTANCE: "012"
|
10399
|
-
- FLOW_MIGRATEINSTANCE: "013"
|
10400
|
-
- FLOW_DELBACKUP: "014"
|
10401
|
-
- FLOW_EXCHANGEINSTANCE: "016"
|
10402
|
-
- FLOW_AUTOBACKUP: "017"
|
10403
|
-
- FLOW_MIGRATECHECK: "022"
|
10404
|
-
- FLOW_MIGRATETASK: "023"
|
10405
|
-
- FLOW_CLEANDB: "025"
|
10406
|
-
- FLOW_CLONEBACKUP: "026"
|
10407
|
-
- FLOW_CHANGEVIP: "027"
|
10408
|
-
- FLOW_EXPORSHR: "028"
|
10409
|
-
- FLOW_ADDNODES: "029"
|
10410
|
-
- FLOW_CHANGENET: "031"
|
10411
|
-
- FLOW_MODIFYINSTACEREADONLY: "033"
|
10412
|
-
- FLOW_MODIFYINSTANCEPARAMS: "034"
|
10413
|
-
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035"
|
10414
|
-
- FLOW_SWITCHINSTANCEVIP: "036"
|
10415
|
-
- FLOW_MODIFYINSTANCEACCOUNT: "037"
|
10416
|
-
- FLOW_MODIFYINSTANCEBANDWIDTH: "038"
|
10417
|
-
- FLOW_ENABLEINSTANCE_REPLICATE: "039"
|
10418
|
-
- FLOW_DISABLEINSTANCE_REPLICATE: "040"
|
10419
|
-
- FLOW_UpgradeArch: "041"
|
10420
|
-
- FLOW_DowngradeArch: "042"
|
10421
|
-
- FLOW_UpgradeVersion: "043"
|
10422
|
-
- FLOW_MODIFYCONNECTIONCONFIG: "044"
|
10423
|
-
- FLOW_CLEARNETWORK: "045"
|
10424
|
-
- FLOW_REMOVE_BACKUP_FILE: "046"
|
10425
|
-
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047"
|
10426
|
-
- FLOW_SHUTDOWN_MASTER: "048"
|
10427
|
-
- FLOW_CHANGE_REPLICA_TO_MASTER: "049"
|
10428
|
-
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050"
|
10429
|
-
- FLOW_OPEN_WAN: "052"
|
10430
|
-
- FLOW_CLOSE_WAN: "053"
|
10431
|
-
-
|
10432
|
-
-
|
10433
|
-
-
|
10434
|
-
-
|
10435
|
-
-
|
10436
|
-
-
|
10437
|
-
-
|
10438
|
-
-
|
10439
|
-
-
|
10440
|
-
-
|
10441
|
-
-
|
10442
|
-
-
|
10443
|
-
-
|
10481
|
+
- FLOW_CREATE: "001", indicating instance creation.
|
10482
|
+
- FLOW_RESIZE: "002", indicating configuration modification.
|
10483
|
+
- FLOW_CLOSE: "003", indicating instance disabling.
|
10484
|
+
- FLOW_CLEAN: "004", indicating instance cleanup.
|
10485
|
+
- FLOW_STARTUP: "005", indicating instance enabling.
|
10486
|
+
- FLOW_DELETE: "006", indicating instance deletion.
|
10487
|
+
- FLOW_SETPWD: "007", indicating password reset.
|
10488
|
+
- FLOW_EXPORTBACKUP: "009", indicating backup file export.
|
10489
|
+
- FLOW_RESTOREBACKUP: "010", indicating backup restoration.
|
10490
|
+
- FLOW_BACKUPINSTANCE: "012", indicating instance backup.
|
10491
|
+
- FLOW_MIGRATEINSTANCE: "013", indicating instance migration.
|
10492
|
+
- FLOW_DELBACKUP: "014", indicating backup deletion.
|
10493
|
+
- FLOW_EXCHANGEINSTANCE: "016", indicating instance switch.
|
10494
|
+
- FLOW_AUTOBACKUP: "017", indicating automatic instance backup.
|
10495
|
+
- FLOW_MIGRATECHECK: "022", indicating migration parameter verification.
|
10496
|
+
- FLOW_MIGRATETASK: "023", indicating that data migration is in progress.
|
10497
|
+
- FLOW_CLEANDB: "025", indicating database cleanup.
|
10498
|
+
- FLOW_CLONEBACKUP: "026": indicating backup cloning.
|
10499
|
+
- FLOW_CHANGEVIP: "027", indicating VIP address modification.
|
10500
|
+
- FLOW_EXPORSHR: "028", indicating scaling.
|
10501
|
+
- FLOW_ADDNODES: "029", indicating node addition (removal).
|
10502
|
+
- FLOW_CHANGENET: "031", indicating network type modification.
|
10503
|
+
- FLOW_MODIFYINSTACEREADONLY: "033": indicating read-only policy modification.
|
10504
|
+
- FLOW_MODIFYINSTANCEPARAMS: "034", indicating instance parameter modification.
|
10505
|
+
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035", indicating password-free access settings.
|
10506
|
+
- FLOW_SWITCHINSTANCEVIP: "036", indicating instance VIP address switch.
|
10507
|
+
- FLOW_MODIFYINSTANCEACCOUNT: "037", indicating instance account modification.
|
10508
|
+
- FLOW_MODIFYINSTANCEBANDWIDTH: "038", indicating instance bandwidth modification.
|
10509
|
+
- FLOW_ENABLEINSTANCE_REPLICATE: "039", indicating enabling of read-only replica.
|
10510
|
+
- FLOW_DISABLEINSTANCE_REPLICATE: "040", indicating disabling of read-only replica.
|
10511
|
+
- FLOW_UpgradeArch: "041", indicating instance architecture upgrade from the standard architecture to the cluster architecture.
|
10512
|
+
- FLOW_DowngradeArch: "042", indicating instance architecture downgrade from the cluster architecture to the standard architecture.
|
10513
|
+
- FLOW_UpgradeVersion: "043", indicating version upgrade.
|
10514
|
+
- FLOW_MODIFYCONNECTIONCONFIG: "044", indicating adjustment of the bandwidth and the number of connections.
|
10515
|
+
- FLOW_CLEARNETWORK: "045", indicating network change.
|
10516
|
+
- FLOW_REMOVE_BACKUP_FILE: "046", indicating backup deletion.
|
10517
|
+
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047", indicating instance upgrade to multi-AZ deployment.
|
10518
|
+
- FLOW_SHUTDOWN_MASTER: "048", indicating fault simulation.
|
10519
|
+
- FLOW_CHANGE_REPLICA_TO_MASTER: "049", indicating manual promotion to the primary node.
|
10520
|
+
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050", indicating replication group addition.
|
10521
|
+
- FLOW_OPEN_WAN: "052", indicating enabling of public network access.
|
10522
|
+
- FLOW_CLOSE_WAN: "053", indicating disabling of public network access.
|
10523
|
+
- FLOW_UPDATE_WAN: "054", indicating update of the public network access configuration.
|
10524
|
+
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055", indicating replication group unbinding.
|
10525
|
+
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056", indicating switching a replication group instance to the primary instance.
|
10526
|
+
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057", indicating modification of the replication group instance role.
|
10527
|
+
- FLOW_MIGRATE_NODE: "058", indicating node migration.
|
10528
|
+
- FLOW_SWITCH_NODE: "059", indicating node switch.
|
10529
|
+
- FLOW_UPGRADE_SMALL_VERSION: "060", indicating Redis version upgrade.
|
10530
|
+
- FLOW_UPGRADE_PROXY_VERSION: "061", indicating proxy version upgrade.
|
10531
|
+
- FLOW_MODIFY_INSTANCE_NETWORK: "062", indicating instance network modification.
|
10532
|
+
- FLOW_MIGRATE_PROXY_NODE: "063", indicating proxy node migration.
|
10533
|
+
- FLOW_MIGRATION_INSTANCE_ZONE: "066", indicating that instance migration to another AZ is in progress.
|
10534
|
+
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067", indicating that instance version upgrade is in progress.
|
10535
|
+
- FLOW_MODIFY_PROXY_NUM: "069", indicating proxy node addition (removal).
|
10536
|
+
- FLOW_MODIFYBACKUPMOD: "070", indicating instance backup mode modification.
|
10444
10537
|
:type TaskTypes: list of str
|
10445
10538
|
:param _BeginTime: Start time of the task, for example, in the format of 2021-12-30 00:00:00. Data in the last 30 days can be queried.
|
10446
10539
|
:type BeginTime: str
|
@@ -10514,13 +10607,17 @@ class DescribeTaskListRequest(AbstractModel):
|
|
10514
10607
|
|
10515
10608
|
@property
|
10516
10609
|
def ProjectIds(self):
|
10517
|
-
"
|
10610
|
+
warnings.warn("parameter `ProjectIds` is deprecated", DeprecationWarning)
|
10611
|
+
|
10612
|
+
"""Project ID. This field has been deprecated. Please ignore it.
|
10518
10613
|
:rtype: list of int
|
10519
10614
|
"""
|
10520
10615
|
return self._ProjectIds
|
10521
10616
|
|
10522
10617
|
@ProjectIds.setter
|
10523
10618
|
def ProjectIds(self, ProjectIds):
|
10619
|
+
warnings.warn("parameter `ProjectIds` is deprecated", DeprecationWarning)
|
10620
|
+
|
10524
10621
|
self._ProjectIds = ProjectIds
|
10525
10622
|
|
10526
10623
|
@property
|
@@ -10529,61 +10626,62 @@ class DescribeTaskListRequest(AbstractModel):
|
|
10529
10626
|
|
10530
10627
|
|
10531
10628
|
|
10532
|
-
- FLOW_CREATE: "001"
|
10533
|
-
- FLOW_RESIZE: "002"
|
10534
|
-
- FLOW_CLOSE: "003"
|
10535
|
-
- FLOW_CLEAN: "004"
|
10536
|
-
- FLOW_STARTUP: "005"
|
10537
|
-
- FLOW_DELETE: "006"
|
10538
|
-
- FLOW_SETPWD: "007"
|
10539
|
-
- FLOW_EXPORTBACKUP: "009"
|
10540
|
-
- FLOW_RESTOREBACKUP: "010"
|
10541
|
-
- FLOW_BACKUPINSTANCE: "012"
|
10542
|
-
- FLOW_MIGRATEINSTANCE: "013"
|
10543
|
-
- FLOW_DELBACKUP: "014"
|
10544
|
-
- FLOW_EXCHANGEINSTANCE: "016"
|
10545
|
-
- FLOW_AUTOBACKUP: "017"
|
10546
|
-
- FLOW_MIGRATECHECK: "022"
|
10547
|
-
- FLOW_MIGRATETASK: "023"
|
10548
|
-
- FLOW_CLEANDB: "025"
|
10549
|
-
- FLOW_CLONEBACKUP: "026"
|
10550
|
-
- FLOW_CHANGEVIP: "027"
|
10551
|
-
- FLOW_EXPORSHR: "028"
|
10552
|
-
- FLOW_ADDNODES: "029"
|
10553
|
-
- FLOW_CHANGENET: "031"
|
10554
|
-
- FLOW_MODIFYINSTACEREADONLY: "033"
|
10555
|
-
- FLOW_MODIFYINSTANCEPARAMS: "034"
|
10556
|
-
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035"
|
10557
|
-
- FLOW_SWITCHINSTANCEVIP: "036"
|
10558
|
-
- FLOW_MODIFYINSTANCEACCOUNT: "037"
|
10559
|
-
- FLOW_MODIFYINSTANCEBANDWIDTH: "038"
|
10560
|
-
- FLOW_ENABLEINSTANCE_REPLICATE: "039"
|
10561
|
-
- FLOW_DISABLEINSTANCE_REPLICATE: "040"
|
10562
|
-
- FLOW_UpgradeArch: "041"
|
10563
|
-
- FLOW_DowngradeArch: "042"
|
10564
|
-
- FLOW_UpgradeVersion: "043"
|
10565
|
-
- FLOW_MODIFYCONNECTIONCONFIG: "044"
|
10566
|
-
- FLOW_CLEARNETWORK: "045"
|
10567
|
-
- FLOW_REMOVE_BACKUP_FILE: "046"
|
10568
|
-
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047"
|
10569
|
-
- FLOW_SHUTDOWN_MASTER: "048"
|
10570
|
-
- FLOW_CHANGE_REPLICA_TO_MASTER: "049"
|
10571
|
-
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050"
|
10572
|
-
- FLOW_OPEN_WAN: "052"
|
10573
|
-
- FLOW_CLOSE_WAN: "053"
|
10574
|
-
-
|
10575
|
-
-
|
10576
|
-
-
|
10577
|
-
-
|
10578
|
-
-
|
10579
|
-
-
|
10580
|
-
-
|
10581
|
-
-
|
10582
|
-
-
|
10583
|
-
-
|
10584
|
-
-
|
10585
|
-
-
|
10586
|
-
-
|
10629
|
+
- FLOW_CREATE: "001", indicating instance creation.
|
10630
|
+
- FLOW_RESIZE: "002", indicating configuration modification.
|
10631
|
+
- FLOW_CLOSE: "003", indicating instance disabling.
|
10632
|
+
- FLOW_CLEAN: "004", indicating instance cleanup.
|
10633
|
+
- FLOW_STARTUP: "005", indicating instance enabling.
|
10634
|
+
- FLOW_DELETE: "006", indicating instance deletion.
|
10635
|
+
- FLOW_SETPWD: "007", indicating password reset.
|
10636
|
+
- FLOW_EXPORTBACKUP: "009", indicating backup file export.
|
10637
|
+
- FLOW_RESTOREBACKUP: "010", indicating backup restoration.
|
10638
|
+
- FLOW_BACKUPINSTANCE: "012", indicating instance backup.
|
10639
|
+
- FLOW_MIGRATEINSTANCE: "013", indicating instance migration.
|
10640
|
+
- FLOW_DELBACKUP: "014", indicating backup deletion.
|
10641
|
+
- FLOW_EXCHANGEINSTANCE: "016", indicating instance switch.
|
10642
|
+
- FLOW_AUTOBACKUP: "017", indicating automatic instance backup.
|
10643
|
+
- FLOW_MIGRATECHECK: "022", indicating migration parameter verification.
|
10644
|
+
- FLOW_MIGRATETASK: "023", indicating that data migration is in progress.
|
10645
|
+
- FLOW_CLEANDB: "025", indicating database cleanup.
|
10646
|
+
- FLOW_CLONEBACKUP: "026": indicating backup cloning.
|
10647
|
+
- FLOW_CHANGEVIP: "027", indicating VIP address modification.
|
10648
|
+
- FLOW_EXPORSHR: "028", indicating scaling.
|
10649
|
+
- FLOW_ADDNODES: "029", indicating node addition (removal).
|
10650
|
+
- FLOW_CHANGENET: "031", indicating network type modification.
|
10651
|
+
- FLOW_MODIFYINSTACEREADONLY: "033": indicating read-only policy modification.
|
10652
|
+
- FLOW_MODIFYINSTANCEPARAMS: "034", indicating instance parameter modification.
|
10653
|
+
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035", indicating password-free access settings.
|
10654
|
+
- FLOW_SWITCHINSTANCEVIP: "036", indicating instance VIP address switch.
|
10655
|
+
- FLOW_MODIFYINSTANCEACCOUNT: "037", indicating instance account modification.
|
10656
|
+
- FLOW_MODIFYINSTANCEBANDWIDTH: "038", indicating instance bandwidth modification.
|
10657
|
+
- FLOW_ENABLEINSTANCE_REPLICATE: "039", indicating enabling of read-only replica.
|
10658
|
+
- FLOW_DISABLEINSTANCE_REPLICATE: "040", indicating disabling of read-only replica.
|
10659
|
+
- FLOW_UpgradeArch: "041", indicating instance architecture upgrade from the standard architecture to the cluster architecture.
|
10660
|
+
- FLOW_DowngradeArch: "042", indicating instance architecture downgrade from the cluster architecture to the standard architecture.
|
10661
|
+
- FLOW_UpgradeVersion: "043", indicating version upgrade.
|
10662
|
+
- FLOW_MODIFYCONNECTIONCONFIG: "044", indicating adjustment of the bandwidth and the number of connections.
|
10663
|
+
- FLOW_CLEARNETWORK: "045", indicating network change.
|
10664
|
+
- FLOW_REMOVE_BACKUP_FILE: "046", indicating backup deletion.
|
10665
|
+
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047", indicating instance upgrade to multi-AZ deployment.
|
10666
|
+
- FLOW_SHUTDOWN_MASTER: "048", indicating fault simulation.
|
10667
|
+
- FLOW_CHANGE_REPLICA_TO_MASTER: "049", indicating manual promotion to the primary node.
|
10668
|
+
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050", indicating replication group addition.
|
10669
|
+
- FLOW_OPEN_WAN: "052", indicating enabling of public network access.
|
10670
|
+
- FLOW_CLOSE_WAN: "053", indicating disabling of public network access.
|
10671
|
+
- FLOW_UPDATE_WAN: "054", indicating update of the public network access configuration.
|
10672
|
+
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055", indicating replication group unbinding.
|
10673
|
+
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056", indicating switching a replication group instance to the primary instance.
|
10674
|
+
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057", indicating modification of the replication group instance role.
|
10675
|
+
- FLOW_MIGRATE_NODE: "058", indicating node migration.
|
10676
|
+
- FLOW_SWITCH_NODE: "059", indicating node switch.
|
10677
|
+
- FLOW_UPGRADE_SMALL_VERSION: "060", indicating Redis version upgrade.
|
10678
|
+
- FLOW_UPGRADE_PROXY_VERSION: "061", indicating proxy version upgrade.
|
10679
|
+
- FLOW_MODIFY_INSTANCE_NETWORK: "062", indicating instance network modification.
|
10680
|
+
- FLOW_MIGRATE_PROXY_NODE: "063", indicating proxy node migration.
|
10681
|
+
- FLOW_MIGRATION_INSTANCE_ZONE: "066", indicating that instance migration to another AZ is in progress.
|
10682
|
+
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067", indicating that instance version upgrade is in progress.
|
10683
|
+
- FLOW_MODIFY_PROXY_NUM: "069", indicating proxy node addition (removal).
|
10684
|
+
- FLOW_MODIFYBACKUPMOD: "070", indicating instance backup mode modification.
|
10587
10685
|
:rtype: list of str
|
10588
10686
|
"""
|
10589
10687
|
return self._TaskTypes
|
@@ -10869,7 +10967,7 @@ class DescribeTendisSlowLogResponse(AbstractModel):
|
|
10869
10967
|
r"""
|
10870
10968
|
:param _TotalCount: Total number of slow queries
|
10871
10969
|
:type TotalCount: int
|
10872
|
-
:param _TendisSlowLogDetail: Slow query details
|
10970
|
+
:param _TendisSlowLogDetail: 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.
|
10873
10971
|
:type TendisSlowLogDetail: list of TendisSlowLogDetail
|
10874
10972
|
:param _RequestId: 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.
|
10875
10973
|
:type RequestId: str
|
@@ -10891,7 +10989,7 @@ class DescribeTendisSlowLogResponse(AbstractModel):
|
|
10891
10989
|
|
10892
10990
|
@property
|
10893
10991
|
def TendisSlowLogDetail(self):
|
10894
|
-
"""Slow query details
|
10992
|
+
"""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.
|
10895
10993
|
:rtype: list of TendisSlowLogDetail
|
10896
10994
|
"""
|
10897
10995
|
return self._TendisSlowLogDetail
|
@@ -11124,8 +11222,7 @@ class DisableReplicaReadonlyResponse(AbstractModel):
|
|
11124
11222
|
|
11125
11223
|
def __init__(self):
|
11126
11224
|
r"""
|
11127
|
-
:param _TaskId: Task ID
|
11128
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11225
|
+
:param _TaskId: Task ID.
|
11129
11226
|
:type TaskId: int
|
11130
11227
|
:param _RequestId: 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.
|
11131
11228
|
:type RequestId: str
|
@@ -11135,8 +11232,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
11135
11232
|
|
11136
11233
|
@property
|
11137
11234
|
def TaskId(self):
|
11138
|
-
"""Task ID
|
11139
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11235
|
+
"""Task ID.
|
11140
11236
|
:rtype: int
|
11141
11237
|
"""
|
11142
11238
|
return self._TaskId
|
@@ -11320,11 +11416,9 @@ class EnableReplicaReadonlyResponse(AbstractModel):
|
|
11320
11416
|
|
11321
11417
|
def __init__(self):
|
11322
11418
|
r"""
|
11323
|
-
:param _Status:
|
11324
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11419
|
+
:param _Status: ERROR: incorrect; OK: correct (discarded).
|
11325
11420
|
:type Status: str
|
11326
|
-
:param _TaskId: Task ID
|
11327
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11421
|
+
:param _TaskId: Task ID.
|
11328
11422
|
:type TaskId: int
|
11329
11423
|
:param _RequestId: 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.
|
11330
11424
|
:type RequestId: str
|
@@ -11337,8 +11431,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
11337
11431
|
def Status(self):
|
11338
11432
|
warnings.warn("parameter `Status` is deprecated", DeprecationWarning)
|
11339
11433
|
|
11340
|
-
"""
|
11341
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11434
|
+
"""ERROR: incorrect; OK: correct (discarded).
|
11342
11435
|
:rtype: str
|
11343
11436
|
"""
|
11344
11437
|
return self._Status
|
@@ -11351,8 +11444,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
11351
11444
|
|
11352
11445
|
@property
|
11353
11446
|
def TaskId(self):
|
11354
|
-
"""Task ID
|
11355
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11447
|
+
"""Task ID.
|
11356
11448
|
:rtype: int
|
11357
11449
|
"""
|
11358
11450
|
return self._TaskId
|
@@ -11389,27 +11481,25 @@ class Groups(AbstractModel):
|
|
11389
11481
|
:param _AppId: User APPID, which is the unique application ID that matches an account. Some Tencent Cloud products use this APPID.
|
11390
11482
|
:type AppId: int
|
11391
11483
|
:param _RegionId: Region ID.
|
11392
|
-
- 1: Guangzhou.
|
11393
|
-
- 4: Shanghai.
|
11394
|
-
- 5: Hong Kong (China).
|
11395
|
-
- 7: Shanghai Finance.
|
11396
|
-
- 8: Beijing.
|
11397
|
-
- 9: Singapore.
|
11398
|
-
- 11: Shenzhen Finance.
|
11399
|
-
- 15: Western
|
11400
|
-
- 16: Chengdu.
|
11401
|
-
- 17: Germany.
|
11402
|
-
- 18: South Korea.
|
11403
|
-
- 19: Chongqing.
|
11404
|
-
-
|
11405
|
-
-
|
11406
|
-
- 23: Thailand.
|
11484
|
+
- 1: Guangzhou.
|
11485
|
+
- 4: Shanghai.
|
11486
|
+
- 5: Hong Kong (China).
|
11487
|
+
- 7: Shanghai Finance.
|
11488
|
+
- 8: Beijing.
|
11489
|
+
- 9: Singapore.
|
11490
|
+
- 11: Shenzhen Finance.
|
11491
|
+
- 15: Western US (Silicon Valley).
|
11492
|
+
- 16: Chengdu.
|
11493
|
+
- 17: Germany.
|
11494
|
+
- 18: South Korea.
|
11495
|
+
- 19: Chongqing.
|
11496
|
+
- 22: Eastern US (Virginia).
|
11497
|
+
- 23: Thailand.
|
11407
11498
|
- 25: Japan.
|
11408
11499
|
:type RegionId: int
|
11409
11500
|
:param _GroupId: Replication group ID in the format of "crs-rpl-deind****"
|
11410
11501
|
:type GroupId: str
|
11411
|
-
:param _GroupName: Replication group name
|
11412
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11502
|
+
:param _GroupName: Replication group name.
|
11413
11503
|
:type GroupName: str
|
11414
11504
|
:param _Status: Status of replication group
|
11415
11505
|
- `37`: Associating replication group
|
@@ -11420,11 +11510,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
11420
11510
|
:type Status: int
|
11421
11511
|
:param _InstanceCount: Number of replication groups
|
11422
11512
|
:type InstanceCount: int
|
11423
|
-
:param _Instances: Instance information
|
11424
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11513
|
+
:param _Instances: Instance information on the replication group.
|
11425
11514
|
:type Instances: list of Instances
|
11426
|
-
:param _Remark:
|
11427
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11515
|
+
:param _Remark: Remark information.
|
11428
11516
|
:type Remark: str
|
11429
11517
|
"""
|
11430
11518
|
self._AppId = None
|
@@ -11450,21 +11538,20 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
11450
11538
|
@property
|
11451
11539
|
def RegionId(self):
|
11452
11540
|
"""Region ID.
|
11453
|
-
- 1: Guangzhou.
|
11454
|
-
- 4: Shanghai.
|
11455
|
-
- 5: Hong Kong (China).
|
11456
|
-
- 7: Shanghai Finance.
|
11457
|
-
- 8: Beijing.
|
11458
|
-
- 9: Singapore.
|
11459
|
-
- 11: Shenzhen Finance.
|
11460
|
-
- 15: Western
|
11461
|
-
- 16: Chengdu.
|
11462
|
-
- 17: Germany.
|
11463
|
-
- 18: South Korea.
|
11464
|
-
- 19: Chongqing.
|
11465
|
-
-
|
11466
|
-
-
|
11467
|
-
- 23: Thailand.
|
11541
|
+
- 1: Guangzhou.
|
11542
|
+
- 4: Shanghai.
|
11543
|
+
- 5: Hong Kong (China).
|
11544
|
+
- 7: Shanghai Finance.
|
11545
|
+
- 8: Beijing.
|
11546
|
+
- 9: Singapore.
|
11547
|
+
- 11: Shenzhen Finance.
|
11548
|
+
- 15: Western US (Silicon Valley).
|
11549
|
+
- 16: Chengdu.
|
11550
|
+
- 17: Germany.
|
11551
|
+
- 18: South Korea.
|
11552
|
+
- 19: Chongqing.
|
11553
|
+
- 22: Eastern US (Virginia).
|
11554
|
+
- 23: Thailand.
|
11468
11555
|
- 25: Japan.
|
11469
11556
|
:rtype: int
|
11470
11557
|
"""
|
@@ -11487,8 +11574,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
11487
11574
|
|
11488
11575
|
@property
|
11489
11576
|
def GroupName(self):
|
11490
|
-
"""Replication group name
|
11491
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11577
|
+
"""Replication group name.
|
11492
11578
|
:rtype: str
|
11493
11579
|
"""
|
11494
11580
|
return self._GroupName
|
@@ -11526,8 +11612,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
11526
11612
|
|
11527
11613
|
@property
|
11528
11614
|
def Instances(self):
|
11529
|
-
"""Instance information
|
11530
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11615
|
+
"""Instance information on the replication group.
|
11531
11616
|
:rtype: list of Instances
|
11532
11617
|
"""
|
11533
11618
|
return self._Instances
|
@@ -11538,8 +11623,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
11538
11623
|
|
11539
11624
|
@property
|
11540
11625
|
def Remark(self):
|
11541
|
-
"""
|
11542
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
11626
|
+
"""Remark information.
|
11543
11627
|
:rtype: str
|
11544
11628
|
"""
|
11545
11629
|
return self._Remark
|
@@ -11788,15 +11872,17 @@ class InquiryPriceCreateInstanceRequest(AbstractModel):
|
|
11788
11872
|
def __init__(self):
|
11789
11873
|
r"""
|
11790
11874
|
:param _TypeId: Instance type.
|
11791
|
-
|
11792
|
-
-
|
11793
|
-
-
|
11794
|
-
-
|
11795
|
-
-
|
11796
|
-
-
|
11797
|
-
-
|
11798
|
-
-
|
11799
|
-
-
|
11875
|
+
|
11876
|
+
- 2: Redis 2.8 memory edition (standard architecture).
|
11877
|
+
- 6: Redis 4.0 memory edition (standard architecture).
|
11878
|
+
- 7: Redis 4.0 memory edition (cluster architecture).
|
11879
|
+
- 8: Redis 5.0 memory edition (standard architecture).
|
11880
|
+
- 9: Redis 5.0 memory edition (cluster architecture).
|
11881
|
+
- 15: Redis 6.2 memory edition (standard architecture).
|
11882
|
+
- 16: Redis 6.2 memory edition (cluster architecture).
|
11883
|
+
- 17: Redis 7.0 memory edition (standard architecture).
|
11884
|
+
- 18: Redis 7.0 memory edition (cluster architecture).
|
11885
|
+
- 200: Memcached 1.6 memory edition (cluster architecture).
|
11800
11886
|
:type TypeId: int
|
11801
11887
|
:param _MemSize: Memory capacity in MB, which must be a multiple of 1,024. It is subject to the purchasable specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).
|
11802
11888
|
If `TypeId` indicates the standard architecture, `MemSize` indicates the total memory capacity of an instance; if `TypeId` indicates the cluster architecture, `MemSize` indicates the memory capacity per shard.
|
@@ -11842,15 +11928,17 @@ If `TypeId` indicates the standard architecture, `MemSize` indicates the total m
|
|
11842
11928
|
@property
|
11843
11929
|
def TypeId(self):
|
11844
11930
|
"""Instance type.
|
11845
|
-
|
11846
|
-
-
|
11847
|
-
-
|
11848
|
-
-
|
11849
|
-
-
|
11850
|
-
-
|
11851
|
-
-
|
11852
|
-
-
|
11853
|
-
-
|
11931
|
+
|
11932
|
+
- 2: Redis 2.8 memory edition (standard architecture).
|
11933
|
+
- 6: Redis 4.0 memory edition (standard architecture).
|
11934
|
+
- 7: Redis 4.0 memory edition (cluster architecture).
|
11935
|
+
- 8: Redis 5.0 memory edition (standard architecture).
|
11936
|
+
- 9: Redis 5.0 memory edition (cluster architecture).
|
11937
|
+
- 15: Redis 6.2 memory edition (standard architecture).
|
11938
|
+
- 16: Redis 6.2 memory edition (cluster architecture).
|
11939
|
+
- 17: Redis 7.0 memory edition (standard architecture).
|
11940
|
+
- 18: Redis 7.0 memory edition (cluster architecture).
|
11941
|
+
- 200: Memcached 1.6 memory edition (cluster architecture).
|
11854
11942
|
:rtype: int
|
11855
11943
|
"""
|
11856
11944
|
return self._TypeId
|
@@ -12007,19 +12095,29 @@ class InquiryPriceCreateInstanceResponse(AbstractModel):
|
|
12007
12095
|
|
12008
12096
|
def __init__(self):
|
12009
12097
|
r"""
|
12010
|
-
:param _Price: Price.
|
12011
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
12098
|
+
:param _Price: Price.
|
12012
12099
|
:type Price: float
|
12100
|
+
:param _HighPrecisionPrice: High precision price.
|
12101
|
+
:type HighPrecisionPrice: float
|
12102
|
+
:param _Currency: Currency.
|
12103
|
+
:type Currency: str
|
12104
|
+
:param _AmountUnit: Price unit.
|
12105
|
+
|
12106
|
+
- pent: cent.
|
12107
|
+
- microPent: microcent.
|
12108
|
+
:type AmountUnit: str
|
12013
12109
|
:param _RequestId: 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.
|
12014
12110
|
:type RequestId: str
|
12015
12111
|
"""
|
12016
12112
|
self._Price = None
|
12113
|
+
self._HighPrecisionPrice = None
|
12114
|
+
self._Currency = None
|
12115
|
+
self._AmountUnit = None
|
12017
12116
|
self._RequestId = None
|
12018
12117
|
|
12019
12118
|
@property
|
12020
12119
|
def Price(self):
|
12021
|
-
"""Price.
|
12022
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
12120
|
+
"""Price.
|
12023
12121
|
:rtype: float
|
12024
12122
|
"""
|
12025
12123
|
return self._Price
|
@@ -12028,6 +12126,42 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
12028
12126
|
def Price(self, Price):
|
12029
12127
|
self._Price = Price
|
12030
12128
|
|
12129
|
+
@property
|
12130
|
+
def HighPrecisionPrice(self):
|
12131
|
+
"""High precision price.
|
12132
|
+
:rtype: float
|
12133
|
+
"""
|
12134
|
+
return self._HighPrecisionPrice
|
12135
|
+
|
12136
|
+
@HighPrecisionPrice.setter
|
12137
|
+
def HighPrecisionPrice(self, HighPrecisionPrice):
|
12138
|
+
self._HighPrecisionPrice = HighPrecisionPrice
|
12139
|
+
|
12140
|
+
@property
|
12141
|
+
def Currency(self):
|
12142
|
+
"""Currency.
|
12143
|
+
:rtype: str
|
12144
|
+
"""
|
12145
|
+
return self._Currency
|
12146
|
+
|
12147
|
+
@Currency.setter
|
12148
|
+
def Currency(self, Currency):
|
12149
|
+
self._Currency = Currency
|
12150
|
+
|
12151
|
+
@property
|
12152
|
+
def AmountUnit(self):
|
12153
|
+
"""Price unit.
|
12154
|
+
|
12155
|
+
- pent: cent.
|
12156
|
+
- microPent: microcent.
|
12157
|
+
:rtype: str
|
12158
|
+
"""
|
12159
|
+
return self._AmountUnit
|
12160
|
+
|
12161
|
+
@AmountUnit.setter
|
12162
|
+
def AmountUnit(self, AmountUnit):
|
12163
|
+
self._AmountUnit = AmountUnit
|
12164
|
+
|
12031
12165
|
@property
|
12032
12166
|
def RequestId(self):
|
12033
12167
|
"""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.
|
@@ -12042,6 +12176,9 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
12042
12176
|
|
12043
12177
|
def _deserialize(self, params):
|
12044
12178
|
self._Price = params.get("Price")
|
12179
|
+
self._HighPrecisionPrice = params.get("HighPrecisionPrice")
|
12180
|
+
self._Currency = params.get("Currency")
|
12181
|
+
self._AmountUnit = params.get("AmountUnit")
|
12045
12182
|
self._RequestId = params.get("RequestId")
|
12046
12183
|
|
12047
12184
|
|
@@ -12133,19 +12270,29 @@ class InquiryPriceUpgradeInstanceResponse(AbstractModel):
|
|
12133
12270
|
|
12134
12271
|
def __init__(self):
|
12135
12272
|
r"""
|
12136
|
-
:param _Price: Price.
|
12137
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
12273
|
+
:param _Price: Price.
|
12138
12274
|
:type Price: float
|
12275
|
+
:param _HighPrecisionPrice: High precision price.
|
12276
|
+
:type HighPrecisionPrice: float
|
12277
|
+
:param _Currency: Currency.
|
12278
|
+
:type Currency: str
|
12279
|
+
:param _AmountUnit: Price unit.
|
12280
|
+
|
12281
|
+
- pent: cent.
|
12282
|
+
- microPent: microcent.
|
12283
|
+
:type AmountUnit: str
|
12139
12284
|
:param _RequestId: 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.
|
12140
12285
|
:type RequestId: str
|
12141
12286
|
"""
|
12142
12287
|
self._Price = None
|
12288
|
+
self._HighPrecisionPrice = None
|
12289
|
+
self._Currency = None
|
12290
|
+
self._AmountUnit = None
|
12143
12291
|
self._RequestId = None
|
12144
12292
|
|
12145
12293
|
@property
|
12146
12294
|
def Price(self):
|
12147
|
-
"""Price.
|
12148
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
12295
|
+
"""Price.
|
12149
12296
|
:rtype: float
|
12150
12297
|
"""
|
12151
12298
|
return self._Price
|
@@ -12155,19 +12302,58 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
12155
12302
|
self._Price = Price
|
12156
12303
|
|
12157
12304
|
@property
|
12158
|
-
def
|
12159
|
-
"""
|
12160
|
-
:rtype:
|
12305
|
+
def HighPrecisionPrice(self):
|
12306
|
+
"""High precision price.
|
12307
|
+
:rtype: float
|
12161
12308
|
"""
|
12162
|
-
return self.
|
12309
|
+
return self._HighPrecisionPrice
|
12163
12310
|
|
12164
|
-
@
|
12311
|
+
@HighPrecisionPrice.setter
|
12312
|
+
def HighPrecisionPrice(self, HighPrecisionPrice):
|
12313
|
+
self._HighPrecisionPrice = HighPrecisionPrice
|
12314
|
+
|
12315
|
+
@property
|
12316
|
+
def Currency(self):
|
12317
|
+
"""Currency.
|
12318
|
+
:rtype: str
|
12319
|
+
"""
|
12320
|
+
return self._Currency
|
12321
|
+
|
12322
|
+
@Currency.setter
|
12323
|
+
def Currency(self, Currency):
|
12324
|
+
self._Currency = Currency
|
12325
|
+
|
12326
|
+
@property
|
12327
|
+
def AmountUnit(self):
|
12328
|
+
"""Price unit.
|
12329
|
+
|
12330
|
+
- pent: cent.
|
12331
|
+
- microPent: microcent.
|
12332
|
+
:rtype: str
|
12333
|
+
"""
|
12334
|
+
return self._AmountUnit
|
12335
|
+
|
12336
|
+
@AmountUnit.setter
|
12337
|
+
def AmountUnit(self, AmountUnit):
|
12338
|
+
self._AmountUnit = AmountUnit
|
12339
|
+
|
12340
|
+
@property
|
12341
|
+
def RequestId(self):
|
12342
|
+
"""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.
|
12343
|
+
:rtype: str
|
12344
|
+
"""
|
12345
|
+
return self._RequestId
|
12346
|
+
|
12347
|
+
@RequestId.setter
|
12165
12348
|
def RequestId(self, RequestId):
|
12166
12349
|
self._RequestId = RequestId
|
12167
12350
|
|
12168
12351
|
|
12169
12352
|
def _deserialize(self, params):
|
12170
12353
|
self._Price = params.get("Price")
|
12354
|
+
self._HighPrecisionPrice = params.get("HighPrecisionPrice")
|
12355
|
+
self._Currency = params.get("Currency")
|
12356
|
+
self._AmountUnit = params.get("AmountUnit")
|
12171
12357
|
self._RequestId = params.get("RequestId")
|
12172
12358
|
|
12173
12359
|
|
@@ -12736,8 +12922,7 @@ class InstanceIntegerParam(AbstractModel):
|
|
12736
12922
|
:type Max: str
|
12737
12923
|
:param _Status: Parameter status. 1: modifying; 2: modified
|
12738
12924
|
:type Status: int
|
12739
|
-
:param _Unit: Parameter unit
|
12740
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
12925
|
+
:param _Unit: Parameter unit.
|
12741
12926
|
:type Unit: str
|
12742
12927
|
"""
|
12743
12928
|
self._ParamName = None
|
@@ -12852,8 +13037,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
12852
13037
|
|
12853
13038
|
@property
|
12854
13039
|
def Unit(self):
|
12855
|
-
"""Parameter unit
|
12856
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
13040
|
+
"""Parameter unit.
|
12857
13041
|
:rtype: str
|
12858
13042
|
"""
|
12859
13043
|
return self._Unit
|
@@ -13402,7 +13586,7 @@ class InstanceSet(AbstractModel):
|
|
13402
13586
|
:type Appid: int
|
13403
13587
|
:param _ProjectId: Project ID.
|
13404
13588
|
:type ProjectId: int
|
13405
|
-
:param _RegionId: Region ID
|
13589
|
+
:param _RegionId: 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>
|
13406
13590
|
:type RegionId: int
|
13407
13591
|
:param _ZoneId: Zone ID.
|
13408
13592
|
:type ZoneId: int
|
@@ -13423,18 +13607,20 @@ class InstanceSet(AbstractModel):
|
|
13423
13607
|
:param _SizeUsed: This parameter has been deprecated. Obtain the memory capacity used by the instance through the TCOP API [GetMonitorData](https://intl.cloud.tencent.com/document/product/248/31014?from_cn_redirect=1).
|
13424
13608
|
:type SizeUsed: float
|
13425
13609
|
:param _Type: Instance type.
|
13426
|
-
|
13427
|
-
-
|
13428
|
-
-
|
13429
|
-
-
|
13430
|
-
-
|
13431
|
-
-
|
13432
|
-
-
|
13433
|
-
-
|
13434
|
-
-
|
13435
|
-
-
|
13436
|
-
-
|
13437
|
-
-
|
13610
|
+
|
13611
|
+
- 2: Redis 2.8 memory edition (standard architecture).
|
13612
|
+
- 3: CKV 3.2 memory edition (standard architecture).
|
13613
|
+
- 4: CKV 3.2 memory edition (cluster architecture).
|
13614
|
+
- 5: Redis 2.8 memory edition (standalone).
|
13615
|
+
- 6: Redis 4.0 memory edition (standard architecture).
|
13616
|
+
- 7: Redis 4.0 memory edition (cluster architecture).
|
13617
|
+
- 8: Redis 5.0 memory edition (standard architecture).
|
13618
|
+
- 9: Redis 5.0 memory edition (cluster architecture).
|
13619
|
+
- 15: Redis 6.2 memory edition (standard architecture).
|
13620
|
+
- 16: Redis 6.2 memory edition (cluster architecture).
|
13621
|
+
- 17: Redis 7.0 memory edition (standard architecture).
|
13622
|
+
- 18: Redis 7.0 memory edition (cluster architecture).
|
13623
|
+
- 200: Memcached 1.6 memory edition (cluster architecture).
|
13438
13624
|
:type Type: int
|
13439
13625
|
:param _AutoRenewFlag: Whether the automatic renewal flag is set for an instance. <ul><li>1: set;</li> <li>0: not set.</li></ul>
|
13440
13626
|
:type AutoRenewFlag: int
|
@@ -13454,7 +13640,9 @@ class InstanceSet(AbstractModel):
|
|
13454
13640
|
:type InstanceTitle: str
|
13455
13641
|
:param _OfflineTime: Default termination time of isolated instances, for example, in the format of 2020-02-15 10:20:00. By default, a pay-as-you-go instance will be terminated after 2 hours of isolation, and a monthly subscription instance will be terminated after 7 days.
|
13456
13642
|
:type OfflineTime: str
|
13457
|
-
:param _SubStatus: Sub-status returned for
|
13643
|
+
:param _SubStatus: Sub-status returned for the instance in the process.
|
13644
|
+
- 0: disk read-write status.
|
13645
|
+
- 1: disk read-only status because the upper limit is exceeded.
|
13458
13646
|
:type SubStatus: int
|
13459
13647
|
:param _Tags: Anti-affinity tag.
|
13460
13648
|
:type Tags: list of str
|
@@ -13472,87 +13660,61 @@ class InstanceSet(AbstractModel):
|
|
13472
13660
|
:type CloseTime: str
|
13473
13661
|
:param _SlaveReadWeight: Read weight of a secondary node.
|
13474
13662
|
:type SlaveReadWeight: int
|
13475
|
-
:param _InstanceTags:
|
13476
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13663
|
+
:param _InstanceTags: Information on tags associated with the instance.
|
13477
13664
|
:type InstanceTags: list of InstanceTagInfo
|
13478
13665
|
:param _ProjectName: Project name
|
13479
|
-
|
13480
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13481
13666
|
:type ProjectName: str
|
13482
|
-
:param _NoAuth: Whether
|
13483
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13667
|
+
:param _NoAuth: Whether the instance is password-free.<ul><li>true: password-free instance.</li><li>false: password required by the instance.</li></ul>
|
13484
13668
|
:type NoAuth: bool
|
13485
13669
|
:param _ClientLimit: Number of client connections.
|
13486
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13487
13670
|
:type ClientLimit: int
|
13488
|
-
:param _DtsStatus: DTS status (
|
13489
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13671
|
+
:param _DtsStatus: DTS status. (Internal parameter, which can be ignored.)
|
13490
13672
|
:type DtsStatus: int
|
13491
|
-
:param _NetLimit:
|
13492
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13673
|
+
:param _NetLimit: Shard bandwidth limit. Unit: MB.
|
13493
13674
|
:type NetLimit: int
|
13494
|
-
:param _PasswordFree: Password-free instance flag (
|
13495
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13675
|
+
:param _PasswordFree: Password-free instance flag. (Internal parameter, which can be ignored.)
|
13496
13676
|
:type PasswordFree: int
|
13497
|
-
:param _Vip6:
|
13498
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13677
|
+
:param _Vip6: This parameter encounters a naming issue. It is recommended to use the parameter IPv6 instead. It is an internal parameter and can be ignored.
|
13499
13678
|
:type Vip6: str
|
13500
13679
|
:param _IPv6: Internal parameter, which can be ignored.
|
13501
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13502
13680
|
:type IPv6: str
|
13503
|
-
:param _ReadOnly: Instance read-only flag (
|
13504
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13681
|
+
:param _ReadOnly: Instance read-only flag. (Internal parameter, which can be ignored.)
|
13505
13682
|
:type ReadOnly: int
|
13506
13683
|
:param _RemainBandwidthDuration: Internal parameter, which can be ignored.
|
13507
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13508
13684
|
:type RemainBandwidthDuration: str
|
13509
|
-
:param _DiskSize: For Redis instances, ignore this parameter.
|
13510
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13685
|
+
:param _DiskSize: For TencentDB for Redis® instances, ignore this parameter.
|
13511
13686
|
:type DiskSize: int
|
13512
|
-
:param _MonitorVersion: Monitoring version
|
13513
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13687
|
+
:param _MonitorVersion: 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>
|
13514
13688
|
:type MonitorVersion: str
|
13515
13689
|
:param _ClientLimitMin: Minimum value that can be set for the maximum number of client connections.
|
13516
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13517
13690
|
:type ClientLimitMin: int
|
13518
13691
|
:param _ClientLimitMax: Maximum value that can be set for the maximum number of client connections.
|
13519
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13520
13692
|
:type ClientLimitMax: int
|
13521
|
-
:param _NodeSet:
|
13522
|
-
|
13693
|
+
:param _NodeSet: Node details of the instance.
|
13694
|
+
|
13695
|
+
It is returned only for multi-AZ instances.
|
13523
13696
|
:type NodeSet: list of RedisNodeInfo
|
13524
|
-
:param _Region: Region information
|
13525
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13697
|
+
:param _Region: Region information on the instance. For example, ap-guangzhou.
|
13526
13698
|
:type Region: str
|
13527
13699
|
:param _WanAddress: Public network address.
|
13528
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13529
13700
|
:type WanAddress: str
|
13530
|
-
:param _PolarisServer: Polaris service address
|
13531
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13701
|
+
:param _PolarisServer: Polaris service address for internal use.
|
13532
13702
|
:type PolarisServer: str
|
13533
|
-
:param _RedisClusterId: CDC
|
13534
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13703
|
+
:param _RedisClusterId: CDC cluster ID of TencentDB for Redis®.
|
13535
13704
|
:type RedisClusterId: str
|
13536
13705
|
:param _DedicatedClusterId: CDC cluster ID.
|
13537
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13538
13706
|
:type DedicatedClusterId: str
|
13539
|
-
:param _ProductVersion: Product edition
|
13540
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13707
|
+
:param _ProductVersion: Product edition.<ul><li>local: local disk.</li><li>cloud: cloud disk edition.</li><li>cdc: CDC cluster edition.</li></ul>
|
13541
13708
|
:type ProductVersion: str
|
13542
|
-
:param _CurrentProxyVersion: Current
|
13543
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13709
|
+
:param _CurrentProxyVersion: Current proxy version of the instance.
|
13544
13710
|
:type CurrentProxyVersion: str
|
13545
|
-
:param _CurrentRedisVersion: Current
|
13546
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13711
|
+
:param _CurrentRedisVersion: Current cache minor version of the instance. If the instance is added to a global replication group, the global replication kernel version is displayed.
|
13547
13712
|
:type CurrentRedisVersion: str
|
13548
|
-
:param _UpgradeProxyVersion: Upgradable
|
13549
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13713
|
+
:param _UpgradeProxyVersion: Upgradable proxy version for the instance.
|
13550
13714
|
:type UpgradeProxyVersion: str
|
13551
|
-
:param _UpgradeRedisVersion: Upgradable
|
13552
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13715
|
+
:param _UpgradeRedisVersion: Upgradable cache minor version for the instance.
|
13553
13716
|
:type UpgradeRedisVersion: str
|
13554
|
-
:param _BackupMode: Backup mode. SecondLevelBackup: second-level backup
|
13555
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
13717
|
+
:param _BackupMode: Backup mode. - SecondLevelBackup: second-level backup. - NormalLevelBackup: ordinary backup.
|
13556
13718
|
:type BackupMode: str
|
13557
13719
|
"""
|
13558
13720
|
self._InstanceName = None
|
@@ -13663,7 +13825,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
13663
13825
|
|
13664
13826
|
@property
|
13665
13827
|
def RegionId(self):
|
13666
|
-
"""Region ID
|
13828
|
+
"""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>
|
13667
13829
|
:rtype: int
|
13668
13830
|
"""
|
13669
13831
|
return self._RegionId
|
@@ -13778,18 +13940,20 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
13778
13940
|
@property
|
13779
13941
|
def Type(self):
|
13780
13942
|
"""Instance type.
|
13781
|
-
|
13782
|
-
-
|
13783
|
-
-
|
13784
|
-
-
|
13785
|
-
-
|
13786
|
-
-
|
13787
|
-
-
|
13788
|
-
-
|
13789
|
-
-
|
13790
|
-
-
|
13791
|
-
-
|
13792
|
-
-
|
13943
|
+
|
13944
|
+
- 2: Redis 2.8 memory edition (standard architecture).
|
13945
|
+
- 3: CKV 3.2 memory edition (standard architecture).
|
13946
|
+
- 4: CKV 3.2 memory edition (cluster architecture).
|
13947
|
+
- 5: Redis 2.8 memory edition (standalone).
|
13948
|
+
- 6: Redis 4.0 memory edition (standard architecture).
|
13949
|
+
- 7: Redis 4.0 memory edition (cluster architecture).
|
13950
|
+
- 8: Redis 5.0 memory edition (standard architecture).
|
13951
|
+
- 9: Redis 5.0 memory edition (cluster architecture).
|
13952
|
+
- 15: Redis 6.2 memory edition (standard architecture).
|
13953
|
+
- 16: Redis 6.2 memory edition (cluster architecture).
|
13954
|
+
- 17: Redis 7.0 memory edition (standard architecture).
|
13955
|
+
- 18: Redis 7.0 memory edition (cluster architecture).
|
13956
|
+
- 200: Memcached 1.6 memory edition (cluster architecture).
|
13793
13957
|
:rtype: int
|
13794
13958
|
"""
|
13795
13959
|
return self._Type
|
@@ -13899,7 +14063,9 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
13899
14063
|
|
13900
14064
|
@property
|
13901
14065
|
def SubStatus(self):
|
13902
|
-
"""Sub-status returned for
|
14066
|
+
"""Sub-status returned for the instance in the process.
|
14067
|
+
- 0: disk read-write status.
|
14068
|
+
- 1: disk read-only status because the upper limit is exceeded.
|
13903
14069
|
:rtype: int
|
13904
14070
|
"""
|
13905
14071
|
return self._SubStatus
|
@@ -13998,8 +14164,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
13998
14164
|
|
13999
14165
|
@property
|
14000
14166
|
def InstanceTags(self):
|
14001
|
-
"""
|
14002
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14167
|
+
"""Information on tags associated with the instance.
|
14003
14168
|
:rtype: list of InstanceTagInfo
|
14004
14169
|
"""
|
14005
14170
|
return self._InstanceTags
|
@@ -14011,8 +14176,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14011
14176
|
@property
|
14012
14177
|
def ProjectName(self):
|
14013
14178
|
"""Project name
|
14014
|
-
|
14015
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14016
14179
|
:rtype: str
|
14017
14180
|
"""
|
14018
14181
|
return self._ProjectName
|
@@ -14023,8 +14186,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14023
14186
|
|
14024
14187
|
@property
|
14025
14188
|
def NoAuth(self):
|
14026
|
-
"""Whether
|
14027
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14189
|
+
"""Whether the instance is password-free.<ul><li>true: password-free instance.</li><li>false: password required by the instance.</li></ul>
|
14028
14190
|
:rtype: bool
|
14029
14191
|
"""
|
14030
14192
|
return self._NoAuth
|
@@ -14036,7 +14198,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14036
14198
|
@property
|
14037
14199
|
def ClientLimit(self):
|
14038
14200
|
"""Number of client connections.
|
14039
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14040
14201
|
:rtype: int
|
14041
14202
|
"""
|
14042
14203
|
return self._ClientLimit
|
@@ -14047,8 +14208,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14047
14208
|
|
14048
14209
|
@property
|
14049
14210
|
def DtsStatus(self):
|
14050
|
-
"""DTS status (
|
14051
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14211
|
+
"""DTS status. (Internal parameter, which can be ignored.)
|
14052
14212
|
:rtype: int
|
14053
14213
|
"""
|
14054
14214
|
return self._DtsStatus
|
@@ -14059,8 +14219,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14059
14219
|
|
14060
14220
|
@property
|
14061
14221
|
def NetLimit(self):
|
14062
|
-
"""
|
14063
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14222
|
+
"""Shard bandwidth limit. Unit: MB.
|
14064
14223
|
:rtype: int
|
14065
14224
|
"""
|
14066
14225
|
return self._NetLimit
|
@@ -14071,8 +14230,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14071
14230
|
|
14072
14231
|
@property
|
14073
14232
|
def PasswordFree(self):
|
14074
|
-
"""Password-free instance flag (
|
14075
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14233
|
+
"""Password-free instance flag. (Internal parameter, which can be ignored.)
|
14076
14234
|
:rtype: int
|
14077
14235
|
"""
|
14078
14236
|
return self._PasswordFree
|
@@ -14083,8 +14241,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14083
14241
|
|
14084
14242
|
@property
|
14085
14243
|
def Vip6(self):
|
14086
|
-
"""
|
14087
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14244
|
+
"""This parameter encounters a naming issue. It is recommended to use the parameter IPv6 instead. It is an internal parameter and can be ignored.
|
14088
14245
|
:rtype: str
|
14089
14246
|
"""
|
14090
14247
|
return self._Vip6
|
@@ -14096,7 +14253,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14096
14253
|
@property
|
14097
14254
|
def IPv6(self):
|
14098
14255
|
"""Internal parameter, which can be ignored.
|
14099
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14100
14256
|
:rtype: str
|
14101
14257
|
"""
|
14102
14258
|
return self._IPv6
|
@@ -14107,8 +14263,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14107
14263
|
|
14108
14264
|
@property
|
14109
14265
|
def ReadOnly(self):
|
14110
|
-
"""Instance read-only flag (
|
14111
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14266
|
+
"""Instance read-only flag. (Internal parameter, which can be ignored.)
|
14112
14267
|
:rtype: int
|
14113
14268
|
"""
|
14114
14269
|
return self._ReadOnly
|
@@ -14120,7 +14275,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14120
14275
|
@property
|
14121
14276
|
def RemainBandwidthDuration(self):
|
14122
14277
|
"""Internal parameter, which can be ignored.
|
14123
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14124
14278
|
:rtype: str
|
14125
14279
|
"""
|
14126
14280
|
return self._RemainBandwidthDuration
|
@@ -14131,8 +14285,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14131
14285
|
|
14132
14286
|
@property
|
14133
14287
|
def DiskSize(self):
|
14134
|
-
"""For Redis instances, ignore this parameter.
|
14135
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14288
|
+
"""For TencentDB for Redis® instances, ignore this parameter.
|
14136
14289
|
:rtype: int
|
14137
14290
|
"""
|
14138
14291
|
return self._DiskSize
|
@@ -14143,8 +14296,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14143
14296
|
|
14144
14297
|
@property
|
14145
14298
|
def MonitorVersion(self):
|
14146
|
-
"""Monitoring version
|
14147
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14299
|
+
"""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>
|
14148
14300
|
:rtype: str
|
14149
14301
|
"""
|
14150
14302
|
return self._MonitorVersion
|
@@ -14156,7 +14308,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14156
14308
|
@property
|
14157
14309
|
def ClientLimitMin(self):
|
14158
14310
|
"""Minimum value that can be set for the maximum number of client connections.
|
14159
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14160
14311
|
:rtype: int
|
14161
14312
|
"""
|
14162
14313
|
return self._ClientLimitMin
|
@@ -14168,7 +14319,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14168
14319
|
@property
|
14169
14320
|
def ClientLimitMax(self):
|
14170
14321
|
"""Maximum value that can be set for the maximum number of client connections.
|
14171
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14172
14322
|
:rtype: int
|
14173
14323
|
"""
|
14174
14324
|
return self._ClientLimitMax
|
@@ -14179,8 +14329,9 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14179
14329
|
|
14180
14330
|
@property
|
14181
14331
|
def NodeSet(self):
|
14182
|
-
"""
|
14183
|
-
|
14332
|
+
"""Node details of the instance.
|
14333
|
+
|
14334
|
+
It is returned only for multi-AZ instances.
|
14184
14335
|
:rtype: list of RedisNodeInfo
|
14185
14336
|
"""
|
14186
14337
|
return self._NodeSet
|
@@ -14191,8 +14342,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14191
14342
|
|
14192
14343
|
@property
|
14193
14344
|
def Region(self):
|
14194
|
-
"""Region information
|
14195
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14345
|
+
"""Region information on the instance. For example, ap-guangzhou.
|
14196
14346
|
:rtype: str
|
14197
14347
|
"""
|
14198
14348
|
return self._Region
|
@@ -14204,7 +14354,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14204
14354
|
@property
|
14205
14355
|
def WanAddress(self):
|
14206
14356
|
"""Public network address.
|
14207
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14208
14357
|
:rtype: str
|
14209
14358
|
"""
|
14210
14359
|
return self._WanAddress
|
@@ -14215,8 +14364,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14215
14364
|
|
14216
14365
|
@property
|
14217
14366
|
def PolarisServer(self):
|
14218
|
-
"""Polaris service address
|
14219
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14367
|
+
"""Polaris service address for internal use.
|
14220
14368
|
:rtype: str
|
14221
14369
|
"""
|
14222
14370
|
return self._PolarisServer
|
@@ -14227,8 +14375,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14227
14375
|
|
14228
14376
|
@property
|
14229
14377
|
def RedisClusterId(self):
|
14230
|
-
"""CDC
|
14231
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14378
|
+
"""CDC cluster ID of TencentDB for Redis®.
|
14232
14379
|
:rtype: str
|
14233
14380
|
"""
|
14234
14381
|
return self._RedisClusterId
|
@@ -14240,7 +14387,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14240
14387
|
@property
|
14241
14388
|
def DedicatedClusterId(self):
|
14242
14389
|
"""CDC cluster ID.
|
14243
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14244
14390
|
:rtype: str
|
14245
14391
|
"""
|
14246
14392
|
return self._DedicatedClusterId
|
@@ -14251,8 +14397,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14251
14397
|
|
14252
14398
|
@property
|
14253
14399
|
def ProductVersion(self):
|
14254
|
-
"""Product edition
|
14255
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14400
|
+
"""Product edition.<ul><li>local: local disk.</li><li>cloud: cloud disk edition.</li><li>cdc: CDC cluster edition.</li></ul>
|
14256
14401
|
:rtype: str
|
14257
14402
|
"""
|
14258
14403
|
return self._ProductVersion
|
@@ -14263,8 +14408,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14263
14408
|
|
14264
14409
|
@property
|
14265
14410
|
def CurrentProxyVersion(self):
|
14266
|
-
"""Current
|
14267
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14411
|
+
"""Current proxy version of the instance.
|
14268
14412
|
:rtype: str
|
14269
14413
|
"""
|
14270
14414
|
return self._CurrentProxyVersion
|
@@ -14275,8 +14419,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14275
14419
|
|
14276
14420
|
@property
|
14277
14421
|
def CurrentRedisVersion(self):
|
14278
|
-
"""Current
|
14279
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14422
|
+
"""Current cache minor version of the instance. If the instance is added to a global replication group, the global replication kernel version is displayed.
|
14280
14423
|
:rtype: str
|
14281
14424
|
"""
|
14282
14425
|
return self._CurrentRedisVersion
|
@@ -14287,8 +14430,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14287
14430
|
|
14288
14431
|
@property
|
14289
14432
|
def UpgradeProxyVersion(self):
|
14290
|
-
"""Upgradable
|
14291
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14433
|
+
"""Upgradable proxy version for the instance.
|
14292
14434
|
:rtype: str
|
14293
14435
|
"""
|
14294
14436
|
return self._UpgradeProxyVersion
|
@@ -14299,8 +14441,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14299
14441
|
|
14300
14442
|
@property
|
14301
14443
|
def UpgradeRedisVersion(self):
|
14302
|
-
"""Upgradable
|
14303
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14444
|
+
"""Upgradable cache minor version for the instance.
|
14304
14445
|
:rtype: str
|
14305
14446
|
"""
|
14306
14447
|
return self._UpgradeRedisVersion
|
@@ -14311,8 +14452,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
14311
14452
|
|
14312
14453
|
@property
|
14313
14454
|
def BackupMode(self):
|
14314
|
-
"""Backup mode. SecondLevelBackup: second-level backup
|
14315
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
14455
|
+
"""Backup mode. - SecondLevelBackup: second-level backup. - NormalLevelBackup: ordinary backup.
|
14316
14456
|
:rtype: str
|
14317
14457
|
"""
|
14318
14458
|
return self._BackupMode
|
@@ -14734,8 +14874,7 @@ class Instances(AbstractModel):
|
|
14734
14874
|
:type RedisShardNum: int
|
14735
14875
|
:param _RedisShardSize: Shard memory size.
|
14736
14876
|
:type RedisShardSize: int
|
14737
|
-
:param _DiskSize: Instance disk size
|
14738
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
14877
|
+
:param _DiskSize: Instance disk size.
|
14739
14878
|
:type DiskSize: int
|
14740
14879
|
:param _Engine: Engine: Redis Community Edition, Tencent Cloud CKV.
|
14741
14880
|
:type Engine: str
|
@@ -14743,11 +14882,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
14743
14882
|
:type Role: str
|
14744
14883
|
:param _Vip: Instance VIP
|
14745
14884
|
:type Vip: str
|
14746
|
-
:param _Vip6:
|
14747
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
14885
|
+
:param _Vip6: This parameter encounters a naming issue. It is recommended to use the parameter IPv6 instead. It is an internal parameter and can be ignored.
|
14748
14886
|
:type Vip6: str
|
14749
|
-
:param _IPv6: Internal
|
14750
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
14887
|
+
:param _IPv6: Internal parameter, which can be ignored.
|
14751
14888
|
:type IPv6: str
|
14752
14889
|
:param _VpcID: VPC ID, such as `75101`.
|
14753
14890
|
:type VpcID: int
|
@@ -14886,8 +15023,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
14886
15023
|
|
14887
15024
|
@property
|
14888
15025
|
def DiskSize(self):
|
14889
|
-
"""Instance disk size
|
14890
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
15026
|
+
"""Instance disk size.
|
14891
15027
|
:rtype: int
|
14892
15028
|
"""
|
14893
15029
|
return self._DiskSize
|
@@ -14931,8 +15067,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
14931
15067
|
|
14932
15068
|
@property
|
14933
15069
|
def Vip6(self):
|
14934
|
-
"""
|
14935
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
15070
|
+
"""This parameter encounters a naming issue. It is recommended to use the parameter IPv6 instead. It is an internal parameter and can be ignored.
|
14936
15071
|
:rtype: str
|
14937
15072
|
"""
|
14938
15073
|
return self._Vip6
|
@@ -14943,8 +15078,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
14943
15078
|
|
14944
15079
|
@property
|
14945
15080
|
def IPv6(self):
|
14946
|
-
"""Internal
|
14947
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
15081
|
+
"""Internal parameter, which can be ignored.
|
14948
15082
|
:rtype: str
|
14949
15083
|
"""
|
14950
15084
|
return self._IPv6
|
@@ -15191,18 +15325,13 @@ class LogDeliveryInfo(AbstractModel):
|
|
15191
15325
|
|
15192
15326
|
def __init__(self):
|
15193
15327
|
r"""
|
15194
|
-
:param _Enabled:
|
15195
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
15328
|
+
:param _Enabled: Enabling status of log shipping. true: enabled; false: disabled.
|
15196
15329
|
:type Enabled: bool
|
15197
|
-
:param _LogsetId:
|
15198
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
15330
|
+
:param _LogsetId: Log set ID.
|
15199
15331
|
:type LogsetId: str
|
15200
15332
|
:param _TopicId: Log topic ID.
|
15201
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
15202
15333
|
:type TopicId: str
|
15203
15334
|
:param _LogRegion: Logset region
|
15204
|
-
|
15205
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
15206
15335
|
:type LogRegion: str
|
15207
15336
|
"""
|
15208
15337
|
self._Enabled = None
|
@@ -15212,8 +15341,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
15212
15341
|
|
15213
15342
|
@property
|
15214
15343
|
def Enabled(self):
|
15215
|
-
"""
|
15216
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
15344
|
+
"""Enabling status of log shipping. true: enabled; false: disabled.
|
15217
15345
|
:rtype: bool
|
15218
15346
|
"""
|
15219
15347
|
return self._Enabled
|
@@ -15224,8 +15352,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
15224
15352
|
|
15225
15353
|
@property
|
15226
15354
|
def LogsetId(self):
|
15227
|
-
"""
|
15228
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
15355
|
+
"""Log set ID.
|
15229
15356
|
:rtype: str
|
15230
15357
|
"""
|
15231
15358
|
return self._LogsetId
|
@@ -15237,7 +15364,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
15237
15364
|
@property
|
15238
15365
|
def TopicId(self):
|
15239
15366
|
"""Log topic ID.
|
15240
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
15241
15367
|
:rtype: str
|
15242
15368
|
"""
|
15243
15369
|
return self._TopicId
|
@@ -15249,8 +15375,6 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
15249
15375
|
@property
|
15250
15376
|
def LogRegion(self):
|
15251
15377
|
"""Logset region
|
15252
|
-
|
15253
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
15254
15378
|
:rtype: str
|
15255
15379
|
"""
|
15256
15380
|
return self._LogRegion
|
@@ -15395,10 +15519,10 @@ class ModfiyInstancePasswordRequest(AbstractModel):
|
|
15395
15519
|
:type InstanceId: str
|
15396
15520
|
:param _OldPassword: Old password of an instance
|
15397
15521
|
:type OldPassword: str
|
15398
|
-
:param _Password: New instance password
|
15399
|
-
- It
|
15400
|
-
- It cannot start with a slash (/)
|
15401
|
-
- It
|
15522
|
+
:param _Password: New instance password. The password complexity requirements are as follows:
|
15523
|
+
- It should contain 8 to 64 characters. 12 or more characters are recommended.
|
15524
|
+
- It cannot start with a forward slash (/).
|
15525
|
+
- 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 ()~!@#$%^&*-+=_|{}[]:;<>,.?/).
|
15402
15526
|
:type Password: str
|
15403
15527
|
"""
|
15404
15528
|
self._InstanceId = None
|
@@ -15429,10 +15553,10 @@ class ModfiyInstancePasswordRequest(AbstractModel):
|
|
15429
15553
|
|
15430
15554
|
@property
|
15431
15555
|
def Password(self):
|
15432
|
-
"""New instance password
|
15433
|
-
- It
|
15434
|
-
- It cannot start with a slash (/)
|
15435
|
-
- It
|
15556
|
+
"""New instance password. The password complexity requirements are as follows:
|
15557
|
+
- It should contain 8 to 64 characters. 12 or more characters are recommended.
|
15558
|
+
- It cannot start with a forward slash (/).
|
15559
|
+
- 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 ()~!@#$%^&*-+=_|{}[]:;<>,.?/).
|
15436
15560
|
:rtype: str
|
15437
15561
|
"""
|
15438
15562
|
return self._Password
|
@@ -15952,9 +16076,11 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
15952
16076
|
r"""
|
15953
16077
|
:param _Product: Database engine name, which is `redis` for this API.
|
15954
16078
|
:type Product: str
|
15955
|
-
:param _SecurityGroupIds:
|
15956
|
-
- To configure a security group for an instance for the first time,
|
16079
|
+
:param _SecurityGroupIds: Replaces with the new security group ID list, which is an array of one or more security group IDs.
|
16080
|
+
- 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.
|
15957
16081
|
- 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.
|
16082
|
+
|
16083
|
+
**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.
|
15958
16084
|
:type SecurityGroupIds: list of str
|
15959
16085
|
:param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
|
15960
16086
|
:type InstanceId: str
|
@@ -15976,9 +16102,11 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
15976
16102
|
|
15977
16103
|
@property
|
15978
16104
|
def SecurityGroupIds(self):
|
15979
|
-
"""
|
15980
|
-
- To configure a security group for an instance for the first time,
|
16105
|
+
"""Replaces with the new security group ID list, which is an array of one or more security group IDs.
|
16106
|
+
- 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.
|
15981
16107
|
- 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.
|
16108
|
+
|
16109
|
+
**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.
|
15982
16110
|
:rtype: list of str
|
15983
16111
|
"""
|
15984
16112
|
return self._SecurityGroupIds
|
@@ -16348,6 +16476,104 @@ class ModifyInstanceAvailabilityZonesResponse(AbstractModel):
|
|
16348
16476
|
self._RequestId = params.get("RequestId")
|
16349
16477
|
|
16350
16478
|
|
16479
|
+
class ModifyInstanceBackupModeRequest(AbstractModel):
|
16480
|
+
"""ModifyInstanceBackupMode request structure.
|
16481
|
+
|
16482
|
+
"""
|
16483
|
+
|
16484
|
+
def __init__(self):
|
16485
|
+
r"""
|
16486
|
+
:param _InstanceId: Instance ID, which can contain 12 to 36 characters.
|
16487
|
+
:type InstanceId: str
|
16488
|
+
:param _BackupMode: Backup mode:
|
16489
|
+
- SecondLevelBackup: second-level backup.
|
16490
|
+
- NormalLevelBackup: ordinary backup.
|
16491
|
+
:type BackupMode: str
|
16492
|
+
"""
|
16493
|
+
self._InstanceId = None
|
16494
|
+
self._BackupMode = None
|
16495
|
+
|
16496
|
+
@property
|
16497
|
+
def InstanceId(self):
|
16498
|
+
"""Instance ID, which can contain 12 to 36 characters.
|
16499
|
+
:rtype: str
|
16500
|
+
"""
|
16501
|
+
return self._InstanceId
|
16502
|
+
|
16503
|
+
@InstanceId.setter
|
16504
|
+
def InstanceId(self, InstanceId):
|
16505
|
+
self._InstanceId = InstanceId
|
16506
|
+
|
16507
|
+
@property
|
16508
|
+
def BackupMode(self):
|
16509
|
+
"""Backup mode:
|
16510
|
+
- SecondLevelBackup: second-level backup.
|
16511
|
+
- NormalLevelBackup: ordinary backup.
|
16512
|
+
:rtype: str
|
16513
|
+
"""
|
16514
|
+
return self._BackupMode
|
16515
|
+
|
16516
|
+
@BackupMode.setter
|
16517
|
+
def BackupMode(self, BackupMode):
|
16518
|
+
self._BackupMode = BackupMode
|
16519
|
+
|
16520
|
+
|
16521
|
+
def _deserialize(self, params):
|
16522
|
+
self._InstanceId = params.get("InstanceId")
|
16523
|
+
self._BackupMode = params.get("BackupMode")
|
16524
|
+
memeber_set = set(params.keys())
|
16525
|
+
for name, value in vars(self).items():
|
16526
|
+
property_name = name[1:]
|
16527
|
+
if property_name in memeber_set:
|
16528
|
+
memeber_set.remove(property_name)
|
16529
|
+
if len(memeber_set) > 0:
|
16530
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16531
|
+
|
16532
|
+
|
16533
|
+
|
16534
|
+
class ModifyInstanceBackupModeResponse(AbstractModel):
|
16535
|
+
"""ModifyInstanceBackupMode response structure.
|
16536
|
+
|
16537
|
+
"""
|
16538
|
+
|
16539
|
+
def __init__(self):
|
16540
|
+
r"""
|
16541
|
+
:param _TaskId: Task ID.
|
16542
|
+
:type TaskId: int
|
16543
|
+
:param _RequestId: 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.
|
16544
|
+
:type RequestId: str
|
16545
|
+
"""
|
16546
|
+
self._TaskId = None
|
16547
|
+
self._RequestId = None
|
16548
|
+
|
16549
|
+
@property
|
16550
|
+
def TaskId(self):
|
16551
|
+
"""Task ID.
|
16552
|
+
:rtype: int
|
16553
|
+
"""
|
16554
|
+
return self._TaskId
|
16555
|
+
|
16556
|
+
@TaskId.setter
|
16557
|
+
def TaskId(self, TaskId):
|
16558
|
+
self._TaskId = TaskId
|
16559
|
+
|
16560
|
+
@property
|
16561
|
+
def RequestId(self):
|
16562
|
+
"""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.
|
16563
|
+
:rtype: str
|
16564
|
+
"""
|
16565
|
+
return self._RequestId
|
16566
|
+
|
16567
|
+
@RequestId.setter
|
16568
|
+
def RequestId(self, RequestId):
|
16569
|
+
self._RequestId = RequestId
|
16570
|
+
|
16571
|
+
|
16572
|
+
def _deserialize(self, params):
|
16573
|
+
self._TaskId = params.get("TaskId")
|
16574
|
+
self._RequestId = params.get("RequestId")
|
16575
|
+
|
16576
|
+
|
16351
16577
|
class ModifyInstanceEventRequest(AbstractModel):
|
16352
16578
|
"""ModifyInstanceEvent request structure.
|
16353
16579
|
|
@@ -16517,13 +16743,13 @@ class ModifyInstanceLogDeliveryRequest(AbstractModel):
|
|
16517
16743
|
- true: enabled.
|
16518
16744
|
- false: disabled.
|
16519
16745
|
:type Enabled: bool
|
16520
|
-
:param _LogsetId: ID of the shipped logset
|
16746
|
+
:param _LogsetId: 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).
|
16521
16747
|
:type LogsetId: str
|
16522
|
-
:param _TopicId: ID of the shipped log topic
|
16748
|
+
:param _TopicId: 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).
|
16523
16749
|
:type TopicId: str
|
16524
|
-
:param _LogsetName: Logset name.
|
16750
|
+
:param _LogsetName: Logset name. It is required when **LogsetId** is left blank. The system will create a logset with the value of LogsetName and ship logs.
|
16525
16751
|
:type LogsetName: str
|
16526
|
-
:param _TopicName: Log topic name.
|
16752
|
+
:param _TopicName: 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.
|
16527
16753
|
:type TopicName: str
|
16528
16754
|
:param _LogRegion: Region where the logset is located. If it is not provided, the region where the instance is located will be used by default.
|
16529
16755
|
:type LogRegion: str
|
@@ -16580,7 +16806,7 @@ class ModifyInstanceLogDeliveryRequest(AbstractModel):
|
|
16580
16806
|
|
16581
16807
|
@property
|
16582
16808
|
def LogsetId(self):
|
16583
|
-
"""ID of the shipped logset
|
16809
|
+
"""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).
|
16584
16810
|
:rtype: str
|
16585
16811
|
"""
|
16586
16812
|
return self._LogsetId
|
@@ -16591,7 +16817,7 @@ class ModifyInstanceLogDeliveryRequest(AbstractModel):
|
|
16591
16817
|
|
16592
16818
|
@property
|
16593
16819
|
def TopicId(self):
|
16594
|
-
"""ID of the shipped log topic
|
16820
|
+
"""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).
|
16595
16821
|
:rtype: str
|
16596
16822
|
"""
|
16597
16823
|
return self._TopicId
|
@@ -16602,7 +16828,7 @@ class ModifyInstanceLogDeliveryRequest(AbstractModel):
|
|
16602
16828
|
|
16603
16829
|
@property
|
16604
16830
|
def LogsetName(self):
|
16605
|
-
"""Logset name.
|
16831
|
+
"""Logset name. It is required when **LogsetId** is left blank. The system will create a logset with the value of LogsetName and ship logs.
|
16606
16832
|
:rtype: str
|
16607
16833
|
"""
|
16608
16834
|
return self._LogsetName
|
@@ -16613,7 +16839,7 @@ class ModifyInstanceLogDeliveryRequest(AbstractModel):
|
|
16613
16839
|
|
16614
16840
|
@property
|
16615
16841
|
def TopicName(self):
|
16616
|
-
"""Log topic name.
|
16842
|
+
"""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.
|
16617
16843
|
:rtype: str
|
16618
16844
|
"""
|
16619
16845
|
return self._TopicName
|
@@ -18139,14 +18365,11 @@ class ParameterDetail(AbstractModel):
|
|
18139
18365
|
- `0`: No restart.
|
18140
18366
|
- `1`: Restart required.
|
18141
18367
|
:type NeedReboot: int
|
18142
|
-
:param _Max: Maximum value
|
18143
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18368
|
+
:param _Max: Maximum parameter value allowed.
|
18144
18369
|
:type Max: str
|
18145
|
-
:param _Min: Minimum value
|
18146
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18370
|
+
:param _Min: Minimum parameter value allowed.
|
18147
18371
|
:type Min: str
|
18148
|
-
:param _EnumValue:
|
18149
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18372
|
+
:param _EnumValue: Optional enumeration values of a parameter. For non-enumeration parameters, it is empty.
|
18150
18373
|
:type EnumValue: list of str
|
18151
18374
|
"""
|
18152
18375
|
self._Name = None
|
@@ -18229,8 +18452,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
18229
18452
|
|
18230
18453
|
@property
|
18231
18454
|
def Max(self):
|
18232
|
-
"""Maximum value
|
18233
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18455
|
+
"""Maximum parameter value allowed.
|
18234
18456
|
:rtype: str
|
18235
18457
|
"""
|
18236
18458
|
return self._Max
|
@@ -18241,8 +18463,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
18241
18463
|
|
18242
18464
|
@property
|
18243
18465
|
def Min(self):
|
18244
|
-
"""Minimum value
|
18245
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18466
|
+
"""Minimum parameter value allowed.
|
18246
18467
|
:rtype: str
|
18247
18468
|
"""
|
18248
18469
|
return self._Min
|
@@ -18253,8 +18474,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
18253
18474
|
|
18254
18475
|
@property
|
18255
18476
|
def EnumValue(self):
|
18256
|
-
"""
|
18257
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18477
|
+
"""Optional enumeration values of a parameter. For non-enumeration parameters, it is empty.
|
18258
18478
|
:rtype: list of str
|
18259
18479
|
"""
|
18260
18480
|
return self._EnumValue
|
@@ -18333,10 +18553,9 @@ class ProductConf(AbstractModel):
|
|
18333
18553
|
- true: Supported.
|
18334
18554
|
- false: Not supported.
|
18335
18555
|
:type EnableRepicaReadOnly: bool
|
18336
|
-
:param _EnableReplicaReadOnly: Whether
|
18337
|
-
- true:
|
18338
|
-
- false:
|
18339
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
18556
|
+
:param _EnableReplicaReadOnly: Whether read-only replica is supported.
|
18557
|
+
- true: read-only replica supported.
|
18558
|
+
- false: not supported.
|
18340
18559
|
:type EnableReplicaReadOnly: bool
|
18341
18560
|
"""
|
18342
18561
|
self._Type = None
|
@@ -18519,10 +18738,9 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
18519
18738
|
|
18520
18739
|
@property
|
18521
18740
|
def EnableReplicaReadOnly(self):
|
18522
|
-
"""Whether
|
18523
|
-
- true:
|
18524
|
-
- false:
|
18525
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
18741
|
+
"""Whether read-only replica is supported.
|
18742
|
+
- true: read-only replica supported.
|
18743
|
+
- false: not supported.
|
18526
18744
|
:rtype: bool
|
18527
18745
|
"""
|
18528
18746
|
return self._EnableReplicaReadOnly
|
@@ -18564,11 +18782,9 @@ class ProxyNodes(AbstractModel):
|
|
18564
18782
|
|
18565
18783
|
def __init__(self):
|
18566
18784
|
r"""
|
18567
|
-
:param _NodeId: Node ID
|
18568
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18785
|
+
:param _NodeId: Node ID.
|
18569
18786
|
:type NodeId: str
|
18570
|
-
:param _ZoneId: AZ ID
|
18571
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18787
|
+
:param _ZoneId: AZ ID.
|
18572
18788
|
:type ZoneId: int
|
18573
18789
|
"""
|
18574
18790
|
self._NodeId = None
|
@@ -18576,8 +18792,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
18576
18792
|
|
18577
18793
|
@property
|
18578
18794
|
def NodeId(self):
|
18579
|
-
"""Node ID
|
18580
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18795
|
+
"""Node ID.
|
18581
18796
|
:rtype: str
|
18582
18797
|
"""
|
18583
18798
|
return self._NodeId
|
@@ -18588,8 +18803,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
18588
18803
|
|
18589
18804
|
@property
|
18590
18805
|
def ZoneId(self):
|
18591
|
-
"""AZ ID
|
18592
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18806
|
+
"""AZ ID.
|
18593
18807
|
:rtype: int
|
18594
18808
|
"""
|
18595
18809
|
return self._ZoneId
|
@@ -18632,13 +18846,10 @@ class RedisBackupSet(AbstractModel):
|
|
18632
18846
|
:param _Locked: Whether the backup is locked. Valid values: - `0` (no) - `1` (yes)
|
18633
18847
|
:type Locked: int
|
18634
18848
|
:param _BackupSize: Internal field, which can be ignored.
|
18635
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18636
18849
|
:type BackupSize: int
|
18637
18850
|
:param _FullBackup: Internal field, which can be ignored.
|
18638
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18639
18851
|
:type FullBackup: int
|
18640
18852
|
:param _InstanceType: Internal field, which can be ignored.
|
18641
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18642
18853
|
:type InstanceType: int
|
18643
18854
|
:param _InstanceId: Instance ID
|
18644
18855
|
:type InstanceId: str
|
@@ -18738,7 +18949,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
18738
18949
|
@property
|
18739
18950
|
def BackupSize(self):
|
18740
18951
|
"""Internal field, which can be ignored.
|
18741
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18742
18952
|
:rtype: int
|
18743
18953
|
"""
|
18744
18954
|
return self._BackupSize
|
@@ -18750,7 +18960,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
18750
18960
|
@property
|
18751
18961
|
def FullBackup(self):
|
18752
18962
|
"""Internal field, which can be ignored.
|
18753
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18754
18963
|
:rtype: int
|
18755
18964
|
"""
|
18756
18965
|
return self._FullBackup
|
@@ -18762,7 +18971,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
18762
18971
|
@property
|
18763
18972
|
def InstanceType(self):
|
18764
18973
|
"""Internal field, which can be ignored.
|
18765
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
18766
18974
|
:rtype: int
|
18767
18975
|
"""
|
18768
18976
|
return self._InstanceType
|
@@ -19121,36 +19329,38 @@ class RedisInstanceEvent(AbstractModel):
|
|
19121
19329
|
def __init__(self):
|
19122
19330
|
r"""
|
19123
19331
|
:param _ID: Event ID.
|
19124
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
19125
19332
|
:type ID: int
|
19126
|
-
:param _InstanceId: Instance ID.
|
19333
|
+
:param _InstanceId: Instance ID.
|
19127
19334
|
:type InstanceId: str
|
19128
|
-
:param _InstanceName: Instance name.
|
19335
|
+
:param _InstanceName: Instance name.
|
19129
19336
|
:type InstanceName: str
|
19130
|
-
:param _Type: Event type. Currently, the type can only be related to instance migration, resource movement, and IDC deletion. This parameter can be only
|
19337
|
+
:param _Type: 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**.
|
19131
19338
|
:type Type: str
|
19132
|
-
:param _Grade: Event levels are divided into
|
19133
|
-
-
|
19134
|
-
-
|
19135
|
-
-
|
19136
|
-
|
19339
|
+
:param _Grade: Event level. The levels are divided into critical, important, medium, and general based on severity and urgency.
|
19340
|
+
- Critical: critical.
|
19341
|
+
- High: important.
|
19342
|
+
- Middle: medium.
|
19343
|
+
- Low.
|
19137
19344
|
:type Grade: str
|
19138
|
-
:param _ExecutionDate: Scheduled event execution date.
|
19345
|
+
:param _ExecutionDate: Scheduled event execution date.
|
19139
19346
|
:type ExecutionDate: str
|
19140
|
-
:param _StartTime:
|
19347
|
+
:param _StartTime: Start date of scheduled event execution.
|
19141
19348
|
:type StartTime: str
|
19142
|
-
:param _EndTime:
|
19349
|
+
:param _EndTime: End date of scheduled event execution.
|
19143
19350
|
:type EndTime: str
|
19144
|
-
:param _LatestExecutionDate:
|
19351
|
+
:param _LatestExecutionDate: Latest execution date of the Ops event. The event should be completed before this date. Otherwise, the business may be affected.
|
19145
19352
|
:type LatestExecutionDate: str
|
19146
|
-
:param _Status: Current event status
|
19353
|
+
:param _Status: Current event status.
|
19354
|
+
- Waiting: event not reached the execution date or not within the maintenance window.
|
19355
|
+
- Running: event within the maintenance window and under maintenance execution.
|
19356
|
+
- Finished: event with maintenance completed.
|
19357
|
+
- Canceled: Execution of the event is canceled.
|
19147
19358
|
:type Status: str
|
19148
19359
|
:param _TaskEndTime: Completion time of the event execution task.
|
19149
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
19150
19360
|
:type TaskEndTime: str
|
19151
|
-
:param _EffectInfo:
|
19361
|
+
:param _EffectInfo: Event impact information.
|
19152
19362
|
:type EffectInfo: str
|
19153
|
-
:param _InitialExecutionDate: Initial scheduled execution date
|
19363
|
+
:param _InitialExecutionDate: Initial scheduled event execution date.
|
19154
19364
|
:type InitialExecutionDate: str
|
19155
19365
|
"""
|
19156
19366
|
self._ID = None
|
@@ -19170,7 +19380,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19170
19380
|
@property
|
19171
19381
|
def ID(self):
|
19172
19382
|
"""Event ID.
|
19173
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
19174
19383
|
:rtype: int
|
19175
19384
|
"""
|
19176
19385
|
return self._ID
|
@@ -19181,7 +19390,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19181
19390
|
|
19182
19391
|
@property
|
19183
19392
|
def InstanceId(self):
|
19184
|
-
"""Instance ID.
|
19393
|
+
"""Instance ID.
|
19185
19394
|
:rtype: str
|
19186
19395
|
"""
|
19187
19396
|
return self._InstanceId
|
@@ -19192,7 +19401,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19192
19401
|
|
19193
19402
|
@property
|
19194
19403
|
def InstanceName(self):
|
19195
|
-
"""Instance name.
|
19404
|
+
"""Instance name.
|
19196
19405
|
:rtype: str
|
19197
19406
|
"""
|
19198
19407
|
return self._InstanceName
|
@@ -19203,7 +19412,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19203
19412
|
|
19204
19413
|
@property
|
19205
19414
|
def Type(self):
|
19206
|
-
"""Event type. Currently, the type can only be related to instance migration, resource movement, and IDC deletion. This parameter can be only
|
19415
|
+
"""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**.
|
19207
19416
|
:rtype: str
|
19208
19417
|
"""
|
19209
19418
|
return self._Type
|
@@ -19214,11 +19423,11 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19214
19423
|
|
19215
19424
|
@property
|
19216
19425
|
def Grade(self):
|
19217
|
-
"""Event levels are divided into
|
19218
|
-
-
|
19219
|
-
-
|
19220
|
-
-
|
19221
|
-
|
19426
|
+
"""Event level. The levels are divided into critical, important, medium, and general based on severity and urgency.
|
19427
|
+
- Critical: critical.
|
19428
|
+
- High: important.
|
19429
|
+
- Middle: medium.
|
19430
|
+
- Low.
|
19222
19431
|
:rtype: str
|
19223
19432
|
"""
|
19224
19433
|
return self._Grade
|
@@ -19229,7 +19438,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19229
19438
|
|
19230
19439
|
@property
|
19231
19440
|
def ExecutionDate(self):
|
19232
|
-
"""Scheduled event execution date.
|
19441
|
+
"""Scheduled event execution date.
|
19233
19442
|
:rtype: str
|
19234
19443
|
"""
|
19235
19444
|
return self._ExecutionDate
|
@@ -19240,7 +19449,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19240
19449
|
|
19241
19450
|
@property
|
19242
19451
|
def StartTime(self):
|
19243
|
-
"""
|
19452
|
+
"""Start date of scheduled event execution.
|
19244
19453
|
:rtype: str
|
19245
19454
|
"""
|
19246
19455
|
return self._StartTime
|
@@ -19251,7 +19460,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19251
19460
|
|
19252
19461
|
@property
|
19253
19462
|
def EndTime(self):
|
19254
|
-
"""
|
19463
|
+
"""End date of scheduled event execution.
|
19255
19464
|
:rtype: str
|
19256
19465
|
"""
|
19257
19466
|
return self._EndTime
|
@@ -19262,7 +19471,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19262
19471
|
|
19263
19472
|
@property
|
19264
19473
|
def LatestExecutionDate(self):
|
19265
|
-
"""
|
19474
|
+
"""Latest execution date of the Ops event. The event should be completed before this date. Otherwise, the business may be affected.
|
19266
19475
|
:rtype: str
|
19267
19476
|
"""
|
19268
19477
|
return self._LatestExecutionDate
|
@@ -19273,7 +19482,11 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19273
19482
|
|
19274
19483
|
@property
|
19275
19484
|
def Status(self):
|
19276
|
-
"""Current event status
|
19485
|
+
"""Current event status.
|
19486
|
+
- Waiting: event not reached the execution date or not within the maintenance window.
|
19487
|
+
- Running: event within the maintenance window and under maintenance execution.
|
19488
|
+
- Finished: event with maintenance completed.
|
19489
|
+
- Canceled: Execution of the event is canceled.
|
19277
19490
|
:rtype: str
|
19278
19491
|
"""
|
19279
19492
|
return self._Status
|
@@ -19285,7 +19498,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19285
19498
|
@property
|
19286
19499
|
def TaskEndTime(self):
|
19287
19500
|
"""Completion time of the event execution task.
|
19288
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
19289
19501
|
:rtype: str
|
19290
19502
|
"""
|
19291
19503
|
return self._TaskEndTime
|
@@ -19296,7 +19508,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19296
19508
|
|
19297
19509
|
@property
|
19298
19510
|
def EffectInfo(self):
|
19299
|
-
"""
|
19511
|
+
"""Event impact information.
|
19300
19512
|
:rtype: str
|
19301
19513
|
"""
|
19302
19514
|
return self._EffectInfo
|
@@ -19307,7 +19519,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
19307
19519
|
|
19308
19520
|
@property
|
19309
19521
|
def InitialExecutionDate(self):
|
19310
|
-
"""Initial scheduled execution date
|
19522
|
+
"""Initial scheduled event execution date.
|
19311
19523
|
:rtype: str
|
19312
19524
|
"""
|
19313
19525
|
return self._InitialExecutionDate
|
@@ -19794,6 +20006,70 @@ class ReleaseWanAddressResponse(AbstractModel):
|
|
19794
20006
|
self._RequestId = params.get("RequestId")
|
19795
20007
|
|
19796
20008
|
|
20009
|
+
class RemoveReplicationGroupRequest(AbstractModel):
|
20010
|
+
"""RemoveReplicationGroup request structure.
|
20011
|
+
|
20012
|
+
"""
|
20013
|
+
|
20014
|
+
def __init__(self):
|
20015
|
+
r"""
|
20016
|
+
:param _GroupId: Replication group ID.
|
20017
|
+
:type GroupId: str
|
20018
|
+
"""
|
20019
|
+
self._GroupId = None
|
20020
|
+
|
20021
|
+
@property
|
20022
|
+
def GroupId(self):
|
20023
|
+
"""Replication group ID.
|
20024
|
+
:rtype: str
|
20025
|
+
"""
|
20026
|
+
return self._GroupId
|
20027
|
+
|
20028
|
+
@GroupId.setter
|
20029
|
+
def GroupId(self, GroupId):
|
20030
|
+
self._GroupId = GroupId
|
20031
|
+
|
20032
|
+
|
20033
|
+
def _deserialize(self, params):
|
20034
|
+
self._GroupId = params.get("GroupId")
|
20035
|
+
memeber_set = set(params.keys())
|
20036
|
+
for name, value in vars(self).items():
|
20037
|
+
property_name = name[1:]
|
20038
|
+
if property_name in memeber_set:
|
20039
|
+
memeber_set.remove(property_name)
|
20040
|
+
if len(memeber_set) > 0:
|
20041
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
20042
|
+
|
20043
|
+
|
20044
|
+
|
20045
|
+
class RemoveReplicationGroupResponse(AbstractModel):
|
20046
|
+
"""RemoveReplicationGroup response structure.
|
20047
|
+
|
20048
|
+
"""
|
20049
|
+
|
20050
|
+
def __init__(self):
|
20051
|
+
r"""
|
20052
|
+
:param _RequestId: 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.
|
20053
|
+
:type RequestId: str
|
20054
|
+
"""
|
20055
|
+
self._RequestId = None
|
20056
|
+
|
20057
|
+
@property
|
20058
|
+
def RequestId(self):
|
20059
|
+
"""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.
|
20060
|
+
:rtype: str
|
20061
|
+
"""
|
20062
|
+
return self._RequestId
|
20063
|
+
|
20064
|
+
@RequestId.setter
|
20065
|
+
def RequestId(self, RequestId):
|
20066
|
+
self._RequestId = RequestId
|
20067
|
+
|
20068
|
+
|
20069
|
+
def _deserialize(self, params):
|
20070
|
+
self._RequestId = params.get("RequestId")
|
20071
|
+
|
20072
|
+
|
19797
20073
|
class RemoveReplicationInstanceRequest(AbstractModel):
|
19798
20074
|
"""RemoveReplicationInstance request structure.
|
19799
20075
|
|
@@ -20458,6 +20734,57 @@ class RestoreInstanceResponse(AbstractModel):
|
|
20458
20734
|
self._RequestId = params.get("RequestId")
|
20459
20735
|
|
20460
20736
|
|
20737
|
+
class SecondLevelBackupMissingTimestamps(AbstractModel):
|
20738
|
+
"""Timestamp range within which second-level backup is missing
|
20739
|
+
|
20740
|
+
"""
|
20741
|
+
|
20742
|
+
def __init__(self):
|
20743
|
+
r"""
|
20744
|
+
:param _StartTimeStamp: Start timestamp.
|
20745
|
+
:type StartTimeStamp: int
|
20746
|
+
:param _EndTimeStamp: End timestamp.
|
20747
|
+
:type EndTimeStamp: int
|
20748
|
+
"""
|
20749
|
+
self._StartTimeStamp = None
|
20750
|
+
self._EndTimeStamp = None
|
20751
|
+
|
20752
|
+
@property
|
20753
|
+
def StartTimeStamp(self):
|
20754
|
+
"""Start timestamp.
|
20755
|
+
:rtype: int
|
20756
|
+
"""
|
20757
|
+
return self._StartTimeStamp
|
20758
|
+
|
20759
|
+
@StartTimeStamp.setter
|
20760
|
+
def StartTimeStamp(self, StartTimeStamp):
|
20761
|
+
self._StartTimeStamp = StartTimeStamp
|
20762
|
+
|
20763
|
+
@property
|
20764
|
+
def EndTimeStamp(self):
|
20765
|
+
"""End timestamp.
|
20766
|
+
:rtype: int
|
20767
|
+
"""
|
20768
|
+
return self._EndTimeStamp
|
20769
|
+
|
20770
|
+
@EndTimeStamp.setter
|
20771
|
+
def EndTimeStamp(self, EndTimeStamp):
|
20772
|
+
self._EndTimeStamp = EndTimeStamp
|
20773
|
+
|
20774
|
+
|
20775
|
+
def _deserialize(self, params):
|
20776
|
+
self._StartTimeStamp = params.get("StartTimeStamp")
|
20777
|
+
self._EndTimeStamp = params.get("EndTimeStamp")
|
20778
|
+
memeber_set = set(params.keys())
|
20779
|
+
for name, value in vars(self).items():
|
20780
|
+
property_name = name[1:]
|
20781
|
+
if property_name in memeber_set:
|
20782
|
+
memeber_set.remove(property_name)
|
20783
|
+
if len(memeber_set) > 0:
|
20784
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
20785
|
+
|
20786
|
+
|
20787
|
+
|
20461
20788
|
class SecurityGroup(AbstractModel):
|
20462
20789
|
"""Security group rules
|
20463
20790
|
|
@@ -21237,9 +21564,12 @@ class SwitchProxyRequest(AbstractModel):
|
|
21237
21564
|
:type InstanceId: str
|
21238
21565
|
:param _ProxyID: Proxy ID of an instance, which can be obtained through NodeId of the response parameter **Proxy** of the API [DescribeInstanceNodeInfo](https://intl.cloud.tencent.com/document/product/239/48603?from_cn_redirect=1).
|
21239
21566
|
:type ProxyID: str
|
21567
|
+
:param _ProxyIDList: 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.
|
21568
|
+
:type ProxyIDList: list of str
|
21240
21569
|
"""
|
21241
21570
|
self._InstanceId = None
|
21242
21571
|
self._ProxyID = None
|
21572
|
+
self._ProxyIDList = None
|
21243
21573
|
|
21244
21574
|
@property
|
21245
21575
|
def InstanceId(self):
|
@@ -21263,10 +21593,22 @@ class SwitchProxyRequest(AbstractModel):
|
|
21263
21593
|
def ProxyID(self, ProxyID):
|
21264
21594
|
self._ProxyID = ProxyID
|
21265
21595
|
|
21596
|
+
@property
|
21597
|
+
def ProxyIDList(self):
|
21598
|
+
"""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.
|
21599
|
+
:rtype: list of str
|
21600
|
+
"""
|
21601
|
+
return self._ProxyIDList
|
21602
|
+
|
21603
|
+
@ProxyIDList.setter
|
21604
|
+
def ProxyIDList(self, ProxyIDList):
|
21605
|
+
self._ProxyIDList = ProxyIDList
|
21606
|
+
|
21266
21607
|
|
21267
21608
|
def _deserialize(self, params):
|
21268
21609
|
self._InstanceId = params.get("InstanceId")
|
21269
21610
|
self._ProxyID = params.get("ProxyID")
|
21611
|
+
self._ProxyIDList = params.get("ProxyIDList")
|
21270
21612
|
memeber_set = set(params.keys())
|
21271
21613
|
for name, value in vars(self).items():
|
21272
21614
|
property_name = name[1:]
|
@@ -21284,11 +21626,25 @@ class SwitchProxyResponse(AbstractModel):
|
|
21284
21626
|
|
21285
21627
|
def __init__(self):
|
21286
21628
|
r"""
|
21629
|
+
:param _TaskId: Task ID.
|
21630
|
+
:type TaskId: int
|
21287
21631
|
:param _RequestId: 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.
|
21288
21632
|
:type RequestId: str
|
21289
21633
|
"""
|
21634
|
+
self._TaskId = None
|
21290
21635
|
self._RequestId = None
|
21291
21636
|
|
21637
|
+
@property
|
21638
|
+
def TaskId(self):
|
21639
|
+
"""Task ID.
|
21640
|
+
:rtype: int
|
21641
|
+
"""
|
21642
|
+
return self._TaskId
|
21643
|
+
|
21644
|
+
@TaskId.setter
|
21645
|
+
def TaskId(self, TaskId):
|
21646
|
+
self._TaskId = TaskId
|
21647
|
+
|
21292
21648
|
@property
|
21293
21649
|
def RequestId(self):
|
21294
21650
|
"""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.
|
@@ -21302,6 +21658,7 @@ class SwitchProxyResponse(AbstractModel):
|
|
21302
21658
|
|
21303
21659
|
|
21304
21660
|
def _deserialize(self, params):
|
21661
|
+
self._TaskId = params.get("TaskId")
|
21305
21662
|
self._RequestId = params.get("RequestId")
|
21306
21663
|
|
21307
21664
|
|
@@ -21312,88 +21669,86 @@ class TaskInfoDetail(AbstractModel):
|
|
21312
21669
|
|
21313
21670
|
def __init__(self):
|
21314
21671
|
r"""
|
21315
|
-
:param _TaskId: Task ID
|
21316
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21672
|
+
:param _TaskId: Task ID.
|
21317
21673
|
:type TaskId: int
|
21318
|
-
:param _StartTime: Task start time
|
21319
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21674
|
+
:param _StartTime: Task start time.
|
21320
21675
|
:type StartTime: str
|
21321
21676
|
:param _TaskType: Task type.
|
21322
21677
|
|
21323
|
-
- FLOW_CREATE: "001"
|
21324
|
-
- FLOW_RESIZE: "002"
|
21325
|
-
- FLOW_CLOSE: "003"
|
21326
|
-
- FLOW_CLEAN: "004"
|
21327
|
-
- FLOW_STARTUP: "005"
|
21328
|
-
- FLOW_DELETE: "006"
|
21329
|
-
- FLOW_SETPWD: "007"
|
21330
|
-
- FLOW_EXPORTBACKUP: "009"
|
21331
|
-
- FLOW_RESTOREBACKUP: "010"
|
21332
|
-
- FLOW_BACKUPINSTANCE: "012"
|
21333
|
-
- FLOW_MIGRATEINSTANCE: "013"
|
21334
|
-
- FLOW_DELBACKUP: "014"
|
21335
|
-
- FLOW_EXCHANGEINSTANCE: "016"
|
21336
|
-
- FLOW_AUTOBACKUP: "017"
|
21337
|
-
- FLOW_MIGRATECHECK: "022"
|
21338
|
-
- FLOW_MIGRATETASK: "023"
|
21339
|
-
- FLOW_CLEANDB: "025"
|
21340
|
-
- FLOW_CLONEBACKUP: "026"
|
21341
|
-
- FLOW_CHANGEVIP: "027"
|
21342
|
-
- FLOW_EXPORSHR: "028"
|
21343
|
-
- FLOW_ADDNODES: "029"
|
21344
|
-
- FLOW_CHANGENET: "031"
|
21345
|
-
- FLOW_MODIFYINSTACEREADONLY: "033"
|
21346
|
-
- FLOW_MODIFYINSTANCEPARAMS: "034"
|
21347
|
-
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035"
|
21348
|
-
- FLOW_SWITCHINSTANCEVIP: "036"
|
21349
|
-
- FLOW_MODIFYINSTANCEACCOUNT: "037"
|
21350
|
-
- FLOW_MODIFYINSTANCEBANDWIDTH: "038"
|
21351
|
-
- FLOW_ENABLEINSTANCE_REPLICATE: "039"
|
21352
|
-
- FLOW_DISABLEINSTANCE_REPLICATE: "040"
|
21353
|
-
- FLOW_UpgradeArch: "041"
|
21354
|
-
- FLOW_DowngradeArch: "042"
|
21355
|
-
- FLOW_UpgradeVersion: "043"
|
21356
|
-
- FLOW_MODIFYCONNECTIONCONFIG: "044"
|
21357
|
-
- FLOW_CLEARNETWORK: "045"
|
21358
|
-
- FLOW_REMOVE_BACKUP_FILE: "046"
|
21359
|
-
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047"
|
21360
|
-
- FLOW_SHUTDOWN_MASTER: "048"
|
21361
|
-
- FLOW_CHANGE_REPLICA_TO_MASTER: "049"
|
21362
|
-
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050"
|
21363
|
-
- FLOW_OPEN_WAN: "052"
|
21364
|
-
- FLOW_CLOSE_WAN: "053"
|
21365
|
-
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055"
|
21366
|
-
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056"
|
21367
|
-
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057"
|
21368
|
-
- FLOW_MIGRATE_NODE: "058"
|
21369
|
-
- FLOW_SWITCH_NODE: "059"
|
21370
|
-
- FLOW_UPGRADE_SMALL_VERSION: "060"
|
21371
|
-
- FLOW_UPGRADE_PROXY_VERSION: "061"
|
21372
|
-
- FLOW_MODIFY_INSTANCE_NETWORK: "062"
|
21373
|
-
- FLOW_MIGRATE_PROXY_NODE: "063"
|
21374
|
-
- FLOW_MIGRATION_INSTANCE_ZONE: "066"
|
21375
|
-
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067"
|
21376
|
-
- FLOW_MODIFY_PROXY_NUM: "069"
|
21377
|
-
- FLOW_MODIFYBACKUPMOD: "070"
|
21378
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
21678
|
+
- FLOW_CREATE: "001", indicating instance creation.
|
21679
|
+
- FLOW_RESIZE: "002", indicating configuration modification.
|
21680
|
+
- FLOW_CLOSE: "003", indicating instance disabling.
|
21681
|
+
- FLOW_CLEAN: "004", indicating instance cleanup.
|
21682
|
+
- FLOW_STARTUP: "005", indicating instance enabling.
|
21683
|
+
- FLOW_DELETE: "006", indicating instance deletion.
|
21684
|
+
- FLOW_SETPWD: "007", indicating password reset.
|
21685
|
+
- FLOW_EXPORTBACKUP: "009", indicating backup file export.
|
21686
|
+
- FLOW_RESTOREBACKUP: "010", indicating backup restoration.
|
21687
|
+
- FLOW_BACKUPINSTANCE: "012", indicating instance backup.
|
21688
|
+
- FLOW_MIGRATEINSTANCE: "013", indicating instance migration.
|
21689
|
+
- FLOW_DELBACKUP: "014", indicating backup deletion.
|
21690
|
+
- FLOW_EXCHANGEINSTANCE: "016", indicating instance switch.
|
21691
|
+
- FLOW_AUTOBACKUP: "017", indicating automatic instance backup.
|
21692
|
+
- FLOW_MIGRATECHECK: "022", indicating migration parameter verification.
|
21693
|
+
- FLOW_MIGRATETASK: "023", indicating that data migration is in progress.
|
21694
|
+
- FLOW_CLEANDB: "025", indicating database cleanup.
|
21695
|
+
- FLOW_CLONEBACKUP: "026": indicating backup cloning.
|
21696
|
+
- FLOW_CHANGEVIP: "027", indicating VIP address modification.
|
21697
|
+
- FLOW_EXPORSHR: "028", indicating scaling.
|
21698
|
+
- FLOW_ADDNODES: "029", indicating node addition (removal).
|
21699
|
+
- FLOW_CHANGENET: "031", indicating network type modification.
|
21700
|
+
- FLOW_MODIFYINSTACEREADONLY: "033": indicating read-only policy modification.
|
21701
|
+
- FLOW_MODIFYINSTANCEPARAMS: "034", indicating instance parameter modification.
|
21702
|
+
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035", indicating password-free access settings.
|
21703
|
+
- FLOW_SWITCHINSTANCEVIP: "036", indicating instance VIP address switch.
|
21704
|
+
- FLOW_MODIFYINSTANCEACCOUNT: "037", indicating instance account modification.
|
21705
|
+
- FLOW_MODIFYINSTANCEBANDWIDTH: "038", indicating instance bandwidth modification.
|
21706
|
+
- FLOW_ENABLEINSTANCE_REPLICATE: "039", indicating enabling of read-only replica.
|
21707
|
+
- FLOW_DISABLEINSTANCE_REPLICATE: "040", indicating disabling of read-only replica.
|
21708
|
+
- FLOW_UpgradeArch: "041", indicating instance architecture upgrade from the standard architecture to the cluster architecture.
|
21709
|
+
- FLOW_DowngradeArch: "042", indicating instance architecture downgrade from the cluster architecture to the standard architecture.
|
21710
|
+
- FLOW_UpgradeVersion: "043", indicating version upgrade.
|
21711
|
+
- FLOW_MODIFYCONNECTIONCONFIG: "044", indicating adjustment of the bandwidth and the number of connections.
|
21712
|
+
- FLOW_CLEARNETWORK: "045", indicating network change.
|
21713
|
+
- FLOW_REMOVE_BACKUP_FILE: "046", indicating backup deletion.
|
21714
|
+
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047", indicating instance upgrade to multi-AZ deployment.
|
21715
|
+
- FLOW_SHUTDOWN_MASTER: "048", indicating fault simulation.
|
21716
|
+
- FLOW_CHANGE_REPLICA_TO_MASTER: "049", indicating manual promotion to the primary node.
|
21717
|
+
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050", indicating replication group addition.
|
21718
|
+
- FLOW_OPEN_WAN: "052", indicating enabling of public network access.
|
21719
|
+
- FLOW_CLOSE_WAN: "053", indicating disabling of public network access.
|
21720
|
+
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055", indicating replication group unbinding.
|
21721
|
+
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056", indicating switching a replication group instance to the primary instance.
|
21722
|
+
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057", indicating modification of the replication group instance role.
|
21723
|
+
- FLOW_MIGRATE_NODE: "058", indicating node migration.
|
21724
|
+
- FLOW_SWITCH_NODE: "059", indicating node switch.
|
21725
|
+
- FLOW_UPGRADE_SMALL_VERSION: "060", indicating Redis version upgrade.
|
21726
|
+
- FLOW_UPGRADE_PROXY_VERSION: "061", indicating proxy version upgrade.
|
21727
|
+
- FLOW_MODIFY_INSTANCE_NETWORK: "062", indicating instance network modification.
|
21728
|
+
- FLOW_MIGRATE_PROXY_NODE: "063", indicating proxy node migration.
|
21729
|
+
- FLOW_MIGRATION_INSTANCE_ZONE: "066", indicating that instance migration to another AZ is in progress.
|
21730
|
+
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067", indicating that instance version upgrade is in progress.
|
21731
|
+
- FLOW_MODIFY_PROXY_NUM: "069", indicating proxy node addition (removal).
|
21732
|
+
- FLOW_MODIFYBACKUPMOD: "070", indicating instance backup mode modification.
|
21379
21733
|
:type TaskType: str
|
21380
|
-
:param _InstanceName: Instance name
|
21381
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21734
|
+
:param _InstanceName: Instance name.
|
21382
21735
|
:type InstanceName: str
|
21383
|
-
:param _InstanceId: Instance ID
|
21384
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21736
|
+
:param _InstanceId: Instance ID.
|
21385
21737
|
:type InstanceId: str
|
21386
|
-
:param _ProjectId: Project ID
|
21387
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21738
|
+
:param _ProjectId: Project ID.
|
21388
21739
|
:type ProjectId: int
|
21389
|
-
:param _Progress: Task progress
|
21390
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21740
|
+
:param _Progress: Task progress.
|
21391
21741
|
:type Progress: float
|
21392
|
-
:param _EndTime: Task end time
|
21393
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21742
|
+
:param _EndTime: Task execution end time.
|
21394
21743
|
:type EndTime: str
|
21395
|
-
:param _Result: Task execution status.
|
21396
|
-
|
21744
|
+
:param _Result: Task execution status.
|
21745
|
+
|
21746
|
+
|
21747
|
+
|
21748
|
+
0: initializing the task.
|
21749
|
+
1: executing.
|
21750
|
+
2. completed.
|
21751
|
+
4: failed.
|
21397
21752
|
:type Result: int
|
21398
21753
|
"""
|
21399
21754
|
self._TaskId = None
|
@@ -21408,8 +21763,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
21408
21763
|
|
21409
21764
|
@property
|
21410
21765
|
def TaskId(self):
|
21411
|
-
"""Task ID
|
21412
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21766
|
+
"""Task ID.
|
21413
21767
|
:rtype: int
|
21414
21768
|
"""
|
21415
21769
|
return self._TaskId
|
@@ -21420,8 +21774,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
21420
21774
|
|
21421
21775
|
@property
|
21422
21776
|
def StartTime(self):
|
21423
|
-
"""Task start time
|
21424
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21777
|
+
"""Task start time.
|
21425
21778
|
:rtype: str
|
21426
21779
|
"""
|
21427
21780
|
return self._StartTime
|
@@ -21434,62 +21787,61 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
21434
21787
|
def TaskType(self):
|
21435
21788
|
"""Task type.
|
21436
21789
|
|
21437
|
-
- FLOW_CREATE: "001"
|
21438
|
-
- FLOW_RESIZE: "002"
|
21439
|
-
- FLOW_CLOSE: "003"
|
21440
|
-
- FLOW_CLEAN: "004"
|
21441
|
-
- FLOW_STARTUP: "005"
|
21442
|
-
- FLOW_DELETE: "006"
|
21443
|
-
- FLOW_SETPWD: "007"
|
21444
|
-
- FLOW_EXPORTBACKUP: "009"
|
21445
|
-
- FLOW_RESTOREBACKUP: "010"
|
21446
|
-
- FLOW_BACKUPINSTANCE: "012"
|
21447
|
-
- FLOW_MIGRATEINSTANCE: "013"
|
21448
|
-
- FLOW_DELBACKUP: "014"
|
21449
|
-
- FLOW_EXCHANGEINSTANCE: "016"
|
21450
|
-
- FLOW_AUTOBACKUP: "017"
|
21451
|
-
- FLOW_MIGRATECHECK: "022"
|
21452
|
-
- FLOW_MIGRATETASK: "023"
|
21453
|
-
- FLOW_CLEANDB: "025"
|
21454
|
-
- FLOW_CLONEBACKUP: "026"
|
21455
|
-
- FLOW_CHANGEVIP: "027"
|
21456
|
-
- FLOW_EXPORSHR: "028"
|
21457
|
-
- FLOW_ADDNODES: "029"
|
21458
|
-
- FLOW_CHANGENET: "031"
|
21459
|
-
- FLOW_MODIFYINSTACEREADONLY: "033"
|
21460
|
-
- FLOW_MODIFYINSTANCEPARAMS: "034"
|
21461
|
-
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035"
|
21462
|
-
- FLOW_SWITCHINSTANCEVIP: "036"
|
21463
|
-
- FLOW_MODIFYINSTANCEACCOUNT: "037"
|
21464
|
-
- FLOW_MODIFYINSTANCEBANDWIDTH: "038"
|
21465
|
-
- FLOW_ENABLEINSTANCE_REPLICATE: "039"
|
21466
|
-
- FLOW_DISABLEINSTANCE_REPLICATE: "040"
|
21467
|
-
- FLOW_UpgradeArch: "041"
|
21468
|
-
- FLOW_DowngradeArch: "042"
|
21469
|
-
- FLOW_UpgradeVersion: "043"
|
21470
|
-
- FLOW_MODIFYCONNECTIONCONFIG: "044"
|
21471
|
-
- FLOW_CLEARNETWORK: "045"
|
21472
|
-
- FLOW_REMOVE_BACKUP_FILE: "046"
|
21473
|
-
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047"
|
21474
|
-
- FLOW_SHUTDOWN_MASTER: "048"
|
21475
|
-
- FLOW_CHANGE_REPLICA_TO_MASTER: "049"
|
21476
|
-
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050"
|
21477
|
-
- FLOW_OPEN_WAN: "052"
|
21478
|
-
- FLOW_CLOSE_WAN: "053"
|
21479
|
-
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055"
|
21480
|
-
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056"
|
21481
|
-
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057"
|
21482
|
-
- FLOW_MIGRATE_NODE: "058"
|
21483
|
-
- FLOW_SWITCH_NODE: "059"
|
21484
|
-
- FLOW_UPGRADE_SMALL_VERSION: "060"
|
21485
|
-
- FLOW_UPGRADE_PROXY_VERSION: "061"
|
21486
|
-
- FLOW_MODIFY_INSTANCE_NETWORK: "062"
|
21487
|
-
- FLOW_MIGRATE_PROXY_NODE: "063"
|
21488
|
-
- FLOW_MIGRATION_INSTANCE_ZONE: "066"
|
21489
|
-
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067"
|
21490
|
-
- FLOW_MODIFY_PROXY_NUM: "069"
|
21491
|
-
- FLOW_MODIFYBACKUPMOD: "070"
|
21492
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
21790
|
+
- FLOW_CREATE: "001", indicating instance creation.
|
21791
|
+
- FLOW_RESIZE: "002", indicating configuration modification.
|
21792
|
+
- FLOW_CLOSE: "003", indicating instance disabling.
|
21793
|
+
- FLOW_CLEAN: "004", indicating instance cleanup.
|
21794
|
+
- FLOW_STARTUP: "005", indicating instance enabling.
|
21795
|
+
- FLOW_DELETE: "006", indicating instance deletion.
|
21796
|
+
- FLOW_SETPWD: "007", indicating password reset.
|
21797
|
+
- FLOW_EXPORTBACKUP: "009", indicating backup file export.
|
21798
|
+
- FLOW_RESTOREBACKUP: "010", indicating backup restoration.
|
21799
|
+
- FLOW_BACKUPINSTANCE: "012", indicating instance backup.
|
21800
|
+
- FLOW_MIGRATEINSTANCE: "013", indicating instance migration.
|
21801
|
+
- FLOW_DELBACKUP: "014", indicating backup deletion.
|
21802
|
+
- FLOW_EXCHANGEINSTANCE: "016", indicating instance switch.
|
21803
|
+
- FLOW_AUTOBACKUP: "017", indicating automatic instance backup.
|
21804
|
+
- FLOW_MIGRATECHECK: "022", indicating migration parameter verification.
|
21805
|
+
- FLOW_MIGRATETASK: "023", indicating that data migration is in progress.
|
21806
|
+
- FLOW_CLEANDB: "025", indicating database cleanup.
|
21807
|
+
- FLOW_CLONEBACKUP: "026": indicating backup cloning.
|
21808
|
+
- FLOW_CHANGEVIP: "027", indicating VIP address modification.
|
21809
|
+
- FLOW_EXPORSHR: "028", indicating scaling.
|
21810
|
+
- FLOW_ADDNODES: "029", indicating node addition (removal).
|
21811
|
+
- FLOW_CHANGENET: "031", indicating network type modification.
|
21812
|
+
- FLOW_MODIFYINSTACEREADONLY: "033": indicating read-only policy modification.
|
21813
|
+
- FLOW_MODIFYINSTANCEPARAMS: "034", indicating instance parameter modification.
|
21814
|
+
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035", indicating password-free access settings.
|
21815
|
+
- FLOW_SWITCHINSTANCEVIP: "036", indicating instance VIP address switch.
|
21816
|
+
- FLOW_MODIFYINSTANCEACCOUNT: "037", indicating instance account modification.
|
21817
|
+
- FLOW_MODIFYINSTANCEBANDWIDTH: "038", indicating instance bandwidth modification.
|
21818
|
+
- FLOW_ENABLEINSTANCE_REPLICATE: "039", indicating enabling of read-only replica.
|
21819
|
+
- FLOW_DISABLEINSTANCE_REPLICATE: "040", indicating disabling of read-only replica.
|
21820
|
+
- FLOW_UpgradeArch: "041", indicating instance architecture upgrade from the standard architecture to the cluster architecture.
|
21821
|
+
- FLOW_DowngradeArch: "042", indicating instance architecture downgrade from the cluster architecture to the standard architecture.
|
21822
|
+
- FLOW_UpgradeVersion: "043", indicating version upgrade.
|
21823
|
+
- FLOW_MODIFYCONNECTIONCONFIG: "044", indicating adjustment of the bandwidth and the number of connections.
|
21824
|
+
- FLOW_CLEARNETWORK: "045", indicating network change.
|
21825
|
+
- FLOW_REMOVE_BACKUP_FILE: "046", indicating backup deletion.
|
21826
|
+
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047", indicating instance upgrade to multi-AZ deployment.
|
21827
|
+
- FLOW_SHUTDOWN_MASTER: "048", indicating fault simulation.
|
21828
|
+
- FLOW_CHANGE_REPLICA_TO_MASTER: "049", indicating manual promotion to the primary node.
|
21829
|
+
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050", indicating replication group addition.
|
21830
|
+
- FLOW_OPEN_WAN: "052", indicating enabling of public network access.
|
21831
|
+
- FLOW_CLOSE_WAN: "053", indicating disabling of public network access.
|
21832
|
+
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055", indicating replication group unbinding.
|
21833
|
+
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056", indicating switching a replication group instance to the primary instance.
|
21834
|
+
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057", indicating modification of the replication group instance role.
|
21835
|
+
- FLOW_MIGRATE_NODE: "058", indicating node migration.
|
21836
|
+
- FLOW_SWITCH_NODE: "059", indicating node switch.
|
21837
|
+
- FLOW_UPGRADE_SMALL_VERSION: "060", indicating Redis version upgrade.
|
21838
|
+
- FLOW_UPGRADE_PROXY_VERSION: "061", indicating proxy version upgrade.
|
21839
|
+
- FLOW_MODIFY_INSTANCE_NETWORK: "062", indicating instance network modification.
|
21840
|
+
- FLOW_MIGRATE_PROXY_NODE: "063", indicating proxy node migration.
|
21841
|
+
- FLOW_MIGRATION_INSTANCE_ZONE: "066", indicating that instance migration to another AZ is in progress.
|
21842
|
+
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067", indicating that instance version upgrade is in progress.
|
21843
|
+
- FLOW_MODIFY_PROXY_NUM: "069", indicating proxy node addition (removal).
|
21844
|
+
- FLOW_MODIFYBACKUPMOD: "070", indicating instance backup mode modification.
|
21493
21845
|
:rtype: str
|
21494
21846
|
"""
|
21495
21847
|
return self._TaskType
|
@@ -21500,8 +21852,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
21500
21852
|
|
21501
21853
|
@property
|
21502
21854
|
def InstanceName(self):
|
21503
|
-
"""Instance name
|
21504
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21855
|
+
"""Instance name.
|
21505
21856
|
:rtype: str
|
21506
21857
|
"""
|
21507
21858
|
return self._InstanceName
|
@@ -21512,8 +21863,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
21512
21863
|
|
21513
21864
|
@property
|
21514
21865
|
def InstanceId(self):
|
21515
|
-
"""Instance ID
|
21516
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21866
|
+
"""Instance ID.
|
21517
21867
|
:rtype: str
|
21518
21868
|
"""
|
21519
21869
|
return self._InstanceId
|
@@ -21524,8 +21874,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
21524
21874
|
|
21525
21875
|
@property
|
21526
21876
|
def ProjectId(self):
|
21527
|
-
"""Project ID
|
21528
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21877
|
+
"""Project ID.
|
21529
21878
|
:rtype: int
|
21530
21879
|
"""
|
21531
21880
|
return self._ProjectId
|
@@ -21536,8 +21885,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
21536
21885
|
|
21537
21886
|
@property
|
21538
21887
|
def Progress(self):
|
21539
|
-
"""Task progress
|
21540
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21888
|
+
"""Task progress.
|
21541
21889
|
:rtype: float
|
21542
21890
|
"""
|
21543
21891
|
return self._Progress
|
@@ -21548,8 +21896,7 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
21548
21896
|
|
21549
21897
|
@property
|
21550
21898
|
def EndTime(self):
|
21551
|
-
"""Task end time
|
21552
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
21899
|
+
"""Task execution end time.
|
21553
21900
|
:rtype: str
|
21554
21901
|
"""
|
21555
21902
|
return self._EndTime
|
@@ -21560,8 +21907,14 @@ Note: This field may return null, indicating that no valid values can be obtain
|
|
21560
21907
|
|
21561
21908
|
@property
|
21562
21909
|
def Result(self):
|
21563
|
-
"""Task execution status.
|
21564
|
-
|
21910
|
+
"""Task execution status.
|
21911
|
+
|
21912
|
+
|
21913
|
+
|
21914
|
+
0: initializing the task.
|
21915
|
+
1: executing.
|
21916
|
+
2. completed.
|
21917
|
+
4: failed.
|
21565
21918
|
:rtype: int
|
21566
21919
|
"""
|
21567
21920
|
return self._Result
|
@@ -21961,7 +22314,7 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
21961
22314
|
|
21962
22315
|
def __init__(self):
|
21963
22316
|
r"""
|
21964
|
-
:param _InstanceId:
|
22317
|
+
:param _InstanceId: 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.
|
21965
22318
|
:type InstanceId: str
|
21966
22319
|
:param _MemSize: New memory size of an instance shard. <ul><li>Unit: MB. </li><li>You can only modify one of the three parameters at a time: `MemSize`, `RedisShardNum`, and `RedisReplicasNum`. To modify one of them, you need to enter the other two, which are consistent with the original configuration specifications of the instance. </li><li>In case of capacity reduction, the new specification must be at least 1.3 times the used capacity; otherwise, the operation will fail.</li></ul>
|
21967
22320
|
:type MemSize: int
|
@@ -21971,16 +22324,21 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
21971
22324
|
:type RedisReplicasNum: int
|
21972
22325
|
:param _NodeSet: Node information set when you add a replica for multi-AZ instances, including the ID and AZ information of the replica. This parameter is not required for non-multi-AZ instances.
|
21973
22326
|
:type NodeSet: list of RedisNodeInfo
|
22327
|
+
:param _SwitchOption: Switch time.
|
22328
|
+
- 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.
|
22329
|
+
-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.
|
22330
|
+
:type SwitchOption: int
|
21974
22331
|
"""
|
21975
22332
|
self._InstanceId = None
|
21976
22333
|
self._MemSize = None
|
21977
22334
|
self._RedisShardNum = None
|
21978
22335
|
self._RedisReplicasNum = None
|
21979
22336
|
self._NodeSet = None
|
22337
|
+
self._SwitchOption = None
|
21980
22338
|
|
21981
22339
|
@property
|
21982
22340
|
def InstanceId(self):
|
21983
|
-
"""
|
22341
|
+
"""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.
|
21984
22342
|
:rtype: str
|
21985
22343
|
"""
|
21986
22344
|
return self._InstanceId
|
@@ -22033,6 +22391,19 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
22033
22391
|
def NodeSet(self, NodeSet):
|
22034
22392
|
self._NodeSet = NodeSet
|
22035
22393
|
|
22394
|
+
@property
|
22395
|
+
def SwitchOption(self):
|
22396
|
+
"""Switch time.
|
22397
|
+
- 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.
|
22398
|
+
-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.
|
22399
|
+
:rtype: int
|
22400
|
+
"""
|
22401
|
+
return self._SwitchOption
|
22402
|
+
|
22403
|
+
@SwitchOption.setter
|
22404
|
+
def SwitchOption(self, SwitchOption):
|
22405
|
+
self._SwitchOption = SwitchOption
|
22406
|
+
|
22036
22407
|
|
22037
22408
|
def _deserialize(self, params):
|
22038
22409
|
self._InstanceId = params.get("InstanceId")
|
@@ -22045,6 +22416,7 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
22045
22416
|
obj = RedisNodeInfo()
|
22046
22417
|
obj._deserialize(item)
|
22047
22418
|
self._NodeSet.append(obj)
|
22419
|
+
self._SwitchOption = params.get("SwitchOption")
|
22048
22420
|
memeber_set = set(params.keys())
|
22049
22421
|
for name, value in vars(self).items():
|
22050
22422
|
property_name = name[1:]
|