tencentcloud-sdk-python-teo 3.0.1136__tar.gz → 3.0.1138__tar.gz
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-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/setup.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud/teo/v20220901/errorcodes.py +9 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud/teo/v20220901/models.py +179 -15
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-teo-3.0.1138/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-teo-3.0.1136/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/README.rst +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/setup.cfg +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud/teo/v20220901/teo_client.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.1136 → tencentcloud-sdk-python-teo-3.0.1138}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-teo',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1138"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Teo SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -386,6 +386,15 @@ INVALIDPARAMETER_INVALIDINTERVAL = 'InvalidParameter.InvalidInterval'
|
|
|
386
386
|
# 无效的Ipv6开关配置。
|
|
387
387
|
INVALIDPARAMETER_INVALIDIPV6SWITCH = 'InvalidParameter.InvalidIpv6Switch'
|
|
388
388
|
|
|
389
|
+
# 日志输出格式的字段分隔符不正确
|
|
390
|
+
INVALIDPARAMETER_INVALIDLOGFORMATFIELDDELIMITER = 'InvalidParameter.InvalidLogFormatFieldDelimiter'
|
|
391
|
+
|
|
392
|
+
# 日志输出格式类型不正确
|
|
393
|
+
INVALIDPARAMETER_INVALIDLOGFORMATFORMATTYPE = 'InvalidParameter.InvalidLogFormatFormatType'
|
|
394
|
+
|
|
395
|
+
# 日志输出格式的日志记录分隔符不正确
|
|
396
|
+
INVALIDPARAMETER_INVALIDLOGFORMATRECORDDELIMITER = 'InvalidParameter.InvalidLogFormatRecordDelimiter'
|
|
397
|
+
|
|
389
398
|
# 无效的浏览器缓存。
|
|
390
399
|
INVALIDPARAMETER_INVALIDMAXAGEFOLLOWORIGIN = 'InvalidParameter.InvalidMaxAgeFollowOrigin'
|
|
391
400
|
|
|
@@ -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
|
|
6667
|
-
<li>BASE60_MAX600:开启独立 DDoS 防护,提供 60 Gbps
|
|
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
|
|
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"))
|
|
@@ -21248,6 +21391,11 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
21248
21391
|
:type DeliveryConditions: list of DeliveryCondition
|
|
21249
21392
|
:param _Sample: 采样比例,采用千分制,取值范围为1-1000,例如:605 表示采样比例为 60.5%。
|
|
21250
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`
|
|
21251
21399
|
:param _CLS: CLS 的配置信息。
|
|
21252
21400
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21253
21401
|
:type CLS: :class:`tencentcloud.teo.v20220901.models.CLSTopic`
|
|
@@ -21273,6 +21421,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
21273
21421
|
self._CustomFields = None
|
|
21274
21422
|
self._DeliveryConditions = None
|
|
21275
21423
|
self._Sample = None
|
|
21424
|
+
self._LogFormat = None
|
|
21276
21425
|
self._CLS = None
|
|
21277
21426
|
self._CustomEndpoint = None
|
|
21278
21427
|
self._S3 = None
|
|
@@ -21367,6 +21516,14 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
21367
21516
|
def Sample(self, Sample):
|
|
21368
21517
|
self._Sample = Sample
|
|
21369
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
|
+
|
|
21370
21527
|
@property
|
|
21371
21528
|
def CLS(self):
|
|
21372
21529
|
return self._CLS
|
|
@@ -21430,6 +21587,9 @@ class RealtimeLogDeliveryTask(AbstractModel):
|
|
|
21430
21587
|
obj._deserialize(item)
|
|
21431
21588
|
self._DeliveryConditions.append(obj)
|
|
21432
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"))
|
|
21433
21593
|
if params.get("CLS") is not None:
|
|
21434
21594
|
self._CLS = CLSTopic()
|
|
21435
21595
|
self._CLS._deserialize(params.get("CLS"))
|
|
@@ -23843,21 +24003,25 @@ class Task(AbstractModel):
|
|
|
23843
24003
|
r"""
|
|
23844
24004
|
:param _JobId: 任务 ID。
|
|
23845
24005
|
:type JobId: str
|
|
23846
|
-
:param _Status: 状态。
|
|
23847
|
-
:type Status: str
|
|
23848
24006
|
:param _Target: 资源。
|
|
23849
24007
|
:type Target: str
|
|
23850
24008
|
:param _Type: 任务类型。
|
|
23851
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
|
|
23852
24016
|
:param _CreateTime: 任务创建时间。
|
|
23853
24017
|
:type CreateTime: str
|
|
23854
24018
|
:param _UpdateTime: 任务完成时间。
|
|
23855
24019
|
:type UpdateTime: str
|
|
23856
24020
|
"""
|
|
23857
24021
|
self._JobId = None
|
|
23858
|
-
self._Status = None
|
|
23859
24022
|
self._Target = None
|
|
23860
24023
|
self._Type = None
|
|
24024
|
+
self._Status = None
|
|
23861
24025
|
self._CreateTime = None
|
|
23862
24026
|
self._UpdateTime = None
|
|
23863
24027
|
|
|
@@ -23869,14 +24033,6 @@ class Task(AbstractModel):
|
|
|
23869
24033
|
def JobId(self, JobId):
|
|
23870
24034
|
self._JobId = JobId
|
|
23871
24035
|
|
|
23872
|
-
@property
|
|
23873
|
-
def Status(self):
|
|
23874
|
-
return self._Status
|
|
23875
|
-
|
|
23876
|
-
@Status.setter
|
|
23877
|
-
def Status(self, Status):
|
|
23878
|
-
self._Status = Status
|
|
23879
|
-
|
|
23880
24036
|
@property
|
|
23881
24037
|
def Target(self):
|
|
23882
24038
|
return self._Target
|
|
@@ -23893,6 +24049,14 @@ class Task(AbstractModel):
|
|
|
23893
24049
|
def Type(self, Type):
|
|
23894
24050
|
self._Type = Type
|
|
23895
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
|
+
|
|
23896
24060
|
@property
|
|
23897
24061
|
def CreateTime(self):
|
|
23898
24062
|
return self._CreateTime
|
|
@@ -23912,9 +24076,9 @@ class Task(AbstractModel):
|
|
|
23912
24076
|
|
|
23913
24077
|
def _deserialize(self, params):
|
|
23914
24078
|
self._JobId = params.get("JobId")
|
|
23915
|
-
self._Status = params.get("Status")
|
|
23916
24079
|
self._Target = params.get("Target")
|
|
23917
24080
|
self._Type = params.get("Type")
|
|
24081
|
+
self._Status = params.get("Status")
|
|
23918
24082
|
self._CreateTime = params.get("CreateTime")
|
|
23919
24083
|
self._UpdateTime = params.get("UpdateTime")
|
|
23920
24084
|
memeber_set = set(params.keys())
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1138
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1136
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|