tencentcloud-sdk-python 3.0.1248__py2.py3-none-any.whl → 3.0.1250__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cbs/v20170312/models.py +3 -3
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwch/v20200915/models.py +26 -0
- tencentcloud/clb/v20180317/models.py +10 -5
- tencentcloud/cls/v20201016/models.py +81 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +1 -1
- tencentcloud/cynosdb/v20190107/models.py +146 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +388 -0
- tencentcloud/dsgc/v20190723/models.py +190 -26
- tencentcloud/emr/v20190103/models.py +1 -1
- tencentcloud/ess/v20201111/ess_client.py +43 -21
- tencentcloud/ess/v20201111/models.py +126 -15
- tencentcloud/essbasic/v20210526/essbasic_client.py +35 -15
- tencentcloud/essbasic/v20210526/models.py +144 -4
- tencentcloud/faceid/v20180301/models.py +1 -1
- tencentcloud/iotexplorer/v20190423/errorcodes.py +6 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +293 -0
- tencentcloud/lke/v20231130/models.py +1 -2
- tencentcloud/mongodb/v20190725/models.py +3 -4
- tencentcloud/mps/v20190612/errorcodes.py +3 -0
- tencentcloud/mps/v20190612/models.py +981 -17
- tencentcloud/mps/v20190612/mps_client.py +93 -0
- tencentcloud/oceanus/v20190422/models.py +146 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +98 -1
- tencentcloud/redis/v20180412/redis_client.py +24 -1
- tencentcloud/tcss/v20201101/tcss_client.py +15 -5
- tencentcloud/tke/v20180525/models.py +0 -106
- tencentcloud/tke/v20180525/tke_client.py +0 -25
- tencentcloud/tms/v20201229/errorcodes.py +3 -0
- tencentcloud/tms/v20201229/models.py +1 -1
- tencentcloud/trtc/v20190722/models.py +24 -5
- tencentcloud/vod/v20180717/vod_client.py +1 -0
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +16 -4
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/waf/v20180125/models.py +1456 -515
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1250.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1250.dist-info}/RECORD +46 -46
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1250.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1250.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1250.dist-info}/top_level.txt +0 -0
@@ -474,6 +474,53 @@ class MpsClient(AbstractClient):
|
|
474
474
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
475
475
|
|
476
476
|
|
477
|
+
def CreateVideoDatabaseEntryTask(self, request):
|
478
|
+
"""对URL链接或COS中的视频发起入库任务。
|
479
|
+
可选在任务完成后向回调方发送任务完成状态信息。
|
480
|
+
|
481
|
+
:param request: Request instance for CreateVideoDatabaseEntryTask.
|
482
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.CreateVideoDatabaseEntryTaskRequest`
|
483
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CreateVideoDatabaseEntryTaskResponse`
|
484
|
+
|
485
|
+
"""
|
486
|
+
try:
|
487
|
+
params = request._serialize()
|
488
|
+
headers = request.headers
|
489
|
+
body = self.call("CreateVideoDatabaseEntryTask", params, headers=headers)
|
490
|
+
response = json.loads(body)
|
491
|
+
model = models.CreateVideoDatabaseEntryTaskResponse()
|
492
|
+
model._deserialize(response["Response"])
|
493
|
+
return model
|
494
|
+
except Exception as e:
|
495
|
+
if isinstance(e, TencentCloudSDKException):
|
496
|
+
raise
|
497
|
+
else:
|
498
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
499
|
+
|
500
|
+
|
501
|
+
def CreateVideoSearchTask(self, request):
|
502
|
+
"""使用检索值检索库中最接近检索值的若干视频。
|
503
|
+
|
504
|
+
:param request: Request instance for CreateVideoSearchTask.
|
505
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.CreateVideoSearchTaskRequest`
|
506
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CreateVideoSearchTaskResponse`
|
507
|
+
|
508
|
+
"""
|
509
|
+
try:
|
510
|
+
params = request._serialize()
|
511
|
+
headers = request.headers
|
512
|
+
body = self.call("CreateVideoSearchTask", params, headers=headers)
|
513
|
+
response = json.loads(body)
|
514
|
+
model = models.CreateVideoSearchTaskResponse()
|
515
|
+
model._deserialize(response["Response"])
|
516
|
+
return model
|
517
|
+
except Exception as e:
|
518
|
+
if isinstance(e, TencentCloudSDKException):
|
519
|
+
raise
|
520
|
+
else:
|
521
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
522
|
+
|
523
|
+
|
477
524
|
def CreateWatermarkTemplate(self, request):
|
478
525
|
"""创建用户自定义水印模板,数量上限:1000。
|
479
526
|
|
@@ -1593,6 +1640,52 @@ class MpsClient(AbstractClient):
|
|
1593
1640
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1594
1641
|
|
1595
1642
|
|
1643
|
+
def DescribeVideoDatabaseEntryTaskDetail(self, request):
|
1644
|
+
"""根据任务ID查询视频入库任务的状态。
|
1645
|
+
|
1646
|
+
:param request: Request instance for DescribeVideoDatabaseEntryTaskDetail.
|
1647
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeVideoDatabaseEntryTaskDetailRequest`
|
1648
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeVideoDatabaseEntryTaskDetailResponse`
|
1649
|
+
|
1650
|
+
"""
|
1651
|
+
try:
|
1652
|
+
params = request._serialize()
|
1653
|
+
headers = request.headers
|
1654
|
+
body = self.call("DescribeVideoDatabaseEntryTaskDetail", params, headers=headers)
|
1655
|
+
response = json.loads(body)
|
1656
|
+
model = models.DescribeVideoDatabaseEntryTaskDetailResponse()
|
1657
|
+
model._deserialize(response["Response"])
|
1658
|
+
return model
|
1659
|
+
except Exception as e:
|
1660
|
+
if isinstance(e, TencentCloudSDKException):
|
1661
|
+
raise
|
1662
|
+
else:
|
1663
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1664
|
+
|
1665
|
+
|
1666
|
+
def DescribeVideoSearchTaskDetail(self, request):
|
1667
|
+
"""根据任务ID查询视频检索任务的状态。
|
1668
|
+
|
1669
|
+
:param request: Request instance for DescribeVideoSearchTaskDetail.
|
1670
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeVideoSearchTaskDetailRequest`
|
1671
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeVideoSearchTaskDetailResponse`
|
1672
|
+
|
1673
|
+
"""
|
1674
|
+
try:
|
1675
|
+
params = request._serialize()
|
1676
|
+
headers = request.headers
|
1677
|
+
body = self.call("DescribeVideoSearchTaskDetail", params, headers=headers)
|
1678
|
+
response = json.loads(body)
|
1679
|
+
model = models.DescribeVideoSearchTaskDetailResponse()
|
1680
|
+
model._deserialize(response["Response"])
|
1681
|
+
return model
|
1682
|
+
except Exception as e:
|
1683
|
+
if isinstance(e, TencentCloudSDKException):
|
1684
|
+
raise
|
1685
|
+
else:
|
1686
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1687
|
+
|
1688
|
+
|
1596
1689
|
def DescribeWatermarkTemplates(self, request):
|
1597
1690
|
"""查询用户自定义水印模板,支持根据条件,分页查询。
|
1598
1691
|
|
@@ -4096,6 +4096,105 @@ class DescribeJobEventsResponse(AbstractModel):
|
|
4096
4096
|
self._RequestId = params.get("RequestId")
|
4097
4097
|
|
4098
4098
|
|
4099
|
+
class DescribeJobRuntimeInfoRequest(AbstractModel):
|
4100
|
+
"""DescribeJobRuntimeInfo请求参数结构体
|
4101
|
+
|
4102
|
+
"""
|
4103
|
+
|
4104
|
+
def __init__(self):
|
4105
|
+
r"""
|
4106
|
+
:param _JobId: 作业ID
|
4107
|
+
:type JobId: str
|
4108
|
+
:param _WorkSpaceId: 工作空间ID
|
4109
|
+
:type WorkSpaceId: str
|
4110
|
+
:param _IncludeInfo: 作业运行信息 key
|
4111
|
+
:type IncludeInfo: list of str
|
4112
|
+
"""
|
4113
|
+
self._JobId = None
|
4114
|
+
self._WorkSpaceId = None
|
4115
|
+
self._IncludeInfo = None
|
4116
|
+
|
4117
|
+
@property
|
4118
|
+
def JobId(self):
|
4119
|
+
return self._JobId
|
4120
|
+
|
4121
|
+
@JobId.setter
|
4122
|
+
def JobId(self, JobId):
|
4123
|
+
self._JobId = JobId
|
4124
|
+
|
4125
|
+
@property
|
4126
|
+
def WorkSpaceId(self):
|
4127
|
+
return self._WorkSpaceId
|
4128
|
+
|
4129
|
+
@WorkSpaceId.setter
|
4130
|
+
def WorkSpaceId(self, WorkSpaceId):
|
4131
|
+
self._WorkSpaceId = WorkSpaceId
|
4132
|
+
|
4133
|
+
@property
|
4134
|
+
def IncludeInfo(self):
|
4135
|
+
return self._IncludeInfo
|
4136
|
+
|
4137
|
+
@IncludeInfo.setter
|
4138
|
+
def IncludeInfo(self, IncludeInfo):
|
4139
|
+
self._IncludeInfo = IncludeInfo
|
4140
|
+
|
4141
|
+
|
4142
|
+
def _deserialize(self, params):
|
4143
|
+
self._JobId = params.get("JobId")
|
4144
|
+
self._WorkSpaceId = params.get("WorkSpaceId")
|
4145
|
+
self._IncludeInfo = params.get("IncludeInfo")
|
4146
|
+
memeber_set = set(params.keys())
|
4147
|
+
for name, value in vars(self).items():
|
4148
|
+
property_name = name[1:]
|
4149
|
+
if property_name in memeber_set:
|
4150
|
+
memeber_set.remove(property_name)
|
4151
|
+
if len(memeber_set) > 0:
|
4152
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4153
|
+
|
4154
|
+
|
4155
|
+
|
4156
|
+
class DescribeJobRuntimeInfoResponse(AbstractModel):
|
4157
|
+
"""DescribeJobRuntimeInfo返回参数结构体
|
4158
|
+
|
4159
|
+
"""
|
4160
|
+
|
4161
|
+
def __init__(self):
|
4162
|
+
r"""
|
4163
|
+
:param _JobRuntimeInfo: 作业运行时信息
|
4164
|
+
:type JobRuntimeInfo: list of JobRuntimeInfo
|
4165
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4166
|
+
:type RequestId: str
|
4167
|
+
"""
|
4168
|
+
self._JobRuntimeInfo = None
|
4169
|
+
self._RequestId = None
|
4170
|
+
|
4171
|
+
@property
|
4172
|
+
def JobRuntimeInfo(self):
|
4173
|
+
return self._JobRuntimeInfo
|
4174
|
+
|
4175
|
+
@JobRuntimeInfo.setter
|
4176
|
+
def JobRuntimeInfo(self, JobRuntimeInfo):
|
4177
|
+
self._JobRuntimeInfo = JobRuntimeInfo
|
4178
|
+
|
4179
|
+
@property
|
4180
|
+
def RequestId(self):
|
4181
|
+
return self._RequestId
|
4182
|
+
|
4183
|
+
@RequestId.setter
|
4184
|
+
def RequestId(self, RequestId):
|
4185
|
+
self._RequestId = RequestId
|
4186
|
+
|
4187
|
+
|
4188
|
+
def _deserialize(self, params):
|
4189
|
+
if params.get("JobRuntimeInfo") is not None:
|
4190
|
+
self._JobRuntimeInfo = []
|
4191
|
+
for item in params.get("JobRuntimeInfo"):
|
4192
|
+
obj = JobRuntimeInfo()
|
4193
|
+
obj._deserialize(item)
|
4194
|
+
self._JobRuntimeInfo.append(obj)
|
4195
|
+
self._RequestId = params.get("RequestId")
|
4196
|
+
|
4197
|
+
|
4099
4198
|
class DescribeJobSavepointRequest(AbstractModel):
|
4100
4199
|
"""DescribeJobSavepoint请求参数结构体
|
4101
4200
|
|
@@ -7290,6 +7389,53 @@ class JobInstanceForSubmissionLog(AbstractModel):
|
|
7290
7389
|
|
7291
7390
|
|
7292
7391
|
|
7392
|
+
class JobRuntimeInfo(AbstractModel):
|
7393
|
+
"""作业运行时信息
|
7394
|
+
|
7395
|
+
"""
|
7396
|
+
|
7397
|
+
def __init__(self):
|
7398
|
+
r"""
|
7399
|
+
:param _Key: 运行信息的key,目前支持:TaskManagers:taskmanager pod 列表; StreamGraph:作业对应的 StreamGraph;SubTasks:作业的 subtask 列表
|
7400
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7401
|
+
:type Key: str
|
7402
|
+
:param _Value: 运行信息
|
7403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7404
|
+
:type Value: str
|
7405
|
+
"""
|
7406
|
+
self._Key = None
|
7407
|
+
self._Value = None
|
7408
|
+
|
7409
|
+
@property
|
7410
|
+
def Key(self):
|
7411
|
+
return self._Key
|
7412
|
+
|
7413
|
+
@Key.setter
|
7414
|
+
def Key(self, Key):
|
7415
|
+
self._Key = Key
|
7416
|
+
|
7417
|
+
@property
|
7418
|
+
def Value(self):
|
7419
|
+
return self._Value
|
7420
|
+
|
7421
|
+
@Value.setter
|
7422
|
+
def Value(self, Value):
|
7423
|
+
self._Value = Value
|
7424
|
+
|
7425
|
+
|
7426
|
+
def _deserialize(self, params):
|
7427
|
+
self._Key = params.get("Key")
|
7428
|
+
self._Value = params.get("Value")
|
7429
|
+
memeber_set = set(params.keys())
|
7430
|
+
for name, value in vars(self).items():
|
7431
|
+
property_name = name[1:]
|
7432
|
+
if property_name in memeber_set:
|
7433
|
+
memeber_set.remove(property_name)
|
7434
|
+
if len(memeber_set) > 0:
|
7435
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7436
|
+
|
7437
|
+
|
7438
|
+
|
7293
7439
|
class JobV1(AbstractModel):
|
7294
7440
|
"""Job详细信息
|
7295
7441
|
|
@@ -463,6 +463,29 @@ class OceanusClient(AbstractClient):
|
|
463
463
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
464
464
|
|
465
465
|
|
466
|
+
def DescribeJobRuntimeInfo(self, request):
|
467
|
+
"""获取作业运行时的信息
|
468
|
+
|
469
|
+
:param request: Request instance for DescribeJobRuntimeInfo.
|
470
|
+
:type request: :class:`tencentcloud.oceanus.v20190422.models.DescribeJobRuntimeInfoRequest`
|
471
|
+
:rtype: :class:`tencentcloud.oceanus.v20190422.models.DescribeJobRuntimeInfoResponse`
|
472
|
+
|
473
|
+
"""
|
474
|
+
try:
|
475
|
+
params = request._serialize()
|
476
|
+
headers = request.headers
|
477
|
+
body = self.call("DescribeJobRuntimeInfo", params, headers=headers)
|
478
|
+
response = json.loads(body)
|
479
|
+
model = models.DescribeJobRuntimeInfoResponse()
|
480
|
+
model._deserialize(response["Response"])
|
481
|
+
return model
|
482
|
+
except Exception as e:
|
483
|
+
if isinstance(e, TencentCloudSDKException):
|
484
|
+
raise
|
485
|
+
else:
|
486
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
487
|
+
|
488
|
+
|
466
489
|
def DescribeJobSavepoint(self, request):
|
467
490
|
"""查找Savepoint列表
|
468
491
|
|
@@ -13286,7 +13286,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
13286
13286
|
r"""
|
13287
13287
|
:param _Product: 数据库引擎名称,本接口取值:redis。
|
13288
13288
|
:type Product: str
|
13289
|
-
:param _SecurityGroupIds:
|
13289
|
+
:param _SecurityGroupIds: 更换为新的安全组 ID 列表,即一个或者多个安全组 ID 组成的数组。若实例第一次配置安全组,请使用接口[AssociateSecurityGroups](https://cloud.tencent.com/document/product/239/41260)先绑定安全组。
|
13290
13290
|
:type SecurityGroupIds: list of str
|
13291
13291
|
:param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv或者cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
13292
13292
|
:type InstanceId: str
|
@@ -14002,6 +14002,103 @@ class ModifyInstanceParamsResponse(AbstractModel):
|
|
14002
14002
|
self._RequestId = params.get("RequestId")
|
14003
14003
|
|
14004
14004
|
|
14005
|
+
class ModifyInstancePasswordRequest(AbstractModel):
|
14006
|
+
"""ModifyInstancePassword请求参数结构体
|
14007
|
+
|
14008
|
+
"""
|
14009
|
+
|
14010
|
+
def __init__(self):
|
14011
|
+
r"""
|
14012
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
14013
|
+
:type InstanceId: str
|
14014
|
+
:param _OldPassword: 实例旧密码。
|
14015
|
+
:type OldPassword: str
|
14016
|
+
:param _Password: 实例新密码。密码复杂度要求如下:
|
14017
|
+
- 长度8 - 30位, 推荐使用12位以上的密码。
|
14018
|
+
- 不能以"/"开头。
|
14019
|
+
- 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
14020
|
+
:type Password: str
|
14021
|
+
"""
|
14022
|
+
self._InstanceId = None
|
14023
|
+
self._OldPassword = None
|
14024
|
+
self._Password = None
|
14025
|
+
|
14026
|
+
@property
|
14027
|
+
def InstanceId(self):
|
14028
|
+
return self._InstanceId
|
14029
|
+
|
14030
|
+
@InstanceId.setter
|
14031
|
+
def InstanceId(self, InstanceId):
|
14032
|
+
self._InstanceId = InstanceId
|
14033
|
+
|
14034
|
+
@property
|
14035
|
+
def OldPassword(self):
|
14036
|
+
return self._OldPassword
|
14037
|
+
|
14038
|
+
@OldPassword.setter
|
14039
|
+
def OldPassword(self, OldPassword):
|
14040
|
+
self._OldPassword = OldPassword
|
14041
|
+
|
14042
|
+
@property
|
14043
|
+
def Password(self):
|
14044
|
+
return self._Password
|
14045
|
+
|
14046
|
+
@Password.setter
|
14047
|
+
def Password(self, Password):
|
14048
|
+
self._Password = Password
|
14049
|
+
|
14050
|
+
|
14051
|
+
def _deserialize(self, params):
|
14052
|
+
self._InstanceId = params.get("InstanceId")
|
14053
|
+
self._OldPassword = params.get("OldPassword")
|
14054
|
+
self._Password = params.get("Password")
|
14055
|
+
memeber_set = set(params.keys())
|
14056
|
+
for name, value in vars(self).items():
|
14057
|
+
property_name = name[1:]
|
14058
|
+
if property_name in memeber_set:
|
14059
|
+
memeber_set.remove(property_name)
|
14060
|
+
if len(memeber_set) > 0:
|
14061
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14062
|
+
|
14063
|
+
|
14064
|
+
|
14065
|
+
class ModifyInstancePasswordResponse(AbstractModel):
|
14066
|
+
"""ModifyInstancePassword返回参数结构体
|
14067
|
+
|
14068
|
+
"""
|
14069
|
+
|
14070
|
+
def __init__(self):
|
14071
|
+
r"""
|
14072
|
+
:param _TaskId: 任务 ID。
|
14073
|
+
:type TaskId: int
|
14074
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14075
|
+
:type RequestId: str
|
14076
|
+
"""
|
14077
|
+
self._TaskId = None
|
14078
|
+
self._RequestId = None
|
14079
|
+
|
14080
|
+
@property
|
14081
|
+
def TaskId(self):
|
14082
|
+
return self._TaskId
|
14083
|
+
|
14084
|
+
@TaskId.setter
|
14085
|
+
def TaskId(self, TaskId):
|
14086
|
+
self._TaskId = TaskId
|
14087
|
+
|
14088
|
+
@property
|
14089
|
+
def RequestId(self):
|
14090
|
+
return self._RequestId
|
14091
|
+
|
14092
|
+
@RequestId.setter
|
14093
|
+
def RequestId(self, RequestId):
|
14094
|
+
self._RequestId = RequestId
|
14095
|
+
|
14096
|
+
|
14097
|
+
def _deserialize(self, params):
|
14098
|
+
self._TaskId = params.get("TaskId")
|
14099
|
+
self._RequestId = params.get("RequestId")
|
14100
|
+
|
14101
|
+
|
14005
14102
|
class ModifyInstanceReadOnlyRequest(AbstractModel):
|
14006
14103
|
"""ModifyInstanceReadOnly请求参数结构体
|
14007
14104
|
|
@@ -1844,7 +1844,7 @@ class RedisClient(AbstractClient):
|
|
1844
1844
|
|
1845
1845
|
|
1846
1846
|
def ModifyDBInstanceSecurityGroups(self, request):
|
1847
|
-
"""
|
1847
|
+
"""本接口(ModifyDBInstanceSecurityGroups)用于对实例原有的安全组列表进行修改。
|
1848
1848
|
|
1849
1849
|
:param request: Request instance for ModifyDBInstanceSecurityGroups.
|
1850
1850
|
:type request: :class:`tencentcloud.redis.v20180412.models.ModifyDBInstanceSecurityGroupsRequest`
|
@@ -2004,6 +2004,29 @@ class RedisClient(AbstractClient):
|
|
2004
2004
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2005
2005
|
|
2006
2006
|
|
2007
|
+
def ModifyInstancePassword(self, request):
|
2008
|
+
"""本接口(ModifyInstancePassword)用于修改实例访问密码。
|
2009
|
+
|
2010
|
+
:param request: Request instance for ModifyInstancePassword.
|
2011
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstancePasswordRequest`
|
2012
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.ModifyInstancePasswordResponse`
|
2013
|
+
|
2014
|
+
"""
|
2015
|
+
try:
|
2016
|
+
params = request._serialize()
|
2017
|
+
headers = request.headers
|
2018
|
+
body = self.call("ModifyInstancePassword", params, headers=headers)
|
2019
|
+
response = json.loads(body)
|
2020
|
+
model = models.ModifyInstancePasswordResponse()
|
2021
|
+
model._deserialize(response["Response"])
|
2022
|
+
return model
|
2023
|
+
except Exception as e:
|
2024
|
+
if isinstance(e, TencentCloudSDKException):
|
2025
|
+
raise
|
2026
|
+
else:
|
2027
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2028
|
+
|
2029
|
+
|
2007
2030
|
def ModifyInstanceReadOnly(self, request):
|
2008
2031
|
"""设置实例输入模式
|
2009
2032
|
|
@@ -1826,7 +1826,9 @@ class TcssClient(AbstractClient):
|
|
1826
1826
|
|
1827
1827
|
|
1828
1828
|
def DescribeAbnormalProcessEventsExport(self, request):
|
1829
|
-
"""
|
1829
|
+
"""接口已废弃
|
1830
|
+
|
1831
|
+
查询运行时异常进程事件列表信息导出
|
1830
1832
|
|
1831
1833
|
:param request: Request instance for DescribeAbnormalProcessEventsExport.
|
1832
1834
|
:type request: :class:`tencentcloud.tcss.v20201101.models.DescribeAbnormalProcessEventsExportRequest`
|
@@ -1918,7 +1920,9 @@ class TcssClient(AbstractClient):
|
|
1918
1920
|
|
1919
1921
|
|
1920
1922
|
def DescribeAbnormalProcessRulesExport(self, request):
|
1921
|
-
"""
|
1923
|
+
"""接口已废弃
|
1924
|
+
|
1925
|
+
查询运行时异常进程策略列表信息导出
|
1922
1926
|
|
1923
1927
|
:param request: Request instance for DescribeAbnormalProcessRulesExport.
|
1924
1928
|
:type request: :class:`tencentcloud.tcss.v20201101.models.DescribeAbnormalProcessRulesExportRequest`
|
@@ -2056,7 +2060,9 @@ class TcssClient(AbstractClient):
|
|
2056
2060
|
|
2057
2061
|
|
2058
2062
|
def DescribeAccessControlRulesExport(self, request):
|
2059
|
-
"""
|
2063
|
+
"""接口已废弃
|
2064
|
+
|
2065
|
+
查询运行时访问控制策略列表导出
|
2060
2066
|
|
2061
2067
|
:param request: Request instance for DescribeAccessControlRulesExport.
|
2062
2068
|
:type request: :class:`tencentcloud.tcss.v20201101.models.DescribeAccessControlRulesExportRequest`
|
@@ -2470,7 +2476,9 @@ class TcssClient(AbstractClient):
|
|
2470
2476
|
|
2471
2477
|
|
2472
2478
|
def DescribeAssetImageListExport(self, request):
|
2473
|
-
"""
|
2479
|
+
"""接口已废弃
|
2480
|
+
|
2481
|
+
容器安全搜索查询镜像列表导出
|
2474
2482
|
|
2475
2483
|
:param request: Request instance for DescribeAssetImageListExport.
|
2476
2484
|
:type request: :class:`tencentcloud.tcss.v20201101.models.DescribeAssetImageListExportRequest`
|
@@ -3735,7 +3743,9 @@ class TcssClient(AbstractClient):
|
|
3735
3743
|
|
3736
3744
|
|
3737
3745
|
def DescribeEscapeEventsExport(self, request):
|
3738
|
-
"""
|
3746
|
+
"""接口已废弃
|
3747
|
+
|
3748
|
+
DescribeEscapeEventsExport 查询容器逃逸事件列表导出
|
3739
3749
|
|
3740
3750
|
:param request: Request instance for DescribeEscapeEventsExport.
|
3741
3751
|
:type request: :class:`tencentcloud.tcss.v20201101.models.DescribeEscapeEventsExportRequest`
|
@@ -16147,112 +16147,6 @@ class DescribeExistedInstancesResponse(AbstractModel):
|
|
16147
16147
|
self._RequestId = params.get("RequestId")
|
16148
16148
|
|
16149
16149
|
|
16150
|
-
class DescribeExternalClusterSpecRequest(AbstractModel):
|
16151
|
-
"""DescribeExternalClusterSpec请求参数结构体
|
16152
|
-
|
16153
|
-
"""
|
16154
|
-
|
16155
|
-
def __init__(self):
|
16156
|
-
r"""
|
16157
|
-
:param _ClusterId: 注册集群ID
|
16158
|
-
:type ClusterId: str
|
16159
|
-
:param _IsExtranet: 默认false 获取内网,是否获取外网版注册命令
|
16160
|
-
:type IsExtranet: bool
|
16161
|
-
:param _IsRefreshExpirationTime: 默认false 不刷新有效时间 ,true刷新有效时间
|
16162
|
-
:type IsRefreshExpirationTime: bool
|
16163
|
-
"""
|
16164
|
-
self._ClusterId = None
|
16165
|
-
self._IsExtranet = None
|
16166
|
-
self._IsRefreshExpirationTime = None
|
16167
|
-
|
16168
|
-
@property
|
16169
|
-
def ClusterId(self):
|
16170
|
-
return self._ClusterId
|
16171
|
-
|
16172
|
-
@ClusterId.setter
|
16173
|
-
def ClusterId(self, ClusterId):
|
16174
|
-
self._ClusterId = ClusterId
|
16175
|
-
|
16176
|
-
@property
|
16177
|
-
def IsExtranet(self):
|
16178
|
-
return self._IsExtranet
|
16179
|
-
|
16180
|
-
@IsExtranet.setter
|
16181
|
-
def IsExtranet(self, IsExtranet):
|
16182
|
-
self._IsExtranet = IsExtranet
|
16183
|
-
|
16184
|
-
@property
|
16185
|
-
def IsRefreshExpirationTime(self):
|
16186
|
-
return self._IsRefreshExpirationTime
|
16187
|
-
|
16188
|
-
@IsRefreshExpirationTime.setter
|
16189
|
-
def IsRefreshExpirationTime(self, IsRefreshExpirationTime):
|
16190
|
-
self._IsRefreshExpirationTime = IsRefreshExpirationTime
|
16191
|
-
|
16192
|
-
|
16193
|
-
def _deserialize(self, params):
|
16194
|
-
self._ClusterId = params.get("ClusterId")
|
16195
|
-
self._IsExtranet = params.get("IsExtranet")
|
16196
|
-
self._IsRefreshExpirationTime = params.get("IsRefreshExpirationTime")
|
16197
|
-
memeber_set = set(params.keys())
|
16198
|
-
for name, value in vars(self).items():
|
16199
|
-
property_name = name[1:]
|
16200
|
-
if property_name in memeber_set:
|
16201
|
-
memeber_set.remove(property_name)
|
16202
|
-
if len(memeber_set) > 0:
|
16203
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16204
|
-
|
16205
|
-
|
16206
|
-
|
16207
|
-
class DescribeExternalClusterSpecResponse(AbstractModel):
|
16208
|
-
"""DescribeExternalClusterSpec返回参数结构体
|
16209
|
-
|
16210
|
-
"""
|
16211
|
-
|
16212
|
-
def __init__(self):
|
16213
|
-
r"""
|
16214
|
-
:param _Spec: 导入第三方集群YAML定义
|
16215
|
-
:type Spec: str
|
16216
|
-
:param _Expiration: agent.yaml文件过期时间字符串,时区UTC
|
16217
|
-
:type Expiration: str
|
16218
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16219
|
-
:type RequestId: str
|
16220
|
-
"""
|
16221
|
-
self._Spec = None
|
16222
|
-
self._Expiration = None
|
16223
|
-
self._RequestId = None
|
16224
|
-
|
16225
|
-
@property
|
16226
|
-
def Spec(self):
|
16227
|
-
return self._Spec
|
16228
|
-
|
16229
|
-
@Spec.setter
|
16230
|
-
def Spec(self, Spec):
|
16231
|
-
self._Spec = Spec
|
16232
|
-
|
16233
|
-
@property
|
16234
|
-
def Expiration(self):
|
16235
|
-
return self._Expiration
|
16236
|
-
|
16237
|
-
@Expiration.setter
|
16238
|
-
def Expiration(self, Expiration):
|
16239
|
-
self._Expiration = Expiration
|
16240
|
-
|
16241
|
-
@property
|
16242
|
-
def RequestId(self):
|
16243
|
-
return self._RequestId
|
16244
|
-
|
16245
|
-
@RequestId.setter
|
16246
|
-
def RequestId(self, RequestId):
|
16247
|
-
self._RequestId = RequestId
|
16248
|
-
|
16249
|
-
|
16250
|
-
def _deserialize(self, params):
|
16251
|
-
self._Spec = params.get("Spec")
|
16252
|
-
self._Expiration = params.get("Expiration")
|
16253
|
-
self._RequestId = params.get("RequestId")
|
16254
|
-
|
16255
|
-
|
16256
16150
|
class DescribeExternalNodeSupportConfigRequest(AbstractModel):
|
16257
16151
|
"""DescribeExternalNodeSupportConfig请求参数结构体
|
16258
16152
|
|
@@ -2694,31 +2694,6 @@ class TkeClient(AbstractClient):
|
|
2694
2694
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2695
2695
|
|
2696
2696
|
|
2697
|
-
def DescribeExternalClusterSpec(self, request):
|
2698
|
-
"""tdcc接口已迁移至tdcc产品下,tke下的接口下线
|
2699
|
-
|
2700
|
-
获取导入第三方集群YAML定义
|
2701
|
-
|
2702
|
-
:param request: Request instance for DescribeExternalClusterSpec.
|
2703
|
-
:type request: :class:`tencentcloud.tke.v20180525.models.DescribeExternalClusterSpecRequest`
|
2704
|
-
:rtype: :class:`tencentcloud.tke.v20180525.models.DescribeExternalClusterSpecResponse`
|
2705
|
-
|
2706
|
-
"""
|
2707
|
-
try:
|
2708
|
-
params = request._serialize()
|
2709
|
-
headers = request.headers
|
2710
|
-
body = self.call("DescribeExternalClusterSpec", params, headers=headers)
|
2711
|
-
response = json.loads(body)
|
2712
|
-
model = models.DescribeExternalClusterSpecResponse()
|
2713
|
-
model._deserialize(response["Response"])
|
2714
|
-
return model
|
2715
|
-
except Exception as e:
|
2716
|
-
if isinstance(e, TencentCloudSDKException):
|
2717
|
-
raise
|
2718
|
-
else:
|
2719
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2720
|
-
|
2721
|
-
|
2722
2697
|
def DescribeExternalNodeSupportConfig(self, request):
|
2723
2698
|
"""查看开启第三方节点池配置信息
|
2724
2699
|
|
@@ -38,5 +38,8 @@ INVALIDPARAMETERVALUE_ERRTEXTCONTENTLEN = 'InvalidParameterValue.ErrTextContentL
|
|
38
38
|
# 请求的文本格式错误(需要base64编码格式的文本)。
|
39
39
|
INVALIDPARAMETERVALUE_ERRTEXTCONTENTTYPE = 'InvalidParameterValue.ErrTextContentType'
|
40
40
|
|
41
|
+
# 请求的次数超过了频率限制。
|
42
|
+
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
43
|
+
|
41
44
|
# 未开通权限/无有效套餐包/账号已欠费。
|
42
45
|
UNAUTHORIZEDOPERATION_UNAUTHORIZED = 'UnauthorizedOperation.Unauthorized'
|
@@ -1301,7 +1301,7 @@ class TextModerationResponse(AbstractModel):
|
|
1301
1301
|
r"""
|
1302
1302
|
:param _BizType: 该字段用于返回请求参数中的BizType参数
|
1303
1303
|
:type BizType: str
|
1304
|
-
:param _Label: 该字段用于返回检测结果(DetailResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
1304
|
+
:param _Label: 该字段用于返回检测结果(DetailResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型
|
1305
1305
|
:type Label: str
|
1306
1306
|
:param _Suggestion: 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
1307
1307
|
:type Suggestion: str
|