tencentcloud-sdk-python 3.0.1341__py2.py3-none-any.whl → 3.0.1343__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/models.py +68 -0
- tencentcloud/billing/v20180709/billing_client.py +3 -1
- tencentcloud/billing/v20180709/models.py +90 -456
- tencentcloud/captcha/v20190722/models.py +6 -24
- tencentcloud/cdc/v20201214/models.py +0 -12
- tencentcloud/cdwpg/v20201230/models.py +4 -4
- tencentcloud/cdz/v20221123/models.py +0 -4
- tencentcloud/cfg/v20210820/models.py +0 -192
- tencentcloud/cfs/v20190719/errorcodes.py +3 -0
- tencentcloud/clb/v20180317/clb_client.py +2 -2
- tencentcloud/cvm/v20170312/cvm_client.py +23 -0
- tencentcloud/cvm/v20170312/models.py +211 -4
- tencentcloud/cwp/v20180228/models.py +160 -42
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +161 -0
- tencentcloud/dbbrain/v20210527/models.py +1743 -387
- tencentcloud/domain/v20180808/models.py +30 -26
- tencentcloud/dts/v20180330/models.py +0 -6
- tencentcloud/dts/v20211206/models.py +2 -210
- tencentcloud/ess/v20201111/models.py +136 -4
- tencentcloud/essbasic/v20210526/models.py +128 -6
- tencentcloud/hunyuan/v20230901/models.py +97 -21
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +69 -0
- tencentcloud/iotexplorer/v20190423/models.py +995 -65
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20211125/models.py +188 -0
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lighthouse/v20200324/errorcodes.py +12 -9
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +24 -17
- tencentcloud/lighthouse/v20200324/models.py +68 -36
- tencentcloud/lke/v20231130/lke_client.py +1 -1
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/lkeap/v20240522/models.py +4 -8
- tencentcloud/mariadb/v20170312/models.py +0 -24
- tencentcloud/mongodb/v20190725/models.py +6 -6
- tencentcloud/mps/v20190612/models.py +170 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +9 -0
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +0 -82
- tencentcloud/redis/v20180412/models.py +8 -8
- tencentcloud/ses/v20201002/models.py +2 -4
- tencentcloud/tat/v20201028/models.py +10 -8
- tencentcloud/tcb/v20180608/models.py +0 -234
- tencentcloud/tdmq/v20200217/models.py +17 -198
- tencentcloud/teo/v20220901/models.py +1182 -21
- tencentcloud/teo/v20220901/teo_client.py +8 -4
- tencentcloud/tione/v20211111/models.py +90 -0
- tencentcloud/trocket/v20230308/models.py +109 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trro/v20220325/models.py +140 -0
- tencentcloud/trro/v20220325/trro_client.py +25 -0
- tencentcloud/vdb/v20230616/models.py +45 -0
- tencentcloud/vdb/v20230616/vdb_client.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vrs/v20200824/models.py +32 -0
- tencentcloud/waf/v20180125/models.py +398 -0
- tencentcloud/waf/v20180125/waf_client.py +69 -0
- tencentcloud/wedata/v20210820/models.py +77 -0
- {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/RECORD +64 -64
- {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/top_level.txt +0 -0
@@ -609,7 +609,8 @@ class TeoClient(AbstractClient):
|
|
609
609
|
|
610
610
|
|
611
611
|
def CreateRule(self, request):
|
612
|
-
"""
|
612
|
+
"""本接口为旧版本创建规则引擎接口,EdgeOne 于 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本创建七层加速规则接口详情请参考 [CreateL7AccRules](https://cloud.tencent.com/document/product/1552/115822)。
|
613
|
+
<p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
|
613
614
|
|
614
615
|
:param request: Request instance for CreateRule.
|
615
616
|
:type request: :class:`tencentcloud.teo.v20220901.models.CreateRuleRequest`
|
@@ -1049,7 +1050,8 @@ class TeoClient(AbstractClient):
|
|
1049
1050
|
|
1050
1051
|
|
1051
1052
|
def DeleteRules(self, request):
|
1052
|
-
"""
|
1053
|
+
"""本接口为旧版本删除规则引擎接口,EdgeOne 于 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本删除七层加速规则接口详情请参考 [DeleteL7AccRules](https://cloud.tencent.com/document/product/1552/115821)。
|
1054
|
+
<p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
|
1053
1055
|
|
1054
1056
|
:param request: Request instance for DeleteRules.
|
1055
1057
|
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteRulesRequest`
|
@@ -1969,7 +1971,8 @@ class TeoClient(AbstractClient):
|
|
1969
1971
|
|
1970
1972
|
|
1971
1973
|
def DescribeRules(self, request):
|
1972
|
-
"""
|
1974
|
+
"""本接口为旧版本查询规则引擎规则接口,EdgeOne 于 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本查询七层加速规则接口详情请参考 [DescribeL7AccRules](https://cloud.tencent.com/document/product/1552/115820)。
|
1975
|
+
<p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
|
1973
1976
|
|
1974
1977
|
:param request: Request instance for DescribeRules.
|
1975
1978
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeRulesRequest`
|
@@ -3067,7 +3070,8 @@ class TeoClient(AbstractClient):
|
|
3067
3070
|
|
3068
3071
|
|
3069
3072
|
def ModifyRule(self, request):
|
3070
|
-
"""
|
3073
|
+
"""本接口为旧版本修改规则引擎接口,EdgeOne 于 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本修改七层加速规则接口详情请参考 [ModifyL7AccRule](https://cloud.tencent.com/document/product/1552/115818)。
|
3074
|
+
<p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
|
3071
3075
|
|
3072
3076
|
:param request: Request instance for ModifyRule.
|
3073
3077
|
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyRuleRequest`
|
@@ -1167,6 +1167,10 @@ HYBRID_PAID:
|
|
1167
1167
|
:type DeployType: str
|
1168
1168
|
:param _InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
1169
1169
|
:type InstancePerReplicas: int
|
1170
|
+
:param _TerminationGracePeriodSeconds: 30
|
1171
|
+
:type TerminationGracePeriodSeconds: int
|
1172
|
+
:param _PreStopCommand: ["sleep","60"]
|
1173
|
+
:type PreStopCommand: list of str
|
1170
1174
|
"""
|
1171
1175
|
self._ServiceGroupId = None
|
1172
1176
|
self._ServiceGroupName = None
|
@@ -1203,6 +1207,8 @@ HYBRID_PAID:
|
|
1203
1207
|
self._ServicePort = None
|
1204
1208
|
self._DeployType = None
|
1205
1209
|
self._InstancePerReplicas = None
|
1210
|
+
self._TerminationGracePeriodSeconds = None
|
1211
|
+
self._PreStopCommand = None
|
1206
1212
|
|
1207
1213
|
@property
|
1208
1214
|
def ServiceGroupId(self):
|
@@ -1612,6 +1618,28 @@ HYBRID_PAID:
|
|
1612
1618
|
def InstancePerReplicas(self, InstancePerReplicas):
|
1613
1619
|
self._InstancePerReplicas = InstancePerReplicas
|
1614
1620
|
|
1621
|
+
@property
|
1622
|
+
def TerminationGracePeriodSeconds(self):
|
1623
|
+
"""30
|
1624
|
+
:rtype: int
|
1625
|
+
"""
|
1626
|
+
return self._TerminationGracePeriodSeconds
|
1627
|
+
|
1628
|
+
@TerminationGracePeriodSeconds.setter
|
1629
|
+
def TerminationGracePeriodSeconds(self, TerminationGracePeriodSeconds):
|
1630
|
+
self._TerminationGracePeriodSeconds = TerminationGracePeriodSeconds
|
1631
|
+
|
1632
|
+
@property
|
1633
|
+
def PreStopCommand(self):
|
1634
|
+
"""["sleep","60"]
|
1635
|
+
:rtype: list of str
|
1636
|
+
"""
|
1637
|
+
return self._PreStopCommand
|
1638
|
+
|
1639
|
+
@PreStopCommand.setter
|
1640
|
+
def PreStopCommand(self, PreStopCommand):
|
1641
|
+
self._PreStopCommand = PreStopCommand
|
1642
|
+
|
1615
1643
|
|
1616
1644
|
def _deserialize(self, params):
|
1617
1645
|
self._ServiceGroupId = params.get("ServiceGroupId")
|
@@ -1682,6 +1710,8 @@ HYBRID_PAID:
|
|
1682
1710
|
self._ServicePort = params.get("ServicePort")
|
1683
1711
|
self._DeployType = params.get("DeployType")
|
1684
1712
|
self._InstancePerReplicas = params.get("InstancePerReplicas")
|
1713
|
+
self._TerminationGracePeriodSeconds = params.get("TerminationGracePeriodSeconds")
|
1714
|
+
self._PreStopCommand = params.get("PreStopCommand")
|
1685
1715
|
memeber_set = set(params.keys())
|
1686
1716
|
for name, value in vars(self).items():
|
1687
1717
|
property_name = name[1:]
|
@@ -11542,6 +11572,10 @@ HYBRID_PAID:
|
|
11542
11572
|
:type ServicePort: int
|
11543
11573
|
:param _InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
11544
11574
|
:type InstancePerReplicas: int
|
11575
|
+
:param _TerminationGracePeriodSeconds: 30
|
11576
|
+
:type TerminationGracePeriodSeconds: int
|
11577
|
+
:param _PreStopCommand: ["sleep","60"]
|
11578
|
+
:type PreStopCommand: list of str
|
11545
11579
|
"""
|
11546
11580
|
self._ServiceId = None
|
11547
11581
|
self._ModelInfo = None
|
@@ -11569,6 +11603,8 @@ HYBRID_PAID:
|
|
11569
11603
|
self._CommandBase64 = None
|
11570
11604
|
self._ServicePort = None
|
11571
11605
|
self._InstancePerReplicas = None
|
11606
|
+
self._TerminationGracePeriodSeconds = None
|
11607
|
+
self._PreStopCommand = None
|
11572
11608
|
|
11573
11609
|
@property
|
11574
11610
|
def ServiceId(self):
|
@@ -11879,6 +11915,28 @@ HYBRID_PAID:
|
|
11879
11915
|
def InstancePerReplicas(self, InstancePerReplicas):
|
11880
11916
|
self._InstancePerReplicas = InstancePerReplicas
|
11881
11917
|
|
11918
|
+
@property
|
11919
|
+
def TerminationGracePeriodSeconds(self):
|
11920
|
+
"""30
|
11921
|
+
:rtype: int
|
11922
|
+
"""
|
11923
|
+
return self._TerminationGracePeriodSeconds
|
11924
|
+
|
11925
|
+
@TerminationGracePeriodSeconds.setter
|
11926
|
+
def TerminationGracePeriodSeconds(self, TerminationGracePeriodSeconds):
|
11927
|
+
self._TerminationGracePeriodSeconds = TerminationGracePeriodSeconds
|
11928
|
+
|
11929
|
+
@property
|
11930
|
+
def PreStopCommand(self):
|
11931
|
+
"""["sleep","60"]
|
11932
|
+
:rtype: list of str
|
11933
|
+
"""
|
11934
|
+
return self._PreStopCommand
|
11935
|
+
|
11936
|
+
@PreStopCommand.setter
|
11937
|
+
def PreStopCommand(self, PreStopCommand):
|
11938
|
+
self._PreStopCommand = PreStopCommand
|
11939
|
+
|
11882
11940
|
|
11883
11941
|
def _deserialize(self, params):
|
11884
11942
|
self._ServiceId = params.get("ServiceId")
|
@@ -11935,6 +11993,8 @@ HYBRID_PAID:
|
|
11935
11993
|
self._CommandBase64 = params.get("CommandBase64")
|
11936
11994
|
self._ServicePort = params.get("ServicePort")
|
11937
11995
|
self._InstancePerReplicas = params.get("InstancePerReplicas")
|
11996
|
+
self._TerminationGracePeriodSeconds = params.get("TerminationGracePeriodSeconds")
|
11997
|
+
self._PreStopCommand = params.get("PreStopCommand")
|
11938
11998
|
memeber_set = set(params.keys())
|
11939
11999
|
for name, value in vars(self).items():
|
11940
12000
|
property_name = name[1:]
|
@@ -16369,6 +16429,10 @@ HYBRID_PAID:
|
|
16369
16429
|
:param _ServicePort: 服务端口,默认为8501
|
16370
16430
|
注意:此字段可能返回 null,表示取不到有效值。
|
16371
16431
|
:type ServicePort: int
|
16432
|
+
:param _TerminationGracePeriodSeconds: 服务的优雅退出时限。单位为秒,默认值为30,最小为1
|
16433
|
+
:type TerminationGracePeriodSeconds: int
|
16434
|
+
:param _PreStopCommand: 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
|
16435
|
+
:type PreStopCommand: list of str
|
16372
16436
|
"""
|
16373
16437
|
self._Replicas = None
|
16374
16438
|
self._ImageInfo = None
|
@@ -16402,6 +16466,8 @@ HYBRID_PAID:
|
|
16402
16466
|
self._Command = None
|
16403
16467
|
self._ServiceEIP = None
|
16404
16468
|
self._ServicePort = None
|
16469
|
+
self._TerminationGracePeriodSeconds = None
|
16470
|
+
self._PreStopCommand = None
|
16405
16471
|
|
16406
16472
|
@property
|
16407
16473
|
def Replicas(self):
|
@@ -16802,6 +16868,28 @@ HYBRID_PAID:
|
|
16802
16868
|
def ServicePort(self, ServicePort):
|
16803
16869
|
self._ServicePort = ServicePort
|
16804
16870
|
|
16871
|
+
@property
|
16872
|
+
def TerminationGracePeriodSeconds(self):
|
16873
|
+
"""服务的优雅退出时限。单位为秒,默认值为30,最小为1
|
16874
|
+
:rtype: int
|
16875
|
+
"""
|
16876
|
+
return self._TerminationGracePeriodSeconds
|
16877
|
+
|
16878
|
+
@TerminationGracePeriodSeconds.setter
|
16879
|
+
def TerminationGracePeriodSeconds(self, TerminationGracePeriodSeconds):
|
16880
|
+
self._TerminationGracePeriodSeconds = TerminationGracePeriodSeconds
|
16881
|
+
|
16882
|
+
@property
|
16883
|
+
def PreStopCommand(self):
|
16884
|
+
"""服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
|
16885
|
+
:rtype: list of str
|
16886
|
+
"""
|
16887
|
+
return self._PreStopCommand
|
16888
|
+
|
16889
|
+
@PreStopCommand.setter
|
16890
|
+
def PreStopCommand(self, PreStopCommand):
|
16891
|
+
self._PreStopCommand = PreStopCommand
|
16892
|
+
|
16805
16893
|
|
16806
16894
|
def _deserialize(self, params):
|
16807
16895
|
self._Replicas = params.get("Replicas")
|
@@ -16875,6 +16963,8 @@ HYBRID_PAID:
|
|
16875
16963
|
self._ServiceEIP = ServiceEIP()
|
16876
16964
|
self._ServiceEIP._deserialize(params.get("ServiceEIP"))
|
16877
16965
|
self._ServicePort = params.get("ServicePort")
|
16966
|
+
self._TerminationGracePeriodSeconds = params.get("TerminationGracePeriodSeconds")
|
16967
|
+
self._PreStopCommand = params.get("PreStopCommand")
|
16878
16968
|
memeber_set = set(params.keys())
|
16879
16969
|
for name, value in vars(self).items():
|
16880
16970
|
property_name = name[1:]
|
@@ -12070,6 +12070,115 @@ class ResendDeadLetterMessageResponse(AbstractModel):
|
|
12070
12070
|
self._RequestId = params.get("RequestId")
|
12071
12071
|
|
12072
12072
|
|
12073
|
+
class ResetConsumerGroupOffsetRequest(AbstractModel):
|
12074
|
+
"""ResetConsumerGroupOffset请求参数结构体
|
12075
|
+
|
12076
|
+
"""
|
12077
|
+
|
12078
|
+
def __init__(self):
|
12079
|
+
r"""
|
12080
|
+
:param _InstanceId: 集群ID
|
12081
|
+
:type InstanceId: str
|
12082
|
+
:param _Topic: 主题名称
|
12083
|
+
:type Topic: str
|
12084
|
+
:param _ResetTimestamp: 重置位点时间(单位:毫秒)-1表示重置到最新位点
|
12085
|
+
:type ResetTimestamp: int
|
12086
|
+
:param _ConsumerGroup: 消费组名称
|
12087
|
+
:type ConsumerGroup: str
|
12088
|
+
"""
|
12089
|
+
self._InstanceId = None
|
12090
|
+
self._Topic = None
|
12091
|
+
self._ResetTimestamp = None
|
12092
|
+
self._ConsumerGroup = None
|
12093
|
+
|
12094
|
+
@property
|
12095
|
+
def InstanceId(self):
|
12096
|
+
"""集群ID
|
12097
|
+
:rtype: str
|
12098
|
+
"""
|
12099
|
+
return self._InstanceId
|
12100
|
+
|
12101
|
+
@InstanceId.setter
|
12102
|
+
def InstanceId(self, InstanceId):
|
12103
|
+
self._InstanceId = InstanceId
|
12104
|
+
|
12105
|
+
@property
|
12106
|
+
def Topic(self):
|
12107
|
+
"""主题名称
|
12108
|
+
:rtype: str
|
12109
|
+
"""
|
12110
|
+
return self._Topic
|
12111
|
+
|
12112
|
+
@Topic.setter
|
12113
|
+
def Topic(self, Topic):
|
12114
|
+
self._Topic = Topic
|
12115
|
+
|
12116
|
+
@property
|
12117
|
+
def ResetTimestamp(self):
|
12118
|
+
"""重置位点时间(单位:毫秒)-1表示重置到最新位点
|
12119
|
+
:rtype: int
|
12120
|
+
"""
|
12121
|
+
return self._ResetTimestamp
|
12122
|
+
|
12123
|
+
@ResetTimestamp.setter
|
12124
|
+
def ResetTimestamp(self, ResetTimestamp):
|
12125
|
+
self._ResetTimestamp = ResetTimestamp
|
12126
|
+
|
12127
|
+
@property
|
12128
|
+
def ConsumerGroup(self):
|
12129
|
+
"""消费组名称
|
12130
|
+
:rtype: str
|
12131
|
+
"""
|
12132
|
+
return self._ConsumerGroup
|
12133
|
+
|
12134
|
+
@ConsumerGroup.setter
|
12135
|
+
def ConsumerGroup(self, ConsumerGroup):
|
12136
|
+
self._ConsumerGroup = ConsumerGroup
|
12137
|
+
|
12138
|
+
|
12139
|
+
def _deserialize(self, params):
|
12140
|
+
self._InstanceId = params.get("InstanceId")
|
12141
|
+
self._Topic = params.get("Topic")
|
12142
|
+
self._ResetTimestamp = params.get("ResetTimestamp")
|
12143
|
+
self._ConsumerGroup = params.get("ConsumerGroup")
|
12144
|
+
memeber_set = set(params.keys())
|
12145
|
+
for name, value in vars(self).items():
|
12146
|
+
property_name = name[1:]
|
12147
|
+
if property_name in memeber_set:
|
12148
|
+
memeber_set.remove(property_name)
|
12149
|
+
if len(memeber_set) > 0:
|
12150
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12151
|
+
|
12152
|
+
|
12153
|
+
|
12154
|
+
class ResetConsumerGroupOffsetResponse(AbstractModel):
|
12155
|
+
"""ResetConsumerGroupOffset返回参数结构体
|
12156
|
+
|
12157
|
+
"""
|
12158
|
+
|
12159
|
+
def __init__(self):
|
12160
|
+
r"""
|
12161
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12162
|
+
:type RequestId: str
|
12163
|
+
"""
|
12164
|
+
self._RequestId = None
|
12165
|
+
|
12166
|
+
@property
|
12167
|
+
def RequestId(self):
|
12168
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12169
|
+
:rtype: str
|
12170
|
+
"""
|
12171
|
+
return self._RequestId
|
12172
|
+
|
12173
|
+
@RequestId.setter
|
12174
|
+
def RequestId(self, RequestId):
|
12175
|
+
self._RequestId = RequestId
|
12176
|
+
|
12177
|
+
|
12178
|
+
def _deserialize(self, params):
|
12179
|
+
self._RequestId = params.get("RequestId")
|
12180
|
+
|
12181
|
+
|
12073
12182
|
class RoleItem(AbstractModel):
|
12074
12183
|
"""角色信息
|
12075
12184
|
|
@@ -1343,6 +1343,29 @@ class TrocketClient(AbstractClient):
|
|
1343
1343
|
model = models.ResendDeadLetterMessageResponse()
|
1344
1344
|
model._deserialize(response["Response"])
|
1345
1345
|
return model
|
1346
|
+
except Exception as e:
|
1347
|
+
if isinstance(e, TencentCloudSDKException):
|
1348
|
+
raise
|
1349
|
+
else:
|
1350
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1351
|
+
|
1352
|
+
|
1353
|
+
def ResetConsumerGroupOffset(self, request):
|
1354
|
+
"""重置消费位点
|
1355
|
+
|
1356
|
+
:param request: Request instance for ResetConsumerGroupOffset.
|
1357
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.ResetConsumerGroupOffsetRequest`
|
1358
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.ResetConsumerGroupOffsetResponse`
|
1359
|
+
|
1360
|
+
"""
|
1361
|
+
try:
|
1362
|
+
params = request._serialize()
|
1363
|
+
headers = request.headers
|
1364
|
+
body = self.call("ResetConsumerGroupOffset", params, headers=headers)
|
1365
|
+
response = json.loads(body)
|
1366
|
+
model = models.ResetConsumerGroupOffsetResponse()
|
1367
|
+
model._deserialize(response["Response"])
|
1368
|
+
return model
|
1346
1369
|
except Exception as e:
|
1347
1370
|
if isinstance(e, TencentCloudSDKException):
|
1348
1371
|
raise
|
@@ -3488,6 +3488,146 @@ class ModifyProjectResponse(AbstractModel):
|
|
3488
3488
|
self._RequestId = params.get("RequestId")
|
3489
3489
|
|
3490
3490
|
|
3491
|
+
class ModifyProjectSecModeRequest(AbstractModel):
|
3492
|
+
"""ModifyProjectSecMode请求参数结构体
|
3493
|
+
|
3494
|
+
"""
|
3495
|
+
|
3496
|
+
def __init__(self):
|
3497
|
+
r"""
|
3498
|
+
:param _ProjectId: 项目ID
|
3499
|
+
:type ProjectId: str
|
3500
|
+
:param _Mode: 安全模式
|
3501
|
+
0:关闭项目共享密钥
|
3502
|
+
1:开启项目共享密钥
|
3503
|
+
:type Mode: int
|
3504
|
+
:param _Key: 项目密钥 32位 小写英文+数字; 项目密钥模式必填
|
3505
|
+
:type Key: str
|
3506
|
+
:param _AutoRegister: 自动注册方式
|
3507
|
+
0:关闭自动注册
|
3508
|
+
1:仅允许现场设备自动注册
|
3509
|
+
2:仅允许远端设备自动注册
|
3510
|
+
3:允许现场和远端设备均自动注册
|
3511
|
+
:type AutoRegister: int
|
3512
|
+
:param _FieldListEnable: 是否允许远端获取现场设备列表(getGwList)
|
3513
|
+
0:不允许
|
3514
|
+
1:允许
|
3515
|
+
:type FieldListEnable: int
|
3516
|
+
"""
|
3517
|
+
self._ProjectId = None
|
3518
|
+
self._Mode = None
|
3519
|
+
self._Key = None
|
3520
|
+
self._AutoRegister = None
|
3521
|
+
self._FieldListEnable = None
|
3522
|
+
|
3523
|
+
@property
|
3524
|
+
def ProjectId(self):
|
3525
|
+
"""项目ID
|
3526
|
+
:rtype: str
|
3527
|
+
"""
|
3528
|
+
return self._ProjectId
|
3529
|
+
|
3530
|
+
@ProjectId.setter
|
3531
|
+
def ProjectId(self, ProjectId):
|
3532
|
+
self._ProjectId = ProjectId
|
3533
|
+
|
3534
|
+
@property
|
3535
|
+
def Mode(self):
|
3536
|
+
"""安全模式
|
3537
|
+
0:关闭项目共享密钥
|
3538
|
+
1:开启项目共享密钥
|
3539
|
+
:rtype: int
|
3540
|
+
"""
|
3541
|
+
return self._Mode
|
3542
|
+
|
3543
|
+
@Mode.setter
|
3544
|
+
def Mode(self, Mode):
|
3545
|
+
self._Mode = Mode
|
3546
|
+
|
3547
|
+
@property
|
3548
|
+
def Key(self):
|
3549
|
+
"""项目密钥 32位 小写英文+数字; 项目密钥模式必填
|
3550
|
+
:rtype: str
|
3551
|
+
"""
|
3552
|
+
return self._Key
|
3553
|
+
|
3554
|
+
@Key.setter
|
3555
|
+
def Key(self, Key):
|
3556
|
+
self._Key = Key
|
3557
|
+
|
3558
|
+
@property
|
3559
|
+
def AutoRegister(self):
|
3560
|
+
"""自动注册方式
|
3561
|
+
0:关闭自动注册
|
3562
|
+
1:仅允许现场设备自动注册
|
3563
|
+
2:仅允许远端设备自动注册
|
3564
|
+
3:允许现场和远端设备均自动注册
|
3565
|
+
:rtype: int
|
3566
|
+
"""
|
3567
|
+
return self._AutoRegister
|
3568
|
+
|
3569
|
+
@AutoRegister.setter
|
3570
|
+
def AutoRegister(self, AutoRegister):
|
3571
|
+
self._AutoRegister = AutoRegister
|
3572
|
+
|
3573
|
+
@property
|
3574
|
+
def FieldListEnable(self):
|
3575
|
+
"""是否允许远端获取现场设备列表(getGwList)
|
3576
|
+
0:不允许
|
3577
|
+
1:允许
|
3578
|
+
:rtype: int
|
3579
|
+
"""
|
3580
|
+
return self._FieldListEnable
|
3581
|
+
|
3582
|
+
@FieldListEnable.setter
|
3583
|
+
def FieldListEnable(self, FieldListEnable):
|
3584
|
+
self._FieldListEnable = FieldListEnable
|
3585
|
+
|
3586
|
+
|
3587
|
+
def _deserialize(self, params):
|
3588
|
+
self._ProjectId = params.get("ProjectId")
|
3589
|
+
self._Mode = params.get("Mode")
|
3590
|
+
self._Key = params.get("Key")
|
3591
|
+
self._AutoRegister = params.get("AutoRegister")
|
3592
|
+
self._FieldListEnable = params.get("FieldListEnable")
|
3593
|
+
memeber_set = set(params.keys())
|
3594
|
+
for name, value in vars(self).items():
|
3595
|
+
property_name = name[1:]
|
3596
|
+
if property_name in memeber_set:
|
3597
|
+
memeber_set.remove(property_name)
|
3598
|
+
if len(memeber_set) > 0:
|
3599
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3600
|
+
|
3601
|
+
|
3602
|
+
|
3603
|
+
class ModifyProjectSecModeResponse(AbstractModel):
|
3604
|
+
"""ModifyProjectSecMode返回参数结构体
|
3605
|
+
|
3606
|
+
"""
|
3607
|
+
|
3608
|
+
def __init__(self):
|
3609
|
+
r"""
|
3610
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3611
|
+
:type RequestId: str
|
3612
|
+
"""
|
3613
|
+
self._RequestId = None
|
3614
|
+
|
3615
|
+
@property
|
3616
|
+
def RequestId(self):
|
3617
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3618
|
+
:rtype: str
|
3619
|
+
"""
|
3620
|
+
return self._RequestId
|
3621
|
+
|
3622
|
+
@RequestId.setter
|
3623
|
+
def RequestId(self, RequestId):
|
3624
|
+
self._RequestId = RequestId
|
3625
|
+
|
3626
|
+
|
3627
|
+
def _deserialize(self, params):
|
3628
|
+
self._RequestId = params.get("RequestId")
|
3629
|
+
|
3630
|
+
|
3491
3631
|
class MultiNet(AbstractModel):
|
3492
3632
|
"""多网的网卡状态信息
|
3493
3633
|
|
@@ -548,6 +548,31 @@ class TrroClient(AbstractClient):
|
|
548
548
|
model = models.ModifyProjectResponse()
|
549
549
|
model._deserialize(response["Response"])
|
550
550
|
return model
|
551
|
+
except Exception as e:
|
552
|
+
if isinstance(e, TencentCloudSDKException):
|
553
|
+
raise
|
554
|
+
else:
|
555
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
556
|
+
|
557
|
+
|
558
|
+
def ModifyProjectSecMode(self, request):
|
559
|
+
"""使用项目共享密钥可动态生成设备登录密钥,登录前无需对设备进行提前注册,适合希望简化业务流程的客户。由于是公共密钥,请务必注意保护项目共享密钥,并及时更新。建议项目共享密钥保存在服务器侧。由服务器生成设备登录密码下发给设备,避免密钥保存在客户端侧产生的密钥泄露风险。
|
560
|
+
|
561
|
+
开启项目共享密钥后,对于已注册的设备,仍可使用原设备密码登录。若希望仅能通过共享密钥生成密码登录,请通过云 API 将设备密码更新为"USEPROJECTKEYPWD"。
|
562
|
+
|
563
|
+
:param request: Request instance for ModifyProjectSecMode.
|
564
|
+
:type request: :class:`tencentcloud.trro.v20220325.models.ModifyProjectSecModeRequest`
|
565
|
+
:rtype: :class:`tencentcloud.trro.v20220325.models.ModifyProjectSecModeResponse`
|
566
|
+
|
567
|
+
"""
|
568
|
+
try:
|
569
|
+
params = request._serialize()
|
570
|
+
headers = request.headers
|
571
|
+
body = self.call("ModifyProjectSecMode", params, headers=headers)
|
572
|
+
response = json.loads(body)
|
573
|
+
model = models.ModifyProjectSecModeResponse()
|
574
|
+
model._deserialize(response["Response"])
|
575
|
+
return model
|
551
576
|
except Exception as e:
|
552
577
|
if isinstance(e, TencentCloudSDKException):
|
553
578
|
raise
|
@@ -362,6 +362,8 @@ class DescribeInstancesRequest(AbstractModel):
|
|
362
362
|
:type Limit: int
|
363
363
|
:param _ResourceTags: 按照标签筛选实例
|
364
364
|
:type ResourceTags: list of Tag
|
365
|
+
:param _TaskStatus: 任务状态:1-待执行任务;2-密钥更新中;3-网络变更中;4-参数变更中;5-embedding变更中;6-ai套件变更中;7-滚动升级中;8-纵向扩容中;9-纵向缩容中;10-横向扩容中;11-横向缩容中
|
366
|
+
:type TaskStatus: list of int
|
365
367
|
"""
|
366
368
|
self._InstanceIds = None
|
367
369
|
self._InstanceNames = None
|
@@ -377,6 +379,7 @@ class DescribeInstancesRequest(AbstractModel):
|
|
377
379
|
self._Offset = None
|
378
380
|
self._Limit = None
|
379
381
|
self._ResourceTags = None
|
382
|
+
self._TaskStatus = None
|
380
383
|
|
381
384
|
@property
|
382
385
|
def InstanceIds(self):
|
@@ -540,6 +543,17 @@ class DescribeInstancesRequest(AbstractModel):
|
|
540
543
|
def ResourceTags(self, ResourceTags):
|
541
544
|
self._ResourceTags = ResourceTags
|
542
545
|
|
546
|
+
@property
|
547
|
+
def TaskStatus(self):
|
548
|
+
"""任务状态:1-待执行任务;2-密钥更新中;3-网络变更中;4-参数变更中;5-embedding变更中;6-ai套件变更中;7-滚动升级中;8-纵向扩容中;9-纵向缩容中;10-横向扩容中;11-横向缩容中
|
549
|
+
:rtype: list of int
|
550
|
+
"""
|
551
|
+
return self._TaskStatus
|
552
|
+
|
553
|
+
@TaskStatus.setter
|
554
|
+
def TaskStatus(self, TaskStatus):
|
555
|
+
self._TaskStatus = TaskStatus
|
556
|
+
|
543
557
|
|
544
558
|
def _deserialize(self, params):
|
545
559
|
self._InstanceIds = params.get("InstanceIds")
|
@@ -561,6 +575,7 @@ class DescribeInstancesRequest(AbstractModel):
|
|
561
575
|
obj = Tag()
|
562
576
|
obj._deserialize(item)
|
563
577
|
self._ResourceTags.append(obj)
|
578
|
+
self._TaskStatus = params.get("TaskStatus")
|
564
579
|
memeber_set = set(params.keys())
|
565
580
|
for name, value in vars(self).items():
|
566
581
|
property_name = name[1:]
|
@@ -920,6 +935,8 @@ class InstanceInfo(AbstractModel):
|
|
920
935
|
:type IsolateAt: str
|
921
936
|
:param _AutoRenew: 是否自动续费。0: 不自动续费(可以支持特权不停服);1:自动续费;2:到期不续费.
|
922
937
|
:type AutoRenew: int
|
938
|
+
:param _TaskStatus: 任务状态:0-无任务;1-待执行任务;2-密钥更新中;3-网络变更中;4-参数变更中;5-embedding变更中;6-ai套件变更中;7-滚动升级中;8-纵向扩容中;9-纵向缩容中;10-横向扩容中;11-横向缩容中
|
939
|
+
:type TaskStatus: int
|
923
940
|
"""
|
924
941
|
self._InstanceId = None
|
925
942
|
self._Name = None
|
@@ -949,6 +966,7 @@ class InstanceInfo(AbstractModel):
|
|
949
966
|
self._WanAddress = None
|
950
967
|
self._IsolateAt = None
|
951
968
|
self._AutoRenew = None
|
969
|
+
self._TaskStatus = None
|
952
970
|
|
953
971
|
@property
|
954
972
|
def InstanceId(self):
|
@@ -1273,6 +1291,17 @@ class InstanceInfo(AbstractModel):
|
|
1273
1291
|
def AutoRenew(self, AutoRenew):
|
1274
1292
|
self._AutoRenew = AutoRenew
|
1275
1293
|
|
1294
|
+
@property
|
1295
|
+
def TaskStatus(self):
|
1296
|
+
"""任务状态:0-无任务;1-待执行任务;2-密钥更新中;3-网络变更中;4-参数变更中;5-embedding变更中;6-ai套件变更中;7-滚动升级中;8-纵向扩容中;9-纵向缩容中;10-横向扩容中;11-横向缩容中
|
1297
|
+
:rtype: int
|
1298
|
+
"""
|
1299
|
+
return self._TaskStatus
|
1300
|
+
|
1301
|
+
@TaskStatus.setter
|
1302
|
+
def TaskStatus(self, TaskStatus):
|
1303
|
+
self._TaskStatus = TaskStatus
|
1304
|
+
|
1276
1305
|
|
1277
1306
|
def _deserialize(self, params):
|
1278
1307
|
self._InstanceId = params.get("InstanceId")
|
@@ -1313,6 +1342,7 @@ class InstanceInfo(AbstractModel):
|
|
1313
1342
|
self._WanAddress = params.get("WanAddress")
|
1314
1343
|
self._IsolateAt = params.get("IsolateAt")
|
1315
1344
|
self._AutoRenew = params.get("AutoRenew")
|
1345
|
+
self._TaskStatus = params.get("TaskStatus")
|
1316
1346
|
memeber_set = set(params.keys())
|
1317
1347
|
for name, value in vars(self).items():
|
1318
1348
|
property_name = name[1:]
|
@@ -1522,8 +1552,11 @@ class NodeInfo(AbstractModel):
|
|
1522
1552
|
r"""
|
1523
1553
|
:param _Name: Pod名称。
|
1524
1554
|
:type Name: str
|
1555
|
+
:param _Status: pod状态
|
1556
|
+
:type Status: str
|
1525
1557
|
"""
|
1526
1558
|
self._Name = None
|
1559
|
+
self._Status = None
|
1527
1560
|
|
1528
1561
|
@property
|
1529
1562
|
def Name(self):
|
@@ -1536,9 +1569,21 @@ class NodeInfo(AbstractModel):
|
|
1536
1569
|
def Name(self, Name):
|
1537
1570
|
self._Name = Name
|
1538
1571
|
|
1572
|
+
@property
|
1573
|
+
def Status(self):
|
1574
|
+
"""pod状态
|
1575
|
+
:rtype: str
|
1576
|
+
"""
|
1577
|
+
return self._Status
|
1578
|
+
|
1579
|
+
@Status.setter
|
1580
|
+
def Status(self, Status):
|
1581
|
+
self._Status = Status
|
1582
|
+
|
1539
1583
|
|
1540
1584
|
def _deserialize(self, params):
|
1541
1585
|
self._Name = params.get("Name")
|
1586
|
+
self._Status = params.get("Status")
|
1542
1587
|
memeber_set = set(params.keys())
|
1543
1588
|
for name, value in vars(self).items():
|
1544
1589
|
property_name = name[1:]
|
@@ -73,7 +73,7 @@ class VdbClient(AbstractClient):
|
|
73
73
|
|
74
74
|
|
75
75
|
def DescribeInstanceNodes(self, request):
|
76
|
-
"""
|
76
|
+
"""查询实例pod列表
|
77
77
|
|
78
78
|
:param request: Request instance for DescribeInstanceNodes.
|
79
79
|
:type request: :class:`tencentcloud.vdb.v20230616.models.DescribeInstanceNodesRequest`
|