tencentcloud-sdk-python 3.0.1343__py2.py3-none-any.whl → 3.0.1345__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/antiddos/v20200309/models.py +2 -2
- tencentcloud/bi/v20220105/models.py +6 -2
- tencentcloud/billing/v20180709/models.py +0 -14
- tencentcloud/cbs/v20170312/models.py +0 -20
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +117 -0
- tencentcloud/cdwch/v20200915/models.py +0 -110
- tencentcloud/ckafka/v20190819/models.py +0 -260
- tencentcloud/clb/v20180317/models.py +49 -20
- tencentcloud/cls/v20201016/cls_client.py +0 -92
- tencentcloud/cls/v20201016/models.py +74 -1145
- tencentcloud/cvm/v20170312/models.py +15 -0
- tencentcloud/cynosdb/v20190107/models.py +2 -86
- tencentcloud/dbbrain/v20191016/models.py +0 -36
- tencentcloud/dbbrain/v20210527/models.py +0 -106
- tencentcloud/dcdb/v20180411/models.py +0 -48
- tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
- tencentcloud/dnspod/v20210323/models.py +724 -0
- tencentcloud/domain/v20180808/models.py +0 -8
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
- tencentcloud/dsgc/v20190723/models.py +0 -34
- tencentcloud/ess/v20201111/models.py +4 -2
- tencentcloud/essbasic/v20210526/models.py +4 -2
- tencentcloud/fmu/v20191213/errorcodes.py +3 -0
- tencentcloud/fmu/v20191213/models.py +4 -4
- tencentcloud/goosefs/v20220519/models.py +0 -2
- tencentcloud/gwlb/v20240906/models.py +4 -4
- tencentcloud/hai/v20230812/errorcodes.py +1 -1
- tencentcloud/iotcloud/v20210408/models.py +2 -4
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +1 -1
- tencentcloud/iotvideoindustry/v20201201/models.py +15 -404
- tencentcloud/lighthouse/v20200324/models.py +12 -20
- tencentcloud/lke/v20231130/models.py +15 -0
- tencentcloud/lowcode/v20210108/models.py +0 -2
- tencentcloud/mariadb/v20170312/models.py +0 -38
- tencentcloud/mmps/v20200710/models.py +0 -56
- tencentcloud/monitor/v20180724/models.py +251 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/errorcodes.py +34 -0
- tencentcloud/mps/v20190612/models.py +4129 -429
- tencentcloud/mps/v20190612/mps_client.py +208 -0
- tencentcloud/postgres/v20170312/models.py +0 -222
- tencentcloud/postgres/v20170312/postgres_client.py +5 -5
- tencentcloud/redis/v20180412/models.py +64 -0
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/svp/v20240125/models.py +0 -42
- tencentcloud/tcb/v20180608/models.py +109 -348
- tencentcloud/tcb/v20180608/tcb_client.py +23 -23
- tencentcloud/tcss/v20201101/models.py +1813 -2547
- tencentcloud/tcss/v20201101/tcss_client.py +92 -125
- tencentcloud/tdmq/v20200217/models.py +158 -436
- tencentcloud/tdmq/v20200217/tdmq_client.py +0 -23
- tencentcloud/teo/v20220901/models.py +158 -36
- tencentcloud/teo/v20220901/teo_client.py +23 -0
- tencentcloud/thpc/v20211109/models.py +0 -6
- tencentcloud/thpc/v20220401/models.py +0 -6
- tencentcloud/thpc/v20230321/models.py +0 -8
- tencentcloud/tke/v20180525/models.py +0 -54
- tencentcloud/tke/v20220501/models.py +0 -34
- tencentcloud/vpc/v20170312/models.py +0 -34
- tencentcloud/waf/v20180125/models.py +15 -0
- tencentcloud/wedata/v20210820/models.py +122 -0
- tencentcloud/weilingwith/v20230427/models.py +0 -964
- {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/RECORD +70 -70
- {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1345.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,21 @@ 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
|
352
338
|
:param _MonitorObjectType: 监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。
|
353
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
354
339
|
:type MonitorObjectType: int
|
355
340
|
:param _AlarmLevel: 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
|
356
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
357
341
|
:type AlarmLevel: int
|
358
342
|
:param _Classifications: 告警附加分类字段。
|
359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
360
343
|
:type Classifications: list of AlarmClassification
|
361
344
|
:param _MultiConditions: 多触发条件。与
|
362
345
|
Condition互斥。
|
363
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
364
346
|
:type MultiConditions: list of MultiCondition
|
365
347
|
"""
|
366
348
|
self._Name = None
|
@@ -520,7 +502,6 @@ Condition互斥。
|
|
520
502
|
@property
|
521
503
|
def CallBack(self):
|
522
504
|
"""自定义回调模板
|
523
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
524
505
|
:rtype: :class:`tencentcloud.cls.v20201016.models.CallBackInfo`
|
525
506
|
"""
|
526
507
|
return self._CallBack
|
@@ -532,7 +513,6 @@ Condition互斥。
|
|
532
513
|
@property
|
533
514
|
def Analysis(self):
|
534
515
|
"""多维分析设置
|
535
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
536
516
|
:rtype: list of AnalysisDimensional
|
537
517
|
"""
|
538
518
|
return self._Analysis
|
@@ -543,8 +523,7 @@ Condition互斥。
|
|
543
523
|
|
544
524
|
@property
|
545
525
|
def GroupTriggerStatus(self):
|
546
|
-
"""分组触发状态。
|
547
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
526
|
+
"""分组触发状态。true:开启,false:关闭(默认)
|
548
527
|
:rtype: bool
|
549
528
|
"""
|
550
529
|
return self._GroupTriggerStatus
|
@@ -556,7 +535,6 @@ Condition互斥。
|
|
556
535
|
@property
|
557
536
|
def GroupTriggerCondition(self):
|
558
537
|
"""分组触发条件。
|
559
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
560
538
|
:rtype: list of str
|
561
539
|
"""
|
562
540
|
return self._GroupTriggerCondition
|
@@ -568,7 +546,6 @@ Condition互斥。
|
|
568
546
|
@property
|
569
547
|
def MonitorObjectType(self):
|
570
548
|
"""监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。
|
571
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
572
549
|
:rtype: int
|
573
550
|
"""
|
574
551
|
return self._MonitorObjectType
|
@@ -580,7 +557,6 @@ Condition互斥。
|
|
580
557
|
@property
|
581
558
|
def AlarmLevel(self):
|
582
559
|
"""告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
|
583
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
584
560
|
:rtype: int
|
585
561
|
"""
|
586
562
|
return self._AlarmLevel
|
@@ -592,7 +568,6 @@ Condition互斥。
|
|
592
568
|
@property
|
593
569
|
def Classifications(self):
|
594
570
|
"""告警附加分类字段。
|
595
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
596
571
|
:rtype: list of AlarmClassification
|
597
572
|
"""
|
598
573
|
return self._Classifications
|
@@ -605,7 +580,6 @@ Condition互斥。
|
|
605
580
|
def MultiConditions(self):
|
606
581
|
"""多触发条件。与
|
607
582
|
Condition互斥。
|
608
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
609
583
|
:rtype: list of MultiCondition
|
610
584
|
"""
|
611
585
|
return self._MultiConditions
|
@@ -680,7 +654,6 @@ class AlarmNotice(AbstractModel):
|
|
680
654
|
:param _Name: 告警通知渠道组名称。
|
681
655
|
:type Name: str
|
682
656
|
:param _Tags: 告警通知渠道组绑定的标签信息。
|
683
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
684
657
|
:type Tags: list of Tag
|
685
658
|
:param _Type: 告警模板的类型。可选值:
|
686
659
|
<br><li> Trigger - 告警触发</li>
|
@@ -688,32 +661,24 @@ class AlarmNotice(AbstractModel):
|
|
688
661
|
<br><li> All - 告警触发和告警恢复</li>
|
689
662
|
:type Type: str
|
690
663
|
:param _NoticeReceivers: 告警通知模板接收者信息。
|
691
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
692
664
|
:type NoticeReceivers: list of NoticeReceiver
|
693
665
|
:param _WebCallbacks: 告警通知模板回调信息。
|
694
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
695
666
|
:type WebCallbacks: list of WebCallback
|
696
667
|
:param _AlarmNoticeId: 告警通知模板ID。
|
697
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
698
668
|
:type AlarmNoticeId: str
|
699
669
|
:param _NoticeRules: 通知规则。
|
700
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
701
670
|
:type NoticeRules: list of NoticeRule
|
702
671
|
:param _AlarmShieldStatus: 免登录操作告警开关。
|
703
672
|
参数值: 1:关闭 2:开启(默认开启)
|
704
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
705
673
|
:type AlarmShieldStatus: int
|
706
674
|
:param _JumpDomain: 调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
707
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
708
675
|
:type JumpDomain: str
|
709
676
|
:param _AlarmNoticeDeliverConfig: 投递相关信息。
|
710
677
|
注意:此字段可能返回 null,表示取不到有效值。
|
711
678
|
:type AlarmNoticeDeliverConfig: :class:`tencentcloud.cls.v20201016.models.AlarmNoticeDeliverConfig`
|
712
679
|
:param _CreateTime: 创建时间。
|
713
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
714
680
|
:type CreateTime: str
|
715
681
|
:param _UpdateTime: 最近更新时间。
|
716
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
717
682
|
:type UpdateTime: str
|
718
683
|
"""
|
719
684
|
self._Name = None
|
@@ -743,7 +708,6 @@ class AlarmNotice(AbstractModel):
|
|
743
708
|
@property
|
744
709
|
def Tags(self):
|
745
710
|
"""告警通知渠道组绑定的标签信息。
|
746
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
747
711
|
:rtype: list of Tag
|
748
712
|
"""
|
749
713
|
return self._Tags
|
@@ -769,7 +733,6 @@ class AlarmNotice(AbstractModel):
|
|
769
733
|
@property
|
770
734
|
def NoticeReceivers(self):
|
771
735
|
"""告警通知模板接收者信息。
|
772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
773
736
|
:rtype: list of NoticeReceiver
|
774
737
|
"""
|
775
738
|
return self._NoticeReceivers
|
@@ -781,7 +744,6 @@ class AlarmNotice(AbstractModel):
|
|
781
744
|
@property
|
782
745
|
def WebCallbacks(self):
|
783
746
|
"""告警通知模板回调信息。
|
784
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
785
747
|
:rtype: list of WebCallback
|
786
748
|
"""
|
787
749
|
return self._WebCallbacks
|
@@ -793,7 +755,6 @@ class AlarmNotice(AbstractModel):
|
|
793
755
|
@property
|
794
756
|
def AlarmNoticeId(self):
|
795
757
|
"""告警通知模板ID。
|
796
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
797
758
|
:rtype: str
|
798
759
|
"""
|
799
760
|
return self._AlarmNoticeId
|
@@ -805,7 +766,6 @@ class AlarmNotice(AbstractModel):
|
|
805
766
|
@property
|
806
767
|
def NoticeRules(self):
|
807
768
|
"""通知规则。
|
808
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
809
769
|
:rtype: list of NoticeRule
|
810
770
|
"""
|
811
771
|
return self._NoticeRules
|
@@ -818,7 +778,6 @@ class AlarmNotice(AbstractModel):
|
|
818
778
|
def AlarmShieldStatus(self):
|
819
779
|
"""免登录操作告警开关。
|
820
780
|
参数值: 1:关闭 2:开启(默认开启)
|
821
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
822
781
|
:rtype: int
|
823
782
|
"""
|
824
783
|
return self._AlarmShieldStatus
|
@@ -830,7 +789,6 @@ class AlarmNotice(AbstractModel):
|
|
830
789
|
@property
|
831
790
|
def JumpDomain(self):
|
832
791
|
"""调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
833
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
834
792
|
:rtype: str
|
835
793
|
"""
|
836
794
|
return self._JumpDomain
|
@@ -854,7 +812,6 @@ class AlarmNotice(AbstractModel):
|
|
854
812
|
@property
|
855
813
|
def CreateTime(self):
|
856
814
|
"""创建时间。
|
857
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
858
815
|
:rtype: str
|
859
816
|
"""
|
860
817
|
return self._CreateTime
|
@@ -866,7 +823,6 @@ class AlarmNotice(AbstractModel):
|
|
866
823
|
@property
|
867
824
|
def UpdateTime(self):
|
868
825
|
"""最近更新时间。
|
869
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
870
826
|
:rtype: str
|
871
827
|
"""
|
872
828
|
return self._UpdateTime
|
@@ -931,7 +887,6 @@ class AlarmNoticeDeliverConfig(AbstractModel):
|
|
931
887
|
:param _DeliverConfig: 通知渠道投递日志配置信息。
|
932
888
|
:type DeliverConfig: :class:`tencentcloud.cls.v20201016.models.DeliverConfig`
|
933
889
|
:param _ErrMsg: 投递失败原因。
|
934
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
935
890
|
:type ErrMsg: str
|
936
891
|
"""
|
937
892
|
self._DeliverConfig = None
|
@@ -951,7 +906,6 @@ class AlarmNoticeDeliverConfig(AbstractModel):
|
|
951
906
|
@property
|
952
907
|
def ErrMsg(self):
|
953
908
|
"""投递失败原因。
|
954
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
955
909
|
:rtype: str
|
956
910
|
"""
|
957
911
|
return self._ErrMsg
|
@@ -994,7 +948,6 @@ class AlarmShieldInfo(AbstractModel):
|
|
994
948
|
:param _Type: 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。
|
995
949
|
:type Type: int
|
996
950
|
:param _Rule: 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。
|
997
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
998
951
|
:type Rule: str
|
999
952
|
:param _Reason: 屏蔽原因。
|
1000
953
|
:type Reason: str
|
@@ -1082,7 +1035,6 @@ class AlarmShieldInfo(AbstractModel):
|
|
1082
1035
|
@property
|
1083
1036
|
def Rule(self):
|
1084
1037
|
"""屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。
|
1085
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1086
1038
|
:rtype: str
|
1087
1039
|
"""
|
1088
1040
|
return self._Rule
|
@@ -1191,27 +1143,20 @@ class AlarmTarget(AbstractModel):
|
|
1191
1143
|
def __init__(self):
|
1192
1144
|
r"""
|
1193
1145
|
:param _TopicId: 日志主题ID。
|
1194
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1195
1146
|
:type TopicId: str
|
1196
1147
|
:param _Query: 查询语句。
|
1197
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1198
1148
|
:type Query: str
|
1199
1149
|
:param _Number: 告警对象序号;从1开始递增。
|
1200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1201
1150
|
:type Number: int
|
1202
1151
|
:param _StartTimeOffset: 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。
|
1203
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1204
1152
|
:type StartTimeOffset: int
|
1205
1153
|
:param _EndTimeOffset: 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
|
1206
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1207
1154
|
:type EndTimeOffset: int
|
1208
1155
|
:param _LogsetId: 日志集ID。
|
1209
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1210
1156
|
:type LogsetId: str
|
1211
1157
|
:param _SyntaxRule: 检索语法规则,默认值为0。
|
1212
1158
|
0:Lucene语法,1:CQL语法。
|
1213
1159
|
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
1214
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1215
1160
|
:type SyntaxRule: int
|
1216
1161
|
"""
|
1217
1162
|
self._TopicId = None
|
@@ -1225,7 +1170,6 @@ class AlarmTarget(AbstractModel):
|
|
1225
1170
|
@property
|
1226
1171
|
def TopicId(self):
|
1227
1172
|
"""日志主题ID。
|
1228
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1229
1173
|
:rtype: str
|
1230
1174
|
"""
|
1231
1175
|
return self._TopicId
|
@@ -1237,7 +1181,6 @@ class AlarmTarget(AbstractModel):
|
|
1237
1181
|
@property
|
1238
1182
|
def Query(self):
|
1239
1183
|
"""查询语句。
|
1240
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1241
1184
|
:rtype: str
|
1242
1185
|
"""
|
1243
1186
|
return self._Query
|
@@ -1249,7 +1192,6 @@ class AlarmTarget(AbstractModel):
|
|
1249
1192
|
@property
|
1250
1193
|
def Number(self):
|
1251
1194
|
"""告警对象序号;从1开始递增。
|
1252
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1253
1195
|
:rtype: int
|
1254
1196
|
"""
|
1255
1197
|
return self._Number
|
@@ -1261,7 +1203,6 @@ class AlarmTarget(AbstractModel):
|
|
1261
1203
|
@property
|
1262
1204
|
def StartTimeOffset(self):
|
1263
1205
|
"""查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。
|
1264
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1265
1206
|
:rtype: int
|
1266
1207
|
"""
|
1267
1208
|
return self._StartTimeOffset
|
@@ -1273,7 +1214,6 @@ class AlarmTarget(AbstractModel):
|
|
1273
1214
|
@property
|
1274
1215
|
def EndTimeOffset(self):
|
1275
1216
|
"""查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
|
1276
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1277
1217
|
:rtype: int
|
1278
1218
|
"""
|
1279
1219
|
return self._EndTimeOffset
|
@@ -1285,7 +1225,6 @@ class AlarmTarget(AbstractModel):
|
|
1285
1225
|
@property
|
1286
1226
|
def LogsetId(self):
|
1287
1227
|
"""日志集ID。
|
1288
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1289
1228
|
:rtype: str
|
1290
1229
|
"""
|
1291
1230
|
return self._LogsetId
|
@@ -1299,7 +1238,6 @@ class AlarmTarget(AbstractModel):
|
|
1299
1238
|
"""检索语法规则,默认值为0。
|
1300
1239
|
0:Lucene语法,1:CQL语法。
|
1301
1240
|
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
1302
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1303
1241
|
:rtype: int
|
1304
1242
|
"""
|
1305
1243
|
return self._SyntaxRule
|
@@ -1353,11 +1291,9 @@ class AlarmTargetInfo(AbstractModel):
|
|
1353
1291
|
:param _SyntaxRule: 检索语法规则,默认值为0。
|
1354
1292
|
0:Lucene语法,1:CQL语法。
|
1355
1293
|
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
1356
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1357
1294
|
:type SyntaxRule: int
|
1358
1295
|
:param _BizType: 主题类型。
|
1359
1296
|
0: 日志主题,1: 指标主题
|
1360
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1361
1297
|
:type BizType: int
|
1362
1298
|
"""
|
1363
1299
|
self._LogsetId = None
|
@@ -1464,7 +1400,6 @@ class AlarmTargetInfo(AbstractModel):
|
|
1464
1400
|
"""检索语法规则,默认值为0。
|
1465
1401
|
0:Lucene语法,1:CQL语法。
|
1466
1402
|
详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
|
1467
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1468
1403
|
:rtype: int
|
1469
1404
|
"""
|
1470
1405
|
return self._SyntaxRule
|
@@ -1477,7 +1412,6 @@ class AlarmTargetInfo(AbstractModel):
|
|
1477
1412
|
def BizType(self):
|
1478
1413
|
"""主题类型。
|
1479
1414
|
0: 日志主题,1: 指标主题
|
1480
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1481
1415
|
:rtype: int
|
1482
1416
|
"""
|
1483
1417
|
return self._BizType
|
@@ -1593,14 +1527,11 @@ class AlertHistoryRecord(AbstractModel):
|
|
1593
1527
|
:param _CreateTime: 告警发生时间,毫秒级Unix时间戳
|
1594
1528
|
:type CreateTime: int
|
1595
1529
|
:param _GroupTriggerCondition: 告警分组触发时对应的分组信息
|
1596
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1597
1530
|
:type GroupTriggerCondition: list of GroupTriggerConditionInfo
|
1598
1531
|
:param _AlarmLevel: 告警级别,0代表警告(Warn),1代表提醒(Info),2代表紧急 (Critical)
|
1599
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1600
1532
|
:type AlarmLevel: int
|
1601
1533
|
:param _MonitorObjectType: 监控对象类型。
|
1602
1534
|
0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。
|
1603
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1604
1535
|
:type MonitorObjectType: int
|
1605
1536
|
"""
|
1606
1537
|
self._RecordId = None
|
@@ -1766,7 +1697,6 @@ class AlertHistoryRecord(AbstractModel):
|
|
1766
1697
|
@property
|
1767
1698
|
def GroupTriggerCondition(self):
|
1768
1699
|
"""告警分组触发时对应的分组信息
|
1769
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1770
1700
|
:rtype: list of GroupTriggerConditionInfo
|
1771
1701
|
"""
|
1772
1702
|
return self._GroupTriggerCondition
|
@@ -1778,7 +1708,6 @@ class AlertHistoryRecord(AbstractModel):
|
|
1778
1708
|
@property
|
1779
1709
|
def AlarmLevel(self):
|
1780
1710
|
"""告警级别,0代表警告(Warn),1代表提醒(Info),2代表紧急 (Critical)
|
1781
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1782
1711
|
:rtype: int
|
1783
1712
|
"""
|
1784
1713
|
return self._AlarmLevel
|
@@ -1791,7 +1720,6 @@ class AlertHistoryRecord(AbstractModel):
|
|
1791
1720
|
def MonitorObjectType(self):
|
1792
1721
|
"""监控对象类型。
|
1793
1722
|
0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。
|
1794
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1795
1723
|
:rtype: int
|
1796
1724
|
"""
|
1797
1725
|
return self._MonitorObjectType
|
@@ -1846,13 +1774,10 @@ class AnalysisDimensional(AbstractModel):
|
|
1846
1774
|
def __init__(self):
|
1847
1775
|
r"""
|
1848
1776
|
:param _Name: 分析名称
|
1849
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1850
1777
|
:type Name: str
|
1851
1778
|
:param _Type: 分析类型:query,field ,original
|
1852
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1853
1779
|
:type Type: str
|
1854
1780
|
:param _Content: 分析内容
|
1855
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1856
1781
|
:type Content: str
|
1857
1782
|
:param _ConfigInfo: 多维分析配置。
|
1858
1783
|
|
@@ -1905,7 +1830,6 @@ class AnalysisDimensional(AbstractModel):
|
|
1905
1830
|
@property
|
1906
1831
|
def Name(self):
|
1907
1832
|
"""分析名称
|
1908
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1909
1833
|
:rtype: str
|
1910
1834
|
"""
|
1911
1835
|
return self._Name
|
@@ -1917,7 +1841,6 @@ class AnalysisDimensional(AbstractModel):
|
|
1917
1841
|
@property
|
1918
1842
|
def Type(self):
|
1919
1843
|
"""分析类型:query,field ,original
|
1920
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1921
1844
|
:rtype: str
|
1922
1845
|
"""
|
1923
1846
|
return self._Type
|
@@ -1929,7 +1852,6 @@ class AnalysisDimensional(AbstractModel):
|
|
1929
1852
|
@property
|
1930
1853
|
def Content(self):
|
1931
1854
|
"""分析内容
|
1932
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1933
1855
|
:rtype: str
|
1934
1856
|
"""
|
1935
1857
|
return self._Content
|
@@ -2171,7 +2093,6 @@ class CallBackInfo(AbstractModel):
|
|
2171
2093
|
```
|
2172
2094
|
"Content-Type: application/json"
|
2173
2095
|
```
|
2174
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2175
2096
|
:type Headers: list of str
|
2176
2097
|
"""
|
2177
2098
|
self._Body = None
|
@@ -2207,7 +2128,6 @@ class CallBackInfo(AbstractModel):
|
|
2207
2128
|
```
|
2208
2129
|
"Content-Type: application/json"
|
2209
2130
|
```
|
2210
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2211
2131
|
:rtype: list of str
|
2212
2132
|
"""
|
2213
2133
|
return self._Headers
|
@@ -2469,7 +2389,6 @@ class CheckRechargeKafkaServerResponse(AbstractModel):
|
|
2469
2389
|
def __init__(self):
|
2470
2390
|
r"""
|
2471
2391
|
:param _Status: Kafka集群可访问状态,0:可正常访问 ...
|
2472
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2473
2392
|
:type Status: int
|
2474
2393
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2475
2394
|
:type RequestId: str
|
@@ -2480,7 +2399,6 @@ class CheckRechargeKafkaServerResponse(AbstractModel):
|
|
2480
2399
|
@property
|
2481
2400
|
def Status(self):
|
2482
2401
|
"""Kafka集群可访问状态,0:可正常访问 ...
|
2483
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2484
2402
|
:rtype: int
|
2485
2403
|
"""
|
2486
2404
|
return self._Status
|
@@ -2681,121 +2599,6 @@ class CloseKafkaConsumerResponse(AbstractModel):
|
|
2681
2599
|
self._RequestId = params.get("RequestId")
|
2682
2600
|
|
2683
2601
|
|
2684
|
-
class CloudProductLogTaskInfo(AbstractModel):
|
2685
|
-
"""云产品日志投递任务信息
|
2686
|
-
|
2687
|
-
"""
|
2688
|
-
|
2689
|
-
def __init__(self):
|
2690
|
-
r"""
|
2691
|
-
:param _ClsRegion: 日志服务地域
|
2692
|
-
:type ClsRegion: str
|
2693
|
-
:param _InstanceId: 实例ID
|
2694
|
-
:type InstanceId: str
|
2695
|
-
:param _LogsetId: 日志集ID
|
2696
|
-
:type LogsetId: str
|
2697
|
-
:param _TopicId: 日志主题ID
|
2698
|
-
:type TopicId: str
|
2699
|
-
:param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
2700
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2701
|
-
:type Extend: str
|
2702
|
-
: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
|
-
:type LogType: str
|
2705
|
-
"""
|
2706
|
-
self._ClsRegion = None
|
2707
|
-
self._InstanceId = None
|
2708
|
-
self._LogsetId = None
|
2709
|
-
self._TopicId = None
|
2710
|
-
self._Extend = None
|
2711
|
-
self._LogType = None
|
2712
|
-
|
2713
|
-
@property
|
2714
|
-
def ClsRegion(self):
|
2715
|
-
"""日志服务地域
|
2716
|
-
:rtype: str
|
2717
|
-
"""
|
2718
|
-
return self._ClsRegion
|
2719
|
-
|
2720
|
-
@ClsRegion.setter
|
2721
|
-
def ClsRegion(self, ClsRegion):
|
2722
|
-
self._ClsRegion = ClsRegion
|
2723
|
-
|
2724
|
-
@property
|
2725
|
-
def InstanceId(self):
|
2726
|
-
"""实例ID
|
2727
|
-
:rtype: str
|
2728
|
-
"""
|
2729
|
-
return self._InstanceId
|
2730
|
-
|
2731
|
-
@InstanceId.setter
|
2732
|
-
def InstanceId(self, InstanceId):
|
2733
|
-
self._InstanceId = InstanceId
|
2734
|
-
|
2735
|
-
@property
|
2736
|
-
def LogsetId(self):
|
2737
|
-
"""日志集ID
|
2738
|
-
:rtype: str
|
2739
|
-
"""
|
2740
|
-
return self._LogsetId
|
2741
|
-
|
2742
|
-
@LogsetId.setter
|
2743
|
-
def LogsetId(self, LogsetId):
|
2744
|
-
self._LogsetId = LogsetId
|
2745
|
-
|
2746
|
-
@property
|
2747
|
-
def TopicId(self):
|
2748
|
-
"""日志主题ID
|
2749
|
-
:rtype: str
|
2750
|
-
"""
|
2751
|
-
return self._TopicId
|
2752
|
-
|
2753
|
-
@TopicId.setter
|
2754
|
-
def TopicId(self, TopicId):
|
2755
|
-
self._TopicId = TopicId
|
2756
|
-
|
2757
|
-
@property
|
2758
|
-
def Extend(self):
|
2759
|
-
"""日志配置拓展信息, 一般用于存储额外的日志投递配置
|
2760
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2761
|
-
:rtype: str
|
2762
|
-
"""
|
2763
|
-
return self._Extend
|
2764
|
-
|
2765
|
-
@Extend.setter
|
2766
|
-
def Extend(self, Extend):
|
2767
|
-
self._Extend = Extend
|
2768
|
-
|
2769
|
-
@property
|
2770
|
-
def LogType(self):
|
2771
|
-
"""日志类型,支持枚举: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
|
-
:rtype: str
|
2774
|
-
"""
|
2775
|
-
return self._LogType
|
2776
|
-
|
2777
|
-
@LogType.setter
|
2778
|
-
def LogType(self, LogType):
|
2779
|
-
self._LogType = LogType
|
2780
|
-
|
2781
|
-
|
2782
|
-
def _deserialize(self, params):
|
2783
|
-
self._ClsRegion = params.get("ClsRegion")
|
2784
|
-
self._InstanceId = params.get("InstanceId")
|
2785
|
-
self._LogsetId = params.get("LogsetId")
|
2786
|
-
self._TopicId = params.get("TopicId")
|
2787
|
-
self._Extend = params.get("Extend")
|
2788
|
-
self._LogType = params.get("LogType")
|
2789
|
-
memeber_set = set(params.keys())
|
2790
|
-
for name, value in vars(self).items():
|
2791
|
-
property_name = name[1:]
|
2792
|
-
if property_name in memeber_set:
|
2793
|
-
memeber_set.remove(property_name)
|
2794
|
-
if len(memeber_set) > 0:
|
2795
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2796
|
-
|
2797
|
-
|
2798
|
-
|
2799
2602
|
class CollectConfig(AbstractModel):
|
2800
2603
|
"""采集配置信息
|
2801
2604
|
|
@@ -2850,12 +2653,10 @@ class CollectInfo(AbstractModel):
|
|
2850
2653
|
:param _Type: 采集类型,必填字段。
|
2851
2654
|
<li>0:元数据配置。</li>
|
2852
2655
|
<li>1:指定Pod Label。</li>
|
2853
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2854
2656
|
:type Type: int
|
2855
2657
|
:param _CollectConfigs: 指定采集类型的采集配置信息。
|
2856
2658
|
<li>当Type为0时,CollectConfigs不允许为空。</li>
|
2857
2659
|
<li>当Type为1时,CollectConfigs为空时,表示选择所有Pod Label;否则CollectConfigs为指定Pod Label。</li>
|
2858
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2859
2660
|
:type CollectConfigs: list of CollectConfig
|
2860
2661
|
"""
|
2861
2662
|
self._Type = None
|
@@ -2866,7 +2667,6 @@ class CollectInfo(AbstractModel):
|
|
2866
2667
|
"""采集类型,必填字段。
|
2867
2668
|
<li>0:元数据配置。</li>
|
2868
2669
|
<li>1:指定Pod Label。</li>
|
2869
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2870
2670
|
:rtype: int
|
2871
2671
|
"""
|
2872
2672
|
return self._Type
|
@@ -2880,7 +2680,6 @@ class CollectInfo(AbstractModel):
|
|
2880
2680
|
"""指定采集类型的采集配置信息。
|
2881
2681
|
<li>当Type为0时,CollectConfigs不允许为空。</li>
|
2882
2682
|
<li>当Type为1时,CollectConfigs为空时,表示选择所有Pod Label;否则CollectConfigs为指定Pod Label。</li>
|
2883
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2884
2683
|
:rtype: list of CollectConfig
|
2885
2684
|
"""
|
2886
2685
|
return self._CollectConfigs
|
@@ -3077,22 +2876,16 @@ class ConfigExtraInfo(AbstractModel):
|
|
3077
2876
|
:param _Type: 类型:container_stdout、container_file、host_file
|
3078
2877
|
:type Type: str
|
3079
2878
|
:param _HostFile: 节点文件配置信息
|
3080
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3081
2879
|
:type HostFile: :class:`tencentcloud.cls.v20201016.models.HostFileInfo`
|
3082
2880
|
:param _ContainerFile: 容器文件路径信息
|
3083
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3084
2881
|
:type ContainerFile: :class:`tencentcloud.cls.v20201016.models.ContainerFileInfo`
|
3085
2882
|
:param _ContainerStdout: 容器标准输出信息
|
3086
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3087
2883
|
:type ContainerStdout: :class:`tencentcloud.cls.v20201016.models.ContainerStdoutInfo`
|
3088
2884
|
:param _LogFormat: 日志格式化方式
|
3089
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3090
2885
|
:type LogFormat: str
|
3091
2886
|
:param _LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
|
3092
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3093
2887
|
:type LogType: str
|
3094
2888
|
:param _ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
|
3095
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3096
2889
|
:type ExtractRule: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
3097
2890
|
:param _ExcludePaths: 采集黑名单路径列表
|
3098
2891
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3102,31 +2895,24 @@ class ConfigExtraInfo(AbstractModel):
|
|
3102
2895
|
:param _CreateTime: 创建时间
|
3103
2896
|
:type CreateTime: str
|
3104
2897
|
:param _UserDefineRule: 用户自定义解析字符串
|
3105
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3106
2898
|
:type UserDefineRule: str
|
3107
2899
|
:param _GroupId: 机器组ID
|
3108
2900
|
:type GroupId: str
|
3109
2901
|
:param _ConfigFlag: 自建采集配置标
|
3110
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3111
2902
|
:type ConfigFlag: str
|
3112
2903
|
:param _LogsetId: 日志集ID
|
3113
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3114
2904
|
:type LogsetId: str
|
3115
2905
|
:param _LogsetName: 日志集name
|
3116
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3117
2906
|
:type LogsetName: str
|
3118
2907
|
:param _TopicName: 日志主题name
|
3119
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3120
2908
|
:type TopicName: str
|
3121
2909
|
:param _CollectInfos: 采集相关配置信息。详情见 CollectInfo复杂类型配置。
|
3122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3123
2910
|
:type CollectInfos: list of CollectInfo
|
3124
2911
|
:param _AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
3125
2912
|
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
3126
2913
|
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
3127
2914
|
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
3128
2915
|
样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
3129
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3130
2916
|
:type AdvancedConfig: str
|
3131
2917
|
"""
|
3132
2918
|
self._ConfigExtraId = None
|
@@ -3198,7 +2984,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3198
2984
|
@property
|
3199
2985
|
def HostFile(self):
|
3200
2986
|
"""节点文件配置信息
|
3201
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3202
2987
|
:rtype: :class:`tencentcloud.cls.v20201016.models.HostFileInfo`
|
3203
2988
|
"""
|
3204
2989
|
return self._HostFile
|
@@ -3210,7 +2995,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3210
2995
|
@property
|
3211
2996
|
def ContainerFile(self):
|
3212
2997
|
"""容器文件路径信息
|
3213
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3214
2998
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ContainerFileInfo`
|
3215
2999
|
"""
|
3216
3000
|
return self._ContainerFile
|
@@ -3222,7 +3006,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3222
3006
|
@property
|
3223
3007
|
def ContainerStdout(self):
|
3224
3008
|
"""容器标准输出信息
|
3225
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3226
3009
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ContainerStdoutInfo`
|
3227
3010
|
"""
|
3228
3011
|
return self._ContainerStdout
|
@@ -3234,7 +3017,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3234
3017
|
@property
|
3235
3018
|
def LogFormat(self):
|
3236
3019
|
"""日志格式化方式
|
3237
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3238
3020
|
:rtype: str
|
3239
3021
|
"""
|
3240
3022
|
return self._LogFormat
|
@@ -3246,7 +3028,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3246
3028
|
@property
|
3247
3029
|
def LogType(self):
|
3248
3030
|
"""采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
|
3249
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3250
3031
|
:rtype: str
|
3251
3032
|
"""
|
3252
3033
|
return self._LogType
|
@@ -3258,7 +3039,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3258
3039
|
@property
|
3259
3040
|
def ExtractRule(self):
|
3260
3041
|
"""提取规则,如果设置了ExtractRule,则必须设置LogType
|
3261
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3262
3042
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
3263
3043
|
"""
|
3264
3044
|
return self._ExtractRule
|
@@ -3304,7 +3084,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3304
3084
|
@property
|
3305
3085
|
def UserDefineRule(self):
|
3306
3086
|
"""用户自定义解析字符串
|
3307
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3308
3087
|
:rtype: str
|
3309
3088
|
"""
|
3310
3089
|
return self._UserDefineRule
|
@@ -3327,7 +3106,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3327
3106
|
@property
|
3328
3107
|
def ConfigFlag(self):
|
3329
3108
|
"""自建采集配置标
|
3330
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3331
3109
|
:rtype: str
|
3332
3110
|
"""
|
3333
3111
|
return self._ConfigFlag
|
@@ -3339,7 +3117,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3339
3117
|
@property
|
3340
3118
|
def LogsetId(self):
|
3341
3119
|
"""日志集ID
|
3342
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3343
3120
|
:rtype: str
|
3344
3121
|
"""
|
3345
3122
|
return self._LogsetId
|
@@ -3351,7 +3128,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3351
3128
|
@property
|
3352
3129
|
def LogsetName(self):
|
3353
3130
|
"""日志集name
|
3354
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3355
3131
|
:rtype: str
|
3356
3132
|
"""
|
3357
3133
|
return self._LogsetName
|
@@ -3363,7 +3139,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3363
3139
|
@property
|
3364
3140
|
def TopicName(self):
|
3365
3141
|
"""日志主题name
|
3366
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3367
3142
|
:rtype: str
|
3368
3143
|
"""
|
3369
3144
|
return self._TopicName
|
@@ -3375,7 +3150,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3375
3150
|
@property
|
3376
3151
|
def CollectInfos(self):
|
3377
3152
|
"""采集相关配置信息。详情见 CollectInfo复杂类型配置。
|
3378
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3379
3153
|
:rtype: list of CollectInfo
|
3380
3154
|
"""
|
3381
3155
|
return self._CollectInfos
|
@@ -3391,7 +3165,6 @@ class ConfigExtraInfo(AbstractModel):
|
|
3391
3165
|
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
3392
3166
|
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
3393
3167
|
样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
3394
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3395
3168
|
:rtype: str
|
3396
3169
|
"""
|
3397
3170
|
return self._AdvancedConfig
|
@@ -3461,13 +3234,10 @@ class ConfigInfo(AbstractModel):
|
|
3461
3234
|
:param _ConfigId: 采集规则配置ID
|
3462
3235
|
:type ConfigId: str
|
3463
3236
|
:param _Name: 采集规则配置名称
|
3464
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3465
3237
|
:type Name: str
|
3466
3238
|
:param _LogFormat: 日志格式化方式
|
3467
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3468
3239
|
:type LogFormat: str
|
3469
3240
|
:param _Path: 日志采集路径
|
3470
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3471
3241
|
:type Path: str
|
3472
3242
|
:param _LogType: 采集的日志类型。
|
3473
3243
|
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
@@ -3479,10 +3249,8 @@ class ConfigInfo(AbstractModel):
|
|
3479
3249
|
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
3480
3250
|
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
3481
3251
|
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
3482
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3483
3252
|
:type LogType: str
|
3484
3253
|
:param _ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
|
3485
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3486
3254
|
:type ExtractRule: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
3487
3255
|
:param _ExcludePaths: 采集黑名单路径列表
|
3488
3256
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3490,12 +3258,10 @@ class ConfigInfo(AbstractModel):
|
|
3490
3258
|
:param _Output: 采集配置所属日志主题ID即TopicId
|
3491
3259
|
:type Output: str
|
3492
3260
|
:param _UpdateTime: 更新时间
|
3493
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3494
3261
|
:type UpdateTime: str
|
3495
3262
|
:param _CreateTime: 创建时间
|
3496
3263
|
:type CreateTime: str
|
3497
3264
|
:param _UserDefineRule: 用户自定义解析字符串,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)。
|
3498
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3499
3265
|
:type UserDefineRule: str
|
3500
3266
|
:param _AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
3501
3267
|
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
@@ -3505,7 +3271,6 @@ class ConfigInfo(AbstractModel):
|
|
3505
3271
|
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
3506
3272
|
|
3507
3273
|
控制台默认占位值:`{\"ClsAgentDefault\":0}`
|
3508
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3509
3274
|
:type AdvancedConfig: str
|
3510
3275
|
"""
|
3511
3276
|
self._ConfigId = None
|
@@ -3535,7 +3300,6 @@ class ConfigInfo(AbstractModel):
|
|
3535
3300
|
@property
|
3536
3301
|
def Name(self):
|
3537
3302
|
"""采集规则配置名称
|
3538
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3539
3303
|
:rtype: str
|
3540
3304
|
"""
|
3541
3305
|
return self._Name
|
@@ -3547,7 +3311,6 @@ class ConfigInfo(AbstractModel):
|
|
3547
3311
|
@property
|
3548
3312
|
def LogFormat(self):
|
3549
3313
|
"""日志格式化方式
|
3550
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3551
3314
|
:rtype: str
|
3552
3315
|
"""
|
3553
3316
|
return self._LogFormat
|
@@ -3559,7 +3322,6 @@ class ConfigInfo(AbstractModel):
|
|
3559
3322
|
@property
|
3560
3323
|
def Path(self):
|
3561
3324
|
"""日志采集路径
|
3562
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3563
3325
|
:rtype: str
|
3564
3326
|
"""
|
3565
3327
|
return self._Path
|
@@ -3580,7 +3342,6 @@ class ConfigInfo(AbstractModel):
|
|
3580
3342
|
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
3581
3343
|
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
3582
3344
|
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
3583
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3584
3345
|
:rtype: str
|
3585
3346
|
"""
|
3586
3347
|
return self._LogType
|
@@ -3592,7 +3353,6 @@ class ConfigInfo(AbstractModel):
|
|
3592
3353
|
@property
|
3593
3354
|
def ExtractRule(self):
|
3594
3355
|
"""提取规则,如果设置了ExtractRule,则必须设置LogType
|
3595
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3596
3356
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
3597
3357
|
"""
|
3598
3358
|
return self._ExtractRule
|
@@ -3627,7 +3387,6 @@ class ConfigInfo(AbstractModel):
|
|
3627
3387
|
@property
|
3628
3388
|
def UpdateTime(self):
|
3629
3389
|
"""更新时间
|
3630
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3631
3390
|
:rtype: str
|
3632
3391
|
"""
|
3633
3392
|
return self._UpdateTime
|
@@ -3650,7 +3409,6 @@ class ConfigInfo(AbstractModel):
|
|
3650
3409
|
@property
|
3651
3410
|
def UserDefineRule(self):
|
3652
3411
|
"""用户自定义解析字符串,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)。
|
3653
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3654
3412
|
:rtype: str
|
3655
3413
|
"""
|
3656
3414
|
return self._UserDefineRule
|
@@ -3669,7 +3427,6 @@ class ConfigInfo(AbstractModel):
|
|
3669
3427
|
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
3670
3428
|
|
3671
3429
|
控制台默认占位值:`{\"ClsAgentDefault\":0}`
|
3672
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3673
3430
|
:rtype: str
|
3674
3431
|
"""
|
3675
3432
|
return self._AdvancedConfig
|
@@ -4008,10 +3765,8 @@ class ConsumerContent(AbstractModel):
|
|
4008
3765
|
r"""
|
4009
3766
|
:param _EnableTag: 是否投递 TAG 信息。
|
4010
3767
|
当EnableTag为true时,表示投递TAG元信息。
|
4011
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4012
3768
|
:type EnableTag: bool
|
4013
3769
|
:param _MetaFields: 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_
|
4014
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4015
3770
|
:type MetaFields: list of str
|
4016
3771
|
:param _TagJsonNotTiled: 当EnableTag为true时,必须填写TagJsonNotTiled字段。
|
4017
3772
|
TagJsonNotTiled用于标识tag信息是否json平铺。
|
@@ -4023,10 +3778,8 @@ TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
|
4023
3778
|
TagJsonNotTiled为false时平铺,示例:
|
4024
3779
|
TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
4025
3780
|
平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}`
|
4026
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4027
3781
|
:type TagJsonNotTiled: bool
|
4028
3782
|
:param _TimestampAccuracy: 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是1。
|
4029
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4030
3783
|
:type TimestampAccuracy: int
|
4031
3784
|
:param _JsonType: 投递Json格式。
|
4032
3785
|
JsonType为0:和原始日志一致,不转义。示例:
|
@@ -4036,7 +3789,6 @@ JsonType为0:和原始日志一致,不转义。示例:
|
|
4036
3789
|
JsonType为1:转义。示例:
|
4037
3790
|
日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
|
4038
3791
|
投递到Ckafka:`{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}`
|
4039
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4040
3792
|
:type JsonType: int
|
4041
3793
|
"""
|
4042
3794
|
self._EnableTag = None
|
@@ -4049,7 +3801,6 @@ JsonType为1:转义。示例:
|
|
4049
3801
|
def EnableTag(self):
|
4050
3802
|
"""是否投递 TAG 信息。
|
4051
3803
|
当EnableTag为true时,表示投递TAG元信息。
|
4052
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4053
3804
|
:rtype: bool
|
4054
3805
|
"""
|
4055
3806
|
return self._EnableTag
|
@@ -4061,7 +3812,6 @@ JsonType为1:转义。示例:
|
|
4061
3812
|
@property
|
4062
3813
|
def MetaFields(self):
|
4063
3814
|
"""需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_
|
4064
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4065
3815
|
:rtype: list of str
|
4066
3816
|
"""
|
4067
3817
|
return self._MetaFields
|
@@ -4082,7 +3832,6 @@ TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
|
4082
3832
|
TagJsonNotTiled为false时平铺,示例:
|
4083
3833
|
TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
4084
3834
|
平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}`
|
4085
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4086
3835
|
:rtype: bool
|
4087
3836
|
"""
|
4088
3837
|
return self._TagJsonNotTiled
|
@@ -4094,7 +3843,6 @@ TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
|
4094
3843
|
@property
|
4095
3844
|
def TimestampAccuracy(self):
|
4096
3845
|
"""投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是1。
|
4097
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4098
3846
|
:rtype: int
|
4099
3847
|
"""
|
4100
3848
|
return self._TimestampAccuracy
|
@@ -4113,7 +3861,6 @@ JsonType为0:和原始日志一致,不转义。示例:
|
|
4113
3861
|
JsonType为1:转义。示例:
|
4114
3862
|
日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
|
4115
3863
|
投递到Ckafka:`{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}`
|
4116
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4117
3864
|
:rtype: int
|
4118
3865
|
"""
|
4119
3866
|
return self._JsonType
|
@@ -4160,10 +3907,8 @@ class ContainerFileInfo(AbstractModel):
|
|
4160
3907
|
注意:此字段可能返回 null,表示取不到有效值。
|
4161
3908
|
:type IncludeLabels: list of str
|
4162
3909
|
:param _WorkLoad: 工作负载信息
|
4163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4164
3910
|
:type WorkLoad: :class:`tencentcloud.cls.v20201016.models.ContainerWorkLoadInfo`
|
4165
3911
|
:param _ExcludeNamespace: 需要排除的namespace可以多个,用分隔号分割,例如A,B
|
4166
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4167
3912
|
:type ExcludeNamespace: str
|
4168
3913
|
:param _ExcludeLabels: 需要排除的pod标签信息
|
4169
3914
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4253,7 +3998,6 @@ class ContainerFileInfo(AbstractModel):
|
|
4253
3998
|
@property
|
4254
3999
|
def WorkLoad(self):
|
4255
4000
|
"""工作负载信息
|
4256
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4257
4001
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ContainerWorkLoadInfo`
|
4258
4002
|
"""
|
4259
4003
|
return self._WorkLoad
|
@@ -4265,7 +4009,6 @@ class ContainerFileInfo(AbstractModel):
|
|
4265
4009
|
@property
|
4266
4010
|
def ExcludeNamespace(self):
|
4267
4011
|
"""需要排除的namespace可以多个,用分隔号分割,例如A,B
|
4268
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4269
4012
|
:rtype: str
|
4270
4013
|
"""
|
4271
4014
|
return self._ExcludeNamespace
|
@@ -4337,10 +4080,8 @@ class ContainerStdoutInfo(AbstractModel):
|
|
4337
4080
|
:param _AllContainers: 是否所有容器
|
4338
4081
|
:type AllContainers: bool
|
4339
4082
|
:param _Container: container为空表所有的,不为空采集指定的容器
|
4340
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4341
4083
|
:type Container: str
|
4342
4084
|
:param _Namespace: namespace可以多个,用分隔号分割,例如A,B;为空或者没有这个字段,表示所有namespace
|
4343
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4344
4085
|
:type Namespace: str
|
4345
4086
|
:param _IncludeLabels: pod标签信息
|
4346
4087
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4349,7 +4090,6 @@ class ContainerStdoutInfo(AbstractModel):
|
|
4349
4090
|
注意:此字段可能返回 null,表示取不到有效值。
|
4350
4091
|
:type WorkLoads: list of ContainerWorkLoadInfo
|
4351
4092
|
:param _ExcludeNamespace: 需要排除的namespace可以多个,用分隔号分割,例如A,B
|
4352
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4353
4093
|
:type ExcludeNamespace: str
|
4354
4094
|
:param _ExcludeLabels: 需要排除的pod标签信息
|
4355
4095
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4381,7 +4121,6 @@ class ContainerStdoutInfo(AbstractModel):
|
|
4381
4121
|
@property
|
4382
4122
|
def Container(self):
|
4383
4123
|
"""container为空表所有的,不为空采集指定的容器
|
4384
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4385
4124
|
:rtype: str
|
4386
4125
|
"""
|
4387
4126
|
return self._Container
|
@@ -4393,7 +4132,6 @@ class ContainerStdoutInfo(AbstractModel):
|
|
4393
4132
|
@property
|
4394
4133
|
def Namespace(self):
|
4395
4134
|
"""namespace可以多个,用分隔号分割,例如A,B;为空或者没有这个字段,表示所有namespace
|
4396
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4397
4135
|
:rtype: str
|
4398
4136
|
"""
|
4399
4137
|
return self._Namespace
|
@@ -4429,7 +4167,6 @@ class ContainerStdoutInfo(AbstractModel):
|
|
4429
4167
|
@property
|
4430
4168
|
def ExcludeNamespace(self):
|
4431
4169
|
"""需要排除的namespace可以多个,用分隔号分割,例如A,B
|
4432
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4433
4170
|
:rtype: str
|
4434
4171
|
"""
|
4435
4172
|
return self._ExcludeNamespace
|
@@ -5815,299 +5552,16 @@ class CreateAlarmShieldResponse(AbstractModel):
|
|
5815
5552
|
self._RequestId = params.get("RequestId")
|
5816
5553
|
|
5817
5554
|
|
5818
|
-
class
|
5819
|
-
"""
|
5555
|
+
class CreateConfigExtraRequest(AbstractModel):
|
5556
|
+
"""CreateConfigExtra请求参数结构体
|
5820
5557
|
|
5821
5558
|
"""
|
5822
5559
|
|
5823
5560
|
def __init__(self):
|
5824
5561
|
r"""
|
5825
|
-
:param
|
5826
|
-
:type
|
5827
|
-
:param
|
5828
|
-
:type AssumerName: str
|
5829
|
-
: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
|
5830
|
-
:type LogType: str
|
5831
|
-
:param _CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
5832
|
-
- CDS所有日志类型:ap-guangzhou
|
5833
|
-
- CDB-AUDIT: gz
|
5834
|
-
- TDSQL-C-AUDIT: gz
|
5835
|
-
- MongoDB-AUDIT: gz
|
5836
|
-
- MongoDB-SlowLog:ap-guangzhou
|
5837
|
-
- MongoDB-ErrorLog:ap-guangzhou
|
5838
|
-
- TDMYSQL-SLOW:gz
|
5839
|
-
- DCDB所有日志类型:gz
|
5840
|
-
- MariaDB所有日志类型:gz
|
5841
|
-
- PostgreSQL所有日志类型:gz
|
5842
|
-
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
5843
|
-
- APIS所有日志类型:gz
|
5844
|
-
:type CloudProductRegion: str
|
5845
|
-
:param _ClsRegion: CLS目标地域
|
5846
|
-
:type ClsRegion: str
|
5847
|
-
:param _LogsetName: 日志集名称,未填LogsetId时必填。若日志集不存在, 将自动创建
|
5848
|
-
:type LogsetName: str
|
5849
|
-
:param _LogsetId: 日志集ID,若指定则代表选择已有日志集。选择已有日志集时,LogsetName可以不填
|
5850
|
-
:type LogsetId: str
|
5851
|
-
:param _TopicName: 日志主题名称,在未填TopicId时必填。 若日志主题不存在,将自动创建
|
5852
|
-
:type TopicName: str
|
5853
|
-
:param _TopicId: 日志主题ID,若指定则代表选择已有日志主题,选择已有日志主题时,TopicName可以不填
|
5854
|
-
:type TopicId: str
|
5855
|
-
:param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
5856
|
-
:type Extend: str
|
5857
|
-
"""
|
5858
|
-
self._InstanceId = None
|
5859
|
-
self._AssumerName = None
|
5860
|
-
self._LogType = None
|
5861
|
-
self._CloudProductRegion = None
|
5862
|
-
self._ClsRegion = None
|
5863
|
-
self._LogsetName = None
|
5864
|
-
self._LogsetId = None
|
5865
|
-
self._TopicName = None
|
5866
|
-
self._TopicId = None
|
5867
|
-
self._Extend = None
|
5868
|
-
|
5869
|
-
@property
|
5870
|
-
def InstanceId(self):
|
5871
|
-
"""实例ID
|
5872
|
-
:rtype: str
|
5873
|
-
"""
|
5874
|
-
return self._InstanceId
|
5875
|
-
|
5876
|
-
@InstanceId.setter
|
5877
|
-
def InstanceId(self, InstanceId):
|
5878
|
-
self._InstanceId = InstanceId
|
5879
|
-
|
5880
|
-
@property
|
5881
|
-
def AssumerName(self):
|
5882
|
-
"""云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
5883
|
-
:rtype: str
|
5884
|
-
"""
|
5885
|
-
return self._AssumerName
|
5886
|
-
|
5887
|
-
@AssumerName.setter
|
5888
|
-
def AssumerName(self, AssumerName):
|
5889
|
-
self._AssumerName = AssumerName
|
5890
|
-
|
5891
|
-
@property
|
5892
|
-
def LogType(self):
|
5893
|
-
"""日志类型,支持枚举: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
|
5894
|
-
:rtype: str
|
5895
|
-
"""
|
5896
|
-
return self._LogType
|
5897
|
-
|
5898
|
-
@LogType.setter
|
5899
|
-
def LogType(self, LogType):
|
5900
|
-
self._LogType = LogType
|
5901
|
-
|
5902
|
-
@property
|
5903
|
-
def CloudProductRegion(self):
|
5904
|
-
"""云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
5905
|
-
- CDS所有日志类型:ap-guangzhou
|
5906
|
-
- CDB-AUDIT: gz
|
5907
|
-
- TDSQL-C-AUDIT: gz
|
5908
|
-
- MongoDB-AUDIT: gz
|
5909
|
-
- MongoDB-SlowLog:ap-guangzhou
|
5910
|
-
- MongoDB-ErrorLog:ap-guangzhou
|
5911
|
-
- TDMYSQL-SLOW:gz
|
5912
|
-
- DCDB所有日志类型:gz
|
5913
|
-
- MariaDB所有日志类型:gz
|
5914
|
-
- PostgreSQL所有日志类型:gz
|
5915
|
-
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
5916
|
-
- APIS所有日志类型:gz
|
5917
|
-
:rtype: str
|
5918
|
-
"""
|
5919
|
-
return self._CloudProductRegion
|
5920
|
-
|
5921
|
-
@CloudProductRegion.setter
|
5922
|
-
def CloudProductRegion(self, CloudProductRegion):
|
5923
|
-
self._CloudProductRegion = CloudProductRegion
|
5924
|
-
|
5925
|
-
@property
|
5926
|
-
def ClsRegion(self):
|
5927
|
-
"""CLS目标地域
|
5928
|
-
:rtype: str
|
5929
|
-
"""
|
5930
|
-
return self._ClsRegion
|
5931
|
-
|
5932
|
-
@ClsRegion.setter
|
5933
|
-
def ClsRegion(self, ClsRegion):
|
5934
|
-
self._ClsRegion = ClsRegion
|
5935
|
-
|
5936
|
-
@property
|
5937
|
-
def LogsetName(self):
|
5938
|
-
"""日志集名称,未填LogsetId时必填。若日志集不存在, 将自动创建
|
5939
|
-
:rtype: str
|
5940
|
-
"""
|
5941
|
-
return self._LogsetName
|
5942
|
-
|
5943
|
-
@LogsetName.setter
|
5944
|
-
def LogsetName(self, LogsetName):
|
5945
|
-
self._LogsetName = LogsetName
|
5946
|
-
|
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
|
-
@property
|
5959
|
-
def TopicName(self):
|
5960
|
-
"""日志主题名称,在未填TopicId时必填。 若日志主题不存在,将自动创建
|
5961
|
-
:rtype: str
|
5962
|
-
"""
|
5963
|
-
return self._TopicName
|
5964
|
-
|
5965
|
-
@TopicName.setter
|
5966
|
-
def TopicName(self, TopicName):
|
5967
|
-
self._TopicName = TopicName
|
5968
|
-
|
5969
|
-
@property
|
5970
|
-
def TopicId(self):
|
5971
|
-
"""日志主题ID,若指定则代表选择已有日志主题,选择已有日志主题时,TopicName可以不填
|
5972
|
-
:rtype: str
|
5973
|
-
"""
|
5974
|
-
return self._TopicId
|
5975
|
-
|
5976
|
-
@TopicId.setter
|
5977
|
-
def TopicId(self, TopicId):
|
5978
|
-
self._TopicId = TopicId
|
5979
|
-
|
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
|
-
|
5992
|
-
def _deserialize(self, params):
|
5993
|
-
self._InstanceId = params.get("InstanceId")
|
5994
|
-
self._AssumerName = params.get("AssumerName")
|
5995
|
-
self._LogType = params.get("LogType")
|
5996
|
-
self._CloudProductRegion = params.get("CloudProductRegion")
|
5997
|
-
self._ClsRegion = params.get("ClsRegion")
|
5998
|
-
self._LogsetName = params.get("LogsetName")
|
5999
|
-
self._LogsetId = params.get("LogsetId")
|
6000
|
-
self._TopicName = params.get("TopicName")
|
6001
|
-
self._TopicId = params.get("TopicId")
|
6002
|
-
self._Extend = params.get("Extend")
|
6003
|
-
memeber_set = set(params.keys())
|
6004
|
-
for name, value in vars(self).items():
|
6005
|
-
property_name = name[1:]
|
6006
|
-
if property_name in memeber_set:
|
6007
|
-
memeber_set.remove(property_name)
|
6008
|
-
if len(memeber_set) > 0:
|
6009
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6010
|
-
|
6011
|
-
|
6012
|
-
|
6013
|
-
class CreateCloudProductLogTaskResponse(AbstractModel):
|
6014
|
-
"""CreateCloudProductLogTask返回参数结构体
|
6015
|
-
|
6016
|
-
"""
|
6017
|
-
|
6018
|
-
def __init__(self):
|
6019
|
-
r"""
|
6020
|
-
:param _TopicId: 日志主题ID
|
6021
|
-
:type TopicId: str
|
6022
|
-
:param _TopicName: 日志主题名称
|
6023
|
-
:type TopicName: str
|
6024
|
-
:param _LogsetId: 日志集ID
|
6025
|
-
:type LogsetId: str
|
6026
|
-
:param _LogsetName: 日志集名称
|
6027
|
-
:type LogsetName: str
|
6028
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6029
|
-
:type RequestId: str
|
6030
|
-
"""
|
6031
|
-
self._TopicId = None
|
6032
|
-
self._TopicName = None
|
6033
|
-
self._LogsetId = None
|
6034
|
-
self._LogsetName = None
|
6035
|
-
self._RequestId = None
|
6036
|
-
|
6037
|
-
@property
|
6038
|
-
def TopicId(self):
|
6039
|
-
"""日志主题ID
|
6040
|
-
:rtype: str
|
6041
|
-
"""
|
6042
|
-
return self._TopicId
|
6043
|
-
|
6044
|
-
@TopicId.setter
|
6045
|
-
def TopicId(self, TopicId):
|
6046
|
-
self._TopicId = TopicId
|
6047
|
-
|
6048
|
-
@property
|
6049
|
-
def TopicName(self):
|
6050
|
-
"""日志主题名称
|
6051
|
-
:rtype: str
|
6052
|
-
"""
|
6053
|
-
return self._TopicName
|
6054
|
-
|
6055
|
-
@TopicName.setter
|
6056
|
-
def TopicName(self, TopicName):
|
6057
|
-
self._TopicName = TopicName
|
6058
|
-
|
6059
|
-
@property
|
6060
|
-
def LogsetId(self):
|
6061
|
-
"""日志集ID
|
6062
|
-
:rtype: str
|
6063
|
-
"""
|
6064
|
-
return self._LogsetId
|
6065
|
-
|
6066
|
-
@LogsetId.setter
|
6067
|
-
def LogsetId(self, LogsetId):
|
6068
|
-
self._LogsetId = LogsetId
|
6069
|
-
|
6070
|
-
@property
|
6071
|
-
def LogsetName(self):
|
6072
|
-
"""日志集名称
|
6073
|
-
:rtype: str
|
6074
|
-
"""
|
6075
|
-
return self._LogsetName
|
6076
|
-
|
6077
|
-
@LogsetName.setter
|
6078
|
-
def LogsetName(self, LogsetName):
|
6079
|
-
self._LogsetName = LogsetName
|
6080
|
-
|
6081
|
-
@property
|
6082
|
-
def RequestId(self):
|
6083
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6084
|
-
:rtype: str
|
6085
|
-
"""
|
6086
|
-
return self._RequestId
|
6087
|
-
|
6088
|
-
@RequestId.setter
|
6089
|
-
def RequestId(self, RequestId):
|
6090
|
-
self._RequestId = RequestId
|
6091
|
-
|
6092
|
-
|
6093
|
-
def _deserialize(self, params):
|
6094
|
-
self._TopicId = params.get("TopicId")
|
6095
|
-
self._TopicName = params.get("TopicName")
|
6096
|
-
self._LogsetId = params.get("LogsetId")
|
6097
|
-
self._LogsetName = params.get("LogsetName")
|
6098
|
-
self._RequestId = params.get("RequestId")
|
6099
|
-
|
6100
|
-
|
6101
|
-
class CreateConfigExtraRequest(AbstractModel):
|
6102
|
-
"""CreateConfigExtra请求参数结构体
|
6103
|
-
|
6104
|
-
"""
|
6105
|
-
|
6106
|
-
def __init__(self):
|
6107
|
-
r"""
|
6108
|
-
:param _Name: 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾
|
6109
|
-
:type Name: str
|
6110
|
-
:param _TopicId: 日志主题id
|
5562
|
+
:param _Name: 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾
|
5563
|
+
:type Name: str
|
5564
|
+
:param _TopicId: 日志主题id
|
6111
5565
|
:type TopicId: str
|
6112
5566
|
:param _Type: 日志源类型。支持 container_stdout:容器标准输出;container_file:容器文件路径;host_file:节点文件路径。
|
6113
5567
|
:type Type: str
|
@@ -7150,7 +6604,6 @@ class CreateCosRechargeResponse(AbstractModel):
|
|
7150
6604
|
def __init__(self):
|
7151
6605
|
r"""
|
7152
6606
|
:param _Id: COS导入任务id
|
7153
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7154
6607
|
:type Id: str
|
7155
6608
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7156
6609
|
:type RequestId: str
|
@@ -7161,7 +6614,6 @@ class CreateCosRechargeResponse(AbstractModel):
|
|
7161
6614
|
@property
|
7162
6615
|
def Id(self):
|
7163
6616
|
"""COS导入任务id
|
7164
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7165
6617
|
:rtype: str
|
7166
6618
|
"""
|
7167
6619
|
return self._Id
|
@@ -10865,139 +10317,6 @@ class DeleteAlarmShieldResponse(AbstractModel):
|
|
10865
10317
|
self._RequestId = params.get("RequestId")
|
10866
10318
|
|
10867
10319
|
|
10868
|
-
class DeleteCloudProductLogTaskRequest(AbstractModel):
|
10869
|
-
"""DeleteCloudProductLogTask请求参数结构体
|
10870
|
-
|
10871
|
-
"""
|
10872
|
-
|
10873
|
-
def __init__(self):
|
10874
|
-
r"""
|
10875
|
-
:param _InstanceId: 实例ID
|
10876
|
-
:type InstanceId: str
|
10877
|
-
:param _AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
10878
|
-
:type AssumerName: str
|
10879
|
-
: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
|
10880
|
-
:type LogType: str
|
10881
|
-
:param _CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
10882
|
-
- CDS所有日志类型:ap-guangzhou
|
10883
|
-
- CDB-AUDIT: gz
|
10884
|
-
- TDSQL-C-AUDIT: gz
|
10885
|
-
- MongoDB-AUDIT: gz
|
10886
|
-
- MongoDB-SlowLog:ap-guangzhou
|
10887
|
-
- MongoDB-ErrorLog:ap-guangzhou
|
10888
|
-
- TDMYSQL-SLOW:gz
|
10889
|
-
- DCDB所有日志类型:gz
|
10890
|
-
- MariaDB所有日志类型:gz
|
10891
|
-
- PostgreSQL所有日志类型:gz
|
10892
|
-
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
10893
|
-
- APIS所有日志类型:gz
|
10894
|
-
:type CloudProductRegion: str
|
10895
|
-
"""
|
10896
|
-
self._InstanceId = None
|
10897
|
-
self._AssumerName = None
|
10898
|
-
self._LogType = None
|
10899
|
-
self._CloudProductRegion = None
|
10900
|
-
|
10901
|
-
@property
|
10902
|
-
def InstanceId(self):
|
10903
|
-
"""实例ID
|
10904
|
-
:rtype: str
|
10905
|
-
"""
|
10906
|
-
return self._InstanceId
|
10907
|
-
|
10908
|
-
@InstanceId.setter
|
10909
|
-
def InstanceId(self, InstanceId):
|
10910
|
-
self._InstanceId = InstanceId
|
10911
|
-
|
10912
|
-
@property
|
10913
|
-
def AssumerName(self):
|
10914
|
-
"""云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
10915
|
-
:rtype: str
|
10916
|
-
"""
|
10917
|
-
return self._AssumerName
|
10918
|
-
|
10919
|
-
@AssumerName.setter
|
10920
|
-
def AssumerName(self, AssumerName):
|
10921
|
-
self._AssumerName = AssumerName
|
10922
|
-
|
10923
|
-
@property
|
10924
|
-
def LogType(self):
|
10925
|
-
"""日志类型,支持枚举: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
|
10926
|
-
:rtype: str
|
10927
|
-
"""
|
10928
|
-
return self._LogType
|
10929
|
-
|
10930
|
-
@LogType.setter
|
10931
|
-
def LogType(self, LogType):
|
10932
|
-
self._LogType = LogType
|
10933
|
-
|
10934
|
-
@property
|
10935
|
-
def CloudProductRegion(self):
|
10936
|
-
"""云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
10937
|
-
- CDS所有日志类型:ap-guangzhou
|
10938
|
-
- CDB-AUDIT: gz
|
10939
|
-
- TDSQL-C-AUDIT: gz
|
10940
|
-
- MongoDB-AUDIT: gz
|
10941
|
-
- MongoDB-SlowLog:ap-guangzhou
|
10942
|
-
- MongoDB-ErrorLog:ap-guangzhou
|
10943
|
-
- TDMYSQL-SLOW:gz
|
10944
|
-
- DCDB所有日志类型:gz
|
10945
|
-
- MariaDB所有日志类型:gz
|
10946
|
-
- PostgreSQL所有日志类型:gz
|
10947
|
-
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
10948
|
-
- APIS所有日志类型:gz
|
10949
|
-
:rtype: str
|
10950
|
-
"""
|
10951
|
-
return self._CloudProductRegion
|
10952
|
-
|
10953
|
-
@CloudProductRegion.setter
|
10954
|
-
def CloudProductRegion(self, CloudProductRegion):
|
10955
|
-
self._CloudProductRegion = CloudProductRegion
|
10956
|
-
|
10957
|
-
|
10958
|
-
def _deserialize(self, params):
|
10959
|
-
self._InstanceId = params.get("InstanceId")
|
10960
|
-
self._AssumerName = params.get("AssumerName")
|
10961
|
-
self._LogType = params.get("LogType")
|
10962
|
-
self._CloudProductRegion = params.get("CloudProductRegion")
|
10963
|
-
memeber_set = set(params.keys())
|
10964
|
-
for name, value in vars(self).items():
|
10965
|
-
property_name = name[1:]
|
10966
|
-
if property_name in memeber_set:
|
10967
|
-
memeber_set.remove(property_name)
|
10968
|
-
if len(memeber_set) > 0:
|
10969
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10970
|
-
|
10971
|
-
|
10972
|
-
|
10973
|
-
class DeleteCloudProductLogTaskResponse(AbstractModel):
|
10974
|
-
"""DeleteCloudProductLogTask返回参数结构体
|
10975
|
-
|
10976
|
-
"""
|
10977
|
-
|
10978
|
-
def __init__(self):
|
10979
|
-
r"""
|
10980
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10981
|
-
:type RequestId: str
|
10982
|
-
"""
|
10983
|
-
self._RequestId = None
|
10984
|
-
|
10985
|
-
@property
|
10986
|
-
def RequestId(self):
|
10987
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10988
|
-
:rtype: str
|
10989
|
-
"""
|
10990
|
-
return self._RequestId
|
10991
|
-
|
10992
|
-
@RequestId.setter
|
10993
|
-
def RequestId(self, RequestId):
|
10994
|
-
self._RequestId = RequestId
|
10995
|
-
|
10996
|
-
|
10997
|
-
def _deserialize(self, params):
|
10998
|
-
self._RequestId = params.get("RequestId")
|
10999
|
-
|
11000
|
-
|
11001
10320
|
class DeleteConfigExtraRequest(AbstractModel):
|
11002
10321
|
"""DeleteConfigExtra请求参数结构体
|
11003
10322
|
|
@@ -12429,7 +11748,6 @@ class DescribeAlarmNoticesResponse(AbstractModel):
|
|
12429
11748
|
def __init__(self):
|
12430
11749
|
r"""
|
12431
11750
|
:param _AlarmNotices: 告警通知模板列表。
|
12432
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12433
11751
|
:type AlarmNotices: list of AlarmNotice
|
12434
11752
|
:param _TotalCount: 符合条件的告警通知模板总数。
|
12435
11753
|
:type TotalCount: int
|
@@ -12443,7 +11761,6 @@ class DescribeAlarmNoticesResponse(AbstractModel):
|
|
12443
11761
|
@property
|
12444
11762
|
def AlarmNotices(self):
|
12445
11763
|
"""告警通知模板列表。
|
12446
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12447
11764
|
:rtype: list of AlarmNotice
|
12448
11765
|
"""
|
12449
11766
|
return self._AlarmNotices
|
@@ -12823,203 +12140,49 @@ class DescribeAlertRecordHistoryRequest(AbstractModel):
|
|
12823
12140
|
def __init__(self):
|
12824
12141
|
r"""
|
12825
12142
|
:param _From: 查询时间范围启始时间,毫秒级unix时间戳
|
12826
|
-
:type From: int
|
12827
|
-
:param _To: 查询时间范围结束时间,毫秒级unix时间戳
|
12828
|
-
:type To: int
|
12829
|
-
:param _Offset: 分页的偏移量,默认值为0。
|
12830
|
-
:type Offset: int
|
12831
|
-
:param _Limit: 分页单页限制数目,最大值100。
|
12832
|
-
:type Limit: int
|
12833
|
-
:param _Filters: - alertId:按照告警策略ID进行过滤。类型:String 必选:否
|
12834
|
-
- topicId:按照监控对象ID进行过滤。类型:String 必选:否
|
12835
|
-
- status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效
|
12836
|
-
- alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急
|
12837
|
-
|
12838
|
-
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
12839
|
-
:type Filters: list of Filter
|
12840
|
-
"""
|
12841
|
-
self._From = None
|
12842
|
-
self._To = None
|
12843
|
-
self._Offset = None
|
12844
|
-
self._Limit = None
|
12845
|
-
self._Filters = None
|
12846
|
-
|
12847
|
-
@property
|
12848
|
-
def From(self):
|
12849
|
-
"""查询时间范围启始时间,毫秒级unix时间戳
|
12850
|
-
:rtype: int
|
12851
|
-
"""
|
12852
|
-
return self._From
|
12853
|
-
|
12854
|
-
@From.setter
|
12855
|
-
def From(self, From):
|
12856
|
-
self._From = From
|
12857
|
-
|
12858
|
-
@property
|
12859
|
-
def To(self):
|
12860
|
-
"""查询时间范围结束时间,毫秒级unix时间戳
|
12861
|
-
:rtype: int
|
12862
|
-
"""
|
12863
|
-
return self._To
|
12864
|
-
|
12865
|
-
@To.setter
|
12866
|
-
def To(self, To):
|
12867
|
-
self._To = To
|
12868
|
-
|
12869
|
-
@property
|
12870
|
-
def Offset(self):
|
12871
|
-
"""分页的偏移量,默认值为0。
|
12872
|
-
:rtype: int
|
12873
|
-
"""
|
12874
|
-
return self._Offset
|
12875
|
-
|
12876
|
-
@Offset.setter
|
12877
|
-
def Offset(self, Offset):
|
12878
|
-
self._Offset = Offset
|
12879
|
-
|
12880
|
-
@property
|
12881
|
-
def Limit(self):
|
12882
|
-
"""分页单页限制数目,最大值100。
|
12883
|
-
:rtype: int
|
12884
|
-
"""
|
12885
|
-
return self._Limit
|
12886
|
-
|
12887
|
-
@Limit.setter
|
12888
|
-
def Limit(self, Limit):
|
12889
|
-
self._Limit = Limit
|
12890
|
-
|
12891
|
-
@property
|
12892
|
-
def Filters(self):
|
12893
|
-
"""- alertId:按照告警策略ID进行过滤。类型:String 必选:否
|
12894
|
-
- topicId:按照监控对象ID进行过滤。类型:String 必选:否
|
12895
|
-
- status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效
|
12896
|
-
- alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急
|
12897
|
-
|
12898
|
-
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
12899
|
-
:rtype: list of Filter
|
12900
|
-
"""
|
12901
|
-
return self._Filters
|
12902
|
-
|
12903
|
-
@Filters.setter
|
12904
|
-
def Filters(self, Filters):
|
12905
|
-
self._Filters = Filters
|
12906
|
-
|
12907
|
-
|
12908
|
-
def _deserialize(self, params):
|
12909
|
-
self._From = params.get("From")
|
12910
|
-
self._To = params.get("To")
|
12911
|
-
self._Offset = params.get("Offset")
|
12912
|
-
self._Limit = params.get("Limit")
|
12913
|
-
if params.get("Filters") is not None:
|
12914
|
-
self._Filters = []
|
12915
|
-
for item in params.get("Filters"):
|
12916
|
-
obj = Filter()
|
12917
|
-
obj._deserialize(item)
|
12918
|
-
self._Filters.append(obj)
|
12919
|
-
memeber_set = set(params.keys())
|
12920
|
-
for name, value in vars(self).items():
|
12921
|
-
property_name = name[1:]
|
12922
|
-
if property_name in memeber_set:
|
12923
|
-
memeber_set.remove(property_name)
|
12924
|
-
if len(memeber_set) > 0:
|
12925
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12926
|
-
|
12927
|
-
|
12928
|
-
|
12929
|
-
class DescribeAlertRecordHistoryResponse(AbstractModel):
|
12930
|
-
"""DescribeAlertRecordHistory返回参数结构体
|
12931
|
-
|
12932
|
-
"""
|
12933
|
-
|
12934
|
-
def __init__(self):
|
12935
|
-
r"""
|
12936
|
-
:param _TotalCount: 告警历史总数
|
12937
|
-
:type TotalCount: int
|
12938
|
-
:param _Records: 告警历史详情
|
12939
|
-
:type Records: list of AlertHistoryRecord
|
12940
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12941
|
-
:type RequestId: str
|
12942
|
-
"""
|
12943
|
-
self._TotalCount = None
|
12944
|
-
self._Records = None
|
12945
|
-
self._RequestId = None
|
12946
|
-
|
12947
|
-
@property
|
12948
|
-
def TotalCount(self):
|
12949
|
-
"""告警历史总数
|
12950
|
-
:rtype: int
|
12951
|
-
"""
|
12952
|
-
return self._TotalCount
|
12953
|
-
|
12954
|
-
@TotalCount.setter
|
12955
|
-
def TotalCount(self, TotalCount):
|
12956
|
-
self._TotalCount = TotalCount
|
12957
|
-
|
12958
|
-
@property
|
12959
|
-
def Records(self):
|
12960
|
-
"""告警历史详情
|
12961
|
-
:rtype: list of AlertHistoryRecord
|
12962
|
-
"""
|
12963
|
-
return self._Records
|
12964
|
-
|
12965
|
-
@Records.setter
|
12966
|
-
def Records(self, Records):
|
12967
|
-
self._Records = Records
|
12968
|
-
|
12969
|
-
@property
|
12970
|
-
def RequestId(self):
|
12971
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12972
|
-
:rtype: str
|
12973
|
-
"""
|
12974
|
-
return self._RequestId
|
12975
|
-
|
12976
|
-
@RequestId.setter
|
12977
|
-
def RequestId(self, RequestId):
|
12978
|
-
self._RequestId = RequestId
|
12979
|
-
|
12980
|
-
|
12981
|
-
def _deserialize(self, params):
|
12982
|
-
self._TotalCount = params.get("TotalCount")
|
12983
|
-
if params.get("Records") is not None:
|
12984
|
-
self._Records = []
|
12985
|
-
for item in params.get("Records"):
|
12986
|
-
obj = AlertHistoryRecord()
|
12987
|
-
obj._deserialize(item)
|
12988
|
-
self._Records.append(obj)
|
12989
|
-
self._RequestId = params.get("RequestId")
|
12990
|
-
|
12991
|
-
|
12992
|
-
class DescribeCloudProductLogTasksRequest(AbstractModel):
|
12993
|
-
"""DescribeCloudProductLogTasks请求参数结构体
|
12994
|
-
|
12995
|
-
"""
|
12996
|
-
|
12997
|
-
def __init__(self):
|
12998
|
-
r"""
|
12143
|
+
:type From: int
|
12144
|
+
:param _To: 查询时间范围结束时间,毫秒级unix时间戳
|
12145
|
+
:type To: int
|
12999
12146
|
:param _Offset: 分页的偏移量,默认值为0。
|
13000
12147
|
:type Offset: int
|
13001
|
-
:param _Limit:
|
12148
|
+
:param _Limit: 分页单页限制数目,最大值100。
|
13002
12149
|
:type Limit: int
|
13003
|
-
:param _Filters: -
|
13004
|
-
|
13005
|
-
|
13006
|
-
|
13007
|
-
|
13008
|
-
|
13009
|
-
- 按照【日志类型】进行过滤。
|
13010
|
-
- 类型:String
|
13011
|
-
- 必选:否
|
13012
|
-
- 枚举: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
|
13013
|
-
- instanceId
|
13014
|
-
- 按照【实例ID】进行过滤。
|
13015
|
-
- 类型:String
|
13016
|
-
- 必选:否
|
12150
|
+
:param _Filters: - alertId:按照告警策略ID进行过滤。类型:String 必选:否
|
12151
|
+
- topicId:按照监控对象ID进行过滤。类型:String 必选:否
|
12152
|
+
- status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效
|
12153
|
+
- alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急
|
12154
|
+
|
12155
|
+
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
13017
12156
|
:type Filters: list of Filter
|
13018
12157
|
"""
|
12158
|
+
self._From = None
|
12159
|
+
self._To = None
|
13019
12160
|
self._Offset = None
|
13020
12161
|
self._Limit = None
|
13021
12162
|
self._Filters = None
|
13022
12163
|
|
12164
|
+
@property
|
12165
|
+
def From(self):
|
12166
|
+
"""查询时间范围启始时间,毫秒级unix时间戳
|
12167
|
+
:rtype: int
|
12168
|
+
"""
|
12169
|
+
return self._From
|
12170
|
+
|
12171
|
+
@From.setter
|
12172
|
+
def From(self, From):
|
12173
|
+
self._From = From
|
12174
|
+
|
12175
|
+
@property
|
12176
|
+
def To(self):
|
12177
|
+
"""查询时间范围结束时间,毫秒级unix时间戳
|
12178
|
+
:rtype: int
|
12179
|
+
"""
|
12180
|
+
return self._To
|
12181
|
+
|
12182
|
+
@To.setter
|
12183
|
+
def To(self, To):
|
12184
|
+
self._To = To
|
12185
|
+
|
13023
12186
|
@property
|
13024
12187
|
def Offset(self):
|
13025
12188
|
"""分页的偏移量,默认值为0。
|
@@ -13033,7 +12196,7 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
|
|
13033
12196
|
|
13034
12197
|
@property
|
13035
12198
|
def Limit(self):
|
13036
|
-
"""
|
12199
|
+
"""分页单页限制数目,最大值100。
|
13037
12200
|
:rtype: int
|
13038
12201
|
"""
|
13039
12202
|
return self._Limit
|
@@ -13044,20 +12207,12 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
|
|
13044
12207
|
|
13045
12208
|
@property
|
13046
12209
|
def Filters(self):
|
13047
|
-
"""-
|
13048
|
-
|
13049
|
-
|
13050
|
-
|
13051
|
-
|
13052
|
-
|
13053
|
-
- 按照【日志类型】进行过滤。
|
13054
|
-
- 类型:String
|
13055
|
-
- 必选:否
|
13056
|
-
- 枚举: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
|
13057
|
-
- instanceId
|
13058
|
-
- 按照【实例ID】进行过滤。
|
13059
|
-
- 类型:String
|
13060
|
-
- 必选:否
|
12210
|
+
"""- alertId:按照告警策略ID进行过滤。类型:String 必选:否
|
12211
|
+
- topicId:按照监控对象ID进行过滤。类型:String 必选:否
|
12212
|
+
- status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效
|
12213
|
+
- alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急
|
12214
|
+
|
12215
|
+
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
13061
12216
|
:rtype: list of Filter
|
13062
12217
|
"""
|
13063
12218
|
return self._Filters
|
@@ -13068,6 +12223,8 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
|
|
13068
12223
|
|
13069
12224
|
|
13070
12225
|
def _deserialize(self, params):
|
12226
|
+
self._From = params.get("From")
|
12227
|
+
self._To = params.get("To")
|
13071
12228
|
self._Offset = params.get("Offset")
|
13072
12229
|
self._Limit = params.get("Limit")
|
13073
12230
|
if params.get("Filters") is not None:
|
@@ -13086,38 +12243,27 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
|
|
13086
12243
|
|
13087
12244
|
|
13088
12245
|
|
13089
|
-
class
|
13090
|
-
"""
|
12246
|
+
class DescribeAlertRecordHistoryResponse(AbstractModel):
|
12247
|
+
"""DescribeAlertRecordHistory返回参数结构体
|
13091
12248
|
|
13092
12249
|
"""
|
13093
12250
|
|
13094
12251
|
def __init__(self):
|
13095
12252
|
r"""
|
13096
|
-
:param
|
13097
|
-
:type Tasks: list of CloudProductLogTaskInfo
|
13098
|
-
:param _TotalCount: 日志配置总数
|
12253
|
+
:param _TotalCount: 告警历史总数
|
13099
12254
|
:type TotalCount: int
|
12255
|
+
:param _Records: 告警历史详情
|
12256
|
+
:type Records: list of AlertHistoryRecord
|
13100
12257
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13101
12258
|
:type RequestId: str
|
13102
12259
|
"""
|
13103
|
-
self._Tasks = None
|
13104
12260
|
self._TotalCount = None
|
12261
|
+
self._Records = None
|
13105
12262
|
self._RequestId = None
|
13106
12263
|
|
13107
|
-
@property
|
13108
|
-
def Tasks(self):
|
13109
|
-
"""日志配置详情列表
|
13110
|
-
:rtype: list of CloudProductLogTaskInfo
|
13111
|
-
"""
|
13112
|
-
return self._Tasks
|
13113
|
-
|
13114
|
-
@Tasks.setter
|
13115
|
-
def Tasks(self, Tasks):
|
13116
|
-
self._Tasks = Tasks
|
13117
|
-
|
13118
12264
|
@property
|
13119
12265
|
def TotalCount(self):
|
13120
|
-
"""
|
12266
|
+
"""告警历史总数
|
13121
12267
|
:rtype: int
|
13122
12268
|
"""
|
13123
12269
|
return self._TotalCount
|
@@ -13126,6 +12272,17 @@ class DescribeCloudProductLogTasksResponse(AbstractModel):
|
|
13126
12272
|
def TotalCount(self, TotalCount):
|
13127
12273
|
self._TotalCount = TotalCount
|
13128
12274
|
|
12275
|
+
@property
|
12276
|
+
def Records(self):
|
12277
|
+
"""告警历史详情
|
12278
|
+
:rtype: list of AlertHistoryRecord
|
12279
|
+
"""
|
12280
|
+
return self._Records
|
12281
|
+
|
12282
|
+
@Records.setter
|
12283
|
+
def Records(self, Records):
|
12284
|
+
self._Records = Records
|
12285
|
+
|
13129
12286
|
@property
|
13130
12287
|
def RequestId(self):
|
13131
12288
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -13139,13 +12296,13 @@ class DescribeCloudProductLogTasksResponse(AbstractModel):
|
|
13139
12296
|
|
13140
12297
|
|
13141
12298
|
def _deserialize(self, params):
|
13142
|
-
if params.get("Tasks") is not None:
|
13143
|
-
self._Tasks = []
|
13144
|
-
for item in params.get("Tasks"):
|
13145
|
-
obj = CloudProductLogTaskInfo()
|
13146
|
-
obj._deserialize(item)
|
13147
|
-
self._Tasks.append(obj)
|
13148
12299
|
self._TotalCount = params.get("TotalCount")
|
12300
|
+
if params.get("Records") is not None:
|
12301
|
+
self._Records = []
|
12302
|
+
for item in params.get("Records"):
|
12303
|
+
obj = AlertHistoryRecord()
|
12304
|
+
obj._deserialize(item)
|
12305
|
+
self._Records.append(obj)
|
13149
12306
|
self._RequestId = params.get("RequestId")
|
13150
12307
|
|
13151
12308
|
|
@@ -13673,7 +12830,6 @@ class DescribeConsumerResponse(AbstractModel):
|
|
13673
12830
|
:param _Ckafka: CKafka的描述
|
13674
12831
|
:type Ckafka: :class:`tencentcloud.cls.v20201016.models.Ckafka`
|
13675
12832
|
:param _Compression: 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
|
13676
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13677
12833
|
:type Compression: int
|
13678
12834
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13679
12835
|
:type RequestId: str
|
@@ -13733,7 +12889,6 @@ class DescribeConsumerResponse(AbstractModel):
|
|
13733
12889
|
@property
|
13734
12890
|
def Compression(self):
|
13735
12891
|
"""压缩方式[0:NONE;2:SNAPPY;3:LZ4]
|
13736
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13737
12892
|
:rtype: int
|
13738
12893
|
"""
|
13739
12894
|
return self._Compression
|
@@ -13841,7 +12996,6 @@ class DescribeCosRechargesResponse(AbstractModel):
|
|
13841
12996
|
def __init__(self):
|
13842
12997
|
r"""
|
13843
12998
|
:param _Data: 见: CosRechargeInfo 结构描述
|
13844
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13845
12999
|
:type Data: list of CosRechargeInfo
|
13846
13000
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13847
13001
|
:type RequestId: str
|
@@ -13852,7 +13006,6 @@ class DescribeCosRechargesResponse(AbstractModel):
|
|
13852
13006
|
@property
|
13853
13007
|
def Data(self):
|
13854
13008
|
"""见: CosRechargeInfo 结构描述
|
13855
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13856
13009
|
:rtype: list of CosRechargeInfo
|
13857
13010
|
"""
|
13858
13011
|
return self._Data
|
@@ -14550,13 +13703,11 @@ class DescribeIndexResponse(AbstractModel):
|
|
14550
13703
|
:param _IncludeInternalFields: 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引
|
14551
13704
|
* false:不包含
|
14552
13705
|
* true:包含
|
14553
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14554
13706
|
:type IncludeInternalFields: bool
|
14555
13707
|
:param _MetadataFlag: 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引
|
14556
13708
|
* 0:仅包含开启键值索引的元数据字段
|
14557
13709
|
* 1:包含所有元数据字段
|
14558
13710
|
* 2:不包含任何元数据字段
|
14559
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14560
13711
|
:type MetadataFlag: int
|
14561
13712
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14562
13713
|
:type RequestId: str
|
@@ -14619,7 +13770,6 @@ class DescribeIndexResponse(AbstractModel):
|
|
14619
13770
|
"""内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引
|
14620
13771
|
* false:不包含
|
14621
13772
|
* true:包含
|
14622
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14623
13773
|
:rtype: bool
|
14624
13774
|
"""
|
14625
13775
|
return self._IncludeInternalFields
|
@@ -14634,7 +13784,6 @@ class DescribeIndexResponse(AbstractModel):
|
|
14634
13784
|
* 0:仅包含开启键值索引的元数据字段
|
14635
13785
|
* 1:包含所有元数据字段
|
14636
13786
|
* 2:不包含任何元数据字段
|
14637
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14638
13787
|
:rtype: int
|
14639
13788
|
"""
|
14640
13789
|
return self._MetadataFlag
|
@@ -15756,7 +14905,6 @@ class DescribeMachineGroupsResponse(AbstractModel):
|
|
15756
14905
|
def __init__(self):
|
15757
14906
|
r"""
|
15758
14907
|
:param _MachineGroups: 机器组信息列表
|
15759
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15760
14908
|
:type MachineGroups: list of MachineGroupInfo
|
15761
14909
|
:param _TotalCount: 分页的总数目
|
15762
14910
|
:type TotalCount: int
|
@@ -15770,7 +14918,6 @@ class DescribeMachineGroupsResponse(AbstractModel):
|
|
15770
14918
|
@property
|
15771
14919
|
def MachineGroups(self):
|
15772
14920
|
"""机器组信息列表
|
15773
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15774
14921
|
:rtype: list of MachineGroupInfo
|
15775
14922
|
"""
|
15776
14923
|
return self._MachineGroups
|
@@ -15973,7 +15120,6 @@ class DescribeMachinesResponse(AbstractModel):
|
|
15973
15120
|
:param _ServiceLogging: 是否开启服务日志
|
15974
15121
|
:type ServiceLogging: bool
|
15975
15122
|
:param _TotalCount: 总数目
|
15976
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15977
15123
|
:type TotalCount: int
|
15978
15124
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15979
15125
|
:type RequestId: str
|
@@ -16056,7 +15202,6 @@ class DescribeMachinesResponse(AbstractModel):
|
|
16056
15202
|
@property
|
16057
15203
|
def TotalCount(self):
|
16058
15204
|
"""总数目
|
16059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16060
15205
|
:rtype: int
|
16061
15206
|
"""
|
16062
15207
|
return self._TotalCount
|
@@ -16192,7 +15337,6 @@ class DescribeNoticeContentsResponse(AbstractModel):
|
|
16192
15337
|
def __init__(self):
|
16193
15338
|
r"""
|
16194
15339
|
:param _NoticeContents: 通知内容模板列表。
|
16195
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16196
15340
|
:type NoticeContents: list of NoticeContentTemplate
|
16197
15341
|
:param _TotalCount: 符合条件的通知内容模板总数。
|
16198
15342
|
:type TotalCount: int
|
@@ -16206,7 +15350,6 @@ class DescribeNoticeContentsResponse(AbstractModel):
|
|
16206
15350
|
@property
|
16207
15351
|
def NoticeContents(self):
|
16208
15352
|
"""通知内容模板列表。
|
16209
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16210
15353
|
:rtype: list of NoticeContentTemplate
|
16211
15354
|
"""
|
16212
15355
|
return self._NoticeContents
|
@@ -16755,7 +15898,6 @@ class DescribeShippersResponse(AbstractModel):
|
|
16755
15898
|
def __init__(self):
|
16756
15899
|
r"""
|
16757
15900
|
:param _Shippers: 投递规则列表
|
16758
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16759
15901
|
:type Shippers: list of ShipperInfo
|
16760
15902
|
:param _TotalCount: 本次查询获取到的总数
|
16761
15903
|
:type TotalCount: int
|
@@ -16769,7 +15911,6 @@ class DescribeShippersResponse(AbstractModel):
|
|
16769
15911
|
@property
|
16770
15912
|
def Shippers(self):
|
16771
15913
|
"""投递规则列表
|
16772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16773
15914
|
:rtype: list of ShipperInfo
|
16774
15915
|
"""
|
16775
15916
|
return self._Shippers
|
@@ -17111,7 +16252,6 @@ class DescribeWebCallbacksResponse(AbstractModel):
|
|
17111
16252
|
def __init__(self):
|
17112
16253
|
r"""
|
17113
16254
|
:param _WebCallbacks: 告警渠道回调配置列表。
|
17114
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17115
16255
|
:type WebCallbacks: list of WebCallbackInfo
|
17116
16256
|
:param _TotalCount: 符合条件的通知内容配置总数。
|
17117
16257
|
:type TotalCount: int
|
@@ -17125,7 +16265,6 @@ class DescribeWebCallbacksResponse(AbstractModel):
|
|
17125
16265
|
@property
|
17126
16266
|
def WebCallbacks(self):
|
17127
16267
|
"""告警渠道回调配置列表。
|
17128
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
17129
16268
|
:rtype: list of WebCallbackInfo
|
17130
16269
|
"""
|
17131
16270
|
return self._WebCallbacks
|
@@ -22056,154 +21195,6 @@ class ModifyAlarmShieldResponse(AbstractModel):
|
|
22056
21195
|
self._RequestId = params.get("RequestId")
|
22057
21196
|
|
22058
21197
|
|
22059
|
-
class ModifyCloudProductLogTaskRequest(AbstractModel):
|
22060
|
-
"""ModifyCloudProductLogTask请求参数结构体
|
22061
|
-
|
22062
|
-
"""
|
22063
|
-
|
22064
|
-
def __init__(self):
|
22065
|
-
r"""
|
22066
|
-
:param _InstanceId: 实例ID
|
22067
|
-
:type InstanceId: str
|
22068
|
-
:param _AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
22069
|
-
:type AssumerName: str
|
22070
|
-
: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
|
22071
|
-
:type LogType: str
|
22072
|
-
:param _CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
22073
|
-
- CDS所有日志类型:ap-guangzhou
|
22074
|
-
- CDB-AUDIT: gz
|
22075
|
-
- TDSQL-C-AUDIT: gz
|
22076
|
-
- MongoDB-AUDIT: gz
|
22077
|
-
- MongoDB-SlowLog:ap-guangzhou
|
22078
|
-
- MongoDB-ErrorLog:ap-guangzhou
|
22079
|
-
- TDMYSQL-SLOW:gz
|
22080
|
-
- DCDB所有日志类型:gz
|
22081
|
-
- MariaDB所有日志类型:gz
|
22082
|
-
- PostgreSQL所有日志类型:gz
|
22083
|
-
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
22084
|
-
- APIS所有日志类型:gz
|
22085
|
-
:type CloudProductRegion: str
|
22086
|
-
:param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
22087
|
-
:type Extend: str
|
22088
|
-
"""
|
22089
|
-
self._InstanceId = None
|
22090
|
-
self._AssumerName = None
|
22091
|
-
self._LogType = None
|
22092
|
-
self._CloudProductRegion = None
|
22093
|
-
self._Extend = None
|
22094
|
-
|
22095
|
-
@property
|
22096
|
-
def InstanceId(self):
|
22097
|
-
"""实例ID
|
22098
|
-
:rtype: str
|
22099
|
-
"""
|
22100
|
-
return self._InstanceId
|
22101
|
-
|
22102
|
-
@InstanceId.setter
|
22103
|
-
def InstanceId(self, InstanceId):
|
22104
|
-
self._InstanceId = InstanceId
|
22105
|
-
|
22106
|
-
@property
|
22107
|
-
def AssumerName(self):
|
22108
|
-
"""云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
22109
|
-
:rtype: str
|
22110
|
-
"""
|
22111
|
-
return self._AssumerName
|
22112
|
-
|
22113
|
-
@AssumerName.setter
|
22114
|
-
def AssumerName(self, AssumerName):
|
22115
|
-
self._AssumerName = AssumerName
|
22116
|
-
|
22117
|
-
@property
|
22118
|
-
def LogType(self):
|
22119
|
-
"""日志类型,支持枚举: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
|
22120
|
-
:rtype: str
|
22121
|
-
"""
|
22122
|
-
return self._LogType
|
22123
|
-
|
22124
|
-
@LogType.setter
|
22125
|
-
def LogType(self, LogType):
|
22126
|
-
self._LogType = LogType
|
22127
|
-
|
22128
|
-
@property
|
22129
|
-
def CloudProductRegion(self):
|
22130
|
-
"""云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
22131
|
-
- CDS所有日志类型:ap-guangzhou
|
22132
|
-
- CDB-AUDIT: gz
|
22133
|
-
- TDSQL-C-AUDIT: gz
|
22134
|
-
- MongoDB-AUDIT: gz
|
22135
|
-
- MongoDB-SlowLog:ap-guangzhou
|
22136
|
-
- MongoDB-ErrorLog:ap-guangzhou
|
22137
|
-
- TDMYSQL-SLOW:gz
|
22138
|
-
- DCDB所有日志类型:gz
|
22139
|
-
- MariaDB所有日志类型:gz
|
22140
|
-
- PostgreSQL所有日志类型:gz
|
22141
|
-
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
22142
|
-
- APIS所有日志类型:gz
|
22143
|
-
:rtype: str
|
22144
|
-
"""
|
22145
|
-
return self._CloudProductRegion
|
22146
|
-
|
22147
|
-
@CloudProductRegion.setter
|
22148
|
-
def CloudProductRegion(self, CloudProductRegion):
|
22149
|
-
self._CloudProductRegion = CloudProductRegion
|
22150
|
-
|
22151
|
-
@property
|
22152
|
-
def Extend(self):
|
22153
|
-
"""日志配置拓展信息, 一般用于存储额外的日志投递配置
|
22154
|
-
:rtype: str
|
22155
|
-
"""
|
22156
|
-
return self._Extend
|
22157
|
-
|
22158
|
-
@Extend.setter
|
22159
|
-
def Extend(self, Extend):
|
22160
|
-
self._Extend = Extend
|
22161
|
-
|
22162
|
-
|
22163
|
-
def _deserialize(self, params):
|
22164
|
-
self._InstanceId = params.get("InstanceId")
|
22165
|
-
self._AssumerName = params.get("AssumerName")
|
22166
|
-
self._LogType = params.get("LogType")
|
22167
|
-
self._CloudProductRegion = params.get("CloudProductRegion")
|
22168
|
-
self._Extend = params.get("Extend")
|
22169
|
-
memeber_set = set(params.keys())
|
22170
|
-
for name, value in vars(self).items():
|
22171
|
-
property_name = name[1:]
|
22172
|
-
if property_name in memeber_set:
|
22173
|
-
memeber_set.remove(property_name)
|
22174
|
-
if len(memeber_set) > 0:
|
22175
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22176
|
-
|
22177
|
-
|
22178
|
-
|
22179
|
-
class ModifyCloudProductLogTaskResponse(AbstractModel):
|
22180
|
-
"""ModifyCloudProductLogTask返回参数结构体
|
22181
|
-
|
22182
|
-
"""
|
22183
|
-
|
22184
|
-
def __init__(self):
|
22185
|
-
r"""
|
22186
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22187
|
-
:type RequestId: str
|
22188
|
-
"""
|
22189
|
-
self._RequestId = None
|
22190
|
-
|
22191
|
-
@property
|
22192
|
-
def RequestId(self):
|
22193
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22194
|
-
:rtype: str
|
22195
|
-
"""
|
22196
|
-
return self._RequestId
|
22197
|
-
|
22198
|
-
@RequestId.setter
|
22199
|
-
def RequestId(self, RequestId):
|
22200
|
-
self._RequestId = RequestId
|
22201
|
-
|
22202
|
-
|
22203
|
-
def _deserialize(self, params):
|
22204
|
-
self._RequestId = params.get("RequestId")
|
22205
|
-
|
22206
|
-
|
22207
21198
|
class ModifyConfigExtraRequest(AbstractModel):
|
22208
21199
|
"""ModifyConfigExtra请求参数结构体
|
22209
21200
|
|
@@ -26805,7 +25796,6 @@ class PreviewKafkaRechargeResponse(AbstractModel):
|
|
26805
25796
|
:param _LogSample: 日志样例,PreviewType为2时返回
|
26806
25797
|
:type LogSample: str
|
26807
25798
|
:param _LogData: 日志预览结果
|
26808
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26809
25799
|
:type LogData: str
|
26810
25800
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26811
25801
|
:type RequestId: str
|
@@ -26828,7 +25818,6 @@ class PreviewKafkaRechargeResponse(AbstractModel):
|
|
26828
25818
|
@property
|
26829
25819
|
def LogData(self):
|
26830
25820
|
"""日志预览结果
|
26831
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26832
25821
|
:rtype: str
|
26833
25822
|
"""
|
26834
25823
|
return self._LogData
|
@@ -28148,15 +27137,12 @@ class SearchCosRechargeInfoResponse(AbstractModel):
|
|
28148
27137
|
def __init__(self):
|
28149
27138
|
r"""
|
28150
27139
|
:param _Data: 匹配到的存储桶下的某个文件的前几行数据
|
28151
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28152
27140
|
:type Data: list of str
|
28153
27141
|
:param _Sum: 匹配到的存储桶下的文件个数
|
28154
27142
|
:type Sum: int
|
28155
27143
|
:param _Path: 当前预览文件路径
|
28156
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28157
27144
|
:type Path: str
|
28158
27145
|
:param _Msg: 预览获取数据失败原因
|
28159
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28160
27146
|
:type Msg: str
|
28161
27147
|
:param _Status: 状态
|
28162
27148
|
:type Status: int
|
@@ -28173,7 +27159,6 @@ class SearchCosRechargeInfoResponse(AbstractModel):
|
|
28173
27159
|
@property
|
28174
27160
|
def Data(self):
|
28175
27161
|
"""匹配到的存储桶下的某个文件的前几行数据
|
28176
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28177
27162
|
:rtype: list of str
|
28178
27163
|
"""
|
28179
27164
|
return self._Data
|
@@ -28196,7 +27181,6 @@ class SearchCosRechargeInfoResponse(AbstractModel):
|
|
28196
27181
|
@property
|
28197
27182
|
def Path(self):
|
28198
27183
|
"""当前预览文件路径
|
28199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28200
27184
|
:rtype: str
|
28201
27185
|
"""
|
28202
27186
|
return self._Path
|
@@ -28208,7 +27192,6 @@ class SearchCosRechargeInfoResponse(AbstractModel):
|
|
28208
27192
|
@property
|
28209
27193
|
def Msg(self):
|
28210
27194
|
"""预览获取数据失败原因
|
28211
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28212
27195
|
:rtype: str
|
28213
27196
|
"""
|
28214
27197
|
return self._Msg
|
@@ -28812,7 +27795,6 @@ class SearchLogResponse(AbstractModel):
|
|
28812
27795
|
注意:此字段可能返回 null,表示取不到有效值。
|
28813
27796
|
:type Columns: list of Column
|
28814
27797
|
:param _SamplingRate: 本次统计分析使用的采样率
|
28815
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28816
27798
|
:type SamplingRate: float
|
28817
27799
|
:param _Topics: 使用多日志主题检索时,各个日志主题的基本信息,例如报错信息。
|
28818
27800
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -28935,7 +27917,6 @@ class SearchLogResponse(AbstractModel):
|
|
28935
27917
|
@property
|
28936
27918
|
def SamplingRate(self):
|
28937
27919
|
"""本次统计分析使用的采样率
|
28938
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
28939
27920
|
:rtype: float
|
28940
27921
|
"""
|
28941
27922
|
return self._SamplingRate
|
@@ -29717,10 +28698,8 @@ class Tag(AbstractModel):
|
|
29717
28698
|
def __init__(self):
|
29718
28699
|
r"""
|
29719
28700
|
:param _Key: 标签键
|
29720
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29721
28701
|
:type Key: str
|
29722
28702
|
:param _Value: 标签值
|
29723
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29724
28703
|
:type Value: str
|
29725
28704
|
"""
|
29726
28705
|
self._Key = None
|
@@ -29729,7 +28708,6 @@ class Tag(AbstractModel):
|
|
29729
28708
|
@property
|
29730
28709
|
def Key(self):
|
29731
28710
|
"""标签键
|
29732
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29733
28711
|
:rtype: str
|
29734
28712
|
"""
|
29735
28713
|
return self._Key
|
@@ -29741,7 +28719,6 @@ class Tag(AbstractModel):
|
|
29741
28719
|
@property
|
29742
28720
|
def Value(self):
|
29743
28721
|
"""标签值
|
29744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29745
28722
|
:rtype: str
|
29746
28723
|
"""
|
29747
28724
|
return self._Value
|
@@ -29915,7 +28892,6 @@ class TopicInfo(AbstractModel):
|
|
29915
28892
|
:param _Index: 主题是否开启索引(主题类型需为日志主题)
|
29916
28893
|
:type Index: bool
|
29917
28894
|
:param _AssumerName: 云产品标识,主题由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
|
29918
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29919
28895
|
:type AssumerName: str
|
29920
28896
|
:param _CreateTime: 创建时间
|
29921
28897
|
:type CreateTime: str
|
@@ -29924,25 +28900,19 @@ class TopicInfo(AbstractModel):
|
|
29924
28900
|
控制台目前不支持修改此参数。
|
29925
28901
|
:type Status: bool
|
29926
28902
|
:param _Tags: 主题绑定的标签信息
|
29927
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29928
28903
|
:type Tags: list of Tag
|
29929
28904
|
:param _AutoSplit: 该主题是否开启自动分裂
|
29930
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29931
28905
|
:type AutoSplit: bool
|
29932
28906
|
:param _MaxSplitPartitions: 若开启自动分裂的话,该主题能够允许的最大分区数
|
29933
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29934
28907
|
:type MaxSplitPartitions: int
|
29935
28908
|
:param _StorageType: 主题的存储类型
|
29936
28909
|
|
29937
28910
|
- hot: 标准存储
|
29938
28911
|
- cold: 低频存储
|
29939
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29940
28912
|
:type StorageType: str
|
29941
28913
|
:param _Period: 生命周期,单位天,可取值范围1~3600。取值为3640时代表永久保存
|
29942
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29943
28914
|
:type Period: int
|
29944
28915
|
:param _SubAssumerName: 云产品二级标识,日志主题由其它云产品创建时,该字段会显示云产品名称及其日志类型的二级分类,例如TKE-Audit、TKE-Event。部分云产品仅有云产品标识(AssumerName),无该字段。
|
29945
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29946
28916
|
:type SubAssumerName: str
|
29947
28917
|
:param _Describes: 主题描述
|
29948
28918
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -29950,28 +28920,22 @@ class TopicInfo(AbstractModel):
|
|
29950
28920
|
:param _HotPeriod: 开启日志沉降,标准存储的生命周期, hotPeriod < Period。
|
29951
28921
|
标准存储为 hotPeriod, 低频存储则为 Period-hotPeriod。(主题类型需为日志主题)
|
29952
28922
|
HotPeriod=0为没有开启日志沉降。
|
29953
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29954
28923
|
:type HotPeriod: int
|
29955
28924
|
:param _BizType: 主题类型。
|
29956
28925
|
- 0: 日志主题
|
29957
28926
|
- 1: 指标主题
|
29958
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29959
28927
|
:type BizType: int
|
29960
28928
|
:param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
|
29961
28929
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
29962
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29963
28930
|
:type IsWebTracking: bool
|
29964
28931
|
:param _Extends: 日志主题扩展信息
|
29965
28932
|
注意:此字段可能返回 null,表示取不到有效值。
|
29966
28933
|
:type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
29967
28934
|
:param _TopicAsyncTaskID: 异步迁移任务ID
|
29968
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29969
28935
|
:type TopicAsyncTaskID: str
|
29970
28936
|
:param _MigrationStatus: 异步迁移状态
|
29971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29972
28937
|
:type MigrationStatus: int
|
29973
28938
|
:param _EffectiveDate: 异步迁移完成后,预计生效日期
|
29974
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29975
28939
|
:type EffectiveDate: str
|
29976
28940
|
"""
|
29977
28941
|
self._LogsetId = None
|
@@ -30055,7 +29019,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30055
29019
|
@property
|
30056
29020
|
def AssumerName(self):
|
30057
29021
|
"""云产品标识,主题由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
|
30058
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30059
29022
|
:rtype: str
|
30060
29023
|
"""
|
30061
29024
|
return self._AssumerName
|
@@ -30091,7 +29054,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30091
29054
|
@property
|
30092
29055
|
def Tags(self):
|
30093
29056
|
"""主题绑定的标签信息
|
30094
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30095
29057
|
:rtype: list of Tag
|
30096
29058
|
"""
|
30097
29059
|
return self._Tags
|
@@ -30103,7 +29065,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30103
29065
|
@property
|
30104
29066
|
def AutoSplit(self):
|
30105
29067
|
"""该主题是否开启自动分裂
|
30106
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30107
29068
|
:rtype: bool
|
30108
29069
|
"""
|
30109
29070
|
return self._AutoSplit
|
@@ -30115,7 +29076,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30115
29076
|
@property
|
30116
29077
|
def MaxSplitPartitions(self):
|
30117
29078
|
"""若开启自动分裂的话,该主题能够允许的最大分区数
|
30118
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30119
29079
|
:rtype: int
|
30120
29080
|
"""
|
30121
29081
|
return self._MaxSplitPartitions
|
@@ -30130,7 +29090,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30130
29090
|
|
30131
29091
|
- hot: 标准存储
|
30132
29092
|
- cold: 低频存储
|
30133
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30134
29093
|
:rtype: str
|
30135
29094
|
"""
|
30136
29095
|
return self._StorageType
|
@@ -30142,7 +29101,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30142
29101
|
@property
|
30143
29102
|
def Period(self):
|
30144
29103
|
"""生命周期,单位天,可取值范围1~3600。取值为3640时代表永久保存
|
30145
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30146
29104
|
:rtype: int
|
30147
29105
|
"""
|
30148
29106
|
return self._Period
|
@@ -30154,7 +29112,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30154
29112
|
@property
|
30155
29113
|
def SubAssumerName(self):
|
30156
29114
|
"""云产品二级标识,日志主题由其它云产品创建时,该字段会显示云产品名称及其日志类型的二级分类,例如TKE-Audit、TKE-Event。部分云产品仅有云产品标识(AssumerName),无该字段。
|
30157
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30158
29115
|
:rtype: str
|
30159
29116
|
"""
|
30160
29117
|
return self._SubAssumerName
|
@@ -30180,7 +29137,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30180
29137
|
"""开启日志沉降,标准存储的生命周期, hotPeriod < Period。
|
30181
29138
|
标准存储为 hotPeriod, 低频存储则为 Period-hotPeriod。(主题类型需为日志主题)
|
30182
29139
|
HotPeriod=0为没有开启日志沉降。
|
30183
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30184
29140
|
:rtype: int
|
30185
29141
|
"""
|
30186
29142
|
return self._HotPeriod
|
@@ -30194,7 +29150,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30194
29150
|
"""主题类型。
|
30195
29151
|
- 0: 日志主题
|
30196
29152
|
- 1: 指标主题
|
30197
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30198
29153
|
:rtype: int
|
30199
29154
|
"""
|
30200
29155
|
return self._BizType
|
@@ -30207,7 +29162,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30207
29162
|
def IsWebTracking(self):
|
30208
29163
|
"""免鉴权开关。 false:关闭; true:开启。
|
30209
29164
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
30210
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30211
29165
|
:rtype: bool
|
30212
29166
|
"""
|
30213
29167
|
return self._IsWebTracking
|
@@ -30231,7 +29185,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30231
29185
|
@property
|
30232
29186
|
def TopicAsyncTaskID(self):
|
30233
29187
|
"""异步迁移任务ID
|
30234
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30235
29188
|
:rtype: str
|
30236
29189
|
"""
|
30237
29190
|
return self._TopicAsyncTaskID
|
@@ -30243,7 +29196,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30243
29196
|
@property
|
30244
29197
|
def MigrationStatus(self):
|
30245
29198
|
"""异步迁移状态
|
30246
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30247
29199
|
:rtype: int
|
30248
29200
|
"""
|
30249
29201
|
return self._MigrationStatus
|
@@ -30255,7 +29207,6 @@ HotPeriod=0为没有开启日志沉降。
|
|
30255
29207
|
@property
|
30256
29208
|
def EffectiveDate(self):
|
30257
29209
|
"""异步迁移完成后,预计生效日期
|
30258
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30259
29210
|
:rtype: str
|
30260
29211
|
"""
|
30261
29212
|
return self._EffectiveDate
|
@@ -30420,7 +29371,6 @@ long及double类型字段需为空;
|
|
30420
29371
|
:param _SqlFlag: 字段是否开启分析功能
|
30421
29372
|
:type SqlFlag: bool
|
30422
29373
|
:param _ContainZH: 是否包含中文,long及double类型字段需为false
|
30423
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30424
29374
|
:type ContainZH: bool
|
30425
29375
|
"""
|
30426
29376
|
self._Type = None
|
@@ -30467,7 +29417,6 @@ long及double类型字段需为空;
|
|
30467
29417
|
@property
|
30468
29418
|
def ContainZH(self):
|
30469
29419
|
"""是否包含中文,long及double类型字段需为false
|
30470
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30471
29420
|
:rtype: bool
|
30472
29421
|
"""
|
30473
29422
|
return self._ContainZH
|
@@ -30730,36 +29679,26 @@ class WebCallbackInfo(AbstractModel):
|
|
30730
29679
|
def __init__(self):
|
30731
29680
|
r"""
|
30732
29681
|
:param _WebCallbackId: 告警渠道回调配置id。
|
30733
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30734
29682
|
:type WebCallbackId: str
|
30735
29683
|
:param _Name: 告警渠道回调配置名称。
|
30736
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30737
29684
|
:type Name: str
|
30738
29685
|
:param _Type: 渠道类型
|
30739
29686
|
|
30740
29687
|
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
30741
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30742
29688
|
:type Type: str
|
30743
29689
|
:param _Webhook: 回调地址。
|
30744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30745
29690
|
:type Webhook: str
|
30746
29691
|
:param _Method: 请求方式。
|
30747
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30748
29692
|
:type Method: str
|
30749
29693
|
:param _Key: 秘钥信息。
|
30750
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30751
29694
|
:type Key: str
|
30752
29695
|
:param _Uin: 主账号。
|
30753
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30754
29696
|
:type Uin: int
|
30755
29697
|
:param _SubUin: 子账号。
|
30756
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30757
29698
|
:type SubUin: int
|
30758
29699
|
:param _CreateTime: 创建时间。秒级时间戳
|
30759
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30760
29700
|
:type CreateTime: int
|
30761
29701
|
:param _UpdateTime: 更新时间。秒级时间戳
|
30762
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30763
29702
|
:type UpdateTime: int
|
30764
29703
|
"""
|
30765
29704
|
self._WebCallbackId = None
|
@@ -30776,7 +29715,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30776
29715
|
@property
|
30777
29716
|
def WebCallbackId(self):
|
30778
29717
|
"""告警渠道回调配置id。
|
30779
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30780
29718
|
:rtype: str
|
30781
29719
|
"""
|
30782
29720
|
return self._WebCallbackId
|
@@ -30788,7 +29726,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30788
29726
|
@property
|
30789
29727
|
def Name(self):
|
30790
29728
|
"""告警渠道回调配置名称。
|
30791
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30792
29729
|
:rtype: str
|
30793
29730
|
"""
|
30794
29731
|
return self._Name
|
@@ -30802,7 +29739,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30802
29739
|
"""渠道类型
|
30803
29740
|
|
30804
29741
|
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
30805
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30806
29742
|
:rtype: str
|
30807
29743
|
"""
|
30808
29744
|
return self._Type
|
@@ -30814,7 +29750,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30814
29750
|
@property
|
30815
29751
|
def Webhook(self):
|
30816
29752
|
"""回调地址。
|
30817
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30818
29753
|
:rtype: str
|
30819
29754
|
"""
|
30820
29755
|
return self._Webhook
|
@@ -30826,7 +29761,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30826
29761
|
@property
|
30827
29762
|
def Method(self):
|
30828
29763
|
"""请求方式。
|
30829
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30830
29764
|
:rtype: str
|
30831
29765
|
"""
|
30832
29766
|
return self._Method
|
@@ -30838,7 +29772,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30838
29772
|
@property
|
30839
29773
|
def Key(self):
|
30840
29774
|
"""秘钥信息。
|
30841
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30842
29775
|
:rtype: str
|
30843
29776
|
"""
|
30844
29777
|
return self._Key
|
@@ -30850,7 +29783,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30850
29783
|
@property
|
30851
29784
|
def Uin(self):
|
30852
29785
|
"""主账号。
|
30853
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30854
29786
|
:rtype: int
|
30855
29787
|
"""
|
30856
29788
|
return self._Uin
|
@@ -30862,7 +29794,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30862
29794
|
@property
|
30863
29795
|
def SubUin(self):
|
30864
29796
|
"""子账号。
|
30865
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30866
29797
|
:rtype: int
|
30867
29798
|
"""
|
30868
29799
|
return self._SubUin
|
@@ -30874,7 +29805,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30874
29805
|
@property
|
30875
29806
|
def CreateTime(self):
|
30876
29807
|
"""创建时间。秒级时间戳
|
30877
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30878
29808
|
:rtype: int
|
30879
29809
|
"""
|
30880
29810
|
return self._CreateTime
|
@@ -30886,7 +29816,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
|
30886
29816
|
@property
|
30887
29817
|
def UpdateTime(self):
|
30888
29818
|
"""更新时间。秒级时间戳
|
30889
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30890
29819
|
:rtype: int
|
30891
29820
|
"""
|
30892
29821
|
return self._UpdateTime
|