tencentcloud-sdk-python 3.0.1438__py2.py3-none-any.whl → 3.0.1440__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/batch/v20170312/models.py +83 -0
- tencentcloud/cdb/v20170320/models.py +4 -4
- tencentcloud/cdwch/v20200915/models.py +19 -6
- tencentcloud/cfg/v20210820/models.py +20 -0
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/cls/v20201016/models.py +38 -24
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/models.py +578 -4
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +225 -0
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/mna/v20210119/errorcodes.py +1 -1
- tencentcloud/mps/v20190612/models.py +24 -0
- tencentcloud/omics/v20221128/models.py +175 -0
- tencentcloud/sqlserver/v20180328/models.py +30 -0
- tencentcloud/ssl/v20191205/models.py +60 -0
- tencentcloud/sts/v20180813/sts_client.py +16 -4
- tencentcloud/tdmq/v20200217/models.py +119 -2
- tencentcloud/teo/v20220901/models.py +130 -0
- tencentcloud/thpc/v20230321/errorcodes.py +24 -0
- tencentcloud/thpc/v20230321/models.py +1398 -132
- tencentcloud/thpc/v20230321/thpc_client.py +138 -0
- tencentcloud/trocket/v20230308/models.py +90 -20
- tencentcloud/tsf/v20180326/errorcodes.py +15 -15
- tencentcloud/vdb/v20230616/models.py +15 -0
- tencentcloud/vod/v20180717/models.py +12 -4
- tencentcloud/wedata/v20210820/models.py +15 -15
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/top_level.txt +0 -0
|
@@ -10183,6 +10183,8 @@ class DescribeInsightListRequest(AbstractModel):
|
|
|
10183
10183
|
:type Page: int
|
|
10184
10184
|
:param _Type: 查询类型,支持HIVE,SPARK,DLC_SPARK,SPARK_SQL,SCHEDULE,MAPREDUCE,TRINO等类型,默认查询全部
|
|
10185
10185
|
:type Type: str
|
|
10186
|
+
:param _MustHasContext: 是否包含具体参数建议等信息
|
|
10187
|
+
:type MustHasContext: bool
|
|
10186
10188
|
"""
|
|
10187
10189
|
self._InstanceId = None
|
|
10188
10190
|
self._StartTime = None
|
|
@@ -10190,6 +10192,7 @@ class DescribeInsightListRequest(AbstractModel):
|
|
|
10190
10192
|
self._PageSize = None
|
|
10191
10193
|
self._Page = None
|
|
10192
10194
|
self._Type = None
|
|
10195
|
+
self._MustHasContext = None
|
|
10193
10196
|
|
|
10194
10197
|
@property
|
|
10195
10198
|
def InstanceId(self):
|
|
@@ -10257,6 +10260,17 @@ class DescribeInsightListRequest(AbstractModel):
|
|
|
10257
10260
|
def Type(self, Type):
|
|
10258
10261
|
self._Type = Type
|
|
10259
10262
|
|
|
10263
|
+
@property
|
|
10264
|
+
def MustHasContext(self):
|
|
10265
|
+
"""是否包含具体参数建议等信息
|
|
10266
|
+
:rtype: bool
|
|
10267
|
+
"""
|
|
10268
|
+
return self._MustHasContext
|
|
10269
|
+
|
|
10270
|
+
@MustHasContext.setter
|
|
10271
|
+
def MustHasContext(self, MustHasContext):
|
|
10272
|
+
self._MustHasContext = MustHasContext
|
|
10273
|
+
|
|
10260
10274
|
|
|
10261
10275
|
def _deserialize(self, params):
|
|
10262
10276
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -10265,6 +10279,7 @@ class DescribeInsightListRequest(AbstractModel):
|
|
|
10265
10279
|
self._PageSize = params.get("PageSize")
|
|
10266
10280
|
self._Page = params.get("Page")
|
|
10267
10281
|
self._Type = params.get("Type")
|
|
10282
|
+
self._MustHasContext = params.get("MustHasContext")
|
|
10268
10283
|
memeber_set = set(params.keys())
|
|
10269
10284
|
for name, value in vars(self).items():
|
|
10270
10285
|
property_name = name[1:]
|
|
@@ -617,6 +617,9 @@ UNSUPPORTEDOPERATION_MIGRATE = 'UnsupportedOperation.Migrate'
|
|
|
617
617
|
# 不支持多可用区变配。
|
|
618
618
|
UNSUPPORTEDOPERATION_MULTIZONESUPGRADE = 'UnsupportedOperation.MultiZonesUpgrade'
|
|
619
619
|
|
|
620
|
+
# 抱歉,您需要前往ES控制台购买页完成确认认证,我们才能为您提供所选的腾讯云服务。如果对于确认流程有任何疑问,可以联系我们:https://www.tencentcloud.com/zh/contact-us。
|
|
621
|
+
UNSUPPORTEDOPERATION_NOTAGREEMENT = 'UnsupportedOperation.NotAgreement'
|
|
622
|
+
|
|
620
623
|
# 用户同步日志的配置passLogstashId为空,不支持该操作。
|
|
621
624
|
UNSUPPORTEDOPERATION_PASSLOGSTASHID = 'UnsupportedOperation.PassLogstashId'
|
|
622
625
|
|
|
@@ -18,6 +18,146 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
class AutoScaleDiskInfo(AbstractModel):
|
|
22
|
+
"""cvm 自动扩盘参数
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _NodeType: 节点类型 hotData,warmData
|
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30
|
+
:type NodeType: str
|
|
31
|
+
:param _ScaleType: 0:百分比扩容;1:绝对值扩容
|
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33
|
+
:type ScaleType: int
|
|
34
|
+
:param _Threshold: 触发阈值,单位%,例如80%
|
|
35
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
36
|
+
:type Threshold: int
|
|
37
|
+
:param _Duration: 触发持续时间,单位分钟,例如60
|
|
38
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39
|
+
:type Duration: int
|
|
40
|
+
:param _PercentSize: 每次扩容比例,单位%,例如20%
|
|
41
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42
|
+
:type PercentSize: int
|
|
43
|
+
:param _FixSize: 绝对值扩容,单位GB,例如100GB
|
|
44
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
45
|
+
:type FixSize: int
|
|
46
|
+
:param _MaxSize: 扩容上限,单位GB,例如500GB
|
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
|
+
:type MaxSize: int
|
|
49
|
+
"""
|
|
50
|
+
self._NodeType = None
|
|
51
|
+
self._ScaleType = None
|
|
52
|
+
self._Threshold = None
|
|
53
|
+
self._Duration = None
|
|
54
|
+
self._PercentSize = None
|
|
55
|
+
self._FixSize = None
|
|
56
|
+
self._MaxSize = None
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def NodeType(self):
|
|
60
|
+
"""节点类型 hotData,warmData
|
|
61
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
62
|
+
:rtype: str
|
|
63
|
+
"""
|
|
64
|
+
return self._NodeType
|
|
65
|
+
|
|
66
|
+
@NodeType.setter
|
|
67
|
+
def NodeType(self, NodeType):
|
|
68
|
+
self._NodeType = NodeType
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def ScaleType(self):
|
|
72
|
+
"""0:百分比扩容;1:绝对值扩容
|
|
73
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
74
|
+
:rtype: int
|
|
75
|
+
"""
|
|
76
|
+
return self._ScaleType
|
|
77
|
+
|
|
78
|
+
@ScaleType.setter
|
|
79
|
+
def ScaleType(self, ScaleType):
|
|
80
|
+
self._ScaleType = ScaleType
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
def Threshold(self):
|
|
84
|
+
"""触发阈值,单位%,例如80%
|
|
85
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
86
|
+
:rtype: int
|
|
87
|
+
"""
|
|
88
|
+
return self._Threshold
|
|
89
|
+
|
|
90
|
+
@Threshold.setter
|
|
91
|
+
def Threshold(self, Threshold):
|
|
92
|
+
self._Threshold = Threshold
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def Duration(self):
|
|
96
|
+
"""触发持续时间,单位分钟,例如60
|
|
97
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
98
|
+
:rtype: int
|
|
99
|
+
"""
|
|
100
|
+
return self._Duration
|
|
101
|
+
|
|
102
|
+
@Duration.setter
|
|
103
|
+
def Duration(self, Duration):
|
|
104
|
+
self._Duration = Duration
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def PercentSize(self):
|
|
108
|
+
"""每次扩容比例,单位%,例如20%
|
|
109
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
110
|
+
:rtype: int
|
|
111
|
+
"""
|
|
112
|
+
return self._PercentSize
|
|
113
|
+
|
|
114
|
+
@PercentSize.setter
|
|
115
|
+
def PercentSize(self, PercentSize):
|
|
116
|
+
self._PercentSize = PercentSize
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
def FixSize(self):
|
|
120
|
+
"""绝对值扩容,单位GB,例如100GB
|
|
121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
122
|
+
:rtype: int
|
|
123
|
+
"""
|
|
124
|
+
return self._FixSize
|
|
125
|
+
|
|
126
|
+
@FixSize.setter
|
|
127
|
+
def FixSize(self, FixSize):
|
|
128
|
+
self._FixSize = FixSize
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def MaxSize(self):
|
|
132
|
+
"""扩容上限,单位GB,例如500GB
|
|
133
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
134
|
+
:rtype: int
|
|
135
|
+
"""
|
|
136
|
+
return self._MaxSize
|
|
137
|
+
|
|
138
|
+
@MaxSize.setter
|
|
139
|
+
def MaxSize(self, MaxSize):
|
|
140
|
+
self._MaxSize = MaxSize
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def _deserialize(self, params):
|
|
144
|
+
self._NodeType = params.get("NodeType")
|
|
145
|
+
self._ScaleType = params.get("ScaleType")
|
|
146
|
+
self._Threshold = params.get("Threshold")
|
|
147
|
+
self._Duration = params.get("Duration")
|
|
148
|
+
self._PercentSize = params.get("PercentSize")
|
|
149
|
+
self._FixSize = params.get("FixSize")
|
|
150
|
+
self._MaxSize = params.get("MaxSize")
|
|
151
|
+
memeber_set = set(params.keys())
|
|
152
|
+
for name, value in vars(self).items():
|
|
153
|
+
property_name = name[1:]
|
|
154
|
+
if property_name in memeber_set:
|
|
155
|
+
memeber_set.remove(property_name)
|
|
156
|
+
if len(memeber_set) > 0:
|
|
157
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
21
161
|
class BackingIndexMetaField(AbstractModel):
|
|
22
162
|
"""后备索引元数据字段
|
|
23
163
|
|
|
@@ -1508,6 +1648,10 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
1508
1648
|
:type EnableScheduleRecoverGroup: bool
|
|
1509
1649
|
:param _EnableScheduleOperationDuration: 置放群组开启异步任务的可维护时间段
|
|
1510
1650
|
:type EnableScheduleOperationDuration: :class:`tencentcloud.es.v20180416.models.EnableScheduleOperationDuration`
|
|
1651
|
+
:param _AutoScaleDiskInfoList: 自动扩盘参数列表
|
|
1652
|
+
:type AutoScaleDiskInfoList: list of AutoScaleDiskInfo
|
|
1653
|
+
:param _EnableKibanaPublicAccess: 是否开启kibana公网访问,不传默认开启
|
|
1654
|
+
:type EnableKibanaPublicAccess: str
|
|
1511
1655
|
"""
|
|
1512
1656
|
self._Zone = None
|
|
1513
1657
|
self._EsVersion = None
|
|
@@ -1549,6 +1693,8 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
1549
1693
|
self._ReadWriteMode = None
|
|
1550
1694
|
self._EnableScheduleRecoverGroup = None
|
|
1551
1695
|
self._EnableScheduleOperationDuration = None
|
|
1696
|
+
self._AutoScaleDiskInfoList = None
|
|
1697
|
+
self._EnableKibanaPublicAccess = None
|
|
1552
1698
|
|
|
1553
1699
|
@property
|
|
1554
1700
|
def Zone(self):
|
|
@@ -1998,6 +2144,28 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
1998
2144
|
def EnableScheduleOperationDuration(self, EnableScheduleOperationDuration):
|
|
1999
2145
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration
|
|
2000
2146
|
|
|
2147
|
+
@property
|
|
2148
|
+
def AutoScaleDiskInfoList(self):
|
|
2149
|
+
"""自动扩盘参数列表
|
|
2150
|
+
:rtype: list of AutoScaleDiskInfo
|
|
2151
|
+
"""
|
|
2152
|
+
return self._AutoScaleDiskInfoList
|
|
2153
|
+
|
|
2154
|
+
@AutoScaleDiskInfoList.setter
|
|
2155
|
+
def AutoScaleDiskInfoList(self, AutoScaleDiskInfoList):
|
|
2156
|
+
self._AutoScaleDiskInfoList = AutoScaleDiskInfoList
|
|
2157
|
+
|
|
2158
|
+
@property
|
|
2159
|
+
def EnableKibanaPublicAccess(self):
|
|
2160
|
+
"""是否开启kibana公网访问,不传默认开启
|
|
2161
|
+
:rtype: str
|
|
2162
|
+
"""
|
|
2163
|
+
return self._EnableKibanaPublicAccess
|
|
2164
|
+
|
|
2165
|
+
@EnableKibanaPublicAccess.setter
|
|
2166
|
+
def EnableKibanaPublicAccess(self, EnableKibanaPublicAccess):
|
|
2167
|
+
self._EnableKibanaPublicAccess = EnableKibanaPublicAccess
|
|
2168
|
+
|
|
2001
2169
|
|
|
2002
2170
|
def _deserialize(self, params):
|
|
2003
2171
|
self._Zone = params.get("Zone")
|
|
@@ -2061,6 +2229,13 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
2061
2229
|
if params.get("EnableScheduleOperationDuration") is not None:
|
|
2062
2230
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration()
|
|
2063
2231
|
self._EnableScheduleOperationDuration._deserialize(params.get("EnableScheduleOperationDuration"))
|
|
2232
|
+
if params.get("AutoScaleDiskInfoList") is not None:
|
|
2233
|
+
self._AutoScaleDiskInfoList = []
|
|
2234
|
+
for item in params.get("AutoScaleDiskInfoList"):
|
|
2235
|
+
obj = AutoScaleDiskInfo()
|
|
2236
|
+
obj._deserialize(item)
|
|
2237
|
+
self._AutoScaleDiskInfoList.append(obj)
|
|
2238
|
+
self._EnableKibanaPublicAccess = params.get("EnableKibanaPublicAccess")
|
|
2064
2239
|
memeber_set = set(params.keys())
|
|
2065
2240
|
for name, value in vars(self).items():
|
|
2066
2241
|
property_name = name[1:]
|
|
@@ -14702,6 +14877,8 @@ class Operation(AbstractModel):
|
|
|
14702
14877
|
:param _SubAccountUin: 操作者Uin
|
|
14703
14878
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14704
14879
|
:type SubAccountUin: str
|
|
14880
|
+
:param _AutoScaleTag: 自动扩容标识:0-非自动,1-自动
|
|
14881
|
+
:type AutoScaleTag: int
|
|
14705
14882
|
"""
|
|
14706
14883
|
self._Id = None
|
|
14707
14884
|
self._StartTime = None
|
|
@@ -14712,6 +14889,7 @@ class Operation(AbstractModel):
|
|
|
14712
14889
|
self._Progress = None
|
|
14713
14890
|
self._RollbackTag = None
|
|
14714
14891
|
self._SubAccountUin = None
|
|
14892
|
+
self._AutoScaleTag = None
|
|
14715
14893
|
|
|
14716
14894
|
@property
|
|
14717
14895
|
def Id(self):
|
|
@@ -14813,6 +14991,17 @@ class Operation(AbstractModel):
|
|
|
14813
14991
|
def SubAccountUin(self, SubAccountUin):
|
|
14814
14992
|
self._SubAccountUin = SubAccountUin
|
|
14815
14993
|
|
|
14994
|
+
@property
|
|
14995
|
+
def AutoScaleTag(self):
|
|
14996
|
+
"""自动扩容标识:0-非自动,1-自动
|
|
14997
|
+
:rtype: int
|
|
14998
|
+
"""
|
|
14999
|
+
return self._AutoScaleTag
|
|
15000
|
+
|
|
15001
|
+
@AutoScaleTag.setter
|
|
15002
|
+
def AutoScaleTag(self, AutoScaleTag):
|
|
15003
|
+
self._AutoScaleTag = AutoScaleTag
|
|
15004
|
+
|
|
14816
15005
|
|
|
14817
15006
|
def _deserialize(self, params):
|
|
14818
15007
|
self._Id = params.get("Id")
|
|
@@ -14831,6 +15020,7 @@ class Operation(AbstractModel):
|
|
|
14831
15020
|
self._Progress = params.get("Progress")
|
|
14832
15021
|
self._RollbackTag = params.get("RollbackTag")
|
|
14833
15022
|
self._SubAccountUin = params.get("SubAccountUin")
|
|
15023
|
+
self._AutoScaleTag = params.get("AutoScaleTag")
|
|
14834
15024
|
memeber_set = set(params.keys())
|
|
14835
15025
|
for name, value in vars(self).items():
|
|
14836
15026
|
property_name = name[1:]
|
|
@@ -18707,6 +18897,10 @@ CLOSE 关闭
|
|
|
18707
18897
|
:type EnableScheduleOperationDuration: :class:`tencentcloud.es.v20180416.models.EnableScheduleOperationDuration`
|
|
18708
18898
|
:param _EnableDestroyProtection: 开启集群保护:OPEN-开启,CLOSE-关闭
|
|
18709
18899
|
:type EnableDestroyProtection: str
|
|
18900
|
+
:param _AutoScaleDiskInfoList: 自动扩盘参数
|
|
18901
|
+
:type AutoScaleDiskInfoList: list of AutoScaleDiskInfo
|
|
18902
|
+
:param _AutoScaleDiskDeleteNodeTypeList: 自动扩盘删除参数
|
|
18903
|
+
:type AutoScaleDiskDeleteNodeTypeList: list of str
|
|
18710
18904
|
"""
|
|
18711
18905
|
self._InstanceId = None
|
|
18712
18906
|
self._InstanceName = None
|
|
@@ -18752,6 +18946,8 @@ CLOSE 关闭
|
|
|
18752
18946
|
self._EnableScheduleRecoverGroup = None
|
|
18753
18947
|
self._EnableScheduleOperationDuration = None
|
|
18754
18948
|
self._EnableDestroyProtection = None
|
|
18949
|
+
self._AutoScaleDiskInfoList = None
|
|
18950
|
+
self._AutoScaleDiskDeleteNodeTypeList = None
|
|
18755
18951
|
|
|
18756
18952
|
@property
|
|
18757
18953
|
def InstanceId(self):
|
|
@@ -19258,6 +19454,28 @@ CLOSE 关闭
|
|
|
19258
19454
|
def EnableDestroyProtection(self, EnableDestroyProtection):
|
|
19259
19455
|
self._EnableDestroyProtection = EnableDestroyProtection
|
|
19260
19456
|
|
|
19457
|
+
@property
|
|
19458
|
+
def AutoScaleDiskInfoList(self):
|
|
19459
|
+
"""自动扩盘参数
|
|
19460
|
+
:rtype: list of AutoScaleDiskInfo
|
|
19461
|
+
"""
|
|
19462
|
+
return self._AutoScaleDiskInfoList
|
|
19463
|
+
|
|
19464
|
+
@AutoScaleDiskInfoList.setter
|
|
19465
|
+
def AutoScaleDiskInfoList(self, AutoScaleDiskInfoList):
|
|
19466
|
+
self._AutoScaleDiskInfoList = AutoScaleDiskInfoList
|
|
19467
|
+
|
|
19468
|
+
@property
|
|
19469
|
+
def AutoScaleDiskDeleteNodeTypeList(self):
|
|
19470
|
+
"""自动扩盘删除参数
|
|
19471
|
+
:rtype: list of str
|
|
19472
|
+
"""
|
|
19473
|
+
return self._AutoScaleDiskDeleteNodeTypeList
|
|
19474
|
+
|
|
19475
|
+
@AutoScaleDiskDeleteNodeTypeList.setter
|
|
19476
|
+
def AutoScaleDiskDeleteNodeTypeList(self, AutoScaleDiskDeleteNodeTypeList):
|
|
19477
|
+
self._AutoScaleDiskDeleteNodeTypeList = AutoScaleDiskDeleteNodeTypeList
|
|
19478
|
+
|
|
19261
19479
|
|
|
19262
19480
|
def _deserialize(self, params):
|
|
19263
19481
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -19333,6 +19551,13 @@ CLOSE 关闭
|
|
|
19333
19551
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration()
|
|
19334
19552
|
self._EnableScheduleOperationDuration._deserialize(params.get("EnableScheduleOperationDuration"))
|
|
19335
19553
|
self._EnableDestroyProtection = params.get("EnableDestroyProtection")
|
|
19554
|
+
if params.get("AutoScaleDiskInfoList") is not None:
|
|
19555
|
+
self._AutoScaleDiskInfoList = []
|
|
19556
|
+
for item in params.get("AutoScaleDiskInfoList"):
|
|
19557
|
+
obj = AutoScaleDiskInfo()
|
|
19558
|
+
obj._deserialize(item)
|
|
19559
|
+
self._AutoScaleDiskInfoList.append(obj)
|
|
19560
|
+
self._AutoScaleDiskDeleteNodeTypeList = params.get("AutoScaleDiskDeleteNodeTypeList")
|
|
19336
19561
|
memeber_set = set(params.keys())
|
|
19337
19562
|
for name, value in vars(self).items():
|
|
19338
19563
|
property_name = name[1:]
|
|
@@ -6354,7 +6354,7 @@ class SubmitHunyuanImageJobRequest(AbstractModel):
|
|
|
6354
6354
|
在 Resolution 的基础上按比例提高分辨率,例如1024:1024开启2倍超分后将得到2048:2048。
|
|
6355
6355
|
:type Clarity: str
|
|
6356
6356
|
:param _ContentImage: 用于引导内容的参考图。
|
|
6357
|
-
图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png
|
|
6357
|
+
图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png。
|
|
6358
6358
|
:type ContentImage: :class:`tencentcloud.hunyuan.v20230901.models.Image`
|
|
6359
6359
|
:param _Revise: prompt 扩写开关。1为开启,0为关闭,不传默认开启。
|
|
6360
6360
|
开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。
|
|
@@ -6468,7 +6468,7 @@ class SubmitHunyuanImageJobRequest(AbstractModel):
|
|
|
6468
6468
|
@property
|
|
6469
6469
|
def ContentImage(self):
|
|
6470
6470
|
"""用于引导内容的参考图。
|
|
6471
|
-
图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png
|
|
6471
|
+
图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png。
|
|
6472
6472
|
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.Image`
|
|
6473
6473
|
"""
|
|
6474
6474
|
return self._ContentImage
|
|
@@ -56,6 +56,9 @@ FAILEDOPERATION_DESCRIBEBUNDLEDISCOUNTFAILED = 'FailedOperation.DescribeBundleDi
|
|
|
56
56
|
# 查询套餐失败。
|
|
57
57
|
FAILEDOPERATION_DESCRIBEBUNDLESFAILED = 'FailedOperation.DescribeBundlesFailed'
|
|
58
58
|
|
|
59
|
+
# 查询云硬盘配额失败。
|
|
60
|
+
FAILEDOPERATION_DESCRIBEDISKCONFIGQUOTAFAILED = 'FailedOperation.DescribeDiskConfigQuotaFailed'
|
|
61
|
+
|
|
59
62
|
# 查询云硬盘是否可以退还操作失败。
|
|
60
63
|
FAILEDOPERATION_DESCRIBEDISKSRETURNABLEERROR = 'FailedOperation.DescribeDisksReturnableError'
|
|
61
64
|
|
|
@@ -39040,19 +39040,25 @@ class LiveStreamAiAnalysisResultItem(AbstractModel):
|
|
|
39040
39040
|
r"""
|
|
39041
39041
|
:param _Type: 结果的类型,取值范围:
|
|
39042
39042
|
<li>SegmentRecognition:拆条。</li>
|
|
39043
|
+
<li>Highlight :集锦。</li>
|
|
39043
39044
|
:type Type: str
|
|
39044
39045
|
:param _SegmentResultSet: 拆条结果,当 Type 为
|
|
39045
39046
|
SegmentRecognition 时有效。
|
|
39046
39047
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
39047
39048
|
:type SegmentResultSet: list of SegmentRecognitionItem
|
|
39049
|
+
:param _HighlightResultSet: 集锦结果,当Type 为 Highlight 时有效。
|
|
39050
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39051
|
+
:type HighlightResultSet: list of MediaAiAnalysisHighlightItem
|
|
39048
39052
|
"""
|
|
39049
39053
|
self._Type = None
|
|
39050
39054
|
self._SegmentResultSet = None
|
|
39055
|
+
self._HighlightResultSet = None
|
|
39051
39056
|
|
|
39052
39057
|
@property
|
|
39053
39058
|
def Type(self):
|
|
39054
39059
|
"""结果的类型,取值范围:
|
|
39055
39060
|
<li>SegmentRecognition:拆条。</li>
|
|
39061
|
+
<li>Highlight :集锦。</li>
|
|
39056
39062
|
:rtype: str
|
|
39057
39063
|
"""
|
|
39058
39064
|
return self._Type
|
|
@@ -39074,6 +39080,18 @@ SegmentRecognition 时有效。
|
|
|
39074
39080
|
def SegmentResultSet(self, SegmentResultSet):
|
|
39075
39081
|
self._SegmentResultSet = SegmentResultSet
|
|
39076
39082
|
|
|
39083
|
+
@property
|
|
39084
|
+
def HighlightResultSet(self):
|
|
39085
|
+
"""集锦结果,当Type 为 Highlight 时有效。
|
|
39086
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39087
|
+
:rtype: list of MediaAiAnalysisHighlightItem
|
|
39088
|
+
"""
|
|
39089
|
+
return self._HighlightResultSet
|
|
39090
|
+
|
|
39091
|
+
@HighlightResultSet.setter
|
|
39092
|
+
def HighlightResultSet(self, HighlightResultSet):
|
|
39093
|
+
self._HighlightResultSet = HighlightResultSet
|
|
39094
|
+
|
|
39077
39095
|
|
|
39078
39096
|
def _deserialize(self, params):
|
|
39079
39097
|
self._Type = params.get("Type")
|
|
@@ -39083,6 +39101,12 @@ SegmentRecognition 时有效。
|
|
|
39083
39101
|
obj = SegmentRecognitionItem()
|
|
39084
39102
|
obj._deserialize(item)
|
|
39085
39103
|
self._SegmentResultSet.append(obj)
|
|
39104
|
+
if params.get("HighlightResultSet") is not None:
|
|
39105
|
+
self._HighlightResultSet = []
|
|
39106
|
+
for item in params.get("HighlightResultSet"):
|
|
39107
|
+
obj = MediaAiAnalysisHighlightItem()
|
|
39108
|
+
obj._deserialize(item)
|
|
39109
|
+
self._HighlightResultSet.append(obj)
|
|
39086
39110
|
memeber_set = set(params.keys())
|
|
39087
39111
|
for name, value in vars(self).items():
|
|
39088
39112
|
property_name = name[1:]
|