tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1372__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/advisor/v20200721/models.py +0 -26
- tencentcloud/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
- tencentcloud/antiddos/v20200309/models.py +44 -837
- tencentcloud/apm/v20210622/models.py +60 -60
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +28 -1
- tencentcloud/autoscaling/v20180419/models.py +352 -210
- tencentcloud/batch/v20170312/batch_client.py +0 -46
- tencentcloud/batch/v20170312/errorcodes.py +0 -9
- tencentcloud/batch/v20170312/models.py +44 -1179
- tencentcloud/bh/v20230418/bh_client.py +253 -0
- tencentcloud/bh/v20230418/errorcodes.py +15 -0
- tencentcloud/bh/v20230418/models.py +3489 -1335
- tencentcloud/bi/v20220105/models.py +242 -2
- tencentcloud/billing/v20180709/billing_client.py +0 -23
- tencentcloud/billing/v20180709/models.py +34 -926
- tencentcloud/bpaas/v20181217/models.py +0 -54
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +2 -86
- tencentcloud/captcha/v20190722/models.py +21 -54
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +509 -0
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +75 -96
- tencentcloud/ccc/v20200210/ccc_client.py +184 -0
- tencentcloud/ccc/v20200210/errorcodes.py +12 -0
- tencentcloud/ccc/v20200210/models.py +2552 -1026
- tencentcloud/cdb/v20170320/cdb_client.py +27 -4
- tencentcloud/cdb/v20170320/models.py +180 -20
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +202 -86
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -50
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwch/v20200915/models.py +242 -260
- tencentcloud/cdwdoris/v20211228/models.py +330 -0
- tencentcloud/cdwpg/v20201230/models.py +196 -516
- tencentcloud/cdz/v20221123/models.py +0 -12
- tencentcloud/cfg/v20210820/models.py +30 -198
- tencentcloud/cfs/v20190719/errorcodes.py +3 -0
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +331 -4
- tencentcloud/chc/__init__.py +0 -0
- tencentcloud/chc/v20230418/__init__.py +0 -0
- tencentcloud/chc/v20230418/chc_client.py +877 -0
- tencentcloud/chc/v20230418/errorcodes.py +15 -0
- tencentcloud/chc/v20230418/models.py +10146 -0
- tencentcloud/chdfs/v20201112/models.py +2 -2
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +371 -1230
- tencentcloud/clb/v20180317/clb_client.py +3 -3
- tencentcloud/clb/v20180317/models.py +395 -406
- tencentcloud/cls/v20201016/cls_client.py +41 -18
- tencentcloud/cls/v20201016/models.py +256 -606
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/cme/v20191029/models.py +10 -14
- tencentcloud/cmq/v20190304/models.py +0 -90
- tencentcloud/common/abstract_client.py +29 -24
- tencentcloud/common/abstract_model.py +5 -1
- tencentcloud/common/common_client.py +14 -15
- tencentcloud/common/credential.py +68 -65
- tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
- tencentcloud/common/profile/client_profile.py +32 -30
- tencentcloud/common/profile/http_profile.py +20 -12
- tencentcloud/common/retry.py +18 -0
- tencentcloud/controlcenter/v20230110/models.py +0 -58
- tencentcloud/cvm/v20170312/cvm_client.py +42 -10
- tencentcloud/cvm/v20170312/errorcodes.py +25 -1
- tencentcloud/cvm/v20170312/models.py +835 -290
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +362 -58
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/models.py +451 -824
- tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20191016/models.py +605 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +322 -0
- tencentcloud/dbbrain/v20210527/models.py +6071 -2974
- tencentcloud/dbdc/v20201029/models.py +0 -16
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
- tencentcloud/dcdb/v20180411/models.py +175 -114
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +1217 -592
- tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
- tencentcloud/dnspod/v20210323/models.py +718 -110
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +628 -324
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
- tencentcloud/dsgc/v20190723/models.py +53 -34
- tencentcloud/dts/v20180330/models.py +0 -10
- tencentcloud/dts/v20211206/models.py +118 -585
- tencentcloud/ecdn/v20191012/ecdn_client.py +24 -225
- tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
- tencentcloud/ecdn/v20191012/models.py +4 -1047
- tencentcloud/emr/v20190103/emr_client.py +47 -1
- tencentcloud/emr/v20190103/models.py +1174 -146
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +74 -6
- tencentcloud/es/v20250101/__init__.py +0 -0
- tencentcloud/es/v20250101/errorcodes.py +45 -0
- tencentcloud/es/v20250101/es_client.py +251 -0
- tencentcloud/es/v20250101/models.py +2519 -0
- tencentcloud/ess/v20201111/ess_client.py +43 -5
- tencentcloud/ess/v20201111/models.py +854 -60
- tencentcloud/essbasic/v20210526/essbasic_client.py +35 -2
- tencentcloud/essbasic/v20210526/models.py +726 -43
- tencentcloud/facefusion/v20220927/models.py +4 -2
- tencentcloud/fmu/v20191213/errorcodes.py +3 -21
- tencentcloud/fmu/v20191213/fmu_client.py +0 -75
- tencentcloud/fmu/v20191213/models.py +4 -531
- tencentcloud/gaap/v20180529/gaap_client.py +1 -1
- tencentcloud/gaap/v20180529/models.py +2 -276
- tencentcloud/goosefs/v20220519/models.py +0 -2
- tencentcloud/gs/v20191118/errorcodes.py +36 -0
- tencentcloud/gs/v20191118/gs_client.py +1074 -12
- tencentcloud/gs/v20191118/models.py +6976 -492
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +5 -8
- tencentcloud/gwlb/v20240906/models.py +94 -84
- tencentcloud/hai/v20230812/errorcodes.py +7 -1
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +111 -136
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +71 -0
- tencentcloud/hunyuan/v20230901/models.py +1089 -119
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +92 -0
- tencentcloud/ioa/v20220601/models.py +1136 -225
- tencentcloud/iotcloud/v20210408/models.py +2 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +234 -52
- tencentcloud/iotexplorer/v20190423/models.py +2906 -1063
- tencentcloud/iotvideo/v20191126/models.py +0 -4
- tencentcloud/iotvideo/v20201215/models.py +17 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +69 -0
- tencentcloud/iotvideo/v20211125/models.py +476 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +2 -2
- tencentcloud/iotvideoindustry/v20201201/models.py +30 -486
- tencentcloud/iss/v20230517/errorcodes.py +9 -0
- tencentcloud/iss/v20230517/iss_client.py +161 -0
- tencentcloud/iss/v20230517/models.py +1716 -743
- tencentcloud/kms/v20190118/models.py +101 -0
- tencentcloud/lcic/v20220817/errorcodes.py +2 -2
- tencentcloud/lcic/v20220817/lcic_client.py +47 -1
- tencentcloud/lcic/v20220817/models.py +357 -72
- tencentcloud/lighthouse/v20200324/errorcodes.py +12 -15
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +39 -76
- tencentcloud/lighthouse/v20200324/models.py +237 -259
- tencentcloud/live/v20180801/models.py +61 -46
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +8 -29
- tencentcloud/lke/v20231130/models.py +561 -115
- tencentcloud/lkeap/v20240522/lkeap_client.py +33 -4
- tencentcloud/lkeap/v20240522/models.py +290 -18
- tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
- tencentcloud/lowcode/v20210108/models.py +0 -2
- tencentcloud/mariadb/v20170312/models.py +155 -140
- tencentcloud/memcached/v20190318/models.py +2 -2
- tencentcloud/mmps/v20200710/models.py +0 -66
- tencentcloud/mna/v20210119/errorcodes.py +0 -36
- tencentcloud/mna/v20210119/mna_client.py +0 -75
- tencentcloud/mna/v20210119/models.py +0 -1002
- tencentcloud/mongodb/v20190725/models.py +115 -6
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +1055 -74
- tencentcloud/monitor/v20180724/monitor_client.py +94 -2
- tencentcloud/mps/v20190612/errorcodes.py +36 -0
- tencentcloud/mps/v20190612/models.py +4866 -448
- tencentcloud/mps/v20190612/mps_client.py +208 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +15 -0
- tencentcloud/mqtt/v20240516/models.py +705 -372
- tencentcloud/mqtt/v20240516/mqtt_client.py +4 -4
- tencentcloud/oceanus/v20190422/models.py +14 -2
- tencentcloud/ocr/v20181119/errorcodes.py +0 -12
- tencentcloud/ocr/v20181119/models.py +311 -1042
- tencentcloud/ocr/v20181119/ocr_client.py +5 -102
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +45 -82
- tencentcloud/partners/v20180321/models.py +169 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/postgres/v20170312/models.py +36 -328
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/privatedns/v20201028/models.py +36 -28
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/redis/v20180412/models.py +233 -18
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +0 -2
- tencentcloud/ses/v20201002/models.py +32 -4
- tencentcloud/smop/v20201203/smop_client.py +3 -1
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/sqlserver/v20180328/models.py +75 -0
- tencentcloud/ssl/v20191205/models.py +7 -319
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/sts/v20180813/errorcodes.py +9 -0
- tencentcloud/sts/v20180813/models.py +171 -0
- tencentcloud/sts/v20180813/sts_client.py +23 -0
- tencentcloud/svp/v20240125/errorcodes.py +3 -0
- tencentcloud/svp/v20240125/models.py +506 -44
- tencentcloud/svp/v20240125/svp_client.py +23 -0
- tencentcloud/tan/v20220420/tan_client.py +3 -1
- tencentcloud/tat/v20201028/errorcodes.py +12 -0
- tencentcloud/tat/v20201028/models.py +138 -42
- tencentcloud/tbaas/v20180416/models.py +0 -58
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +189 -582
- tencentcloud/tcb/v20180608/tcb_client.py +23 -23
- tencentcloud/tcbr/v20220217/models.py +45 -0
- tencentcloud/tchd/v20230306/models.py +166 -0
- tencentcloud/tchd/v20230306/tchd_client.py +24 -0
- tencentcloud/tcr/v20190924/models.py +44 -174
- tencentcloud/tcss/v20201101/models.py +1458 -2066
- tencentcloud/tcss/v20201101/tcss_client.py +92 -125
- tencentcloud/tdid/v20210519/models.py +0 -10
- tencentcloud/tdmq/v20200217/models.py +405 -575
- tencentcloud/tdmq/v20200217/tdmq_client.py +12 -54
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220106/teo_client.py +6 -2
- tencentcloud/teo/v20220901/errorcodes.py +9 -0
- tencentcloud/teo/v20220901/models.py +1828 -472
- tencentcloud/teo/v20220901/teo_client.py +54 -4
- tencentcloud/thpc/v20211109/models.py +0 -6
- tencentcloud/thpc/v20220401/models.py +0 -14
- tencentcloud/thpc/v20230321/models.py +64 -52
- tencentcloud/tione/v20211111/errorcodes.py +114 -0
- tencentcloud/tione/v20211111/models.py +2288 -160
- tencentcloud/tione/v20211111/tione_client.py +138 -0
- tencentcloud/tiw/v20190919/errorcodes.py +3 -24
- tencentcloud/tiw/v20190919/models.py +3657 -8172
- tencentcloud/tiw/v20190919/tiw_client.py +1 -580
- tencentcloud/tke/v20180525/models.py +705 -721
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tke/v20220501/models.py +0 -34
- tencentcloud/trocket/v20230308/models.py +1630 -160
- tencentcloud/trocket/v20230308/trocket_client.py +238 -0
- tencentcloud/trro/v20220325/models.py +1132 -44
- tencentcloud/trro/v20220325/trro_client.py +142 -0
- tencentcloud/trtc/v20190722/models.py +94 -90
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +90 -1010
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +350 -582
- tencentcloud/tsf/v20180326/tsf_client.py +26 -1
- tencentcloud/tts/v20190823/models.py +15 -15
- tencentcloud/tts/v20190823/tts_client.py +6 -5
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/vcube/v20220410/models.py +66 -158
- tencentcloud/vcube/v20220410/vcube_client.py +2 -2
- tencentcloud/vdb/v20230616/models.py +1487 -29
- tencentcloud/vdb/v20230616/vdb_client.py +185 -1
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +106 -417
- tencentcloud/vod/v20180717/vod_client.py +2 -1
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1839 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +2052 -519
- tencentcloud/vpc/v20170312/vpc_client.py +229 -11
- tencentcloud/vrs/v20200824/models.py +49 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +4191 -0
- tencentcloud/waf/v20180125/waf_client.py +276 -0
- tencentcloud/wedata/v20210820/models.py +5404 -394
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- tencentcloud/weilingwith/v20230427/models.py +0 -964
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +284 -275
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -109,13 +109,10 @@ class AdvanceFilterRuleInfo(AbstractModel):
|
|
109
109
|
def __init__(self):
|
110
110
|
r"""
|
111
111
|
:param _Key: 过滤字段
|
112
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
113
112
|
:type Key: str
|
114
113
|
:param _Rule: 过滤规则,0:等于,1:字段存在,2:字段不存在
|
115
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
116
114
|
:type Rule: int
|
117
115
|
:param _Value: 过滤值
|
118
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
119
116
|
:type Value: str
|
120
117
|
"""
|
121
118
|
self._Key = None
|
@@ -125,7 +122,6 @@ class AdvanceFilterRuleInfo(AbstractModel):
|
|
125
122
|
@property
|
126
123
|
def Key(self):
|
127
124
|
"""过滤字段
|
128
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
129
125
|
:rtype: str
|
130
126
|
"""
|
131
127
|
return self._Key
|
@@ -137,7 +133,6 @@ class AdvanceFilterRuleInfo(AbstractModel):
|
|
137
133
|
@property
|
138
134
|
def Rule(self):
|
139
135
|
"""过滤规则,0:等于,1:字段存在,2:字段不存在
|
140
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
141
136
|
:rtype: int
|
142
137
|
"""
|
143
138
|
return self._Rule
|
@@ -149,7 +144,6 @@ class AdvanceFilterRuleInfo(AbstractModel):
|
|
149
144
|
@property
|
150
145
|
def Value(self):
|
151
146
|
"""过滤值
|
152
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
153
147
|
:rtype: str
|
154
148
|
"""
|
155
149
|
return self._Value
|
@@ -187,7 +181,6 @@ CustomQuery:检索语句。 QueryIndex为-1时有效且必填,value示例:
|
|
187
181
|
Fields:字段。value支持 __SOURCE__;__FILENAME__;__HOSTNAME__;__TIMESTAMP__;__INDEX_STATUS__;__PKG_LOGID__;__TOPIC__。
|
188
182
|
Format:显示形式。value支持 1:每条日志一行;2:每条日志每个字段一行。
|
189
183
|
Limit:最大日志条数。 value示例: 5。
|
190
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
191
184
|
:type Key: str
|
192
185
|
:param _Value: 值。
|
193
186
|
键对应值如下:
|
@@ -197,7 +190,6 @@ CustomQuery:检索语句。 QueryIndex为-1时有效且必填,value示例:
|
|
197
190
|
Fields:字段。value支持 __SOURCE__;__FILENAME__;__HOSTNAME__;__TIMESTAMP__;__INDEX_STATUS__;__PKG_LOGID__;__TOPIC__。
|
198
191
|
Format:显示形式。value支持 1:每条日志一行;2:每条日志每个字段一行。
|
199
192
|
Limit:最大日志条数。 value示例: 5。
|
200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
201
193
|
:type Value: str
|
202
194
|
"""
|
203
195
|
self._Key = None
|
@@ -212,7 +204,6 @@ CustomQuery:检索语句。 QueryIndex为-1时有效且必填,value示例:
|
|
212
204
|
Fields:字段。value支持 __SOURCE__;__FILENAME__;__HOSTNAME__;__TIMESTAMP__;__INDEX_STATUS__;__PKG_LOGID__;__TOPIC__。
|
213
205
|
Format:显示形式。value支持 1:每条日志一行;2:每条日志每个字段一行。
|
214
206
|
Limit:最大日志条数。 value示例: 5。
|
215
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
216
207
|
:rtype: str
|
217
208
|
"""
|
218
209
|
return self._Key
|
@@ -231,7 +222,6 @@ CustomQuery:检索语句。 QueryIndex为-1时有效且必填,value示例:
|
|
231
222
|
Fields:字段。value支持 __SOURCE__;__FILENAME__;__HOSTNAME__;__TIMESTAMP__;__INDEX_STATUS__;__PKG_LOGID__;__TOPIC__。
|
232
223
|
Format:显示形式。value支持 1:每条日志一行;2:每条日志每个字段一行。
|
233
224
|
Limit:最大日志条数。 value示例: 5。
|
234
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
235
225
|
:rtype: str
|
236
226
|
"""
|
237
227
|
return self._Value
|
@@ -338,29 +328,23 @@ class AlarmInfo(AbstractModel):
|
|
338
328
|
注意:此字段可能返回 null,表示取不到有效值。
|
339
329
|
:type MessageTemplate: str
|
340
330
|
:param _CallBack: 自定义回调模板
|
341
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
342
331
|
:type CallBack: :class:`tencentcloud.cls.v20201016.models.CallBackInfo`
|
343
332
|
:param _Analysis: 多维分析设置
|
344
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
345
333
|
:type Analysis: list of AnalysisDimensional
|
346
|
-
:param _GroupTriggerStatus: 分组触发状态。
|
347
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
334
|
+
:param _GroupTriggerStatus: 分组触发状态。true:开启,false:关闭(默认)
|
348
335
|
:type GroupTriggerStatus: bool
|
349
336
|
:param _GroupTriggerCondition: 分组触发条件。
|
350
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
351
337
|
:type GroupTriggerCondition: list of str
|
338
|
+
:param _Tags: 告警策略绑定的标签信息。
|
339
|
+
:type Tags: list of Tag
|
352
340
|
:param _MonitorObjectType: 监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。
|
353
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
354
341
|
:type MonitorObjectType: int
|
355
342
|
:param _AlarmLevel: 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
|
356
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
357
343
|
:type AlarmLevel: int
|
358
344
|
:param _Classifications: 告警附加分类字段。
|
359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
360
345
|
:type Classifications: list of AlarmClassification
|
361
346
|
:param _MultiConditions: 多触发条件。与
|
362
347
|
Condition互斥。
|
363
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
364
348
|
:type MultiConditions: list of MultiCondition
|
365
349
|
"""
|
366
350
|
self._Name = None
|
@@ -379,6 +363,7 @@ Condition互斥。
|
|
379
363
|
self._Analysis = None
|
380
364
|
self._GroupTriggerStatus = None
|
381
365
|
self._GroupTriggerCondition = None
|
366
|
+
self._Tags = None
|
382
367
|
self._MonitorObjectType = None
|
383
368
|
self._AlarmLevel = None
|
384
369
|
self._Classifications = None
|
@@ -520,7 +505,6 @@ Condition互斥。
|
|
520
505
|
@property
|
521
506
|
def CallBack(self):
|
522
507
|
"""自定义回调模板
|
523
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
524
508
|
:rtype: :class:`tencentcloud.cls.v20201016.models.CallBackInfo`
|
525
509
|
"""
|
526
510
|
return self._CallBack
|
@@ -532,7 +516,6 @@ Condition互斥。
|
|
532
516
|
@property
|
533
517
|
def Analysis(self):
|
534
518
|
"""多维分析设置
|
535
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
536
519
|
:rtype: list of AnalysisDimensional
|
537
520
|
"""
|
538
521
|
return self._Analysis
|
@@ -543,8 +526,7 @@ Condition互斥。
|
|
543
526
|
|
544
527
|
@property
|
545
528
|
def GroupTriggerStatus(self):
|
546
|
-
"""分组触发状态。
|
547
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
529
|
+
"""分组触发状态。true:开启,false:关闭(默认)
|
548
530
|
:rtype: bool
|
549
531
|
"""
|
550
532
|
return self._GroupTriggerStatus
|
@@ -556,7 +538,6 @@ Condition互斥。
|
|
556
538
|
@property
|
557
539
|
def GroupTriggerCondition(self):
|
558
540
|
"""分组触发条件。
|
559
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
560
541
|
:rtype: list of str
|
561
542
|
"""
|
562
543
|
return self._GroupTriggerCondition
|
@@ -565,10 +546,20 @@ Condition互斥。
|
|
565
546
|
def GroupTriggerCondition(self, GroupTriggerCondition):
|
566
547
|
self._GroupTriggerCondition = GroupTriggerCondition
|
567
548
|
|
549
|
+
@property
|
550
|
+
def Tags(self):
|
551
|
+
"""告警策略绑定的标签信息。
|
552
|
+
:rtype: list of Tag
|
553
|
+
"""
|
554
|
+
return self._Tags
|
555
|
+
|
556
|
+
@Tags.setter
|
557
|
+
def Tags(self, Tags):
|
558
|
+
self._Tags = Tags
|
559
|
+
|
568
560
|
@property
|
569
561
|
def MonitorObjectType(self):
|
570
562
|
"""监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。
|
571
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
572
563
|
:rtype: int
|
573
564
|
"""
|
574
565
|
return self._MonitorObjectType
|
@@ -580,7 +571,6 @@ Condition互斥。
|
|
580
571
|
@property
|
581
572
|
def AlarmLevel(self):
|
582
573
|
"""告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
|
583
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
584
574
|
:rtype: int
|
585
575
|
"""
|
586
576
|
return self._AlarmLevel
|
@@ -592,7 +582,6 @@ Condition互斥。
|
|
592
582
|
@property
|
593
583
|
def Classifications(self):
|
594
584
|
"""告警附加分类字段。
|
595
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
596
585
|
:rtype: list of AlarmClassification
|
597
586
|
"""
|
598
587
|
return self._Classifications
|
@@ -605,7 +594,6 @@ Condition互斥。
|
|
605
594
|
def MultiConditions(self):
|
606
595
|
"""多触发条件。与
|
607
596
|
Condition互斥。
|
608
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
609
597
|
:rtype: list of MultiCondition
|
610
598
|
"""
|
611
599
|
return self._MultiConditions
|
@@ -646,6 +634,12 @@ Condition互斥。
|
|
646
634
|
self._Analysis.append(obj)
|
647
635
|
self._GroupTriggerStatus = params.get("GroupTriggerStatus")
|
648
636
|
self._GroupTriggerCondition = params.get("GroupTriggerCondition")
|
637
|
+
if params.get("Tags") is not None:
|
638
|
+
self._Tags = []
|
639
|
+
for item in params.get("Tags"):
|
640
|
+
obj = Tag()
|
641
|
+
obj._deserialize(item)
|
642
|
+
self._Tags.append(obj)
|
649
643
|
self._MonitorObjectType = params.get("MonitorObjectType")
|
650
644
|
self._AlarmLevel = params.get("AlarmLevel")
|
651
645
|
if params.get("Classifications") is not None:
|
@@ -680,7 +674,6 @@ class AlarmNotice(AbstractModel):
|
|
680
674
|
:param _Name: 告警通知渠道组名称。
|
681
675
|
:type Name: str
|
682
676
|
:param _Tags: 告警通知渠道组绑定的标签信息。
|
683
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
684
677
|
:type Tags: list of Tag
|
685
678
|
:param _Type: 告警模板的类型。可选值:
|
686
679
|
<br><li> Trigger - 告警触发</li>
|
@@ -688,32 +681,24 @@ class AlarmNotice(AbstractModel):
|
|
688
681
|
<br><li> All - 告警触发和告警恢复</li>
|
689
682
|
:type Type: str
|
690
683
|
:param _NoticeReceivers: 告警通知模板接收者信息。
|
691
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
692
684
|
:type NoticeReceivers: list of NoticeReceiver
|
693
685
|
:param _WebCallbacks: 告警通知模板回调信息。
|
694
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
695
686
|
:type WebCallbacks: list of WebCallback
|
696
687
|
:param _AlarmNoticeId: 告警通知模板ID。
|
697
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
698
688
|
:type AlarmNoticeId: str
|
699
689
|
:param _NoticeRules: 通知规则。
|
700
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
701
690
|
:type NoticeRules: list of NoticeRule
|
702
691
|
:param _AlarmShieldStatus: 免登录操作告警开关。
|
703
692
|
参数值: 1:关闭 2:开启(默认开启)
|
704
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
705
693
|
:type AlarmShieldStatus: int
|
706
694
|
:param _JumpDomain: 调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
707
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
708
695
|
:type JumpDomain: str
|
709
696
|
:param _AlarmNoticeDeliverConfig: 投递相关信息。
|
710
697
|
注意:此字段可能返回 null,表示取不到有效值。
|
711
698
|
:type AlarmNoticeDeliverConfig: :class:`tencentcloud.cls.v20201016.models.AlarmNoticeDeliverConfig`
|
712
699
|
:param _CreateTime: 创建时间。
|
713
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
714
700
|
:type CreateTime: str
|
715
701
|
:param _UpdateTime: 最近更新时间。
|
716
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
717
702
|
:type UpdateTime: str
|
718
703
|
"""
|
719
704
|
self._Name = None
|
@@ -743,7 +728,6 @@ class AlarmNotice(AbstractModel):
|
|
743
728
|
@property
|
744
729
|
def Tags(self):
|
745
730
|
"""告警通知渠道组绑定的标签信息。
|
746
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
747
731
|
:rtype: list of Tag
|
748
732
|
"""
|
749
733
|
return self._Tags
|
@@ -769,7 +753,6 @@ class AlarmNotice(AbstractModel):
|
|
769
753
|
@property
|
770
754
|
def NoticeReceivers(self):
|
771
755
|
"""告警通知模板接收者信息。
|
772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
773
756
|
:rtype: list of NoticeReceiver
|
774
757
|
"""
|
775
758
|
return self._NoticeReceivers
|
@@ -781,7 +764,6 @@ class AlarmNotice(AbstractModel):
|
|
781
764
|
@property
|
782
765
|
def WebCallbacks(self):
|
783
766
|
"""告警通知模板回调信息。
|
784
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
785
767
|
:rtype: list of WebCallback
|
786
768
|
"""
|
787
769
|
return self._WebCallbacks
|
@@ -793,7 +775,6 @@ class AlarmNotice(AbstractModel):
|
|
793
775
|
@property
|
794
776
|
def AlarmNoticeId(self):
|
795
777
|
"""告警通知模板ID。
|
796
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
797
778
|
:rtype: str
|
798
779
|
"""
|
799
780
|
return self._AlarmNoticeId
|
@@ -805,7 +786,6 @@ class AlarmNotice(AbstractModel):
|
|
805
786
|
@property
|
806
787
|
def NoticeRules(self):
|
807
788
|
"""通知规则。
|
808
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
809
789
|
:rtype: list of NoticeRule
|
810
790
|
"""
|
811
791
|
return self._NoticeRules
|
@@ -818,7 +798,6 @@ class AlarmNotice(AbstractModel):
|
|
818
798
|
def AlarmShieldStatus(self):
|
819
799
|
"""免登录操作告警开关。
|
820
800
|
参数值: 1:关闭 2:开启(默认开启)
|
821
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
822
801
|
:rtype: int
|
823
802
|
"""
|
824
803
|
return self._AlarmShieldStatus
|
@@ -830,7 +809,6 @@ class AlarmNotice(AbstractModel):
|
|
830
809
|
@property
|
831
810
|
def JumpDomain(self):
|
832
811
|
"""调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
833
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
834
812
|
:rtype: str
|
835
813
|
"""
|
836
814
|
return self._JumpDomain
|
@@ -854,7 +832,6 @@ class AlarmNotice(AbstractModel):
|
|
854
832
|
@property
|
855
833
|
def CreateTime(self):
|
856
834
|
"""创建时间。
|
857
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
858
835
|
:rtype: str
|
859
836
|
"""
|
860
837
|
return self._CreateTime
|
@@ -866,7 +843,6 @@ class AlarmNotice(AbstractModel):
|
|
866
843
|
@property
|
867
844
|
def UpdateTime(self):
|
868
845
|
"""最近更新时间。
|
869
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
870
846
|
:rtype: str
|
871
847
|
"""
|
872
848
|
return self._UpdateTime
|
@@ -931,7 +907,6 @@ class AlarmNoticeDeliverConfig(AbstractModel):
|
|
931
907
|
:param _DeliverConfig: 通知渠道投递日志配置信息。
|
932
908
|
:type DeliverConfig: :class:`tencentcloud.cls.v20201016.models.DeliverConfig`
|
933
909
|
:param _ErrMsg: 投递失败原因。
|
934
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
935
910
|
:type ErrMsg: str
|
936
911
|
"""
|
937
912
|
self._DeliverConfig = None
|
@@ -951,7 +926,6 @@ class AlarmNoticeDeliverConfig(AbstractModel):
|
|
951
926
|
@property
|
952
927
|
def ErrMsg(self):
|
953
928
|
"""投递失败原因。
|
954
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
955
929
|
:rtype: str
|
956
930
|
"""
|
957
931
|
return self._ErrMsg
|
@@ -994,7 +968,6 @@ class AlarmShieldInfo(AbstractModel):
|
|
994
968
|
:param _Type: 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。
|
995
969
|
:type Type: int
|
996
970
|
:param _Rule: 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。
|
997
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
998
971
|
:type Rule: str
|
999
972
|
:param _Reason: 屏蔽原因。
|
1000
973
|
:type Reason: str
|
@@ -1082,7 +1055,6 @@ class AlarmShieldInfo(AbstractModel):
|
|
1082
1055
|
@property
|
1083
1056
|
def Rule(self):
|
1084
1057
|
"""屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。
|
1085
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1086
1058
|
:rtype: str
|
1087
1059
|
"""
|
1088
1060
|
return self._Rule
|
@@ -1191,27 +1163,20 @@ class AlarmTarget(AbstractModel):
|
|
1191
1163
|
def __init__(self):
|
1192
1164
|
r"""
|
1193
1165
|
:param _TopicId: 日志主题ID。
|
1194
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1195
1166
|
:type TopicId: str
|
1196
1167
|
:param _Query: 查询语句。
|
1197
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1198
1168
|
:type Query: str
|
1199
1169
|
:param _Number: 告警对象序号;从1开始递增。
|
1200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1201
1170
|
:type Number: int
|
1202
1171
|
:param _StartTimeOffset: 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。
|
1203
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1204
1172
|
:type StartTimeOffset: int
|
1205
1173
|
:param _EndTimeOffset: 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
|
1206
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1207
1174
|
:type EndTimeOffset: int
|
1208
1175
|
:param _LogsetId: 日志集ID。
|
1209
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1210
1176
|
:type LogsetId: str
|
1211
1177
|
:param _SyntaxRule: 检索语法规则,默认值为0。
|
1212
1178
|
0:Lucene语法,1:CQL语法。
|
1213
1179
|
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
1214
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1215
1180
|
:type SyntaxRule: int
|
1216
1181
|
"""
|
1217
1182
|
self._TopicId = None
|
@@ -1225,7 +1190,6 @@ class AlarmTarget(AbstractModel):
|
|
1225
1190
|
@property
|
1226
1191
|
def TopicId(self):
|
1227
1192
|
"""日志主题ID。
|
1228
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1229
1193
|
:rtype: str
|
1230
1194
|
"""
|
1231
1195
|
return self._TopicId
|
@@ -1237,7 +1201,6 @@ class AlarmTarget(AbstractModel):
|
|
1237
1201
|
@property
|
1238
1202
|
def Query(self):
|
1239
1203
|
"""查询语句。
|
1240
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1241
1204
|
:rtype: str
|
1242
1205
|
"""
|
1243
1206
|
return self._Query
|
@@ -1249,7 +1212,6 @@ class AlarmTarget(AbstractModel):
|
|
1249
1212
|
@property
|
1250
1213
|
def Number(self):
|
1251
1214
|
"""告警对象序号;从1开始递增。
|
1252
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1253
1215
|
:rtype: int
|
1254
1216
|
"""
|
1255
1217
|
return self._Number
|
@@ -1261,7 +1223,6 @@ class AlarmTarget(AbstractModel):
|
|
1261
1223
|
@property
|
1262
1224
|
def StartTimeOffset(self):
|
1263
1225
|
"""查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。
|
1264
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1265
1226
|
:rtype: int
|
1266
1227
|
"""
|
1267
1228
|
return self._StartTimeOffset
|
@@ -1273,7 +1234,6 @@ class AlarmTarget(AbstractModel):
|
|
1273
1234
|
@property
|
1274
1235
|
def EndTimeOffset(self):
|
1275
1236
|
"""查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
|
1276
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1277
1237
|
:rtype: int
|
1278
1238
|
"""
|
1279
1239
|
return self._EndTimeOffset
|
@@ -1285,7 +1245,6 @@ class AlarmTarget(AbstractModel):
|
|
1285
1245
|
@property
|
1286
1246
|
def LogsetId(self):
|
1287
1247
|
"""日志集ID。
|
1288
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1289
1248
|
:rtype: str
|
1290
1249
|
"""
|
1291
1250
|
return self._LogsetId
|
@@ -1299,7 +1258,6 @@ class AlarmTarget(AbstractModel):
|
|
1299
1258
|
"""检索语法规则,默认值为0。
|
1300
1259
|
0:Lucene语法,1:CQL语法。
|
1301
1260
|
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
1302
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1303
1261
|
:rtype: int
|
1304
1262
|
"""
|
1305
1263
|
return self._SyntaxRule
|
@@ -1353,11 +1311,9 @@ class AlarmTargetInfo(AbstractModel):
|
|
1353
1311
|
:param _SyntaxRule: 检索语法规则,默认值为0。
|
1354
1312
|
0:Lucene语法,1:CQL语法。
|
1355
1313
|
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
1356
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1357
1314
|
:type SyntaxRule: int
|
1358
1315
|
:param _BizType: 主题类型。
|
1359
1316
|
0: 日志主题,1: 指标主题
|
1360
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1361
1317
|
:type BizType: int
|
1362
1318
|
"""
|
1363
1319
|
self._LogsetId = None
|
@@ -1464,7 +1420,6 @@ class AlarmTargetInfo(AbstractModel):
|
|
1464
1420
|
"""检索语法规则,默认值为0。
|
1465
1421
|
0:Lucene语法,1:CQL语法。
|
1466
1422
|
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
1467
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1468
1423
|
:rtype: int
|
1469
1424
|
"""
|
1470
1425
|
return self._SyntaxRule
|
@@ -1477,7 +1432,6 @@ class AlarmTargetInfo(AbstractModel):
|
|
1477
1432
|
def BizType(self):
|
1478
1433
|
"""主题类型。
|
1479
1434
|
0: 日志主题,1: 指标主题
|
1480
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1481
1435
|
:rtype: int
|
1482
1436
|
"""
|
1483
1437
|
return self._BizType
|
@@ -1593,14 +1547,11 @@ class AlertHistoryRecord(AbstractModel):
|
|
1593
1547
|
:param _CreateTime: 告警发生时间,毫秒级Unix时间戳
|
1594
1548
|
:type CreateTime: int
|
1595
1549
|
:param _GroupTriggerCondition: 告警分组触发时对应的分组信息
|
1596
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1597
1550
|
:type GroupTriggerCondition: list of GroupTriggerConditionInfo
|
1598
1551
|
:param _AlarmLevel: 告警级别,0代表警告(Warn),1代表提醒(Info),2代表紧急 (Critical)
|
1599
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1600
1552
|
:type AlarmLevel: int
|
1601
1553
|
:param _MonitorObjectType: 监控对象类型。
|
1602
1554
|
0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。
|
1603
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1604
1555
|
:type MonitorObjectType: int
|
1605
1556
|
"""
|
1606
1557
|
self._RecordId = None
|
@@ -1766,7 +1717,6 @@ class AlertHistoryRecord(AbstractModel):
|
|
1766
1717
|
@property
|
1767
1718
|
def GroupTriggerCondition(self):
|
1768
1719
|
"""告警分组触发时对应的分组信息
|
1769
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1770
1720
|
:rtype: list of GroupTriggerConditionInfo
|
1771
1721
|
"""
|
1772
1722
|
return self._GroupTriggerCondition
|
@@ -1778,7 +1728,6 @@ class AlertHistoryRecord(AbstractModel):
|
|
1778
1728
|
@property
|
1779
1729
|
def AlarmLevel(self):
|
1780
1730
|
"""告警级别,0代表警告(Warn),1代表提醒(Info),2代表紧急 (Critical)
|
1781
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1782
1731
|
:rtype: int
|
1783
1732
|
"""
|
1784
1733
|
return self._AlarmLevel
|
@@ -1791,7 +1740,6 @@ class AlertHistoryRecord(AbstractModel):
|
|
1791
1740
|
def MonitorObjectType(self):
|
1792
1741
|
"""监控对象类型。
|
1793
1742
|
0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。
|
1794
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1795
1743
|
:rtype: int
|
1796
1744
|
"""
|
1797
1745
|
return self._MonitorObjectType
|
@@ -1846,13 +1794,10 @@ class AnalysisDimensional(AbstractModel):
|
|
1846
1794
|
def __init__(self):
|
1847
1795
|
r"""
|
1848
1796
|
:param _Name: 分析名称
|
1849
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1850
1797
|
:type Name: str
|
1851
1798
|
:param _Type: 分析类型:query,field ,original
|
1852
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1853
1799
|
:type Type: str
|
1854
1800
|
:param _Content: 分析内容
|
1855
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1856
1801
|
:type Content: str
|
1857
1802
|
:param _ConfigInfo: 多维分析配置。
|
1858
1803
|
|
@@ -1905,7 +1850,6 @@ class AnalysisDimensional(AbstractModel):
|
|
1905
1850
|
@property
|
1906
1851
|
def Name(self):
|
1907
1852
|
"""分析名称
|
1908
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1909
1853
|
:rtype: str
|
1910
1854
|
"""
|
1911
1855
|
return self._Name
|
@@ -1917,7 +1861,6 @@ class AnalysisDimensional(AbstractModel):
|
|
1917
1861
|
@property
|
1918
1862
|
def Type(self):
|
1919
1863
|
"""分析类型:query,field ,original
|
1920
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1921
1864
|
:rtype: str
|
1922
1865
|
"""
|
1923
1866
|
return self._Type
|
@@ -1929,7 +1872,6 @@ class AnalysisDimensional(AbstractModel):
|
|
1929
1872
|
@property
|
1930
1873
|
def Content(self):
|
1931
1874
|
"""分析内容
|
1932
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1933
1875
|
:rtype: str
|
1934
1876
|
"""
|
1935
1877
|
return self._Content
|
@@ -2171,7 +2113,6 @@ class CallBackInfo(AbstractModel):
|
|
2171
2113
|
```
|
2172
2114
|
"Content-Type: application/json"
|
2173
2115
|
```
|
2174
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2175
2116
|
:type Headers: list of str
|
2176
2117
|
"""
|
2177
2118
|
self._Body = None
|
@@ -2207,7 +2148,6 @@ class CallBackInfo(AbstractModel):
|
|
2207
2148
|
```
|
2208
2149
|
"Content-Type: application/json"
|
2209
2150
|
```
|
2210
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2211
2151
|
:rtype: list of str
|
2212
2152
|
"""
|
2213
2153
|
return self._Headers
|
@@ -2469,7 +2409,6 @@ class CheckRechargeKafkaServerResponse(AbstractModel):
|
|
2469
2409
|
def __init__(self):
|
2470
2410
|
r"""
|
2471
2411
|
:param _Status: Kafka集群可访问状态,0:可正常访问 ...
|
2472
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2473
2412
|
:type Status: int
|
2474
2413
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2475
2414
|
:type RequestId: str
|
@@ -2480,7 +2419,6 @@ class CheckRechargeKafkaServerResponse(AbstractModel):
|
|
2480
2419
|
@property
|
2481
2420
|
def Status(self):
|
2482
2421
|
"""Kafka集群可访问状态,0:可正常访问 ...
|
2483
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2484
2422
|
:rtype: int
|
2485
2423
|
"""
|
2486
2424
|
return self._Status
|
@@ -2697,11 +2635,11 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
2697
2635
|
:param _TopicId: 日志主题ID
|
2698
2636
|
:type TopicId: str
|
2699
2637
|
:param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
2700
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2701
2638
|
:type Extend: str
|
2702
2639
|
:param _LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
|
2703
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2704
2640
|
:type LogType: str
|
2641
|
+
:param _Status: 任务状态, 0创建中 1创建完成 2 删除中
|
2642
|
+
:type Status: int
|
2705
2643
|
"""
|
2706
2644
|
self._ClsRegion = None
|
2707
2645
|
self._InstanceId = None
|
@@ -2709,6 +2647,7 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
2709
2647
|
self._TopicId = None
|
2710
2648
|
self._Extend = None
|
2711
2649
|
self._LogType = None
|
2650
|
+
self._Status = None
|
2712
2651
|
|
2713
2652
|
@property
|
2714
2653
|
def ClsRegion(self):
|
@@ -2757,7 +2696,6 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
2757
2696
|
@property
|
2758
2697
|
def Extend(self):
|
2759
2698
|
"""日志配置拓展信息, 一般用于存储额外的日志投递配置
|
2760
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2761
2699
|
:rtype: str
|
2762
2700
|
"""
|
2763
2701
|
return self._Extend
|
@@ -2769,7 +2707,6 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
2769
2707
|
@property
|
2770
2708
|
def LogType(self):
|
2771
2709
|
"""日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
|
2772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2773
2710
|
:rtype: str
|
2774
2711
|
"""
|
2775
2712
|
return self._LogType
|
@@ -2778,6 +2715,17 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
2778
2715
|
def LogType(self, LogType):
|
2779
2716
|
self._LogType = LogType
|
2780
2717
|
|
2718
|
+
@property
|
2719
|
+
def Status(self):
|
2720
|
+
"""任务状态, 0创建中 1创建完成 2 删除中
|
2721
|
+
:rtype: int
|
2722
|
+
"""
|
2723
|
+
return self._Status
|
2724
|
+
|
2725
|
+
@Status.setter
|
2726
|
+
def Status(self, Status):
|
2727
|
+
self._Status = Status
|
2728
|
+
|
2781
2729
|
|
2782
2730
|
def _deserialize(self, params):
|
2783
2731
|
self._ClsRegion = params.get("ClsRegion")
|
@@ -2786,6 +2734,7 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
2786
2734
|
self._TopicId = params.get("TopicId")
|
2787
2735
|
self._Extend = params.get("Extend")
|
2788
2736
|
self._LogType = params.get("LogType")
|
2737
|
+
self._Status = params.get("Status")
|
2789
2738
|
memeber_set = set(params.keys())
|
2790
2739
|
for name, value in vars(self).items():
|
2791
2740
|
property_name = name[1:]
|
@@ -2850,12 +2799,10 @@ class CollectInfo(AbstractModel):
|
|
2850
2799
|
:param _Type: 采集类型,必填字段。
|
2851
2800
|
<li>0:元数据配置。</li>
|
2852
2801
|
<li>1:指定Pod Label。</li>
|
2853
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2854
2802
|
:type Type: int
|
2855
2803
|
:param _CollectConfigs: 指定采集类型的采集配置信息。
|
2856
2804
|
<li>当Type为0时,CollectConfigs不允许为空。</li>
|
2857
2805
|
<li>当Type为1时,CollectConfigs为空时,表示选择所有Pod Label;否则CollectConfigs为指定Pod Label。</li>
|
2858
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2859
2806
|
:type CollectConfigs: list of CollectConfig
|
2860
2807
|
"""
|
2861
2808
|
self._Type = None
|
@@ -2866,7 +2813,6 @@ class CollectInfo(AbstractModel):
|
|
2866
2813
|
"""采集类型,必填字段。
|
2867
2814
|
<li>0:元数据配置。</li>
|
2868
2815
|
<li>1:指定Pod Label。</li>
|
2869
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2870
2816
|
:rtype: int
|
2871
2817
|
"""
|
2872
2818
|
return self._Type
|
@@ -2880,7 +2826,6 @@ class CollectInfo(AbstractModel):
|
|
2880
2826
|
"""指定采集类型的采集配置信息。
|
2881
2827
|
<li>当Type为0时,CollectConfigs不允许为空。</li>
|
2882
2828
|
<li>当Type为1时,CollectConfigs为空时,表示选择所有Pod Label;否则CollectConfigs为指定Pod Label。</li>
|
2883
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2884
2829
|
:rtype: list of CollectConfig
|
2885
2830
|
"""
|
2886
2831
|
return self._CollectConfigs
|
@@ -3077,22 +3022,16 @@ class ConfigExtraInfo(AbstractModel):
|
|
3077
3022
|
:param _Type: 类型:container_stdout、container_file、host_file
|
3078
3023
|
:type Type: str
|
3079
3024
|
:param _HostFile: 节点文件配置信息
|
3080
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3081
3025
|
:type HostFile: :class:`tencentcloud.cls.v20201016.models.HostFileInfo`
|
3082
3026
|
:param _ContainerFile: 容器文件路径信息
|
3083
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3084
3027
|
:type ContainerFile: :class:`tencentcloud.cls.v20201016.models.ContainerFileInfo`
|
3085
3028
|
:param _ContainerStdout: 容器标准输出信息
|
3086
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3087
3029
|
:type ContainerStdout: :class:`tencentcloud.cls.v20201016.models.ContainerStdoutInfo`
|
3088
3030
|
:param _LogFormat: 日志格式化方式
|
3089
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3090
3031
|
:type LogFormat: str
|
3091
3032
|
:param _LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
|
3092
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3093
3033
|
:type LogType: str
|
3094
3034
|
:param _ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
|
3095
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3096
3035
|
:type ExtractRule: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
3097
3036
|
:param _ExcludePaths: 采集黑名单路径列表
|
3098
3037
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3102,31 +3041,24 @@ class ConfigExtraInfo(AbstractModel):
|
|
3102
3041
|
:param _CreateTime: 创建时间
|
3103
3042
|
:type CreateTime: str
|
3104
3043
|
:param _UserDefineRule: 用户自定义解析字符串
|
3105
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3106
3044
|
:type UserDefineRule: str
|
3107
3045
|
:param _GroupId: 机器组ID
|
3108
3046
|
:type GroupId: str
|
3109
3047
|
:param _ConfigFlag: 自建采集配置标
|
3110
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3111
3048
|
:type ConfigFlag: str
|
3112
3049
|
:param _LogsetId: 日志集ID
|
3113
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3114
3050
|
:type LogsetId: str
|
3115
3051
|
:param _LogsetName: 日志集name
|
3116
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3117
3052
|
:type LogsetName: str
|
3118
3053
|
:param _TopicName: 日志主题name
|
3119
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3120
3054
|
:type TopicName: str
|
3121
3055
|
:param _CollectInfos: 采集相关配置信息。详情见 CollectInfo复杂类型配置。
|
3122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3123
3056
|
:type CollectInfos: list of CollectInfo
|
3124
3057
|
:param _AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
3125
3058
|
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
3126
3059
|
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
3127
3060
|
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
3128
3061
|
样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
3129
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3130
3062
|
:type AdvancedConfig: str
|
3131
3063
|
"""
|
3132
3064
|
self._ConfigExtraId = None
|
@@ -3198,7 +3130,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3198
3130
|
@property
|
3199
3131
|
def HostFile(self):
|
3200
3132
|
"""节点文件配置信息
|
3201
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3202
3133
|
:rtype: :class:`tencentcloud.cls.v20201016.models.HostFileInfo`
|
3203
3134
|
"""
|
3204
3135
|
return self._HostFile
|
@@ -3210,7 +3141,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3210
3141
|
@property
|
3211
3142
|
def ContainerFile(self):
|
3212
3143
|
"""容器文件路径信息
|
3213
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3214
3144
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ContainerFileInfo`
|
3215
3145
|
"""
|
3216
3146
|
return self._ContainerFile
|
@@ -3222,7 +3152,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3222
3152
|
@property
|
3223
3153
|
def ContainerStdout(self):
|
3224
3154
|
"""容器标准输出信息
|
3225
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3226
3155
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ContainerStdoutInfo`
|
3227
3156
|
"""
|
3228
3157
|
return self._ContainerStdout
|
@@ -3234,7 +3163,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3234
3163
|
@property
|
3235
3164
|
def LogFormat(self):
|
3236
3165
|
"""日志格式化方式
|
3237
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3238
3166
|
:rtype: str
|
3239
3167
|
"""
|
3240
3168
|
return self._LogFormat
|
@@ -3246,7 +3174,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3246
3174
|
@property
|
3247
3175
|
def LogType(self):
|
3248
3176
|
"""采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
|
3249
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3250
3177
|
:rtype: str
|
3251
3178
|
"""
|
3252
3179
|
return self._LogType
|
@@ -3258,7 +3185,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3258
3185
|
@property
|
3259
3186
|
def ExtractRule(self):
|
3260
3187
|
"""提取规则,如果设置了ExtractRule,则必须设置LogType
|
3261
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3262
3188
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
3263
3189
|
"""
|
3264
3190
|
return self._ExtractRule
|
@@ -3304,7 +3230,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3304
3230
|
@property
|
3305
3231
|
def UserDefineRule(self):
|
3306
3232
|
"""用户自定义解析字符串
|
3307
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3308
3233
|
:rtype: str
|
3309
3234
|
"""
|
3310
3235
|
return self._UserDefineRule
|
@@ -3327,7 +3252,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3327
3252
|
@property
|
3328
3253
|
def ConfigFlag(self):
|
3329
3254
|
"""自建采集配置标
|
3330
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3331
3255
|
:rtype: str
|
3332
3256
|
"""
|
3333
3257
|
return self._ConfigFlag
|
@@ -3339,7 +3263,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3339
3263
|
@property
|
3340
3264
|
def LogsetId(self):
|
3341
3265
|
"""日志集ID
|
3342
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3343
3266
|
:rtype: str
|
3344
3267
|
"""
|
3345
3268
|
return self._LogsetId
|
@@ -3351,7 +3274,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3351
3274
|
@property
|
3352
3275
|
def LogsetName(self):
|
3353
3276
|
"""日志集name
|
3354
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3355
3277
|
:rtype: str
|
3356
3278
|
"""
|
3357
3279
|
return self._LogsetName
|
@@ -3363,7 +3285,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3363
3285
|
@property
|
3364
3286
|
def TopicName(self):
|
3365
3287
|
"""日志主题name
|
3366
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3367
3288
|
:rtype: str
|
3368
3289
|
"""
|
3369
3290
|
return self._TopicName
|
@@ -3375,7 +3296,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3375
3296
|
@property
|
3376
3297
|
def CollectInfos(self):
|
3377
3298
|
"""采集相关配置信息。详情见 CollectInfo复杂类型配置。
|
3378
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3379
3299
|
:rtype: list of CollectInfo
|
3380
3300
|
"""
|
3381
3301
|
return self._CollectInfos
|
@@ -3391,7 +3311,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3391
3311
|
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
3392
3312
|
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
3393
3313
|
样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
3394
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3395
3314
|
:rtype: str
|
3396
3315
|
"""
|
3397
3316
|
return self._AdvancedConfig
|
@@ -3461,13 +3380,10 @@ class ConfigInfo(AbstractModel):
|
|
3461
3380
|
:param _ConfigId: 采集规则配置ID
|
3462
3381
|
:type ConfigId: str
|
3463
3382
|
:param _Name: 采集规则配置名称
|
3464
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3465
3383
|
:type Name: str
|
3466
3384
|
:param _LogFormat: 日志格式化方式
|
3467
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3468
3385
|
:type LogFormat: str
|
3469
3386
|
:param _Path: 日志采集路径
|
3470
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3471
3387
|
:type Path: str
|
3472
3388
|
:param _LogType: 采集的日志类型。
|
3473
3389
|
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
@@ -3479,10 +3395,8 @@ class ConfigInfo(AbstractModel):
|
|
3479
3395
|
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
3480
3396
|
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
3481
3397
|
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
3482
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3483
3398
|
:type LogType: str
|
3484
3399
|
:param _ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
|
3485
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3486
3400
|
:type ExtractRule: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
3487
3401
|
:param _ExcludePaths: 采集黑名单路径列表
|
3488
3402
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3490,12 +3404,10 @@ class ConfigInfo(AbstractModel):
|
|
3490
3404
|
:param _Output: 采集配置所属日志主题ID即TopicId
|
3491
3405
|
:type Output: str
|
3492
3406
|
:param _UpdateTime: 更新时间
|
3493
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3494
3407
|
:type UpdateTime: str
|
3495
3408
|
:param _CreateTime: 创建时间
|
3496
3409
|
:type CreateTime: str
|
3497
3410
|
:param _UserDefineRule: 用户自定义解析字符串,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)。
|
3498
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3499
3411
|
:type UserDefineRule: str
|
3500
3412
|
:param _AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
3501
3413
|
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
@@ -3505,7 +3417,6 @@ class ConfigInfo(AbstractModel):
|
|
3505
3417
|
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
3506
3418
|
|
3507
3419
|
控制台默认占位值:`{\"ClsAgentDefault\":0}`
|
3508
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3509
3420
|
:type AdvancedConfig: str
|
3510
3421
|
"""
|
3511
3422
|
self._ConfigId = None
|
@@ -3535,7 +3446,6 @@ class ConfigInfo(AbstractModel):
|
|
3535
3446
|
@property
|
3536
3447
|
def Name(self):
|
3537
3448
|
"""采集规则配置名称
|
3538
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3539
3449
|
:rtype: str
|
3540
3450
|
"""
|
3541
3451
|
return self._Name
|
@@ -3547,7 +3457,6 @@ class ConfigInfo(AbstractModel):
|
|
3547
3457
|
@property
|
3548
3458
|
def LogFormat(self):
|
3549
3459
|
"""日志格式化方式
|
3550
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3551
3460
|
:rtype: str
|
3552
3461
|
"""
|
3553
3462
|
return self._LogFormat
|
@@ -3559,7 +3468,6 @@ class ConfigInfo(AbstractModel):
|
|
3559
3468
|
@property
|
3560
3469
|
def Path(self):
|
3561
3470
|
"""日志采集路径
|
3562
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3563
3471
|
:rtype: str
|
3564
3472
|
"""
|
3565
3473
|
return self._Path
|
@@ -3580,7 +3488,6 @@ class ConfigInfo(AbstractModel):
|
|
3580
3488
|
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
3581
3489
|
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
3582
3490
|
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
3583
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3584
3491
|
:rtype: str
|
3585
3492
|
"""
|
3586
3493
|
return self._LogType
|
@@ -3592,7 +3499,6 @@ class ConfigInfo(AbstractModel):
|
|
3592
3499
|
@property
|
3593
3500
|
def ExtractRule(self):
|
3594
3501
|
"""提取规则,如果设置了ExtractRule,则必须设置LogType
|
3595
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3596
3502
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
3597
3503
|
"""
|
3598
3504
|
return self._ExtractRule
|
@@ -3627,7 +3533,6 @@ class ConfigInfo(AbstractModel):
|
|
3627
3533
|
@property
|
3628
3534
|
def UpdateTime(self):
|
3629
3535
|
"""更新时间
|
3630
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3631
3536
|
:rtype: str
|
3632
3537
|
"""
|
3633
3538
|
return self._UpdateTime
|
@@ -3650,7 +3555,6 @@ class ConfigInfo(AbstractModel):
|
|
3650
3555
|
@property
|
3651
3556
|
def UserDefineRule(self):
|
3652
3557
|
"""用户自定义解析字符串,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)。
|
3653
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3654
3558
|
:rtype: str
|
3655
3559
|
"""
|
3656
3560
|
return self._UserDefineRule
|
@@ -3669,7 +3573,6 @@ class ConfigInfo(AbstractModel):
|
|
3669
3573
|
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
3670
3574
|
|
3671
3575
|
控制台默认占位值:`{\"ClsAgentDefault\":0}`
|
3672
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3673
3576
|
:rtype: str
|
3674
3577
|
"""
|
3675
3578
|
return self._AdvancedConfig
|
@@ -4008,10 +3911,8 @@ class ConsumerContent(AbstractModel):
|
|
4008
3911
|
r"""
|
4009
3912
|
:param _EnableTag: 是否投递 TAG 信息。
|
4010
3913
|
当EnableTag为true时,表示投递TAG元信息。
|
4011
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4012
3914
|
:type EnableTag: bool
|
4013
3915
|
:param _MetaFields: 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_
|
4014
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4015
3916
|
:type MetaFields: list of str
|
4016
3917
|
:param _TagJsonNotTiled: 当EnableTag为true时,必须填写TagJsonNotTiled字段。
|
4017
3918
|
TagJsonNotTiled用于标识tag信息是否json平铺。
|
@@ -4023,10 +3924,8 @@ TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
|
4023
3924
|
TagJsonNotTiled为false时平铺,示例:
|
4024
3925
|
TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
4025
3926
|
平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}`
|
4026
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4027
3927
|
:type TagJsonNotTiled: bool
|
4028
3928
|
:param _TimestampAccuracy: 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是1。
|
4029
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4030
3929
|
:type TimestampAccuracy: int
|
4031
3930
|
:param _JsonType: 投递Json格式。
|
4032
3931
|
JsonType为0:和原始日志一致,不转义。示例:
|
@@ -4036,7 +3935,6 @@ JsonType为0:和原始日志一致,不转义。示例:
|
|
4036
3935
|
JsonType为1:转义。示例:
|
4037
3936
|
日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
|
4038
3937
|
投递到Ckafka:`{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}`
|
4039
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4040
3938
|
:type JsonType: int
|
4041
3939
|
"""
|
4042
3940
|
self._EnableTag = None
|
@@ -4049,7 +3947,6 @@ JsonType为1:转义。示例:
|
|
4049
3947
|
def EnableTag(self):
|
4050
3948
|
"""是否投递 TAG 信息。
|
4051
3949
|
当EnableTag为true时,表示投递TAG元信息。
|
4052
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4053
3950
|
:rtype: bool
|
4054
3951
|
"""
|
4055
3952
|
return self._EnableTag
|
@@ -4061,7 +3958,6 @@ JsonType为1:转义。示例:
|
|
4061
3958
|
@property
|
4062
3959
|
def MetaFields(self):
|
4063
3960
|
"""需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_
|
4064
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4065
3961
|
:rtype: list of str
|
4066
3962
|
"""
|
4067
3963
|
return self._MetaFields
|
@@ -4082,7 +3978,6 @@ TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
|
4082
3978
|
TagJsonNotTiled为false时平铺,示例:
|
4083
3979
|
TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
4084
3980
|
平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}`
|
4085
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4086
3981
|
:rtype: bool
|
4087
3982
|
"""
|
4088
3983
|
return self._TagJsonNotTiled
|
@@ -4094,7 +3989,6 @@ TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
|
4094
3989
|
@property
|
4095
3990
|
def TimestampAccuracy(self):
|
4096
3991
|
"""投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是1。
|
4097
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4098
3992
|
:rtype: int
|
4099
3993
|
"""
|
4100
3994
|
return self._TimestampAccuracy
|
@@ -4113,7 +4007,6 @@ JsonType为0:和原始日志一致,不转义。示例:
|
|
4113
4007
|
JsonType为1:转义。示例:
|
4114
4008
|
日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
|
4115
4009
|
投递到Ckafka:`{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}`
|
4116
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4117
4010
|
:rtype: int
|
4118
4011
|
"""
|
4119
4012
|
return self._JsonType
|
@@ -4160,10 +4053,8 @@ class ContainerFileInfo(AbstractModel):
|
|
4160
4053
|
注意:此字段可能返回 null,表示取不到有效值。
|
4161
4054
|
:type IncludeLabels: list of str
|
4162
4055
|
:param _WorkLoad: 工作负载信息
|
4163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4164
4056
|
:type WorkLoad: :class:`tencentcloud.cls.v20201016.models.ContainerWorkLoadInfo`
|
4165
4057
|
:param _ExcludeNamespace: 需要排除的namespace可以多个,用分隔号分割,例如A,B
|
4166
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4167
4058
|
:type ExcludeNamespace: str
|
4168
4059
|
:param _ExcludeLabels: 需要排除的pod标签信息
|
4169
4060
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4253,7 +4144,6 @@ class ContainerFileInfo(AbstractModel):
|
|
4253
4144
|
@property
|
4254
4145
|
def WorkLoad(self):
|
4255
4146
|
"""工作负载信息
|
4256
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4257
4147
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ContainerWorkLoadInfo`
|
4258
4148
|
"""
|
4259
4149
|
return self._WorkLoad
|
@@ -4265,7 +4155,6 @@ class ContainerFileInfo(AbstractModel):
|
|
4265
4155
|
@property
|
4266
4156
|
def ExcludeNamespace(self):
|
4267
4157
|
"""需要排除的namespace可以多个,用分隔号分割,例如A,B
|
4268
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4269
4158
|
:rtype: str
|
4270
4159
|
"""
|
4271
4160
|
return self._ExcludeNamespace
|
@@ -4337,10 +4226,8 @@ class ContainerStdoutInfo(AbstractModel):
|
|
4337
4226
|
:param _AllContainers: 是否所有容器
|
4338
4227
|
:type AllContainers: bool
|
4339
4228
|
:param _Container: container为空表所有的,不为空采集指定的容器
|
4340
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4341
4229
|
:type Container: str
|
4342
4230
|
:param _Namespace: namespace可以多个,用分隔号分割,例如A,B;为空或者没有这个字段,表示所有namespace
|
4343
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4344
4231
|
:type Namespace: str
|
4345
4232
|
:param _IncludeLabels: pod标签信息
|
4346
4233
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4349,7 +4236,6 @@ class ContainerStdoutInfo(AbstractModel):
|
|
4349
4236
|
注意:此字段可能返回 null,表示取不到有效值。
|
4350
4237
|
:type WorkLoads: list of ContainerWorkLoadInfo
|
4351
4238
|
:param _ExcludeNamespace: 需要排除的namespace可以多个,用分隔号分割,例如A,B
|
4352
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4353
4239
|
:type ExcludeNamespace: str
|
4354
4240
|
:param _ExcludeLabels: 需要排除的pod标签信息
|
4355
4241
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4381,7 +4267,6 @@ class ContainerStdoutInfo(AbstractModel):
|
|
4381
4267
|
@property
|
4382
4268
|
def Container(self):
|
4383
4269
|
"""container为空表所有的,不为空采集指定的容器
|
4384
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4385
4270
|
:rtype: str
|
4386
4271
|
"""
|
4387
4272
|
return self._Container
|
@@ -4393,7 +4278,6 @@ class ContainerStdoutInfo(AbstractModel):
|
|
4393
4278
|
@property
|
4394
4279
|
def Namespace(self):
|
4395
4280
|
"""namespace可以多个,用分隔号分割,例如A,B;为空或者没有这个字段,表示所有namespace
|
4396
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4397
4281
|
:rtype: str
|
4398
4282
|
"""
|
4399
4283
|
return self._Namespace
|
@@ -4429,7 +4313,6 @@ class ContainerStdoutInfo(AbstractModel):
|
|
4429
4313
|
@property
|
4430
4314
|
def ExcludeNamespace(self):
|
4431
4315
|
"""需要排除的namespace可以多个,用分隔号分割,例如A,B
|
4432
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4433
4316
|
:rtype: str
|
4434
4317
|
"""
|
4435
4318
|
return self._ExcludeNamespace
|
@@ -4499,10 +4382,8 @@ class ContainerWorkLoadInfo(AbstractModel):
|
|
4499
4382
|
:param _Name: 工作负载的名称
|
4500
4383
|
:type Name: str
|
4501
4384
|
:param _Container: 容器名
|
4502
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4503
4385
|
:type Container: str
|
4504
4386
|
:param _Namespace: 命名空间
|
4505
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4506
4387
|
:type Namespace: str
|
4507
4388
|
"""
|
4508
4389
|
self._Kind = None
|
@@ -4535,7 +4416,6 @@ class ContainerWorkLoadInfo(AbstractModel):
|
|
4535
4416
|
@property
|
4536
4417
|
def Container(self):
|
4537
4418
|
"""容器名
|
4538
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4539
4419
|
:rtype: str
|
4540
4420
|
"""
|
4541
4421
|
return self._Container
|
@@ -4547,7 +4427,6 @@ class ContainerWorkLoadInfo(AbstractModel):
|
|
4547
4427
|
@property
|
4548
4428
|
def Namespace(self):
|
4549
4429
|
"""命名空间
|
4550
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4551
4430
|
:rtype: str
|
4552
4431
|
"""
|
4553
4432
|
return self._Namespace
|
@@ -4673,56 +4552,39 @@ class CosRechargeInfo(AbstractModel):
|
|
4673
4552
|
def __init__(self):
|
4674
4553
|
r"""
|
4675
4554
|
:param _Id: COS导入配置ID
|
4676
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4677
4555
|
:type Id: str
|
4678
4556
|
:param _TopicId: 日志主题ID
|
4679
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4680
4557
|
:type TopicId: str
|
4681
4558
|
:param _LogsetId: 日志集ID
|
4682
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4683
4559
|
:type LogsetId: str
|
4684
4560
|
:param _Name: COS导入任务名称
|
4685
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4686
4561
|
:type Name: str
|
4687
4562
|
:param _Bucket: COS存储桶
|
4688
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4689
4563
|
:type Bucket: str
|
4690
4564
|
:param _BucketRegion: COS存储桶所在地域
|
4691
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4692
4565
|
:type BucketRegion: str
|
4693
4566
|
:param _Prefix: COS文件所在文件夹的前缀
|
4694
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4695
4567
|
:type Prefix: str
|
4696
4568
|
:param _LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文;
|
4697
4569
|
默认为minimalist_log
|
4698
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4699
4570
|
:type LogType: str
|
4700
4571
|
:param _Status: 状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。
|
4701
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4702
4572
|
:type Status: int
|
4703
4573
|
:param _Enable: 是否启用: 0: 未启用 , 1:启用
|
4704
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4705
4574
|
:type Enable: int
|
4706
4575
|
:param _CreateTime: 创建时间
|
4707
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4708
4576
|
:type CreateTime: str
|
4709
4577
|
:param _UpdateTime: 更新时间
|
4710
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4711
4578
|
:type UpdateTime: str
|
4712
4579
|
:param _Progress: 进度条百分值
|
4713
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4714
4580
|
:type Progress: int
|
4715
4581
|
:param _Compress: supported: "", "gzip", "lzop", "snappy”; 默认空
|
4716
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4717
4582
|
:type Compress: str
|
4718
4583
|
:param _ExtractRuleInfo: 见: ExtractRuleInfo 结构描述
|
4719
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4720
4584
|
:type ExtractRuleInfo: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
4721
4585
|
:param _TaskType: COS导入任务类型。1:一次性导入任务;2:持续性导入任务。
|
4722
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4723
4586
|
:type TaskType: int
|
4724
4587
|
:param _Metadata: 元数据。支持 bucket,object。
|
4725
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4726
4588
|
:type Metadata: list of str
|
4727
4589
|
"""
|
4728
4590
|
self._Id = None
|
@@ -4746,7 +4608,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4746
4608
|
@property
|
4747
4609
|
def Id(self):
|
4748
4610
|
"""COS导入配置ID
|
4749
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4750
4611
|
:rtype: str
|
4751
4612
|
"""
|
4752
4613
|
return self._Id
|
@@ -4758,7 +4619,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4758
4619
|
@property
|
4759
4620
|
def TopicId(self):
|
4760
4621
|
"""日志主题ID
|
4761
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4762
4622
|
:rtype: str
|
4763
4623
|
"""
|
4764
4624
|
return self._TopicId
|
@@ -4770,7 +4630,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4770
4630
|
@property
|
4771
4631
|
def LogsetId(self):
|
4772
4632
|
"""日志集ID
|
4773
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4774
4633
|
:rtype: str
|
4775
4634
|
"""
|
4776
4635
|
return self._LogsetId
|
@@ -4782,7 +4641,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4782
4641
|
@property
|
4783
4642
|
def Name(self):
|
4784
4643
|
"""COS导入任务名称
|
4785
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4786
4644
|
:rtype: str
|
4787
4645
|
"""
|
4788
4646
|
return self._Name
|
@@ -4794,7 +4652,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4794
4652
|
@property
|
4795
4653
|
def Bucket(self):
|
4796
4654
|
"""COS存储桶
|
4797
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4798
4655
|
:rtype: str
|
4799
4656
|
"""
|
4800
4657
|
return self._Bucket
|
@@ -4806,7 +4663,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4806
4663
|
@property
|
4807
4664
|
def BucketRegion(self):
|
4808
4665
|
"""COS存储桶所在地域
|
4809
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4810
4666
|
:rtype: str
|
4811
4667
|
"""
|
4812
4668
|
return self._BucketRegion
|
@@ -4818,7 +4674,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4818
4674
|
@property
|
4819
4675
|
def Prefix(self):
|
4820
4676
|
"""COS文件所在文件夹的前缀
|
4821
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4822
4677
|
:rtype: str
|
4823
4678
|
"""
|
4824
4679
|
return self._Prefix
|
@@ -4831,7 +4686,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4831
4686
|
def LogType(self):
|
4832
4687
|
"""采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文;
|
4833
4688
|
默认为minimalist_log
|
4834
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4835
4689
|
:rtype: str
|
4836
4690
|
"""
|
4837
4691
|
return self._LogType
|
@@ -4843,7 +4697,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4843
4697
|
@property
|
4844
4698
|
def Status(self):
|
4845
4699
|
"""状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。
|
4846
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4847
4700
|
:rtype: int
|
4848
4701
|
"""
|
4849
4702
|
return self._Status
|
@@ -4855,7 +4708,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4855
4708
|
@property
|
4856
4709
|
def Enable(self):
|
4857
4710
|
"""是否启用: 0: 未启用 , 1:启用
|
4858
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4859
4711
|
:rtype: int
|
4860
4712
|
"""
|
4861
4713
|
return self._Enable
|
@@ -4867,7 +4719,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4867
4719
|
@property
|
4868
4720
|
def CreateTime(self):
|
4869
4721
|
"""创建时间
|
4870
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4871
4722
|
:rtype: str
|
4872
4723
|
"""
|
4873
4724
|
return self._CreateTime
|
@@ -4879,7 +4730,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4879
4730
|
@property
|
4880
4731
|
def UpdateTime(self):
|
4881
4732
|
"""更新时间
|
4882
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4883
4733
|
:rtype: str
|
4884
4734
|
"""
|
4885
4735
|
return self._UpdateTime
|
@@ -4891,7 +4741,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4891
4741
|
@property
|
4892
4742
|
def Progress(self):
|
4893
4743
|
"""进度条百分值
|
4894
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4895
4744
|
:rtype: int
|
4896
4745
|
"""
|
4897
4746
|
return self._Progress
|
@@ -4903,7 +4752,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4903
4752
|
@property
|
4904
4753
|
def Compress(self):
|
4905
4754
|
"""supported: "", "gzip", "lzop", "snappy”; 默认空
|
4906
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4907
4755
|
:rtype: str
|
4908
4756
|
"""
|
4909
4757
|
return self._Compress
|
@@ -4915,7 +4763,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4915
4763
|
@property
|
4916
4764
|
def ExtractRuleInfo(self):
|
4917
4765
|
"""见: ExtractRuleInfo 结构描述
|
4918
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4919
4766
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
4920
4767
|
"""
|
4921
4768
|
return self._ExtractRuleInfo
|
@@ -4927,7 +4774,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4927
4774
|
@property
|
4928
4775
|
def TaskType(self):
|
4929
4776
|
"""COS导入任务类型。1:一次性导入任务;2:持续性导入任务。
|
4930
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4931
4777
|
:rtype: int
|
4932
4778
|
"""
|
4933
4779
|
return self._TaskType
|
@@ -4939,7 +4785,6 @@ class CosRechargeInfo(AbstractModel):
|
|
4939
4785
|
@property
|
4940
4786
|
def Metadata(self):
|
4941
4787
|
"""元数据。支持 bucket,object。
|
4942
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4943
4788
|
:rtype: list of str
|
4944
4789
|
"""
|
4945
4790
|
return self._Metadata
|
@@ -5815,8 +5660,8 @@ class CreateAlarmShieldResponse(AbstractModel):
|
|
5815
5660
|
self._RequestId = params.get("RequestId")
|
5816
5661
|
|
5817
5662
|
|
5818
|
-
class
|
5819
|
-
"""
|
5663
|
+
class CreateCloudProductLogCollectionRequest(AbstractModel):
|
5664
|
+
"""CreateCloudProductLogCollection请求参数结构体
|
5820
5665
|
|
5821
5666
|
"""
|
5822
5667
|
|
@@ -5846,14 +5691,14 @@ class CreateCloudProductLogTaskRequest(AbstractModel):
|
|
5846
5691
|
:type ClsRegion: str
|
5847
5692
|
:param _LogsetName: 日志集名称,未填LogsetId时必填。若日志集不存在, 将自动创建
|
5848
5693
|
:type LogsetName: str
|
5849
|
-
:param _LogsetId: 日志集ID,若指定则代表选择已有日志集。选择已有日志集时,LogsetName可以不填
|
5850
|
-
:type LogsetId: str
|
5851
5694
|
:param _TopicName: 日志主题名称,在未填TopicId时必填。 若日志主题不存在,将自动创建
|
5852
5695
|
:type TopicName: str
|
5853
|
-
:param _TopicId: 日志主题ID,若指定则代表选择已有日志主题,选择已有日志主题时,TopicName可以不填
|
5854
|
-
:type TopicId: str
|
5855
5696
|
:param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
5856
5697
|
:type Extend: str
|
5698
|
+
:param _LogsetId: 日志集id
|
5699
|
+
:type LogsetId: str
|
5700
|
+
:param _TopicId: 日志主题id
|
5701
|
+
:type TopicId: str
|
5857
5702
|
"""
|
5858
5703
|
self._InstanceId = None
|
5859
5704
|
self._AssumerName = None
|
@@ -5861,10 +5706,10 @@ class CreateCloudProductLogTaskRequest(AbstractModel):
|
|
5861
5706
|
self._CloudProductRegion = None
|
5862
5707
|
self._ClsRegion = None
|
5863
5708
|
self._LogsetName = None
|
5864
|
-
self._LogsetId = None
|
5865
5709
|
self._TopicName = None
|
5866
|
-
self._TopicId = None
|
5867
5710
|
self._Extend = None
|
5711
|
+
self._LogsetId = None
|
5712
|
+
self._TopicId = None
|
5868
5713
|
|
5869
5714
|
@property
|
5870
5715
|
def InstanceId(self):
|
@@ -5944,17 +5789,6 @@ class CreateCloudProductLogTaskRequest(AbstractModel):
|
|
5944
5789
|
def LogsetName(self, LogsetName):
|
5945
5790
|
self._LogsetName = LogsetName
|
5946
5791
|
|
5947
|
-
@property
|
5948
|
-
def LogsetId(self):
|
5949
|
-
"""日志集ID,若指定则代表选择已有日志集。选择已有日志集时,LogsetName可以不填
|
5950
|
-
:rtype: str
|
5951
|
-
"""
|
5952
|
-
return self._LogsetId
|
5953
|
-
|
5954
|
-
@LogsetId.setter
|
5955
|
-
def LogsetId(self, LogsetId):
|
5956
|
-
self._LogsetId = LogsetId
|
5957
|
-
|
5958
5792
|
@property
|
5959
5793
|
def TopicName(self):
|
5960
5794
|
"""日志主题名称,在未填TopicId时必填。 若日志主题不存在,将自动创建
|
@@ -5966,9 +5800,31 @@ class CreateCloudProductLogTaskRequest(AbstractModel):
|
|
5966
5800
|
def TopicName(self, TopicName):
|
5967
5801
|
self._TopicName = TopicName
|
5968
5802
|
|
5803
|
+
@property
|
5804
|
+
def Extend(self):
|
5805
|
+
"""日志配置拓展信息, 一般用于存储额外的日志投递配置
|
5806
|
+
:rtype: str
|
5807
|
+
"""
|
5808
|
+
return self._Extend
|
5809
|
+
|
5810
|
+
@Extend.setter
|
5811
|
+
def Extend(self, Extend):
|
5812
|
+
self._Extend = Extend
|
5813
|
+
|
5814
|
+
@property
|
5815
|
+
def LogsetId(self):
|
5816
|
+
"""日志集id
|
5817
|
+
:rtype: str
|
5818
|
+
"""
|
5819
|
+
return self._LogsetId
|
5820
|
+
|
5821
|
+
@LogsetId.setter
|
5822
|
+
def LogsetId(self, LogsetId):
|
5823
|
+
self._LogsetId = LogsetId
|
5824
|
+
|
5969
5825
|
@property
|
5970
5826
|
def TopicId(self):
|
5971
|
-
"""日志主题
|
5827
|
+
"""日志主题id
|
5972
5828
|
:rtype: str
|
5973
5829
|
"""
|
5974
5830
|
return self._TopicId
|
@@ -5977,17 +5833,6 @@ class CreateCloudProductLogTaskRequest(AbstractModel):
|
|
5977
5833
|
def TopicId(self, TopicId):
|
5978
5834
|
self._TopicId = TopicId
|
5979
5835
|
|
5980
|
-
@property
|
5981
|
-
def Extend(self):
|
5982
|
-
"""日志配置拓展信息, 一般用于存储额外的日志投递配置
|
5983
|
-
:rtype: str
|
5984
|
-
"""
|
5985
|
-
return self._Extend
|
5986
|
-
|
5987
|
-
@Extend.setter
|
5988
|
-
def Extend(self, Extend):
|
5989
|
-
self._Extend = Extend
|
5990
|
-
|
5991
5836
|
|
5992
5837
|
def _deserialize(self, params):
|
5993
5838
|
self._InstanceId = params.get("InstanceId")
|
@@ -5996,10 +5841,10 @@ class CreateCloudProductLogTaskRequest(AbstractModel):
|
|
5996
5841
|
self._CloudProductRegion = params.get("CloudProductRegion")
|
5997
5842
|
self._ClsRegion = params.get("ClsRegion")
|
5998
5843
|
self._LogsetName = params.get("LogsetName")
|
5999
|
-
self._LogsetId = params.get("LogsetId")
|
6000
5844
|
self._TopicName = params.get("TopicName")
|
6001
|
-
self._TopicId = params.get("TopicId")
|
6002
5845
|
self._Extend = params.get("Extend")
|
5846
|
+
self._LogsetId = params.get("LogsetId")
|
5847
|
+
self._TopicId = params.get("TopicId")
|
6003
5848
|
memeber_set = set(params.keys())
|
6004
5849
|
for name, value in vars(self).items():
|
6005
5850
|
property_name = name[1:]
|
@@ -6010,8 +5855,8 @@ class CreateCloudProductLogTaskRequest(AbstractModel):
|
|
6010
5855
|
|
6011
5856
|
|
6012
5857
|
|
6013
|
-
class
|
6014
|
-
"""
|
5858
|
+
class CreateCloudProductLogCollectionResponse(AbstractModel):
|
5859
|
+
"""CreateCloudProductLogCollection返回参数结构体
|
6015
5860
|
|
6016
5861
|
"""
|
6017
5862
|
|
@@ -6025,6 +5870,8 @@ class CreateCloudProductLogTaskResponse(AbstractModel):
|
|
6025
5870
|
:type LogsetId: str
|
6026
5871
|
:param _LogsetName: 日志集名称
|
6027
5872
|
:type LogsetName: str
|
5873
|
+
:param _Status: -1 创建中,1创建完成
|
5874
|
+
:type Status: int
|
6028
5875
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6029
5876
|
:type RequestId: str
|
6030
5877
|
"""
|
@@ -6032,6 +5879,7 @@ class CreateCloudProductLogTaskResponse(AbstractModel):
|
|
6032
5879
|
self._TopicName = None
|
6033
5880
|
self._LogsetId = None
|
6034
5881
|
self._LogsetName = None
|
5882
|
+
self._Status = None
|
6035
5883
|
self._RequestId = None
|
6036
5884
|
|
6037
5885
|
@property
|
@@ -6078,6 +5926,17 @@ class CreateCloudProductLogTaskResponse(AbstractModel):
|
|
6078
5926
|
def LogsetName(self, LogsetName):
|
6079
5927
|
self._LogsetName = LogsetName
|
6080
5928
|
|
5929
|
+
@property
|
5930
|
+
def Status(self):
|
5931
|
+
"""-1 创建中,1创建完成
|
5932
|
+
:rtype: int
|
5933
|
+
"""
|
5934
|
+
return self._Status
|
5935
|
+
|
5936
|
+
@Status.setter
|
5937
|
+
def Status(self, Status):
|
5938
|
+
self._Status = Status
|
5939
|
+
|
6081
5940
|
@property
|
6082
5941
|
def RequestId(self):
|
6083
5942
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -6095,6 +5954,7 @@ class CreateCloudProductLogTaskResponse(AbstractModel):
|
|
6095
5954
|
self._TopicName = params.get("TopicName")
|
6096
5955
|
self._LogsetId = params.get("LogsetId")
|
6097
5956
|
self._LogsetName = params.get("LogsetName")
|
5957
|
+
self._Status = params.get("Status")
|
6098
5958
|
self._RequestId = params.get("RequestId")
|
6099
5959
|
|
6100
5960
|
|
@@ -7150,7 +7010,6 @@ class CreateCosRechargeResponse(AbstractModel):
|
|
7150
7010
|
def __init__(self):
|
7151
7011
|
r"""
|
7152
7012
|
:param _Id: COS导入任务id
|
7153
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7154
7013
|
:type Id: str
|
7155
7014
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7156
7015
|
:type RequestId: str
|
@@ -7161,7 +7020,6 @@ class CreateCosRechargeResponse(AbstractModel):
|
|
7161
7020
|
@property
|
7162
7021
|
def Id(self):
|
7163
7022
|
"""COS导入任务id
|
7164
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7165
7023
|
:rtype: str
|
7166
7024
|
"""
|
7167
7025
|
return self._Id
|
@@ -9782,30 +9640,22 @@ class DashboardInfo(AbstractModel):
|
|
9782
9640
|
:param _DashboardName: 仪表盘名字
|
9783
9641
|
:type DashboardName: str
|
9784
9642
|
:param _Data: 仪表盘数据
|
9785
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9786
9643
|
:type Data: str
|
9787
9644
|
:param _CreateTime: 创建仪表盘的时间
|
9788
9645
|
:type CreateTime: str
|
9789
9646
|
:param _AssumerUin: AssumerUin非空则表示创建该日志主题的服务方Uin
|
9790
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9791
9647
|
:type AssumerUin: int
|
9792
9648
|
:param _RoleName: RoleName非空则表示创建该日志主题的服务方使用的角色
|
9793
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9794
9649
|
:type RoleName: str
|
9795
9650
|
:param _AssumerName: AssumerName非空则表示创建该日志主题的服务方名称
|
9796
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9797
9651
|
:type AssumerName: str
|
9798
9652
|
:param _Tags: 日志主题绑定的标签信息
|
9799
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9800
9653
|
:type Tags: list of Tag
|
9801
9654
|
:param _DashboardRegion: 仪表盘所在地域: 为了兼容老的地域。
|
9802
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9803
9655
|
:type DashboardRegion: str
|
9804
9656
|
:param _UpdateTime: 修改仪表盘的时间
|
9805
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9806
9657
|
:type UpdateTime: str
|
9807
9658
|
:param _DashboardTopicInfos: 仪表盘对应的topic相关信息
|
9808
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9809
9659
|
:type DashboardTopicInfos: list of DashboardTopicInfo
|
9810
9660
|
"""
|
9811
9661
|
self._DashboardId = None
|
@@ -9845,7 +9695,6 @@ class DashboardInfo(AbstractModel):
|
|
9845
9695
|
@property
|
9846
9696
|
def Data(self):
|
9847
9697
|
"""仪表盘数据
|
9848
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9849
9698
|
:rtype: str
|
9850
9699
|
"""
|
9851
9700
|
return self._Data
|
@@ -9868,7 +9717,6 @@ class DashboardInfo(AbstractModel):
|
|
9868
9717
|
@property
|
9869
9718
|
def AssumerUin(self):
|
9870
9719
|
"""AssumerUin非空则表示创建该日志主题的服务方Uin
|
9871
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9872
9720
|
:rtype: int
|
9873
9721
|
"""
|
9874
9722
|
return self._AssumerUin
|
@@ -9880,7 +9728,6 @@ class DashboardInfo(AbstractModel):
|
|
9880
9728
|
@property
|
9881
9729
|
def RoleName(self):
|
9882
9730
|
"""RoleName非空则表示创建该日志主题的服务方使用的角色
|
9883
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9884
9731
|
:rtype: str
|
9885
9732
|
"""
|
9886
9733
|
return self._RoleName
|
@@ -9892,7 +9739,6 @@ class DashboardInfo(AbstractModel):
|
|
9892
9739
|
@property
|
9893
9740
|
def AssumerName(self):
|
9894
9741
|
"""AssumerName非空则表示创建该日志主题的服务方名称
|
9895
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9896
9742
|
:rtype: str
|
9897
9743
|
"""
|
9898
9744
|
return self._AssumerName
|
@@ -9904,7 +9750,6 @@ class DashboardInfo(AbstractModel):
|
|
9904
9750
|
@property
|
9905
9751
|
def Tags(self):
|
9906
9752
|
"""日志主题绑定的标签信息
|
9907
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9908
9753
|
:rtype: list of Tag
|
9909
9754
|
"""
|
9910
9755
|
return self._Tags
|
@@ -9916,7 +9761,6 @@ class DashboardInfo(AbstractModel):
|
|
9916
9761
|
@property
|
9917
9762
|
def DashboardRegion(self):
|
9918
9763
|
"""仪表盘所在地域: 为了兼容老的地域。
|
9919
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9920
9764
|
:rtype: str
|
9921
9765
|
"""
|
9922
9766
|
return self._DashboardRegion
|
@@ -9928,7 +9772,6 @@ class DashboardInfo(AbstractModel):
|
|
9928
9772
|
@property
|
9929
9773
|
def UpdateTime(self):
|
9930
9774
|
"""修改仪表盘的时间
|
9931
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9932
9775
|
:rtype: str
|
9933
9776
|
"""
|
9934
9777
|
return self._UpdateTime
|
@@ -9940,7 +9783,6 @@ class DashboardInfo(AbstractModel):
|
|
9940
9783
|
@property
|
9941
9784
|
def DashboardTopicInfos(self):
|
9942
9785
|
"""仪表盘对应的topic相关信息
|
9943
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9944
9786
|
:rtype: list of DashboardTopicInfo
|
9945
9787
|
"""
|
9946
9788
|
return self._DashboardTopicInfos
|
@@ -10006,7 +9848,6 @@ class DashboardNoticeMode(AbstractModel):
|
|
10006
9848
|
:param _Url: 回调Url。
|
10007
9849
|
<br><li/> 当ReceiverType是 Wecom 时,Url必填。
|
10008
9850
|
<br><li/> 当ReceiverType不是 Wecom 时,Url不能填写。
|
10009
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10010
9851
|
:type Url: str
|
10011
9852
|
"""
|
10012
9853
|
self._ReceiverType = None
|
@@ -10060,7 +9901,6 @@ class DashboardNoticeMode(AbstractModel):
|
|
10060
9901
|
"""回调Url。
|
10061
9902
|
<br><li/> 当ReceiverType是 Wecom 时,Url必填。
|
10062
9903
|
<br><li/> 当ReceiverType不是 Wecom 时,Url不能填写。
|
10063
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10064
9904
|
:rtype: str
|
10065
9905
|
"""
|
10066
9906
|
return self._Url
|
@@ -10101,16 +9941,12 @@ class DashboardSubscribeData(AbstractModel):
|
|
10101
9941
|
注意:此字段可能返回 null,表示取不到有效值。
|
10102
9942
|
:type TemplateVariables: list of DashboardTemplateVariable
|
10103
9943
|
:param _Timezone: 时区。参考:https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#SHANGHAI
|
10104
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10105
9944
|
:type Timezone: str
|
10106
9945
|
:param _SubscribeLanguage: 语言。 zh 中文、en`英文。
|
10107
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10108
9946
|
:type SubscribeLanguage: str
|
10109
9947
|
:param _JumpDomain: 调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
10110
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10111
9948
|
:type JumpDomain: str
|
10112
9949
|
:param _JumpUrl: 自定义跳转链接。
|
10113
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10114
9950
|
:type JumpUrl: str
|
10115
9951
|
"""
|
10116
9952
|
self._NoticeModes = None
|
@@ -10159,7 +9995,6 @@ class DashboardSubscribeData(AbstractModel):
|
|
10159
9995
|
@property
|
10160
9996
|
def Timezone(self):
|
10161
9997
|
"""时区。参考:https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#SHANGHAI
|
10162
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10163
9998
|
:rtype: str
|
10164
9999
|
"""
|
10165
10000
|
return self._Timezone
|
@@ -10171,7 +10006,6 @@ class DashboardSubscribeData(AbstractModel):
|
|
10171
10006
|
@property
|
10172
10007
|
def SubscribeLanguage(self):
|
10173
10008
|
"""语言。 zh 中文、en`英文。
|
10174
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10175
10009
|
:rtype: str
|
10176
10010
|
"""
|
10177
10011
|
return self._SubscribeLanguage
|
@@ -10183,7 +10017,6 @@ class DashboardSubscribeData(AbstractModel):
|
|
10183
10017
|
@property
|
10184
10018
|
def JumpDomain(self):
|
10185
10019
|
"""调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
10186
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10187
10020
|
:rtype: str
|
10188
10021
|
"""
|
10189
10022
|
return self._JumpDomain
|
@@ -10195,7 +10028,6 @@ class DashboardSubscribeData(AbstractModel):
|
|
10195
10028
|
@property
|
10196
10029
|
def JumpUrl(self):
|
10197
10030
|
"""自定义跳转链接。
|
10198
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10199
10031
|
:rtype: str
|
10200
10032
|
"""
|
10201
10033
|
return self._JumpUrl
|
@@ -10420,13 +10252,10 @@ class DataTransformTaskInfo(AbstractModel):
|
|
10420
10252
|
:param _EtlContent: 加工逻辑函数。
|
10421
10253
|
:type EtlContent: str
|
10422
10254
|
:param _DataTransformType: 数据加工类型。0:标准加工任务;1:前置加工任务。
|
10423
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10424
10255
|
:type DataTransformType: int
|
10425
10256
|
:param _KeepFailureLog: 保留失败日志状态。 1:不保留,2:保留
|
10426
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10427
10257
|
:type KeepFailureLog: int
|
10428
10258
|
:param _FailureLogKey: 失败日志的字段名称
|
10429
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10430
10259
|
:type FailureLogKey: str
|
10431
10260
|
"""
|
10432
10261
|
self._Name = None
|
@@ -10592,7 +10421,6 @@ class DataTransformTaskInfo(AbstractModel):
|
|
10592
10421
|
@property
|
10593
10422
|
def DataTransformType(self):
|
10594
10423
|
"""数据加工类型。0:标准加工任务;1:前置加工任务。
|
10595
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10596
10424
|
:rtype: int
|
10597
10425
|
"""
|
10598
10426
|
return self._DataTransformType
|
@@ -10604,7 +10432,6 @@ class DataTransformTaskInfo(AbstractModel):
|
|
10604
10432
|
@property
|
10605
10433
|
def KeepFailureLog(self):
|
10606
10434
|
"""保留失败日志状态。 1:不保留,2:保留
|
10607
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10608
10435
|
:rtype: int
|
10609
10436
|
"""
|
10610
10437
|
return self._KeepFailureLog
|
@@ -10616,7 +10443,6 @@ class DataTransformTaskInfo(AbstractModel):
|
|
10616
10443
|
@property
|
10617
10444
|
def FailureLogKey(self):
|
10618
10445
|
"""失败日志的字段名称
|
10619
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10620
10446
|
:rtype: str
|
10621
10447
|
"""
|
10622
10448
|
return self._FailureLogKey
|
@@ -10865,8 +10691,8 @@ class DeleteAlarmShieldResponse(AbstractModel):
|
|
10865
10691
|
self._RequestId = params.get("RequestId")
|
10866
10692
|
|
10867
10693
|
|
10868
|
-
class
|
10869
|
-
"""
|
10694
|
+
class DeleteCloudProductLogCollectionRequest(AbstractModel):
|
10695
|
+
"""DeleteCloudProductLogCollection请求参数结构体
|
10870
10696
|
|
10871
10697
|
"""
|
10872
10698
|
|
@@ -10970,18 +10796,32 @@ class DeleteCloudProductLogTaskRequest(AbstractModel):
|
|
10970
10796
|
|
10971
10797
|
|
10972
10798
|
|
10973
|
-
class
|
10974
|
-
"""
|
10799
|
+
class DeleteCloudProductLogCollectionResponse(AbstractModel):
|
10800
|
+
"""DeleteCloudProductLogCollection返回参数结构体
|
10975
10801
|
|
10976
10802
|
"""
|
10977
10803
|
|
10978
10804
|
def __init__(self):
|
10979
10805
|
r"""
|
10806
|
+
:param _Status: 枚举值,0创建中 1创建完成 2删除中 3删除完成
|
10807
|
+
:type Status: int
|
10980
10808
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10981
10809
|
:type RequestId: str
|
10982
10810
|
"""
|
10811
|
+
self._Status = None
|
10983
10812
|
self._RequestId = None
|
10984
10813
|
|
10814
|
+
@property
|
10815
|
+
def Status(self):
|
10816
|
+
"""枚举值,0创建中 1创建完成 2删除中 3删除完成
|
10817
|
+
:rtype: int
|
10818
|
+
"""
|
10819
|
+
return self._Status
|
10820
|
+
|
10821
|
+
@Status.setter
|
10822
|
+
def Status(self, Status):
|
10823
|
+
self._Status = Status
|
10824
|
+
|
10985
10825
|
@property
|
10986
10826
|
def RequestId(self):
|
10987
10827
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -10995,6 +10835,7 @@ class DeleteCloudProductLogTaskResponse(AbstractModel):
|
|
10995
10835
|
|
10996
10836
|
|
10997
10837
|
def _deserialize(self, params):
|
10838
|
+
self._Status = params.get("Status")
|
10998
10839
|
self._RequestId = params.get("RequestId")
|
10999
10840
|
|
11000
10841
|
|
@@ -11333,6 +11174,85 @@ class DeleteConsumerResponse(AbstractModel):
|
|
11333
11174
|
self._RequestId = params.get("RequestId")
|
11334
11175
|
|
11335
11176
|
|
11177
|
+
class DeleteCosRechargeRequest(AbstractModel):
|
11178
|
+
"""DeleteCosRecharge请求参数结构体
|
11179
|
+
|
11180
|
+
"""
|
11181
|
+
|
11182
|
+
def __init__(self):
|
11183
|
+
r"""
|
11184
|
+
:param _Id: COS导入配置Id
|
11185
|
+
:type Id: str
|
11186
|
+
:param _TopicId: 日志主题Id
|
11187
|
+
:type TopicId: str
|
11188
|
+
"""
|
11189
|
+
self._Id = None
|
11190
|
+
self._TopicId = None
|
11191
|
+
|
11192
|
+
@property
|
11193
|
+
def Id(self):
|
11194
|
+
"""COS导入配置Id
|
11195
|
+
:rtype: str
|
11196
|
+
"""
|
11197
|
+
return self._Id
|
11198
|
+
|
11199
|
+
@Id.setter
|
11200
|
+
def Id(self, Id):
|
11201
|
+
self._Id = Id
|
11202
|
+
|
11203
|
+
@property
|
11204
|
+
def TopicId(self):
|
11205
|
+
"""日志主题Id
|
11206
|
+
:rtype: str
|
11207
|
+
"""
|
11208
|
+
return self._TopicId
|
11209
|
+
|
11210
|
+
@TopicId.setter
|
11211
|
+
def TopicId(self, TopicId):
|
11212
|
+
self._TopicId = TopicId
|
11213
|
+
|
11214
|
+
|
11215
|
+
def _deserialize(self, params):
|
11216
|
+
self._Id = params.get("Id")
|
11217
|
+
self._TopicId = params.get("TopicId")
|
11218
|
+
memeber_set = set(params.keys())
|
11219
|
+
for name, value in vars(self).items():
|
11220
|
+
property_name = name[1:]
|
11221
|
+
if property_name in memeber_set:
|
11222
|
+
memeber_set.remove(property_name)
|
11223
|
+
if len(memeber_set) > 0:
|
11224
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11225
|
+
|
11226
|
+
|
11227
|
+
|
11228
|
+
class DeleteCosRechargeResponse(AbstractModel):
|
11229
|
+
"""DeleteCosRecharge返回参数结构体
|
11230
|
+
|
11231
|
+
"""
|
11232
|
+
|
11233
|
+
def __init__(self):
|
11234
|
+
r"""
|
11235
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11236
|
+
:type RequestId: str
|
11237
|
+
"""
|
11238
|
+
self._RequestId = None
|
11239
|
+
|
11240
|
+
@property
|
11241
|
+
def RequestId(self):
|
11242
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11243
|
+
:rtype: str
|
11244
|
+
"""
|
11245
|
+
return self._RequestId
|
11246
|
+
|
11247
|
+
@RequestId.setter
|
11248
|
+
def RequestId(self, RequestId):
|
11249
|
+
self._RequestId = RequestId
|
11250
|
+
|
11251
|
+
|
11252
|
+
def _deserialize(self, params):
|
11253
|
+
self._RequestId = params.get("RequestId")
|
11254
|
+
|
11255
|
+
|
11336
11256
|
class DeleteDashboardSubscribeRequest(AbstractModel):
|
11337
11257
|
"""DeleteDashboardSubscribe请求参数结构体
|
11338
11258
|
|
@@ -12429,7 +12349,6 @@ class DescribeAlarmNoticesResponse(AbstractModel):
|
|
12429
12349
|
def __init__(self):
|
12430
12350
|
r"""
|
12431
12351
|
:param _AlarmNotices: 告警通知模板列表。
|
12432
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12433
12352
|
:type AlarmNotices: list of AlarmNotice
|
12434
12353
|
:param _TotalCount: 符合条件的告警通知模板总数。
|
12435
12354
|
:type TotalCount: int
|
@@ -12443,7 +12362,6 @@ class DescribeAlarmNoticesResponse(AbstractModel):
|
|
12443
12362
|
@property
|
12444
12363
|
def AlarmNotices(self):
|
12445
12364
|
"""告警通知模板列表。
|
12446
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12447
12365
|
:rtype: list of AlarmNotice
|
12448
12366
|
"""
|
12449
12367
|
return self._AlarmNotices
|
@@ -13673,7 +13591,6 @@ class DescribeConsumerResponse(AbstractModel):
|
|
13673
13591
|
:param _Ckafka: CKafka的描述
|
13674
13592
|
:type Ckafka: :class:`tencentcloud.cls.v20201016.models.Ckafka`
|
13675
13593
|
:param _Compression: 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
|
13676
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13677
13594
|
:type Compression: int
|
13678
13595
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13679
13596
|
:type RequestId: str
|
@@ -13733,7 +13650,6 @@ class DescribeConsumerResponse(AbstractModel):
|
|
13733
13650
|
@property
|
13734
13651
|
def Compression(self):
|
13735
13652
|
"""压缩方式[0:NONE;2:SNAPPY;3:LZ4]
|
13736
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13737
13653
|
:rtype: int
|
13738
13654
|
"""
|
13739
13655
|
return self._Compression
|
@@ -13841,7 +13757,6 @@ class DescribeCosRechargesResponse(AbstractModel):
|
|
13841
13757
|
def __init__(self):
|
13842
13758
|
r"""
|
13843
13759
|
:param _Data: 见: CosRechargeInfo 结构描述
|
13844
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13845
13760
|
:type Data: list of CosRechargeInfo
|
13846
13761
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13847
13762
|
:type RequestId: str
|
@@ -13852,7 +13767,6 @@ class DescribeCosRechargesResponse(AbstractModel):
|
|
13852
13767
|
@property
|
13853
13768
|
def Data(self):
|
13854
13769
|
"""见: CosRechargeInfo 结构描述
|
13855
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13856
13770
|
:rtype: list of CosRechargeInfo
|
13857
13771
|
"""
|
13858
13772
|
return self._Data
|
@@ -14550,13 +14464,11 @@ class DescribeIndexResponse(AbstractModel):
|
|
14550
14464
|
:param _IncludeInternalFields: 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引
|
14551
14465
|
* false:不包含
|
14552
14466
|
* true:包含
|
14553
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14554
14467
|
:type IncludeInternalFields: bool
|
14555
14468
|
:param _MetadataFlag: 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引
|
14556
14469
|
* 0:仅包含开启键值索引的元数据字段
|
14557
14470
|
* 1:包含所有元数据字段
|
14558
14471
|
* 2:不包含任何元数据字段
|
14559
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14560
14472
|
:type MetadataFlag: int
|
14561
14473
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14562
14474
|
:type RequestId: str
|
@@ -14619,7 +14531,6 @@ class DescribeIndexResponse(AbstractModel):
|
|
14619
14531
|
"""内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引
|
14620
14532
|
* false:不包含
|
14621
14533
|
* true:包含
|
14622
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14623
14534
|
:rtype: bool
|
14624
14535
|
"""
|
14625
14536
|
return self._IncludeInternalFields
|
@@ -14634,7 +14545,6 @@ class DescribeIndexResponse(AbstractModel):
|
|
14634
14545
|
* 0:仅包含开启键值索引的元数据字段
|
14635
14546
|
* 1:包含所有元数据字段
|
14636
14547
|
* 2:不包含任何元数据字段
|
14637
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14638
14548
|
:rtype: int
|
14639
14549
|
"""
|
14640
14550
|
return self._MetadataFlag
|
@@ -15756,7 +15666,6 @@ class DescribeMachineGroupsResponse(AbstractModel):
|
|
15756
15666
|
def __init__(self):
|
15757
15667
|
r"""
|
15758
15668
|
:param _MachineGroups: 机器组信息列表
|
15759
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15760
15669
|
:type MachineGroups: list of MachineGroupInfo
|
15761
15670
|
:param _TotalCount: 分页的总数目
|
15762
15671
|
:type TotalCount: int
|
@@ -15770,7 +15679,6 @@ class DescribeMachineGroupsResponse(AbstractModel):
|
|
15770
15679
|
@property
|
15771
15680
|
def MachineGroups(self):
|
15772
15681
|
"""机器组信息列表
|
15773
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15774
15682
|
:rtype: list of MachineGroupInfo
|
15775
15683
|
"""
|
15776
15684
|
return self._MachineGroups
|
@@ -15973,7 +15881,6 @@ class DescribeMachinesResponse(AbstractModel):
|
|
15973
15881
|
:param _ServiceLogging: 是否开启服务日志
|
15974
15882
|
:type ServiceLogging: bool
|
15975
15883
|
:param _TotalCount: 总数目
|
15976
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15977
15884
|
:type TotalCount: int
|
15978
15885
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15979
15886
|
:type RequestId: str
|
@@ -16056,7 +15963,6 @@ class DescribeMachinesResponse(AbstractModel):
|
|
16056
15963
|
@property
|
16057
15964
|
def TotalCount(self):
|
16058
15965
|
"""总数目
|
16059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16060
15966
|
:rtype: int
|
16061
15967
|
"""
|
16062
15968
|
return self._TotalCount
|
@@ -16192,7 +16098,6 @@ class DescribeNoticeContentsResponse(AbstractModel):
|
|
16192
16098
|
def __init__(self):
|
16193
16099
|
r"""
|
16194
16100
|
:param _NoticeContents: 通知内容模板列表。
|
16195
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16196
16101
|
:type NoticeContents: list of NoticeContentTemplate
|
16197
16102
|
:param _TotalCount: 符合条件的通知内容模板总数。
|
16198
16103
|
:type TotalCount: int
|
@@ -16206,7 +16111,6 @@ class DescribeNoticeContentsResponse(AbstractModel):
|
|
16206
16111
|
@property
|
16207
16112
|
def NoticeContents(self):
|
16208
16113
|
"""通知内容模板列表。
|
16209
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16210
16114
|
:rtype: list of NoticeContentTemplate
|
16211
16115
|
"""
|
16212
16116
|
return self._NoticeContents
|
@@ -16755,7 +16659,6 @@ class DescribeShippersResponse(AbstractModel):
|
|
16755
16659
|
def __init__(self):
|
16756
16660
|
r"""
|
16757
16661
|
:param _Shippers: 投递规则列表
|
16758
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16759
16662
|
:type Shippers: list of ShipperInfo
|
16760
16663
|
:param _TotalCount: 本次查询获取到的总数
|
16761
16664
|
:type TotalCount: int
|
@@ -16769,7 +16672,6 @@ class DescribeShippersResponse(AbstractModel):
|
|
16769
16672
|
@property
|
16770
16673
|
def Shippers(self):
|
16771
16674
|
"""投递规则列表
|
16772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16773
16675
|
:rtype: list of ShipperInfo
|
16774
16676
|
"""
|
16775
16677
|
return self._Shippers
|
@@ -17111,7 +17013,6 @@ class DescribeWebCallbacksResponse(AbstractModel):
|
|
17111
17013
|
def __init__(self):
|
17112
17014
|
r"""
|
17113
17015
|
:param _WebCallbacks: 告警渠道回调配置列表。
|
17114
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17115
17016
|
:type WebCallbacks: list of WebCallbackInfo
|
17116
17017
|
:param _TotalCount: 符合条件的通知内容配置总数。
|
17117
17018
|
:type TotalCount: int
|
@@ -17125,7 +17026,6 @@ class DescribeWebCallbacksResponse(AbstractModel):
|
|
17125
17026
|
@property
|
17126
17027
|
def WebCallbacks(self):
|
17127
17028
|
"""告警渠道回调配置列表。
|
17128
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17129
17029
|
:rtype: list of WebCallbackInfo
|
17130
17030
|
"""
|
17131
17031
|
return self._WebCallbacks
|
@@ -17176,7 +17076,6 @@ class DynamicIndex(AbstractModel):
|
|
17176
17076
|
def __init__(self):
|
17177
17077
|
r"""
|
17178
17078
|
:param _Status: 键值索引自动配置开关
|
17179
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17180
17079
|
:type Status: bool
|
17181
17080
|
"""
|
17182
17081
|
self._Status = None
|
@@ -17184,7 +17083,6 @@ class DynamicIndex(AbstractModel):
|
|
17184
17083
|
@property
|
17185
17084
|
def Status(self):
|
17186
17085
|
"""键值索引自动配置开关
|
17187
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17188
17086
|
:rtype: bool
|
17189
17087
|
"""
|
17190
17088
|
return self._Status
|
@@ -17218,19 +17116,15 @@ class EscalateNoticeInfo(AbstractModel):
|
|
17218
17116
|
:param _WebCallbacks: 告警通知模板回调信息。
|
17219
17117
|
:type WebCallbacks: list of WebCallback
|
17220
17118
|
:param _Escalate: 告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false
|
17221
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17222
17119
|
:type Escalate: bool
|
17223
17120
|
:param _Interval: 告警升级间隔。单位:分钟,范围`[1,14400]`
|
17224
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17225
17121
|
:type Interval: int
|
17226
17122
|
:param _Type: 升级条件。`1`:无人认领且未恢复、`2`:未恢复,默认为1
|
17227
17123
|
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
|
17228
17124
|
- 未恢复:当前告警持续未恢复则升级
|
17229
17125
|
|
17230
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17231
17126
|
:type Type: int
|
17232
17127
|
:param _EscalateNotice: 告警升级后下一个环节的通知渠道配置,最多可配置5个环节。
|
17233
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17234
17128
|
:type EscalateNotice: :class:`tencentcloud.cls.v20201016.models.EscalateNoticeInfo`
|
17235
17129
|
"""
|
17236
17130
|
self._NoticeReceivers = None
|
@@ -17265,7 +17159,6 @@ class EscalateNoticeInfo(AbstractModel):
|
|
17265
17159
|
@property
|
17266
17160
|
def Escalate(self):
|
17267
17161
|
"""告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false
|
17268
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17269
17162
|
:rtype: bool
|
17270
17163
|
"""
|
17271
17164
|
return self._Escalate
|
@@ -17277,7 +17170,6 @@ class EscalateNoticeInfo(AbstractModel):
|
|
17277
17170
|
@property
|
17278
17171
|
def Interval(self):
|
17279
17172
|
"""告警升级间隔。单位:分钟,范围`[1,14400]`
|
17280
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17281
17173
|
:rtype: int
|
17282
17174
|
"""
|
17283
17175
|
return self._Interval
|
@@ -17292,7 +17184,6 @@ class EscalateNoticeInfo(AbstractModel):
|
|
17292
17184
|
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
|
17293
17185
|
- 未恢复:当前告警持续未恢复则升级
|
17294
17186
|
|
17295
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17296
17187
|
:rtype: int
|
17297
17188
|
"""
|
17298
17189
|
return self._Type
|
@@ -17304,7 +17195,6 @@ class EscalateNoticeInfo(AbstractModel):
|
|
17304
17195
|
@property
|
17305
17196
|
def EscalateNotice(self):
|
17306
17197
|
"""告警升级后下一个环节的通知渠道配置,最多可配置5个环节。
|
17307
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17308
17198
|
:rtype: :class:`tencentcloud.cls.v20201016.models.EscalateNoticeInfo`
|
17309
17199
|
"""
|
17310
17200
|
return self._EscalateNotice
|
@@ -17522,7 +17412,6 @@ class ExportInfo(AbstractModel):
|
|
17522
17412
|
0:Lucene语法,1:CQL语法。
|
17523
17413
|
:type SyntaxRule: int
|
17524
17414
|
:param _DerivedFields: 导出字段
|
17525
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17526
17415
|
:type DerivedFields: list of str
|
17527
17416
|
"""
|
17528
17417
|
self._TopicId = None
|
@@ -17699,7 +17588,6 @@ class ExportInfo(AbstractModel):
|
|
17699
17588
|
@property
|
17700
17589
|
def DerivedFields(self):
|
17701
17590
|
"""导出字段
|
17702
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17703
17591
|
:rtype: list of str
|
17704
17592
|
"""
|
17705
17593
|
return self._DerivedFields
|
@@ -17743,19 +17631,14 @@ class ExtractRuleInfo(AbstractModel):
|
|
17743
17631
|
def __init__(self):
|
17744
17632
|
r"""
|
17745
17633
|
:param _TimeKey: 时间字段的key名字,TikeKey和TimeFormat必须成对出现
|
17746
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17747
17634
|
:type TimeKey: str
|
17748
17635
|
:param _TimeFormat: 时间字段的格式,参考c语言的strftime函数对于时间的格式说明输出参数
|
17749
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17750
17636
|
:type TimeFormat: str
|
17751
17637
|
:param _Delimiter: 分隔符类型日志的分隔符,只有LogType为delimiter_log时有效
|
17752
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17753
17638
|
:type Delimiter: str
|
17754
17639
|
:param _LogRegex: 整条日志匹配规则,只有LogType为fullregex_log时有效
|
17755
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17756
17640
|
:type LogRegex: str
|
17757
17641
|
:param _BeginRegex: 行首匹配规则,只有LogType为multiline_log或fullregex_log时有效
|
17758
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17759
17642
|
:type BeginRegex: str
|
17760
17643
|
:param _Keys: 取的每个字段的key名字,为空的key代表丢弃这个字段,只有LogType为delimiter_log时有效,json_log的日志使用json本身的key。限制100个。
|
17761
17644
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -17763,7 +17646,6 @@ class ExtractRuleInfo(AbstractModel):
|
|
17763
17646
|
:param _FilterKeyRegex: 日志过滤规则列表(旧版),需要过滤日志的key,及其对应的regex。
|
17764
17647
|
注意:2.9.3及以上版本LogListener ,建议使用AdvanceFilterRules配置日志过滤规则。
|
17765
17648
|
|
17766
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17767
17649
|
:type FilterKeyRegex: list of KeyRegexInfo
|
17768
17650
|
:param _UnMatchUpLoadSwitch: 解析失败日志是否上传,true表示上传,false表示不上传
|
17769
17651
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -17780,7 +17662,6 @@ class ExtractRuleInfo(AbstractModel):
|
|
17780
17662
|
注意
|
17781
17663
|
- 目前取0值时,表示UTF-8编码
|
17782
17664
|
- COS导入不支持此字段。
|
17783
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17784
17665
|
:type IsGBK: int
|
17785
17666
|
:param _JsonStandard: 是否为标准json。 0:否; 1:是。
|
17786
17667
|
- 标准json指采集器使用业界标准开源解析器进行json解析,非标json指采集器使用CLS自研json解析器进行解析,两种解析器没有本质区别,建议客户使用标准json进行解析。
|
@@ -17790,13 +17671,11 @@ class ExtractRuleInfo(AbstractModel):
|
|
17790
17671
|
注意:
|
17791
17672
|
- 该字段适用于:创建采集规则配置、修改采集规则配置。
|
17792
17673
|
- COS导入不支持此字段。
|
17793
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17794
17674
|
:type Protocol: str
|
17795
17675
|
:param _Address: syslog系统日志采集指定采集器监听的地址和端口 ,形式:[ip]:[port],只有在LogType为service_syslog时生效,其余类型无需填写。
|
17796
17676
|
注意:
|
17797
17677
|
- 该字段适用于:创建采集规则配置、修改采集规则配置。
|
17798
17678
|
- COS导入不支持此字段。
|
17799
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17800
17679
|
:type Address: str
|
17801
17680
|
:param _ParseProtocol: rfc3164:指定系统日志采集使用RFC3164协议解析日志。
|
17802
17681
|
rfc5424:指定系统日志采集使用RFC5424协议解析日志。
|
@@ -17805,7 +17684,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
17805
17684
|
注意:
|
17806
17685
|
- 该字段适用于:创建采集规则配置、修改采集规则配置
|
17807
17686
|
- COS导入不支持此字段。
|
17808
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17809
17687
|
:type ParseProtocol: str
|
17810
17688
|
:param _MetadataType: 元数据类型。0: 不使用元数据信息;1:使用机器组元数据;2:使用用户自定义元数据;3:使用采集配置路径。
|
17811
17689
|
注意:
|
@@ -17821,7 +17699,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
17821
17699
|
注意:
|
17822
17700
|
- MetadataType为3时必填。
|
17823
17701
|
- COS导入不支持此字段。
|
17824
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17825
17702
|
:type PathRegex: str
|
17826
17703
|
:param _MetaTags: 用户自定义元数据信息。
|
17827
17704
|
注意:
|
@@ -17861,7 +17738,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
17861
17738
|
@property
|
17862
17739
|
def TimeKey(self):
|
17863
17740
|
"""时间字段的key名字,TikeKey和TimeFormat必须成对出现
|
17864
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17865
17741
|
:rtype: str
|
17866
17742
|
"""
|
17867
17743
|
return self._TimeKey
|
@@ -17873,7 +17749,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
17873
17749
|
@property
|
17874
17750
|
def TimeFormat(self):
|
17875
17751
|
"""时间字段的格式,参考c语言的strftime函数对于时间的格式说明输出参数
|
17876
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17877
17752
|
:rtype: str
|
17878
17753
|
"""
|
17879
17754
|
return self._TimeFormat
|
@@ -17885,7 +17760,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
17885
17760
|
@property
|
17886
17761
|
def Delimiter(self):
|
17887
17762
|
"""分隔符类型日志的分隔符,只有LogType为delimiter_log时有效
|
17888
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17889
17763
|
:rtype: str
|
17890
17764
|
"""
|
17891
17765
|
return self._Delimiter
|
@@ -17897,7 +17771,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
17897
17771
|
@property
|
17898
17772
|
def LogRegex(self):
|
17899
17773
|
"""整条日志匹配规则,只有LogType为fullregex_log时有效
|
17900
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17901
17774
|
:rtype: str
|
17902
17775
|
"""
|
17903
17776
|
return self._LogRegex
|
@@ -17909,7 +17782,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
17909
17782
|
@property
|
17910
17783
|
def BeginRegex(self):
|
17911
17784
|
"""行首匹配规则,只有LogType为multiline_log或fullregex_log时有效
|
17912
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17913
17785
|
:rtype: str
|
17914
17786
|
"""
|
17915
17787
|
return self._BeginRegex
|
@@ -17935,7 +17807,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
17935
17807
|
"""日志过滤规则列表(旧版),需要过滤日志的key,及其对应的regex。
|
17936
17808
|
注意:2.9.3及以上版本LogListener ,建议使用AdvanceFilterRules配置日志过滤规则。
|
17937
17809
|
|
17938
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17939
17810
|
:rtype: list of KeyRegexInfo
|
17940
17811
|
"""
|
17941
17812
|
return self._FilterKeyRegex
|
@@ -17988,7 +17859,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
17988
17859
|
注意
|
17989
17860
|
- 目前取0值时,表示UTF-8编码
|
17990
17861
|
- COS导入不支持此字段。
|
17991
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17992
17862
|
:rtype: int
|
17993
17863
|
"""
|
17994
17864
|
return self._IsGBK
|
@@ -18016,7 +17886,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
18016
17886
|
注意:
|
18017
17887
|
- 该字段适用于:创建采集规则配置、修改采集规则配置。
|
18018
17888
|
- COS导入不支持此字段。
|
18019
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18020
17889
|
:rtype: str
|
18021
17890
|
"""
|
18022
17891
|
return self._Protocol
|
@@ -18031,7 +17900,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
18031
17900
|
注意:
|
18032
17901
|
- 该字段适用于:创建采集规则配置、修改采集规则配置。
|
18033
17902
|
- COS导入不支持此字段。
|
18034
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18035
17903
|
:rtype: str
|
18036
17904
|
"""
|
18037
17905
|
return self._Address
|
@@ -18049,7 +17917,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
18049
17917
|
注意:
|
18050
17918
|
- 该字段适用于:创建采集规则配置、修改采集规则配置
|
18051
17919
|
- COS导入不支持此字段。
|
18052
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18053
17920
|
:rtype: str
|
18054
17921
|
"""
|
18055
17922
|
return self._ParseProtocol
|
@@ -18083,7 +17950,6 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
18083
17950
|
注意:
|
18084
17951
|
- MetadataType为3时必填。
|
18085
17952
|
- COS导入不支持此字段。
|
18086
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18087
17953
|
:rtype: str
|
18088
17954
|
"""
|
18089
17955
|
return self._PathRegex
|
@@ -18366,7 +18232,6 @@ class FullTextInfo(AbstractModel):
|
|
18366
18232
|
注意:\n\t\r本身已被转义,直接使用双引号包裹即可作为入参,无需再次转义。使用API Explorer进行调试时请使用JSON参数输入方式,以避免\n\t\r被重复转义
|
18367
18233
|
:type Tokenizer: str
|
18368
18234
|
:param _ContainZH: 是否包含中文
|
18369
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18370
18235
|
:type ContainZH: bool
|
18371
18236
|
"""
|
18372
18237
|
self._CaseSensitive = None
|
@@ -18400,7 +18265,6 @@ class FullTextInfo(AbstractModel):
|
|
18400
18265
|
@property
|
18401
18266
|
def ContainZH(self):
|
18402
18267
|
"""是否包含中文
|
18403
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18404
18268
|
:rtype: bool
|
18405
18269
|
"""
|
18406
18270
|
return self._ContainZH
|
@@ -18807,15 +18671,15 @@ class GroupTriggerConditionInfo(AbstractModel):
|
|
18807
18671
|
|
18808
18672
|
|
18809
18673
|
class HighLightItem(AbstractModel):
|
18810
|
-
"""
|
18674
|
+
"""符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
|
18811
18675
|
|
18812
18676
|
"""
|
18813
18677
|
|
18814
18678
|
def __init__(self):
|
18815
18679
|
r"""
|
18816
|
-
:param _Key:
|
18680
|
+
:param _Key: 高亮的日志字段名称
|
18817
18681
|
:type Key: str
|
18818
|
-
:param _Values:
|
18682
|
+
:param _Values: 高亮的关键词
|
18819
18683
|
:type Values: list of str
|
18820
18684
|
"""
|
18821
18685
|
self._Key = None
|
@@ -18823,7 +18687,7 @@ class HighLightItem(AbstractModel):
|
|
18823
18687
|
|
18824
18688
|
@property
|
18825
18689
|
def Key(self):
|
18826
|
-
"""
|
18690
|
+
"""高亮的日志字段名称
|
18827
18691
|
:rtype: str
|
18828
18692
|
"""
|
18829
18693
|
return self._Key
|
@@ -18834,7 +18698,7 @@ class HighLightItem(AbstractModel):
|
|
18834
18698
|
|
18835
18699
|
@property
|
18836
18700
|
def Values(self):
|
18837
|
-
"""
|
18701
|
+
"""高亮的关键词
|
18838
18702
|
:rtype: list of str
|
18839
18703
|
"""
|
18840
18704
|
return self._Values
|
@@ -18989,7 +18853,6 @@ class JsonInfo(AbstractModel):
|
|
18989
18853
|
注意:此字段可能返回 null,表示取不到有效值。
|
18990
18854
|
:type MetaFields: list of str
|
18991
18855
|
:param _JsonType: 投递Json格式,0:字符串方式投递;1:以结构化方式投递
|
18992
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18993
18856
|
:type JsonType: int
|
18994
18857
|
"""
|
18995
18858
|
self._EnableTag = None
|
@@ -19022,7 +18885,6 @@ class JsonInfo(AbstractModel):
|
|
19022
18885
|
@property
|
19023
18886
|
def JsonType(self):
|
19024
18887
|
"""投递Json格式,0:字符串方式投递;1:以结构化方式投递
|
19025
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19026
18888
|
:rtype: int
|
19027
18889
|
"""
|
19028
18890
|
return self._JsonType
|
@@ -19071,7 +18933,6 @@ TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
|
19071
18933
|
平铺示例:
|
19072
18934
|
TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
19073
18935
|
平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}`
|
19074
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19075
18936
|
:type TagTransaction: int
|
19076
18937
|
:param _JsonType: 消费数据Json格式:
|
19077
18938
|
1:不转义(默认格式)
|
@@ -19140,7 +19001,6 @@ TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
|
19140
19001
|
平铺示例:
|
19141
19002
|
TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
19142
19003
|
平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}`
|
19143
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19144
19004
|
:rtype: int
|
19145
19005
|
"""
|
19146
19006
|
return self._TagTransaction
|
@@ -19197,19 +19057,15 @@ class KafkaProtocolInfo(AbstractModel):
|
|
19197
19057
|
r"""
|
19198
19058
|
:param _Protocol: 协议类型,支持的协议类型包括 plaintext、sasl_plaintext 或 sasl_ssl。建议使用 sasl_ssl,此协议会进行连接加密同时需要用户认证。
|
19199
19059
|
入参必填
|
19200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19201
19060
|
:type Protocol: str
|
19202
19061
|
:param _Mechanism: 加密类型,支持 PLAIN、SCRAM-SHA-256 或 SCRAM-SHA-512。
|
19203
19062
|
当Protocol为sasl_plaintext或sasl_ssl时必填
|
19204
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19205
19063
|
:type Mechanism: str
|
19206
19064
|
:param _UserName: 用户名。
|
19207
19065
|
当Protocol为sasl_plaintext或sasl_ssl时必填
|
19208
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19209
19066
|
:type UserName: str
|
19210
19067
|
:param _Password: 用户密码。
|
19211
19068
|
当Protocol为sasl_plaintext或sasl_ssl时必填
|
19212
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19213
19069
|
:type Password: str
|
19214
19070
|
"""
|
19215
19071
|
self._Protocol = None
|
@@ -19221,7 +19077,6 @@ class KafkaProtocolInfo(AbstractModel):
|
|
19221
19077
|
def Protocol(self):
|
19222
19078
|
"""协议类型,支持的协议类型包括 plaintext、sasl_plaintext 或 sasl_ssl。建议使用 sasl_ssl,此协议会进行连接加密同时需要用户认证。
|
19223
19079
|
入参必填
|
19224
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19225
19080
|
:rtype: str
|
19226
19081
|
"""
|
19227
19082
|
return self._Protocol
|
@@ -19234,7 +19089,6 @@ class KafkaProtocolInfo(AbstractModel):
|
|
19234
19089
|
def Mechanism(self):
|
19235
19090
|
"""加密类型,支持 PLAIN、SCRAM-SHA-256 或 SCRAM-SHA-512。
|
19236
19091
|
当Protocol为sasl_plaintext或sasl_ssl时必填
|
19237
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19238
19092
|
:rtype: str
|
19239
19093
|
"""
|
19240
19094
|
return self._Mechanism
|
@@ -19247,7 +19101,6 @@ class KafkaProtocolInfo(AbstractModel):
|
|
19247
19101
|
def UserName(self):
|
19248
19102
|
"""用户名。
|
19249
19103
|
当Protocol为sasl_plaintext或sasl_ssl时必填
|
19250
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19251
19104
|
:rtype: str
|
19252
19105
|
"""
|
19253
19106
|
return self._UserName
|
@@ -19260,7 +19113,6 @@ class KafkaProtocolInfo(AbstractModel):
|
|
19260
19113
|
def Password(self):
|
19261
19114
|
"""用户密码。
|
19262
19115
|
当Protocol为sasl_plaintext或sasl_ssl时必填
|
19263
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19264
19116
|
:rtype: str
|
19265
19117
|
"""
|
19266
19118
|
return self._Password
|
@@ -19293,48 +19145,34 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19293
19145
|
def __init__(self):
|
19294
19146
|
r"""
|
19295
19147
|
:param _Id: Kafka数据订阅配置的ID。
|
19296
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19297
19148
|
:type Id: str
|
19298
19149
|
:param _TopicId: 日志主题ID
|
19299
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19300
19150
|
:type TopicId: str
|
19301
19151
|
:param _Name: Kafka导入任务名称
|
19302
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19303
19152
|
:type Name: str
|
19304
19153
|
:param _KafkaType: 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka
|
19305
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19306
19154
|
:type KafkaType: int
|
19307
19155
|
:param _KafkaInstance: 腾讯云CKafka实例ID,KafkaType为0时必填
|
19308
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19309
19156
|
:type KafkaInstance: str
|
19310
19157
|
:param _ServerAddr: 服务地址
|
19311
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19312
19158
|
:type ServerAddr: str
|
19313
19159
|
:param _IsEncryptionAddr: ServerAddr是否为加密连接
|
19314
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19315
19160
|
:type IsEncryptionAddr: bool
|
19316
19161
|
:param _Protocol: 加密访问协议,IsEncryptionAddr参数为true时必填
|
19317
19162
|
:type Protocol: :class:`tencentcloud.cls.v20201016.models.KafkaProtocolInfo`
|
19318
19163
|
:param _UserKafkaTopics: 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开
|
19319
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19320
19164
|
:type UserKafkaTopics: str
|
19321
19165
|
:param _ConsumerGroupName: 用户Kafka消费组名称
|
19322
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19323
19166
|
:type ConsumerGroupName: str
|
19324
19167
|
:param _Status: 状态 ,1:运行中;2:暂停。
|
19325
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19326
19168
|
:type Status: int
|
19327
19169
|
:param _Offset: 导入数据位置,-2:最早(默认),-1:最晚
|
19328
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19329
19170
|
:type Offset: int
|
19330
19171
|
:param _CreateTime: 创建时间
|
19331
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19332
19172
|
:type CreateTime: str
|
19333
19173
|
:param _UpdateTime: 更新时间
|
19334
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19335
19174
|
:type UpdateTime: str
|
19336
19175
|
:param _LogRechargeRule: 日志导入规则
|
19337
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19338
19176
|
:type LogRechargeRule: :class:`tencentcloud.cls.v20201016.models.LogRechargeRuleInfo`
|
19339
19177
|
"""
|
19340
19178
|
self._Id = None
|
@@ -19356,7 +19194,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19356
19194
|
@property
|
19357
19195
|
def Id(self):
|
19358
19196
|
"""Kafka数据订阅配置的ID。
|
19359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19360
19197
|
:rtype: str
|
19361
19198
|
"""
|
19362
19199
|
return self._Id
|
@@ -19368,7 +19205,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19368
19205
|
@property
|
19369
19206
|
def TopicId(self):
|
19370
19207
|
"""日志主题ID
|
19371
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19372
19208
|
:rtype: str
|
19373
19209
|
"""
|
19374
19210
|
return self._TopicId
|
@@ -19380,7 +19216,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19380
19216
|
@property
|
19381
19217
|
def Name(self):
|
19382
19218
|
"""Kafka导入任务名称
|
19383
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19384
19219
|
:rtype: str
|
19385
19220
|
"""
|
19386
19221
|
return self._Name
|
@@ -19392,7 +19227,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19392
19227
|
@property
|
19393
19228
|
def KafkaType(self):
|
19394
19229
|
"""导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka
|
19395
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19396
19230
|
:rtype: int
|
19397
19231
|
"""
|
19398
19232
|
return self._KafkaType
|
@@ -19404,7 +19238,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19404
19238
|
@property
|
19405
19239
|
def KafkaInstance(self):
|
19406
19240
|
"""腾讯云CKafka实例ID,KafkaType为0时必填
|
19407
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19408
19241
|
:rtype: str
|
19409
19242
|
"""
|
19410
19243
|
return self._KafkaInstance
|
@@ -19416,7 +19249,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19416
19249
|
@property
|
19417
19250
|
def ServerAddr(self):
|
19418
19251
|
"""服务地址
|
19419
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19420
19252
|
:rtype: str
|
19421
19253
|
"""
|
19422
19254
|
return self._ServerAddr
|
@@ -19428,7 +19260,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19428
19260
|
@property
|
19429
19261
|
def IsEncryptionAddr(self):
|
19430
19262
|
"""ServerAddr是否为加密连接
|
19431
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19432
19263
|
:rtype: bool
|
19433
19264
|
"""
|
19434
19265
|
return self._IsEncryptionAddr
|
@@ -19451,7 +19282,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19451
19282
|
@property
|
19452
19283
|
def UserKafkaTopics(self):
|
19453
19284
|
"""用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开
|
19454
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19455
19285
|
:rtype: str
|
19456
19286
|
"""
|
19457
19287
|
return self._UserKafkaTopics
|
@@ -19463,7 +19293,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19463
19293
|
@property
|
19464
19294
|
def ConsumerGroupName(self):
|
19465
19295
|
"""用户Kafka消费组名称
|
19466
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19467
19296
|
:rtype: str
|
19468
19297
|
"""
|
19469
19298
|
return self._ConsumerGroupName
|
@@ -19475,7 +19304,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19475
19304
|
@property
|
19476
19305
|
def Status(self):
|
19477
19306
|
"""状态 ,1:运行中;2:暂停。
|
19478
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19479
19307
|
:rtype: int
|
19480
19308
|
"""
|
19481
19309
|
return self._Status
|
@@ -19487,7 +19315,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19487
19315
|
@property
|
19488
19316
|
def Offset(self):
|
19489
19317
|
"""导入数据位置,-2:最早(默认),-1:最晚
|
19490
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19491
19318
|
:rtype: int
|
19492
19319
|
"""
|
19493
19320
|
return self._Offset
|
@@ -19499,7 +19326,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19499
19326
|
@property
|
19500
19327
|
def CreateTime(self):
|
19501
19328
|
"""创建时间
|
19502
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19503
19329
|
:rtype: str
|
19504
19330
|
"""
|
19505
19331
|
return self._CreateTime
|
@@ -19511,7 +19337,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19511
19337
|
@property
|
19512
19338
|
def UpdateTime(self):
|
19513
19339
|
"""更新时间
|
19514
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19515
19340
|
:rtype: str
|
19516
19341
|
"""
|
19517
19342
|
return self._UpdateTime
|
@@ -19523,7 +19348,6 @@ class KafkaRechargeInfo(AbstractModel):
|
|
19523
19348
|
@property
|
19524
19349
|
def LogRechargeRule(self):
|
19525
19350
|
"""日志导入规则
|
19526
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19527
19351
|
:rtype: :class:`tencentcloud.cls.v20201016.models.LogRechargeRuleInfo`
|
19528
19352
|
"""
|
19529
19353
|
return self._LogRechargeRule
|
@@ -19699,16 +19523,12 @@ class LogContextInfo(AbstractModel):
|
|
19699
19523
|
:param _BTime: 日志时间戳
|
19700
19524
|
:type BTime: int
|
19701
19525
|
:param _HostName: 日志来源主机名称
|
19702
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19703
19526
|
:type HostName: str
|
19704
19527
|
:param _RawLog: 原始日志(仅在日志创建索引异常时有值)
|
19705
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19706
19528
|
:type RawLog: str
|
19707
19529
|
:param _IndexStatus: 日志创建索引异常原因(仅在日志创建索引异常时有值)
|
19708
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19709
19530
|
:type IndexStatus: str
|
19710
19531
|
:param _HighLights: 日志内容的高亮描述信息
|
19711
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19712
19532
|
:type HighLights: list of HighLightItem
|
19713
19533
|
"""
|
19714
19534
|
self._Source = None
|
@@ -19791,7 +19611,6 @@ class LogContextInfo(AbstractModel):
|
|
19791
19611
|
@property
|
19792
19612
|
def HostName(self):
|
19793
19613
|
"""日志来源主机名称
|
19794
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19795
19614
|
:rtype: str
|
19796
19615
|
"""
|
19797
19616
|
return self._HostName
|
@@ -19803,7 +19622,6 @@ class LogContextInfo(AbstractModel):
|
|
19803
19622
|
@property
|
19804
19623
|
def RawLog(self):
|
19805
19624
|
"""原始日志(仅在日志创建索引异常时有值)
|
19806
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19807
19625
|
:rtype: str
|
19808
19626
|
"""
|
19809
19627
|
return self._RawLog
|
@@ -19815,7 +19633,6 @@ class LogContextInfo(AbstractModel):
|
|
19815
19633
|
@property
|
19816
19634
|
def IndexStatus(self):
|
19817
19635
|
"""日志创建索引异常原因(仅在日志创建索引异常时有值)
|
19818
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19819
19636
|
:rtype: str
|
19820
19637
|
"""
|
19821
19638
|
return self._IndexStatus
|
@@ -19827,7 +19644,6 @@ class LogContextInfo(AbstractModel):
|
|
19827
19644
|
@property
|
19828
19645
|
def HighLights(self):
|
19829
19646
|
"""日志内容的高亮描述信息
|
19830
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19831
19647
|
:rtype: list of HighLightItem
|
19832
19648
|
"""
|
19833
19649
|
return self._HighLights
|
@@ -19884,17 +19700,15 @@ class LogInfo(AbstractModel):
|
|
19884
19700
|
:type PkgId: str
|
19885
19701
|
:param _PkgLogId: 请求包内日志的ID
|
19886
19702
|
:type PkgLogId: str
|
19703
|
+
:param _HighLights: 符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
|
19704
|
+
:type HighLights: list of HighLightItem
|
19887
19705
|
:param _LogJson: 日志内容的Json序列化字符串
|
19888
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19889
19706
|
:type LogJson: str
|
19890
19707
|
:param _HostName: 日志来源主机名称
|
19891
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19892
19708
|
:type HostName: str
|
19893
19709
|
:param _RawLog: 原始日志(仅在日志创建索引异常时有值)
|
19894
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19895
19710
|
:type RawLog: str
|
19896
19711
|
:param _IndexStatus: 日志创建索引异常原因(仅在日志创建索引异常时有值)
|
19897
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19898
19712
|
:type IndexStatus: str
|
19899
19713
|
"""
|
19900
19714
|
self._Time = None
|
@@ -19904,6 +19718,7 @@ class LogInfo(AbstractModel):
|
|
19904
19718
|
self._FileName = None
|
19905
19719
|
self._PkgId = None
|
19906
19720
|
self._PkgLogId = None
|
19721
|
+
self._HighLights = None
|
19907
19722
|
self._LogJson = None
|
19908
19723
|
self._HostName = None
|
19909
19724
|
self._RawLog = None
|
@@ -19986,10 +19801,20 @@ class LogInfo(AbstractModel):
|
|
19986
19801
|
def PkgLogId(self, PkgLogId):
|
19987
19802
|
self._PkgLogId = PkgLogId
|
19988
19803
|
|
19804
|
+
@property
|
19805
|
+
def HighLights(self):
|
19806
|
+
"""符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
|
19807
|
+
:rtype: list of HighLightItem
|
19808
|
+
"""
|
19809
|
+
return self._HighLights
|
19810
|
+
|
19811
|
+
@HighLights.setter
|
19812
|
+
def HighLights(self, HighLights):
|
19813
|
+
self._HighLights = HighLights
|
19814
|
+
|
19989
19815
|
@property
|
19990
19816
|
def LogJson(self):
|
19991
19817
|
"""日志内容的Json序列化字符串
|
19992
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19993
19818
|
:rtype: str
|
19994
19819
|
"""
|
19995
19820
|
return self._LogJson
|
@@ -20001,7 +19826,6 @@ class LogInfo(AbstractModel):
|
|
20001
19826
|
@property
|
20002
19827
|
def HostName(self):
|
20003
19828
|
"""日志来源主机名称
|
20004
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20005
19829
|
:rtype: str
|
20006
19830
|
"""
|
20007
19831
|
return self._HostName
|
@@ -20013,7 +19837,6 @@ class LogInfo(AbstractModel):
|
|
20013
19837
|
@property
|
20014
19838
|
def RawLog(self):
|
20015
19839
|
"""原始日志(仅在日志创建索引异常时有值)
|
20016
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20017
19840
|
:rtype: str
|
20018
19841
|
"""
|
20019
19842
|
return self._RawLog
|
@@ -20025,7 +19848,6 @@ class LogInfo(AbstractModel):
|
|
20025
19848
|
@property
|
20026
19849
|
def IndexStatus(self):
|
20027
19850
|
"""日志创建索引异常原因(仅在日志创建索引异常时有值)
|
20028
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20029
19851
|
:rtype: str
|
20030
19852
|
"""
|
20031
19853
|
return self._IndexStatus
|
@@ -20043,6 +19865,12 @@ class LogInfo(AbstractModel):
|
|
20043
19865
|
self._FileName = params.get("FileName")
|
20044
19866
|
self._PkgId = params.get("PkgId")
|
20045
19867
|
self._PkgLogId = params.get("PkgLogId")
|
19868
|
+
if params.get("HighLights") is not None:
|
19869
|
+
self._HighLights = []
|
19870
|
+
for item in params.get("HighLights"):
|
19871
|
+
obj = HighLightItem()
|
19872
|
+
obj._deserialize(item)
|
19873
|
+
self._HighLights.append(obj)
|
20046
19874
|
self._LogJson = params.get("LogJson")
|
20047
19875
|
self._HostName = params.get("HostName")
|
20048
19876
|
self._RawLog = params.get("RawLog")
|
@@ -20163,36 +19991,26 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20163
19991
|
:param _DefaultTimeSwitch: 使用默认时间,true:开启(默认值), flase:关闭
|
20164
19992
|
:type DefaultTimeSwitch: bool
|
20165
19993
|
:param _LogRegex: 整条日志匹配规则,只有RechargeType为fullregex_log时有效
|
20166
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20167
19994
|
:type LogRegex: str
|
20168
19995
|
:param _UnMatchLogSwitch: 解析失败日志是否上传,true表示上传,false表示不上传
|
20169
19996
|
:type UnMatchLogSwitch: bool
|
20170
19997
|
:param _UnMatchLogKey: 解析失败日志的键名称
|
20171
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20172
19998
|
:type UnMatchLogKey: str
|
20173
19999
|
:param _UnMatchLogTimeSrc: 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳
|
20174
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20175
20000
|
:type UnMatchLogTimeSrc: int
|
20176
20001
|
:param _DefaultTimeSrc: 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳
|
20177
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20178
20002
|
:type DefaultTimeSrc: int
|
20179
20003
|
:param _TimeKey: 时间字段
|
20180
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20181
20004
|
:type TimeKey: str
|
20182
20005
|
:param _TimeRegex: 时间提取正则表达式
|
20183
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20184
20006
|
:type TimeRegex: str
|
20185
20007
|
:param _TimeFormat: 时间字段格式
|
20186
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20187
20008
|
:type TimeFormat: str
|
20188
20009
|
:param _TimeZone: 时间字段时区
|
20189
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20190
20010
|
:type TimeZone: str
|
20191
20011
|
:param _Metadata: 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp
|
20192
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20193
20012
|
:type Metadata: list of str
|
20194
20013
|
:param _Keys: 日志Key列表,RechargeType为full_regex_log时必填
|
20195
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20196
20014
|
:type Keys: list of str
|
20197
20015
|
:param _ParseArray: json解析模式,开启首层数据解析
|
20198
20016
|
:type ParseArray: bool
|
@@ -20249,7 +20067,6 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20249
20067
|
@property
|
20250
20068
|
def LogRegex(self):
|
20251
20069
|
"""整条日志匹配规则,只有RechargeType为fullregex_log时有效
|
20252
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20253
20070
|
:rtype: str
|
20254
20071
|
"""
|
20255
20072
|
return self._LogRegex
|
@@ -20272,7 +20089,6 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20272
20089
|
@property
|
20273
20090
|
def UnMatchLogKey(self):
|
20274
20091
|
"""解析失败日志的键名称
|
20275
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20276
20092
|
:rtype: str
|
20277
20093
|
"""
|
20278
20094
|
return self._UnMatchLogKey
|
@@ -20284,7 +20100,6 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20284
20100
|
@property
|
20285
20101
|
def UnMatchLogTimeSrc(self):
|
20286
20102
|
"""解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳
|
20287
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20288
20103
|
:rtype: int
|
20289
20104
|
"""
|
20290
20105
|
return self._UnMatchLogTimeSrc
|
@@ -20296,7 +20111,6 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20296
20111
|
@property
|
20297
20112
|
def DefaultTimeSrc(self):
|
20298
20113
|
"""默认时间来源,0: 系统当前时间,1: Kafka消息时间戳
|
20299
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20300
20114
|
:rtype: int
|
20301
20115
|
"""
|
20302
20116
|
return self._DefaultTimeSrc
|
@@ -20308,7 +20122,6 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20308
20122
|
@property
|
20309
20123
|
def TimeKey(self):
|
20310
20124
|
"""时间字段
|
20311
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20312
20125
|
:rtype: str
|
20313
20126
|
"""
|
20314
20127
|
return self._TimeKey
|
@@ -20320,7 +20133,6 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20320
20133
|
@property
|
20321
20134
|
def TimeRegex(self):
|
20322
20135
|
"""时间提取正则表达式
|
20323
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20324
20136
|
:rtype: str
|
20325
20137
|
"""
|
20326
20138
|
return self._TimeRegex
|
@@ -20332,7 +20144,6 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20332
20144
|
@property
|
20333
20145
|
def TimeFormat(self):
|
20334
20146
|
"""时间字段格式
|
20335
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20336
20147
|
:rtype: str
|
20337
20148
|
"""
|
20338
20149
|
return self._TimeFormat
|
@@ -20344,7 +20155,6 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20344
20155
|
@property
|
20345
20156
|
def TimeZone(self):
|
20346
20157
|
"""时间字段时区
|
20347
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20348
20158
|
:rtype: str
|
20349
20159
|
"""
|
20350
20160
|
return self._TimeZone
|
@@ -20356,7 +20166,6 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20356
20166
|
@property
|
20357
20167
|
def Metadata(self):
|
20358
20168
|
"""元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp
|
20359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20360
20169
|
:rtype: list of str
|
20361
20170
|
"""
|
20362
20171
|
return self._Metadata
|
@@ -20368,7 +20177,6 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20368
20177
|
@property
|
20369
20178
|
def Keys(self):
|
20370
20179
|
"""日志Key列表,RechargeType为full_regex_log时必填
|
20371
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20372
20180
|
:rtype: list of str
|
20373
20181
|
"""
|
20374
20182
|
return self._Keys
|
@@ -20429,10 +20237,8 @@ class LogsetInfo(AbstractModel):
|
|
20429
20237
|
:param _CreateTime: 创建时间
|
20430
20238
|
:type CreateTime: str
|
20431
20239
|
:param _AssumerName: 云产品标识,日志集由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
|
20432
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20433
20240
|
:type AssumerName: str
|
20434
20241
|
:param _Tags: 日志集绑定的标签
|
20435
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20436
20242
|
:type Tags: list of Tag
|
20437
20243
|
:param _TopicCount: 日志集下日志主题的数目
|
20438
20244
|
:type TopicCount: int
|
@@ -20483,7 +20289,6 @@ class LogsetInfo(AbstractModel):
|
|
20483
20289
|
@property
|
20484
20290
|
def AssumerName(self):
|
20485
20291
|
"""云产品标识,日志集由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
|
20486
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20487
20292
|
:rtype: str
|
20488
20293
|
"""
|
20489
20294
|
return self._AssumerName
|
@@ -20495,7 +20300,6 @@ class LogsetInfo(AbstractModel):
|
|
20495
20300
|
@property
|
20496
20301
|
def Tags(self):
|
20497
20302
|
"""日志集绑定的标签
|
20498
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20499
20303
|
:rtype: list of Tag
|
20500
20304
|
"""
|
20501
20305
|
return self._Tags
|
@@ -20566,22 +20370,16 @@ class MachineGroupInfo(AbstractModel):
|
|
20566
20370
|
:param _CreateTime: 创建时间
|
20567
20371
|
:type CreateTime: str
|
20568
20372
|
:param _Tags: 机器组绑定的标签列表
|
20569
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20570
20373
|
:type Tags: list of Tag
|
20571
20374
|
:param _AutoUpdate: 是否开启机器组自动更新
|
20572
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20573
20375
|
:type AutoUpdate: str
|
20574
20376
|
:param _UpdateStartTime: 升级开始时间,建议业务低峰期升级LogListener
|
20575
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20576
20377
|
:type UpdateStartTime: str
|
20577
20378
|
:param _UpdateEndTime: 升级结束时间,建议业务低峰期升级LogListener
|
20578
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20579
20379
|
:type UpdateEndTime: str
|
20580
20380
|
:param _ServiceLogging: 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费
|
20581
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20582
20381
|
:type ServiceLogging: bool
|
20583
20382
|
:param _DelayCleanupTime: 机器组中机器离线定期清理时间
|
20584
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20585
20383
|
:type DelayCleanupTime: int
|
20586
20384
|
:param _MetaTags: 机器组元数据信息列表
|
20587
20385
|
:type MetaTags: list of MetaTagInfo
|
@@ -20648,7 +20446,6 @@ class MachineGroupInfo(AbstractModel):
|
|
20648
20446
|
@property
|
20649
20447
|
def Tags(self):
|
20650
20448
|
"""机器组绑定的标签列表
|
20651
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20652
20449
|
:rtype: list of Tag
|
20653
20450
|
"""
|
20654
20451
|
return self._Tags
|
@@ -20660,7 +20457,6 @@ class MachineGroupInfo(AbstractModel):
|
|
20660
20457
|
@property
|
20661
20458
|
def AutoUpdate(self):
|
20662
20459
|
"""是否开启机器组自动更新
|
20663
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20664
20460
|
:rtype: str
|
20665
20461
|
"""
|
20666
20462
|
return self._AutoUpdate
|
@@ -20672,7 +20468,6 @@ class MachineGroupInfo(AbstractModel):
|
|
20672
20468
|
@property
|
20673
20469
|
def UpdateStartTime(self):
|
20674
20470
|
"""升级开始时间,建议业务低峰期升级LogListener
|
20675
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20676
20471
|
:rtype: str
|
20677
20472
|
"""
|
20678
20473
|
return self._UpdateStartTime
|
@@ -20684,7 +20479,6 @@ class MachineGroupInfo(AbstractModel):
|
|
20684
20479
|
@property
|
20685
20480
|
def UpdateEndTime(self):
|
20686
20481
|
"""升级结束时间,建议业务低峰期升级LogListener
|
20687
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20688
20482
|
:rtype: str
|
20689
20483
|
"""
|
20690
20484
|
return self._UpdateEndTime
|
@@ -20696,7 +20490,6 @@ class MachineGroupInfo(AbstractModel):
|
|
20696
20490
|
@property
|
20697
20491
|
def ServiceLogging(self):
|
20698
20492
|
"""是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费
|
20699
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20700
20493
|
:rtype: bool
|
20701
20494
|
"""
|
20702
20495
|
return self._ServiceLogging
|
@@ -20708,7 +20501,6 @@ class MachineGroupInfo(AbstractModel):
|
|
20708
20501
|
@property
|
20709
20502
|
def DelayCleanupTime(self):
|
20710
20503
|
"""机器组中机器离线定期清理时间
|
20711
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20712
20504
|
:rtype: int
|
20713
20505
|
"""
|
20714
20506
|
return self._DelayCleanupTime
|
@@ -20840,7 +20632,6 @@ class MachineInfo(AbstractModel):
|
|
20840
20632
|
:param _Ip: 机器的IP
|
20841
20633
|
:type Ip: str
|
20842
20634
|
:param _InstanceID: 机器实例ID
|
20843
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20844
20635
|
:type InstanceID: str
|
20845
20636
|
:param _Status: 机器状态,0:异常,1:正常
|
20846
20637
|
:type Status: int
|
@@ -20883,7 +20674,6 @@ class MachineInfo(AbstractModel):
|
|
20883
20674
|
@property
|
20884
20675
|
def InstanceID(self):
|
20885
20676
|
"""机器实例ID
|
20886
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20887
20677
|
:rtype: str
|
20888
20678
|
"""
|
20889
20679
|
return self._InstanceID
|
@@ -21158,10 +20948,8 @@ class MetricLabel(AbstractModel):
|
|
21158
20948
|
def __init__(self):
|
21159
20949
|
r"""
|
21160
20950
|
:param _Key: 指标名称
|
21161
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
21162
20951
|
:type Key: str
|
21163
20952
|
:param _Value: 指标内容
|
21164
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
21165
20953
|
:type Value: str
|
21166
20954
|
"""
|
21167
20955
|
self._Key = None
|
@@ -21170,7 +20958,6 @@ class MetricLabel(AbstractModel):
|
|
21170
20958
|
@property
|
21171
20959
|
def Key(self):
|
21172
20960
|
"""指标名称
|
21173
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
21174
20961
|
:rtype: str
|
21175
20962
|
"""
|
21176
20963
|
return self._Key
|
@@ -21182,7 +20969,6 @@ class MetricLabel(AbstractModel):
|
|
21182
20969
|
@property
|
21183
20970
|
def Value(self):
|
21184
20971
|
"""指标内容
|
21185
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
21186
20972
|
:rtype: str
|
21187
20973
|
"""
|
21188
20974
|
return self._Value
|
@@ -22056,8 +21842,8 @@ class ModifyAlarmShieldResponse(AbstractModel):
|
|
22056
21842
|
self._RequestId = params.get("RequestId")
|
22057
21843
|
|
22058
21844
|
|
22059
|
-
class
|
22060
|
-
"""
|
21845
|
+
class ModifyCloudProductLogCollectionRequest(AbstractModel):
|
21846
|
+
"""ModifyCloudProductLogCollection请求参数结构体
|
22061
21847
|
|
22062
21848
|
"""
|
22063
21849
|
|
@@ -22176,8 +21962,8 @@ class ModifyCloudProductLogTaskRequest(AbstractModel):
|
|
22176
21962
|
|
22177
21963
|
|
22178
21964
|
|
22179
|
-
class
|
22180
|
-
"""
|
21965
|
+
class ModifyCloudProductLogCollectionResponse(AbstractModel):
|
21966
|
+
"""ModifyCloudProductLogCollection返回参数结构体
|
22181
21967
|
|
22182
21968
|
"""
|
22183
21969
|
|
@@ -25338,7 +25124,6 @@ class MonitorTime(AbstractModel):
|
|
25338
25124
|
:type Time: int
|
25339
25125
|
:param _CronExpression: 执行的周期cron表达式。示例:`"*/1 * * * *"` 从左到右每个field的含义 Minutes field, Hours field,Day of month field,Month field,Day of week field, 不支持秒级别。
|
25340
25126
|
当type为`Cron`时,CronExpression字段生效。
|
25341
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25342
25127
|
:type CronExpression: str
|
25343
25128
|
"""
|
25344
25129
|
self._Type = None
|
@@ -25376,7 +25161,6 @@ class MonitorTime(AbstractModel):
|
|
25376
25161
|
def CronExpression(self):
|
25377
25162
|
"""执行的周期cron表达式。示例:`"*/1 * * * *"` 从左到右每个field的含义 Minutes field, Hours field,Day of month field,Month field,Day of week field, 不支持秒级别。
|
25378
25163
|
当type为`Cron`时,CronExpression字段生效。
|
25379
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25380
25164
|
:rtype: str
|
25381
25165
|
"""
|
25382
25166
|
return self._CronExpression
|
@@ -25408,12 +25192,10 @@ class MultiCondition(AbstractModel):
|
|
25408
25192
|
def __init__(self):
|
25409
25193
|
r"""
|
25410
25194
|
:param _Condition: 触发条件。
|
25411
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25412
25195
|
:type Condition: str
|
25413
25196
|
:param _AlarmLevel: 告警级别。0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。
|
25414
25197
|
|
25415
25198
|
- 不填则默认为0。
|
25416
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25417
25199
|
:type AlarmLevel: int
|
25418
25200
|
"""
|
25419
25201
|
self._Condition = None
|
@@ -25422,7 +25204,6 @@ class MultiCondition(AbstractModel):
|
|
25422
25204
|
@property
|
25423
25205
|
def Condition(self):
|
25424
25206
|
"""触发条件。
|
25425
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25426
25207
|
:rtype: str
|
25427
25208
|
"""
|
25428
25209
|
return self._Condition
|
@@ -25436,7 +25217,6 @@ class MultiCondition(AbstractModel):
|
|
25436
25217
|
"""告警级别。0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。
|
25437
25218
|
|
25438
25219
|
- 不填则默认为0。
|
25439
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25440
25220
|
:rtype: int
|
25441
25221
|
"""
|
25442
25222
|
return self._AlarmLevel
|
@@ -25522,10 +25302,8 @@ class NoticeContent(AbstractModel):
|
|
25522
25302
|
Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
25523
25303
|
:type Type: str
|
25524
25304
|
:param _TriggerContent: 告警触发通知内容模板。
|
25525
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25526
25305
|
:type TriggerContent: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
|
25527
25306
|
:param _RecoveryContent: 告警恢复通知内容模板。
|
25528
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25529
25307
|
:type RecoveryContent: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
|
25530
25308
|
"""
|
25531
25309
|
self._Type = None
|
@@ -25548,7 +25326,6 @@ Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:
|
|
25548
25326
|
@property
|
25549
25327
|
def TriggerContent(self):
|
25550
25328
|
"""告警触发通知内容模板。
|
25551
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25552
25329
|
:rtype: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
|
25553
25330
|
"""
|
25554
25331
|
return self._TriggerContent
|
@@ -25560,7 +25337,6 @@ Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:
|
|
25560
25337
|
@property
|
25561
25338
|
def RecoveryContent(self):
|
25562
25339
|
"""告警恢复通知内容模板。
|
25563
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25564
25340
|
:rtype: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
|
25565
25341
|
"""
|
25566
25342
|
return self._RecoveryContent
|
@@ -25597,14 +25373,11 @@ class NoticeContentInfo(AbstractModel):
|
|
25597
25373
|
r"""
|
25598
25374
|
:param _Title: 通知内容模板标题信息。
|
25599
25375
|
部分通知渠道类型不支持“标题”,请参照腾讯云控制台页面。
|
25600
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25601
25376
|
:type Title: str
|
25602
25377
|
:param _Content: 通知内容模板正文信息。
|
25603
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25604
25378
|
:type Content: str
|
25605
25379
|
:param _Headers: 请求头(Request Headers):在HTTP请求中,请求头包含了客户端向服务器发送的附加信息,如用户代理、授权凭证、期望的响应格式等。
|
25606
25380
|
仅“自定义回调”支持该配置。
|
25607
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25608
25381
|
:type Headers: list of str
|
25609
25382
|
"""
|
25610
25383
|
self._Title = None
|
@@ -25615,7 +25388,6 @@ class NoticeContentInfo(AbstractModel):
|
|
25615
25388
|
def Title(self):
|
25616
25389
|
"""通知内容模板标题信息。
|
25617
25390
|
部分通知渠道类型不支持“标题”,请参照腾讯云控制台页面。
|
25618
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25619
25391
|
:rtype: str
|
25620
25392
|
"""
|
25621
25393
|
return self._Title
|
@@ -25627,7 +25399,6 @@ class NoticeContentInfo(AbstractModel):
|
|
25627
25399
|
@property
|
25628
25400
|
def Content(self):
|
25629
25401
|
"""通知内容模板正文信息。
|
25630
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25631
25402
|
:rtype: str
|
25632
25403
|
"""
|
25633
25404
|
return self._Content
|
@@ -25640,7 +25411,6 @@ class NoticeContentInfo(AbstractModel):
|
|
25640
25411
|
def Headers(self):
|
25641
25412
|
"""请求头(Request Headers):在HTTP请求中,请求头包含了客户端向服务器发送的附加信息,如用户代理、授权凭证、期望的响应格式等。
|
25642
25413
|
仅“自定义回调”支持该配置。
|
25643
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25644
25414
|
:rtype: list of str
|
25645
25415
|
"""
|
25646
25416
|
return self._Headers
|
@@ -25672,37 +25442,28 @@ class NoticeContentTemplate(AbstractModel):
|
|
25672
25442
|
def __init__(self):
|
25673
25443
|
r"""
|
25674
25444
|
:param _NoticeContentId: 通知内容模板ID。
|
25675
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25676
25445
|
:type NoticeContentId: str
|
25677
25446
|
:param _Name: 通知内容模板名称
|
25678
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25679
25447
|
:type Name: str
|
25680
25448
|
:param _Type: 语言类型。
|
25681
25449
|
|
25682
25450
|
0: 中文
|
25683
25451
|
1: 英文
|
25684
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25685
25452
|
:type Type: int
|
25686
25453
|
:param _NoticeContents: 通知内容模板信息。
|
25687
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25688
25454
|
:type NoticeContents: list of NoticeContent
|
25689
25455
|
:param _Flag: 通知内容模板标记。
|
25690
25456
|
|
25691
25457
|
0: 用户自定义
|
25692
25458
|
1: 系统内置
|
25693
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25694
25459
|
:type Flag: int
|
25695
25460
|
:param _Uin: 创建者主账号。
|
25696
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25697
25461
|
:type Uin: int
|
25698
25462
|
:param _SubUin: 创建/修改者子账号。
|
25699
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25700
25463
|
:type SubUin: int
|
25701
25464
|
:param _CreateTime: 创建时间 秒级时间戳。
|
25702
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25703
25465
|
:type CreateTime: int
|
25704
25466
|
:param _UpdateTime: 更新时间 秒级时间戳。
|
25705
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25706
25467
|
:type UpdateTime: int
|
25707
25468
|
"""
|
25708
25469
|
self._NoticeContentId = None
|
@@ -25718,7 +25479,6 @@ class NoticeContentTemplate(AbstractModel):
|
|
25718
25479
|
@property
|
25719
25480
|
def NoticeContentId(self):
|
25720
25481
|
"""通知内容模板ID。
|
25721
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25722
25482
|
:rtype: str
|
25723
25483
|
"""
|
25724
25484
|
return self._NoticeContentId
|
@@ -25730,7 +25490,6 @@ class NoticeContentTemplate(AbstractModel):
|
|
25730
25490
|
@property
|
25731
25491
|
def Name(self):
|
25732
25492
|
"""通知内容模板名称
|
25733
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25734
25493
|
:rtype: str
|
25735
25494
|
"""
|
25736
25495
|
return self._Name
|
@@ -25745,7 +25504,6 @@ class NoticeContentTemplate(AbstractModel):
|
|
25745
25504
|
|
25746
25505
|
0: 中文
|
25747
25506
|
1: 英文
|
25748
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25749
25507
|
:rtype: int
|
25750
25508
|
"""
|
25751
25509
|
return self._Type
|
@@ -25757,7 +25515,6 @@ class NoticeContentTemplate(AbstractModel):
|
|
25757
25515
|
@property
|
25758
25516
|
def NoticeContents(self):
|
25759
25517
|
"""通知内容模板信息。
|
25760
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25761
25518
|
:rtype: list of NoticeContent
|
25762
25519
|
"""
|
25763
25520
|
return self._NoticeContents
|
@@ -25772,7 +25529,6 @@ class NoticeContentTemplate(AbstractModel):
|
|
25772
25529
|
|
25773
25530
|
0: 用户自定义
|
25774
25531
|
1: 系统内置
|
25775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25776
25532
|
:rtype: int
|
25777
25533
|
"""
|
25778
25534
|
return self._Flag
|
@@ -25784,7 +25540,6 @@ class NoticeContentTemplate(AbstractModel):
|
|
25784
25540
|
@property
|
25785
25541
|
def Uin(self):
|
25786
25542
|
"""创建者主账号。
|
25787
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25788
25543
|
:rtype: int
|
25789
25544
|
"""
|
25790
25545
|
return self._Uin
|
@@ -25796,7 +25551,6 @@ class NoticeContentTemplate(AbstractModel):
|
|
25796
25551
|
@property
|
25797
25552
|
def SubUin(self):
|
25798
25553
|
"""创建/修改者子账号。
|
25799
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25800
25554
|
:rtype: int
|
25801
25555
|
"""
|
25802
25556
|
return self._SubUin
|
@@ -25808,7 +25562,6 @@ class NoticeContentTemplate(AbstractModel):
|
|
25808
25562
|
@property
|
25809
25563
|
def CreateTime(self):
|
25810
25564
|
"""创建时间 秒级时间戳。
|
25811
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25812
25565
|
:rtype: int
|
25813
25566
|
"""
|
25814
25567
|
return self._CreateTime
|
@@ -25820,7 +25573,6 @@ class NoticeContentTemplate(AbstractModel):
|
|
25820
25573
|
@property
|
25821
25574
|
def UpdateTime(self):
|
25822
25575
|
"""更新时间 秒级时间戳。
|
25823
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25824
25576
|
:rtype: int
|
25825
25577
|
"""
|
25826
25578
|
return self._UpdateTime
|
@@ -25878,7 +25630,6 @@ class NoticeReceiver(AbstractModel):
|
|
25878
25630
|
- Phone - 电话
|
25879
25631
|
:type ReceiverChannels: list of str
|
25880
25632
|
:param _NoticeContentId: 通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。
|
25881
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25882
25633
|
:type NoticeContentId: str
|
25883
25634
|
:param _StartTime: 允许接收信息的开始时间。格式:`15:04:05`。必填
|
25884
25635
|
:type StartTime: str
|
@@ -25943,7 +25694,6 @@ class NoticeReceiver(AbstractModel):
|
|
25943
25694
|
@property
|
25944
25695
|
def NoticeContentId(self):
|
25945
25696
|
"""通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。
|
25946
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25947
25697
|
:rtype: str
|
25948
25698
|
"""
|
25949
25699
|
return self._NoticeContentId
|
@@ -26072,28 +25822,21 @@ class NoticeRule(AbstractModel):
|
|
26072
25822
|
- 下一个子节点value支持的值:整型值单位分钟
|
26073
25823
|
以下示例表示:告警持续时间大于1分钟或告警持续时间大于等于2分钟或告警持续时间小于3分钟或告警持续时间小于等于4分钟
|
26074
25824
|
`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">\",\"Type\":\"Compare\"},{\"Value\":1,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">=\",\"Type\":\"Compare\"},{\"Value\":2,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<\",\"Type\":\"Compare\"},{\"Value\":3,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<=\",\"Type\":\"Compare\"},{\"Value\":4,\"Type\":\"Value\"}]}]}]}`
|
26075
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26076
25825
|
:type Rule: str
|
26077
25826
|
:param _NoticeReceivers: 告警通知接收者信息。
|
26078
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26079
25827
|
:type NoticeReceivers: list of NoticeReceiver
|
26080
25828
|
:param _WebCallbacks: 告警通知模板回调信息,包括企业微信、钉钉、飞书。
|
26081
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26082
25829
|
:type WebCallbacks: list of WebCallback
|
26083
25830
|
:param _Escalate: 告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false
|
26084
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26085
25831
|
:type Escalate: bool
|
26086
25832
|
:param _Type: 告警升级条件。`1`:无人认领且未恢复、`2`:未恢复,默认为1
|
26087
25833
|
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
|
26088
25834
|
- 未恢复:当前告警持续未恢复则升级
|
26089
25835
|
|
26090
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26091
25836
|
:type Type: int
|
26092
25837
|
:param _Interval: 告警升级间隔。单位:分钟,范围`[1,14400]`
|
26093
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26094
25838
|
:type Interval: int
|
26095
25839
|
:param _EscalateNotice: 告警升级后下一个环节的通知渠道配置
|
26096
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26097
25840
|
:type EscalateNotice: :class:`tencentcloud.cls.v20201016.models.EscalateNoticeInfo`
|
26098
25841
|
"""
|
26099
25842
|
self._Rule = None
|
@@ -26164,7 +25907,6 @@ class NoticeRule(AbstractModel):
|
|
26164
25907
|
- 下一个子节点value支持的值:整型值单位分钟
|
26165
25908
|
以下示例表示:告警持续时间大于1分钟或告警持续时间大于等于2分钟或告警持续时间小于3分钟或告警持续时间小于等于4分钟
|
26166
25909
|
`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">\",\"Type\":\"Compare\"},{\"Value\":1,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">=\",\"Type\":\"Compare\"},{\"Value\":2,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<\",\"Type\":\"Compare\"},{\"Value\":3,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<=\",\"Type\":\"Compare\"},{\"Value\":4,\"Type\":\"Value\"}]}]}]}`
|
26167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26168
25910
|
:rtype: str
|
26169
25911
|
"""
|
26170
25912
|
return self._Rule
|
@@ -26176,7 +25918,6 @@ class NoticeRule(AbstractModel):
|
|
26176
25918
|
@property
|
26177
25919
|
def NoticeReceivers(self):
|
26178
25920
|
"""告警通知接收者信息。
|
26179
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26180
25921
|
:rtype: list of NoticeReceiver
|
26181
25922
|
"""
|
26182
25923
|
return self._NoticeReceivers
|
@@ -26188,7 +25929,6 @@ class NoticeRule(AbstractModel):
|
|
26188
25929
|
@property
|
26189
25930
|
def WebCallbacks(self):
|
26190
25931
|
"""告警通知模板回调信息,包括企业微信、钉钉、飞书。
|
26191
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26192
25932
|
:rtype: list of WebCallback
|
26193
25933
|
"""
|
26194
25934
|
return self._WebCallbacks
|
@@ -26200,7 +25940,6 @@ class NoticeRule(AbstractModel):
|
|
26200
25940
|
@property
|
26201
25941
|
def Escalate(self):
|
26202
25942
|
"""告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false
|
26203
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26204
25943
|
:rtype: bool
|
26205
25944
|
"""
|
26206
25945
|
return self._Escalate
|
@@ -26215,7 +25954,6 @@ class NoticeRule(AbstractModel):
|
|
26215
25954
|
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
|
26216
25955
|
- 未恢复:当前告警持续未恢复则升级
|
26217
25956
|
|
26218
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26219
25957
|
:rtype: int
|
26220
25958
|
"""
|
26221
25959
|
return self._Type
|
@@ -26227,7 +25965,6 @@ class NoticeRule(AbstractModel):
|
|
26227
25965
|
@property
|
26228
25966
|
def Interval(self):
|
26229
25967
|
"""告警升级间隔。单位:分钟,范围`[1,14400]`
|
26230
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26231
25968
|
:rtype: int
|
26232
25969
|
"""
|
26233
25970
|
return self._Interval
|
@@ -26239,7 +25976,6 @@ class NoticeRule(AbstractModel):
|
|
26239
25976
|
@property
|
26240
25977
|
def EscalateNotice(self):
|
26241
25978
|
"""告警升级后下一个环节的通知渠道配置
|
26242
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26243
25979
|
:rtype: :class:`tencentcloud.cls.v20201016.models.EscalateNoticeInfo`
|
26244
25980
|
"""
|
26245
25981
|
return self._EscalateNotice
|
@@ -26443,7 +26179,6 @@ class ParquetKeyInfo(AbstractModel):
|
|
26443
26179
|
:param _KeyType: 数据类型,目前支持6种类型:string、boolean、int32、int64、float、double
|
26444
26180
|
:type KeyType: str
|
26445
26181
|
:param _KeyNonExistingField: 解析失败赋值信息
|
26446
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26447
26182
|
:type KeyNonExistingField: str
|
26448
26183
|
"""
|
26449
26184
|
self._KeyName = None
|
@@ -26475,7 +26210,6 @@ class ParquetKeyInfo(AbstractModel):
|
|
26475
26210
|
@property
|
26476
26211
|
def KeyNonExistingField(self):
|
26477
26212
|
"""解析失败赋值信息
|
26478
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26479
26213
|
:rtype: str
|
26480
26214
|
"""
|
26481
26215
|
return self._KeyNonExistingField
|
@@ -26805,7 +26539,6 @@ class PreviewKafkaRechargeResponse(AbstractModel):
|
|
26805
26539
|
:param _LogSample: 日志样例,PreviewType为2时返回
|
26806
26540
|
:type LogSample: str
|
26807
26541
|
:param _LogData: 日志预览结果
|
26808
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26809
26542
|
:type LogData: str
|
26810
26543
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26811
26544
|
:type RequestId: str
|
@@ -26828,7 +26561,6 @@ class PreviewKafkaRechargeResponse(AbstractModel):
|
|
26828
26561
|
@property
|
26829
26562
|
def LogData(self):
|
26830
26563
|
"""日志预览结果
|
26831
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26832
26564
|
:rtype: str
|
26833
26565
|
"""
|
26834
26566
|
return self._LogData
|
@@ -27742,10 +27474,8 @@ class ScheduledSqlTaskInfo(AbstractModel):
|
|
27742
27474
|
:param _SrcTopicRegion: 源topicId的地域信息
|
27743
27475
|
:type SrcTopicRegion: str
|
27744
27476
|
:param _SyntaxRule: 语法规则,0:Lucene语法,1:CQL语法
|
27745
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27746
27477
|
:type SyntaxRule: int
|
27747
27478
|
:param _HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。
|
27748
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27749
27479
|
:type HasServicesLog: int
|
27750
27480
|
"""
|
27751
27481
|
self._TaskId = None
|
@@ -27960,7 +27690,6 @@ class ScheduledSqlTaskInfo(AbstractModel):
|
|
27960
27690
|
@property
|
27961
27691
|
def SyntaxRule(self):
|
27962
27692
|
"""语法规则,0:Lucene语法,1:CQL语法
|
27963
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27964
27693
|
:rtype: int
|
27965
27694
|
"""
|
27966
27695
|
return self._SyntaxRule
|
@@ -27972,7 +27701,6 @@ class ScheduledSqlTaskInfo(AbstractModel):
|
|
27972
27701
|
@property
|
27973
27702
|
def HasServicesLog(self):
|
27974
27703
|
"""是否开启投递服务日志。1:关闭,2:开启。
|
27975
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27976
27704
|
:rtype: int
|
27977
27705
|
"""
|
27978
27706
|
return self._HasServicesLog
|
@@ -28148,15 +27876,12 @@ class SearchCosRechargeInfoResponse(AbstractModel):
|
|
28148
27876
|
def __init__(self):
|
28149
27877
|
r"""
|
28150
27878
|
:param _Data: 匹配到的存储桶下的某个文件的前几行数据
|
28151
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28152
27879
|
:type Data: list of str
|
28153
27880
|
:param _Sum: 匹配到的存储桶下的文件个数
|
28154
27881
|
:type Sum: int
|
28155
27882
|
:param _Path: 当前预览文件路径
|
28156
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28157
27883
|
:type Path: str
|
28158
27884
|
:param _Msg: 预览获取数据失败原因
|
28159
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28160
27885
|
:type Msg: str
|
28161
27886
|
:param _Status: 状态
|
28162
27887
|
:type Status: int
|
@@ -28173,7 +27898,6 @@ class SearchCosRechargeInfoResponse(AbstractModel):
|
|
28173
27898
|
@property
|
28174
27899
|
def Data(self):
|
28175
27900
|
"""匹配到的存储桶下的某个文件的前几行数据
|
28176
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28177
27901
|
:rtype: list of str
|
28178
27902
|
"""
|
28179
27903
|
return self._Data
|
@@ -28196,7 +27920,6 @@ class SearchCosRechargeInfoResponse(AbstractModel):
|
|
28196
27920
|
@property
|
28197
27921
|
def Path(self):
|
28198
27922
|
"""当前预览文件路径
|
28199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28200
27923
|
:rtype: str
|
28201
27924
|
"""
|
28202
27925
|
return self._Path
|
@@ -28208,7 +27931,6 @@ class SearchCosRechargeInfoResponse(AbstractModel):
|
|
28208
27931
|
@property
|
28209
27932
|
def Msg(self):
|
28210
27933
|
"""预览获取数据失败原因
|
28211
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28212
27934
|
:rtype: str
|
28213
27935
|
"""
|
28214
27936
|
return self._Msg
|
@@ -28368,13 +28090,10 @@ class SearchLogErrors(AbstractModel):
|
|
28368
28090
|
def __init__(self):
|
28369
28091
|
r"""
|
28370
28092
|
:param _TopicId: 日志主题ID
|
28371
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28372
28093
|
:type TopicId: str
|
28373
28094
|
:param _ErrorMsg: 错误信息
|
28374
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28375
28095
|
:type ErrorMsg: str
|
28376
28096
|
:param _ErrorCodeStr: 错误码
|
28377
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28378
28097
|
:type ErrorCodeStr: str
|
28379
28098
|
"""
|
28380
28099
|
self._TopicId = None
|
@@ -28384,7 +28103,6 @@ class SearchLogErrors(AbstractModel):
|
|
28384
28103
|
@property
|
28385
28104
|
def TopicId(self):
|
28386
28105
|
"""日志主题ID
|
28387
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28388
28106
|
:rtype: str
|
28389
28107
|
"""
|
28390
28108
|
return self._TopicId
|
@@ -28396,7 +28114,6 @@ class SearchLogErrors(AbstractModel):
|
|
28396
28114
|
@property
|
28397
28115
|
def ErrorMsg(self):
|
28398
28116
|
"""错误信息
|
28399
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28400
28117
|
:rtype: str
|
28401
28118
|
"""
|
28402
28119
|
return self._ErrorMsg
|
@@ -28408,7 +28125,6 @@ class SearchLogErrors(AbstractModel):
|
|
28408
28125
|
@property
|
28409
28126
|
def ErrorCodeStr(self):
|
28410
28127
|
"""错误码
|
28411
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28412
28128
|
:rtype: str
|
28413
28129
|
"""
|
28414
28130
|
return self._ErrorCodeStr
|
@@ -28444,7 +28160,6 @@ class SearchLogInfos(AbstractModel):
|
|
28444
28160
|
:param _Period: 日志存储生命周期
|
28445
28161
|
:type Period: int
|
28446
28162
|
:param _Context: 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
|
28447
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28448
28163
|
:type Context: str
|
28449
28164
|
"""
|
28450
28165
|
self._TopicId = None
|
@@ -28476,7 +28191,6 @@ class SearchLogInfos(AbstractModel):
|
|
28476
28191
|
@property
|
28477
28192
|
def Context(self):
|
28478
28193
|
"""透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
|
28479
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28480
28194
|
:rtype: str
|
28481
28195
|
"""
|
28482
28196
|
return self._Context
|
@@ -28507,20 +28221,21 @@ class SearchLogRequest(AbstractModel):
|
|
28507
28221
|
|
28508
28222
|
def __init__(self):
|
28509
28223
|
r"""
|
28510
|
-
:param _From:
|
28224
|
+
:param _From: 要检索分析的日志的起始时间,**Unix时间戳(毫秒)**
|
28511
28225
|
:type From: int
|
28512
|
-
:param _To:
|
28226
|
+
:param _To: 要检索分析的日志的结束时间,**Unix时间戳(毫秒)**
|
28513
28227
|
:type To: int
|
28514
28228
|
:param _Query: 检索分析语句,最大长度为12KB
|
28515
28229
|
语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句
|
28516
28230
|
使用*或空字符串可查询所有日志
|
28517
28231
|
:type Query: str
|
28518
28232
|
:param _SyntaxRule: 检索语法规则,默认值为0,推荐使用1 。
|
28519
|
-
|
28520
28233
|
- 0:Lucene语法
|
28521
|
-
- 1:CQL
|
28234
|
+
- 1:CQL语法(CLS Query Language,日志服务专用检索语法)
|
28522
28235
|
|
28523
|
-
|
28236
|
+
⚠️⚠️ **注意**
|
28237
|
+
**该参数值建议设置为 1,使用 CQL 语法规则,控制台日志检索及仪表盘默认均使用该语法规则。**
|
28238
|
+
该参数值未指定或者为 0 时,将使用 Lucene 语法,语法容易报错且查询结果与控制台默认语法规则不一致。详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>。
|
28524
28239
|
:type SyntaxRule: int
|
28525
28240
|
:param _TopicId: - 要检索分析的日志主题ID,仅能指定一个日志主题。
|
28526
28241
|
- 如需同时检索多个日志主题,请使用Topics参数。
|
@@ -28566,6 +28281,8 @@ class SearchLogRequest(AbstractModel):
|
|
28566
28281
|
为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
|
28567
28282
|
两种返回方式在编码格式上有少量区别,建议使用true
|
28568
28283
|
:type UseNewAnalysis: bool
|
28284
|
+
:param _HighLight: 是否高亮符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
|
28285
|
+
:type HighLight: bool
|
28569
28286
|
"""
|
28570
28287
|
self._From = None
|
28571
28288
|
self._To = None
|
@@ -28579,10 +28296,11 @@ class SearchLogRequest(AbstractModel):
|
|
28579
28296
|
self._Context = None
|
28580
28297
|
self._SamplingRate = None
|
28581
28298
|
self._UseNewAnalysis = None
|
28299
|
+
self._HighLight = None
|
28582
28300
|
|
28583
28301
|
@property
|
28584
28302
|
def From(self):
|
28585
|
-
"""
|
28303
|
+
"""要检索分析的日志的起始时间,**Unix时间戳(毫秒)**
|
28586
28304
|
:rtype: int
|
28587
28305
|
"""
|
28588
28306
|
return self._From
|
@@ -28593,7 +28311,7 @@ class SearchLogRequest(AbstractModel):
|
|
28593
28311
|
|
28594
28312
|
@property
|
28595
28313
|
def To(self):
|
28596
|
-
"""
|
28314
|
+
"""要检索分析的日志的结束时间,**Unix时间戳(毫秒)**
|
28597
28315
|
:rtype: int
|
28598
28316
|
"""
|
28599
28317
|
return self._To
|
@@ -28618,11 +28336,12 @@ class SearchLogRequest(AbstractModel):
|
|
28618
28336
|
@property
|
28619
28337
|
def SyntaxRule(self):
|
28620
28338
|
"""检索语法规则,默认值为0,推荐使用1 。
|
28621
|
-
|
28622
28339
|
- 0:Lucene语法
|
28623
|
-
- 1:CQL
|
28340
|
+
- 1:CQL语法(CLS Query Language,日志服务专用检索语法)
|
28624
28341
|
|
28625
|
-
|
28342
|
+
⚠️⚠️ **注意**
|
28343
|
+
**该参数值建议设置为 1,使用 CQL 语法规则,控制台日志检索及仪表盘默认均使用该语法规则。**
|
28344
|
+
该参数值未指定或者为 0 时,将使用 Lucene 语法,语法容易报错且查询结果与控制台默认语法规则不一致。详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>。
|
28626
28345
|
:rtype: int
|
28627
28346
|
"""
|
28628
28347
|
return self._SyntaxRule
|
@@ -28747,6 +28466,17 @@ class SearchLogRequest(AbstractModel):
|
|
28747
28466
|
def UseNewAnalysis(self, UseNewAnalysis):
|
28748
28467
|
self._UseNewAnalysis = UseNewAnalysis
|
28749
28468
|
|
28469
|
+
@property
|
28470
|
+
def HighLight(self):
|
28471
|
+
"""是否高亮符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
|
28472
|
+
:rtype: bool
|
28473
|
+
"""
|
28474
|
+
return self._HighLight
|
28475
|
+
|
28476
|
+
@HighLight.setter
|
28477
|
+
def HighLight(self, HighLight):
|
28478
|
+
self._HighLight = HighLight
|
28479
|
+
|
28750
28480
|
|
28751
28481
|
def _deserialize(self, params):
|
28752
28482
|
self._From = params.get("From")
|
@@ -28766,6 +28496,7 @@ class SearchLogRequest(AbstractModel):
|
|
28766
28496
|
self._Context = params.get("Context")
|
28767
28497
|
self._SamplingRate = params.get("SamplingRate")
|
28768
28498
|
self._UseNewAnalysis = params.get("UseNewAnalysis")
|
28499
|
+
self._HighLight = params.get("HighLight")
|
28769
28500
|
memeber_set = set(params.keys())
|
28770
28501
|
for name, value in vars(self).items():
|
28771
28502
|
property_name = name[1:]
|
@@ -28812,7 +28543,6 @@ class SearchLogResponse(AbstractModel):
|
|
28812
28543
|
注意:此字段可能返回 null,表示取不到有效值。
|
28813
28544
|
:type Columns: list of Column
|
28814
28545
|
:param _SamplingRate: 本次统计分析使用的采样率
|
28815
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28816
28546
|
:type SamplingRate: float
|
28817
28547
|
:param _Topics: 使用多日志主题检索时,各个日志主题的基本信息,例如报错信息。
|
28818
28548
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -28935,7 +28665,6 @@ class SearchLogResponse(AbstractModel):
|
|
28935
28665
|
@property
|
28936
28666
|
def SamplingRate(self):
|
28937
28667
|
"""本次统计分析使用的采样率
|
28938
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28939
28668
|
:rtype: float
|
28940
28669
|
"""
|
28941
28670
|
return self._SamplingRate
|
@@ -29007,10 +28736,8 @@ class SearchLogTopics(AbstractModel):
|
|
29007
28736
|
def __init__(self):
|
29008
28737
|
r"""
|
29009
28738
|
:param _Errors: 多日志主题检索对应的错误信息
|
29010
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29011
28739
|
:type Errors: list of SearchLogErrors
|
29012
28740
|
:param _Infos: 多日志主题检索各日志主题信息
|
29013
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29014
28741
|
:type Infos: list of SearchLogInfos
|
29015
28742
|
"""
|
29016
28743
|
self._Errors = None
|
@@ -29019,7 +28746,6 @@ class SearchLogTopics(AbstractModel):
|
|
29019
28746
|
@property
|
29020
28747
|
def Errors(self):
|
29021
28748
|
"""多日志主题检索对应的错误信息
|
29022
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29023
28749
|
:rtype: list of SearchLogErrors
|
29024
28750
|
"""
|
29025
28751
|
return self._Errors
|
@@ -29031,7 +28757,6 @@ class SearchLogTopics(AbstractModel):
|
|
29031
28757
|
@property
|
29032
28758
|
def Infos(self):
|
29033
28759
|
"""多日志主题检索各日志主题信息
|
29034
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29035
28760
|
:rtype: list of SearchLogInfos
|
29036
28761
|
"""
|
29037
28762
|
return self._Infos
|
@@ -29088,32 +28813,24 @@ class ShipperInfo(AbstractModel):
|
|
29088
28813
|
:param _Status: 是否生效
|
29089
28814
|
:type Status: bool
|
29090
28815
|
:param _FilterRules: 投递日志的过滤规则
|
29091
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29092
28816
|
:type FilterRules: list of FilterRuleInfo
|
29093
28817
|
:param _Partition: 投递日志的分区规则,支持strftime的时间格式表示
|
29094
28818
|
:type Partition: str
|
29095
28819
|
:param _Compress: 投递日志的压缩配置
|
29096
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29097
28820
|
:type Compress: :class:`tencentcloud.cls.v20201016.models.CompressInfo`
|
29098
28821
|
:param _Content: 投递日志的内容格式配置
|
29099
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29100
28822
|
:type Content: :class:`tencentcloud.cls.v20201016.models.ContentInfo`
|
29101
28823
|
:param _CreateTime: 投递日志的创建时间
|
29102
28824
|
:type CreateTime: str
|
29103
28825
|
:param _FilenameMode: 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名)
|
29104
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29105
28826
|
:type FilenameMode: int
|
29106
28827
|
:param _StartTime: 投递数据范围的开始时间点
|
29107
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29108
28828
|
:type StartTime: int
|
29109
28829
|
:param _EndTime: 投递数据范围的结束时间点
|
29110
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29111
28830
|
:type EndTime: int
|
29112
28831
|
:param _Progress: 历史数据投递的进度(仅当用户选择的数据内中历史数据时才有效)
|
29113
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29114
28832
|
:type Progress: float
|
29115
28833
|
:param _RemainTime: 历史数据全部投递完成剩余的时间(仅当用户选择的数据中有历史数据时才有效)
|
29116
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29117
28834
|
:type RemainTime: int
|
29118
28835
|
:param _HistoryStatus: 历史任务状态:
|
29119
28836
|
0:实时任务
|
@@ -29121,10 +28838,8 @@ class ShipperInfo(AbstractModel):
|
|
29121
28838
|
2:任务运行中
|
29122
28839
|
3:任务运行异常
|
29123
28840
|
4:任务运行结束
|
29124
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29125
28841
|
:type HistoryStatus: int
|
29126
28842
|
:param _StorageType: cos桶类型
|
29127
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29128
28843
|
:type StorageType: str
|
29129
28844
|
"""
|
29130
28845
|
self._ShipperId = None
|
@@ -29239,7 +28954,6 @@ class ShipperInfo(AbstractModel):
|
|
29239
28954
|
@property
|
29240
28955
|
def FilterRules(self):
|
29241
28956
|
"""投递日志的过滤规则
|
29242
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29243
28957
|
:rtype: list of FilterRuleInfo
|
29244
28958
|
"""
|
29245
28959
|
return self._FilterRules
|
@@ -29262,7 +28976,6 @@ class ShipperInfo(AbstractModel):
|
|
29262
28976
|
@property
|
29263
28977
|
def Compress(self):
|
29264
28978
|
"""投递日志的压缩配置
|
29265
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29266
28979
|
:rtype: :class:`tencentcloud.cls.v20201016.models.CompressInfo`
|
29267
28980
|
"""
|
29268
28981
|
return self._Compress
|
@@ -29274,7 +28987,6 @@ class ShipperInfo(AbstractModel):
|
|
29274
28987
|
@property
|
29275
28988
|
def Content(self):
|
29276
28989
|
"""投递日志的内容格式配置
|
29277
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29278
28990
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ContentInfo`
|
29279
28991
|
"""
|
29280
28992
|
return self._Content
|
@@ -29297,7 +29009,6 @@ class ShipperInfo(AbstractModel):
|
|
29297
29009
|
@property
|
29298
29010
|
def FilenameMode(self):
|
29299
29011
|
"""投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名)
|
29300
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29301
29012
|
:rtype: int
|
29302
29013
|
"""
|
29303
29014
|
return self._FilenameMode
|
@@ -29309,7 +29020,6 @@ class ShipperInfo(AbstractModel):
|
|
29309
29020
|
@property
|
29310
29021
|
def StartTime(self):
|
29311
29022
|
"""投递数据范围的开始时间点
|
29312
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29313
29023
|
:rtype: int
|
29314
29024
|
"""
|
29315
29025
|
return self._StartTime
|
@@ -29321,7 +29031,6 @@ class ShipperInfo(AbstractModel):
|
|
29321
29031
|
@property
|
29322
29032
|
def EndTime(self):
|
29323
29033
|
"""投递数据范围的结束时间点
|
29324
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29325
29034
|
:rtype: int
|
29326
29035
|
"""
|
29327
29036
|
return self._EndTime
|
@@ -29333,7 +29042,6 @@ class ShipperInfo(AbstractModel):
|
|
29333
29042
|
@property
|
29334
29043
|
def Progress(self):
|
29335
29044
|
"""历史数据投递的进度(仅当用户选择的数据内中历史数据时才有效)
|
29336
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29337
29045
|
:rtype: float
|
29338
29046
|
"""
|
29339
29047
|
return self._Progress
|
@@ -29345,7 +29053,6 @@ class ShipperInfo(AbstractModel):
|
|
29345
29053
|
@property
|
29346
29054
|
def RemainTime(self):
|
29347
29055
|
"""历史数据全部投递完成剩余的时间(仅当用户选择的数据中有历史数据时才有效)
|
29348
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29349
29056
|
:rtype: int
|
29350
29057
|
"""
|
29351
29058
|
return self._RemainTime
|
@@ -29362,7 +29069,6 @@ class ShipperInfo(AbstractModel):
|
|
29362
29069
|
2:任务运行中
|
29363
29070
|
3:任务运行异常
|
29364
29071
|
4:任务运行结束
|
29365
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29366
29072
|
:rtype: int
|
29367
29073
|
"""
|
29368
29074
|
return self._HistoryStatus
|
@@ -29374,7 +29080,6 @@ class ShipperInfo(AbstractModel):
|
|
29374
29080
|
@property
|
29375
29081
|
def StorageType(self):
|
29376
29082
|
"""cos桶类型
|
29377
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29378
29083
|
:rtype: str
|
29379
29084
|
"""
|
29380
29085
|
return self._StorageType
|
@@ -29717,10 +29422,8 @@ class Tag(AbstractModel):
|
|
29717
29422
|
def __init__(self):
|
29718
29423
|
r"""
|
29719
29424
|
:param _Key: 标签键
|
29720
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29721
29425
|
:type Key: str
|
29722
29426
|
:param _Value: 标签值
|
29723
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29724
29427
|
:type Value: str
|
29725
29428
|
"""
|
29726
29429
|
self._Key = None
|
@@ -29729,7 +29432,6 @@ class Tag(AbstractModel):
|
|
29729
29432
|
@property
|
29730
29433
|
def Key(self):
|
29731
29434
|
"""标签键
|
29732
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29733
29435
|
:rtype: str
|
29734
29436
|
"""
|
29735
29437
|
return self._Key
|
@@ -29741,7 +29443,6 @@ class Tag(AbstractModel):
|
|
29741
29443
|
@property
|
29742
29444
|
def Value(self):
|
29743
29445
|
"""标签值
|
29744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29745
29446
|
:rtype: str
|
29746
29447
|
"""
|
29747
29448
|
return self._Value
|
@@ -29915,7 +29616,6 @@ class TopicInfo(AbstractModel):
|
|
29915
29616
|
:param _Index: 主题是否开启索引(主题类型需为日志主题)
|
29916
29617
|
:type Index: bool
|
29917
29618
|
:param _AssumerName: 云产品标识,主题由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
|
29918
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29919
29619
|
:type AssumerName: str
|
29920
29620
|
:param _CreateTime: 创建时间
|
29921
29621
|
:type CreateTime: str
|
@@ -29924,54 +29624,40 @@ class TopicInfo(AbstractModel):
|
|
29924
29624
|
控制台目前不支持修改此参数。
|
29925
29625
|
:type Status: bool
|
29926
29626
|
:param _Tags: 主题绑定的标签信息
|
29927
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29928
29627
|
:type Tags: list of Tag
|
29929
29628
|
:param _AutoSplit: 该主题是否开启自动分裂
|
29930
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29931
29629
|
:type AutoSplit: bool
|
29932
29630
|
:param _MaxSplitPartitions: 若开启自动分裂的话,该主题能够允许的最大分区数
|
29933
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29934
29631
|
:type MaxSplitPartitions: int
|
29935
29632
|
:param _StorageType: 主题的存储类型
|
29936
29633
|
|
29937
29634
|
- hot: 标准存储
|
29938
29635
|
- cold: 低频存储
|
29939
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29940
29636
|
:type StorageType: str
|
29941
29637
|
:param _Period: 生命周期,单位天,可取值范围1~3600。取值为3640时代表永久保存
|
29942
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29943
29638
|
:type Period: int
|
29944
29639
|
:param _SubAssumerName: 云产品二级标识,日志主题由其它云产品创建时,该字段会显示云产品名称及其日志类型的二级分类,例如TKE-Audit、TKE-Event。部分云产品仅有云产品标识(AssumerName),无该字段。
|
29945
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29946
29640
|
:type SubAssumerName: str
|
29947
29641
|
:param _Describes: 主题描述
|
29948
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29949
29642
|
:type Describes: str
|
29950
29643
|
:param _HotPeriod: 开启日志沉降,标准存储的生命周期, hotPeriod < Period。
|
29951
29644
|
标准存储为 hotPeriod, 低频存储则为 Period-hotPeriod。(主题类型需为日志主题)
|
29952
29645
|
HotPeriod=0为没有开启日志沉降。
|
29953
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29954
29646
|
:type HotPeriod: int
|
29955
29647
|
:param _BizType: 主题类型。
|
29956
29648
|
- 0: 日志主题
|
29957
29649
|
- 1: 指标主题
|
29958
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29959
29650
|
:type BizType: int
|
29960
29651
|
:param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
|
29961
29652
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
29962
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29963
29653
|
:type IsWebTracking: bool
|
29964
29654
|
:param _Extends: 日志主题扩展信息
|
29965
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29966
29655
|
:type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
29967
29656
|
:param _TopicAsyncTaskID: 异步迁移任务ID
|
29968
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29969
29657
|
:type TopicAsyncTaskID: str
|
29970
29658
|
:param _MigrationStatus: 异步迁移状态
|
29971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29972
29659
|
:type MigrationStatus: int
|
29973
29660
|
:param _EffectiveDate: 异步迁移完成后,预计生效日期
|
29974
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29975
29661
|
:type EffectiveDate: str
|
29976
29662
|
"""
|
29977
29663
|
self._LogsetId = None
|
@@ -30055,7 +29741,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30055
29741
|
@property
|
30056
29742
|
def AssumerName(self):
|
30057
29743
|
"""云产品标识,主题由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
|
30058
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30059
29744
|
:rtype: str
|
30060
29745
|
"""
|
30061
29746
|
return self._AssumerName
|
@@ -30091,7 +29776,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30091
29776
|
@property
|
30092
29777
|
def Tags(self):
|
30093
29778
|
"""主题绑定的标签信息
|
30094
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30095
29779
|
:rtype: list of Tag
|
30096
29780
|
"""
|
30097
29781
|
return self._Tags
|
@@ -30103,7 +29787,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30103
29787
|
@property
|
30104
29788
|
def AutoSplit(self):
|
30105
29789
|
"""该主题是否开启自动分裂
|
30106
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30107
29790
|
:rtype: bool
|
30108
29791
|
"""
|
30109
29792
|
return self._AutoSplit
|
@@ -30115,7 +29798,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30115
29798
|
@property
|
30116
29799
|
def MaxSplitPartitions(self):
|
30117
29800
|
"""若开启自动分裂的话,该主题能够允许的最大分区数
|
30118
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30119
29801
|
:rtype: int
|
30120
29802
|
"""
|
30121
29803
|
return self._MaxSplitPartitions
|
@@ -30130,7 +29812,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30130
29812
|
|
30131
29813
|
- hot: 标准存储
|
30132
29814
|
- cold: 低频存储
|
30133
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30134
29815
|
:rtype: str
|
30135
29816
|
"""
|
30136
29817
|
return self._StorageType
|
@@ -30142,7 +29823,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30142
29823
|
@property
|
30143
29824
|
def Period(self):
|
30144
29825
|
"""生命周期,单位天,可取值范围1~3600。取值为3640时代表永久保存
|
30145
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30146
29826
|
:rtype: int
|
30147
29827
|
"""
|
30148
29828
|
return self._Period
|
@@ -30154,7 +29834,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30154
29834
|
@property
|
30155
29835
|
def SubAssumerName(self):
|
30156
29836
|
"""云产品二级标识,日志主题由其它云产品创建时,该字段会显示云产品名称及其日志类型的二级分类,例如TKE-Audit、TKE-Event。部分云产品仅有云产品标识(AssumerName),无该字段。
|
30157
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30158
29837
|
:rtype: str
|
30159
29838
|
"""
|
30160
29839
|
return self._SubAssumerName
|
@@ -30166,7 +29845,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30166
29845
|
@property
|
30167
29846
|
def Describes(self):
|
30168
29847
|
"""主题描述
|
30169
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30170
29848
|
:rtype: str
|
30171
29849
|
"""
|
30172
29850
|
return self._Describes
|
@@ -30180,7 +29858,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30180
29858
|
"""开启日志沉降,标准存储的生命周期, hotPeriod < Period。
|
30181
29859
|
标准存储为 hotPeriod, 低频存储则为 Period-hotPeriod。(主题类型需为日志主题)
|
30182
29860
|
HotPeriod=0为没有开启日志沉降。
|
30183
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30184
29861
|
:rtype: int
|
30185
29862
|
"""
|
30186
29863
|
return self._HotPeriod
|
@@ -30194,7 +29871,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30194
29871
|
"""主题类型。
|
30195
29872
|
- 0: 日志主题
|
30196
29873
|
- 1: 指标主题
|
30197
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30198
29874
|
:rtype: int
|
30199
29875
|
"""
|
30200
29876
|
return self._BizType
|
@@ -30207,7 +29883,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30207
29883
|
def IsWebTracking(self):
|
30208
29884
|
"""免鉴权开关。 false:关闭; true:开启。
|
30209
29885
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
30210
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30211
29886
|
:rtype: bool
|
30212
29887
|
"""
|
30213
29888
|
return self._IsWebTracking
|
@@ -30219,7 +29894,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30219
29894
|
@property
|
30220
29895
|
def Extends(self):
|
30221
29896
|
"""日志主题扩展信息
|
30222
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30223
29897
|
:rtype: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
30224
29898
|
"""
|
30225
29899
|
return self._Extends
|
@@ -30231,7 +29905,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30231
29905
|
@property
|
30232
29906
|
def TopicAsyncTaskID(self):
|
30233
29907
|
"""异步迁移任务ID
|
30234
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30235
29908
|
:rtype: str
|
30236
29909
|
"""
|
30237
29910
|
return self._TopicAsyncTaskID
|
@@ -30243,7 +29916,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30243
29916
|
@property
|
30244
29917
|
def MigrationStatus(self):
|
30245
29918
|
"""异步迁移状态
|
30246
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30247
29919
|
:rtype: int
|
30248
29920
|
"""
|
30249
29921
|
return self._MigrationStatus
|
@@ -30255,7 +29927,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30255
29927
|
@property
|
30256
29928
|
def EffectiveDate(self):
|
30257
29929
|
"""异步迁移完成后,预计生效日期
|
30258
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30259
29930
|
:rtype: str
|
30260
29931
|
"""
|
30261
29932
|
return self._EffectiveDate
|
@@ -30420,13 +30091,15 @@ long及double类型字段需为空;
|
|
30420
30091
|
:param _SqlFlag: 字段是否开启分析功能
|
30421
30092
|
:type SqlFlag: bool
|
30422
30093
|
:param _ContainZH: 是否包含中文,long及double类型字段需为false
|
30423
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30424
30094
|
:type ContainZH: bool
|
30095
|
+
:param _Alias: 字段别名
|
30096
|
+
:type Alias: str
|
30425
30097
|
"""
|
30426
30098
|
self._Type = None
|
30427
30099
|
self._Tokenizer = None
|
30428
30100
|
self._SqlFlag = None
|
30429
30101
|
self._ContainZH = None
|
30102
|
+
self._Alias = None
|
30430
30103
|
|
30431
30104
|
@property
|
30432
30105
|
def Type(self):
|
@@ -30467,7 +30140,6 @@ long及double类型字段需为空;
|
|
30467
30140
|
@property
|
30468
30141
|
def ContainZH(self):
|
30469
30142
|
"""是否包含中文,long及double类型字段需为false
|
30470
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30471
30143
|
:rtype: bool
|
30472
30144
|
"""
|
30473
30145
|
return self._ContainZH
|
@@ -30476,12 +30148,24 @@ long及double类型字段需为空;
|
|
30476
30148
|
def ContainZH(self, ContainZH):
|
30477
30149
|
self._ContainZH = ContainZH
|
30478
30150
|
|
30151
|
+
@property
|
30152
|
+
def Alias(self):
|
30153
|
+
"""字段别名
|
30154
|
+
:rtype: str
|
30155
|
+
"""
|
30156
|
+
return self._Alias
|
30157
|
+
|
30158
|
+
@Alias.setter
|
30159
|
+
def Alias(self, Alias):
|
30160
|
+
self._Alias = Alias
|
30161
|
+
|
30479
30162
|
|
30480
30163
|
def _deserialize(self, params):
|
30481
30164
|
self._Type = params.get("Type")
|
30482
30165
|
self._Tokenizer = params.get("Tokenizer")
|
30483
30166
|
self._SqlFlag = params.get("SqlFlag")
|
30484
30167
|
self._ContainZH = params.get("ContainZH")
|
30168
|
+
self._Alias = params.get("Alias")
|
30485
30169
|
memeber_set = set(params.keys())
|
30486
30170
|
for name, value in vars(self).items():
|
30487
30171
|
property_name = name[1:]
|
@@ -30509,7 +30193,6 @@ class WebCallback(AbstractModel):
|
|
30509
30193
|
也可使用WebCallbackId引用集成配置中的URL,此时该字段请填写为空字符串。
|
30510
30194
|
:type Url: str
|
30511
30195
|
:param _WebCallbackId: 集成配置ID。
|
30512
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30513
30196
|
:type WebCallbackId: str
|
30514
30197
|
:param _Method: 回调方法。可选值:
|
30515
30198
|
- POST(默认值)
|
@@ -30517,24 +30200,18 @@ class WebCallback(AbstractModel):
|
|
30517
30200
|
|
30518
30201
|
注意:
|
30519
30202
|
- 参数CallbackType为Http时为必选,其它回调方式无需填写。
|
30520
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30521
30203
|
:type Method: str
|
30522
30204
|
:param _NoticeContentId: 通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。
|
30523
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30524
30205
|
:type NoticeContentId: str
|
30525
30206
|
:param _RemindType: 提醒类型。
|
30526
30207
|
|
30527
30208
|
0:不提醒;1:指定人;2:所有人
|
30528
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30529
30209
|
:type RemindType: int
|
30530
30210
|
:param _Mobiles: 电话列表。
|
30531
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30532
30211
|
:type Mobiles: list of str
|
30533
30212
|
:param _UserIds: 用户ID列表。
|
30534
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30535
30213
|
:type UserIds: list of str
|
30536
30214
|
:param _Headers: 该参数已废弃,请使用NoticeContentId。
|
30537
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30538
30215
|
:type Headers: list of str
|
30539
30216
|
:param _Body: 该参数已废弃,请使用NoticeContentId。
|
30540
30217
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -30586,7 +30263,6 @@ class WebCallback(AbstractModel):
|
|
30586
30263
|
@property
|
30587
30264
|
def WebCallbackId(self):
|
30588
30265
|
"""集成配置ID。
|
30589
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30590
30266
|
:rtype: str
|
30591
30267
|
"""
|
30592
30268
|
return self._WebCallbackId
|
@@ -30603,7 +30279,6 @@ class WebCallback(AbstractModel):
|
|
30603
30279
|
|
30604
30280
|
注意:
|
30605
30281
|
- 参数CallbackType为Http时为必选,其它回调方式无需填写。
|
30606
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30607
30282
|
:rtype: str
|
30608
30283
|
"""
|
30609
30284
|
return self._Method
|
@@ -30615,7 +30290,6 @@ class WebCallback(AbstractModel):
|
|
30615
30290
|
@property
|
30616
30291
|
def NoticeContentId(self):
|
30617
30292
|
"""通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。
|
30618
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30619
30293
|
:rtype: str
|
30620
30294
|
"""
|
30621
30295
|
return self._NoticeContentId
|
@@ -30629,7 +30303,6 @@ class WebCallback(AbstractModel):
|
|
30629
30303
|
"""提醒类型。
|
30630
30304
|
|
30631
30305
|
0:不提醒;1:指定人;2:所有人
|
30632
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30633
30306
|
:rtype: int
|
30634
30307
|
"""
|
30635
30308
|
return self._RemindType
|
@@ -30641,7 +30314,6 @@ class WebCallback(AbstractModel):
|
|
30641
30314
|
@property
|
30642
30315
|
def Mobiles(self):
|
30643
30316
|
"""电话列表。
|
30644
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30645
30317
|
:rtype: list of str
|
30646
30318
|
"""
|
30647
30319
|
return self._Mobiles
|
@@ -30653,7 +30325,6 @@ class WebCallback(AbstractModel):
|
|
30653
30325
|
@property
|
30654
30326
|
def UserIds(self):
|
30655
30327
|
"""用户ID列表。
|
30656
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30657
30328
|
:rtype: list of str
|
30658
30329
|
"""
|
30659
30330
|
return self._UserIds
|
@@ -30665,7 +30336,6 @@ class WebCallback(AbstractModel):
|
|
30665
30336
|
@property
|
30666
30337
|
def Headers(self):
|
30667
30338
|
"""该参数已废弃,请使用NoticeContentId。
|
30668
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30669
30339
|
:rtype: list of str
|
30670
30340
|
"""
|
30671
30341
|
return self._Headers
|
@@ -30730,36 +30400,26 @@ class WebCallbackInfo(AbstractModel):
|
|
30730
30400
|
def __init__(self):
|
30731
30401
|
r"""
|
30732
30402
|
:param _WebCallbackId: 告警渠道回调配置id。
|
30733
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30734
30403
|
:type WebCallbackId: str
|
30735
30404
|
:param _Name: 告警渠道回调配置名称。
|
30736
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30737
30405
|
:type Name: str
|
30738
30406
|
:param _Type: 渠道类型
|
30739
30407
|
|
30740
30408
|
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
30741
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30742
30409
|
:type Type: str
|
30743
30410
|
:param _Webhook: 回调地址。
|
30744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30745
30411
|
:type Webhook: str
|
30746
30412
|
:param _Method: 请求方式。
|
30747
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30748
30413
|
:type Method: str
|
30749
30414
|
:param _Key: 秘钥信息。
|
30750
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30751
30415
|
:type Key: str
|
30752
30416
|
:param _Uin: 主账号。
|
30753
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30754
30417
|
:type Uin: int
|
30755
30418
|
:param _SubUin: 子账号。
|
30756
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30757
30419
|
:type SubUin: int
|
30758
30420
|
:param _CreateTime: 创建时间。秒级时间戳
|
30759
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30760
30421
|
:type CreateTime: int
|
30761
30422
|
:param _UpdateTime: 更新时间。秒级时间戳
|
30762
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30763
30423
|
:type UpdateTime: int
|
30764
30424
|
"""
|
30765
30425
|
self._WebCallbackId = None
|
@@ -30776,7 +30436,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30776
30436
|
@property
|
30777
30437
|
def WebCallbackId(self):
|
30778
30438
|
"""告警渠道回调配置id。
|
30779
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30780
30439
|
:rtype: str
|
30781
30440
|
"""
|
30782
30441
|
return self._WebCallbackId
|
@@ -30788,7 +30447,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30788
30447
|
@property
|
30789
30448
|
def Name(self):
|
30790
30449
|
"""告警渠道回调配置名称。
|
30791
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30792
30450
|
:rtype: str
|
30793
30451
|
"""
|
30794
30452
|
return self._Name
|
@@ -30802,7 +30460,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30802
30460
|
"""渠道类型
|
30803
30461
|
|
30804
30462
|
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
30805
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30806
30463
|
:rtype: str
|
30807
30464
|
"""
|
30808
30465
|
return self._Type
|
@@ -30814,7 +30471,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30814
30471
|
@property
|
30815
30472
|
def Webhook(self):
|
30816
30473
|
"""回调地址。
|
30817
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30818
30474
|
:rtype: str
|
30819
30475
|
"""
|
30820
30476
|
return self._Webhook
|
@@ -30826,7 +30482,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30826
30482
|
@property
|
30827
30483
|
def Method(self):
|
30828
30484
|
"""请求方式。
|
30829
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30830
30485
|
:rtype: str
|
30831
30486
|
"""
|
30832
30487
|
return self._Method
|
@@ -30838,7 +30493,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30838
30493
|
@property
|
30839
30494
|
def Key(self):
|
30840
30495
|
"""秘钥信息。
|
30841
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30842
30496
|
:rtype: str
|
30843
30497
|
"""
|
30844
30498
|
return self._Key
|
@@ -30850,7 +30504,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30850
30504
|
@property
|
30851
30505
|
def Uin(self):
|
30852
30506
|
"""主账号。
|
30853
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30854
30507
|
:rtype: int
|
30855
30508
|
"""
|
30856
30509
|
return self._Uin
|
@@ -30862,7 +30515,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30862
30515
|
@property
|
30863
30516
|
def SubUin(self):
|
30864
30517
|
"""子账号。
|
30865
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30866
30518
|
:rtype: int
|
30867
30519
|
"""
|
30868
30520
|
return self._SubUin
|
@@ -30874,7 +30526,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30874
30526
|
@property
|
30875
30527
|
def CreateTime(self):
|
30876
30528
|
"""创建时间。秒级时间戳
|
30877
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30878
30529
|
:rtype: int
|
30879
30530
|
"""
|
30880
30531
|
return self._CreateTime
|
@@ -30886,7 +30537,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30886
30537
|
@property
|
30887
30538
|
def UpdateTime(self):
|
30888
30539
|
"""更新时间。秒级时间戳
|
30889
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30890
30540
|
:rtype: int
|
30891
30541
|
"""
|
30892
30542
|
return self._UpdateTime
|