tencentcloud-sdk-python 3.0.1256__py2.py3-none-any.whl → 3.0.1258__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/apm/v20210622/models.py +26 -0
- tencentcloud/asr/v20190614/models.py +3 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +18 -2
- tencentcloud/bi/v20220105/models.py +44 -4
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/errorcodes.py +6 -0
- tencentcloud/billing/v20180709/models.py +424 -0
- tencentcloud/bsca/v20210811/models.py +306 -1
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +249 -136
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +25 -1
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +29 -2
- tencentcloud/cfw/v20190904/cfw_client.py +6 -30
- tencentcloud/cfw/v20190904/models.py +267 -479
- tencentcloud/ciam/v20220331/models.py +13 -0
- tencentcloud/ckafka/v20190819/models.py +5 -5
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
- tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
- tencentcloud/cloudaudit/v20190319/models.py +328 -254
- tencentcloud/cls/v20201016/cls_client.py +8 -1
- tencentcloud/cls/v20201016/models.py +551 -109
- tencentcloud/csip/v20221121/models.py +225 -12
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/cvm/v20170312/models.py +78 -0
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/cwp/v20180228/models.py +206 -52
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
- tencentcloud/cynosdb/v20190107/models.py +78 -0
- tencentcloud/dasb/v20191018/models.py +155 -0
- tencentcloud/dlc/v20210125/models.py +13 -0
- tencentcloud/domain/v20180808/errorcodes.py +45 -0
- tencentcloud/eb/v20210416/models.py +19 -19
- tencentcloud/emr/v20190103/models.py +12 -0
- tencentcloud/es/v20180416/errorcodes.py +4 -1
- tencentcloud/es/v20180416/es_client.py +92 -0
- tencentcloud/es/v20180416/models.py +770 -12
- tencentcloud/ess/v20201111/ess_client.py +71 -4
- tencentcloud/ess/v20201111/models.py +260 -10
- tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
- tencentcloud/essbasic/v20210526/models.py +390 -21
- tencentcloud/gaap/v20180529/models.py +40 -3
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/ioa/v20220601/errorcodes.py +15 -0
- tencentcloud/ioa/v20220601/ioa_client.py +26 -2
- tencentcloud/ioa/v20220601/models.py +516 -46
- tencentcloud/iotexplorer/v20190423/models.py +52 -0
- tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20191126/models.py +379 -0
- tencentcloud/iss/v20230517/models.py +25 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
- tencentcloud/live/v20180801/models.py +51 -0
- tencentcloud/mongodb/v20190725/models.py +3 -7
- tencentcloud/mqtt/v20240516/models.py +4 -4
- tencentcloud/ocr/v20181119/models.py +7 -16
- tencentcloud/ocr/v20181119/ocr_client.py +1 -0
- tencentcloud/organization/v20210331/errorcodes.py +31 -1
- tencentcloud/organization/v20210331/models.py +674 -0
- tencentcloud/organization/v20210331/organization_client.py +138 -0
- tencentcloud/partners/v20180321/models.py +71 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
- tencentcloud/privatedns/v20201028/models.py +858 -4
- tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
- tencentcloud/region/v20220627/models.py +0 -1
- tencentcloud/scf/v20180416/models.py +889 -8
- tencentcloud/scf/v20180416/scf_client.py +115 -0
- tencentcloud/smop/v20201203/models.py +17 -17
- tencentcloud/ssl/v20191205/models.py +44 -3
- tencentcloud/ssm/v20190923/models.py +84 -0
- tencentcloud/tat/v20201028/models.py +1 -29
- tencentcloud/tcss/v20201101/models.py +815 -33
- tencentcloud/tcss/v20201101/tcss_client.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +7 -7
- tencentcloud/tem/v20210701/models.py +202 -198
- tencentcloud/teo/v20220901/errorcodes.py +51 -0
- tencentcloud/teo/v20220901/models.py +1470 -97
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/tke/v20180525/models.py +70 -0
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tms/v20201229/models.py +0 -558
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/trp/v20210515/models.py +6 -6
- tencentcloud/trtc/v20190722/models.py +353 -4
- tencentcloud/tse/v20201207/models.py +94 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vclm/v20240523/models.py +166 -0
- tencentcloud/vpc/v20170312/models.py +137 -6
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +99 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +991 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/RECORD +104 -109
- tencentcloud/cr/__init__.py +0 -0
- tencentcloud/cr/v20180321/__init__.py +0 -0
- tencentcloud/cr/v20180321/cr_client.py +0 -672
- tencentcloud/cr/v20180321/errorcodes.py +0 -114
- tencentcloud/cr/v20180321/models.py +0 -4966
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/top_level.txt +0 -0
@@ -534,14 +534,17 @@ Condition互斥。
|
|
534
534
|
|
535
535
|
|
536
536
|
class AlarmNotice(AbstractModel):
|
537
|
-
"""
|
537
|
+
"""告警通知渠道组详细配置
|
538
538
|
|
539
539
|
"""
|
540
540
|
|
541
541
|
def __init__(self):
|
542
542
|
r"""
|
543
|
-
:param _Name:
|
543
|
+
:param _Name: 告警通知渠道组名称。
|
544
544
|
:type Name: str
|
545
|
+
:param _Tags: 告警通知渠道组绑定的标签信息。
|
546
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
547
|
+
:type Tags: list of Tag
|
545
548
|
:param _Type: 告警模板的类型。可选值:
|
546
549
|
<br><li> Trigger - 告警触发</li>
|
547
550
|
<br><li> Recovery - 告警恢复</li>
|
@@ -556,24 +559,38 @@ class AlarmNotice(AbstractModel):
|
|
556
559
|
:param _AlarmNoticeId: 告警通知模板ID。
|
557
560
|
注意:此字段可能返回 null,表示取不到有效值。
|
558
561
|
:type AlarmNoticeId: str
|
562
|
+
:param _NoticeRules: 通知规则。
|
563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
564
|
+
:type NoticeRules: list of NoticeRule
|
565
|
+
:param _AlarmShieldStatus: 免登录操作告警开关。
|
566
|
+
参数值: 1:关闭 2:开启(默认开启)
|
567
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
568
|
+
:type AlarmShieldStatus: int
|
569
|
+
:param _JumpDomain: 调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
570
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
571
|
+
:type JumpDomain: str
|
572
|
+
:param _AlarmNoticeDeliverConfig: 投递相关信息。
|
573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
574
|
+
:type AlarmNoticeDeliverConfig: :class:`tencentcloud.cls.v20201016.models.AlarmNoticeDeliverConfig`
|
559
575
|
:param _CreateTime: 创建时间。
|
560
576
|
注意:此字段可能返回 null,表示取不到有效值。
|
561
577
|
:type CreateTime: str
|
562
578
|
:param _UpdateTime: 最近更新时间。
|
563
579
|
注意:此字段可能返回 null,表示取不到有效值。
|
564
580
|
:type UpdateTime: str
|
565
|
-
:param _NoticeRules: 通知规则。
|
566
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
567
|
-
:type NoticeRules: list of NoticeRule
|
568
581
|
"""
|
569
582
|
self._Name = None
|
583
|
+
self._Tags = None
|
570
584
|
self._Type = None
|
571
585
|
self._NoticeReceivers = None
|
572
586
|
self._WebCallbacks = None
|
573
587
|
self._AlarmNoticeId = None
|
588
|
+
self._NoticeRules = None
|
589
|
+
self._AlarmShieldStatus = None
|
590
|
+
self._JumpDomain = None
|
591
|
+
self._AlarmNoticeDeliverConfig = None
|
574
592
|
self._CreateTime = None
|
575
593
|
self._UpdateTime = None
|
576
|
-
self._NoticeRules = None
|
577
594
|
|
578
595
|
@property
|
579
596
|
def Name(self):
|
@@ -583,6 +600,14 @@ class AlarmNotice(AbstractModel):
|
|
583
600
|
def Name(self, Name):
|
584
601
|
self._Name = Name
|
585
602
|
|
603
|
+
@property
|
604
|
+
def Tags(self):
|
605
|
+
return self._Tags
|
606
|
+
|
607
|
+
@Tags.setter
|
608
|
+
def Tags(self, Tags):
|
609
|
+
self._Tags = Tags
|
610
|
+
|
586
611
|
@property
|
587
612
|
def Type(self):
|
588
613
|
return self._Type
|
@@ -615,6 +640,38 @@ class AlarmNotice(AbstractModel):
|
|
615
640
|
def AlarmNoticeId(self, AlarmNoticeId):
|
616
641
|
self._AlarmNoticeId = AlarmNoticeId
|
617
642
|
|
643
|
+
@property
|
644
|
+
def NoticeRules(self):
|
645
|
+
return self._NoticeRules
|
646
|
+
|
647
|
+
@NoticeRules.setter
|
648
|
+
def NoticeRules(self, NoticeRules):
|
649
|
+
self._NoticeRules = NoticeRules
|
650
|
+
|
651
|
+
@property
|
652
|
+
def AlarmShieldStatus(self):
|
653
|
+
return self._AlarmShieldStatus
|
654
|
+
|
655
|
+
@AlarmShieldStatus.setter
|
656
|
+
def AlarmShieldStatus(self, AlarmShieldStatus):
|
657
|
+
self._AlarmShieldStatus = AlarmShieldStatus
|
658
|
+
|
659
|
+
@property
|
660
|
+
def JumpDomain(self):
|
661
|
+
return self._JumpDomain
|
662
|
+
|
663
|
+
@JumpDomain.setter
|
664
|
+
def JumpDomain(self, JumpDomain):
|
665
|
+
self._JumpDomain = JumpDomain
|
666
|
+
|
667
|
+
@property
|
668
|
+
def AlarmNoticeDeliverConfig(self):
|
669
|
+
return self._AlarmNoticeDeliverConfig
|
670
|
+
|
671
|
+
@AlarmNoticeDeliverConfig.setter
|
672
|
+
def AlarmNoticeDeliverConfig(self, AlarmNoticeDeliverConfig):
|
673
|
+
self._AlarmNoticeDeliverConfig = AlarmNoticeDeliverConfig
|
674
|
+
|
618
675
|
@property
|
619
676
|
def CreateTime(self):
|
620
677
|
return self._CreateTime
|
@@ -631,17 +688,15 @@ class AlarmNotice(AbstractModel):
|
|
631
688
|
def UpdateTime(self, UpdateTime):
|
632
689
|
self._UpdateTime = UpdateTime
|
633
690
|
|
634
|
-
@property
|
635
|
-
def NoticeRules(self):
|
636
|
-
return self._NoticeRules
|
637
|
-
|
638
|
-
@NoticeRules.setter
|
639
|
-
def NoticeRules(self, NoticeRules):
|
640
|
-
self._NoticeRules = NoticeRules
|
641
|
-
|
642
691
|
|
643
692
|
def _deserialize(self, params):
|
644
693
|
self._Name = params.get("Name")
|
694
|
+
if params.get("Tags") is not None:
|
695
|
+
self._Tags = []
|
696
|
+
for item in params.get("Tags"):
|
697
|
+
obj = Tag()
|
698
|
+
obj._deserialize(item)
|
699
|
+
self._Tags.append(obj)
|
645
700
|
self._Type = params.get("Type")
|
646
701
|
if params.get("NoticeReceivers") is not None:
|
647
702
|
self._NoticeReceivers = []
|
@@ -656,14 +711,67 @@ class AlarmNotice(AbstractModel):
|
|
656
711
|
obj._deserialize(item)
|
657
712
|
self._WebCallbacks.append(obj)
|
658
713
|
self._AlarmNoticeId = params.get("AlarmNoticeId")
|
659
|
-
self._CreateTime = params.get("CreateTime")
|
660
|
-
self._UpdateTime = params.get("UpdateTime")
|
661
714
|
if params.get("NoticeRules") is not None:
|
662
715
|
self._NoticeRules = []
|
663
716
|
for item in params.get("NoticeRules"):
|
664
717
|
obj = NoticeRule()
|
665
718
|
obj._deserialize(item)
|
666
719
|
self._NoticeRules.append(obj)
|
720
|
+
self._AlarmShieldStatus = params.get("AlarmShieldStatus")
|
721
|
+
self._JumpDomain = params.get("JumpDomain")
|
722
|
+
if params.get("AlarmNoticeDeliverConfig") is not None:
|
723
|
+
self._AlarmNoticeDeliverConfig = AlarmNoticeDeliverConfig()
|
724
|
+
self._AlarmNoticeDeliverConfig._deserialize(params.get("AlarmNoticeDeliverConfig"))
|
725
|
+
self._CreateTime = params.get("CreateTime")
|
726
|
+
self._UpdateTime = params.get("UpdateTime")
|
727
|
+
memeber_set = set(params.keys())
|
728
|
+
for name, value in vars(self).items():
|
729
|
+
property_name = name[1:]
|
730
|
+
if property_name in memeber_set:
|
731
|
+
memeber_set.remove(property_name)
|
732
|
+
if len(memeber_set) > 0:
|
733
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
734
|
+
|
735
|
+
|
736
|
+
|
737
|
+
class AlarmNoticeDeliverConfig(AbstractModel):
|
738
|
+
"""通知渠道投递日志配置信息
|
739
|
+
|
740
|
+
"""
|
741
|
+
|
742
|
+
def __init__(self):
|
743
|
+
r"""
|
744
|
+
:param _DeliverConfig: 通知渠道投递日志配置信息。
|
745
|
+
:type DeliverConfig: :class:`tencentcloud.cls.v20201016.models.DeliverConfig`
|
746
|
+
:param _ErrMsg: 投递失败原因。
|
747
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
748
|
+
:type ErrMsg: str
|
749
|
+
"""
|
750
|
+
self._DeliverConfig = None
|
751
|
+
self._ErrMsg = None
|
752
|
+
|
753
|
+
@property
|
754
|
+
def DeliverConfig(self):
|
755
|
+
return self._DeliverConfig
|
756
|
+
|
757
|
+
@DeliverConfig.setter
|
758
|
+
def DeliverConfig(self, DeliverConfig):
|
759
|
+
self._DeliverConfig = DeliverConfig
|
760
|
+
|
761
|
+
@property
|
762
|
+
def ErrMsg(self):
|
763
|
+
return self._ErrMsg
|
764
|
+
|
765
|
+
@ErrMsg.setter
|
766
|
+
def ErrMsg(self, ErrMsg):
|
767
|
+
self._ErrMsg = ErrMsg
|
768
|
+
|
769
|
+
|
770
|
+
def _deserialize(self, params):
|
771
|
+
if params.get("DeliverConfig") is not None:
|
772
|
+
self._DeliverConfig = DeliverConfig()
|
773
|
+
self._DeliverConfig._deserialize(params.get("DeliverConfig"))
|
774
|
+
self._ErrMsg = params.get("ErrMsg")
|
667
775
|
memeber_set = set(params.keys())
|
668
776
|
for name, value in vars(self).items():
|
669
777
|
property_name = name[1:]
|
@@ -3817,43 +3925,47 @@ class CreateAlarmNoticeRequest(AbstractModel):
|
|
3817
3925
|
r"""
|
3818
3926
|
:param _Name: 通知渠道组名称。
|
3819
3927
|
:type Name: str
|
3820
|
-
:param
|
3928
|
+
:param _Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持50个标签键值对,并且不能有重复的键值对。
|
3929
|
+
:type Tags: list of Tag
|
3930
|
+
:param _Type: 【简易模式】(简易模式/告警模式二选一,分别配置相应参数)
|
3931
|
+
需要发送通知的告警类型。可选值:
|
3821
3932
|
- Trigger - 告警触发
|
3822
3933
|
- Recovery - 告警恢复
|
3823
3934
|
- All - 告警触发和告警恢复
|
3824
|
-
|
3825
|
-
|
3826
|
-
注意:
|
3827
|
-
- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
|
3828
|
-
- 2组rule配置互斥
|
3829
|
-
- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
|
3830
3935
|
:type Type: str
|
3831
|
-
:param _NoticeReceivers:
|
3832
|
-
|
3833
|
-
- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
|
3834
|
-
- 2组rule配置互斥
|
3835
|
-
- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
|
3936
|
+
:param _NoticeReceivers: 【简易模式】(简易模式/告警模式二选一,分别配置相应参数)
|
3937
|
+
通知接收对象。
|
3836
3938
|
:type NoticeReceivers: list of NoticeReceiver
|
3837
|
-
:param _WebCallbacks:
|
3838
|
-
|
3839
|
-
- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
|
3840
|
-
- 2组rule配置互斥
|
3841
|
-
- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
|
3939
|
+
:param _WebCallbacks: 【简易模式】(简易模式/告警模式二选一,分别配置相应参数)
|
3940
|
+
接口回调信息(包括企业微信、钉钉、飞书)。
|
3842
3941
|
:type WebCallbacks: list of WebCallback
|
3843
|
-
:param _NoticeRules:
|
3844
|
-
|
3845
|
-
- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
|
3846
|
-
- 2组rule配置互斥
|
3847
|
-
- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
|
3848
|
-
|
3849
|
-
|
3942
|
+
:param _NoticeRules: 【高级模式】(简易模式/告警模式二选一,分别配置相应参数)
|
3943
|
+
通知规则。
|
3850
3944
|
:type NoticeRules: list of NoticeRule
|
3945
|
+
:param _JumpDomain: 查询数据链接。http:// 或者 https:// 开头,不能/结尾
|
3946
|
+
:type JumpDomain: str
|
3947
|
+
:param _DeliverStatus: 投递日志开关。可取值如下:
|
3948
|
+
1:关闭(默认值);
|
3949
|
+
2:开启
|
3950
|
+
投递日志开关开启时, DeliverConfig参数必填。
|
3951
|
+
:type DeliverStatus: int
|
3952
|
+
:param _DeliverConfig: 投递日志配置参数。当DeliverStatus开启时,必填。
|
3953
|
+
:type DeliverConfig: :class:`tencentcloud.cls.v20201016.models.DeliverConfig`
|
3954
|
+
:param _AlarmShieldStatus: 免登录操作告警开关。可取值如下:
|
3955
|
+
- 1:关闭
|
3956
|
+
- 2:开启(默认值)
|
3957
|
+
:type AlarmShieldStatus: int
|
3851
3958
|
"""
|
3852
3959
|
self._Name = None
|
3960
|
+
self._Tags = None
|
3853
3961
|
self._Type = None
|
3854
3962
|
self._NoticeReceivers = None
|
3855
3963
|
self._WebCallbacks = None
|
3856
3964
|
self._NoticeRules = None
|
3965
|
+
self._JumpDomain = None
|
3966
|
+
self._DeliverStatus = None
|
3967
|
+
self._DeliverConfig = None
|
3968
|
+
self._AlarmShieldStatus = None
|
3857
3969
|
|
3858
3970
|
@property
|
3859
3971
|
def Name(self):
|
@@ -3863,6 +3975,14 @@ class CreateAlarmNoticeRequest(AbstractModel):
|
|
3863
3975
|
def Name(self, Name):
|
3864
3976
|
self._Name = Name
|
3865
3977
|
|
3978
|
+
@property
|
3979
|
+
def Tags(self):
|
3980
|
+
return self._Tags
|
3981
|
+
|
3982
|
+
@Tags.setter
|
3983
|
+
def Tags(self, Tags):
|
3984
|
+
self._Tags = Tags
|
3985
|
+
|
3866
3986
|
@property
|
3867
3987
|
def Type(self):
|
3868
3988
|
return self._Type
|
@@ -3895,9 +4015,47 @@ class CreateAlarmNoticeRequest(AbstractModel):
|
|
3895
4015
|
def NoticeRules(self, NoticeRules):
|
3896
4016
|
self._NoticeRules = NoticeRules
|
3897
4017
|
|
4018
|
+
@property
|
4019
|
+
def JumpDomain(self):
|
4020
|
+
return self._JumpDomain
|
4021
|
+
|
4022
|
+
@JumpDomain.setter
|
4023
|
+
def JumpDomain(self, JumpDomain):
|
4024
|
+
self._JumpDomain = JumpDomain
|
4025
|
+
|
4026
|
+
@property
|
4027
|
+
def DeliverStatus(self):
|
4028
|
+
return self._DeliverStatus
|
4029
|
+
|
4030
|
+
@DeliverStatus.setter
|
4031
|
+
def DeliverStatus(self, DeliverStatus):
|
4032
|
+
self._DeliverStatus = DeliverStatus
|
4033
|
+
|
4034
|
+
@property
|
4035
|
+
def DeliverConfig(self):
|
4036
|
+
return self._DeliverConfig
|
4037
|
+
|
4038
|
+
@DeliverConfig.setter
|
4039
|
+
def DeliverConfig(self, DeliverConfig):
|
4040
|
+
self._DeliverConfig = DeliverConfig
|
4041
|
+
|
4042
|
+
@property
|
4043
|
+
def AlarmShieldStatus(self):
|
4044
|
+
return self._AlarmShieldStatus
|
4045
|
+
|
4046
|
+
@AlarmShieldStatus.setter
|
4047
|
+
def AlarmShieldStatus(self, AlarmShieldStatus):
|
4048
|
+
self._AlarmShieldStatus = AlarmShieldStatus
|
4049
|
+
|
3898
4050
|
|
3899
4051
|
def _deserialize(self, params):
|
3900
4052
|
self._Name = params.get("Name")
|
4053
|
+
if params.get("Tags") is not None:
|
4054
|
+
self._Tags = []
|
4055
|
+
for item in params.get("Tags"):
|
4056
|
+
obj = Tag()
|
4057
|
+
obj._deserialize(item)
|
4058
|
+
self._Tags.append(obj)
|
3901
4059
|
self._Type = params.get("Type")
|
3902
4060
|
if params.get("NoticeReceivers") is not None:
|
3903
4061
|
self._NoticeReceivers = []
|
@@ -3917,6 +4075,12 @@ class CreateAlarmNoticeRequest(AbstractModel):
|
|
3917
4075
|
obj = NoticeRule()
|
3918
4076
|
obj._deserialize(item)
|
3919
4077
|
self._NoticeRules.append(obj)
|
4078
|
+
self._JumpDomain = params.get("JumpDomain")
|
4079
|
+
self._DeliverStatus = params.get("DeliverStatus")
|
4080
|
+
if params.get("DeliverConfig") is not None:
|
4081
|
+
self._DeliverConfig = DeliverConfig()
|
4082
|
+
self._DeliverConfig._deserialize(params.get("DeliverConfig"))
|
4083
|
+
self._AlarmShieldStatus = params.get("AlarmShieldStatus")
|
3920
4084
|
memeber_set = set(params.keys())
|
3921
4085
|
for name, value in vars(self).items():
|
3922
4086
|
property_name = name[1:]
|
@@ -9254,6 +9418,75 @@ class DeleteTopicResponse(AbstractModel):
|
|
9254
9418
|
self._RequestId = params.get("RequestId")
|
9255
9419
|
|
9256
9420
|
|
9421
|
+
class DeliverConfig(AbstractModel):
|
9422
|
+
"""投递配置入参
|
9423
|
+
|
9424
|
+
"""
|
9425
|
+
|
9426
|
+
def __init__(self):
|
9427
|
+
r"""
|
9428
|
+
:param _Region: 地域信息。
|
9429
|
+
|
9430
|
+
示例:
|
9431
|
+
ap-guangzhou 广州地域;
|
9432
|
+
ap-nanjing 南京地域。
|
9433
|
+
|
9434
|
+
详细信息请查看官网:
|
9435
|
+
|
9436
|
+
https://cloud.tencent.com/document/product/614/18940
|
9437
|
+
:type Region: str
|
9438
|
+
:param _TopicId: 日志主题ID。
|
9439
|
+
:type TopicId: str
|
9440
|
+
:param _Scope: 投递数据范围。
|
9441
|
+
|
9442
|
+
0: 全部日志, 包括告警策略日常周期执行的所有日志,也包括告警策略变更产生的日志,默认值
|
9443
|
+
|
9444
|
+
1:仅告警触发及恢复日志
|
9445
|
+
:type Scope: int
|
9446
|
+
"""
|
9447
|
+
self._Region = None
|
9448
|
+
self._TopicId = None
|
9449
|
+
self._Scope = None
|
9450
|
+
|
9451
|
+
@property
|
9452
|
+
def Region(self):
|
9453
|
+
return self._Region
|
9454
|
+
|
9455
|
+
@Region.setter
|
9456
|
+
def Region(self, Region):
|
9457
|
+
self._Region = Region
|
9458
|
+
|
9459
|
+
@property
|
9460
|
+
def TopicId(self):
|
9461
|
+
return self._TopicId
|
9462
|
+
|
9463
|
+
@TopicId.setter
|
9464
|
+
def TopicId(self, TopicId):
|
9465
|
+
self._TopicId = TopicId
|
9466
|
+
|
9467
|
+
@property
|
9468
|
+
def Scope(self):
|
9469
|
+
return self._Scope
|
9470
|
+
|
9471
|
+
@Scope.setter
|
9472
|
+
def Scope(self, Scope):
|
9473
|
+
self._Scope = Scope
|
9474
|
+
|
9475
|
+
|
9476
|
+
def _deserialize(self, params):
|
9477
|
+
self._Region = params.get("Region")
|
9478
|
+
self._TopicId = params.get("TopicId")
|
9479
|
+
self._Scope = params.get("Scope")
|
9480
|
+
memeber_set = set(params.keys())
|
9481
|
+
for name, value in vars(self).items():
|
9482
|
+
property_name = name[1:]
|
9483
|
+
if property_name in memeber_set:
|
9484
|
+
memeber_set.remove(property_name)
|
9485
|
+
if len(memeber_set) > 0:
|
9486
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9487
|
+
|
9488
|
+
|
9489
|
+
|
9257
9490
|
class DescribeAlarmNoticesRequest(AbstractModel):
|
9258
9491
|
"""DescribeAlarmNotices请求参数结构体
|
9259
9492
|
|
@@ -12985,6 +13218,118 @@ class DynamicIndex(AbstractModel):
|
|
12985
13218
|
|
12986
13219
|
|
12987
13220
|
|
13221
|
+
class EscalateNoticeInfo(AbstractModel):
|
13222
|
+
"""升级通知
|
13223
|
+
|
13224
|
+
"""
|
13225
|
+
|
13226
|
+
def __init__(self):
|
13227
|
+
r"""
|
13228
|
+
:param _NoticeReceivers: 告警通知模板接收者信息。
|
13229
|
+
:type NoticeReceivers: list of NoticeReceiver
|
13230
|
+
:param _WebCallbacks: 告警通知模板回调信息。
|
13231
|
+
:type WebCallbacks: list of WebCallback
|
13232
|
+
:param _Escalate: 告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false
|
13233
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13234
|
+
:type Escalate: bool
|
13235
|
+
:param _Interval: 告警升级间隔。单位:分钟,范围`[1,14400]`
|
13236
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13237
|
+
:type Interval: int
|
13238
|
+
:param _Type: 升级条件。`1`:无人认领且未恢复、`2`:未恢复,默认为1
|
13239
|
+
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
|
13240
|
+
- 未恢复:当前告警持续未恢复则升级
|
13241
|
+
|
13242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13243
|
+
:type Type: int
|
13244
|
+
:param _EscalateNotice: 告警升级后下一个环节的通知渠道配置,最多可配置5个环节。
|
13245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13246
|
+
:type EscalateNotice: :class:`tencentcloud.cls.v20201016.models.EscalateNoticeInfo`
|
13247
|
+
"""
|
13248
|
+
self._NoticeReceivers = None
|
13249
|
+
self._WebCallbacks = None
|
13250
|
+
self._Escalate = None
|
13251
|
+
self._Interval = None
|
13252
|
+
self._Type = None
|
13253
|
+
self._EscalateNotice = None
|
13254
|
+
|
13255
|
+
@property
|
13256
|
+
def NoticeReceivers(self):
|
13257
|
+
return self._NoticeReceivers
|
13258
|
+
|
13259
|
+
@NoticeReceivers.setter
|
13260
|
+
def NoticeReceivers(self, NoticeReceivers):
|
13261
|
+
self._NoticeReceivers = NoticeReceivers
|
13262
|
+
|
13263
|
+
@property
|
13264
|
+
def WebCallbacks(self):
|
13265
|
+
return self._WebCallbacks
|
13266
|
+
|
13267
|
+
@WebCallbacks.setter
|
13268
|
+
def WebCallbacks(self, WebCallbacks):
|
13269
|
+
self._WebCallbacks = WebCallbacks
|
13270
|
+
|
13271
|
+
@property
|
13272
|
+
def Escalate(self):
|
13273
|
+
return self._Escalate
|
13274
|
+
|
13275
|
+
@Escalate.setter
|
13276
|
+
def Escalate(self, Escalate):
|
13277
|
+
self._Escalate = Escalate
|
13278
|
+
|
13279
|
+
@property
|
13280
|
+
def Interval(self):
|
13281
|
+
return self._Interval
|
13282
|
+
|
13283
|
+
@Interval.setter
|
13284
|
+
def Interval(self, Interval):
|
13285
|
+
self._Interval = Interval
|
13286
|
+
|
13287
|
+
@property
|
13288
|
+
def Type(self):
|
13289
|
+
return self._Type
|
13290
|
+
|
13291
|
+
@Type.setter
|
13292
|
+
def Type(self, Type):
|
13293
|
+
self._Type = Type
|
13294
|
+
|
13295
|
+
@property
|
13296
|
+
def EscalateNotice(self):
|
13297
|
+
return self._EscalateNotice
|
13298
|
+
|
13299
|
+
@EscalateNotice.setter
|
13300
|
+
def EscalateNotice(self, EscalateNotice):
|
13301
|
+
self._EscalateNotice = EscalateNotice
|
13302
|
+
|
13303
|
+
|
13304
|
+
def _deserialize(self, params):
|
13305
|
+
if params.get("NoticeReceivers") is not None:
|
13306
|
+
self._NoticeReceivers = []
|
13307
|
+
for item in params.get("NoticeReceivers"):
|
13308
|
+
obj = NoticeReceiver()
|
13309
|
+
obj._deserialize(item)
|
13310
|
+
self._NoticeReceivers.append(obj)
|
13311
|
+
if params.get("WebCallbacks") is not None:
|
13312
|
+
self._WebCallbacks = []
|
13313
|
+
for item in params.get("WebCallbacks"):
|
13314
|
+
obj = WebCallback()
|
13315
|
+
obj._deserialize(item)
|
13316
|
+
self._WebCallbacks.append(obj)
|
13317
|
+
self._Escalate = params.get("Escalate")
|
13318
|
+
self._Interval = params.get("Interval")
|
13319
|
+
self._Type = params.get("Type")
|
13320
|
+
if params.get("EscalateNotice") is not None:
|
13321
|
+
self._EscalateNotice = EscalateNoticeInfo()
|
13322
|
+
self._EscalateNotice._deserialize(params.get("EscalateNotice"))
|
13323
|
+
memeber_set = set(params.keys())
|
13324
|
+
for name, value in vars(self).items():
|
13325
|
+
property_name = name[1:]
|
13326
|
+
if property_name in memeber_set:
|
13327
|
+
memeber_set.remove(property_name)
|
13328
|
+
if len(memeber_set) > 0:
|
13329
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13330
|
+
|
13331
|
+
|
13332
|
+
|
12988
13333
|
class EventLog(AbstractModel):
|
12989
13334
|
"""Windows事件日志采集配置
|
12990
13335
|
|
@@ -19627,26 +19972,26 @@ class NoticeReceiver(AbstractModel):
|
|
19627
19972
|
- WeChat - 微信
|
19628
19973
|
- Phone - 电话
|
19629
19974
|
:type ReceiverChannels: list of str
|
19630
|
-
:param
|
19975
|
+
:param _NoticeContentId: 通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。
|
19976
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
19977
|
+
:type NoticeContentId: str
|
19978
|
+
:param _StartTime: 允许接收信息的开始时间。格式:`15:04:05`。必填
|
19631
19979
|
:type StartTime: str
|
19632
|
-
:param _EndTime: 允许接收信息的结束时间。格式:`15:04:05
|
19980
|
+
:param _EndTime: 允许接收信息的结束时间。格式:`15:04:05`。必填
|
19633
19981
|
:type EndTime: str
|
19634
19982
|
:param _Index: 位序。
|
19635
19983
|
|
19636
19984
|
- 入参时无效。
|
19637
19985
|
- 出参时有效。
|
19638
19986
|
:type Index: int
|
19639
|
-
:param _NoticeContentId: 通知内容模板ID。
|
19640
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19641
|
-
:type NoticeContentId: str
|
19642
19987
|
"""
|
19643
19988
|
self._ReceiverType = None
|
19644
19989
|
self._ReceiverIds = None
|
19645
19990
|
self._ReceiverChannels = None
|
19991
|
+
self._NoticeContentId = None
|
19646
19992
|
self._StartTime = None
|
19647
19993
|
self._EndTime = None
|
19648
19994
|
self._Index = None
|
19649
|
-
self._NoticeContentId = None
|
19650
19995
|
|
19651
19996
|
@property
|
19652
19997
|
def ReceiverType(self):
|
@@ -19672,6 +20017,14 @@ class NoticeReceiver(AbstractModel):
|
|
19672
20017
|
def ReceiverChannels(self, ReceiverChannels):
|
19673
20018
|
self._ReceiverChannels = ReceiverChannels
|
19674
20019
|
|
20020
|
+
@property
|
20021
|
+
def NoticeContentId(self):
|
20022
|
+
return self._NoticeContentId
|
20023
|
+
|
20024
|
+
@NoticeContentId.setter
|
20025
|
+
def NoticeContentId(self, NoticeContentId):
|
20026
|
+
self._NoticeContentId = NoticeContentId
|
20027
|
+
|
19675
20028
|
@property
|
19676
20029
|
def StartTime(self):
|
19677
20030
|
return self._StartTime
|
@@ -19696,23 +20049,15 @@ class NoticeReceiver(AbstractModel):
|
|
19696
20049
|
def Index(self, Index):
|
19697
20050
|
self._Index = Index
|
19698
20051
|
|
19699
|
-
@property
|
19700
|
-
def NoticeContentId(self):
|
19701
|
-
return self._NoticeContentId
|
19702
|
-
|
19703
|
-
@NoticeContentId.setter
|
19704
|
-
def NoticeContentId(self, NoticeContentId):
|
19705
|
-
self._NoticeContentId = NoticeContentId
|
19706
|
-
|
19707
20052
|
|
19708
20053
|
def _deserialize(self, params):
|
19709
20054
|
self._ReceiverType = params.get("ReceiverType")
|
19710
20055
|
self._ReceiverIds = params.get("ReceiverIds")
|
19711
20056
|
self._ReceiverChannels = params.get("ReceiverChannels")
|
20057
|
+
self._NoticeContentId = params.get("NoticeContentId")
|
19712
20058
|
self._StartTime = params.get("StartTime")
|
19713
20059
|
self._EndTime = params.get("EndTime")
|
19714
20060
|
self._Index = params.get("Index")
|
19715
|
-
self._NoticeContentId = params.get("NoticeContentId")
|
19716
20061
|
memeber_set = set(params.keys())
|
19717
20062
|
for name, value in vars(self).items():
|
19718
20063
|
property_name = name[1:]
|
@@ -19730,12 +20075,6 @@ class NoticeRule(AbstractModel):
|
|
19730
20075
|
|
19731
20076
|
def __init__(self):
|
19732
20077
|
r"""
|
19733
|
-
:param _NoticeReceivers: 告警通知模板接收者信息。
|
19734
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19735
|
-
:type NoticeReceivers: list of NoticeReceiver
|
19736
|
-
:param _WebCallbacks: 告警通知模板回调信息。
|
19737
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19738
|
-
:type WebCallbacks: list of WebCallback
|
19739
20078
|
:param _Rule: 匹配规则 JSON串。
|
19740
20079
|
**rule规则树格式为嵌套结构体JSON字符串**
|
19741
20080
|
`{"Value":"AND","Type":"Operation","Children":[{"Value":"OR","Type":"Operation","Children":[{"Type":"Condition","Value":"Level","Children":[{"Value":"In","Type":"Compare"},{"Value":"[1,0]","Type":"Value"}]},{"Type":"Condition","Value":"Level","Children":[{"Value":"NotIn","Type":"Compare"},{"Value":"[2]","Type":"Value"}]}]}]}`
|
@@ -19796,10 +20135,43 @@ class NoticeRule(AbstractModel):
|
|
19796
20135
|
`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">\",\"Type\":\"Compare\"},{\"Value\":1,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">=\",\"Type\":\"Compare\"},{\"Value\":2,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<\",\"Type\":\"Compare\"},{\"Value\":3,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<=\",\"Type\":\"Compare\"},{\"Value\":4,\"Type\":\"Value\"}]}]}]}`
|
19797
20136
|
注意:此字段可能返回 null,表示取不到有效值。
|
19798
20137
|
:type Rule: str
|
20138
|
+
:param _NoticeReceivers: 告警通知接收者信息。
|
20139
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20140
|
+
:type NoticeReceivers: list of NoticeReceiver
|
20141
|
+
:param _WebCallbacks: 告警通知模板回调信息,包括企业微信、钉钉、飞书。
|
20142
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20143
|
+
:type WebCallbacks: list of WebCallback
|
20144
|
+
:param _Escalate: 告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false
|
20145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20146
|
+
:type Escalate: bool
|
20147
|
+
:param _Type: 告警升级条件。`1`:无人认领且未恢复、`2`:未恢复,默认为1
|
20148
|
+
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
|
20149
|
+
- 未恢复:当前告警持续未恢复则升级
|
20150
|
+
|
20151
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20152
|
+
:type Type: int
|
20153
|
+
:param _Interval: 告警升级间隔。单位:分钟,范围`[1,14400]`
|
20154
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20155
|
+
:type Interval: int
|
20156
|
+
:param _EscalateNotice: 告警升级后下一个环节的通知渠道配置
|
20157
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20158
|
+
:type EscalateNotice: :class:`tencentcloud.cls.v20201016.models.EscalateNoticeInfo`
|
19799
20159
|
"""
|
20160
|
+
self._Rule = None
|
19800
20161
|
self._NoticeReceivers = None
|
19801
20162
|
self._WebCallbacks = None
|
19802
|
-
self.
|
20163
|
+
self._Escalate = None
|
20164
|
+
self._Type = None
|
20165
|
+
self._Interval = None
|
20166
|
+
self._EscalateNotice = None
|
20167
|
+
|
20168
|
+
@property
|
20169
|
+
def Rule(self):
|
20170
|
+
return self._Rule
|
20171
|
+
|
20172
|
+
@Rule.setter
|
20173
|
+
def Rule(self, Rule):
|
20174
|
+
self._Rule = Rule
|
19803
20175
|
|
19804
20176
|
@property
|
19805
20177
|
def NoticeReceivers(self):
|
@@ -19818,15 +20190,40 @@ class NoticeRule(AbstractModel):
|
|
19818
20190
|
self._WebCallbacks = WebCallbacks
|
19819
20191
|
|
19820
20192
|
@property
|
19821
|
-
def
|
19822
|
-
return self.
|
20193
|
+
def Escalate(self):
|
20194
|
+
return self._Escalate
|
19823
20195
|
|
19824
|
-
@
|
19825
|
-
def
|
19826
|
-
self.
|
20196
|
+
@Escalate.setter
|
20197
|
+
def Escalate(self, Escalate):
|
20198
|
+
self._Escalate = Escalate
|
20199
|
+
|
20200
|
+
@property
|
20201
|
+
def Type(self):
|
20202
|
+
return self._Type
|
20203
|
+
|
20204
|
+
@Type.setter
|
20205
|
+
def Type(self, Type):
|
20206
|
+
self._Type = Type
|
20207
|
+
|
20208
|
+
@property
|
20209
|
+
def Interval(self):
|
20210
|
+
return self._Interval
|
20211
|
+
|
20212
|
+
@Interval.setter
|
20213
|
+
def Interval(self, Interval):
|
20214
|
+
self._Interval = Interval
|
20215
|
+
|
20216
|
+
@property
|
20217
|
+
def EscalateNotice(self):
|
20218
|
+
return self._EscalateNotice
|
20219
|
+
|
20220
|
+
@EscalateNotice.setter
|
20221
|
+
def EscalateNotice(self, EscalateNotice):
|
20222
|
+
self._EscalateNotice = EscalateNotice
|
19827
20223
|
|
19828
20224
|
|
19829
20225
|
def _deserialize(self, params):
|
20226
|
+
self._Rule = params.get("Rule")
|
19830
20227
|
if params.get("NoticeReceivers") is not None:
|
19831
20228
|
self._NoticeReceivers = []
|
19832
20229
|
for item in params.get("NoticeReceivers"):
|
@@ -19839,7 +20236,12 @@ class NoticeRule(AbstractModel):
|
|
19839
20236
|
obj = WebCallback()
|
19840
20237
|
obj._deserialize(item)
|
19841
20238
|
self._WebCallbacks.append(obj)
|
19842
|
-
self.
|
20239
|
+
self._Escalate = params.get("Escalate")
|
20240
|
+
self._Type = params.get("Type")
|
20241
|
+
self._Interval = params.get("Interval")
|
20242
|
+
if params.get("EscalateNotice") is not None:
|
20243
|
+
self._EscalateNotice = EscalateNoticeInfo()
|
20244
|
+
self._EscalateNotice._deserialize(params.get("EscalateNotice"))
|
19843
20245
|
memeber_set = set(params.keys())
|
19844
20246
|
for name, value in vars(self).items():
|
19845
20247
|
property_name = name[1:]
|
@@ -23301,49 +23703,70 @@ class WebCallback(AbstractModel):
|
|
23301
23703
|
|
23302
23704
|
def __init__(self):
|
23303
23705
|
r"""
|
23304
|
-
:param _Url: 回调地址。最大支持1024个字节数。
|
23305
|
-
:type Url: str
|
23306
23706
|
:param _CallbackType: 回调的类型。可选值:
|
23307
|
-
- WeCom
|
23308
23707
|
- Http
|
23708
|
+
- WeCom
|
23309
23709
|
- DingTalk
|
23310
23710
|
- Lark
|
23311
23711
|
:type CallbackType: str
|
23712
|
+
:param _Url: 回调地址,最大支持1024个字节。
|
23713
|
+
也可使用WebCallbackId引用集成配置中的URL,此时该字段请填写为空字符串。
|
23714
|
+
:type Url: str
|
23715
|
+
:param _WebCallbackId: 集成配置ID。
|
23716
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23717
|
+
:type WebCallbackId: str
|
23312
23718
|
:param _Method: 回调方法。可选值:
|
23313
23719
|
- POST(默认值)
|
23314
23720
|
- PUT
|
23315
23721
|
|
23316
23722
|
注意:
|
23317
|
-
- 参数CallbackType为Http
|
23723
|
+
- 参数CallbackType为Http时为必选,其它回调方式无需填写。
|
23318
23724
|
注意:此字段可能返回 null,表示取不到有效值。
|
23319
23725
|
:type Method: str
|
23320
|
-
:param
|
23321
|
-
|
23726
|
+
:param _NoticeContentId: 通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。
|
23727
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23728
|
+
:type NoticeContentId: str
|
23729
|
+
:param _RemindType: 提醒类型。
|
23730
|
+
|
23731
|
+
0:不提醒;1:指定人;2:所有人
|
23732
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23733
|
+
:type RemindType: int
|
23734
|
+
:param _Mobiles: 电话列表。
|
23735
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23736
|
+
:type Mobiles: list of str
|
23737
|
+
:param _UserIds: 用户ID列表。
|
23738
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23739
|
+
:type UserIds: list of str
|
23740
|
+
:param _Headers: 该参数已废弃,请使用NoticeContentId。
|
23322
23741
|
注意:此字段可能返回 null,表示取不到有效值。
|
23323
23742
|
:type Headers: list of str
|
23324
|
-
:param _Body:
|
23325
|
-
注意:该参数已废弃,请使用NoticeContentId。
|
23743
|
+
:param _Body: 该参数已废弃,请使用NoticeContentId。
|
23326
23744
|
注意:此字段可能返回 null,表示取不到有效值。
|
23327
23745
|
:type Body: str
|
23328
23746
|
:param _Index: 序号。
|
23329
23747
|
- 入参无效。
|
23330
23748
|
- 出参有效。
|
23331
23749
|
:type Index: int
|
23332
|
-
:param _NoticeContentId: 通知内容模板ID。
|
23333
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
23334
|
-
:type NoticeContentId: str
|
23335
|
-
:param _WebCallbackId: 集成配置ID。
|
23336
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
23337
|
-
:type WebCallbackId: str
|
23338
23750
|
"""
|
23339
|
-
self._Url = None
|
23340
23751
|
self._CallbackType = None
|
23752
|
+
self._Url = None
|
23753
|
+
self._WebCallbackId = None
|
23341
23754
|
self._Method = None
|
23755
|
+
self._NoticeContentId = None
|
23756
|
+
self._RemindType = None
|
23757
|
+
self._Mobiles = None
|
23758
|
+
self._UserIds = None
|
23342
23759
|
self._Headers = None
|
23343
23760
|
self._Body = None
|
23344
23761
|
self._Index = None
|
23345
|
-
|
23346
|
-
|
23762
|
+
|
23763
|
+
@property
|
23764
|
+
def CallbackType(self):
|
23765
|
+
return self._CallbackType
|
23766
|
+
|
23767
|
+
@CallbackType.setter
|
23768
|
+
def CallbackType(self, CallbackType):
|
23769
|
+
self._CallbackType = CallbackType
|
23347
23770
|
|
23348
23771
|
@property
|
23349
23772
|
def Url(self):
|
@@ -23354,12 +23777,12 @@ class WebCallback(AbstractModel):
|
|
23354
23777
|
self._Url = Url
|
23355
23778
|
|
23356
23779
|
@property
|
23357
|
-
def
|
23358
|
-
return self.
|
23780
|
+
def WebCallbackId(self):
|
23781
|
+
return self._WebCallbackId
|
23359
23782
|
|
23360
|
-
@
|
23361
|
-
def
|
23362
|
-
self.
|
23783
|
+
@WebCallbackId.setter
|
23784
|
+
def WebCallbackId(self, WebCallbackId):
|
23785
|
+
self._WebCallbackId = WebCallbackId
|
23363
23786
|
|
23364
23787
|
@property
|
23365
23788
|
def Method(self):
|
@@ -23369,6 +23792,38 @@ class WebCallback(AbstractModel):
|
|
23369
23792
|
def Method(self, Method):
|
23370
23793
|
self._Method = Method
|
23371
23794
|
|
23795
|
+
@property
|
23796
|
+
def NoticeContentId(self):
|
23797
|
+
return self._NoticeContentId
|
23798
|
+
|
23799
|
+
@NoticeContentId.setter
|
23800
|
+
def NoticeContentId(self, NoticeContentId):
|
23801
|
+
self._NoticeContentId = NoticeContentId
|
23802
|
+
|
23803
|
+
@property
|
23804
|
+
def RemindType(self):
|
23805
|
+
return self._RemindType
|
23806
|
+
|
23807
|
+
@RemindType.setter
|
23808
|
+
def RemindType(self, RemindType):
|
23809
|
+
self._RemindType = RemindType
|
23810
|
+
|
23811
|
+
@property
|
23812
|
+
def Mobiles(self):
|
23813
|
+
return self._Mobiles
|
23814
|
+
|
23815
|
+
@Mobiles.setter
|
23816
|
+
def Mobiles(self, Mobiles):
|
23817
|
+
self._Mobiles = Mobiles
|
23818
|
+
|
23819
|
+
@property
|
23820
|
+
def UserIds(self):
|
23821
|
+
return self._UserIds
|
23822
|
+
|
23823
|
+
@UserIds.setter
|
23824
|
+
def UserIds(self, UserIds):
|
23825
|
+
self._UserIds = UserIds
|
23826
|
+
|
23372
23827
|
@property
|
23373
23828
|
def Headers(self):
|
23374
23829
|
return self._Headers
|
@@ -23393,32 +23848,19 @@ class WebCallback(AbstractModel):
|
|
23393
23848
|
def Index(self, Index):
|
23394
23849
|
self._Index = Index
|
23395
23850
|
|
23396
|
-
@property
|
23397
|
-
def NoticeContentId(self):
|
23398
|
-
return self._NoticeContentId
|
23399
|
-
|
23400
|
-
@NoticeContentId.setter
|
23401
|
-
def NoticeContentId(self, NoticeContentId):
|
23402
|
-
self._NoticeContentId = NoticeContentId
|
23403
|
-
|
23404
|
-
@property
|
23405
|
-
def WebCallbackId(self):
|
23406
|
-
return self._WebCallbackId
|
23407
|
-
|
23408
|
-
@WebCallbackId.setter
|
23409
|
-
def WebCallbackId(self, WebCallbackId):
|
23410
|
-
self._WebCallbackId = WebCallbackId
|
23411
|
-
|
23412
23851
|
|
23413
23852
|
def _deserialize(self, params):
|
23414
|
-
self._Url = params.get("Url")
|
23415
23853
|
self._CallbackType = params.get("CallbackType")
|
23854
|
+
self._Url = params.get("Url")
|
23855
|
+
self._WebCallbackId = params.get("WebCallbackId")
|
23416
23856
|
self._Method = params.get("Method")
|
23857
|
+
self._NoticeContentId = params.get("NoticeContentId")
|
23858
|
+
self._RemindType = params.get("RemindType")
|
23859
|
+
self._Mobiles = params.get("Mobiles")
|
23860
|
+
self._UserIds = params.get("UserIds")
|
23417
23861
|
self._Headers = params.get("Headers")
|
23418
23862
|
self._Body = params.get("Body")
|
23419
23863
|
self._Index = params.get("Index")
|
23420
|
-
self._NoticeContentId = params.get("NoticeContentId")
|
23421
|
-
self._WebCallbackId = params.get("WebCallbackId")
|
23422
23864
|
memeber_set = set(params.keys())
|
23423
23865
|
for name, value in vars(self).items():
|
23424
23866
|
property_name = name[1:]
|