tencentcloud-sdk-python-redis 3.0.1343__tar.gz → 3.0.1345__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.1343 → tencentcloud-sdk-python-redis-3.0.1345}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/setup.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/tencentcloud/redis/v20180412/models.py +64 -0
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/tencentcloud/redis/v20180412/redis_client.py +23 -0
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-redis-3.0.1345/tencentcloud_sdk_python_redis.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-redis-3.0.1343/tencentcloud_sdk_python_redis.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/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.1345"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Redis SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -20035,6 +20035,70 @@ class ReleaseWanAddressResponse(AbstractModel):
|
|
|
20035
20035
|
self._RequestId = params.get("RequestId")
|
|
20036
20036
|
|
|
20037
20037
|
|
|
20038
|
+
class RemoveReplicationGroupRequest(AbstractModel):
|
|
20039
|
+
"""RemoveReplicationGroup请求参数结构体
|
|
20040
|
+
|
|
20041
|
+
"""
|
|
20042
|
+
|
|
20043
|
+
def __init__(self):
|
|
20044
|
+
r"""
|
|
20045
|
+
:param _GroupId: 复制组ID
|
|
20046
|
+
:type GroupId: str
|
|
20047
|
+
"""
|
|
20048
|
+
self._GroupId = None
|
|
20049
|
+
|
|
20050
|
+
@property
|
|
20051
|
+
def GroupId(self):
|
|
20052
|
+
"""复制组ID
|
|
20053
|
+
:rtype: str
|
|
20054
|
+
"""
|
|
20055
|
+
return self._GroupId
|
|
20056
|
+
|
|
20057
|
+
@GroupId.setter
|
|
20058
|
+
def GroupId(self, GroupId):
|
|
20059
|
+
self._GroupId = GroupId
|
|
20060
|
+
|
|
20061
|
+
|
|
20062
|
+
def _deserialize(self, params):
|
|
20063
|
+
self._GroupId = params.get("GroupId")
|
|
20064
|
+
memeber_set = set(params.keys())
|
|
20065
|
+
for name, value in vars(self).items():
|
|
20066
|
+
property_name = name[1:]
|
|
20067
|
+
if property_name in memeber_set:
|
|
20068
|
+
memeber_set.remove(property_name)
|
|
20069
|
+
if len(memeber_set) > 0:
|
|
20070
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20071
|
+
|
|
20072
|
+
|
|
20073
|
+
|
|
20074
|
+
class RemoveReplicationGroupResponse(AbstractModel):
|
|
20075
|
+
"""RemoveReplicationGroup返回参数结构体
|
|
20076
|
+
|
|
20077
|
+
"""
|
|
20078
|
+
|
|
20079
|
+
def __init__(self):
|
|
20080
|
+
r"""
|
|
20081
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20082
|
+
:type RequestId: str
|
|
20083
|
+
"""
|
|
20084
|
+
self._RequestId = None
|
|
20085
|
+
|
|
20086
|
+
@property
|
|
20087
|
+
def RequestId(self):
|
|
20088
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20089
|
+
:rtype: str
|
|
20090
|
+
"""
|
|
20091
|
+
return self._RequestId
|
|
20092
|
+
|
|
20093
|
+
@RequestId.setter
|
|
20094
|
+
def RequestId(self, RequestId):
|
|
20095
|
+
self._RequestId = RequestId
|
|
20096
|
+
|
|
20097
|
+
|
|
20098
|
+
def _deserialize(self, params):
|
|
20099
|
+
self._RequestId = params.get("RequestId")
|
|
20100
|
+
|
|
20101
|
+
|
|
20038
20102
|
class RemoveReplicationInstanceRequest(AbstractModel):
|
|
20039
20103
|
"""RemoveReplicationInstance请求参数结构体
|
|
20040
20104
|
|
|
@@ -2236,6 +2236,29 @@ class RedisClient(AbstractClient):
|
|
|
2236
2236
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2237
2237
|
|
|
2238
2238
|
|
|
2239
|
+
def RemoveReplicationGroup(self, request):
|
|
2240
|
+
"""删除复制组
|
|
2241
|
+
|
|
2242
|
+
:param request: Request instance for RemoveReplicationGroup.
|
|
2243
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.RemoveReplicationGroupRequest`
|
|
2244
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.RemoveReplicationGroupResponse`
|
|
2245
|
+
|
|
2246
|
+
"""
|
|
2247
|
+
try:
|
|
2248
|
+
params = request._serialize()
|
|
2249
|
+
headers = request.headers
|
|
2250
|
+
body = self.call("RemoveReplicationGroup", params, headers=headers)
|
|
2251
|
+
response = json.loads(body)
|
|
2252
|
+
model = models.RemoveReplicationGroupResponse()
|
|
2253
|
+
model._deserialize(response["Response"])
|
|
2254
|
+
return model
|
|
2255
|
+
except Exception as e:
|
|
2256
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2257
|
+
raise
|
|
2258
|
+
else:
|
|
2259
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2260
|
+
|
|
2261
|
+
|
|
2239
2262
|
def RemoveReplicationInstance(self, request):
|
|
2240
2263
|
"""本接口(RemoveReplicationInstance)用于移除复制组中的实例。
|
|
2241
2264
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1345
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1343
|
{tencentcloud-sdk-python-redis-3.0.1343 → tencentcloud-sdk-python-redis-3.0.1345}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|