tencentcloud-sdk-python 3.0.1445__py2.py3-none-any.whl → 3.0.1447__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/bi/v20220105/bi_client.py +23 -0
- tencentcloud/bi/v20220105/models.py +179 -0
- tencentcloud/cbs/v20170312/models.py +17 -2
- tencentcloud/ccc/v20200210/models.py +21 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +30 -6
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfs/v20190719/models.py +21 -2
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/cls/v20201016/models.py +98 -24
- tencentcloud/common/abstract_client.py +14 -12
- tencentcloud/common/credential.py +61 -26
- tencentcloud/csip/v20221121/models.py +4 -4
- tencentcloud/ctem/v20231128/models.py +30 -0
- tencentcloud/cwp/v20180228/models.py +53 -14
- tencentcloud/cynosdb/v20190107/models.py +2 -0
- tencentcloud/dc/v20180410/models.py +30 -0
- tencentcloud/dlc/v20210125/dlc_client.py +161 -0
- tencentcloud/dlc/v20210125/errorcodes.py +6 -0
- tencentcloud/dlc/v20210125/models.py +1049 -0
- tencentcloud/dts/v20211206/dts_client.py +23 -0
- tencentcloud/dts/v20211206/models.py +64 -0
- tencentcloud/es/v20180416/models.py +85 -0
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +313 -8
- tencentcloud/essbasic/v20210526/models.py +70 -14
- tencentcloud/faceid/v20180301/models.py +2 -2
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +1036 -91
- tencentcloud/iotexplorer/v20190423/models.py +112 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +122 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
- tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mongodb/v20190725/models.py +19 -0
- tencentcloud/mps/v20190612/models.py +229 -10
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +880 -22
- tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +7 -23
- tencentcloud/organization/v20210331/models.py +393 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/partners/v20180321/models.py +8 -8
- tencentcloud/partners/v20180321/partners_client.py +2 -2
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/smh/v20210712/models.py +19 -4
- 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 +24 -1
- tencentcloud/tione/v20211111/models.py +333 -10
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/tke/v20220501/models.py +32 -2
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/trtc_client.py +9 -3
- tencentcloud/tse/v20201207/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +6 -6
- tencentcloud/vod/v20180717/models.py +4 -12
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/RECORD +76 -76
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.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
|
|
|
@@ -3369,7 +3392,7 @@ class TdmqClient(AbstractClient):
|
|
|
3369
3392
|
|
|
3370
3393
|
|
|
3371
3394
|
def SendRocketMQMessage(self, request):
|
|
3372
|
-
"""发送RocketMQ
|
|
3395
|
+
"""发送 RocketMQ 消息,该接口仅用于控制台发送少量测试消息,不保证SLA,且云 API 存在限流,在真实业务场景下,请使用 RocketMQ SDK 发送消息。
|
|
3373
3396
|
|
|
3374
3397
|
:param request: Request instance for SendRocketMQMessage.
|
|
3375
3398
|
:type request: :class:`tencentcloud.tdmq.v20200217.models.SendRocketMQMessageRequest`
|