tencentcloud-sdk-python-redis 3.0.883__tar.gz → 3.0.897__tar.gz
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.
Potentially problematic release.
This version of tencentcloud-sdk-python-redis might be problematic. Click here for more details.
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/tencentcloud/redis/v20180412/models.py +231 -143
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/tencentcloud/redis/v20180412/redis_client.py +12 -12
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/setup.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.883 → tencentcloud-sdk-python-redis-3.0.897}/tencentcloud_sdk_python_redis.egg-info/top_level.txt +0 -0
|
@@ -25,22 +25,30 @@ class Account(AbstractModel):
|
|
|
25
25
|
|
|
26
26
|
def __init__(self):
|
|
27
27
|
r"""
|
|
28
|
-
:param InstanceId: 实例ID
|
|
28
|
+
:param InstanceId: 实例 ID。
|
|
29
29
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
30
30
|
:type InstanceId: str
|
|
31
|
-
:param AccountName:
|
|
31
|
+
:param AccountName: 账号名称。
|
|
32
32
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33
33
|
:type AccountName: str
|
|
34
|
-
:param Remark:
|
|
34
|
+
:param Remark: 账号描述信息。
|
|
35
35
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36
36
|
:type Remark: str
|
|
37
|
-
:param Privilege:
|
|
37
|
+
:param Privilege: 读写权限策略。
|
|
38
|
+
- r:只读。
|
|
39
|
+
- w:只写。
|
|
40
|
+
- rw:读写。
|
|
38
41
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
39
42
|
:type Privilege: str
|
|
40
|
-
:param ReadonlyPolicy:
|
|
43
|
+
:param ReadonlyPolicy: 只读路由策略。
|
|
44
|
+
- master:主节点。
|
|
45
|
+
- replication:从节点。
|
|
41
46
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
42
47
|
:type ReadonlyPolicy: list of str
|
|
43
|
-
:param Status:
|
|
48
|
+
:param Status: 子账号状态.
|
|
49
|
+
- 1:账号变更中。
|
|
50
|
+
- 2:账号有效。
|
|
51
|
+
- 4:账号已删除。
|
|
44
52
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
45
53
|
:type Status: int
|
|
46
54
|
"""
|
|
@@ -517,9 +525,10 @@ class ChangeReplicaToMasterRequest(AbstractModel):
|
|
|
517
525
|
|
|
518
526
|
def __init__(self):
|
|
519
527
|
r"""
|
|
520
|
-
:param InstanceId:
|
|
528
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
529
|
+
|
|
521
530
|
:type InstanceId: str
|
|
522
|
-
:param GroupId:
|
|
531
|
+
:param GroupId: 副本节点组 ID,请通过接口[DescribeInstanceZoneInfo](https://cloud.tencent.com/document/product/239/50312)获取多 AZ备节点组的 ID 信息。单 AZ,则无需配置该参数。
|
|
523
532
|
:type GroupId: int
|
|
524
533
|
"""
|
|
525
534
|
self.InstanceId = None
|
|
@@ -545,7 +554,7 @@ class ChangeReplicaToMasterResponse(AbstractModel):
|
|
|
545
554
|
|
|
546
555
|
def __init__(self):
|
|
547
556
|
r"""
|
|
548
|
-
:param TaskId: 异步任务ID
|
|
557
|
+
:param TaskId: 异步任务ID。
|
|
549
558
|
:type TaskId: int
|
|
550
559
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
551
560
|
:type RequestId: str
|
|
@@ -1424,7 +1433,7 @@ class DescribeAutoBackupConfigRequest(AbstractModel):
|
|
|
1424
1433
|
|
|
1425
1434
|
def __init__(self):
|
|
1426
1435
|
r"""
|
|
1427
|
-
:param InstanceId:
|
|
1436
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
1428
1437
|
:type InstanceId: str
|
|
1429
1438
|
"""
|
|
1430
1439
|
self.InstanceId = None
|
|
@@ -1448,15 +1457,15 @@ class DescribeAutoBackupConfigResponse(AbstractModel):
|
|
|
1448
1457
|
|
|
1449
1458
|
def __init__(self):
|
|
1450
1459
|
r"""
|
|
1451
|
-
:param AutoBackupType:
|
|
1460
|
+
:param AutoBackupType: 该参数因兼容性问题暂时保留,请忽略。
|
|
1452
1461
|
:type AutoBackupType: int
|
|
1453
|
-
:param WeekDays: Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday。
|
|
1462
|
+
:param WeekDays: 备份周期,默认为每天自动备份,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday。
|
|
1454
1463
|
:type WeekDays: list of str
|
|
1455
|
-
:param TimePeriod:
|
|
1464
|
+
:param TimePeriod: 备份任务发起时间段。
|
|
1456
1465
|
:type TimePeriod: str
|
|
1457
|
-
:param BackupStorageDays:
|
|
1466
|
+
:param BackupStorageDays: 全量备份文件保存天数。默认为7天。如需保存更多天数,请[提交工单](https://console.cloud.tencent.com/workorder/category)申请。
|
|
1458
1467
|
:type BackupStorageDays: int
|
|
1459
|
-
:param BinlogStorageDays:
|
|
1468
|
+
:param BinlogStorageDays: 该参数不再使用,请忽略。
|
|
1460
1469
|
:type BinlogStorageDays: int
|
|
1461
1470
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1462
1471
|
:type RequestId: str
|
|
@@ -1801,7 +1810,8 @@ class DescribeDBSecurityGroupsRequest(AbstractModel):
|
|
|
1801
1810
|
r"""
|
|
1802
1811
|
:param Product: 数据库引擎名称,本接口取值:redis。
|
|
1803
1812
|
:type Product: str
|
|
1804
|
-
:param InstanceId:
|
|
1813
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
1814
|
+
|
|
1805
1815
|
:type InstanceId: str
|
|
1806
1816
|
"""
|
|
1807
1817
|
self.Product = None
|
|
@@ -1829,9 +1839,9 @@ class DescribeDBSecurityGroupsResponse(AbstractModel):
|
|
|
1829
1839
|
r"""
|
|
1830
1840
|
:param Groups: 安全组规则。
|
|
1831
1841
|
:type Groups: list of SecurityGroup
|
|
1832
|
-
:param VIP:
|
|
1842
|
+
:param VIP: 实例内网IPv4地址。
|
|
1833
1843
|
:type VIP: str
|
|
1834
|
-
:param VPort:
|
|
1844
|
+
:param VPort: 内网端口。
|
|
1835
1845
|
:type VPort: str
|
|
1836
1846
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1837
1847
|
:type RequestId: str
|
|
@@ -1861,11 +1871,11 @@ class DescribeInstanceAccountRequest(AbstractModel):
|
|
|
1861
1871
|
|
|
1862
1872
|
def __init__(self):
|
|
1863
1873
|
r"""
|
|
1864
|
-
:param InstanceId:
|
|
1874
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
1865
1875
|
:type InstanceId: str
|
|
1866
|
-
:param Limit:
|
|
1876
|
+
:param Limit: 分页大小。
|
|
1867
1877
|
:type Limit: int
|
|
1868
|
-
:param Offset:
|
|
1878
|
+
:param Offset: 分页偏移量。取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
1869
1879
|
:type Offset: int
|
|
1870
1880
|
"""
|
|
1871
1881
|
self.InstanceId = None
|
|
@@ -1893,10 +1903,10 @@ class DescribeInstanceAccountResponse(AbstractModel):
|
|
|
1893
1903
|
|
|
1894
1904
|
def __init__(self):
|
|
1895
1905
|
r"""
|
|
1896
|
-
:param Accounts:
|
|
1906
|
+
:param Accounts: 账号详细信息。
|
|
1897
1907
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1898
1908
|
:type Accounts: list of Account
|
|
1899
|
-
:param TotalCount:
|
|
1909
|
+
:param TotalCount: 账号个数。
|
|
1900
1910
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1901
1911
|
:type TotalCount: int
|
|
1902
1912
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2640,11 +2650,11 @@ class DescribeInstanceNodeInfoRequest(AbstractModel):
|
|
|
2640
2650
|
|
|
2641
2651
|
def __init__(self):
|
|
2642
2652
|
r"""
|
|
2643
|
-
:param InstanceId:
|
|
2653
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
2644
2654
|
:type InstanceId: str
|
|
2645
|
-
:param Limit:
|
|
2655
|
+
:param Limit: 列表大小。每页输出的节点信息大小。默认为 20,最多输出1000条。该字段已不再使用,请忽略。
|
|
2646
2656
|
:type Limit: int
|
|
2647
|
-
:param Offset:
|
|
2657
|
+
:param Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。该字段已不再使用,请忽略。
|
|
2648
2658
|
:type Offset: int
|
|
2649
2659
|
"""
|
|
2650
2660
|
self.InstanceId = None
|
|
@@ -2672,19 +2682,19 @@ class DescribeInstanceNodeInfoResponse(AbstractModel):
|
|
|
2672
2682
|
|
|
2673
2683
|
def __init__(self):
|
|
2674
2684
|
r"""
|
|
2675
|
-
:param ProxyCount:
|
|
2685
|
+
:param ProxyCount: Proxy节点数量。
|
|
2676
2686
|
:type ProxyCount: int
|
|
2677
|
-
:param Proxy:
|
|
2687
|
+
:param Proxy: Proxy节点信息。
|
|
2678
2688
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2679
2689
|
:type Proxy: list of ProxyNodes
|
|
2680
|
-
:param RedisCount:
|
|
2690
|
+
:param RedisCount: Redis节点数量。
|
|
2681
2691
|
:type RedisCount: int
|
|
2682
|
-
:param Redis:
|
|
2692
|
+
:param Redis: Redis节点信息。
|
|
2683
2693
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2684
2694
|
:type Redis: list of RedisNodes
|
|
2685
|
-
:param TendisCount:
|
|
2695
|
+
:param TendisCount: 该参数不再使用,请忽略。
|
|
2686
2696
|
:type TendisCount: int
|
|
2687
|
-
:param Tendis:
|
|
2697
|
+
:param Tendis: 该参数不再使用,请忽略。
|
|
2688
2698
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2689
2699
|
:type Tendis: list of TendisNodes
|
|
2690
2700
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2793,7 +2803,7 @@ class DescribeInstanceParamsRequest(AbstractModel):
|
|
|
2793
2803
|
|
|
2794
2804
|
def __init__(self):
|
|
2795
2805
|
r"""
|
|
2796
|
-
:param InstanceId:
|
|
2806
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
2797
2807
|
:type InstanceId: str
|
|
2798
2808
|
"""
|
|
2799
2809
|
self.InstanceId = None
|
|
@@ -2817,15 +2827,15 @@ class DescribeInstanceParamsResponse(AbstractModel):
|
|
|
2817
2827
|
|
|
2818
2828
|
def __init__(self):
|
|
2819
2829
|
r"""
|
|
2820
|
-
:param TotalCount:
|
|
2830
|
+
:param TotalCount: 参数列表总数量。
|
|
2821
2831
|
:type TotalCount: int
|
|
2822
|
-
:param InstanceEnumParam:
|
|
2832
|
+
:param InstanceEnumParam: 实例枚举类型参数。
|
|
2823
2833
|
:type InstanceEnumParam: list of InstanceEnumParam
|
|
2824
|
-
:param InstanceIntegerParam:
|
|
2834
|
+
:param InstanceIntegerParam: 实例整型参数。
|
|
2825
2835
|
:type InstanceIntegerParam: list of InstanceIntegerParam
|
|
2826
|
-
:param InstanceTextParam:
|
|
2836
|
+
:param InstanceTextParam: 实例字符型参数。
|
|
2827
2837
|
:type InstanceTextParam: list of InstanceTextParam
|
|
2828
|
-
:param InstanceMultiParam:
|
|
2838
|
+
:param InstanceMultiParam: 实例多选项型参数。
|
|
2829
2839
|
:type InstanceMultiParam: list of InstanceMultiParam
|
|
2830
2840
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2831
2841
|
:type RequestId: str
|
|
@@ -2874,7 +2884,7 @@ class DescribeInstanceSecurityGroupRequest(AbstractModel):
|
|
|
2874
2884
|
|
|
2875
2885
|
def __init__(self):
|
|
2876
2886
|
r"""
|
|
2877
|
-
:param InstanceIds:
|
|
2887
|
+
:param InstanceIds: 实例 ID 列表。例如;["crs-f2ho5rsz\n"]
|
|
2878
2888
|
:type InstanceIds: list of str
|
|
2879
2889
|
"""
|
|
2880
2890
|
self.InstanceIds = None
|
|
@@ -2898,7 +2908,7 @@ class DescribeInstanceSecurityGroupResponse(AbstractModel):
|
|
|
2898
2908
|
|
|
2899
2909
|
def __init__(self):
|
|
2900
2910
|
r"""
|
|
2901
|
-
:param InstanceSecurityGroupsDetail:
|
|
2911
|
+
:param InstanceSecurityGroupsDetail: 实例安全组信息。
|
|
2902
2912
|
:type InstanceSecurityGroupsDetail: list of InstanceSecurityGroupDetail
|
|
2903
2913
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2904
2914
|
:type RequestId: str
|
|
@@ -2924,9 +2934,11 @@ class DescribeInstanceShardsRequest(AbstractModel):
|
|
|
2924
2934
|
|
|
2925
2935
|
def __init__(self):
|
|
2926
2936
|
r"""
|
|
2927
|
-
:param InstanceId:
|
|
2937
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
2928
2938
|
:type InstanceId: str
|
|
2929
|
-
:param FilterSlave:
|
|
2939
|
+
:param FilterSlave: 是否过滤掉从节信息。
|
|
2940
|
+
- true;过滤从节点。
|
|
2941
|
+
- false:不过滤。
|
|
2930
2942
|
:type FilterSlave: bool
|
|
2931
2943
|
"""
|
|
2932
2944
|
self.InstanceId = None
|
|
@@ -2952,9 +2964,9 @@ class DescribeInstanceShardsResponse(AbstractModel):
|
|
|
2952
2964
|
|
|
2953
2965
|
def __init__(self):
|
|
2954
2966
|
r"""
|
|
2955
|
-
:param InstanceShards:
|
|
2967
|
+
:param InstanceShards: 实例分片列表信息,包括:节点信息、节点ID、Key数量、使用容量、容量倾斜率等信息。
|
|
2956
2968
|
:type InstanceShards: list of InstanceClusterShard
|
|
2957
|
-
:param TotalCount:
|
|
2969
|
+
:param TotalCount: 实例分片节点数量。
|
|
2958
2970
|
:type TotalCount: int
|
|
2959
2971
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2960
2972
|
:type RequestId: str
|
|
@@ -2982,7 +2994,7 @@ class DescribeInstanceZoneInfoRequest(AbstractModel):
|
|
|
2982
2994
|
|
|
2983
2995
|
def __init__(self):
|
|
2984
2996
|
r"""
|
|
2985
|
-
:param InstanceId:
|
|
2997
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
2986
2998
|
:type InstanceId: str
|
|
2987
2999
|
"""
|
|
2988
3000
|
self.InstanceId = None
|
|
@@ -3006,9 +3018,9 @@ class DescribeInstanceZoneInfoResponse(AbstractModel):
|
|
|
3006
3018
|
|
|
3007
3019
|
def __init__(self):
|
|
3008
3020
|
r"""
|
|
3009
|
-
:param TotalCount:
|
|
3021
|
+
:param TotalCount: 实例节点组的个数。
|
|
3010
3022
|
:type TotalCount: int
|
|
3011
|
-
:param ReplicaGroups:
|
|
3023
|
+
:param ReplicaGroups: 实例节点组列表。
|
|
3012
3024
|
:type ReplicaGroups: list of ReplicaGroup
|
|
3013
3025
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3014
3026
|
:type RequestId: str
|
|
@@ -3038,11 +3050,13 @@ class DescribeInstancesRequest(AbstractModel):
|
|
|
3038
3050
|
r"""
|
|
3039
3051
|
:param Limit: 每页输出实例的数量,参数默认值20,最大值为1000。
|
|
3040
3052
|
:type Limit: int
|
|
3041
|
-
:param Offset: 分页偏移量,取Limit
|
|
3053
|
+
:param Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
3042
3054
|
:type Offset: int
|
|
3043
|
-
:param InstanceId:
|
|
3055
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
3056
|
+
|
|
3057
|
+
|
|
3044
3058
|
:type InstanceId: str
|
|
3045
|
-
:param OrderBy:
|
|
3059
|
+
:param OrderBy: 实例列表排序依据,枚举值如下所示:<ul><li>projectId:依据项目ID排序。</li><li>createtime:依据实例创建时间排序。</li><li>instancename:依据实例名称排序。</li><li>type:依据实例类型排序。</li><li>curDeadline:依据实例到期时间排序。</li></ul>
|
|
3046
3060
|
:type OrderBy: str
|
|
3047
3061
|
:param OrderType: 实例排序方式,默认为倒序排序。<ul><li>1:倒序。</li><li>0:顺序。</li></ul>
|
|
3048
3062
|
:type OrderType: int
|
|
@@ -3068,11 +3082,21 @@ class DescribeInstancesRequest(AbstractModel):
|
|
|
3068
3082
|
:type TypeVersion: int
|
|
3069
3083
|
:param EngineName: 存储引擎信息。可设置为Redis-2.8、Redis-4.0、Redis-5.0、Redis-6.0 或者 CKV。
|
|
3070
3084
|
:type EngineName: str
|
|
3071
|
-
:param AutoRenew: 续费模式。<ul><li>0
|
|
3085
|
+
:param AutoRenew: 续费模式。<ul><li>0:手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</ul>
|
|
3072
3086
|
:type AutoRenew: list of int
|
|
3073
3087
|
:param BillingMode: 计费模式。<ul><li>postpaid:按量计费。</li><li>prepaid:包年包月。</li></ul>
|
|
3074
3088
|
:type BillingMode: str
|
|
3075
|
-
:param Type:
|
|
3089
|
+
:param Type: 实例类型。
|
|
3090
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
3091
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
3092
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
3093
|
+
- 5:Redis 2.8内存版(单机)。
|
|
3094
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
3095
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
3096
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
3097
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
3098
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
3099
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
3076
3100
|
:type Type: int
|
|
3077
3101
|
:param SearchKeys: 设置搜索关键字数组,可根据实例ID、实例名称、完整IP地址查询实例。
|
|
3078
3102
|
:type SearchKeys: list of str
|
|
@@ -3084,7 +3108,7 @@ class DescribeInstancesRequest(AbstractModel):
|
|
|
3084
3108
|
:type InstanceTags: list of InstanceTagInfo
|
|
3085
3109
|
:param TagKeys: 根据标签的 Key 筛选资源,该参数不配置或者数组设置为空值,则不根据标签Key进行过滤。
|
|
3086
3110
|
:type TagKeys: list of str
|
|
3087
|
-
:param ProductVersions: 实例的产品版本。如果该参数不配置或者数组设置为空值,则默认不依据此参数过滤实例。<ul><li>local:本地盘版。</li><li>
|
|
3111
|
+
:param ProductVersions: 实例的产品版本。如果该参数不配置或者数组设置为空值,则默认不依据此参数过滤实例。<ul><li>local:本地盘版。</li><li>cdc:独享集群版。</li></ul>
|
|
3088
3112
|
:type ProductVersions: list of str
|
|
3089
3113
|
:param InstanceIds: 批量查询指定的实例 ID,返回结果已 Limit 限制为主。
|
|
3090
3114
|
:type InstanceIds: list of str
|
|
@@ -3546,17 +3570,18 @@ class DescribeProxySlowLogRequest(AbstractModel):
|
|
|
3546
3570
|
|
|
3547
3571
|
def __init__(self):
|
|
3548
3572
|
r"""
|
|
3549
|
-
:param InstanceId:
|
|
3573
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
3574
|
+
|
|
3550
3575
|
:type InstanceId: str
|
|
3551
|
-
:param BeginTime:
|
|
3576
|
+
:param BeginTime: 慢查询的开始时间。
|
|
3552
3577
|
:type BeginTime: str
|
|
3553
|
-
:param EndTime:
|
|
3578
|
+
:param EndTime: 慢查询的结束时间。
|
|
3554
3579
|
:type EndTime: str
|
|
3555
|
-
:param MinQueryTime:
|
|
3580
|
+
:param MinQueryTime: 慢查询阈值,单位:毫秒。
|
|
3556
3581
|
:type MinQueryTime: int
|
|
3557
|
-
:param Limit:
|
|
3582
|
+
:param Limit: 分页大小。默认为 20,取值范围[20,1000]。
|
|
3558
3583
|
:type Limit: int
|
|
3559
|
-
:param Offset: 偏移量,取Limit
|
|
3584
|
+
:param Offset: 偏移量,取Limit整数倍。
|
|
3560
3585
|
:type Offset: int
|
|
3561
3586
|
"""
|
|
3562
3587
|
self.InstanceId = None
|
|
@@ -3590,9 +3615,9 @@ class DescribeProxySlowLogResponse(AbstractModel):
|
|
|
3590
3615
|
|
|
3591
3616
|
def __init__(self):
|
|
3592
3617
|
r"""
|
|
3593
|
-
:param TotalCount:
|
|
3618
|
+
:param TotalCount: 慢查询总数。
|
|
3594
3619
|
:type TotalCount: int
|
|
3595
|
-
:param InstanceProxySlowLogDetail:
|
|
3620
|
+
:param InstanceProxySlowLogDetail: 慢查询详情。
|
|
3596
3621
|
:type InstanceProxySlowLogDetail: list of InstanceProxySlowlogDetail
|
|
3597
3622
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3598
3623
|
:type RequestId: str
|
|
@@ -3753,17 +3778,18 @@ class DescribeSlowLogRequest(AbstractModel):
|
|
|
3753
3778
|
|
|
3754
3779
|
def __init__(self):
|
|
3755
3780
|
r"""
|
|
3756
|
-
:param InstanceId:
|
|
3781
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
3782
|
+
|
|
3757
3783
|
:type InstanceId: str
|
|
3758
|
-
:param BeginTime:
|
|
3784
|
+
:param BeginTime: 预查询慢日志的起始时间。
|
|
3759
3785
|
:type BeginTime: str
|
|
3760
|
-
:param EndTime:
|
|
3786
|
+
:param EndTime: 预查询慢日志的结束时间。
|
|
3761
3787
|
:type EndTime: str
|
|
3762
|
-
:param MinQueryTime:
|
|
3788
|
+
:param MinQueryTime: 慢查询平均执行时间阈值,单位:毫秒。
|
|
3763
3789
|
:type MinQueryTime: int
|
|
3764
|
-
:param Limit: 每个页面展示的慢查询条数,默认值为20。
|
|
3790
|
+
:param Limit: 每个页面展示的慢查询条数,默认值为20。取值范围:[20,1000]。
|
|
3765
3791
|
:type Limit: int
|
|
3766
|
-
:param Offset: 慢查询条数的偏移量,取Limit
|
|
3792
|
+
:param Offset: 慢查询条数的偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
3767
3793
|
:type Offset: int
|
|
3768
3794
|
:param Role: 节点所属角色。<ul><li>master:主节点。</li><li>slave:从节点。</li></ul>
|
|
3769
3795
|
:type Role: str
|
|
@@ -3892,29 +3918,52 @@ class DescribeTaskListRequest(AbstractModel):
|
|
|
3892
3918
|
|
|
3893
3919
|
def __init__(self):
|
|
3894
3920
|
r"""
|
|
3895
|
-
:param InstanceId:
|
|
3921
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
3896
3922
|
:type InstanceId: str
|
|
3897
|
-
:param InstanceName:
|
|
3923
|
+
:param InstanceName: 实例名称。
|
|
3898
3924
|
:type InstanceName: str
|
|
3899
|
-
:param Limit:
|
|
3925
|
+
:param Limit: 每页输出的任务列表大小。默认为 20,最多输出100条。
|
|
3900
3926
|
:type Limit: int
|
|
3901
|
-
:param Offset:
|
|
3927
|
+
:param Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
3902
3928
|
:type Offset: int
|
|
3903
|
-
:param ProjectIds: 项目
|
|
3929
|
+
:param ProjectIds: 项目 ID。登录 [Redis 控制台](https://console.cloud.tencent.com/redis),在右上角的账号信息下拉菜单中,选择**项目管理**,即可获取对应的项目 ID。
|
|
3904
3930
|
:type ProjectIds: list of int
|
|
3905
|
-
:param TaskTypes:
|
|
3931
|
+
:param TaskTypes: 任务类型。
|
|
3932
|
+
- FLOW_CREATE:创建实例。
|
|
3933
|
+
- FLOW_MODIFYCONNECTIONCONFIG:调整带宽连接数。
|
|
3934
|
+
- FLOW_MODIFYINSTANCEPASSWORDFREE:免密变更流程。
|
|
3935
|
+
- FLOW_CLEARNETWORK:VPC退还中。
|
|
3936
|
+
- FLOW_SETPWD:设置访问密码。
|
|
3937
|
+
- FLOW_EXPORSHR:扩缩容流程。
|
|
3938
|
+
- FLOW_UpgradeArch:实例架构升级流程。
|
|
3939
|
+
- FLOW_MODIFYINSTANCEPARAMS:修改实例参数。
|
|
3940
|
+
- FLOW_MODIFYINSTACEREADONLY:只读变更流程。
|
|
3941
|
+
- FLOW_CLOSE:关闭实例。
|
|
3942
|
+
- FLOW_DELETE:删除实例。
|
|
3943
|
+
- FLOW_OPEN_WAN:开启外网。
|
|
3944
|
+
- FLOW_CLEAN:清空实例。
|
|
3945
|
+
- FLOW_MODIFYINSTANCEACCOUNT:修改实例账号。
|
|
3946
|
+
- FLOW_ENABLEINSTANCE_REPLICATE:开启副本只读。
|
|
3947
|
+
- FLOW_DISABLEINSTANCE_REPLICATE: 关闭副本只读。
|
|
3948
|
+
- FLOW_SWITCHINSTANCEVIP:交换实例 VIP。
|
|
3949
|
+
- FLOW_CHANGE_REPLICA_TO_MSTER:副本节点升主节点。
|
|
3950
|
+
- FLOW_BACKUPINSTANCE:备份实例。
|
|
3906
3951
|
:type TaskTypes: list of str
|
|
3907
|
-
:param BeginTime:
|
|
3952
|
+
:param BeginTime: 任务执行的起始时间。格式如:2021-12-30 00:00:00。
|
|
3908
3953
|
:type BeginTime: str
|
|
3909
|
-
:param EndTime:
|
|
3954
|
+
:param EndTime: 任务运行的终止时间。格式如:2021-12-30 20:59:35
|
|
3910
3955
|
:type EndTime: str
|
|
3911
|
-
:param TaskStatus:
|
|
3956
|
+
:param TaskStatus: 该参数为内部使用,请忽略。
|
|
3912
3957
|
:type TaskStatus: list of int
|
|
3913
|
-
:param Result:
|
|
3958
|
+
:param Result: 任务执行状态。
|
|
3959
|
+
- 0:任务初始化。
|
|
3960
|
+
- 1:执行中。
|
|
3961
|
+
- 2:完成。
|
|
3962
|
+
- 4:失败。
|
|
3914
3963
|
:type Result: list of int
|
|
3915
|
-
:param OperatorUin:
|
|
3964
|
+
:param OperatorUin: 该字段已废弃,使用OperateUin代替,请忽略。
|
|
3916
3965
|
:type OperatorUin: list of int
|
|
3917
|
-
:param OperateUin:
|
|
3966
|
+
:param OperateUin: 操作者账号 ID,UIN。
|
|
3918
3967
|
:type OperateUin: list of str
|
|
3919
3968
|
"""
|
|
3920
3969
|
self.InstanceId = None
|
|
@@ -3960,9 +4009,9 @@ class DescribeTaskListResponse(AbstractModel):
|
|
|
3960
4009
|
|
|
3961
4010
|
def __init__(self):
|
|
3962
4011
|
r"""
|
|
3963
|
-
:param TotalCount:
|
|
4012
|
+
:param TotalCount: 任务总数。
|
|
3964
4013
|
:type TotalCount: int
|
|
3965
|
-
:param Tasks:
|
|
4014
|
+
:param Tasks: 任务详细信息。
|
|
3966
4015
|
:type Tasks: list of TaskInfoDetail
|
|
3967
4016
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3968
4017
|
:type RequestId: str
|
|
@@ -4805,21 +4854,25 @@ class InstanceEnumParam(AbstractModel):
|
|
|
4805
4854
|
|
|
4806
4855
|
def __init__(self):
|
|
4807
4856
|
r"""
|
|
4808
|
-
:param ParamName:
|
|
4857
|
+
:param ParamName: 参数名称。
|
|
4809
4858
|
:type ParamName: str
|
|
4810
|
-
:param ValueType:
|
|
4859
|
+
:param ValueType: 参数类型,例如:Enum。
|
|
4811
4860
|
:type ValueType: str
|
|
4812
|
-
:param NeedRestart:
|
|
4861
|
+
:param NeedRestart: 参数值修改后是否需要重启。
|
|
4862
|
+
- true:需要。
|
|
4863
|
+
- false:不需要。
|
|
4813
4864
|
:type NeedRestart: str
|
|
4814
|
-
:param DefaultValue:
|
|
4865
|
+
:param DefaultValue: 参数默认值。
|
|
4815
4866
|
:type DefaultValue: str
|
|
4816
|
-
:param CurrentValue:
|
|
4867
|
+
:param CurrentValue: 参数当前运行值。
|
|
4817
4868
|
:type CurrentValue: str
|
|
4818
|
-
:param Tips:
|
|
4869
|
+
:param Tips: 参数说明。
|
|
4819
4870
|
:type Tips: str
|
|
4820
|
-
:param EnumValue:
|
|
4871
|
+
:param EnumValue: 参数可取的值。
|
|
4821
4872
|
:type EnumValue: list of str
|
|
4822
|
-
:param Status:
|
|
4873
|
+
:param Status: 参数修改状态。
|
|
4874
|
+
- 1: 修改中。
|
|
4875
|
+
- 2:修改完成。
|
|
4823
4876
|
:type Status: int
|
|
4824
4877
|
"""
|
|
4825
4878
|
self.ParamName = None
|
|
@@ -4918,21 +4971,25 @@ class InstanceMultiParam(AbstractModel):
|
|
|
4918
4971
|
|
|
4919
4972
|
def __init__(self):
|
|
4920
4973
|
r"""
|
|
4921
|
-
:param ParamName:
|
|
4974
|
+
:param ParamName: 参数名称。
|
|
4922
4975
|
:type ParamName: str
|
|
4923
|
-
:param ValueType:
|
|
4976
|
+
:param ValueType: 参数类型。例如:multi。
|
|
4924
4977
|
:type ValueType: str
|
|
4925
|
-
:param NeedRestart:
|
|
4978
|
+
:param NeedRestart: 参数修改后是否需要重启。
|
|
4979
|
+
- true:需要。
|
|
4980
|
+
- false:不需要。
|
|
4926
4981
|
:type NeedRestart: str
|
|
4927
|
-
:param DefaultValue:
|
|
4982
|
+
:param DefaultValue: 参数默认值。
|
|
4928
4983
|
:type DefaultValue: str
|
|
4929
|
-
:param CurrentValue:
|
|
4984
|
+
:param CurrentValue: 当前运行参数值。
|
|
4930
4985
|
:type CurrentValue: str
|
|
4931
|
-
:param Tips:
|
|
4986
|
+
:param Tips: 参数说明。
|
|
4932
4987
|
:type Tips: str
|
|
4933
|
-
:param EnumValue:
|
|
4988
|
+
:param EnumValue: 参数说明。
|
|
4934
4989
|
:type EnumValue: list of str
|
|
4935
|
-
:param Status:
|
|
4990
|
+
:param Status: 参数修改的状态。
|
|
4991
|
+
- 1:修改中。
|
|
4992
|
+
- 2:修改完成。
|
|
4936
4993
|
:type Status: int
|
|
4937
4994
|
"""
|
|
4938
4995
|
self.ParamName = None
|
|
@@ -5114,9 +5171,9 @@ class InstanceSecurityGroupDetail(AbstractModel):
|
|
|
5114
5171
|
|
|
5115
5172
|
def __init__(self):
|
|
5116
5173
|
r"""
|
|
5117
|
-
:param InstanceId: 实例
|
|
5174
|
+
:param InstanceId: 实例 ID。
|
|
5118
5175
|
:type InstanceId: str
|
|
5119
|
-
:param SecurityGroupDetails:
|
|
5176
|
+
:param SecurityGroupDetails: 安全组信息,包括:安全组 ID、安全组名称、安全组出入站规则。
|
|
5120
5177
|
:type SecurityGroupDetails: list of SecurityGroupDetail
|
|
5121
5178
|
"""
|
|
5122
5179
|
self.InstanceId = None
|
|
@@ -5507,21 +5564,25 @@ class InstanceTextParam(AbstractModel):
|
|
|
5507
5564
|
|
|
5508
5565
|
def __init__(self):
|
|
5509
5566
|
r"""
|
|
5510
|
-
:param ParamName:
|
|
5567
|
+
:param ParamName: 参数名称。
|
|
5511
5568
|
:type ParamName: str
|
|
5512
|
-
:param ValueType:
|
|
5569
|
+
:param ValueType: 参数类型。例如:text。
|
|
5513
5570
|
:type ValueType: str
|
|
5514
|
-
:param NeedRestart:
|
|
5571
|
+
:param NeedRestart: 参数修改后是否需要重启。
|
|
5572
|
+
- true:需要。
|
|
5573
|
+
- false:不需要。
|
|
5515
5574
|
:type NeedRestart: str
|
|
5516
|
-
:param DefaultValue:
|
|
5575
|
+
:param DefaultValue: 参数默认值。
|
|
5517
5576
|
:type DefaultValue: str
|
|
5518
|
-
:param CurrentValue:
|
|
5577
|
+
:param CurrentValue: 参数当前运行值。
|
|
5519
5578
|
:type CurrentValue: str
|
|
5520
|
-
:param Tips:
|
|
5579
|
+
:param Tips: 参数说明。
|
|
5521
5580
|
:type Tips: str
|
|
5522
|
-
:param TextValue:
|
|
5581
|
+
:param TextValue: 参数可取值。
|
|
5523
5582
|
:type TextValue: list of str
|
|
5524
|
-
:param Status:
|
|
5583
|
+
:param Status: 参数修改状态。
|
|
5584
|
+
- 1: 修改中。
|
|
5585
|
+
- 2:修改完成。
|
|
5525
5586
|
:type Status: int
|
|
5526
5587
|
"""
|
|
5527
5588
|
self.ParamName = None
|
|
@@ -5727,11 +5788,14 @@ class ManualBackupInstanceRequest(AbstractModel):
|
|
|
5727
5788
|
|
|
5728
5789
|
def __init__(self):
|
|
5729
5790
|
r"""
|
|
5730
|
-
:param InstanceId:
|
|
5791
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
5731
5792
|
:type InstanceId: str
|
|
5732
|
-
:param Remark:
|
|
5793
|
+
:param Remark: 手动备份任务的备注信息。
|
|
5733
5794
|
:type Remark: str
|
|
5734
|
-
:param StorageDays:
|
|
5795
|
+
:param StorageDays: 备份数据的保存天数。
|
|
5796
|
+
- 单位:天;默认值为7天;取值范围:[0.1825]。如果超过 7天,请[提交工单](https://console.cloud.tencent.com/workorder/category)申请。
|
|
5797
|
+
- 如果不配置该参数,默认与自动备份的保留时间一致。
|
|
5798
|
+
- 如果未设置自动备份,默认为7天。
|
|
5735
5799
|
:type StorageDays: int
|
|
5736
5800
|
"""
|
|
5737
5801
|
self.InstanceId = None
|
|
@@ -6856,7 +6920,7 @@ class RedisBackupSet(AbstractModel):
|
|
|
6856
6920
|
:param BackupId: 备份任务ID。
|
|
6857
6921
|
:type BackupId: str
|
|
6858
6922
|
:param BackupType: 备份类型。
|
|
6859
|
-
- 1
|
|
6923
|
+
- 1:凌晨系统发起的自动备份。
|
|
6860
6924
|
- 0:用户发起的手动备份。
|
|
6861
6925
|
:type BackupType: str
|
|
6862
6926
|
:param Status: 备份状态。
|
|
@@ -7028,15 +7092,15 @@ class RedisNode(AbstractModel):
|
|
|
7028
7092
|
|
|
7029
7093
|
def __init__(self):
|
|
7030
7094
|
r"""
|
|
7031
|
-
:param Keys:
|
|
7095
|
+
:param Keys: Redis 节点上 Key 的个数。
|
|
7032
7096
|
:type Keys: int
|
|
7033
|
-
:param Slot: 节点
|
|
7097
|
+
:param Slot: Redis 节点 Slot 分布范围。例如:0-5460。
|
|
7034
7098
|
:type Slot: str
|
|
7035
|
-
:param NodeId: 节点的序列ID
|
|
7099
|
+
:param NodeId: 节点的序列 ID。
|
|
7036
7100
|
:type NodeId: str
|
|
7037
|
-
:param Status:
|
|
7101
|
+
:param Status: 节点的状态。
|
|
7038
7102
|
:type Status: str
|
|
7039
|
-
:param Role:
|
|
7103
|
+
:param Role: 节点角色。
|
|
7040
7104
|
:type Role: str
|
|
7041
7105
|
"""
|
|
7042
7106
|
self.Keys = None
|
|
@@ -7104,13 +7168,13 @@ class RedisNodes(AbstractModel):
|
|
|
7104
7168
|
|
|
7105
7169
|
def __init__(self):
|
|
7106
7170
|
r"""
|
|
7107
|
-
:param NodeId: 节点ID
|
|
7171
|
+
:param NodeId: 节点 ID。
|
|
7108
7172
|
:type NodeId: str
|
|
7109
|
-
:param NodeRole:
|
|
7173
|
+
:param NodeRole: 节点角色。
|
|
7110
7174
|
:type NodeRole: str
|
|
7111
|
-
:param ClusterId: 分片ID
|
|
7175
|
+
:param ClusterId: 分片 ID。
|
|
7112
7176
|
:type ClusterId: int
|
|
7113
|
-
:param ZoneId: 可用区ID
|
|
7177
|
+
:param ZoneId: 可用区 ID。
|
|
7114
7178
|
:type ZoneId: int
|
|
7115
7179
|
"""
|
|
7116
7180
|
self.NodeId = None
|
|
@@ -7334,15 +7398,15 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
7334
7398
|
|
|
7335
7399
|
|
|
7336
7400
|
class ReplicaGroup(AbstractModel):
|
|
7337
|
-
"""
|
|
7401
|
+
"""实例节点组信息
|
|
7338
7402
|
|
|
7339
7403
|
"""
|
|
7340
7404
|
|
|
7341
7405
|
def __init__(self):
|
|
7342
7406
|
r"""
|
|
7343
|
-
:param GroupId: 节点组ID
|
|
7407
|
+
:param GroupId: 节点组 ID。
|
|
7344
7408
|
:type GroupId: int
|
|
7345
|
-
:param GroupName:
|
|
7409
|
+
:param GroupName: 节点组的名称,主节点为空。
|
|
7346
7410
|
:type GroupName: str
|
|
7347
7411
|
:param ZoneId: 节点的可用区ID,比如ap-guangzhou-1
|
|
7348
7412
|
:type ZoneId: str
|
|
@@ -7577,19 +7641,19 @@ class SecurityGroupDetail(AbstractModel):
|
|
|
7577
7641
|
|
|
7578
7642
|
def __init__(self):
|
|
7579
7643
|
r"""
|
|
7580
|
-
:param ProjectId: 项目
|
|
7644
|
+
:param ProjectId: 项目ID。
|
|
7581
7645
|
:type ProjectId: int
|
|
7582
|
-
:param CreateTime:
|
|
7646
|
+
:param CreateTime: 创建安全组的时间。
|
|
7583
7647
|
:type CreateTime: str
|
|
7584
|
-
:param SecurityGroupId: 安全组
|
|
7648
|
+
:param SecurityGroupId: 安全组 ID。
|
|
7585
7649
|
:type SecurityGroupId: str
|
|
7586
|
-
:param SecurityGroupName:
|
|
7650
|
+
:param SecurityGroupName: 安全组名称。
|
|
7587
7651
|
:type SecurityGroupName: str
|
|
7588
|
-
:param SecurityGroupRemark:
|
|
7652
|
+
:param SecurityGroupRemark: 安全组标记。
|
|
7589
7653
|
:type SecurityGroupRemark: str
|
|
7590
|
-
:param InboundRule:
|
|
7654
|
+
:param InboundRule: 安全组入站规则,即控制访问数据库的来源。
|
|
7591
7655
|
:type InboundRule: list of SecurityGroupsInboundAndOutbound
|
|
7592
|
-
:param OutboundRule:
|
|
7656
|
+
:param OutboundRule: 安全组出站规则。
|
|
7593
7657
|
:type OutboundRule: list of SecurityGroupsInboundAndOutbound
|
|
7594
7658
|
"""
|
|
7595
7659
|
self.ProjectId = None
|
|
@@ -7635,13 +7699,13 @@ class SecurityGroupsInboundAndOutbound(AbstractModel):
|
|
|
7635
7699
|
|
|
7636
7700
|
def __init__(self):
|
|
7637
7701
|
r"""
|
|
7638
|
-
:param Action:
|
|
7702
|
+
:param Action: 标识出入数据库的IP与端口是否被允许。
|
|
7639
7703
|
:type Action: str
|
|
7640
|
-
:param Ip: IP地址
|
|
7704
|
+
:param Ip: 出入数据库的IP地址
|
|
7641
7705
|
:type Ip: str
|
|
7642
|
-
:param Port:
|
|
7706
|
+
:param Port: 端口号。
|
|
7643
7707
|
:type Port: str
|
|
7644
|
-
:param Proto:
|
|
7708
|
+
:param Proto: 协议类型。
|
|
7645
7709
|
:type Proto: str
|
|
7646
7710
|
"""
|
|
7647
7711
|
self.Action = None
|
|
@@ -7882,31 +7946,55 @@ class TaskInfoDetail(AbstractModel):
|
|
|
7882
7946
|
|
|
7883
7947
|
def __init__(self):
|
|
7884
7948
|
r"""
|
|
7885
|
-
:param TaskId: 任务
|
|
7949
|
+
:param TaskId: 任务 ID。
|
|
7886
7950
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7887
7951
|
:type TaskId: int
|
|
7888
|
-
:param StartTime:
|
|
7952
|
+
:param StartTime: 任务开始时间。
|
|
7889
7953
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7890
7954
|
:type StartTime: str
|
|
7891
|
-
:param TaskType:
|
|
7955
|
+
:param TaskType: 任务类型。
|
|
7956
|
+
- FLOW_CREATE:创建实例。
|
|
7957
|
+
- FLOW_MODIFYCONNECTIONCONFIG:调整带宽连接数。
|
|
7958
|
+
- FLOW_MODIFYINSTANCEPASSWORDFREE:免密变更流程。
|
|
7959
|
+
- FLOW_CLEARNETWORK:VPC退还中。
|
|
7960
|
+
- FLOW_SETPWD:设置访问密码。
|
|
7961
|
+
- FLOW_EXPORSHR:扩缩容流程。
|
|
7962
|
+
- FLOW_UpgradeArch:实例架构升级流程。
|
|
7963
|
+
- FLOW_MODIFYINSTANCEPARAMS:修改实例参数。
|
|
7964
|
+
- FLOW_MODIFYINSTACEREADONLY:只读变更流程。
|
|
7965
|
+
- FLOW_CLOSE:关闭实例。
|
|
7966
|
+
- FLOW_DELETE:删除实例。
|
|
7967
|
+
- FLOW_OPEN_WAN:开启外网。
|
|
7968
|
+
- FLOW_CLEAN:清空实例。
|
|
7969
|
+
- FLOW_MODIFYINSTANCEACCOUNT:修改实例账号。
|
|
7970
|
+
- FLOW_ENABLEINSTANCE_REPLICATE:开启副本只读。
|
|
7971
|
+
- FLOW_DISABLEINSTANCE_REPLICATE: 关闭副本只读。
|
|
7972
|
+
- FLOW_SWITCHINSTANCEVIP:交换实例 VIP。
|
|
7973
|
+
- FLOW_CHANGE_REPLICA_TO_MSTER:副本节点升主节点。
|
|
7974
|
+
- FLOW_BACKUPINSTANCE:备份实例。
|
|
7892
7975
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7893
7976
|
:type TaskType: str
|
|
7894
|
-
:param InstanceName:
|
|
7977
|
+
:param InstanceName: 实例名称。
|
|
7895
7978
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7896
7979
|
:type InstanceName: str
|
|
7897
|
-
:param InstanceId: 实例
|
|
7980
|
+
:param InstanceId: 实例 ID。
|
|
7898
7981
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7899
7982
|
:type InstanceId: str
|
|
7900
|
-
:param ProjectId: 项目
|
|
7983
|
+
:param ProjectId: 项目 ID。
|
|
7901
7984
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7902
7985
|
:type ProjectId: int
|
|
7903
|
-
:param Progress:
|
|
7986
|
+
:param Progress: 任务进度。
|
|
7904
7987
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7905
7988
|
:type Progress: float
|
|
7906
|
-
:param EndTime:
|
|
7989
|
+
:param EndTime: 任务执行结束时间。
|
|
7907
7990
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7908
7991
|
:type EndTime: str
|
|
7909
|
-
:param Result:
|
|
7992
|
+
:param Result: 任务执行状态。
|
|
7993
|
+
|
|
7994
|
+
0:任务初始化。
|
|
7995
|
+
1:执行中。
|
|
7996
|
+
2:完成。
|
|
7997
|
+
4:失败。
|
|
7910
7998
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7911
7999
|
:type Result: int
|
|
7912
8000
|
"""
|
|
@@ -165,7 +165,7 @@ class RedisClient(AbstractClient):
|
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
def ChangeReplicaToMaster(self, request):
|
|
168
|
-
"""
|
|
168
|
+
"""本接口(ChangeReplicaToMaster)适用于实例副本组提主或副本提主。
|
|
169
169
|
|
|
170
170
|
:param request: Request instance for ChangeReplicaToMaster.
|
|
171
171
|
:type request: :class:`tencentcloud.redis.v20180412.models.ChangeReplicaToMasterRequest`
|
|
@@ -441,7 +441,7 @@ class RedisClient(AbstractClient):
|
|
|
441
441
|
|
|
442
442
|
|
|
443
443
|
def DescribeAutoBackupConfig(self, request):
|
|
444
|
-
"""
|
|
444
|
+
"""本接口(DescribeAutoBackupConfig)用于获取自动备份配置规则。
|
|
445
445
|
|
|
446
446
|
:param request: Request instance for DescribeAutoBackupConfig.
|
|
447
447
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeAutoBackupConfigRequest`
|
|
@@ -556,7 +556,7 @@ class RedisClient(AbstractClient):
|
|
|
556
556
|
|
|
557
557
|
|
|
558
558
|
def DescribeDBSecurityGroups(self, request):
|
|
559
|
-
"""
|
|
559
|
+
"""本接口(DescribeDBSecurityGroups)用于查询实例的安全组详情。
|
|
560
560
|
|
|
561
561
|
:param request: Request instance for DescribeDBSecurityGroups.
|
|
562
562
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeDBSecurityGroupsRequest`
|
|
@@ -579,7 +579,7 @@ class RedisClient(AbstractClient):
|
|
|
579
579
|
|
|
580
580
|
|
|
581
581
|
def DescribeInstanceAccount(self, request):
|
|
582
|
-
"""
|
|
582
|
+
"""本接口(DescribeInstanceAccount)用于查看实例子账号信息。
|
|
583
583
|
|
|
584
584
|
:param request: Request instance for DescribeInstanceAccount.
|
|
585
585
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceAccountRequest`
|
|
@@ -855,7 +855,7 @@ class RedisClient(AbstractClient):
|
|
|
855
855
|
|
|
856
856
|
|
|
857
857
|
def DescribeInstanceNodeInfo(self, request):
|
|
858
|
-
"""
|
|
858
|
+
"""本接口(DescribeInstanceNodeInfo)用于查询实例节点信息。
|
|
859
859
|
|
|
860
860
|
:param request: Request instance for DescribeInstanceNodeInfo.
|
|
861
861
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceNodeInfoRequest`
|
|
@@ -901,7 +901,7 @@ class RedisClient(AbstractClient):
|
|
|
901
901
|
|
|
902
902
|
|
|
903
903
|
def DescribeInstanceParams(self, request):
|
|
904
|
-
"""
|
|
904
|
+
"""本接口(DescribeInstanceParams)用于查询实例参数列表。
|
|
905
905
|
|
|
906
906
|
:param request: Request instance for DescribeInstanceParams.
|
|
907
907
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceParamsRequest`
|
|
@@ -924,7 +924,7 @@ class RedisClient(AbstractClient):
|
|
|
924
924
|
|
|
925
925
|
|
|
926
926
|
def DescribeInstanceSecurityGroup(self, request):
|
|
927
|
-
"""
|
|
927
|
+
"""本接口(DescribeInstanceSecurityGroup)用于查询实例安全组信息。
|
|
928
928
|
|
|
929
929
|
:param request: Request instance for DescribeInstanceSecurityGroup.
|
|
930
930
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceSecurityGroupRequest`
|
|
@@ -947,7 +947,7 @@ class RedisClient(AbstractClient):
|
|
|
947
947
|
|
|
948
948
|
|
|
949
949
|
def DescribeInstanceShards(self, request):
|
|
950
|
-
"""
|
|
950
|
+
"""本接口(DescribeInstanceShards)用于获取集群架构实例的分片信息。
|
|
951
951
|
|
|
952
952
|
:param request: Request instance for DescribeInstanceShards.
|
|
953
953
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceShardsRequest`
|
|
@@ -970,7 +970,7 @@ class RedisClient(AbstractClient):
|
|
|
970
970
|
|
|
971
971
|
|
|
972
972
|
def DescribeInstanceZoneInfo(self, request):
|
|
973
|
-
"""
|
|
973
|
+
"""本接口(DescribeInstanceZoneInfo)用于查询 Redis 节点详细信息。
|
|
974
974
|
|
|
975
975
|
:param request: Request instance for DescribeInstanceZoneInfo.
|
|
976
976
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceZoneInfoRequest`
|
|
@@ -993,7 +993,7 @@ class RedisClient(AbstractClient):
|
|
|
993
993
|
|
|
994
994
|
|
|
995
995
|
def DescribeInstances(self, request):
|
|
996
|
-
"""
|
|
996
|
+
"""本接口(DescribeInstances)用于查询Redis实例列表。
|
|
997
997
|
|
|
998
998
|
:param request: Request instance for DescribeInstances.
|
|
999
999
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstancesRequest`
|
|
@@ -1269,7 +1269,7 @@ class RedisClient(AbstractClient):
|
|
|
1269
1269
|
|
|
1270
1270
|
|
|
1271
1271
|
def DescribeTaskList(self, request):
|
|
1272
|
-
"""
|
|
1272
|
+
"""本接口(DescribeTaskList)用于查询指定实例的任务列表信息。
|
|
1273
1273
|
|
|
1274
1274
|
:param request: Request instance for DescribeTaskList.
|
|
1275
1275
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeTaskListRequest`
|
|
@@ -1522,7 +1522,7 @@ class RedisClient(AbstractClient):
|
|
|
1522
1522
|
|
|
1523
1523
|
|
|
1524
1524
|
def ManualBackupInstance(self, request):
|
|
1525
|
-
"""
|
|
1525
|
+
"""本接口(ManualBackupInstance)用于手动备份Redis实例。
|
|
1526
1526
|
|
|
1527
1527
|
:param request: Request instance for ManualBackupInstance.
|
|
1528
1528
|
:type request: :class:`tencentcloud.redis.v20180412.models.ManualBackupInstanceRequest`
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|