tencentcloud-sdk-python-redis 3.0.850__tar.gz → 3.0.856__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.850 → tencentcloud-sdk-python-redis-3.0.856}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/tencentcloud/redis/v20180412/models.py +61 -0
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/tencentcloud/redis/v20180412/redis_client.py +23 -0
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/setup.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.850 → tencentcloud-sdk-python-redis-3.0.856}/tencentcloud_sdk_python_redis.egg-info/top_level.txt +0 -0
|
@@ -3450,6 +3450,67 @@ class DescribeReplicationGroupResponse(AbstractModel):
|
|
|
3450
3450
|
self.RequestId = params.get("RequestId")
|
|
3451
3451
|
|
|
3452
3452
|
|
|
3453
|
+
class DescribeSSLStatusRequest(AbstractModel):
|
|
3454
|
+
"""DescribeSSLStatus请求参数结构体
|
|
3455
|
+
|
|
3456
|
+
"""
|
|
3457
|
+
|
|
3458
|
+
def __init__(self):
|
|
3459
|
+
r"""
|
|
3460
|
+
:param InstanceId: 实例ID
|
|
3461
|
+
:type InstanceId: str
|
|
3462
|
+
"""
|
|
3463
|
+
self.InstanceId = None
|
|
3464
|
+
|
|
3465
|
+
|
|
3466
|
+
def _deserialize(self, params):
|
|
3467
|
+
self.InstanceId = params.get("InstanceId")
|
|
3468
|
+
memeber_set = set(params.keys())
|
|
3469
|
+
for name, value in vars(self).items():
|
|
3470
|
+
if name in memeber_set:
|
|
3471
|
+
memeber_set.remove(name)
|
|
3472
|
+
if len(memeber_set) > 0:
|
|
3473
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3474
|
+
|
|
3475
|
+
|
|
3476
|
+
|
|
3477
|
+
class DescribeSSLStatusResponse(AbstractModel):
|
|
3478
|
+
"""DescribeSSLStatus返回参数结构体
|
|
3479
|
+
|
|
3480
|
+
"""
|
|
3481
|
+
|
|
3482
|
+
def __init__(self):
|
|
3483
|
+
r"""
|
|
3484
|
+
:param CertDownloadUrl: 证书下载地址
|
|
3485
|
+
:type CertDownloadUrl: str
|
|
3486
|
+
:param UrlExpiredTime: 证书下载链接到期时间
|
|
3487
|
+
:type UrlExpiredTime: str
|
|
3488
|
+
:param SSLConfig: 实例SSL配置状态, true:开启 false:关闭
|
|
3489
|
+
:type SSLConfig: bool
|
|
3490
|
+
:param FeatureSupport: 实例SSL特性支持, true:支持 false:不支持(小版本升级后才能支持SSL特性)
|
|
3491
|
+
:type FeatureSupport: bool
|
|
3492
|
+
:param Status: SSL配置状态,1: 配置中 2:配置成功
|
|
3493
|
+
:type Status: int
|
|
3494
|
+
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3495
|
+
:type RequestId: str
|
|
3496
|
+
"""
|
|
3497
|
+
self.CertDownloadUrl = None
|
|
3498
|
+
self.UrlExpiredTime = None
|
|
3499
|
+
self.SSLConfig = None
|
|
3500
|
+
self.FeatureSupport = None
|
|
3501
|
+
self.Status = None
|
|
3502
|
+
self.RequestId = None
|
|
3503
|
+
|
|
3504
|
+
|
|
3505
|
+
def _deserialize(self, params):
|
|
3506
|
+
self.CertDownloadUrl = params.get("CertDownloadUrl")
|
|
3507
|
+
self.UrlExpiredTime = params.get("UrlExpiredTime")
|
|
3508
|
+
self.SSLConfig = params.get("SSLConfig")
|
|
3509
|
+
self.FeatureSupport = params.get("FeatureSupport")
|
|
3510
|
+
self.Status = params.get("Status")
|
|
3511
|
+
self.RequestId = params.get("RequestId")
|
|
3512
|
+
|
|
3513
|
+
|
|
3453
3514
|
class DescribeSlowLogRequest(AbstractModel):
|
|
3454
3515
|
"""DescribeSlowLog请求参数结构体
|
|
3455
3516
|
|
|
@@ -1153,6 +1153,29 @@ class RedisClient(AbstractClient):
|
|
|
1153
1153
|
raise TencentCloudSDKException(e.message, e.message)
|
|
1154
1154
|
|
|
1155
1155
|
|
|
1156
|
+
def DescribeSSLStatus(self, request):
|
|
1157
|
+
"""查询SSL状态
|
|
1158
|
+
|
|
1159
|
+
:param request: Request instance for DescribeSSLStatus.
|
|
1160
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeSSLStatusRequest`
|
|
1161
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.DescribeSSLStatusResponse`
|
|
1162
|
+
|
|
1163
|
+
"""
|
|
1164
|
+
try:
|
|
1165
|
+
params = request._serialize()
|
|
1166
|
+
headers = request.headers
|
|
1167
|
+
body = self.call("DescribeSSLStatus", params, headers=headers)
|
|
1168
|
+
response = json.loads(body)
|
|
1169
|
+
model = models.DescribeSSLStatusResponse()
|
|
1170
|
+
model._deserialize(response["Response"])
|
|
1171
|
+
return model
|
|
1172
|
+
except Exception as e:
|
|
1173
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1174
|
+
raise
|
|
1175
|
+
else:
|
|
1176
|
+
raise TencentCloudSDKException(e.message, e.message)
|
|
1177
|
+
|
|
1178
|
+
|
|
1156
1179
|
def DescribeSlowLog(self, request):
|
|
1157
1180
|
"""本接口(DescribeSlowLog)查询实例慢查询记录。
|
|
1158
1181
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|