tencentcloud-sdk-python-redis 3.0.1063__tar.gz → 3.0.1088__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.1063 → tencentcloud-sdk-python-redis-3.0.1088}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/setup.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/tencentcloud/redis/v20180412/models.py +57 -15
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/tencentcloud/redis/v20180412/redis_client.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-redis-3.0.1088/tencentcloud_sdk_python_redis.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-redis-3.0.1063/tencentcloud_sdk_python_redis.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/tencentcloud_sdk_python_redis.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-redis',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1088"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Redis SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1591,23 +1591,27 @@ class CreateInstanceAccountRequest(AbstractModel):
|
|
|
1591
1591
|
|
|
1592
1592
|
def __init__(self):
|
|
1593
1593
|
r"""
|
|
1594
|
-
:param _InstanceId: 实例ID
|
|
1594
|
+
:param _InstanceId: 实例 ID。
|
|
1595
1595
|
:type InstanceId: str
|
|
1596
|
-
:param _AccountName:
|
|
1596
|
+
:param _AccountName: 自定义访问数据库的名称。
|
|
1597
|
+
- 仅由字母、数字、下划线、中划线组成。
|
|
1598
|
+
- 长度不能大于32位。
|
|
1597
1599
|
:type AccountName: str
|
|
1598
|
-
:param _AccountPassword:
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
c.数字0-9
|
|
1604
|
-
d.()`~!@#$%^&*-+=_|{}[]:;<>,.?/
|
|
1600
|
+
:param _AccountPassword: 设置自定义账号的密码。密码复杂度要求如下:
|
|
1601
|
+
- 字符个数为[8,32]。
|
|
1602
|
+
- 至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的两种。
|
|
1603
|
+
- 不能以"/"开头。
|
|
1604
|
+
|
|
1605
1605
|
:type AccountPassword: str
|
|
1606
|
-
:param _ReadonlyPolicy:
|
|
1606
|
+
:param _ReadonlyPolicy: 指定账号的读请求路由分发至主节点或副本节点。未开启副本只读,不支持选择副本节点。
|
|
1607
|
+
- master:主节点
|
|
1608
|
+
- replication:副本节点
|
|
1607
1609
|
:type ReadonlyPolicy: list of str
|
|
1608
|
-
:param _Privilege:
|
|
1610
|
+
:param _Privilege: 账户读写权限,支持选择只读与读写权限。
|
|
1611
|
+
- r:只读
|
|
1612
|
+
- rw: 读写权限
|
|
1609
1613
|
:type Privilege: str
|
|
1610
|
-
:param _Remark:
|
|
1614
|
+
:param _Remark: 子账号描述信息,长度[0,64] 字节,支持中文。
|
|
1611
1615
|
:type Remark: str
|
|
1612
1616
|
"""
|
|
1613
1617
|
self._InstanceId = None
|
|
@@ -9051,8 +9055,10 @@ class InstanceClusterShard(AbstractModel):
|
|
|
9051
9055
|
:type Storage: int
|
|
9052
9056
|
:param _StorageSlope: 容量倾斜率。
|
|
9053
9057
|
:type StorageSlope: float
|
|
9054
|
-
:param _Runid:
|
|
9058
|
+
:param _Runid: 该字段因拼写不规范问题,建议使用RunId取代。含义:实例运行时节点 ID。
|
|
9055
9059
|
:type Runid: str
|
|
9060
|
+
:param _RunId: 实例运行时节点 ID。
|
|
9061
|
+
:type RunId: str
|
|
9056
9062
|
:param _Connected: 服务状态。
|
|
9057
9063
|
- 0:down。
|
|
9058
9064
|
- 1:on。
|
|
@@ -9066,6 +9072,7 @@ class InstanceClusterShard(AbstractModel):
|
|
|
9066
9072
|
self._Storage = None
|
|
9067
9073
|
self._StorageSlope = None
|
|
9068
9074
|
self._Runid = None
|
|
9075
|
+
self._RunId = None
|
|
9069
9076
|
self._Connected = None
|
|
9070
9077
|
|
|
9071
9078
|
@property
|
|
@@ -9132,6 +9139,14 @@ class InstanceClusterShard(AbstractModel):
|
|
|
9132
9139
|
def Runid(self, Runid):
|
|
9133
9140
|
self._Runid = Runid
|
|
9134
9141
|
|
|
9142
|
+
@property
|
|
9143
|
+
def RunId(self):
|
|
9144
|
+
return self._RunId
|
|
9145
|
+
|
|
9146
|
+
@RunId.setter
|
|
9147
|
+
def RunId(self, RunId):
|
|
9148
|
+
self._RunId = RunId
|
|
9149
|
+
|
|
9135
9150
|
@property
|
|
9136
9151
|
def Connected(self):
|
|
9137
9152
|
return self._Connected
|
|
@@ -9150,6 +9165,7 @@ class InstanceClusterShard(AbstractModel):
|
|
|
9150
9165
|
self._Storage = params.get("Storage")
|
|
9151
9166
|
self._StorageSlope = params.get("StorageSlope")
|
|
9152
9167
|
self._Runid = params.get("Runid")
|
|
9168
|
+
self._RunId = params.get("RunId")
|
|
9153
9169
|
self._Connected = params.get("Connected")
|
|
9154
9170
|
memeber_set = set(params.keys())
|
|
9155
9171
|
for name, value in vars(self).items():
|
|
@@ -9960,9 +9976,12 @@ class InstanceSet(AbstractModel):
|
|
|
9960
9976
|
:param _PasswordFree: 免密实例标识(内部参数,用户可忽略)。
|
|
9961
9977
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9962
9978
|
:type PasswordFree: int
|
|
9963
|
-
:param _Vip6:
|
|
9979
|
+
:param _Vip6: 该参数存在命名不规范问题,建议用参数IPv6取代。内部参数,用户可忽略。
|
|
9964
9980
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9965
9981
|
:type Vip6: str
|
|
9982
|
+
:param _IPv6: 内部参数,用户可忽略。
|
|
9983
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9984
|
+
:type IPv6: str
|
|
9966
9985
|
:param _ReadOnly: 实例只读标识(内部参数,用户可忽略)。
|
|
9967
9986
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9968
9987
|
:type ReadOnly: int
|
|
@@ -10047,6 +10066,7 @@ class InstanceSet(AbstractModel):
|
|
|
10047
10066
|
self._NetLimit = None
|
|
10048
10067
|
self._PasswordFree = None
|
|
10049
10068
|
self._Vip6 = None
|
|
10069
|
+
self._IPv6 = None
|
|
10050
10070
|
self._ReadOnly = None
|
|
10051
10071
|
self._RemainBandwidthDuration = None
|
|
10052
10072
|
self._DiskSize = None
|
|
@@ -10390,6 +10410,14 @@ class InstanceSet(AbstractModel):
|
|
|
10390
10410
|
def Vip6(self, Vip6):
|
|
10391
10411
|
self._Vip6 = Vip6
|
|
10392
10412
|
|
|
10413
|
+
@property
|
|
10414
|
+
def IPv6(self):
|
|
10415
|
+
return self._IPv6
|
|
10416
|
+
|
|
10417
|
+
@IPv6.setter
|
|
10418
|
+
def IPv6(self, IPv6):
|
|
10419
|
+
self._IPv6 = IPv6
|
|
10420
|
+
|
|
10393
10421
|
@property
|
|
10394
10422
|
def ReadOnly(self):
|
|
10395
10423
|
return self._ReadOnly
|
|
@@ -10555,6 +10583,7 @@ class InstanceSet(AbstractModel):
|
|
|
10555
10583
|
self._NetLimit = params.get("NetLimit")
|
|
10556
10584
|
self._PasswordFree = params.get("PasswordFree")
|
|
10557
10585
|
self._Vip6 = params.get("Vip6")
|
|
10586
|
+
self._IPv6 = params.get("IPv6")
|
|
10558
10587
|
self._ReadOnly = params.get("ReadOnly")
|
|
10559
10588
|
self._RemainBandwidthDuration = params.get("RemainBandwidthDuration")
|
|
10560
10589
|
self._DiskSize = params.get("DiskSize")
|
|
@@ -10875,9 +10904,12 @@ class Instances(AbstractModel):
|
|
|
10875
10904
|
:type Role: str
|
|
10876
10905
|
:param _Vip: 实例 VIP 地址。
|
|
10877
10906
|
:type Vip: str
|
|
10878
|
-
:param _Vip6:
|
|
10907
|
+
:param _Vip6: 该参数存在命名不规范问题,建议用参数IPv6取代。内部参数,用户可忽略。
|
|
10879
10908
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10880
10909
|
:type Vip6: str
|
|
10910
|
+
:param _IPv6: 内部参数,用户可忽略。
|
|
10911
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10912
|
+
:type IPv6: str
|
|
10881
10913
|
:param _VpcID: VPC 网络ID,如:75101。
|
|
10882
10914
|
:type VpcID: int
|
|
10883
10915
|
:param _VPort: 实例端口。
|
|
@@ -10916,6 +10948,7 @@ class Instances(AbstractModel):
|
|
|
10916
10948
|
self._Role = None
|
|
10917
10949
|
self._Vip = None
|
|
10918
10950
|
self._Vip6 = None
|
|
10951
|
+
self._IPv6 = None
|
|
10919
10952
|
self._VpcID = None
|
|
10920
10953
|
self._VPort = None
|
|
10921
10954
|
self._Status = None
|
|
@@ -11028,6 +11061,14 @@ class Instances(AbstractModel):
|
|
|
11028
11061
|
def Vip6(self, Vip6):
|
|
11029
11062
|
self._Vip6 = Vip6
|
|
11030
11063
|
|
|
11064
|
+
@property
|
|
11065
|
+
def IPv6(self):
|
|
11066
|
+
return self._IPv6
|
|
11067
|
+
|
|
11068
|
+
@IPv6.setter
|
|
11069
|
+
def IPv6(self, IPv6):
|
|
11070
|
+
self._IPv6 = IPv6
|
|
11071
|
+
|
|
11031
11072
|
@property
|
|
11032
11073
|
def VpcID(self):
|
|
11033
11074
|
return self._VpcID
|
|
@@ -11099,6 +11140,7 @@ class Instances(AbstractModel):
|
|
|
11099
11140
|
self._Role = params.get("Role")
|
|
11100
11141
|
self._Vip = params.get("Vip")
|
|
11101
11142
|
self._Vip6 = params.get("Vip6")
|
|
11143
|
+
self._IPv6 = params.get("IPv6")
|
|
11102
11144
|
self._VpcID = params.get("VpcID")
|
|
11103
11145
|
self._VPort = params.get("VPort")
|
|
11104
11146
|
self._Status = params.get("Status")
|
|
@@ -280,7 +280,7 @@ class RedisClient(AbstractClient):
|
|
|
280
280
|
|
|
281
281
|
|
|
282
282
|
def CreateInstanceAccount(self, request):
|
|
283
|
-
"""
|
|
283
|
+
"""该接口(CreateInstanceAccount)用于自定义访问实例的账号。
|
|
284
284
|
|
|
285
285
|
:param request: Request instance for CreateInstanceAccount.
|
|
286
286
|
:type request: :class:`tencentcloud.redis.v20180412.models.CreateInstanceAccountRequest`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1088
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1063
|
{tencentcloud-sdk-python-redis-3.0.1063 → tencentcloud-sdk-python-redis-3.0.1088}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|