tencentcloud-sdk-python 3.1.191__py2.py3-none-any.whl → 3.1.192__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/ai3d_client.py +6 -2
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -0
- tencentcloud/cdb/v20170320/models.py +42 -12
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/clb_client_async.py +1 -1
- tencentcloud/clb/v20180317/errorcodes.py +6 -0
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/cls/v20201016/models.py +17 -0
- tencentcloud/cynosdb/v20190107/models.py +2 -2
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/fwm/v20250611/fwm_client.py +161 -0
- tencentcloud/fwm/v20250611/fwm_client_async.py +126 -0
- tencentcloud/fwm/v20250611/models.py +775 -9
- tencentcloud/ga2/v20250115/models.py +2 -2
- tencentcloud/hai/v20230812/models.py +19 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +18 -0
- tencentcloud/iotexplorer/v20190423/models.py +196 -64
- tencentcloud/iss/v20230517/models.py +93 -48
- tencentcloud/kms/v20190118/models.py +30 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/errorcodes.py +6 -0
- tencentcloud/tcb/v20180608/models.py +12 -12
- tencentcloud/tds/v20220801/models.py +4 -4
- tencentcloud/teo/v20220901/models.py +179 -36
- tencentcloud/teo/v20220901/teo_client.py +16 -8
- tencentcloud/teo/v20220901/teo_client_async.py +15 -7
- {tencentcloud_sdk_python-3.1.191.dist-info → tencentcloud_sdk_python-3.1.192.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.191.dist-info → tencentcloud_sdk_python-3.1.192.dist-info}/RECORD +32 -32
- {tencentcloud_sdk_python-3.1.191.dist-info → tencentcloud_sdk_python-3.1.192.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.191.dist-info → tencentcloud_sdk_python-3.1.192.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.191.dist-info → tencentcloud_sdk_python-3.1.192.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -120,7 +120,9 @@ class Ai3dClient(AbstractClient):
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
def DescribeProfileTo3DJob(self, request):
|
|
123
|
-
r"""
|
|
123
|
+
r"""混元旧模型即将下线,对应模型云侧绑定的接口需下线处理,目前无客户调用,且产品侧已经通知客户。
|
|
124
|
+
|
|
125
|
+
混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
|
|
124
126
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
125
127
|
|
|
126
128
|
:param request: Request instance for DescribeProfileTo3DJob.
|
|
@@ -405,7 +407,9 @@ class Ai3dClient(AbstractClient):
|
|
|
405
407
|
|
|
406
408
|
|
|
407
409
|
def SubmitProfileTo3DJob(self, request):
|
|
408
|
-
r"""
|
|
410
|
+
r"""混元旧模型即将下线,对应模型云侧绑定的接口需下线处理,目前无客户调用,且产品侧已经通知客户。
|
|
411
|
+
|
|
412
|
+
混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
|
|
409
413
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
410
414
|
|
|
411
415
|
:param request: Request instance for SubmitProfileTo3DJob.
|
|
@@ -104,6 +104,8 @@ class Ai3dClient(AbstractClient):
|
|
|
104
104
|
opts: Dict = None,
|
|
105
105
|
) -> models.DescribeProfileTo3DJobResponse:
|
|
106
106
|
"""
|
|
107
|
+
混元旧模型即将下线,对应模型云侧绑定的接口需下线处理,目前无客户调用,且产品侧已经通知客户。
|
|
108
|
+
|
|
107
109
|
混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
|
|
108
110
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
109
111
|
"""
|
|
@@ -329,6 +331,8 @@ class Ai3dClient(AbstractClient):
|
|
|
329
331
|
opts: Dict = None,
|
|
330
332
|
) -> models.SubmitProfileTo3DJobResponse:
|
|
331
333
|
"""
|
|
334
|
+
混元旧模型即将下线,对应模型云侧绑定的接口需下线处理,目前无客户调用,且产品侧已经通知客户。
|
|
335
|
+
|
|
332
336
|
混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
|
|
333
337
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
334
338
|
"""
|
|
@@ -38456,26 +38456,32 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38456
38456
|
|
|
38457
38457
|
def __init__(self):
|
|
38458
38458
|
r"""
|
|
38459
|
-
:param _InstanceId:
|
|
38459
|
+
:param _InstanceId: <p>实例 ID。</p>
|
|
38460
38460
|
:type InstanceId: str
|
|
38461
|
-
:param _DstSlave:
|
|
38461
|
+
:param _DstSlave: <p>目标从实例。可选值:"first" - 第一备机;"second" - 第二备机;"third" - 第三备机。默认值为 "first",仅多可用区实例支持设置为 "second"。</p>
|
|
38462
38462
|
:type DstSlave: str
|
|
38463
|
-
:param _ForceSwitch:
|
|
38463
|
+
:param _ForceSwitch: <p>是否强制切换。默认为 False。注意,若设置强制切换为 True,实例存在丢失数据的风险,请谨慎使用。</p>
|
|
38464
38464
|
:type ForceSwitch: bool
|
|
38465
|
-
:param _WaitSwitch:
|
|
38465
|
+
:param _WaitSwitch: <p>是否时间窗内切换。默认为 False,即不在时间窗内切换。注意,如果设置了 ForceSwitch 参数为 True,则该参数不生效。</p>
|
|
38466
38466
|
:type WaitSwitch: bool
|
|
38467
|
-
:param _DstNodeId:
|
|
38467
|
+
:param _DstNodeId: <p>集群版实例指定节点 ID 发起主从切换。</p>
|
|
38468
38468
|
:type DstNodeId: str
|
|
38469
|
+
:param _SyncTimeout: <p>等待主备位点差收敛到阈值以内的最长时间,范围:30s-3600s</p>
|
|
38470
|
+
:type SyncTimeout: int
|
|
38471
|
+
:param _SyncDistance: <p>slave 执行位点和读到位点差值,在最长等待时间内,位点差需小于该值才启动切换</p>
|
|
38472
|
+
:type SyncDistance: str
|
|
38469
38473
|
"""
|
|
38470
38474
|
self._InstanceId = None
|
|
38471
38475
|
self._DstSlave = None
|
|
38472
38476
|
self._ForceSwitch = None
|
|
38473
38477
|
self._WaitSwitch = None
|
|
38474
38478
|
self._DstNodeId = None
|
|
38479
|
+
self._SyncTimeout = None
|
|
38480
|
+
self._SyncDistance = None
|
|
38475
38481
|
|
|
38476
38482
|
@property
|
|
38477
38483
|
def InstanceId(self):
|
|
38478
|
-
r"""
|
|
38484
|
+
r"""<p>实例 ID。</p>
|
|
38479
38485
|
:rtype: str
|
|
38480
38486
|
"""
|
|
38481
38487
|
return self._InstanceId
|
|
@@ -38486,7 +38492,7 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38486
38492
|
|
|
38487
38493
|
@property
|
|
38488
38494
|
def DstSlave(self):
|
|
38489
|
-
r"""
|
|
38495
|
+
r"""<p>目标从实例。可选值:"first" - 第一备机;"second" - 第二备机;"third" - 第三备机。默认值为 "first",仅多可用区实例支持设置为 "second"。</p>
|
|
38490
38496
|
:rtype: str
|
|
38491
38497
|
"""
|
|
38492
38498
|
return self._DstSlave
|
|
@@ -38499,7 +38505,7 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38499
38505
|
def ForceSwitch(self):
|
|
38500
38506
|
warnings.warn("parameter `ForceSwitch` is deprecated", DeprecationWarning)
|
|
38501
38507
|
|
|
38502
|
-
r"""
|
|
38508
|
+
r"""<p>是否强制切换。默认为 False。注意,若设置强制切换为 True,实例存在丢失数据的风险,请谨慎使用。</p>
|
|
38503
38509
|
:rtype: bool
|
|
38504
38510
|
"""
|
|
38505
38511
|
return self._ForceSwitch
|
|
@@ -38512,7 +38518,7 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38512
38518
|
|
|
38513
38519
|
@property
|
|
38514
38520
|
def WaitSwitch(self):
|
|
38515
|
-
r"""
|
|
38521
|
+
r"""<p>是否时间窗内切换。默认为 False,即不在时间窗内切换。注意,如果设置了 ForceSwitch 参数为 True,则该参数不生效。</p>
|
|
38516
38522
|
:rtype: bool
|
|
38517
38523
|
"""
|
|
38518
38524
|
return self._WaitSwitch
|
|
@@ -38523,7 +38529,7 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38523
38529
|
|
|
38524
38530
|
@property
|
|
38525
38531
|
def DstNodeId(self):
|
|
38526
|
-
r"""
|
|
38532
|
+
r"""<p>集群版实例指定节点 ID 发起主从切换。</p>
|
|
38527
38533
|
:rtype: str
|
|
38528
38534
|
"""
|
|
38529
38535
|
return self._DstNodeId
|
|
@@ -38532,6 +38538,28 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38532
38538
|
def DstNodeId(self, DstNodeId):
|
|
38533
38539
|
self._DstNodeId = DstNodeId
|
|
38534
38540
|
|
|
38541
|
+
@property
|
|
38542
|
+
def SyncTimeout(self):
|
|
38543
|
+
r"""<p>等待主备位点差收敛到阈值以内的最长时间,范围:30s-3600s</p>
|
|
38544
|
+
:rtype: int
|
|
38545
|
+
"""
|
|
38546
|
+
return self._SyncTimeout
|
|
38547
|
+
|
|
38548
|
+
@SyncTimeout.setter
|
|
38549
|
+
def SyncTimeout(self, SyncTimeout):
|
|
38550
|
+
self._SyncTimeout = SyncTimeout
|
|
38551
|
+
|
|
38552
|
+
@property
|
|
38553
|
+
def SyncDistance(self):
|
|
38554
|
+
r"""<p>slave 执行位点和读到位点差值,在最长等待时间内,位点差需小于该值才启动切换</p>
|
|
38555
|
+
:rtype: str
|
|
38556
|
+
"""
|
|
38557
|
+
return self._SyncDistance
|
|
38558
|
+
|
|
38559
|
+
@SyncDistance.setter
|
|
38560
|
+
def SyncDistance(self, SyncDistance):
|
|
38561
|
+
self._SyncDistance = SyncDistance
|
|
38562
|
+
|
|
38535
38563
|
|
|
38536
38564
|
def _deserialize(self, params):
|
|
38537
38565
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -38539,6 +38567,8 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38539
38567
|
self._ForceSwitch = params.get("ForceSwitch")
|
|
38540
38568
|
self._WaitSwitch = params.get("WaitSwitch")
|
|
38541
38569
|
self._DstNodeId = params.get("DstNodeId")
|
|
38570
|
+
self._SyncTimeout = params.get("SyncTimeout")
|
|
38571
|
+
self._SyncDistance = params.get("SyncDistance")
|
|
38542
38572
|
memeber_set = set(params.keys())
|
|
38543
38573
|
for name, value in vars(self).items():
|
|
38544
38574
|
property_name = name[1:]
|
|
@@ -38556,7 +38586,7 @@ class SwitchDBInstanceMasterSlaveResponse(AbstractModel):
|
|
|
38556
38586
|
|
|
38557
38587
|
def __init__(self):
|
|
38558
38588
|
r"""
|
|
38559
|
-
:param _AsyncRequestId:
|
|
38589
|
+
:param _AsyncRequestId: <p>异步任务 ID。</p>
|
|
38560
38590
|
:type AsyncRequestId: str
|
|
38561
38591
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
38562
38592
|
:type RequestId: str
|
|
@@ -38566,7 +38596,7 @@ class SwitchDBInstanceMasterSlaveResponse(AbstractModel):
|
|
|
38566
38596
|
|
|
38567
38597
|
@property
|
|
38568
38598
|
def AsyncRequestId(self):
|
|
38569
|
-
r"""
|
|
38599
|
+
r"""<p>异步任务 ID。</p>
|
|
38570
38600
|
:rtype: str
|
|
38571
38601
|
"""
|
|
38572
38602
|
return self._AsyncRequestId
|
|
@@ -729,7 +729,7 @@ class ClbClient(AbstractClient):
|
|
|
729
729
|
|
|
730
730
|
|
|
731
731
|
def CreateUserGroup(self, request):
|
|
732
|
-
r"""在指定模型路由实例下创建一个用户组。用户组是介于模型路由实例与 Key 之间的一层可选分组,可为组内 Key 统一配置模型白名单,并通过关联 Budget 统一管理额度。创建为异步操作,接口会同步返回用户组ID,可凭返回的 RequestId 调用 DescribeAsyncJobs
|
|
732
|
+
r"""在指定模型路由实例下创建一个用户组。用户组是介于模型路由实例与 Key 之间的一层可选分组,可为组内 Key 统一配置模型白名单,并通过关联 Budget 统一管理额度。创建为异步操作,接口会同步返回用户组ID,可凭返回的 RequestId 调用 DescribeAsyncJobs 查询创建进度。支持建组时绑定 Prompt:传入 PromptId 与 PromptVersion 后,组内 Key 的请求将按该版本 Prompt 的 Content 与 RewriteStrategy 注入或改写 system 内容,并受该版本 MaxTokens 约束;不传则默认不绑定 Prompt,建组后可通过 ModifyUserGroupPrompt 绑定、更换版本或解绑。仅传入 PromptId 或 PromptVersion 其一时返回 InvalidParameter;PromptId 不存在时返回 ResourceNotFound.Prompt;PromptVersion 不存在于该 Prompt 的历史版本中时返回 ResourceNotFound.PromptVersion。
|
|
733
733
|
|
|
734
734
|
:param request: Request instance for CreateUserGroup.
|
|
735
735
|
:type request: :class:`tencentcloud.clb.v20180317.models.CreateUserGroupRequest`
|
|
@@ -588,7 +588,7 @@ class ClbClient(AbstractClient):
|
|
|
588
588
|
opts: Dict = None,
|
|
589
589
|
) -> models.CreateUserGroupResponse:
|
|
590
590
|
"""
|
|
591
|
-
在指定模型路由实例下创建一个用户组。用户组是介于模型路由实例与 Key 之间的一层可选分组,可为组内 Key 统一配置模型白名单,并通过关联 Budget 统一管理额度。创建为异步操作,接口会同步返回用户组ID,可凭返回的 RequestId 调用 DescribeAsyncJobs
|
|
591
|
+
在指定模型路由实例下创建一个用户组。用户组是介于模型路由实例与 Key 之间的一层可选分组,可为组内 Key 统一配置模型白名单,并通过关联 Budget 统一管理额度。创建为异步操作,接口会同步返回用户组ID,可凭返回的 RequestId 调用 DescribeAsyncJobs 查询创建进度。支持建组时绑定 Prompt:传入 PromptId 与 PromptVersion 后,组内 Key 的请求将按该版本 Prompt 的 Content 与 RewriteStrategy 注入或改写 system 内容,并受该版本 MaxTokens 约束;不传则默认不绑定 Prompt,建组后可通过 ModifyUserGroupPrompt 绑定、更换版本或解绑。仅传入 PromptId 或 PromptVersion 其一时返回 InvalidParameter;PromptId 不存在时返回 ResourceNotFound.Prompt;PromptVersion 不存在于该 Prompt 的历史版本中时返回 ResourceNotFound.PromptVersion。
|
|
592
592
|
"""
|
|
593
593
|
|
|
594
594
|
kwargs = {}
|
|
@@ -173,6 +173,12 @@ RESOURCEINSUFFICIENT = 'ResourceInsufficient'
|
|
|
173
173
|
# 资源不存在。
|
|
174
174
|
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
175
175
|
|
|
176
|
+
# 提示词未找到
|
|
177
|
+
RESOURCENOTFOUND_PROMPT = 'ResourceNotFound.Prompt'
|
|
178
|
+
|
|
179
|
+
# ResourceNotFound.PromptVersion
|
|
180
|
+
RESOURCENOTFOUND_PROMPTVERSION = 'ResourceNotFound.PromptVersion'
|
|
181
|
+
|
|
176
182
|
# BYOK 实例(ServiceProvider)未找到或不属于当前用户。
|
|
177
183
|
RESOURCENOTFOUND_SERVICEPROVIDER = 'ResourceNotFound.ServiceProvider'
|
|
178
184
|
|
|
@@ -9156,6 +9156,10 @@ class CreateUserGroupRequest(AbstractModel):
|
|
|
9156
9156
|
:type UserGroupName: str
|
|
9157
9157
|
:param _BudgetId: <p>建组时直接关联的预算 ID(须为已存在的 Budget)。关联后由该 Budget 统一管理本组的消费上限与限速。不传表示不关联预算,可建组后再用 AssociateBudget 关联。</p>
|
|
9158
9158
|
:type BudgetId: str
|
|
9159
|
+
:param _PromptId: <p>建组时绑定的 Prompt 资源 ID(pmt-xxx,须为该实例下已存在的 Prompt)。与 PromptVersion 必须成对传入,仅传其一将返回错误。不传表示默认不绑定 Prompt,可建组后再调用 ModifyUserGroupPrompt 绑定或更换版本。绑定后,组内 Key 的请求将按该版本 Prompt 的 Content 与 RewriteStrategy 注入或改写 system 内容。</p>
|
|
9160
|
+
:type PromptId: str
|
|
9161
|
+
:param _PromptVersion: <p>绑定的 Prompt 版本号(如 v1、v2,由 CreatePrompt / CreatePromptVersion 生成,长度不超过16个字符),与 PromptId 必须成对传入,须为该 Prompt 下已存在的版本。版本为不可变快照,Prompt 后续新增版本不会自动生效于已绑定的用户组,需显式重新绑定新版本。一个用户组同时只关联一份 Prompt 的一个版本,重复绑定即为替换。</p>
|
|
9162
|
+
:type PromptVersion: str
|
|
9159
9163
|
:param _IntentRouters: <p>用户组意图路由白名单(ir-xxx)。每一项须为该实例已创建的意图路由名。命中意图路由名时其内部真实模型自动豁免白名单。为空表示不授权任何意图路由。</p>
|
|
9160
9164
|
:type IntentRouters: list of str
|
|
9161
9165
|
:param _KeyIds: <p>建组时同时绑定的已有 Key ID 列表,最多100个。每个 Key 须属于同一模型路由实例。建组与绑定为一个原子异步任务,任一 Key 失败则整组创建回滚。不传表示建空组。</p>
|
|
@@ -9168,6 +9172,8 @@ class CreateUserGroupRequest(AbstractModel):
|
|
|
9168
9172
|
self._ModelRouterId = None
|
|
9169
9173
|
self._UserGroupName = None
|
|
9170
9174
|
self._BudgetId = None
|
|
9175
|
+
self._PromptId = None
|
|
9176
|
+
self._PromptVersion = None
|
|
9171
9177
|
self._IntentRouters = None
|
|
9172
9178
|
self._KeyIds = None
|
|
9173
9179
|
self._Models = None
|
|
@@ -9206,6 +9212,28 @@ class CreateUserGroupRequest(AbstractModel):
|
|
|
9206
9212
|
def BudgetId(self, BudgetId):
|
|
9207
9213
|
self._BudgetId = BudgetId
|
|
9208
9214
|
|
|
9215
|
+
@property
|
|
9216
|
+
def PromptId(self):
|
|
9217
|
+
r"""<p>建组时绑定的 Prompt 资源 ID(pmt-xxx,须为该实例下已存在的 Prompt)。与 PromptVersion 必须成对传入,仅传其一将返回错误。不传表示默认不绑定 Prompt,可建组后再调用 ModifyUserGroupPrompt 绑定或更换版本。绑定后,组内 Key 的请求将按该版本 Prompt 的 Content 与 RewriteStrategy 注入或改写 system 内容。</p>
|
|
9218
|
+
:rtype: str
|
|
9219
|
+
"""
|
|
9220
|
+
return self._PromptId
|
|
9221
|
+
|
|
9222
|
+
@PromptId.setter
|
|
9223
|
+
def PromptId(self, PromptId):
|
|
9224
|
+
self._PromptId = PromptId
|
|
9225
|
+
|
|
9226
|
+
@property
|
|
9227
|
+
def PromptVersion(self):
|
|
9228
|
+
r"""<p>绑定的 Prompt 版本号(如 v1、v2,由 CreatePrompt / CreatePromptVersion 生成,长度不超过16个字符),与 PromptId 必须成对传入,须为该 Prompt 下已存在的版本。版本为不可变快照,Prompt 后续新增版本不会自动生效于已绑定的用户组,需显式重新绑定新版本。一个用户组同时只关联一份 Prompt 的一个版本,重复绑定即为替换。</p>
|
|
9229
|
+
:rtype: str
|
|
9230
|
+
"""
|
|
9231
|
+
return self._PromptVersion
|
|
9232
|
+
|
|
9233
|
+
@PromptVersion.setter
|
|
9234
|
+
def PromptVersion(self, PromptVersion):
|
|
9235
|
+
self._PromptVersion = PromptVersion
|
|
9236
|
+
|
|
9209
9237
|
@property
|
|
9210
9238
|
def IntentRouters(self):
|
|
9211
9239
|
r"""<p>用户组意图路由白名单(ir-xxx)。每一项须为该实例已创建的意图路由名。命中意图路由名时其内部真实模型自动豁免白名单。为空表示不授权任何意图路由。</p>
|
|
@@ -9255,6 +9283,8 @@ class CreateUserGroupRequest(AbstractModel):
|
|
|
9255
9283
|
self._ModelRouterId = params.get("ModelRouterId")
|
|
9256
9284
|
self._UserGroupName = params.get("UserGroupName")
|
|
9257
9285
|
self._BudgetId = params.get("BudgetId")
|
|
9286
|
+
self._PromptId = params.get("PromptId")
|
|
9287
|
+
self._PromptVersion = params.get("PromptVersion")
|
|
9258
9288
|
self._IntentRouters = params.get("IntentRouters")
|
|
9259
9289
|
self._KeyIds = params.get("KeyIds")
|
|
9260
9290
|
self._Models = params.get("Models")
|
|
@@ -4663,6 +4663,8 @@ class CloudProductTopicConfig(AbstractModel):
|
|
|
4663
4663
|
:type CustomKmsInfo: :class:`tencentcloud.cls.v20201016.models.CustomKmsInfo`
|
|
4664
4664
|
:param _TopicId: <p>主题自定义ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。</p><ul><li>用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符</li><li>尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。</li><li>如果指定该字段,需保证全地域唯一</li></ul>
|
|
4665
4665
|
:type TopicId: str
|
|
4666
|
+
:param _Extends: <p>主题扩展信息</p>
|
|
4667
|
+
:type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
|
4666
4668
|
"""
|
|
4667
4669
|
self._Encryption = None
|
|
4668
4670
|
self._PartitionCount = None
|
|
@@ -4677,6 +4679,7 @@ class CloudProductTopicConfig(AbstractModel):
|
|
|
4677
4679
|
self._IsWebTracking = None
|
|
4678
4680
|
self._CustomKmsInfo = None
|
|
4679
4681
|
self._TopicId = None
|
|
4682
|
+
self._Extends = None
|
|
4680
4683
|
|
|
4681
4684
|
@property
|
|
4682
4685
|
def Encryption(self):
|
|
@@ -4821,6 +4824,17 @@ class CloudProductTopicConfig(AbstractModel):
|
|
|
4821
4824
|
def TopicId(self, TopicId):
|
|
4822
4825
|
self._TopicId = TopicId
|
|
4823
4826
|
|
|
4827
|
+
@property
|
|
4828
|
+
def Extends(self):
|
|
4829
|
+
r"""<p>主题扩展信息</p>
|
|
4830
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
|
4831
|
+
"""
|
|
4832
|
+
return self._Extends
|
|
4833
|
+
|
|
4834
|
+
@Extends.setter
|
|
4835
|
+
def Extends(self, Extends):
|
|
4836
|
+
self._Extends = Extends
|
|
4837
|
+
|
|
4824
4838
|
|
|
4825
4839
|
def _deserialize(self, params):
|
|
4826
4840
|
self._Encryption = params.get("Encryption")
|
|
@@ -4838,6 +4852,9 @@ class CloudProductTopicConfig(AbstractModel):
|
|
|
4838
4852
|
self._CustomKmsInfo = CustomKmsInfo()
|
|
4839
4853
|
self._CustomKmsInfo._deserialize(params.get("CustomKmsInfo"))
|
|
4840
4854
|
self._TopicId = params.get("TopicId")
|
|
4855
|
+
if params.get("Extends") is not None:
|
|
4856
|
+
self._Extends = TopicExtendInfo()
|
|
4857
|
+
self._Extends._deserialize(params.get("Extends"))
|
|
4841
4858
|
memeber_set = set(params.keys())
|
|
4842
4859
|
for name, value in vars(self).items():
|
|
4843
4860
|
property_name = name[1:]
|
|
@@ -47006,7 +47006,7 @@ class ModifyProxyRwSplitRequest(AbstractModel):
|
|
|
47006
47006
|
:type ProxyGroupId: str
|
|
47007
47007
|
:param _ConsistencyType: <p>一致性类型;“eventual"-最终一致性, "session"-会话一致性, "global"-全局一致性</p>
|
|
47008
47008
|
:type ConsistencyType: str
|
|
47009
|
-
:param _ConsistencyTimeOut: <p
|
|
47009
|
+
:param _ConsistencyTimeOut: <p>一致性超时时间。取值范围:0~1000000(毫秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待。</p>
|
|
47010
47010
|
:type ConsistencyTimeOut: str
|
|
47011
47011
|
:param _WeightMode: <p>读写权重分配模式;系统自动分配:"system", 自定义:"custom"</p>
|
|
47012
47012
|
:type WeightMode: str
|
|
@@ -47094,7 +47094,7 @@ class ModifyProxyRwSplitRequest(AbstractModel):
|
|
|
47094
47094
|
|
|
47095
47095
|
@property
|
|
47096
47096
|
def ConsistencyTimeOut(self):
|
|
47097
|
-
r"""<p
|
|
47097
|
+
r"""<p>一致性超时时间。取值范围:0~1000000(毫秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待。</p>
|
|
47098
47098
|
:rtype: str
|
|
47099
47099
|
"""
|
|
47100
47100
|
return self._ConsistencyTimeOut
|
|
@@ -5703,6 +5703,8 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
5703
5703
|
:type AirflowDagSource: :class:`tencentcloud.emr.v20190103.models.AirflowDagSourceInput`
|
|
5704
5704
|
:param _AirflowGitCredential: <p>airflow源凭证</p>
|
|
5705
5705
|
:type AirflowGitCredential: :class:`tencentcloud.emr.v20190103.models.AirflowGitCredentialInput`
|
|
5706
|
+
:param _SgIds: <p>多安全组绑定</p>
|
|
5707
|
+
:type SgIds: list of str
|
|
5706
5708
|
"""
|
|
5707
5709
|
self._InstanceName = None
|
|
5708
5710
|
self._ClusterClass = None
|
|
@@ -5731,6 +5733,7 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
5731
5733
|
self._LogStoreID = None
|
|
5732
5734
|
self._AirflowDagSource = None
|
|
5733
5735
|
self._AirflowGitCredential = None
|
|
5736
|
+
self._SgIds = None
|
|
5734
5737
|
|
|
5735
5738
|
@property
|
|
5736
5739
|
def InstanceName(self):
|
|
@@ -6029,6 +6032,17 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
6029
6032
|
def AirflowGitCredential(self, AirflowGitCredential):
|
|
6030
6033
|
self._AirflowGitCredential = AirflowGitCredential
|
|
6031
6034
|
|
|
6035
|
+
@property
|
|
6036
|
+
def SgIds(self):
|
|
6037
|
+
r"""<p>多安全组绑定</p>
|
|
6038
|
+
:rtype: list of str
|
|
6039
|
+
"""
|
|
6040
|
+
return self._SgIds
|
|
6041
|
+
|
|
6042
|
+
@SgIds.setter
|
|
6043
|
+
def SgIds(self, SgIds):
|
|
6044
|
+
self._SgIds = SgIds
|
|
6045
|
+
|
|
6032
6046
|
|
|
6033
6047
|
def _deserialize(self, params):
|
|
6034
6048
|
self._InstanceName = params.get("InstanceName")
|
|
@@ -6087,6 +6101,7 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
6087
6101
|
if params.get("AirflowGitCredential") is not None:
|
|
6088
6102
|
self._AirflowGitCredential = AirflowGitCredentialInput()
|
|
6089
6103
|
self._AirflowGitCredential._deserialize(params.get("AirflowGitCredential"))
|
|
6104
|
+
self._SgIds = params.get("SgIds")
|
|
6090
6105
|
memeber_set = set(params.keys())
|
|
6091
6106
|
for name, value in vars(self).items():
|
|
6092
6107
|
property_name = name[1:]
|
|
@@ -49,6 +49,29 @@ class FwmClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def CreateAccountGroup(self, request):
|
|
53
|
+
r"""创建账户组
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for CreateAccountGroup.
|
|
56
|
+
:type request: :class:`tencentcloud.fwm.v20250611.models.CreateAccountGroupRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.fwm.v20250611.models.CreateAccountGroupResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("CreateAccountGroup", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.CreateAccountGroupResponse()
|
|
66
|
+
model._deserialize(response["Response"])
|
|
67
|
+
return model
|
|
68
|
+
except Exception as e:
|
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
|
70
|
+
raise
|
|
71
|
+
else:
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
|
+
|
|
74
|
+
|
|
52
75
|
def CreateAnalyzePolicyTask(self, request):
|
|
53
76
|
r"""创建策略风险分析任务
|
|
54
77
|
|
|
@@ -302,6 +325,29 @@ class FwmClient(AbstractClient):
|
|
|
302
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
326
|
|
|
304
327
|
|
|
328
|
+
def DeleteAccountGroup(self, request):
|
|
329
|
+
r"""删除账户组,账户组下有成员时不可删除
|
|
330
|
+
|
|
331
|
+
:param request: Request instance for DeleteAccountGroup.
|
|
332
|
+
:type request: :class:`tencentcloud.fwm.v20250611.models.DeleteAccountGroupRequest`
|
|
333
|
+
:rtype: :class:`tencentcloud.fwm.v20250611.models.DeleteAccountGroupResponse`
|
|
334
|
+
|
|
335
|
+
"""
|
|
336
|
+
try:
|
|
337
|
+
params = request._serialize()
|
|
338
|
+
headers = request.headers
|
|
339
|
+
body = self.call("DeleteAccountGroup", params, headers=headers)
|
|
340
|
+
response = json.loads(body)
|
|
341
|
+
model = models.DeleteAccountGroupResponse()
|
|
342
|
+
model._deserialize(response["Response"])
|
|
343
|
+
return model
|
|
344
|
+
except Exception as e:
|
|
345
|
+
if isinstance(e, TencentCloudSDKException):
|
|
346
|
+
raise
|
|
347
|
+
else:
|
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
|
+
|
|
350
|
+
|
|
305
351
|
def DeleteEdgeAclRule(self, request):
|
|
306
352
|
r"""批量删除互联网边界ACL规则。支持一次删除多条规则。
|
|
307
353
|
|
|
@@ -440,6 +486,29 @@ class FwmClient(AbstractClient):
|
|
|
440
486
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
487
|
|
|
442
488
|
|
|
489
|
+
def DescribeAccountGroups(self, request):
|
|
490
|
+
r"""获取账户组列表,支持分页和关键词搜索
|
|
491
|
+
|
|
492
|
+
:param request: Request instance for DescribeAccountGroups.
|
|
493
|
+
:type request: :class:`tencentcloud.fwm.v20250611.models.DescribeAccountGroupsRequest`
|
|
494
|
+
:rtype: :class:`tencentcloud.fwm.v20250611.models.DescribeAccountGroupsResponse`
|
|
495
|
+
|
|
496
|
+
"""
|
|
497
|
+
try:
|
|
498
|
+
params = request._serialize()
|
|
499
|
+
headers = request.headers
|
|
500
|
+
body = self.call("DescribeAccountGroups", params, headers=headers)
|
|
501
|
+
response = json.loads(body)
|
|
502
|
+
model = models.DescribeAccountGroupsResponse()
|
|
503
|
+
model._deserialize(response["Response"])
|
|
504
|
+
return model
|
|
505
|
+
except Exception as e:
|
|
506
|
+
if isinstance(e, TencentCloudSDKException):
|
|
507
|
+
raise
|
|
508
|
+
else:
|
|
509
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
510
|
+
|
|
511
|
+
|
|
443
512
|
def DescribeEdgeAclRules(self, request):
|
|
444
513
|
r"""查询指定规则组下的互联网边界ACL规则列表。支持分页和多种过滤条件。
|
|
445
514
|
|
|
@@ -854,6 +923,75 @@ class FwmClient(AbstractClient):
|
|
|
854
923
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
855
924
|
|
|
856
925
|
|
|
926
|
+
def ModifyAccountGroup(self, request):
|
|
927
|
+
r"""修改账户组名称
|
|
928
|
+
|
|
929
|
+
:param request: Request instance for ModifyAccountGroup.
|
|
930
|
+
:type request: :class:`tencentcloud.fwm.v20250611.models.ModifyAccountGroupRequest`
|
|
931
|
+
:rtype: :class:`tencentcloud.fwm.v20250611.models.ModifyAccountGroupResponse`
|
|
932
|
+
|
|
933
|
+
"""
|
|
934
|
+
try:
|
|
935
|
+
params = request._serialize()
|
|
936
|
+
headers = request.headers
|
|
937
|
+
body = self.call("ModifyAccountGroup", params, headers=headers)
|
|
938
|
+
response = json.loads(body)
|
|
939
|
+
model = models.ModifyAccountGroupResponse()
|
|
940
|
+
model._deserialize(response["Response"])
|
|
941
|
+
return model
|
|
942
|
+
except Exception as e:
|
|
943
|
+
if isinstance(e, TencentCloudSDKException):
|
|
944
|
+
raise
|
|
945
|
+
else:
|
|
946
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
def ModifyCfwManaged(self, request):
|
|
950
|
+
r"""设置成员账号的云防火墙纳管状态
|
|
951
|
+
|
|
952
|
+
:param request: Request instance for ModifyCfwManaged.
|
|
953
|
+
:type request: :class:`tencentcloud.fwm.v20250611.models.ModifyCfwManagedRequest`
|
|
954
|
+
:rtype: :class:`tencentcloud.fwm.v20250611.models.ModifyCfwManagedResponse`
|
|
955
|
+
|
|
956
|
+
"""
|
|
957
|
+
try:
|
|
958
|
+
params = request._serialize()
|
|
959
|
+
headers = request.headers
|
|
960
|
+
body = self.call("ModifyCfwManaged", params, headers=headers)
|
|
961
|
+
response = json.loads(body)
|
|
962
|
+
model = models.ModifyCfwManagedResponse()
|
|
963
|
+
model._deserialize(response["Response"])
|
|
964
|
+
return model
|
|
965
|
+
except Exception as e:
|
|
966
|
+
if isinstance(e, TencentCloudSDKException):
|
|
967
|
+
raise
|
|
968
|
+
else:
|
|
969
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
def ModifyCfwShareRole(self, request):
|
|
973
|
+
r"""设置集团成员的云防火墙共享角色(sharer/user/none)。共享者全集团唯一;共享者→使用者禁止直接变更,需先将角色改为 none;设为使用者时必须指定共享者 SharerAppId。仅管理员可操作。
|
|
974
|
+
|
|
975
|
+
:param request: Request instance for ModifyCfwShareRole.
|
|
976
|
+
:type request: :class:`tencentcloud.fwm.v20250611.models.ModifyCfwShareRoleRequest`
|
|
977
|
+
:rtype: :class:`tencentcloud.fwm.v20250611.models.ModifyCfwShareRoleResponse`
|
|
978
|
+
|
|
979
|
+
"""
|
|
980
|
+
try:
|
|
981
|
+
params = request._serialize()
|
|
982
|
+
headers = request.headers
|
|
983
|
+
body = self.call("ModifyCfwShareRole", params, headers=headers)
|
|
984
|
+
response = json.loads(body)
|
|
985
|
+
model = models.ModifyCfwShareRoleResponse()
|
|
986
|
+
model._deserialize(response["Response"])
|
|
987
|
+
return model
|
|
988
|
+
except Exception as e:
|
|
989
|
+
if isinstance(e, TencentCloudSDKException):
|
|
990
|
+
raise
|
|
991
|
+
else:
|
|
992
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
993
|
+
|
|
994
|
+
|
|
857
995
|
def ModifyEdgeAclRule(self, request):
|
|
858
996
|
r"""修改互联网边界ACL规则。Rule 参数中必须包含 RuleId 用于指定要修改的规则。
|
|
859
997
|
|
|
@@ -900,6 +1038,29 @@ class FwmClient(AbstractClient):
|
|
|
900
1038
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
901
1039
|
|
|
902
1040
|
|
|
1041
|
+
def ModifyMemberGroup(self, request):
|
|
1042
|
+
r"""设置成员所属账户组,GroupId为空字符串表示移出账户组
|
|
1043
|
+
|
|
1044
|
+
:param request: Request instance for ModifyMemberGroup.
|
|
1045
|
+
:type request: :class:`tencentcloud.fwm.v20250611.models.ModifyMemberGroupRequest`
|
|
1046
|
+
:rtype: :class:`tencentcloud.fwm.v20250611.models.ModifyMemberGroupResponse`
|
|
1047
|
+
|
|
1048
|
+
"""
|
|
1049
|
+
try:
|
|
1050
|
+
params = request._serialize()
|
|
1051
|
+
headers = request.headers
|
|
1052
|
+
body = self.call("ModifyMemberGroup", params, headers=headers)
|
|
1053
|
+
response = json.loads(body)
|
|
1054
|
+
model = models.ModifyMemberGroupResponse()
|
|
1055
|
+
model._deserialize(response["Response"])
|
|
1056
|
+
return model
|
|
1057
|
+
except Exception as e:
|
|
1058
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1059
|
+
raise
|
|
1060
|
+
else:
|
|
1061
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1062
|
+
|
|
1063
|
+
|
|
903
1064
|
def ModifyNatAclRule(self, request):
|
|
904
1065
|
r"""修改NAT ACL规则
|
|
905
1066
|
|