tencentcloud-sdk-python 3.0.1135__py2.py3-none-any.whl → 3.0.1137__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.
Files changed (45) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/models.py +38 -34
  3. tencentcloud/apm/v20210622/apm_client.py +69 -0
  4. tencentcloud/apm/v20210622/errorcodes.py +27 -0
  5. tencentcloud/apm/v20210622/models.py +639 -0
  6. tencentcloud/ccc/v20200210/models.py +1 -1
  7. tencentcloud/cfs/v20190719/models.py +19 -5
  8. tencentcloud/cfw/v20190904/cfw_client.py +1 -1
  9. tencentcloud/cloudstudio/v20230508/models.py +49 -37
  10. tencentcloud/cls/v20201016/models.py +72 -20
  11. tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
  12. tencentcloud/cynosdb/v20190107/models.py +190 -2
  13. tencentcloud/dcdb/v20180411/dcdb_client.py +1 -1
  14. tencentcloud/ess/v20201111/models.py +98 -1
  15. tencentcloud/essbasic/v20210526/models.py +97 -0
  16. tencentcloud/faceid/v20180301/models.py +56 -7
  17. tencentcloud/hunyuan/v20230901/errorcodes.py +3 -3
  18. tencentcloud/hunyuan/v20230901/hunyuan_client.py +26 -4
  19. tencentcloud/hunyuan/v20230901/models.py +263 -17
  20. tencentcloud/ims/v20200713/errorcodes.py +3 -0
  21. tencentcloud/ims/v20201229/errorcodes.py +3 -0
  22. tencentcloud/ims/v20201229/ims_client.py +2 -3
  23. tencentcloud/ims/v20201229/models.py +12 -12
  24. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
  25. tencentcloud/iotexplorer/v20190423/models.py +145 -0
  26. tencentcloud/iss/v20230517/models.py +48 -0
  27. tencentcloud/lcic/v20220817/models.py +1 -1
  28. tencentcloud/lke/v20231130/errorcodes.py +0 -12
  29. tencentcloud/lke/v20231130/lke_client.py +0 -46
  30. tencentcloud/lke/v20231130/models.py +0 -242
  31. tencentcloud/mariadb/v20170312/mariadb_client.py +1 -1
  32. tencentcloud/monitor/v20180724/monitor_client.py +1 -1
  33. tencentcloud/mps/v20190612/models.py +70 -0
  34. tencentcloud/rum/v20210622/models.py +1 -1
  35. tencentcloud/tdid/v20210519/tdid_client.py +1 -1
  36. tencentcloud/teo/v20220901/errorcodes.py +9 -0
  37. tencentcloud/teo/v20220901/models.py +198 -35
  38. tencentcloud/tione/v20211111/models.py +49 -0
  39. tencentcloud/tmt/v20180321/models.py +1 -1
  40. tencentcloud/waf/v20180125/models.py +1 -1
  41. {tencentcloud_sdk_python-3.0.1135.dist-info → tencentcloud_sdk_python-3.0.1137.dist-info}/METADATA +1 -1
  42. {tencentcloud_sdk_python-3.0.1135.dist-info → tencentcloud_sdk_python-3.0.1137.dist-info}/RECORD +45 -45
  43. {tencentcloud_sdk_python-3.0.1135.dist-info → tencentcloud_sdk_python-3.0.1137.dist-info}/LICENSE +0 -0
  44. {tencentcloud_sdk_python-3.0.1135.dist-info → tencentcloud_sdk_python-3.0.1137.dist-info}/WHEEL +0 -0
  45. {tencentcloud_sdk_python-3.0.1135.dist-info → tencentcloud_sdk_python-3.0.1137.dist-info}/top_level.txt +0 -0
@@ -115,6 +115,9 @@ class AccelerationDomain(AbstractModel):
115
115
  <li>HTTPS: HTTPS协议回源。</li>
116
116
  注意:此字段可能返回 null,表示取不到有效值。
117
117
  :type OriginProtocol: str
118
+ :param _Certificate: 域名证书信息
119
+ 注意:此字段可能返回 null,表示取不到有效值。
120
+ :type Certificate: :class:`tencentcloud.teo.v20220901.models.AccelerationDomainCertificate`
118
121
  :param _HttpOriginPort: HTTP回源端口。
119
122
  注意:此字段可能返回 null,表示取不到有效值。
120
123
  :type HttpOriginPort: int
@@ -139,15 +142,13 @@ class AccelerationDomain(AbstractModel):
139
142
  :param _OwnershipVerification: 当域名需要进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。
140
143
  注意:此字段可能返回 null,表示取不到有效值。
141
144
  :type OwnershipVerification: :class:`tencentcloud.teo.v20220901.models.OwnershipVerification`
142
- :param _Certificate: 域名证书信息
143
- 注意:此字段可能返回 null,表示取不到有效值。
144
- :type Certificate: :class:`tencentcloud.teo.v20220901.models.AccelerationDomainCertificate`
145
145
  """
146
146
  self._ZoneId = None
147
147
  self._DomainName = None
148
148
  self._DomainStatus = None
149
149
  self._OriginDetail = None
150
150
  self._OriginProtocol = None
151
+ self._Certificate = None
151
152
  self._HttpOriginPort = None
152
153
  self._HttpsOriginPort = None
153
154
  self._IPv6Status = None
@@ -156,7 +157,6 @@ class AccelerationDomain(AbstractModel):
156
157
  self._CreatedOn = None
157
158
  self._ModifiedOn = None
158
159
  self._OwnershipVerification = None
159
- self._Certificate = None
160
160
 
161
161
  @property
162
162
  def ZoneId(self):
@@ -198,6 +198,14 @@ class AccelerationDomain(AbstractModel):
198
198
  def OriginProtocol(self, OriginProtocol):
199
199
  self._OriginProtocol = OriginProtocol
200
200
 
201
+ @property
202
+ def Certificate(self):
203
+ return self._Certificate
204
+
205
+ @Certificate.setter
206
+ def Certificate(self, Certificate):
207
+ self._Certificate = Certificate
208
+
201
209
  @property
202
210
  def HttpOriginPort(self):
203
211
  return self._HttpOriginPort
@@ -262,14 +270,6 @@ class AccelerationDomain(AbstractModel):
262
270
  def OwnershipVerification(self, OwnershipVerification):
263
271
  self._OwnershipVerification = OwnershipVerification
264
272
 
265
- @property
266
- def Certificate(self):
267
- return self._Certificate
268
-
269
- @Certificate.setter
270
- def Certificate(self, Certificate):
271
- self._Certificate = Certificate
272
-
273
273
 
274
274
  def _deserialize(self, params):
275
275
  self._ZoneId = params.get("ZoneId")
@@ -279,6 +279,9 @@ class AccelerationDomain(AbstractModel):
279
279
  self._OriginDetail = OriginDetail()
280
280
  self._OriginDetail._deserialize(params.get("OriginDetail"))
281
281
  self._OriginProtocol = params.get("OriginProtocol")
282
+ if params.get("Certificate") is not None:
283
+ self._Certificate = AccelerationDomainCertificate()
284
+ self._Certificate._deserialize(params.get("Certificate"))
282
285
  self._HttpOriginPort = params.get("HttpOriginPort")
283
286
  self._HttpsOriginPort = params.get("HttpsOriginPort")
284
287
  self._IPv6Status = params.get("IPv6Status")
@@ -289,9 +292,6 @@ class AccelerationDomain(AbstractModel):
289
292
  if params.get("OwnershipVerification") is not None:
290
293
  self._OwnershipVerification = OwnershipVerification()
291
294
  self._OwnershipVerification._deserialize(params.get("OwnershipVerification"))
292
- if params.get("Certificate") is not None:
293
- self._Certificate = AccelerationDomainCertificate()
294
- self._Certificate._deserialize(params.get("Certificate"))
295
295
  memeber_set = set(params.keys())
296
296
  for name, value in vars(self).items():
297
297
  property_name = name[1:]
@@ -5529,6 +5529,10 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
5529
5529
  :type DeliveryConditions: list of DeliveryCondition
5530
5530
  :param _Sample: 采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填表示采样比例为 100%。
5531
5531
  :type Sample: int
5532
+ :param _LogFormat: 日志投递的输出格式。不填表示为默认格式,默认格式逻辑如下:
5533
+ <li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li>
5534
+ <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li>特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
5535
+ :type LogFormat: :class:`tencentcloud.teo.v20220901.models.LogFormat`
5532
5536
  :param _CLS: CLS 的配置信息。当 TaskType 取值为 cls 时,该参数必填。
5533
5537
  :type CLS: :class:`tencentcloud.teo.v20220901.models.CLSTopic`
5534
5538
  :param _CustomEndpoint: 自定义 HTTP 服务的配置信息。当 TaskType 取值为 custom_endpoint 时,该参数必填。
@@ -5546,6 +5550,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
5546
5550
  self._CustomFields = None
5547
5551
  self._DeliveryConditions = None
5548
5552
  self._Sample = None
5553
+ self._LogFormat = None
5549
5554
  self._CLS = None
5550
5555
  self._CustomEndpoint = None
5551
5556
  self._S3 = None
@@ -5630,6 +5635,14 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
5630
5635
  def Sample(self, Sample):
5631
5636
  self._Sample = Sample
5632
5637
 
5638
+ @property
5639
+ def LogFormat(self):
5640
+ return self._LogFormat
5641
+
5642
+ @LogFormat.setter
5643
+ def LogFormat(self, LogFormat):
5644
+ self._LogFormat = LogFormat
5645
+
5633
5646
  @property
5634
5647
  def CLS(self):
5635
5648
  return self._CLS
@@ -5676,6 +5689,9 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
5676
5689
  obj._deserialize(item)
5677
5690
  self._DeliveryConditions.append(obj)
5678
5691
  self._Sample = params.get("Sample")
5692
+ if params.get("LogFormat") is not None:
5693
+ self._LogFormat = LogFormat()
5694
+ self._LogFormat._deserialize(params.get("LogFormat"))
5679
5695
  if params.get("CLS") is not None:
5680
5696
  self._CLS = CLSTopic()
5681
5697
  self._CLS._deserialize(params.get("CLS"))
@@ -6663,8 +6679,8 @@ class DDosProtectionConfig(AbstractModel):
6663
6679
  r"""
6664
6680
  :param _LevelMainland: 中国大陆地区独立 DDoS 防护的规格。详情请参考 [独立 DDoS 防护相关费用](https://cloud.tencent.com/document/product/1552/94162)
6665
6681
  <li>PLATFORM:平台默认防护,即不开启独立 DDoS 防护;</li>
6666
- <li>BASE30_MAX300:开启独立 DDoS 防护,提供 30 Gbps 保底防护带宽,可配置最高 300 Gpbs 弹性防护带宽;</li>
6667
- <li>BASE60_MAX600:开启独立 DDoS 防护,提供 60 Gbps 保底防护带宽,可配置最高 600 Gpbs 弹性防护带宽。</li>不填写参数时,取默认值 PLATFORM。
6682
+ <li>BASE30_MAX300:开启独立 DDoS 防护,提供 30 Gbps 保底防护带宽以及 300 Gbps 弹性防护带宽;</li>
6683
+ <li>BASE60_MAX600:开启独立 DDoS 防护,提供 60 Gbps 保底防护带宽以及 600 Gbps 弹性防护带宽。</li>不填写参数时,取默认值 PLATFORM。
6668
6684
  :type LevelMainland: str
6669
6685
  :param _MaxBandwidthMainland: 中国大陆地区独立 DDoS 防护的弹性防护带宽配置。
6670
6686
  仅当开启中国大陆区域独立 DDos 防护时有效(详见 LevelMainland 参数配置),且取值范围有如下限制:
@@ -6674,7 +6690,7 @@ class DDosProtectionConfig(AbstractModel):
6674
6690
  :type MaxBandwidthMainland: int
6675
6691
  :param _LevelOverseas: 全球(除中国大陆以外)地区独立 DDoS 防护的规格。
6676
6692
  <li>PLATFORM:平台默认防护,即不开启独立 DDoS 防护;</li>
6677
- <li>ANYCAST300:开启独立 DDoS 防护,提供合计最大 300 Gbps 防护带宽;</li>
6693
+ <li>ANYCAST300:开启独立 DDoS 防护,提供 300 Gbps 防护带宽;</li>
6678
6694
  <li>ANYCAST_ALLIN:开启独立 DDoS 防护,使用全部可用防护资源进行防护。</li>不填写参数时,取默认值 PLATFORM。
6679
6695
  :type LevelOverseas: str
6680
6696
  """
@@ -16406,6 +16422,119 @@ class L7OfflineLog(AbstractModel):
16406
16422
 
16407
16423
 
16408
16424
 
16425
+ class LogFormat(AbstractModel):
16426
+ """实时日志投递的输出格式。您可以直接通过 FormatType 参数使用指定预设日志输出格式(JSON Lines / csv),也可以在预设日志输出格式基础上,通过其他参数来自定义变体输出格式。
16427
+
16428
+ """
16429
+
16430
+ def __init__(self):
16431
+ r"""
16432
+ :param _FormatType: 日志投递的预设输出格式类型,取值有:
16433
+ <li>json:使用预设日志输出格式 JSON Lines,单条日志中的字段以键值对方式呈现;</li>
16434
+ <li>csv:使用预设日志输出格式 csv,单条日志中仅呈现字段值,不呈现字段名称。</li>
16435
+ :type FormatType: str
16436
+ :param _BatchPrefix: 在每个日志投递批次之前添加的字符串。每个日志投递批次可能包含多条日志记录。
16437
+ :type BatchPrefix: str
16438
+ :param _BatchSuffix: 在每个日志投递批次后附加的字符串。
16439
+ :type BatchSuffix: str
16440
+ :param _RecordPrefix: 在每条日志记录之前添加的字符串。
16441
+ :type RecordPrefix: str
16442
+ :param _RecordSuffix: 在每条日志记录后附加的字符串。
16443
+ :type RecordSuffix: str
16444
+ :param _RecordDelimiter: 插入日志记录之间作为分隔符的字符串,取值有:
16445
+ <li>\n:换行符;</li>
16446
+ <li>\t:制表符;</li>
16447
+ <li>,:半角逗号。</li>
16448
+ :type RecordDelimiter: str
16449
+ :param _FieldDelimiter: 单条日志记录内,插入字段之间作为分隔符的字符串,取值有:
16450
+ <li>\t:制表符;</li>
16451
+ <li>,:半角逗号;</li>
16452
+ <li>;:半角分号。</li>
16453
+ :type FieldDelimiter: str
16454
+ """
16455
+ self._FormatType = None
16456
+ self._BatchPrefix = None
16457
+ self._BatchSuffix = None
16458
+ self._RecordPrefix = None
16459
+ self._RecordSuffix = None
16460
+ self._RecordDelimiter = None
16461
+ self._FieldDelimiter = None
16462
+
16463
+ @property
16464
+ def FormatType(self):
16465
+ return self._FormatType
16466
+
16467
+ @FormatType.setter
16468
+ def FormatType(self, FormatType):
16469
+ self._FormatType = FormatType
16470
+
16471
+ @property
16472
+ def BatchPrefix(self):
16473
+ return self._BatchPrefix
16474
+
16475
+ @BatchPrefix.setter
16476
+ def BatchPrefix(self, BatchPrefix):
16477
+ self._BatchPrefix = BatchPrefix
16478
+
16479
+ @property
16480
+ def BatchSuffix(self):
16481
+ return self._BatchSuffix
16482
+
16483
+ @BatchSuffix.setter
16484
+ def BatchSuffix(self, BatchSuffix):
16485
+ self._BatchSuffix = BatchSuffix
16486
+
16487
+ @property
16488
+ def RecordPrefix(self):
16489
+ return self._RecordPrefix
16490
+
16491
+ @RecordPrefix.setter
16492
+ def RecordPrefix(self, RecordPrefix):
16493
+ self._RecordPrefix = RecordPrefix
16494
+
16495
+ @property
16496
+ def RecordSuffix(self):
16497
+ return self._RecordSuffix
16498
+
16499
+ @RecordSuffix.setter
16500
+ def RecordSuffix(self, RecordSuffix):
16501
+ self._RecordSuffix = RecordSuffix
16502
+
16503
+ @property
16504
+ def RecordDelimiter(self):
16505
+ return self._RecordDelimiter
16506
+
16507
+ @RecordDelimiter.setter
16508
+ def RecordDelimiter(self, RecordDelimiter):
16509
+ self._RecordDelimiter = RecordDelimiter
16510
+
16511
+ @property
16512
+ def FieldDelimiter(self):
16513
+ return self._FieldDelimiter
16514
+
16515
+ @FieldDelimiter.setter
16516
+ def FieldDelimiter(self, FieldDelimiter):
16517
+ self._FieldDelimiter = FieldDelimiter
16518
+
16519
+
16520
+ def _deserialize(self, params):
16521
+ self._FormatType = params.get("FormatType")
16522
+ self._BatchPrefix = params.get("BatchPrefix")
16523
+ self._BatchSuffix = params.get("BatchSuffix")
16524
+ self._RecordPrefix = params.get("RecordPrefix")
16525
+ self._RecordSuffix = params.get("RecordSuffix")
16526
+ self._RecordDelimiter = params.get("RecordDelimiter")
16527
+ self._FieldDelimiter = params.get("FieldDelimiter")
16528
+ memeber_set = set(params.keys())
16529
+ for name, value in vars(self).items():
16530
+ property_name = name[1:]
16531
+ if property_name in memeber_set:
16532
+ memeber_set.remove(property_name)
16533
+ if len(memeber_set) > 0:
16534
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16535
+
16536
+
16537
+
16409
16538
  class MaxAge(AbstractModel):
16410
16539
  """浏览器缓存规则配置,用于设置 MaxAge 默认值,默认为关闭状态
16411
16540
 
@@ -18052,6 +18181,8 @@ class ModifyRealtimeLogDeliveryTaskRequest(AbstractModel):
18052
18181
  :type DeliveryConditions: list of DeliveryCondition
18053
18182
  :param _Sample: 采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填保持原有配置。
18054
18183
  :type Sample: int
18184
+ :param _LogFormat: 日志投递的输出格式。不填保持原有配置。
18185
+ :type LogFormat: :class:`tencentcloud.teo.v20220901.models.LogFormat`
18055
18186
  :param _CustomEndpoint: 自定义 HTTP 服务的配置信息,不填保持原有配置。
18056
18187
  :type CustomEndpoint: :class:`tencentcloud.teo.v20220901.models.CustomEndpoint`
18057
18188
  :param _S3: AWS S3 兼容存储桶的配置信息,不填保持原有配置。
@@ -18066,6 +18197,7 @@ class ModifyRealtimeLogDeliveryTaskRequest(AbstractModel):
18066
18197
  self._CustomFields = None
18067
18198
  self._DeliveryConditions = None
18068
18199
  self._Sample = None
18200
+ self._LogFormat = None
18069
18201
  self._CustomEndpoint = None
18070
18202
  self._S3 = None
18071
18203
 
@@ -18141,6 +18273,14 @@ class ModifyRealtimeLogDeliveryTaskRequest(AbstractModel):
18141
18273
  def Sample(self, Sample):
18142
18274
  self._Sample = Sample
18143
18275
 
18276
+ @property
18277
+ def LogFormat(self):
18278
+ return self._LogFormat
18279
+
18280
+ @LogFormat.setter
18281
+ def LogFormat(self, LogFormat):
18282
+ self._LogFormat = LogFormat
18283
+
18144
18284
  @property
18145
18285
  def CustomEndpoint(self):
18146
18286
  return self._CustomEndpoint
@@ -18178,6 +18318,9 @@ class ModifyRealtimeLogDeliveryTaskRequest(AbstractModel):
18178
18318
  obj._deserialize(item)
18179
18319
  self._DeliveryConditions.append(obj)
18180
18320
  self._Sample = params.get("Sample")
18321
+ if params.get("LogFormat") is not None:
18322
+ self._LogFormat = LogFormat()
18323
+ self._LogFormat._deserialize(params.get("LogFormat"))
18181
18324
  if params.get("CustomEndpoint") is not None:
18182
18325
  self._CustomEndpoint = CustomEndpoint()
18183
18326
  self._CustomEndpoint._deserialize(params.get("CustomEndpoint"))
@@ -19342,7 +19485,7 @@ class OriginDetail(AbstractModel):
19342
19485
  <li>COS:腾讯云 COS 对象存储源站;</li>
19343
19486
  <li>AWS_S3:AWS S3 对象存储源站;</li>
19344
19487
  <li>ORIGIN_GROUP:源站组类型源站;</li>
19345
- <li>VODEO:云点播(混合云版);</li>
19488
+ <li>VODEO:云点播(混合云版);</li>
19346
19489
  <li>SPACE:源站卸载,当前仅白名单开放;</li>
19347
19490
  <li>LB:负载均衡,当前仅白名单开放。</li>
19348
19491
  :type OriginType: str
@@ -19352,7 +19495,6 @@ class OriginDetail(AbstractModel):
19352
19495
  <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
19353
19496
  <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
19354
19497
  <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
19355
-
19356
19498
  :type Origin: str
19357
19499
  :param _BackupOrigin: 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
19358
19500
  :type BackupOrigin: str
@@ -19360,17 +19502,17 @@ class OriginDetail(AbstractModel):
19360
19502
  :type OriginGroupName: str
19361
19503
  :param _BackOriginGroupName: 备用源站组名称,该参数仅当 OriginType = ORIGIN_GROUP 且配置了备用源站组时会生效。
19362
19504
  :type BackOriginGroupName: str
19363
- :param _PrivateAccess: 指定是否允许访问私有对象存储源站,该参数仅当源站类型 OriginType = COS 或 AWS_S3 时会生效,取值有:
19505
+ :param _PrivateAccess: 指定是否允许访问私有对象存储源站,该参数仅当源站类型OriginType = COS 或 AWS_S3 时会生效,取值有:
19364
19506
  <li>on:使用私有鉴权;</li>
19365
19507
  <li>off:不使用私有鉴权。</li>
19366
- 不填写,默认值为off。
19508
+ 不填写,默认值为 off。
19367
19509
  :type PrivateAccess: str
19368
19510
  :param _PrivateParameters: 私有鉴权使用参数,该参数仅当源站类型 PrivateAccess = on 时会生效。
19369
19511
  注意:此字段可能返回 null,表示取不到有效值。
19370
19512
  :type PrivateParameters: list of PrivateParameter
19371
19513
  :param _VodeoSubAppId: MO 子应用 ID
19372
19514
  :type VodeoSubAppId: int
19373
- :param _VodeoDistributionRange: MO 分发范围,取值有: <li>All:全部</li> <li>Bucket:存储桶</li>
19515
+ :param _VodeoDistributionRange: MO 分发范围,取值有: <li>All:全部</li> <li>Bucket:存储桶</li>
19374
19516
  :type VodeoDistributionRange: str
19375
19517
  :param _VodeoBucketId: MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填
19376
19518
  :type VodeoBucketId: str
@@ -21249,6 +21391,11 @@ class RealtimeLogDeliveryTask(AbstractModel):
21249
21391
  :type DeliveryConditions: list of DeliveryCondition
21250
21392
  :param _Sample: 采样比例,采用千分制,取值范围为1-1000,例如:605 表示采样比例为 60.5%。
21251
21393
  :type Sample: int
21394
+ :param _LogFormat: 日志投递的输出格式。出参为 null 时表示为默认格式,默认格式逻辑如下:
21395
+ <li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li>
21396
+ <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li>
21397
+ 注意:此字段可能返回 null,表示取不到有效值。
21398
+ :type LogFormat: :class:`tencentcloud.teo.v20220901.models.LogFormat`
21252
21399
  :param _CLS: CLS 的配置信息。
21253
21400
  注意:此字段可能返回 null,表示取不到有效值。
21254
21401
  :type CLS: :class:`tencentcloud.teo.v20220901.models.CLSTopic`
@@ -21274,6 +21421,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
21274
21421
  self._CustomFields = None
21275
21422
  self._DeliveryConditions = None
21276
21423
  self._Sample = None
21424
+ self._LogFormat = None
21277
21425
  self._CLS = None
21278
21426
  self._CustomEndpoint = None
21279
21427
  self._S3 = None
@@ -21368,6 +21516,14 @@ class RealtimeLogDeliveryTask(AbstractModel):
21368
21516
  def Sample(self, Sample):
21369
21517
  self._Sample = Sample
21370
21518
 
21519
+ @property
21520
+ def LogFormat(self):
21521
+ return self._LogFormat
21522
+
21523
+ @LogFormat.setter
21524
+ def LogFormat(self, LogFormat):
21525
+ self._LogFormat = LogFormat
21526
+
21371
21527
  @property
21372
21528
  def CLS(self):
21373
21529
  return self._CLS
@@ -21431,6 +21587,9 @@ class RealtimeLogDeliveryTask(AbstractModel):
21431
21587
  obj._deserialize(item)
21432
21588
  self._DeliveryConditions.append(obj)
21433
21589
  self._Sample = params.get("Sample")
21590
+ if params.get("LogFormat") is not None:
21591
+ self._LogFormat = LogFormat()
21592
+ self._LogFormat._deserialize(params.get("LogFormat"))
21434
21593
  if params.get("CLS") is not None:
21435
21594
  self._CLS = CLSTopic()
21436
21595
  self._CLS._deserialize(params.get("CLS"))
@@ -23844,21 +24003,25 @@ class Task(AbstractModel):
23844
24003
  r"""
23845
24004
  :param _JobId: 任务 ID。
23846
24005
  :type JobId: str
23847
- :param _Status: 状态。
23848
- :type Status: str
23849
24006
  :param _Target: 资源。
23850
24007
  :type Target: str
23851
24008
  :param _Type: 任务类型。
23852
24009
  :type Type: str
24010
+ :param _Status: 状态。取值有:
24011
+ <li>processing:处理中;</li>
24012
+ <li>success:成功;</li>
24013
+ <li> failed:失败;</li>
24014
+ <li>timeout:超时。</li>
24015
+ :type Status: str
23853
24016
  :param _CreateTime: 任务创建时间。
23854
24017
  :type CreateTime: str
23855
24018
  :param _UpdateTime: 任务完成时间。
23856
24019
  :type UpdateTime: str
23857
24020
  """
23858
24021
  self._JobId = None
23859
- self._Status = None
23860
24022
  self._Target = None
23861
24023
  self._Type = None
24024
+ self._Status = None
23862
24025
  self._CreateTime = None
23863
24026
  self._UpdateTime = None
23864
24027
 
@@ -23870,14 +24033,6 @@ class Task(AbstractModel):
23870
24033
  def JobId(self, JobId):
23871
24034
  self._JobId = JobId
23872
24035
 
23873
- @property
23874
- def Status(self):
23875
- return self._Status
23876
-
23877
- @Status.setter
23878
- def Status(self, Status):
23879
- self._Status = Status
23880
-
23881
24036
  @property
23882
24037
  def Target(self):
23883
24038
  return self._Target
@@ -23894,6 +24049,14 @@ class Task(AbstractModel):
23894
24049
  def Type(self, Type):
23895
24050
  self._Type = Type
23896
24051
 
24052
+ @property
24053
+ def Status(self):
24054
+ return self._Status
24055
+
24056
+ @Status.setter
24057
+ def Status(self, Status):
24058
+ self._Status = Status
24059
+
23897
24060
  @property
23898
24061
  def CreateTime(self):
23899
24062
  return self._CreateTime
@@ -23913,9 +24076,9 @@ class Task(AbstractModel):
23913
24076
 
23914
24077
  def _deserialize(self, params):
23915
24078
  self._JobId = params.get("JobId")
23916
- self._Status = params.get("Status")
23917
24079
  self._Target = params.get("Target")
23918
24080
  self._Type = params.get("Type")
24081
+ self._Status = params.get("Status")
23919
24082
  self._CreateTime = params.get("CreateTime")
23920
24083
  self._UpdateTime = params.get("UpdateTime")
23921
24084
  memeber_set = set(params.keys())
@@ -4739,6 +4739,9 @@ class DataConfig(AbstractModel):
4739
4739
  :param _CFSTurboSource: 配置TurboFS的数据
4740
4740
  注意:此字段可能返回 null,表示取不到有效值。
4741
4741
  :type CFSTurboSource: :class:`tencentcloud.tione.v20211111.models.CFSTurbo`
4742
+ :param _LocalDiskSource: 来自本地磁盘的信息
4743
+ 注意:此字段可能返回 null,表示取不到有效值。
4744
+ :type LocalDiskSource: :class:`tencentcloud.tione.v20211111.models.LocalDisk`
4742
4745
  """
4743
4746
  self._MappingPath = None
4744
4747
  self._DataSourceType = None
@@ -4748,6 +4751,7 @@ class DataConfig(AbstractModel):
4748
4751
  self._HDFSSource = None
4749
4752
  self._GooseFSSource = None
4750
4753
  self._CFSTurboSource = None
4754
+ self._LocalDiskSource = None
4751
4755
 
4752
4756
  @property
4753
4757
  def MappingPath(self):
@@ -4813,6 +4817,14 @@ class DataConfig(AbstractModel):
4813
4817
  def CFSTurboSource(self, CFSTurboSource):
4814
4818
  self._CFSTurboSource = CFSTurboSource
4815
4819
 
4820
+ @property
4821
+ def LocalDiskSource(self):
4822
+ return self._LocalDiskSource
4823
+
4824
+ @LocalDiskSource.setter
4825
+ def LocalDiskSource(self, LocalDiskSource):
4826
+ self._LocalDiskSource = LocalDiskSource
4827
+
4816
4828
 
4817
4829
  def _deserialize(self, params):
4818
4830
  self._MappingPath = params.get("MappingPath")
@@ -4835,6 +4847,9 @@ class DataConfig(AbstractModel):
4835
4847
  if params.get("CFSTurboSource") is not None:
4836
4848
  self._CFSTurboSource = CFSTurbo()
4837
4849
  self._CFSTurboSource._deserialize(params.get("CFSTurboSource"))
4850
+ if params.get("LocalDiskSource") is not None:
4851
+ self._LocalDiskSource = LocalDisk()
4852
+ self._LocalDiskSource._deserialize(params.get("LocalDiskSource"))
4838
4853
  memeber_set = set(params.keys())
4839
4854
  for name, value in vars(self).items():
4840
4855
  property_name = name[1:]
@@ -13227,6 +13242,40 @@ class IntranetCallInfo(AbstractModel):
13227
13242
 
13228
13243
 
13229
13244
 
13245
+ class LocalDisk(AbstractModel):
13246
+ """本地磁盘信息
13247
+
13248
+ """
13249
+
13250
+ def __init__(self):
13251
+ r"""
13252
+ :param _InstanceId: 节点ID
13253
+ 注意:此字段可能返回 null,表示取不到有效值。
13254
+ :type InstanceId: str
13255
+ """
13256
+ self._InstanceId = None
13257
+
13258
+ @property
13259
+ def InstanceId(self):
13260
+ return self._InstanceId
13261
+
13262
+ @InstanceId.setter
13263
+ def InstanceId(self, InstanceId):
13264
+ self._InstanceId = InstanceId
13265
+
13266
+
13267
+ def _deserialize(self, params):
13268
+ self._InstanceId = params.get("InstanceId")
13269
+ memeber_set = set(params.keys())
13270
+ for name, value in vars(self).items():
13271
+ property_name = name[1:]
13272
+ if property_name in memeber_set:
13273
+ memeber_set.remove(property_name)
13274
+ if len(memeber_set) > 0:
13275
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13276
+
13277
+
13278
+
13230
13279
  class LogConfig(AbstractModel):
13231
13280
  """日志配置
13232
13281
 
@@ -65,7 +65,7 @@ lo(老挝语):zh(简体中文)、zh-HK(繁体中文)、 zh-TW(
65
65
  :type DocumentType: str
66
66
  :param _SourceType: 数据来源,0:url,1:直接传文件编码后数据
67
67
  :type SourceType: int
68
- :param _Url: 需要翻译文件url,文件需小于100MB。
68
+ :param _Url: 需要翻译文件url,文件限制如下:docx/xIsx/html/markdown文件不超过800万字符,doc/pdf/pptx文件不超过300页,txt/po文件不超过10MB,pdf/docx/pptx/xlsx不超过40MB
69
69
  :type Url: str
70
70
  :param _BasicDocumentType: 原始文档类型。该参数为高级参数,请留空,如需使用,请与工作人员确认后再使用。
71
71
  :type BasicDocumentType: str
@@ -21435,7 +21435,7 @@ class ModifyModuleStatusRequest(AbstractModel):
21435
21435
  r"""
21436
21436
  :param _Domain: 需要设置的domain
21437
21437
  :type Domain: str
21438
- :param _WebSecurity: WEB 安全模块开关,0或1
21438
+ :param _WebSecurity: Web 安全模块开关,0或1
21439
21439
  :type WebSecurity: int
21440
21440
  :param _AccessControl: 访问控制模块开关,0或者1
21441
21441
  :type AccessControl: int
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1135
3
+ Version: 3.0.1137
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud