tencentcloud-sdk-python-redis 3.1.132__tar.gz → 3.1.151__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/setup.py +1 -1
  3. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud/redis/v20180412/models.py +36 -8
  5. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_redis-3.1.151/tencentcloud_sdk_python_redis.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_redis-3.1.132/tencentcloud_sdk_python_redis.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/README.rst +0 -0
  9. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud/redis/__init__.py +0 -0
  11. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud/redis/v20180412/__init__.py +0 -0
  12. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud/redis/v20180412/redis_client.py +0 -0
  14. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud/redis/v20180412/redis_client_async.py +0 -0
  15. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_redis-3.1.132 → tencentcloud_sdk_python_redis-3.1.151}/tencentcloud_sdk_python_redis.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-redis
3
- Version: 3.1.132
3
+ Version: 3.1.151
4
4
  Summary: Tencent Cloud Redis SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.132
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.151
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.132,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.151,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Redis SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.132'
17
+ __version__ = '3.1.151'
@@ -1400,19 +1400,20 @@ class ChangeReplicaToMasterRequest(AbstractModel):
1400
1400
 
1401
1401
  def __init__(self):
1402
1402
  r"""
1403
- :param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID
1404
-
1403
+ :param _InstanceId: <p>指定实例 ID。例如:crs-xjhsdj****。请登录<a href="https://console.cloud.tencent.com/redis">Redis控制台</a>在实例列表复制实例 ID。</p>
1405
1404
  :type InstanceId: str
1406
- :param _GroupId: 副本节点组 ID,请通过接口[DescribeInstanceZoneInfo](https://cloud.tencent.com/document/product/239/50312)获取多 AZ备节点组的 ID 信息。单 AZ,则无需配置该参数。
1405
+ :param _GroupId: <p>副本节点组 ID,请通过接口<a href="https://cloud.tencent.com/document/product/239/50312">DescribeInstanceZoneInfo</a>获取多 AZ备节点组的 ID 信息。单 AZ,则无需配置该参数。</p>
1407
1406
  :type GroupId: int
1407
+ :param _Emergency: <p>紧急模式。</p><p>枚举值:</p><ul><li>false: 标准模式(安全推荐)</li><li>true: 极速模式:(高危加速)跳过校验、极速提主。高位操作,极易在异常情况下产生单主节点。</li></ul><p>默认值:false</p>
1408
+ :type Emergency: bool
1408
1409
  """
1409
1410
  self._InstanceId = None
1410
1411
  self._GroupId = None
1412
+ self._Emergency = None
1411
1413
 
1412
1414
  @property
1413
1415
  def InstanceId(self):
1414
- r"""指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID
1415
-
1416
+ r"""<p>指定实例 ID。例如:crs-xjhsdj****。请登录<a href="https://console.cloud.tencent.com/redis">Redis控制台</a>在实例列表复制实例 ID。</p>
1416
1417
  :rtype: str
1417
1418
  """
1418
1419
  return self._InstanceId
@@ -1423,7 +1424,7 @@ class ChangeReplicaToMasterRequest(AbstractModel):
1423
1424
 
1424
1425
  @property
1425
1426
  def GroupId(self):
1426
- r"""副本节点组 ID,请通过接口[DescribeInstanceZoneInfo](https://cloud.tencent.com/document/product/239/50312)获取多 AZ备节点组的 ID 信息。单 AZ,则无需配置该参数。
1427
+ r"""<p>副本节点组 ID,请通过接口<a href="https://cloud.tencent.com/document/product/239/50312">DescribeInstanceZoneInfo</a>获取多 AZ备节点组的 ID 信息。单 AZ,则无需配置该参数。</p>
1427
1428
  :rtype: int
1428
1429
  """
1429
1430
  return self._GroupId
@@ -1432,10 +1433,22 @@ class ChangeReplicaToMasterRequest(AbstractModel):
1432
1433
  def GroupId(self, GroupId):
1433
1434
  self._GroupId = GroupId
1434
1435
 
1436
+ @property
1437
+ def Emergency(self):
1438
+ r"""<p>紧急模式。</p><p>枚举值:</p><ul><li>false: 标准模式(安全推荐)</li><li>true: 极速模式:(高危加速)跳过校验、极速提主。高位操作,极易在异常情况下产生单主节点。</li></ul><p>默认值:false</p>
1439
+ :rtype: bool
1440
+ """
1441
+ return self._Emergency
1442
+
1443
+ @Emergency.setter
1444
+ def Emergency(self, Emergency):
1445
+ self._Emergency = Emergency
1446
+
1435
1447
 
1436
1448
  def _deserialize(self, params):
1437
1449
  self._InstanceId = params.get("InstanceId")
1438
1450
  self._GroupId = params.get("GroupId")
1451
+ self._Emergency = params.get("Emergency")
1439
1452
  memeber_set = set(params.keys())
1440
1453
  for name, value in vars(self).items():
1441
1454
  property_name = name[1:]
@@ -1453,7 +1466,7 @@ class ChangeReplicaToMasterResponse(AbstractModel):
1453
1466
 
1454
1467
  def __init__(self):
1455
1468
  r"""
1456
- :param _TaskId: 异步任务ID
1469
+ :param _TaskId: <p>异步任务ID。</p>
1457
1470
  :type TaskId: int
1458
1471
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1459
1472
  :type RequestId: str
@@ -1463,7 +1476,7 @@ class ChangeReplicaToMasterResponse(AbstractModel):
1463
1476
 
1464
1477
  @property
1465
1478
  def TaskId(self):
1466
- r"""异步任务ID
1479
+ r"""<p>异步任务ID。</p>
1467
1480
  :rtype: int
1468
1481
  """
1469
1482
  return self._TaskId
@@ -1736,6 +1749,8 @@ class CloneInstancesRequest(AbstractModel):
1736
1749
  :type EnableSSL: bool
1737
1750
  :param _SSLBindPrivateIPv4: <p>开启 SSL 时,是否将实例的内网 IPv4 地址写入证书的域名别名(SAN)中。仅在 EnableSSL 为 true 时生效。</p><p>枚举值:</p><ul><li>true: 允许使用内网 IP 进行 SSL 证书校验。</li><li>false: 不添加证书的 SAN 扩展信息。</li></ul><p>默认值:false</p>
1738
1751
  :type SSLBindPrivateIPv4: bool
1752
+ :param _ProductVersion: <p>指实例类型</p><p>枚举值:</p><ul><li>local: 通用 I 型</li><li>localv2: 通用 II 型</li></ul><p>不传则默认和原实例类型保持一致</p>
1753
+ :type ProductVersion: str
1739
1754
  """
1740
1755
  self._InstanceId = None
1741
1756
  self._GoodsNum = None
@@ -1761,6 +1776,7 @@ class CloneInstancesRequest(AbstractModel):
1761
1776
  self._PasswordPolicy = None
1762
1777
  self._EnableSSL = None
1763
1778
  self._SSLBindPrivateIPv4 = None
1779
+ self._ProductVersion = None
1764
1780
 
1765
1781
  @property
1766
1782
  def InstanceId(self):
@@ -2026,6 +2042,17 @@ class CloneInstancesRequest(AbstractModel):
2026
2042
  def SSLBindPrivateIPv4(self, SSLBindPrivateIPv4):
2027
2043
  self._SSLBindPrivateIPv4 = SSLBindPrivateIPv4
2028
2044
 
2045
+ @property
2046
+ def ProductVersion(self):
2047
+ r"""<p>指实例类型</p><p>枚举值:</p><ul><li>local: 通用 I 型</li><li>localv2: 通用 II 型</li></ul><p>不传则默认和原实例类型保持一致</p>
2048
+ :rtype: str
2049
+ """
2050
+ return self._ProductVersion
2051
+
2052
+ @ProductVersion.setter
2053
+ def ProductVersion(self, ProductVersion):
2054
+ self._ProductVersion = ProductVersion
2055
+
2029
2056
 
2030
2057
  def _deserialize(self, params):
2031
2058
  self._InstanceId = params.get("InstanceId")
@@ -2064,6 +2091,7 @@ class CloneInstancesRequest(AbstractModel):
2064
2091
  self._PasswordPolicy._deserialize(params.get("PasswordPolicy"))
2065
2092
  self._EnableSSL = params.get("EnableSSL")
2066
2093
  self._SSLBindPrivateIPv4 = params.get("SSLBindPrivateIPv4")
2094
+ self._ProductVersion = params.get("ProductVersion")
2067
2095
  memeber_set = set(params.keys())
2068
2096
  for name, value in vars(self).items():
2069
2097
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-redis
3
- Version: 3.1.132
3
+ Version: 3.1.151
4
4
  Summary: Tencent Cloud Redis SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.132
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.151
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.151
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.132