tencentcloud-sdk-python 3.0.1189__py2.py3-none-any.whl → 3.0.1190__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/asr/v20190614/models.py +2 -1
- tencentcloud/cbs/v20170312/cbs_client.py +23 -0
- tencentcloud/cbs/v20170312/models.py +79 -0
- tencentcloud/cdz/__init__.py +0 -0
- tencentcloud/cdz/v20221123/__init__.py +0 -0
- tencentcloud/cdz/v20221123/cdz_client.py +72 -0
- tencentcloud/cdz/v20221123/errorcodes.py +24 -0
- tencentcloud/cdz/v20221123/models.py +467 -0
- tencentcloud/clb/v20180317/models.py +14 -0
- tencentcloud/dasb/v20191018/models.py +2 -2
- tencentcloud/ess/v20201111/models.py +7 -13
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -4
- tencentcloud/essbasic/v20210526/models.py +1 -8
- tencentcloud/facefusion/v20220927/models.py +13 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +24 -0
- tencentcloud/hunyuan/v20230901/models.py +141 -0
- tencentcloud/mps/v20190612/models.py +4 -2
- tencentcloud/mps/v20190612/mps_client.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +45 -0
- tencentcloud/vpc/v20170312/models.py +2466 -334
- tencentcloud/vpc/v20170312/vpc_client.py +334 -0
- {tencentcloud_sdk_python-3.0.1189.dist-info → tencentcloud_sdk_python-3.0.1190.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1189.dist-info → tencentcloud_sdk_python-3.0.1190.dist-info}/RECORD +27 -22
- {tencentcloud_sdk_python-3.0.1189.dist-info → tencentcloud_sdk_python-3.0.1190.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1189.dist-info → tencentcloud_sdk_python-3.0.1190.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1189.dist-info → tencentcloud_sdk_python-3.0.1190.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,467 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import warnings
|
17
|
+
|
18
|
+
from tencentcloud.common.abstract_model import AbstractModel
|
19
|
+
|
20
|
+
|
21
|
+
class CloudDedicatedZoneHostsInfo(AbstractModel):
|
22
|
+
"""CDZ的母机和子机的对应关系
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _HostUuid: Host的唯一标识uuid
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
:type HostUuid: str
|
31
|
+
:param _InstancesInfo: 实例名称数组
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
:type InstancesInfo: list of str
|
34
|
+
"""
|
35
|
+
self._HostUuid = None
|
36
|
+
self._InstancesInfo = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def HostUuid(self):
|
40
|
+
return self._HostUuid
|
41
|
+
|
42
|
+
@HostUuid.setter
|
43
|
+
def HostUuid(self, HostUuid):
|
44
|
+
self._HostUuid = HostUuid
|
45
|
+
|
46
|
+
@property
|
47
|
+
def InstancesInfo(self):
|
48
|
+
return self._InstancesInfo
|
49
|
+
|
50
|
+
@InstancesInfo.setter
|
51
|
+
def InstancesInfo(self, InstancesInfo):
|
52
|
+
self._InstancesInfo = InstancesInfo
|
53
|
+
|
54
|
+
|
55
|
+
def _deserialize(self, params):
|
56
|
+
self._HostUuid = params.get("HostUuid")
|
57
|
+
self._InstancesInfo = params.get("InstancesInfo")
|
58
|
+
memeber_set = set(params.keys())
|
59
|
+
for name, value in vars(self).items():
|
60
|
+
property_name = name[1:]
|
61
|
+
if property_name in memeber_set:
|
62
|
+
memeber_set.remove(property_name)
|
63
|
+
if len(memeber_set) > 0:
|
64
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
69
|
+
"""专属可用区资源统计项数据详情,对应一个具体的垂直产品的资源统计项。
|
70
|
+
|
71
|
+
"""
|
72
|
+
|
73
|
+
def __init__(self):
|
74
|
+
r"""
|
75
|
+
:param _Item: 资源统计项名称
|
76
|
+
:type Item: str
|
77
|
+
:param _Unit: 资源统计项单位
|
78
|
+
:type Unit: str
|
79
|
+
:param _Total: 资源总量
|
80
|
+
:type Total: str
|
81
|
+
:param _Usage: 已用资源
|
82
|
+
:type Usage: str
|
83
|
+
:param _UsageRate: 已用资源占比
|
84
|
+
:type UsageRate: str
|
85
|
+
:param _Remain: 剩余资源
|
86
|
+
:type Remain: str
|
87
|
+
:param _RemainRate: 剩余资源占比
|
88
|
+
:type RemainRate: str
|
89
|
+
:param _ThisMondayUsageRate: 本周一零点资源使用率
|
90
|
+
:type ThisMondayUsageRate: str
|
91
|
+
:param _ThisMondayUsageGrowthRate: 本周资源增长比例
|
92
|
+
:type ThisMondayUsageGrowthRate: str
|
93
|
+
:param _LastMondayUsageGrowthRate: 上周资源增长比例
|
94
|
+
:type LastMondayUsageGrowthRate: str
|
95
|
+
"""
|
96
|
+
self._Item = None
|
97
|
+
self._Unit = None
|
98
|
+
self._Total = None
|
99
|
+
self._Usage = None
|
100
|
+
self._UsageRate = None
|
101
|
+
self._Remain = None
|
102
|
+
self._RemainRate = None
|
103
|
+
self._ThisMondayUsageRate = None
|
104
|
+
self._ThisMondayUsageGrowthRate = None
|
105
|
+
self._LastMondayUsageGrowthRate = None
|
106
|
+
|
107
|
+
@property
|
108
|
+
def Item(self):
|
109
|
+
return self._Item
|
110
|
+
|
111
|
+
@Item.setter
|
112
|
+
def Item(self, Item):
|
113
|
+
self._Item = Item
|
114
|
+
|
115
|
+
@property
|
116
|
+
def Unit(self):
|
117
|
+
return self._Unit
|
118
|
+
|
119
|
+
@Unit.setter
|
120
|
+
def Unit(self, Unit):
|
121
|
+
self._Unit = Unit
|
122
|
+
|
123
|
+
@property
|
124
|
+
def Total(self):
|
125
|
+
return self._Total
|
126
|
+
|
127
|
+
@Total.setter
|
128
|
+
def Total(self, Total):
|
129
|
+
self._Total = Total
|
130
|
+
|
131
|
+
@property
|
132
|
+
def Usage(self):
|
133
|
+
return self._Usage
|
134
|
+
|
135
|
+
@Usage.setter
|
136
|
+
def Usage(self, Usage):
|
137
|
+
self._Usage = Usage
|
138
|
+
|
139
|
+
@property
|
140
|
+
def UsageRate(self):
|
141
|
+
return self._UsageRate
|
142
|
+
|
143
|
+
@UsageRate.setter
|
144
|
+
def UsageRate(self, UsageRate):
|
145
|
+
self._UsageRate = UsageRate
|
146
|
+
|
147
|
+
@property
|
148
|
+
def Remain(self):
|
149
|
+
return self._Remain
|
150
|
+
|
151
|
+
@Remain.setter
|
152
|
+
def Remain(self, Remain):
|
153
|
+
self._Remain = Remain
|
154
|
+
|
155
|
+
@property
|
156
|
+
def RemainRate(self):
|
157
|
+
return self._RemainRate
|
158
|
+
|
159
|
+
@RemainRate.setter
|
160
|
+
def RemainRate(self, RemainRate):
|
161
|
+
self._RemainRate = RemainRate
|
162
|
+
|
163
|
+
@property
|
164
|
+
def ThisMondayUsageRate(self):
|
165
|
+
return self._ThisMondayUsageRate
|
166
|
+
|
167
|
+
@ThisMondayUsageRate.setter
|
168
|
+
def ThisMondayUsageRate(self, ThisMondayUsageRate):
|
169
|
+
self._ThisMondayUsageRate = ThisMondayUsageRate
|
170
|
+
|
171
|
+
@property
|
172
|
+
def ThisMondayUsageGrowthRate(self):
|
173
|
+
return self._ThisMondayUsageGrowthRate
|
174
|
+
|
175
|
+
@ThisMondayUsageGrowthRate.setter
|
176
|
+
def ThisMondayUsageGrowthRate(self, ThisMondayUsageGrowthRate):
|
177
|
+
self._ThisMondayUsageGrowthRate = ThisMondayUsageGrowthRate
|
178
|
+
|
179
|
+
@property
|
180
|
+
def LastMondayUsageGrowthRate(self):
|
181
|
+
return self._LastMondayUsageGrowthRate
|
182
|
+
|
183
|
+
@LastMondayUsageGrowthRate.setter
|
184
|
+
def LastMondayUsageGrowthRate(self, LastMondayUsageGrowthRate):
|
185
|
+
self._LastMondayUsageGrowthRate = LastMondayUsageGrowthRate
|
186
|
+
|
187
|
+
|
188
|
+
def _deserialize(self, params):
|
189
|
+
self._Item = params.get("Item")
|
190
|
+
self._Unit = params.get("Unit")
|
191
|
+
self._Total = params.get("Total")
|
192
|
+
self._Usage = params.get("Usage")
|
193
|
+
self._UsageRate = params.get("UsageRate")
|
194
|
+
self._Remain = params.get("Remain")
|
195
|
+
self._RemainRate = params.get("RemainRate")
|
196
|
+
self._ThisMondayUsageRate = params.get("ThisMondayUsageRate")
|
197
|
+
self._ThisMondayUsageGrowthRate = params.get("ThisMondayUsageGrowthRate")
|
198
|
+
self._LastMondayUsageGrowthRate = params.get("LastMondayUsageGrowthRate")
|
199
|
+
memeber_set = set(params.keys())
|
200
|
+
for name, value in vars(self).items():
|
201
|
+
property_name = name[1:]
|
202
|
+
if property_name in memeber_set:
|
203
|
+
memeber_set.remove(property_name)
|
204
|
+
if len(memeber_set) > 0:
|
205
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
class CloudDedicatedZoneResourceSummaryInfo(AbstractModel):
|
210
|
+
"""专属可用区资源水位数据详情,对应一个具体的垂直产品。
|
211
|
+
|
212
|
+
"""
|
213
|
+
|
214
|
+
def __init__(self):
|
215
|
+
r"""
|
216
|
+
:param _ProductName: 产品名称
|
217
|
+
:type ProductName: str
|
218
|
+
:param _SubProductName: 子产品名称
|
219
|
+
:type SubProductName: str
|
220
|
+
:param _Statistics: 资源统计详情
|
221
|
+
:type Statistics: list of CloudDedicatedZoneResourceStatisticsInfo
|
222
|
+
"""
|
223
|
+
self._ProductName = None
|
224
|
+
self._SubProductName = None
|
225
|
+
self._Statistics = None
|
226
|
+
|
227
|
+
@property
|
228
|
+
def ProductName(self):
|
229
|
+
return self._ProductName
|
230
|
+
|
231
|
+
@ProductName.setter
|
232
|
+
def ProductName(self, ProductName):
|
233
|
+
self._ProductName = ProductName
|
234
|
+
|
235
|
+
@property
|
236
|
+
def SubProductName(self):
|
237
|
+
return self._SubProductName
|
238
|
+
|
239
|
+
@SubProductName.setter
|
240
|
+
def SubProductName(self, SubProductName):
|
241
|
+
self._SubProductName = SubProductName
|
242
|
+
|
243
|
+
@property
|
244
|
+
def Statistics(self):
|
245
|
+
return self._Statistics
|
246
|
+
|
247
|
+
@Statistics.setter
|
248
|
+
def Statistics(self, Statistics):
|
249
|
+
self._Statistics = Statistics
|
250
|
+
|
251
|
+
|
252
|
+
def _deserialize(self, params):
|
253
|
+
self._ProductName = params.get("ProductName")
|
254
|
+
self._SubProductName = params.get("SubProductName")
|
255
|
+
if params.get("Statistics") is not None:
|
256
|
+
self._Statistics = []
|
257
|
+
for item in params.get("Statistics"):
|
258
|
+
obj = CloudDedicatedZoneResourceStatisticsInfo()
|
259
|
+
obj._deserialize(item)
|
260
|
+
self._Statistics.append(obj)
|
261
|
+
memeber_set = set(params.keys())
|
262
|
+
for name, value in vars(self).items():
|
263
|
+
property_name = name[1:]
|
264
|
+
if property_name in memeber_set:
|
265
|
+
memeber_set.remove(property_name)
|
266
|
+
if len(memeber_set) > 0:
|
267
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
272
|
+
"""DescribeCloudDedicatedZoneHosts请求参数结构体
|
273
|
+
|
274
|
+
"""
|
275
|
+
|
276
|
+
def __init__(self):
|
277
|
+
r"""
|
278
|
+
:param _CloudDedicatedZoneID: 专属可用区ID
|
279
|
+
:type CloudDedicatedZoneID: str
|
280
|
+
:param _HostUuids: 一个或多个Host面的CVM实例信息。最大支持查询100台Host。
|
281
|
+
:type HostUuids: list of str
|
282
|
+
:param _InstanceIds: 查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。
|
283
|
+
:type InstanceIds: list of str
|
284
|
+
:param _Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。
|
285
|
+
:type Offset: int
|
286
|
+
:param _Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。
|
287
|
+
:type Limit: int
|
288
|
+
"""
|
289
|
+
self._CloudDedicatedZoneID = None
|
290
|
+
self._HostUuids = None
|
291
|
+
self._InstanceIds = None
|
292
|
+
self._Offset = None
|
293
|
+
self._Limit = None
|
294
|
+
|
295
|
+
@property
|
296
|
+
def CloudDedicatedZoneID(self):
|
297
|
+
return self._CloudDedicatedZoneID
|
298
|
+
|
299
|
+
@CloudDedicatedZoneID.setter
|
300
|
+
def CloudDedicatedZoneID(self, CloudDedicatedZoneID):
|
301
|
+
self._CloudDedicatedZoneID = CloudDedicatedZoneID
|
302
|
+
|
303
|
+
@property
|
304
|
+
def HostUuids(self):
|
305
|
+
return self._HostUuids
|
306
|
+
|
307
|
+
@HostUuids.setter
|
308
|
+
def HostUuids(self, HostUuids):
|
309
|
+
self._HostUuids = HostUuids
|
310
|
+
|
311
|
+
@property
|
312
|
+
def InstanceIds(self):
|
313
|
+
return self._InstanceIds
|
314
|
+
|
315
|
+
@InstanceIds.setter
|
316
|
+
def InstanceIds(self, InstanceIds):
|
317
|
+
self._InstanceIds = InstanceIds
|
318
|
+
|
319
|
+
@property
|
320
|
+
def Offset(self):
|
321
|
+
return self._Offset
|
322
|
+
|
323
|
+
@Offset.setter
|
324
|
+
def Offset(self, Offset):
|
325
|
+
self._Offset = Offset
|
326
|
+
|
327
|
+
@property
|
328
|
+
def Limit(self):
|
329
|
+
return self._Limit
|
330
|
+
|
331
|
+
@Limit.setter
|
332
|
+
def Limit(self, Limit):
|
333
|
+
self._Limit = Limit
|
334
|
+
|
335
|
+
|
336
|
+
def _deserialize(self, params):
|
337
|
+
self._CloudDedicatedZoneID = params.get("CloudDedicatedZoneID")
|
338
|
+
self._HostUuids = params.get("HostUuids")
|
339
|
+
self._InstanceIds = params.get("InstanceIds")
|
340
|
+
self._Offset = params.get("Offset")
|
341
|
+
self._Limit = params.get("Limit")
|
342
|
+
memeber_set = set(params.keys())
|
343
|
+
for name, value in vars(self).items():
|
344
|
+
property_name = name[1:]
|
345
|
+
if property_name in memeber_set:
|
346
|
+
memeber_set.remove(property_name)
|
347
|
+
if len(memeber_set) > 0:
|
348
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
|
353
|
+
"""DescribeCloudDedicatedZoneHosts返回参数结构体
|
354
|
+
|
355
|
+
"""
|
356
|
+
|
357
|
+
def __init__(self):
|
358
|
+
r"""
|
359
|
+
:param _CloudDedicatedZoneHostsInfoSet: 返回Host和Host上部署的实例信息之间的关系
|
360
|
+
:type CloudDedicatedZoneHostsInfoSet: list of CloudDedicatedZoneHostsInfo
|
361
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
362
|
+
:type RequestId: str
|
363
|
+
"""
|
364
|
+
self._CloudDedicatedZoneHostsInfoSet = None
|
365
|
+
self._RequestId = None
|
366
|
+
|
367
|
+
@property
|
368
|
+
def CloudDedicatedZoneHostsInfoSet(self):
|
369
|
+
return self._CloudDedicatedZoneHostsInfoSet
|
370
|
+
|
371
|
+
@CloudDedicatedZoneHostsInfoSet.setter
|
372
|
+
def CloudDedicatedZoneHostsInfoSet(self, CloudDedicatedZoneHostsInfoSet):
|
373
|
+
self._CloudDedicatedZoneHostsInfoSet = CloudDedicatedZoneHostsInfoSet
|
374
|
+
|
375
|
+
@property
|
376
|
+
def RequestId(self):
|
377
|
+
return self._RequestId
|
378
|
+
|
379
|
+
@RequestId.setter
|
380
|
+
def RequestId(self, RequestId):
|
381
|
+
self._RequestId = RequestId
|
382
|
+
|
383
|
+
|
384
|
+
def _deserialize(self, params):
|
385
|
+
if params.get("CloudDedicatedZoneHostsInfoSet") is not None:
|
386
|
+
self._CloudDedicatedZoneHostsInfoSet = []
|
387
|
+
for item in params.get("CloudDedicatedZoneHostsInfoSet"):
|
388
|
+
obj = CloudDedicatedZoneHostsInfo()
|
389
|
+
obj._deserialize(item)
|
390
|
+
self._CloudDedicatedZoneHostsInfoSet.append(obj)
|
391
|
+
self._RequestId = params.get("RequestId")
|
392
|
+
|
393
|
+
|
394
|
+
class DescribeCloudDedicatedZoneResourceSummaryRequest(AbstractModel):
|
395
|
+
"""DescribeCloudDedicatedZoneResourceSummary请求参数结构体
|
396
|
+
|
397
|
+
"""
|
398
|
+
|
399
|
+
def __init__(self):
|
400
|
+
r"""
|
401
|
+
:param _CdzId: 专属可用区唯一标识
|
402
|
+
:type CdzId: str
|
403
|
+
"""
|
404
|
+
self._CdzId = None
|
405
|
+
|
406
|
+
@property
|
407
|
+
def CdzId(self):
|
408
|
+
return self._CdzId
|
409
|
+
|
410
|
+
@CdzId.setter
|
411
|
+
def CdzId(self, CdzId):
|
412
|
+
self._CdzId = CdzId
|
413
|
+
|
414
|
+
|
415
|
+
def _deserialize(self, params):
|
416
|
+
self._CdzId = params.get("CdzId")
|
417
|
+
memeber_set = set(params.keys())
|
418
|
+
for name, value in vars(self).items():
|
419
|
+
property_name = name[1:]
|
420
|
+
if property_name in memeber_set:
|
421
|
+
memeber_set.remove(property_name)
|
422
|
+
if len(memeber_set) > 0:
|
423
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
class DescribeCloudDedicatedZoneResourceSummaryResponse(AbstractModel):
|
428
|
+
"""DescribeCloudDedicatedZoneResourceSummary返回参数结构体
|
429
|
+
|
430
|
+
"""
|
431
|
+
|
432
|
+
def __init__(self):
|
433
|
+
r"""
|
434
|
+
:param _ResourceSummarySet: 资源水位详情
|
435
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
436
|
+
:type ResourceSummarySet: list of CloudDedicatedZoneResourceSummaryInfo
|
437
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
438
|
+
:type RequestId: str
|
439
|
+
"""
|
440
|
+
self._ResourceSummarySet = None
|
441
|
+
self._RequestId = None
|
442
|
+
|
443
|
+
@property
|
444
|
+
def ResourceSummarySet(self):
|
445
|
+
return self._ResourceSummarySet
|
446
|
+
|
447
|
+
@ResourceSummarySet.setter
|
448
|
+
def ResourceSummarySet(self, ResourceSummarySet):
|
449
|
+
self._ResourceSummarySet = ResourceSummarySet
|
450
|
+
|
451
|
+
@property
|
452
|
+
def RequestId(self):
|
453
|
+
return self._RequestId
|
454
|
+
|
455
|
+
@RequestId.setter
|
456
|
+
def RequestId(self, RequestId):
|
457
|
+
self._RequestId = RequestId
|
458
|
+
|
459
|
+
|
460
|
+
def _deserialize(self, params):
|
461
|
+
if params.get("ResourceSummarySet") is not None:
|
462
|
+
self._ResourceSummarySet = []
|
463
|
+
for item in params.get("ResourceSummarySet"):
|
464
|
+
obj = CloudDedicatedZoneResourceSummaryInfo()
|
465
|
+
obj._deserialize(item)
|
466
|
+
self._ResourceSummarySet.append(obj)
|
467
|
+
self._RequestId = params.get("RequestId")
|
@@ -3378,6 +3378,8 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
3378
3378
|
:type DynamicVip: bool
|
3379
3379
|
:param _Egress: 网络出口
|
3380
3380
|
:type Egress: str
|
3381
|
+
:param _LBChargePrepaid: 负载均衡实例的预付费相关属性
|
3382
|
+
:type LBChargePrepaid: :class:`tencentcloud.clb.v20180317.models.LBChargePrepaid`
|
3381
3383
|
"""
|
3382
3384
|
self._LoadBalancerType = None
|
3383
3385
|
self._Forward = None
|
@@ -3406,6 +3408,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
3406
3408
|
self._LoadBalancerPassToTarget = None
|
3407
3409
|
self._DynamicVip = None
|
3408
3410
|
self._Egress = None
|
3411
|
+
self._LBChargePrepaid = None
|
3409
3412
|
|
3410
3413
|
@property
|
3411
3414
|
def LoadBalancerType(self):
|
@@ -3623,6 +3626,14 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
3623
3626
|
def Egress(self, Egress):
|
3624
3627
|
self._Egress = Egress
|
3625
3628
|
|
3629
|
+
@property
|
3630
|
+
def LBChargePrepaid(self):
|
3631
|
+
return self._LBChargePrepaid
|
3632
|
+
|
3633
|
+
@LBChargePrepaid.setter
|
3634
|
+
def LBChargePrepaid(self, LBChargePrepaid):
|
3635
|
+
self._LBChargePrepaid = LBChargePrepaid
|
3636
|
+
|
3626
3637
|
|
3627
3638
|
def _deserialize(self, params):
|
3628
3639
|
self._LoadBalancerType = params.get("LoadBalancerType")
|
@@ -3666,6 +3677,9 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
3666
3677
|
self._LoadBalancerPassToTarget = params.get("LoadBalancerPassToTarget")
|
3667
3678
|
self._DynamicVip = params.get("DynamicVip")
|
3668
3679
|
self._Egress = params.get("Egress")
|
3680
|
+
if params.get("LBChargePrepaid") is not None:
|
3681
|
+
self._LBChargePrepaid = LBChargePrepaid()
|
3682
|
+
self._LBChargePrepaid._deserialize(params.get("LBChargePrepaid"))
|
3669
3683
|
memeber_set = set(params.keys())
|
3670
3684
|
for name, value in vars(self).items():
|
3671
3685
|
property_name = name[1:]
|
@@ -3037,7 +3037,7 @@ class CreateUserRequest(AbstractModel):
|
|
3037
3037
|
:type UserName: str
|
3038
3038
|
:param _RealName: 用户姓名,最大长度20个字符,不能包含空白字符
|
3039
3039
|
:type RealName: str
|
3040
|
-
:param _Phone:
|
3040
|
+
:param _Phone: 按照"国家地区代码|手机号"的格式输入。如: "+86|xxxxxxxx"
|
3041
3041
|
:type Phone: str
|
3042
3042
|
:param _Email: 电子邮件
|
3043
3043
|
:type Email: str
|
@@ -8569,7 +8569,7 @@ class ModifyUserRequest(AbstractModel):
|
|
8569
8569
|
:type Id: int
|
8570
8570
|
:param _RealName: 用户姓名,最大长度20个字符,不能包含空格
|
8571
8571
|
:type RealName: str
|
8572
|
-
:param _Phone:
|
8572
|
+
:param _Phone: 按照"国家地区代码|手机号"的格式输入。如: "+86|xxxxxxxx"
|
8573
8573
|
:type Phone: str
|
8574
8574
|
:param _Email: 电子邮件
|
8575
8575
|
:type Email: str
|
@@ -4407,9 +4407,9 @@ class CreateFlowByFilesRequest(AbstractModel):
|
|
4407
4407
|
|
4408
4408
|
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
4409
4409
|
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
4410
|
-
:param _FlowName:
|
4410
|
+
:param _FlowName: 自定义的合同流程的名称,长度不能超过200个字符,只能由中文汉字、中文标点、英文字母、阿拉伯数字、空格、小括号、中括号、中划线、下划线以及(,)、(;)、(.)、(&)、(+)组成。
|
4411
4411
|
|
4412
|
-
|
4412
|
+
该名称还将用于合同签署完成后文件下载的默认文件名称。
|
4413
4413
|
:type FlowName: str
|
4414
4414
|
:param _Approvers: 合同流程的参与方列表,最多可支持50个参与方,可在列表中指定企业B端签署方和个人C端签署方的联系和认证方式等信息,具体定义可以参考开发者中心的ApproverInfo结构体。
|
4415
4415
|
|
@@ -5839,9 +5839,9 @@ class CreateFlowRequest(AbstractModel):
|
|
5839
5839
|
|
5840
5840
|
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
5841
5841
|
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
5842
|
-
:param _FlowName:
|
5842
|
+
:param _FlowName: 自定义的合同流程的名称,长度不能超过200个字符,只能由中文汉字、中文标点、英文字母、阿拉伯数字、空格、小括号、中括号、中划线、下划线以及(,)、(;)、(.)、(&)、(+)组成。
|
5843
5843
|
|
5844
|
-
|
5844
|
+
该名称还将用于合同签署完成后文件下载的默认文件名称。
|
5845
5845
|
:type FlowName: str
|
5846
5846
|
:param _Approvers: 合同流程的参与方列表,最多可支持50个参与方,可在列表中指定企业B端签署方和个人C端签署方的联系和认证方式等信息,具体定义可以参考开发者中心的ApproverInfo结构体。
|
5847
5847
|
|
@@ -8491,8 +8491,9 @@ class CreatePrepareFlowRequest(AbstractModel):
|
|
8491
8491
|
</ul>
|
8492
8492
|
注意:需要同时设置 ResourceType 参数指定资源类型
|
8493
8493
|
:type ResourceId: str
|
8494
|
-
:param _FlowName:
|
8494
|
+
:param _FlowName: 自定义的合同流程的名称,长度不能超过200个字符,只能由中文汉字、中文标点、英文字母、阿拉伯数字、空格、小括号、中括号、中划线、下划线以及(,)、(;)、(.)、(&)、(+)组成。
|
8495
8495
|
|
8496
|
+
该名称还将用于合同签署完成后文件下载的默认文件名称。
|
8496
8497
|
:type FlowName: str
|
8497
8498
|
:param _ResourceType: 资源类型,取值有:
|
8498
8499
|
<ul><li> **1**:模板</li>
|
@@ -9803,14 +9804,7 @@ class CreateSealRequest(AbstractModel):
|
|
9803
9804
|
<li><strong>SealGenerateSourceSystem</strong>: 系统生成印章, 无需上传SealImage图片</li>
|
9804
9805
|
</ul>
|
9805
9806
|
:type GenerateSource: str
|
9806
|
-
:param _SealType: 电子印章类型 , 可选类型如下:
|
9807
|
-
<ul><li>**OFFICIAL**: (默认)公章</li>
|
9808
|
-
<li>**CONTRACT**: 合同专用章;</li>
|
9809
|
-
<li>**FINANCE**: 财务专用章;</li>
|
9810
|
-
<li>**PERSONNEL**: 人事专用章</li>
|
9811
|
-
<li>**INVOICE**: 发票专用章</li>
|
9812
|
-
</ul>
|
9813
|
-
注: `同企业下只能有一个公章, 重复创建会报错`
|
9807
|
+
:param _SealType: 电子印章类型 , 可选类型如下: <ul><li>**OFFICIAL**: (默认)公章</li><li>**CONTRACT**: 合同专用章;</li><li>**FINANCE**: 财务专用章;</li><li>**PERSONNEL**: 人事专用章</li><li>**INVOICE**: 发票专用章</li></ul>注: `同企业下只能有<font color="red">一个</font>公章, 重复创建会报错`
|
9814
9808
|
:type SealType: str
|
9815
9809
|
:param _FileName: 电子印章图片文件名称,1-50个中文字符。
|
9816
9810
|
:type FileName: str
|
@@ -2158,10 +2158,9 @@ class EssbasicClient(AbstractClient):
|
|
2158
2158
|
1. **企业自动签**
|
2159
2159
|
2. **企业与港澳台居民签署合同**
|
2160
2160
|
3. **使用手机号验证签署方身份**
|
2161
|
-
4.
|
2162
|
-
5.
|
2163
|
-
6.
|
2164
|
-
7. **隐藏合同经办人姓名**
|
2161
|
+
4. **拓宽签署方年龄限制**
|
2162
|
+
5. **下载企业合同/文件**
|
2163
|
+
6. **隐藏合同经办人姓名**
|
2165
2164
|
|
2166
2165
|
对应能力开通页面在子客控制台-企业中心-拓展服务,如下图所示:
|
2167
2166
|
|
@@ -11349,14 +11349,7 @@ class CreateSealByImageRequest(AbstractModel):
|
|
11349
11349
|
<li><strong>SealGenerateSourceSystem</strong>: 系统生成印章, 无需上传SealImage图片</li>
|
11350
11350
|
</ul>
|
11351
11351
|
:type GenerateSource: str
|
11352
|
-
:param _SealType: 电子印章类型 , 可选类型如下:
|
11353
|
-
<ul><li>**OFFICIAL**: (默认)公章</li>
|
11354
|
-
<li>**CONTRACT**: 合同专用章;</li>
|
11355
|
-
<li>**FINANCE**: 财务专用章;</li>
|
11356
|
-
<li>**PERSONNEL**: 人事专用章</li>
|
11357
|
-
<li>**INVOICE**: 发票专用章</li>
|
11358
|
-
</ul>
|
11359
|
-
注: `同企业下只能有一个公章, 重复创建会报错`
|
11352
|
+
:param _SealType: 电子印章类型 , 可选类型如下: <ul><li>**OFFICIAL**: (默认)公章</li><li>**CONTRACT**: 合同专用章;</li><li>**FINANCE**: 财务专用章;</li><li>**PERSONNEL**: 人事专用章</li><li>**INVOICE**: 发票专用章</li></ul>注: `同企业下只能有<font color="red">一个</font>公章, 重复创建会报错`
|
11360
11353
|
:type SealType: str
|
11361
11354
|
:param _SealHorizontalText: 企业印章横向文字,最多可填15个汉字 (若超过印章最大宽度,优先压缩字间距,其次缩小字号)
|
11362
11355
|
横向文字的位置如下图中的"印章横向文字在这里"
|
@@ -1056,6 +1056,19 @@ class PublicMaterialInfos(AbstractModel):
|
|
1056
1056
|
:param _MaterialId: 素材Id
|
1057
1057
|
:type MaterialId: str
|
1058
1058
|
:param _MaterialStatus: 素材状态
|
1059
|
+
|
1060
|
+
字段取值:
|
1061
|
+
0 审核中
|
1062
|
+
1 人工审核通过
|
1063
|
+
2 人工审核失败
|
1064
|
+
3 申诉中
|
1065
|
+
11 申诉成功
|
1066
|
+
12 申诉失败
|
1067
|
+
21 机器审核通过
|
1068
|
+
22 机器审核失败
|
1069
|
+
31 视频素材预处理成功,素材可用
|
1070
|
+
32 视频素材预处理失败
|
1071
|
+
33 角色不在视频中
|
1059
1072
|
:type MaterialStatus: int
|
1060
1073
|
:param _CreateTime: 创建时间
|
1061
1074
|
:type CreateTime: str
|
@@ -140,6 +140,30 @@ class HunyuanClient(AbstractClient):
|
|
140
140
|
model = models.SubmitHunyuanImageJobResponse()
|
141
141
|
model._deserialize(response["Response"])
|
142
142
|
return model
|
143
|
+
except Exception as e:
|
144
|
+
if isinstance(e, TencentCloudSDKException):
|
145
|
+
raise
|
146
|
+
else:
|
147
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
148
|
+
|
149
|
+
|
150
|
+
def TextToImageLite(self, request):
|
151
|
+
"""文生图轻量版接口根据输入的文本描述,智能生成与之相关的结果图。
|
152
|
+
文生图轻量版默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
153
|
+
|
154
|
+
:param request: Request instance for TextToImageLite.
|
155
|
+
:type request: :class:`tencentcloud.hunyuan.v20230901.models.TextToImageLiteRequest`
|
156
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.TextToImageLiteResponse`
|
157
|
+
|
158
|
+
"""
|
159
|
+
try:
|
160
|
+
params = request._serialize()
|
161
|
+
headers = request.headers
|
162
|
+
body = self.call("TextToImageLite", params, headers=headers)
|
163
|
+
response = json.loads(body)
|
164
|
+
model = models.TextToImageLiteResponse()
|
165
|
+
model._deserialize(response["Response"])
|
166
|
+
return model
|
143
167
|
except Exception as e:
|
144
168
|
if isinstance(e, TencentCloudSDKException):
|
145
169
|
raise
|