tencentcloud-sdk-python 3.0.1444__py2.py3-none-any.whl → 3.0.1446__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cbs/v20170312/models.py +17 -2
- tencentcloud/ccc/v20200210/models.py +21 -0
- tencentcloud/cls/v20201016/models.py +393 -62
- tencentcloud/dlc/v20210125/dlc_client.py +161 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +1019 -0
- tencentcloud/emr/v20190103/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +85 -0
- tencentcloud/ess/v20201111/models.py +137 -0
- tencentcloud/essbasic/v20210526/models.py +122 -0
- tencentcloud/ioa/v20220601/models.py +78 -50
- tencentcloud/lke/v20231130/lke_client.py +1 -1
- tencentcloud/lke/v20231130/models.py +1998 -50
- tencentcloud/mps/v20190612/models.py +55 -10
- tencentcloud/ocr/v20181119/models.py +15 -0
- tencentcloud/partners/v20180321/models.py +4 -4
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/sqlserver/v20180328/models.py +6 -6
- tencentcloud/tbaas/v20180416/models.py +12 -12
- tencentcloud/tcaplusdb/v20190823/models.py +0 -328
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +51 -17
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/trabbit/v20230418/models.py +15 -0
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/tse/v20201207/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +240 -82
- tencentcloud/tsf/v20180326/tsf_client.py +1 -1
- tencentcloud/vod/v20180717/models.py +505 -6
- tencentcloud/vod/v20180717/vod_client.py +101 -0
- {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/RECORD +37 -37
- {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/top_level.txt +0 -0
|
@@ -332,6 +332,9 @@ RESOURCENOTFOUND_BROKERCLUSTER = 'ResourceNotFound.BrokerCluster'
|
|
|
332
332
|
# 集群不存在。
|
|
333
333
|
RESOURCENOTFOUND_CLUSTER = 'ResourceNotFound.Cluster'
|
|
334
334
|
|
|
335
|
+
# 链路不存在
|
|
336
|
+
RESOURCENOTFOUND_DISASTERREPLICATELINK = 'ResourceNotFound.DisasterReplicateLink'
|
|
337
|
+
|
|
335
338
|
# 环境不存在。
|
|
336
339
|
RESOURCENOTFOUND_ENVIRONMENT = 'ResourceNotFound.Environment'
|
|
337
340
|
|
|
@@ -10957,14 +10957,14 @@ class DescribeEnvironmentRolesRequest(AbstractModel):
|
|
|
10957
10957
|
|
|
10958
10958
|
def __init__(self):
|
|
10959
10959
|
r"""
|
|
10960
|
-
:param
|
|
10960
|
+
:param _ClusterId: Pulsar 集群的ID
|
|
10961
|
+
:type ClusterId: str
|
|
10962
|
+
:param _EnvironmentId: 环境(命名空间)名称。
|
|
10961
10963
|
:type EnvironmentId: str
|
|
10962
10964
|
:param _Offset: 起始下标,不填默认为0。
|
|
10963
10965
|
:type Offset: int
|
|
10964
10966
|
:param _Limit: 返回数量,不填则默认为10,最大值为20。
|
|
10965
10967
|
:type Limit: int
|
|
10966
|
-
:param _ClusterId: 必填字段,Pulsar 集群的ID
|
|
10967
|
-
:type ClusterId: str
|
|
10968
10968
|
:param _RoleName: 角色名称
|
|
10969
10969
|
:type RoleName: str
|
|
10970
10970
|
:param _Filters: * RoleName
|
|
@@ -10973,16 +10973,27 @@ class DescribeEnvironmentRolesRequest(AbstractModel):
|
|
|
10973
10973
|
必选:否
|
|
10974
10974
|
:type Filters: list of Filter
|
|
10975
10975
|
"""
|
|
10976
|
+
self._ClusterId = None
|
|
10976
10977
|
self._EnvironmentId = None
|
|
10977
10978
|
self._Offset = None
|
|
10978
10979
|
self._Limit = None
|
|
10979
|
-
self._ClusterId = None
|
|
10980
10980
|
self._RoleName = None
|
|
10981
10981
|
self._Filters = None
|
|
10982
10982
|
|
|
10983
|
+
@property
|
|
10984
|
+
def ClusterId(self):
|
|
10985
|
+
"""Pulsar 集群的ID
|
|
10986
|
+
:rtype: str
|
|
10987
|
+
"""
|
|
10988
|
+
return self._ClusterId
|
|
10989
|
+
|
|
10990
|
+
@ClusterId.setter
|
|
10991
|
+
def ClusterId(self, ClusterId):
|
|
10992
|
+
self._ClusterId = ClusterId
|
|
10993
|
+
|
|
10983
10994
|
@property
|
|
10984
10995
|
def EnvironmentId(self):
|
|
10985
|
-
"""
|
|
10996
|
+
"""环境(命名空间)名称。
|
|
10986
10997
|
:rtype: str
|
|
10987
10998
|
"""
|
|
10988
10999
|
return self._EnvironmentId
|
|
@@ -11013,17 +11024,6 @@ class DescribeEnvironmentRolesRequest(AbstractModel):
|
|
|
11013
11024
|
def Limit(self, Limit):
|
|
11014
11025
|
self._Limit = Limit
|
|
11015
11026
|
|
|
11016
|
-
@property
|
|
11017
|
-
def ClusterId(self):
|
|
11018
|
-
"""必填字段,Pulsar 集群的ID
|
|
11019
|
-
:rtype: str
|
|
11020
|
-
"""
|
|
11021
|
-
return self._ClusterId
|
|
11022
|
-
|
|
11023
|
-
@ClusterId.setter
|
|
11024
|
-
def ClusterId(self, ClusterId):
|
|
11025
|
-
self._ClusterId = ClusterId
|
|
11026
|
-
|
|
11027
11027
|
@property
|
|
11028
11028
|
def RoleName(self):
|
|
11029
11029
|
"""角色名称
|
|
@@ -11051,10 +11051,10 @@ class DescribeEnvironmentRolesRequest(AbstractModel):
|
|
|
11051
11051
|
|
|
11052
11052
|
|
|
11053
11053
|
def _deserialize(self, params):
|
|
11054
|
+
self._ClusterId = params.get("ClusterId")
|
|
11054
11055
|
self._EnvironmentId = params.get("EnvironmentId")
|
|
11055
11056
|
self._Offset = params.get("Offset")
|
|
11056
11057
|
self._Limit = params.get("Limit")
|
|
11057
|
-
self._ClusterId = params.get("ClusterId")
|
|
11058
11058
|
self._RoleName = params.get("RoleName")
|
|
11059
11059
|
if params.get("Filters") is not None:
|
|
11060
11060
|
self._Filters = []
|
|
@@ -21351,6 +21351,40 @@ class ExchangeQuota(AbstractModel):
|
|
|
21351
21351
|
|
|
21352
21352
|
|
|
21353
21353
|
|
|
21354
|
+
class ExecuteDisasterRecoveryRequest(AbstractModel):
|
|
21355
|
+
"""ExecuteDisasterRecovery请求参数结构体
|
|
21356
|
+
|
|
21357
|
+
"""
|
|
21358
|
+
|
|
21359
|
+
|
|
21360
|
+
class ExecuteDisasterRecoveryResponse(AbstractModel):
|
|
21361
|
+
"""ExecuteDisasterRecovery返回参数结构体
|
|
21362
|
+
|
|
21363
|
+
"""
|
|
21364
|
+
|
|
21365
|
+
def __init__(self):
|
|
21366
|
+
r"""
|
|
21367
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21368
|
+
:type RequestId: str
|
|
21369
|
+
"""
|
|
21370
|
+
self._RequestId = None
|
|
21371
|
+
|
|
21372
|
+
@property
|
|
21373
|
+
def RequestId(self):
|
|
21374
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21375
|
+
:rtype: str
|
|
21376
|
+
"""
|
|
21377
|
+
return self._RequestId
|
|
21378
|
+
|
|
21379
|
+
@RequestId.setter
|
|
21380
|
+
def RequestId(self, RequestId):
|
|
21381
|
+
self._RequestId = RequestId
|
|
21382
|
+
|
|
21383
|
+
|
|
21384
|
+
def _deserialize(self, params):
|
|
21385
|
+
self._RequestId = params.get("RequestId")
|
|
21386
|
+
|
|
21387
|
+
|
|
21354
21388
|
class ExportRocketMQMessageDetailRequest(AbstractModel):
|
|
21355
21389
|
"""ExportRocketMQMessageDetail请求参数结构体
|
|
21356
21390
|
|
|
@@ -2541,6 +2541,29 @@ class TdmqClient(AbstractClient):
|
|
|
2541
2541
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2542
2542
|
|
|
2543
2543
|
|
|
2544
|
+
def ExecuteDisasterRecovery(self, request):
|
|
2545
|
+
"""执行域名异地访问切换,域名的访问指向将切换至备份集群。
|
|
2546
|
+
|
|
2547
|
+
:param request: Request instance for ExecuteDisasterRecovery.
|
|
2548
|
+
:type request: :class:`tencentcloud.tdmq.v20200217.models.ExecuteDisasterRecoveryRequest`
|
|
2549
|
+
:rtype: :class:`tencentcloud.tdmq.v20200217.models.ExecuteDisasterRecoveryResponse`
|
|
2550
|
+
|
|
2551
|
+
"""
|
|
2552
|
+
try:
|
|
2553
|
+
params = request._serialize()
|
|
2554
|
+
headers = request.headers
|
|
2555
|
+
body = self.call("ExecuteDisasterRecovery", params, headers=headers)
|
|
2556
|
+
response = json.loads(body)
|
|
2557
|
+
model = models.ExecuteDisasterRecoveryResponse()
|
|
2558
|
+
model._deserialize(response["Response"])
|
|
2559
|
+
return model
|
|
2560
|
+
except Exception as e:
|
|
2561
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2562
|
+
raise
|
|
2563
|
+
else:
|
|
2564
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2565
|
+
|
|
2566
|
+
|
|
2544
2567
|
def ExportRocketMQMessageDetail(self, request):
|
|
2545
2568
|
"""导出RocketMQ消息详情
|
|
2546
2569
|
|
|
@@ -4613,11 +4613,14 @@ class ModifyRabbitMQServerlessInstanceRequest(AbstractModel):
|
|
|
4613
4613
|
:type Remark: str
|
|
4614
4614
|
:param _TraceFlag: 是否开启trace
|
|
4615
4615
|
:type TraceFlag: bool
|
|
4616
|
+
:param _SendReceiveRatio: 限流生产消费比例
|
|
4617
|
+
:type SendReceiveRatio: float
|
|
4616
4618
|
"""
|
|
4617
4619
|
self._InstanceId = None
|
|
4618
4620
|
self._ClusterName = None
|
|
4619
4621
|
self._Remark = None
|
|
4620
4622
|
self._TraceFlag = None
|
|
4623
|
+
self._SendReceiveRatio = None
|
|
4621
4624
|
|
|
4622
4625
|
@property
|
|
4623
4626
|
def InstanceId(self):
|
|
@@ -4663,12 +4666,24 @@ class ModifyRabbitMQServerlessInstanceRequest(AbstractModel):
|
|
|
4663
4666
|
def TraceFlag(self, TraceFlag):
|
|
4664
4667
|
self._TraceFlag = TraceFlag
|
|
4665
4668
|
|
|
4669
|
+
@property
|
|
4670
|
+
def SendReceiveRatio(self):
|
|
4671
|
+
"""限流生产消费比例
|
|
4672
|
+
:rtype: float
|
|
4673
|
+
"""
|
|
4674
|
+
return self._SendReceiveRatio
|
|
4675
|
+
|
|
4676
|
+
@SendReceiveRatio.setter
|
|
4677
|
+
def SendReceiveRatio(self, SendReceiveRatio):
|
|
4678
|
+
self._SendReceiveRatio = SendReceiveRatio
|
|
4679
|
+
|
|
4666
4680
|
|
|
4667
4681
|
def _deserialize(self, params):
|
|
4668
4682
|
self._InstanceId = params.get("InstanceId")
|
|
4669
4683
|
self._ClusterName = params.get("ClusterName")
|
|
4670
4684
|
self._Remark = params.get("Remark")
|
|
4671
4685
|
self._TraceFlag = params.get("TraceFlag")
|
|
4686
|
+
self._SendReceiveRatio = params.get("SendReceiveRatio")
|
|
4672
4687
|
memeber_set = set(params.keys())
|
|
4673
4688
|
for name, value in vars(self).items():
|
|
4674
4689
|
property_name = name[1:]
|
|
@@ -9293,7 +9293,7 @@ class DoHealthCheckOnMigratingTopicRequest(AbstractModel):
|
|
|
9293
9293
|
:param _TopicName: 主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
|
9294
9294
|
|
|
9295
9295
|
:type TopicName: str
|
|
9296
|
-
:param _IgnoreCheck:
|
|
9296
|
+
:param _IgnoreCheck: 是否忽略当前检查
|
|
9297
9297
|
:type IgnoreCheck: bool
|
|
9298
9298
|
:param _Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
|
9299
9299
|
:type Namespace: str
|
|
@@ -9329,7 +9329,7 @@ class DoHealthCheckOnMigratingTopicRequest(AbstractModel):
|
|
|
9329
9329
|
|
|
9330
9330
|
@property
|
|
9331
9331
|
def IgnoreCheck(self):
|
|
9332
|
-
"""
|
|
9332
|
+
"""是否忽略当前检查
|
|
9333
9333
|
:rtype: bool
|
|
9334
9334
|
"""
|
|
9335
9335
|
return self._IgnoreCheck
|
|
@@ -9282,9 +9282,12 @@ class DeleteCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
|
9282
9282
|
:type GatewayId: str
|
|
9283
9283
|
:param _Name: 服务名字,服务ID
|
|
9284
9284
|
:type Name: str
|
|
9285
|
+
:param _DeleteRoutes: 是否同步删除服务上绑定的路由
|
|
9286
|
+
:type DeleteRoutes: bool
|
|
9285
9287
|
"""
|
|
9286
9288
|
self._GatewayId = None
|
|
9287
9289
|
self._Name = None
|
|
9290
|
+
self._DeleteRoutes = None
|
|
9288
9291
|
|
|
9289
9292
|
@property
|
|
9290
9293
|
def GatewayId(self):
|
|
@@ -9308,10 +9311,22 @@ class DeleteCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
|
9308
9311
|
def Name(self, Name):
|
|
9309
9312
|
self._Name = Name
|
|
9310
9313
|
|
|
9314
|
+
@property
|
|
9315
|
+
def DeleteRoutes(self):
|
|
9316
|
+
"""是否同步删除服务上绑定的路由
|
|
9317
|
+
:rtype: bool
|
|
9318
|
+
"""
|
|
9319
|
+
return self._DeleteRoutes
|
|
9320
|
+
|
|
9321
|
+
@DeleteRoutes.setter
|
|
9322
|
+
def DeleteRoutes(self, DeleteRoutes):
|
|
9323
|
+
self._DeleteRoutes = DeleteRoutes
|
|
9324
|
+
|
|
9311
9325
|
|
|
9312
9326
|
def _deserialize(self, params):
|
|
9313
9327
|
self._GatewayId = params.get("GatewayId")
|
|
9314
9328
|
self._Name = params.get("Name")
|
|
9329
|
+
self._DeleteRoutes = params.get("DeleteRoutes")
|
|
9315
9330
|
memeber_set = set(params.keys())
|
|
9316
9331
|
for name, value in vars(self).items():
|
|
9317
9332
|
property_name = name[1:]
|
|
@@ -125,6 +125,9 @@ FAILEDOPERATION_FINDMETRICSEXCLUSIVEERROR = 'FailedOperation.FindMetricsExclusiv
|
|
|
125
125
|
# 网关通用异常[网关异常]。
|
|
126
126
|
FAILEDOPERATION_GATEWAYCOMMONERROR = 'FailedOperation.GatewayCommonError'
|
|
127
127
|
|
|
128
|
+
# 当前分组已绑定部署组,请解绑后删除
|
|
129
|
+
FAILEDOPERATION_GATEWAYGROUPBOUNDDELETEFAILED = 'FailedOperation.GatewayGroupBoundDeleteFailed'
|
|
130
|
+
|
|
128
131
|
# 远端访问错误。
|
|
129
132
|
FAILEDOPERATION_GATEWAYREMOTECALLERROR = 'FailedOperation.GatewayRemoteCallError'
|
|
130
133
|
|
|
@@ -389,6 +392,9 @@ INTERNALERROR_CONTAINERGROUPKUBERNETECONNECTERROR = 'InternalError.Containergrou
|
|
|
389
392
|
# Kubernetes deployment 未找到。
|
|
390
393
|
INTERNALERROR_CONTAINERGROUPKUBERNETEDEPLOYMENTNOTFOUND = 'InternalError.ContainergroupKuberneteDeploymentNotfound'
|
|
391
394
|
|
|
395
|
+
# 连接TKE服务失败。
|
|
396
|
+
INTERNALERROR_CONTAINERGROUPKUBERNETESCONNECTERROR = 'InternalError.ContainergroupKubernetesConnectError'
|
|
397
|
+
|
|
392
398
|
# 容器应用SQL错误。
|
|
393
399
|
INTERNALERROR_CONTAINERGROUPSQLFAILED = 'InternalError.ContainergroupSqlFailed'
|
|
394
400
|
|