tencentcloud-sdk-python 3.1.208__py2.py3-none-any.whl → 3.1.209__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/ai3d/v20250513/models.py +2 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +18 -0
- tencentcloud/cynosdb/v20190107/models.py +395 -0
- tencentcloud/databuddy/v20260715/databuddy_client.py +23 -0
- tencentcloud/databuddy/v20260715/databuddy_client_async.py +18 -0
- tencentcloud/databuddy/v20260715/models.py +483 -0
- tencentcloud/ess/v20201111/models.py +106 -0
- tencentcloud/essbasic/v20210526/models.py +159 -106
- tencentcloud/monitor/v20230616/models.py +79 -0
- tencentcloud/ocr/v20181119/errorcodes.py +3 -0
- tencentcloud/ocr/v20181119/models.py +30 -0
- tencentcloud/ssm/v20190923/models.py +112 -62
- tencentcloud/ssm/v20190923/ssm_client.py +5 -6
- tencentcloud/ssm/v20190923/ssm_client_async.py +5 -6
- tencentcloud/tione/v20211111/models.py +18 -86
- tencentcloud/trtc/v20190722/models.py +94 -0
- tencentcloud/trtc/v20190722/trtc_client.py +23 -0
- tencentcloud/trtc/v20190722/trtc_client_async.py +18 -0
- {tencentcloud_sdk_python-3.1.208.dist-info → tencentcloud_sdk_python-3.1.209.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.208.dist-info → tencentcloud_sdk_python-3.1.209.dist-info}/RECORD +25 -25
- {tencentcloud_sdk_python-3.1.208.dist-info → tencentcloud_sdk_python-3.1.209.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.208.dist-info → tencentcloud_sdk_python-3.1.209.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.208.dist-info → tencentcloud_sdk_python-3.1.209.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1608,7 +1608,7 @@ class SubmitHunyuan3DPartJobRequest(AbstractModel):
|
|
|
1608
1608
|
:type File: :class:`tencentcloud.ai3d.v20250513.models.InputFile3D`
|
|
1609
1609
|
:param _Model: <p>组件生成模型版本,默认为1.5</p><p>枚举值:</p><ul><li>1.5: 1.5模型</li></ul><p>默认值:1.5</p>
|
|
1610
1610
|
:type Model: str
|
|
1611
|
-
:param _PartSegmentationInfo: <p
|
|
1611
|
+
:param _PartSegmentationInfo: <p>模型组件分割数据;</p><p>格式如:{"MeshName_part_1":{"face_ids":[1,2,3..],"color":"#FF805C"}}</p><p>其中,face_ids 是整型数组,表示切片的一组面片ID, color是颜色。</p>
|
|
1612
1612
|
:type PartSegmentationInfo: str
|
|
1613
1613
|
:param _EnableStagedGeneration: <p>是否分步骤进行组件生成;<br>开启后,输入原始模型后,可生成带分割信息的模型以及分割数据,可对此信息编辑后再传入带有分割信息的模型和分割数据进行编辑后的组件生成;<br>此参数默认关闭。</p>
|
|
1614
1614
|
:type EnableStagedGeneration: bool
|
|
@@ -1645,7 +1645,7 @@ class SubmitHunyuan3DPartJobRequest(AbstractModel):
|
|
|
1645
1645
|
|
|
1646
1646
|
@property
|
|
1647
1647
|
def PartSegmentationInfo(self):
|
|
1648
|
-
r"""<p
|
|
1648
|
+
r"""<p>模型组件分割数据;</p><p>格式如:{"MeshName_part_1":{"face_ids":[1,2,3..],"color":"#FF805C"}}</p><p>其中,face_ids 是整型数组,表示切片的一组面片ID, color是颜色。</p>
|
|
1649
1649
|
:rtype: str
|
|
1650
1650
|
"""
|
|
1651
1651
|
return self._PartSegmentationInfo
|
|
@@ -854,6 +854,29 @@ class CynosdbClient(AbstractClient):
|
|
|
854
854
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
855
855
|
|
|
856
856
|
|
|
857
|
+
def CreateProxyEndPoints(self, request):
|
|
858
|
+
r"""本接口(CreateProxyEndPoints)用于批量创建数据库代理连接点。
|
|
859
|
+
|
|
860
|
+
:param request: Request instance for CreateProxyEndPoints.
|
|
861
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.CreateProxyEndPointsRequest`
|
|
862
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.CreateProxyEndPointsResponse`
|
|
863
|
+
|
|
864
|
+
"""
|
|
865
|
+
try:
|
|
866
|
+
params = request._serialize()
|
|
867
|
+
headers = request.headers
|
|
868
|
+
body = self.call("CreateProxyEndPoints", params, headers=headers)
|
|
869
|
+
response = json.loads(body)
|
|
870
|
+
model = models.CreateProxyEndPointsResponse()
|
|
871
|
+
model._deserialize(response["Response"])
|
|
872
|
+
return model
|
|
873
|
+
except Exception as e:
|
|
874
|
+
if isinstance(e, TencentCloudSDKException):
|
|
875
|
+
raise
|
|
876
|
+
else:
|
|
877
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
878
|
+
|
|
879
|
+
|
|
857
880
|
def CreateResourcePackage(self, request):
|
|
858
881
|
r"""本接口(CreateResourcePackage)用于新购资源包。
|
|
859
882
|
|
|
@@ -673,6 +673,24 @@ class CynosdbClient(AbstractClient):
|
|
|
673
673
|
|
|
674
674
|
return await self.call_and_deserialize(**kwargs)
|
|
675
675
|
|
|
676
|
+
async def CreateProxyEndPoints(
|
|
677
|
+
self,
|
|
678
|
+
request: models.CreateProxyEndPointsRequest,
|
|
679
|
+
opts: Dict = None,
|
|
680
|
+
) -> models.CreateProxyEndPointsResponse:
|
|
681
|
+
"""
|
|
682
|
+
本接口(CreateProxyEndPoints)用于批量创建数据库代理连接点。
|
|
683
|
+
"""
|
|
684
|
+
|
|
685
|
+
kwargs = {}
|
|
686
|
+
kwargs["action"] = "CreateProxyEndPoints"
|
|
687
|
+
kwargs["params"] = request._serialize()
|
|
688
|
+
kwargs["resp_cls"] = models.CreateProxyEndPointsResponse
|
|
689
|
+
kwargs["headers"] = request.headers
|
|
690
|
+
kwargs["opts"] = opts or {}
|
|
691
|
+
|
|
692
|
+
return await self.call_and_deserialize(**kwargs)
|
|
693
|
+
|
|
676
694
|
async def CreateResourcePackage(
|
|
677
695
|
self,
|
|
678
696
|
request: models.CreateResourcePackageRequest,
|
|
@@ -13285,6 +13285,120 @@ class CreateProxyEndPointResponse(AbstractModel):
|
|
|
13285
13285
|
self._RequestId = params.get("RequestId")
|
|
13286
13286
|
|
|
13287
13287
|
|
|
13288
|
+
class CreateProxyEndPointsRequest(AbstractModel):
|
|
13289
|
+
r"""CreateProxyEndPoints请求参数结构体
|
|
13290
|
+
|
|
13291
|
+
"""
|
|
13292
|
+
|
|
13293
|
+
def __init__(self):
|
|
13294
|
+
r"""
|
|
13295
|
+
:param _ClusterId: <p>集群 ID。</p>
|
|
13296
|
+
:type ClusterId: str
|
|
13297
|
+
:param _ProxyEndPointItems: <p>proxyEndPoint的参数配置</p>
|
|
13298
|
+
:type ProxyEndPointItems: list of ProxyEndPointItem
|
|
13299
|
+
"""
|
|
13300
|
+
self._ClusterId = None
|
|
13301
|
+
self._ProxyEndPointItems = None
|
|
13302
|
+
|
|
13303
|
+
@property
|
|
13304
|
+
def ClusterId(self):
|
|
13305
|
+
r"""<p>集群 ID。</p>
|
|
13306
|
+
:rtype: str
|
|
13307
|
+
"""
|
|
13308
|
+
return self._ClusterId
|
|
13309
|
+
|
|
13310
|
+
@ClusterId.setter
|
|
13311
|
+
def ClusterId(self, ClusterId):
|
|
13312
|
+
self._ClusterId = ClusterId
|
|
13313
|
+
|
|
13314
|
+
@property
|
|
13315
|
+
def ProxyEndPointItems(self):
|
|
13316
|
+
r"""<p>proxyEndPoint的参数配置</p>
|
|
13317
|
+
:rtype: list of ProxyEndPointItem
|
|
13318
|
+
"""
|
|
13319
|
+
return self._ProxyEndPointItems
|
|
13320
|
+
|
|
13321
|
+
@ProxyEndPointItems.setter
|
|
13322
|
+
def ProxyEndPointItems(self, ProxyEndPointItems):
|
|
13323
|
+
self._ProxyEndPointItems = ProxyEndPointItems
|
|
13324
|
+
|
|
13325
|
+
|
|
13326
|
+
def _deserialize(self, params):
|
|
13327
|
+
self._ClusterId = params.get("ClusterId")
|
|
13328
|
+
if params.get("ProxyEndPointItems") is not None:
|
|
13329
|
+
self._ProxyEndPointItems = []
|
|
13330
|
+
for item in params.get("ProxyEndPointItems"):
|
|
13331
|
+
obj = ProxyEndPointItem()
|
|
13332
|
+
obj._deserialize(item)
|
|
13333
|
+
self._ProxyEndPointItems.append(obj)
|
|
13334
|
+
memeber_set = set(params.keys())
|
|
13335
|
+
for name, value in vars(self).items():
|
|
13336
|
+
property_name = name[1:]
|
|
13337
|
+
if property_name in memeber_set:
|
|
13338
|
+
memeber_set.remove(property_name)
|
|
13339
|
+
if len(memeber_set) > 0:
|
|
13340
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13341
|
+
|
|
13342
|
+
|
|
13343
|
+
|
|
13344
|
+
class CreateProxyEndPointsResponse(AbstractModel):
|
|
13345
|
+
r"""CreateProxyEndPoints返回参数结构体
|
|
13346
|
+
|
|
13347
|
+
"""
|
|
13348
|
+
|
|
13349
|
+
def __init__(self):
|
|
13350
|
+
r"""
|
|
13351
|
+
:param _FlowId: <p>异步流程 ID。</p>
|
|
13352
|
+
:type FlowId: int
|
|
13353
|
+
:param _TaskId: <p>异步任务 ID。</p>
|
|
13354
|
+
:type TaskId: int
|
|
13355
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13356
|
+
:type RequestId: str
|
|
13357
|
+
"""
|
|
13358
|
+
self._FlowId = None
|
|
13359
|
+
self._TaskId = None
|
|
13360
|
+
self._RequestId = None
|
|
13361
|
+
|
|
13362
|
+
@property
|
|
13363
|
+
def FlowId(self):
|
|
13364
|
+
r"""<p>异步流程 ID。</p>
|
|
13365
|
+
:rtype: int
|
|
13366
|
+
"""
|
|
13367
|
+
return self._FlowId
|
|
13368
|
+
|
|
13369
|
+
@FlowId.setter
|
|
13370
|
+
def FlowId(self, FlowId):
|
|
13371
|
+
self._FlowId = FlowId
|
|
13372
|
+
|
|
13373
|
+
@property
|
|
13374
|
+
def TaskId(self):
|
|
13375
|
+
r"""<p>异步任务 ID。</p>
|
|
13376
|
+
:rtype: int
|
|
13377
|
+
"""
|
|
13378
|
+
return self._TaskId
|
|
13379
|
+
|
|
13380
|
+
@TaskId.setter
|
|
13381
|
+
def TaskId(self, TaskId):
|
|
13382
|
+
self._TaskId = TaskId
|
|
13383
|
+
|
|
13384
|
+
@property
|
|
13385
|
+
def RequestId(self):
|
|
13386
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13387
|
+
:rtype: str
|
|
13388
|
+
"""
|
|
13389
|
+
return self._RequestId
|
|
13390
|
+
|
|
13391
|
+
@RequestId.setter
|
|
13392
|
+
def RequestId(self, RequestId):
|
|
13393
|
+
self._RequestId = RequestId
|
|
13394
|
+
|
|
13395
|
+
|
|
13396
|
+
def _deserialize(self, params):
|
|
13397
|
+
self._FlowId = params.get("FlowId")
|
|
13398
|
+
self._TaskId = params.get("TaskId")
|
|
13399
|
+
self._RequestId = params.get("RequestId")
|
|
13400
|
+
|
|
13401
|
+
|
|
13288
13402
|
class CreateProxyRequest(AbstractModel):
|
|
13289
13403
|
r"""CreateProxy请求参数结构体
|
|
13290
13404
|
|
|
@@ -53220,6 +53334,287 @@ class ProxyEndPointConfigInfo(AbstractModel):
|
|
|
53220
53334
|
|
|
53221
53335
|
|
|
53222
53336
|
|
|
53337
|
+
class ProxyEndPointItem(AbstractModel):
|
|
53338
|
+
r"""批量proxy接入点配置
|
|
53339
|
+
|
|
53340
|
+
"""
|
|
53341
|
+
|
|
53342
|
+
def __init__(self):
|
|
53343
|
+
r"""
|
|
53344
|
+
:param _UniqueVpcId: <p>vpc id</p>
|
|
53345
|
+
:type UniqueVpcId: str
|
|
53346
|
+
:param _UniqueSubnetId: <p>子网ID</p>
|
|
53347
|
+
:type UniqueSubnetId: str
|
|
53348
|
+
:param _SecurityGroupIds: <p>安全组列表</p>
|
|
53349
|
+
:type SecurityGroupIds: list of str
|
|
53350
|
+
:param _WeightMode: <p>权重模式</p><p>枚举值:</p><ul><li>system: 系统分配</li><li>custom: 自定义</li></ul>
|
|
53351
|
+
:type WeightMode: str
|
|
53352
|
+
:param _AutoAddRo: <p>是否自动添加只读实例</p><p>枚举值:</p><ul><li>yes: 是</li><li>no: 否</li></ul>
|
|
53353
|
+
:type AutoAddRo: str
|
|
53354
|
+
:param _RwType: <p>读写类型</p><p>枚举值:</p><ul><li>READWRITE: 读写</li><li>READONLY: 只读</li></ul>
|
|
53355
|
+
:type RwType: str
|
|
53356
|
+
:param _FailOver: <p>是否开启故障转移</p><p>枚举值:</p><ul><li>yes: 是</li><li>no: 否</li></ul>
|
|
53357
|
+
:type FailOver: str
|
|
53358
|
+
:param _ConsistencyTimeOut: <p>一致性超时时间</p>
|
|
53359
|
+
:type ConsistencyTimeOut: int
|
|
53360
|
+
:param _ConsistencyType: <p>一致性类型。</p><p>枚举值:</p><ul><li>eventual: 最终一致性</li><li>global: 全局一致性</li><li>session: 会话一致性</li></ul><p>仅当 RwType 参数值为 READWRITE 时,才支持设置此项。</p>
|
|
53361
|
+
:type ConsistencyType: str
|
|
53362
|
+
:param _TransSplit: <p>是否开启事务拆分。</p><p>开启后,在一个事务中拆分读和写到不同的实例上去执行。</p>
|
|
53363
|
+
:type TransSplit: bool
|
|
53364
|
+
:param _AccessMode: <p>接入模式</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li></ul>
|
|
53365
|
+
:type AccessMode: str
|
|
53366
|
+
:param _InstanceWeights: <p>实例及权重</p>
|
|
53367
|
+
:type InstanceWeights: list of ProxyInstanceWeight
|
|
53368
|
+
:param _Description: <p>描述信息</p>
|
|
53369
|
+
:type Description: str
|
|
53370
|
+
:param _LoadBalanceMode: <p>自动负载模式</p><p>枚举值:</p><ul><li>static: 静态</li><li>dynamic: 自适应</li></ul>
|
|
53371
|
+
:type LoadBalanceMode: str
|
|
53372
|
+
:param _OpenConnectionPool: <p>是否开启连接池</p><p>枚举值:</p><ul><li>yes: 打开</li><li>no: 不打开</li></ul>
|
|
53373
|
+
:type OpenConnectionPool: str
|
|
53374
|
+
:param _ConnectionPoolType: <p>连接池类型</p><p>枚举值:</p><ul><li>SessionConnectionPool: 会话级连接池</li><li>TransactionConnectionPool: 事物级连接池</li></ul>
|
|
53375
|
+
:type ConnectionPoolType: str
|
|
53376
|
+
:param _ConnectionPoolTimeOut: <p>连接池阀值</p>
|
|
53377
|
+
:type ConnectionPoolTimeOut: int
|
|
53378
|
+
"""
|
|
53379
|
+
self._UniqueVpcId = None
|
|
53380
|
+
self._UniqueSubnetId = None
|
|
53381
|
+
self._SecurityGroupIds = None
|
|
53382
|
+
self._WeightMode = None
|
|
53383
|
+
self._AutoAddRo = None
|
|
53384
|
+
self._RwType = None
|
|
53385
|
+
self._FailOver = None
|
|
53386
|
+
self._ConsistencyTimeOut = None
|
|
53387
|
+
self._ConsistencyType = None
|
|
53388
|
+
self._TransSplit = None
|
|
53389
|
+
self._AccessMode = None
|
|
53390
|
+
self._InstanceWeights = None
|
|
53391
|
+
self._Description = None
|
|
53392
|
+
self._LoadBalanceMode = None
|
|
53393
|
+
self._OpenConnectionPool = None
|
|
53394
|
+
self._ConnectionPoolType = None
|
|
53395
|
+
self._ConnectionPoolTimeOut = None
|
|
53396
|
+
|
|
53397
|
+
@property
|
|
53398
|
+
def UniqueVpcId(self):
|
|
53399
|
+
r"""<p>vpc id</p>
|
|
53400
|
+
:rtype: str
|
|
53401
|
+
"""
|
|
53402
|
+
return self._UniqueVpcId
|
|
53403
|
+
|
|
53404
|
+
@UniqueVpcId.setter
|
|
53405
|
+
def UniqueVpcId(self, UniqueVpcId):
|
|
53406
|
+
self._UniqueVpcId = UniqueVpcId
|
|
53407
|
+
|
|
53408
|
+
@property
|
|
53409
|
+
def UniqueSubnetId(self):
|
|
53410
|
+
r"""<p>子网ID</p>
|
|
53411
|
+
:rtype: str
|
|
53412
|
+
"""
|
|
53413
|
+
return self._UniqueSubnetId
|
|
53414
|
+
|
|
53415
|
+
@UniqueSubnetId.setter
|
|
53416
|
+
def UniqueSubnetId(self, UniqueSubnetId):
|
|
53417
|
+
self._UniqueSubnetId = UniqueSubnetId
|
|
53418
|
+
|
|
53419
|
+
@property
|
|
53420
|
+
def SecurityGroupIds(self):
|
|
53421
|
+
r"""<p>安全组列表</p>
|
|
53422
|
+
:rtype: list of str
|
|
53423
|
+
"""
|
|
53424
|
+
return self._SecurityGroupIds
|
|
53425
|
+
|
|
53426
|
+
@SecurityGroupIds.setter
|
|
53427
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
53428
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
53429
|
+
|
|
53430
|
+
@property
|
|
53431
|
+
def WeightMode(self):
|
|
53432
|
+
r"""<p>权重模式</p><p>枚举值:</p><ul><li>system: 系统分配</li><li>custom: 自定义</li></ul>
|
|
53433
|
+
:rtype: str
|
|
53434
|
+
"""
|
|
53435
|
+
return self._WeightMode
|
|
53436
|
+
|
|
53437
|
+
@WeightMode.setter
|
|
53438
|
+
def WeightMode(self, WeightMode):
|
|
53439
|
+
self._WeightMode = WeightMode
|
|
53440
|
+
|
|
53441
|
+
@property
|
|
53442
|
+
def AutoAddRo(self):
|
|
53443
|
+
r"""<p>是否自动添加只读实例</p><p>枚举值:</p><ul><li>yes: 是</li><li>no: 否</li></ul>
|
|
53444
|
+
:rtype: str
|
|
53445
|
+
"""
|
|
53446
|
+
return self._AutoAddRo
|
|
53447
|
+
|
|
53448
|
+
@AutoAddRo.setter
|
|
53449
|
+
def AutoAddRo(self, AutoAddRo):
|
|
53450
|
+
self._AutoAddRo = AutoAddRo
|
|
53451
|
+
|
|
53452
|
+
@property
|
|
53453
|
+
def RwType(self):
|
|
53454
|
+
r"""<p>读写类型</p><p>枚举值:</p><ul><li>READWRITE: 读写</li><li>READONLY: 只读</li></ul>
|
|
53455
|
+
:rtype: str
|
|
53456
|
+
"""
|
|
53457
|
+
return self._RwType
|
|
53458
|
+
|
|
53459
|
+
@RwType.setter
|
|
53460
|
+
def RwType(self, RwType):
|
|
53461
|
+
self._RwType = RwType
|
|
53462
|
+
|
|
53463
|
+
@property
|
|
53464
|
+
def FailOver(self):
|
|
53465
|
+
r"""<p>是否开启故障转移</p><p>枚举值:</p><ul><li>yes: 是</li><li>no: 否</li></ul>
|
|
53466
|
+
:rtype: str
|
|
53467
|
+
"""
|
|
53468
|
+
return self._FailOver
|
|
53469
|
+
|
|
53470
|
+
@FailOver.setter
|
|
53471
|
+
def FailOver(self, FailOver):
|
|
53472
|
+
self._FailOver = FailOver
|
|
53473
|
+
|
|
53474
|
+
@property
|
|
53475
|
+
def ConsistencyTimeOut(self):
|
|
53476
|
+
r"""<p>一致性超时时间</p>
|
|
53477
|
+
:rtype: int
|
|
53478
|
+
"""
|
|
53479
|
+
return self._ConsistencyTimeOut
|
|
53480
|
+
|
|
53481
|
+
@ConsistencyTimeOut.setter
|
|
53482
|
+
def ConsistencyTimeOut(self, ConsistencyTimeOut):
|
|
53483
|
+
self._ConsistencyTimeOut = ConsistencyTimeOut
|
|
53484
|
+
|
|
53485
|
+
@property
|
|
53486
|
+
def ConsistencyType(self):
|
|
53487
|
+
r"""<p>一致性类型。</p><p>枚举值:</p><ul><li>eventual: 最终一致性</li><li>global: 全局一致性</li><li>session: 会话一致性</li></ul><p>仅当 RwType 参数值为 READWRITE 时,才支持设置此项。</p>
|
|
53488
|
+
:rtype: str
|
|
53489
|
+
"""
|
|
53490
|
+
return self._ConsistencyType
|
|
53491
|
+
|
|
53492
|
+
@ConsistencyType.setter
|
|
53493
|
+
def ConsistencyType(self, ConsistencyType):
|
|
53494
|
+
self._ConsistencyType = ConsistencyType
|
|
53495
|
+
|
|
53496
|
+
@property
|
|
53497
|
+
def TransSplit(self):
|
|
53498
|
+
r"""<p>是否开启事务拆分。</p><p>开启后,在一个事务中拆分读和写到不同的实例上去执行。</p>
|
|
53499
|
+
:rtype: bool
|
|
53500
|
+
"""
|
|
53501
|
+
return self._TransSplit
|
|
53502
|
+
|
|
53503
|
+
@TransSplit.setter
|
|
53504
|
+
def TransSplit(self, TransSplit):
|
|
53505
|
+
self._TransSplit = TransSplit
|
|
53506
|
+
|
|
53507
|
+
@property
|
|
53508
|
+
def AccessMode(self):
|
|
53509
|
+
r"""<p>接入模式</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li></ul>
|
|
53510
|
+
:rtype: str
|
|
53511
|
+
"""
|
|
53512
|
+
return self._AccessMode
|
|
53513
|
+
|
|
53514
|
+
@AccessMode.setter
|
|
53515
|
+
def AccessMode(self, AccessMode):
|
|
53516
|
+
self._AccessMode = AccessMode
|
|
53517
|
+
|
|
53518
|
+
@property
|
|
53519
|
+
def InstanceWeights(self):
|
|
53520
|
+
r"""<p>实例及权重</p>
|
|
53521
|
+
:rtype: list of ProxyInstanceWeight
|
|
53522
|
+
"""
|
|
53523
|
+
return self._InstanceWeights
|
|
53524
|
+
|
|
53525
|
+
@InstanceWeights.setter
|
|
53526
|
+
def InstanceWeights(self, InstanceWeights):
|
|
53527
|
+
self._InstanceWeights = InstanceWeights
|
|
53528
|
+
|
|
53529
|
+
@property
|
|
53530
|
+
def Description(self):
|
|
53531
|
+
r"""<p>描述信息</p>
|
|
53532
|
+
:rtype: str
|
|
53533
|
+
"""
|
|
53534
|
+
return self._Description
|
|
53535
|
+
|
|
53536
|
+
@Description.setter
|
|
53537
|
+
def Description(self, Description):
|
|
53538
|
+
self._Description = Description
|
|
53539
|
+
|
|
53540
|
+
@property
|
|
53541
|
+
def LoadBalanceMode(self):
|
|
53542
|
+
r"""<p>自动负载模式</p><p>枚举值:</p><ul><li>static: 静态</li><li>dynamic: 自适应</li></ul>
|
|
53543
|
+
:rtype: str
|
|
53544
|
+
"""
|
|
53545
|
+
return self._LoadBalanceMode
|
|
53546
|
+
|
|
53547
|
+
@LoadBalanceMode.setter
|
|
53548
|
+
def LoadBalanceMode(self, LoadBalanceMode):
|
|
53549
|
+
self._LoadBalanceMode = LoadBalanceMode
|
|
53550
|
+
|
|
53551
|
+
@property
|
|
53552
|
+
def OpenConnectionPool(self):
|
|
53553
|
+
r"""<p>是否开启连接池</p><p>枚举值:</p><ul><li>yes: 打开</li><li>no: 不打开</li></ul>
|
|
53554
|
+
:rtype: str
|
|
53555
|
+
"""
|
|
53556
|
+
return self._OpenConnectionPool
|
|
53557
|
+
|
|
53558
|
+
@OpenConnectionPool.setter
|
|
53559
|
+
def OpenConnectionPool(self, OpenConnectionPool):
|
|
53560
|
+
self._OpenConnectionPool = OpenConnectionPool
|
|
53561
|
+
|
|
53562
|
+
@property
|
|
53563
|
+
def ConnectionPoolType(self):
|
|
53564
|
+
r"""<p>连接池类型</p><p>枚举值:</p><ul><li>SessionConnectionPool: 会话级连接池</li><li>TransactionConnectionPool: 事物级连接池</li></ul>
|
|
53565
|
+
:rtype: str
|
|
53566
|
+
"""
|
|
53567
|
+
return self._ConnectionPoolType
|
|
53568
|
+
|
|
53569
|
+
@ConnectionPoolType.setter
|
|
53570
|
+
def ConnectionPoolType(self, ConnectionPoolType):
|
|
53571
|
+
self._ConnectionPoolType = ConnectionPoolType
|
|
53572
|
+
|
|
53573
|
+
@property
|
|
53574
|
+
def ConnectionPoolTimeOut(self):
|
|
53575
|
+
r"""<p>连接池阀值</p>
|
|
53576
|
+
:rtype: int
|
|
53577
|
+
"""
|
|
53578
|
+
return self._ConnectionPoolTimeOut
|
|
53579
|
+
|
|
53580
|
+
@ConnectionPoolTimeOut.setter
|
|
53581
|
+
def ConnectionPoolTimeOut(self, ConnectionPoolTimeOut):
|
|
53582
|
+
self._ConnectionPoolTimeOut = ConnectionPoolTimeOut
|
|
53583
|
+
|
|
53584
|
+
|
|
53585
|
+
def _deserialize(self, params):
|
|
53586
|
+
self._UniqueVpcId = params.get("UniqueVpcId")
|
|
53587
|
+
self._UniqueSubnetId = params.get("UniqueSubnetId")
|
|
53588
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
53589
|
+
self._WeightMode = params.get("WeightMode")
|
|
53590
|
+
self._AutoAddRo = params.get("AutoAddRo")
|
|
53591
|
+
self._RwType = params.get("RwType")
|
|
53592
|
+
self._FailOver = params.get("FailOver")
|
|
53593
|
+
self._ConsistencyTimeOut = params.get("ConsistencyTimeOut")
|
|
53594
|
+
self._ConsistencyType = params.get("ConsistencyType")
|
|
53595
|
+
self._TransSplit = params.get("TransSplit")
|
|
53596
|
+
self._AccessMode = params.get("AccessMode")
|
|
53597
|
+
if params.get("InstanceWeights") is not None:
|
|
53598
|
+
self._InstanceWeights = []
|
|
53599
|
+
for item in params.get("InstanceWeights"):
|
|
53600
|
+
obj = ProxyInstanceWeight()
|
|
53601
|
+
obj._deserialize(item)
|
|
53602
|
+
self._InstanceWeights.append(obj)
|
|
53603
|
+
self._Description = params.get("Description")
|
|
53604
|
+
self._LoadBalanceMode = params.get("LoadBalanceMode")
|
|
53605
|
+
self._OpenConnectionPool = params.get("OpenConnectionPool")
|
|
53606
|
+
self._ConnectionPoolType = params.get("ConnectionPoolType")
|
|
53607
|
+
self._ConnectionPoolTimeOut = params.get("ConnectionPoolTimeOut")
|
|
53608
|
+
memeber_set = set(params.keys())
|
|
53609
|
+
for name, value in vars(self).items():
|
|
53610
|
+
property_name = name[1:]
|
|
53611
|
+
if property_name in memeber_set:
|
|
53612
|
+
memeber_set.remove(property_name)
|
|
53613
|
+
if len(memeber_set) > 0:
|
|
53614
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
53615
|
+
|
|
53616
|
+
|
|
53617
|
+
|
|
53223
53618
|
class ProxyGroup(AbstractModel):
|
|
53224
53619
|
r"""proxy组
|
|
53225
53620
|
|
|
@@ -1386,6 +1386,29 @@ class DatabuddyClient(AbstractClient):
|
|
|
1386
1386
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1387
1387
|
|
|
1388
1388
|
|
|
1389
|
+
def ListScheduledTasks(self, request):
|
|
1390
|
+
r"""分页查询工作空间下的定时任务列表;支持按 SessionType、AnalysisSpaceId、TaskName 过滤。返回内容包含任务的完整详情,含 SkillIds 与 MCPIds。
|
|
1391
|
+
|
|
1392
|
+
:param request: Request instance for ListScheduledTasks.
|
|
1393
|
+
:type request: :class:`tencentcloud.databuddy.v20260715.models.ListScheduledTasksRequest`
|
|
1394
|
+
:rtype: :class:`tencentcloud.databuddy.v20260715.models.ListScheduledTasksResponse`
|
|
1395
|
+
|
|
1396
|
+
"""
|
|
1397
|
+
try:
|
|
1398
|
+
params = request._serialize()
|
|
1399
|
+
headers = request.headers
|
|
1400
|
+
body = self.call("ListScheduledTasks", params, headers=headers)
|
|
1401
|
+
response = json.loads(body)
|
|
1402
|
+
model = models.ListScheduledTasksResponse()
|
|
1403
|
+
model._deserialize(response["Response"])
|
|
1404
|
+
return model
|
|
1405
|
+
except Exception as e:
|
|
1406
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1407
|
+
raise
|
|
1408
|
+
else:
|
|
1409
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1410
|
+
|
|
1411
|
+
|
|
1389
1412
|
def ListSchemaNames(self, request):
|
|
1390
1413
|
r"""分页查询数据库名称列表
|
|
1391
1414
|
|
|
@@ -1100,6 +1100,24 @@ class DatabuddyClient(AbstractClient):
|
|
|
1100
1100
|
|
|
1101
1101
|
return await self.call_and_deserialize(**kwargs)
|
|
1102
1102
|
|
|
1103
|
+
async def ListScheduledTasks(
|
|
1104
|
+
self,
|
|
1105
|
+
request: models.ListScheduledTasksRequest,
|
|
1106
|
+
opts: Dict = None,
|
|
1107
|
+
) -> models.ListScheduledTasksResponse:
|
|
1108
|
+
"""
|
|
1109
|
+
分页查询工作空间下的定时任务列表;支持按 SessionType、AnalysisSpaceId、TaskName 过滤。返回内容包含任务的完整详情,含 SkillIds 与 MCPIds。
|
|
1110
|
+
"""
|
|
1111
|
+
|
|
1112
|
+
kwargs = {}
|
|
1113
|
+
kwargs["action"] = "ListScheduledTasks"
|
|
1114
|
+
kwargs["params"] = request._serialize()
|
|
1115
|
+
kwargs["resp_cls"] = models.ListScheduledTasksResponse
|
|
1116
|
+
kwargs["headers"] = request.headers
|
|
1117
|
+
kwargs["opts"] = opts or {}
|
|
1118
|
+
|
|
1119
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1120
|
+
|
|
1103
1121
|
async def ListSchemaNames(
|
|
1104
1122
|
self,
|
|
1105
1123
|
request: models.ListSchemaNamesRequest,
|