tencentcloud-sdk-python 3.0.1139__py2.py3-none-any.whl → 3.0.1141__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/models.py +5 -42
  3. tencentcloud/cdb/v20170320/cdb_client.py +69 -0
  4. tencentcloud/cdb/v20170320/models.py +258 -0
  5. tencentcloud/clb/v20180317/models.py +24 -0
  6. tencentcloud/cls/v20201016/models.py +387 -30
  7. tencentcloud/csip/v20221121/models.py +204 -0
  8. tencentcloud/cvm/v20170312/models.py +1 -1
  9. tencentcloud/cwp/v20180228/cwp_client.py +0 -25
  10. tencentcloud/cwp/v20180228/models.py +0 -250
  11. tencentcloud/cynosdb/v20190107/models.py +1 -1
  12. tencentcloud/ocr/v20181119/ocr_client.py +0 -2
  13. tencentcloud/rum/v20210622/models.py +7 -7
  14. tencentcloud/ssl/v20191205/models.py +2 -2
  15. tencentcloud/tke/v20180525/models.py +10 -53
  16. tencentcloud/tke/v20180525/tke_client.py +3 -3
  17. tencentcloud/tmt/v20180321/errorcodes.py +6 -0
  18. tencentcloud/tsf/v20180326/models.py +49 -0
  19. tencentcloud/vpc/v20170312/models.py +25 -12
  20. tencentcloud/vpc/v20170312/vpc_client.py +2 -2
  21. tencentcloud/wedata/v20210820/models.py +657 -0
  22. {tencentcloud_sdk_python-3.0.1139.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/METADATA +1 -1
  23. {tencentcloud_sdk_python-3.0.1139.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/RECORD +26 -26
  24. {tencentcloud_sdk_python-3.0.1139.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/LICENSE +0 -0
  25. {tencentcloud_sdk_python-3.0.1139.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/WHEEL +0 -0
  26. {tencentcloud_sdk_python-3.0.1139.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/top_level.txt +0 -0
@@ -3386,19 +3386,29 @@ class CreateAlarmNoticeRequest(AbstractModel):
3386
3386
  :param _Name: 通知渠道组名称。
3387
3387
  :type Name: str
3388
3388
  :param _Type: 通知类型。可选值:
3389
- <li> Trigger - 告警触发 </li>
3390
- <li> Recovery - 告警恢复</li>
3391
- <li> All - 告警触发和告警恢复</li>
3389
+ - Trigger - 告警触发
3390
+ - Recovery - 告警恢复
3391
+ - All - 告警触发和告警恢复
3392
+
3393
+
3394
+ 注意:
3395
+ - Type、NoticeReceivers和WebCallbacks是一组配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空,NoticeRules是另一组配置,其中rule不许为空,2组配置互斥。
3396
+ - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,必须填写一组配置。
3392
3397
  :type Type: str
3393
3398
  :param _NoticeReceivers: 通知接收对象。
3399
+ 注意:
3400
+ - Type、NoticeReceivers和WebCallbacks是一组配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空,NoticeRules是另一组配置,其中rule不许为空,2组配置互斥。
3401
+ - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,必须填写一组配置。
3394
3402
  :type NoticeReceivers: list of NoticeReceiver
3395
3403
  :param _WebCallbacks: 接口回调信息(包括企业微信)。
3404
+ 注意:
3405
+ - Type、NoticeReceivers和WebCallbacks是一组配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空,NoticeRules是另一组配置,其中rule不许为空,2组配置互斥。
3406
+ - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,必须填写一组配置。
3396
3407
  :type WebCallbacks: list of WebCallback
3397
3408
  :param _NoticeRules: 通知规则。
3398
-
3399
3409
  注意:
3400
-
3401
- - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。
3410
+ - Type、NoticeReceivers和WebCallbacks是一组配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空,NoticeRules是另一组配置,其中rule不许为空,2组配置互斥。
3411
+ - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,必须填写一组配置。
3402
3412
 
3403
3413
 
3404
3414
  :type NoticeRules: list of NoticeRule
@@ -4304,7 +4314,7 @@ class CreateConfigRequest(AbstractModel):
4304
4314
  :type Name: str
4305
4315
  :param _Output: 采集配置所属日志主题ID即TopicId
4306
4316
  :type Output: str
4307
- :param _Path: 日志采集路径,包含文件名
4317
+ :param _Path: 日志采集路径,包含文件名,支持多个路径,多个路径之间英文逗号分隔,文件采集情况下必填
4308
4318
  :type Path: str
4309
4319
  :param _LogType: 采集的日志类型,默认为minimalist_log。支持以下类型:
4310
4320
  - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
@@ -6745,6 +6755,252 @@ class DashboardInfo(AbstractModel):
6745
6755
 
6746
6756
 
6747
6757
 
6758
+ class DashboardNoticeMode(AbstractModel):
6759
+ """仪表盘订阅通知方式
6760
+
6761
+ """
6762
+
6763
+ def __init__(self):
6764
+ r"""
6765
+ :param _ReceiverType: 仪表盘通知方式。<br>
6766
+ <li/>Uin:腾讯云用户<br>
6767
+ <li/>Group:腾讯云用户组<br>
6768
+ <li/>Email:自定义Email<br>
6769
+ <li/>WeCom: 企业微信回调
6770
+ :type ReceiverType: str
6771
+ :param _Values: 知方式对应的值。
6772
+ <br> <li/> 当ReceiverType不是 Wecom 时,Values必填。
6773
+ :type Values: list of str
6774
+ :param _ReceiverChannels: 仪表盘通知渠道。
6775
+ <br><li/> 支持:["Email","Sms","WeChat","Phone"]。
6776
+ <br><li/> 当ReceiverType是 Email 或 Wecom 时,ReceiverChannels不能赋值。
6777
+ 注意:此字段可能返回 null,表示取不到有效值。
6778
+ :type ReceiverChannels: list of str
6779
+ :param _Url: 回调Url。
6780
+ <br><li/> 当ReceiverType是 Wecom 时,Url必填。
6781
+ <br><li/> 当ReceiverType不是 Wecom 时,Url不能填写。
6782
+ 注意:此字段可能返回 null,表示取不到有效值。
6783
+ :type Url: str
6784
+ """
6785
+ self._ReceiverType = None
6786
+ self._Values = None
6787
+ self._ReceiverChannels = None
6788
+ self._Url = None
6789
+
6790
+ @property
6791
+ def ReceiverType(self):
6792
+ return self._ReceiverType
6793
+
6794
+ @ReceiverType.setter
6795
+ def ReceiverType(self, ReceiverType):
6796
+ self._ReceiverType = ReceiverType
6797
+
6798
+ @property
6799
+ def Values(self):
6800
+ return self._Values
6801
+
6802
+ @Values.setter
6803
+ def Values(self, Values):
6804
+ self._Values = Values
6805
+
6806
+ @property
6807
+ def ReceiverChannels(self):
6808
+ return self._ReceiverChannels
6809
+
6810
+ @ReceiverChannels.setter
6811
+ def ReceiverChannels(self, ReceiverChannels):
6812
+ self._ReceiverChannels = ReceiverChannels
6813
+
6814
+ @property
6815
+ def Url(self):
6816
+ return self._Url
6817
+
6818
+ @Url.setter
6819
+ def Url(self, Url):
6820
+ self._Url = Url
6821
+
6822
+
6823
+ def _deserialize(self, params):
6824
+ self._ReceiverType = params.get("ReceiverType")
6825
+ self._Values = params.get("Values")
6826
+ self._ReceiverChannels = params.get("ReceiverChannels")
6827
+ self._Url = params.get("Url")
6828
+ memeber_set = set(params.keys())
6829
+ for name, value in vars(self).items():
6830
+ property_name = name[1:]
6831
+ if property_name in memeber_set:
6832
+ memeber_set.remove(property_name)
6833
+ if len(memeber_set) > 0:
6834
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6835
+
6836
+
6837
+
6838
+ class DashboardSubscribeData(AbstractModel):
6839
+ """仪表盘订阅相关数据
6840
+
6841
+ """
6842
+
6843
+ def __init__(self):
6844
+ r"""
6845
+ :param _NoticeModes: 仪表盘订阅通知方式。
6846
+ :type NoticeModes: list of DashboardNoticeMode
6847
+ :param _DashboardTime: 仪表盘订阅时间,为空标识取仪表盘默认的时间。
6848
+ 注意:此字段可能返回 null,表示取不到有效值。
6849
+ :type DashboardTime: list of str
6850
+ :param _TemplateVariables: 仪表盘订阅模板变量。
6851
+ 注意:此字段可能返回 null,表示取不到有效值。
6852
+ :type TemplateVariables: list of DashboardTemplateVariable
6853
+ :param _Timezone: 时区。参考:https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#SHANGHAI
6854
+ 注意:此字段可能返回 null,表示取不到有效值。
6855
+ :type Timezone: str
6856
+ :param _SubscribeLanguage: 语言。 zh 中文、en`英文。
6857
+ 注意:此字段可能返回 null,表示取不到有效值。
6858
+ :type SubscribeLanguage: str
6859
+ :param _JumpDomain: 调用链接域名。http:// 或者 https:// 开头,不能/结尾
6860
+ 注意:此字段可能返回 null,表示取不到有效值。
6861
+ :type JumpDomain: str
6862
+ :param _JumpUrl: 自定义跳转链接。
6863
+ 注意:此字段可能返回 null,表示取不到有效值。
6864
+ :type JumpUrl: str
6865
+ """
6866
+ self._NoticeModes = None
6867
+ self._DashboardTime = None
6868
+ self._TemplateVariables = None
6869
+ self._Timezone = None
6870
+ self._SubscribeLanguage = None
6871
+ self._JumpDomain = None
6872
+ self._JumpUrl = None
6873
+
6874
+ @property
6875
+ def NoticeModes(self):
6876
+ return self._NoticeModes
6877
+
6878
+ @NoticeModes.setter
6879
+ def NoticeModes(self, NoticeModes):
6880
+ self._NoticeModes = NoticeModes
6881
+
6882
+ @property
6883
+ def DashboardTime(self):
6884
+ return self._DashboardTime
6885
+
6886
+ @DashboardTime.setter
6887
+ def DashboardTime(self, DashboardTime):
6888
+ self._DashboardTime = DashboardTime
6889
+
6890
+ @property
6891
+ def TemplateVariables(self):
6892
+ return self._TemplateVariables
6893
+
6894
+ @TemplateVariables.setter
6895
+ def TemplateVariables(self, TemplateVariables):
6896
+ self._TemplateVariables = TemplateVariables
6897
+
6898
+ @property
6899
+ def Timezone(self):
6900
+ return self._Timezone
6901
+
6902
+ @Timezone.setter
6903
+ def Timezone(self, Timezone):
6904
+ self._Timezone = Timezone
6905
+
6906
+ @property
6907
+ def SubscribeLanguage(self):
6908
+ return self._SubscribeLanguage
6909
+
6910
+ @SubscribeLanguage.setter
6911
+ def SubscribeLanguage(self, SubscribeLanguage):
6912
+ self._SubscribeLanguage = SubscribeLanguage
6913
+
6914
+ @property
6915
+ def JumpDomain(self):
6916
+ return self._JumpDomain
6917
+
6918
+ @JumpDomain.setter
6919
+ def JumpDomain(self, JumpDomain):
6920
+ self._JumpDomain = JumpDomain
6921
+
6922
+ @property
6923
+ def JumpUrl(self):
6924
+ return self._JumpUrl
6925
+
6926
+ @JumpUrl.setter
6927
+ def JumpUrl(self, JumpUrl):
6928
+ self._JumpUrl = JumpUrl
6929
+
6930
+
6931
+ def _deserialize(self, params):
6932
+ if params.get("NoticeModes") is not None:
6933
+ self._NoticeModes = []
6934
+ for item in params.get("NoticeModes"):
6935
+ obj = DashboardNoticeMode()
6936
+ obj._deserialize(item)
6937
+ self._NoticeModes.append(obj)
6938
+ self._DashboardTime = params.get("DashboardTime")
6939
+ if params.get("TemplateVariables") is not None:
6940
+ self._TemplateVariables = []
6941
+ for item in params.get("TemplateVariables"):
6942
+ obj = DashboardTemplateVariable()
6943
+ obj._deserialize(item)
6944
+ self._TemplateVariables.append(obj)
6945
+ self._Timezone = params.get("Timezone")
6946
+ self._SubscribeLanguage = params.get("SubscribeLanguage")
6947
+ self._JumpDomain = params.get("JumpDomain")
6948
+ self._JumpUrl = params.get("JumpUrl")
6949
+ memeber_set = set(params.keys())
6950
+ for name, value in vars(self).items():
6951
+ property_name = name[1:]
6952
+ if property_name in memeber_set:
6953
+ memeber_set.remove(property_name)
6954
+ if len(memeber_set) > 0:
6955
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6956
+
6957
+
6958
+
6959
+ class DashboardTemplateVariable(AbstractModel):
6960
+ """仪表盘订阅模板变量
6961
+
6962
+ """
6963
+
6964
+ def __init__(self):
6965
+ r"""
6966
+ :param _Key: key的值
6967
+ :type Key: str
6968
+ :param _Values: key对应的values取值values
6969
+ :type Values: list of str
6970
+ """
6971
+ self._Key = None
6972
+ self._Values = None
6973
+
6974
+ @property
6975
+ def Key(self):
6976
+ return self._Key
6977
+
6978
+ @Key.setter
6979
+ def Key(self, Key):
6980
+ self._Key = Key
6981
+
6982
+ @property
6983
+ def Values(self):
6984
+ return self._Values
6985
+
6986
+ @Values.setter
6987
+ def Values(self, Values):
6988
+ self._Values = Values
6989
+
6990
+
6991
+ def _deserialize(self, params):
6992
+ self._Key = params.get("Key")
6993
+ self._Values = params.get("Values")
6994
+ memeber_set = set(params.keys())
6995
+ for name, value in vars(self).items():
6996
+ property_name = name[1:]
6997
+ if property_name in memeber_set:
6998
+ memeber_set.remove(property_name)
6999
+ if len(memeber_set) > 0:
7000
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7001
+
7002
+
7003
+
6748
7004
  class DashboardTopicInfo(AbstractModel):
6749
7005
  """仪表盘关联的topic信息
6750
7006
 
@@ -7210,7 +7466,7 @@ class DeleteConfigExtraRequest(AbstractModel):
7210
7466
 
7211
7467
  def __init__(self):
7212
7468
  r"""
7213
- :param _ConfigExtraId: 采集规则扩展配置ID
7469
+ :param _ConfigExtraId: 特殊采集规则扩展配置ID
7214
7470
  :type ConfigExtraId: str
7215
7471
  """
7216
7472
  self._ConfigExtraId = None
@@ -8656,7 +8912,27 @@ class DescribeConfigExtrasRequest(AbstractModel):
8656
8912
 
8657
8913
  def __init__(self):
8658
8914
  r"""
8659
- :param _Filters: 支持的key: topicId,name, configExtraId, machineGroupId
8915
+ :param _Filters: name
8916
+ - 按照【特殊采集配置名称】进行模糊匹配过滤。
8917
+ - 类型:String
8918
+ - 必选:否
8919
+
8920
+ configExtraId
8921
+ - 按照【特殊采集配置ID】进行过滤。
8922
+ - 类型:String
8923
+ - 必选:否
8924
+
8925
+ topicId
8926
+ - 按照【日志主题】进行过滤。
8927
+ - 类型:String
8928
+ - 必选:否
8929
+
8930
+ machineGroupId
8931
+ - 按照【机器组ID】进行过滤。
8932
+ - 类型:String
8933
+ - 必选:否
8934
+
8935
+ 每次请求的Filters的上限为10,Filter.Values的上限为5。
8660
8936
  :type Filters: list of Filter
8661
8937
  :param _Offset: 分页的偏移量,默认值为0
8662
8938
  :type Offset: int
@@ -11774,7 +12050,7 @@ class ExtractRuleInfo(AbstractModel):
11774
12050
  :param _UnMatchUpLoadSwitch: 解析失败日志是否上传,true表示上传,false表示不上传
11775
12051
  注意:此字段可能返回 null,表示取不到有效值。
11776
12052
  :type UnMatchUpLoadSwitch: bool
11777
- :param _UnMatchLogKey: 失败日志的key
12053
+ :param _UnMatchLogKey: 失败日志的key,当UnMatchUpLoadSwitch为true时必填
11778
12054
  注意:此字段可能返回 null,表示取不到有效值。
11779
12055
  :type UnMatchLogKey: str
11780
12056
  :param _Backtracking: 增量采集模式下的回溯数据量,默认:-1(全量采集);其他非负数表示增量采集(从最新的位置,往前采集${Backtracking}字节(Byte)的日志)最大支持1073741824(1G)。
@@ -11783,20 +12059,23 @@ class ExtractRuleInfo(AbstractModel):
11783
12059
  注意:此字段可能返回 null,表示取不到有效值。
11784
12060
  :type Backtracking: int
11785
12061
  :param _IsGBK: 是否为Gbk编码。 0:否;1:是。
11786
- 注意:
12062
+ 注意
12063
+ - 目前取0值时,表示UTF-8编码
11787
12064
  - COS导入不支持此字段。
11788
12065
  注意:此字段可能返回 null,表示取不到有效值。
11789
12066
  :type IsGBK: int
11790
12067
  :param _JsonStandard: 是否为标准json。 0:否; 1:是。
12068
+
12069
+ - 标准json指采集器使用业界标准开源解析器进行json解析,非标json指采集器使用CLS自研json解析器进行解析,两种解析器没有本质区别,建议客户使用标准json进行解析。
11791
12070
  注意:此字段可能返回 null,表示取不到有效值。
11792
12071
  :type JsonStandard: int
11793
- :param _Protocol: syslog传输协议,取值为tcp或者udp
12072
+ :param _Protocol: syslog传输协议,取值为tcp或者udp,只有在LogType为service_syslog时生效,其余类型无需填写。
11794
12073
  注意:
11795
12074
  - 该字段适用于:创建采集规则配置、修改采集规则配置。
11796
12075
  - COS导入不支持此字段。
11797
12076
  注意:此字段可能返回 null,表示取不到有效值。
11798
12077
  :type Protocol: str
11799
- :param _Address: syslog系统日志采集指定采集器监听的地址和端口 ,形式:[ip]:[port]。举例:127.0.0.1:9000
12078
+ :param _Address: syslog系统日志采集指定采集器监听的地址和端口 ,形式:[ip]:[port],只有在LogType为service_syslog时生效,其余类型无需填写。
11800
12079
  注意:
11801
12080
  - 该字段适用于:创建采集规则配置、修改采集规则配置。
11802
12081
  - COS导入不支持此字段。
@@ -11805,6 +12084,7 @@ class ExtractRuleInfo(AbstractModel):
11805
12084
  :param _ParseProtocol: rfc3164:指定系统日志采集使用RFC3164协议解析日志。
11806
12085
  rfc5424:指定系统日志采集使用RFC5424协议解析日志。
11807
12086
  auto:自动匹配rfc3164或者rfc5424其中一种协议。
12087
+ 只有在LogType为service_syslog时生效,其余类型无需填写。
11808
12088
  注意:
11809
12089
  - 该字段适用于:创建采集规则配置、修改采集规则配置
11810
12090
  - COS导入不支持此字段。
@@ -11825,9 +12105,7 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
11825
12105
  - MetadataType为2时必填。
11826
12106
  - COS导入不支持此字段。
11827
12107
  :type MetaTags: list of MetaTagInfo
11828
- :param _EventLogRules: Windows事件日志采集。
11829
- 注意:
11830
- - COS导入不支持此字段。
12108
+ :param _EventLogRules: Windows事件日志采集规则,只有在LogType为windows_event_log时生效,其余类型无需填写。
11831
12109
  :type EventLogRules: list of EventLog
11832
12110
  """
11833
12111
  self._TimeKey = None
@@ -17433,23 +17711,28 @@ class NoticeReceiver(AbstractModel):
17433
17711
  def __init__(self):
17434
17712
  r"""
17435
17713
  :param _ReceiverType: 接受者类型。可选值:
17436
- <br><li> Uin - 用户ID
17437
- <br><li> Group - 用户组ID
17714
+ - Uin - 用户ID
17715
+ - Group - 用户组ID
17438
17716
  暂不支持其余接收者类型。
17439
17717
  :type ReceiverType: str
17440
17718
  :param _ReceiverIds: 接收者。
17719
+ 当ReceiverType为Uin时,ReceiverIds的值为用户id。[子用户信息查询](https://cloud.tencent.com/document/product/598/36258)
17720
+ 当ReceiverType为Group时,ReceiverIds的值为用户组id。[CAM用户组](https://cloud.tencent.com/document/product/598/14985)
17441
17721
  :type ReceiverIds: list of int
17442
17722
  :param _ReceiverChannels: 通知接收渠道。
17443
- <br><li> Email - 邮件
17444
- <br><li> Sms - 短信
17445
- <br><li> WeChat - 微信
17446
- <br><li> Phone - 电话
17723
+ - Email - 邮件
17724
+ - Sms - 短信
17725
+ - WeChat - 微信
17726
+ - Phone - 电话
17447
17727
  :type ReceiverChannels: list of str
17448
17728
  :param _StartTime: 允许接收信息的开始时间。
17449
17729
  :type StartTime: str
17450
17730
  :param _EndTime: 允许接收信息的结束时间。
17451
17731
  :type EndTime: str
17452
- :param _Index: 位序
17732
+ :param _Index: 位序。
17733
+
17734
+ - 入参无效。
17735
+ - 出参时有效。
17453
17736
  :type Index: int
17454
17737
  """
17455
17738
  self._ReceiverType = None
@@ -17538,7 +17821,12 @@ class NoticeRule(AbstractModel):
17538
17821
  :param _WebCallbacks: 告警通知模板回调信息。
17539
17822
  注意:此字段可能返回 null,表示取不到有效值。
17540
17823
  :type WebCallbacks: list of WebCallback
17541
- :param _Rule: 匹配规则。
17824
+ :param _Rule: 匹配规则 JSON串。
17825
+ `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1,2]\",\"Type\":\"Value\"}]}]}
17826
+ `
17827
+ 以上示例表示:
17828
+ 规则:
17829
+ 通知类型属于告警通知,恢复通知
17542
17830
  注意:此字段可能返回 null,表示取不到有效值。
17543
17831
  :type Rule: str
17544
17832
  """
@@ -19226,6 +19514,71 @@ class SearchDashboardSubscribeRequest(AbstractModel):
19226
19514
 
19227
19515
  """
19228
19516
 
19517
+ def __init__(self):
19518
+ r"""
19519
+ :param _DashboardId: 仪表盘id。
19520
+ :type DashboardId: str
19521
+ :param _SubscribeData: 仪表盘订阅数据。
19522
+ :type SubscribeData: :class:`tencentcloud.cls.v20201016.models.DashboardSubscribeData`
19523
+ :param _Id: 仪表盘订阅Id。
19524
+ :type Id: int
19525
+ :param _Name: 仪表盘订阅名称。
19526
+ :type Name: str
19527
+ """
19528
+ self._DashboardId = None
19529
+ self._SubscribeData = None
19530
+ self._Id = None
19531
+ self._Name = None
19532
+
19533
+ @property
19534
+ def DashboardId(self):
19535
+ return self._DashboardId
19536
+
19537
+ @DashboardId.setter
19538
+ def DashboardId(self, DashboardId):
19539
+ self._DashboardId = DashboardId
19540
+
19541
+ @property
19542
+ def SubscribeData(self):
19543
+ return self._SubscribeData
19544
+
19545
+ @SubscribeData.setter
19546
+ def SubscribeData(self, SubscribeData):
19547
+ self._SubscribeData = SubscribeData
19548
+
19549
+ @property
19550
+ def Id(self):
19551
+ return self._Id
19552
+
19553
+ @Id.setter
19554
+ def Id(self, Id):
19555
+ self._Id = Id
19556
+
19557
+ @property
19558
+ def Name(self):
19559
+ return self._Name
19560
+
19561
+ @Name.setter
19562
+ def Name(self, Name):
19563
+ self._Name = Name
19564
+
19565
+
19566
+ def _deserialize(self, params):
19567
+ self._DashboardId = params.get("DashboardId")
19568
+ if params.get("SubscribeData") is not None:
19569
+ self._SubscribeData = DashboardSubscribeData()
19570
+ self._SubscribeData._deserialize(params.get("SubscribeData"))
19571
+ self._Id = params.get("Id")
19572
+ self._Name = params.get("Name")
19573
+ memeber_set = set(params.keys())
19574
+ for name, value in vars(self).items():
19575
+ property_name = name[1:]
19576
+ if property_name in memeber_set:
19577
+ memeber_set.remove(property_name)
19578
+ if len(memeber_set) > 0:
19579
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19580
+
19581
+
19229
19582
 
19230
19583
  class SearchDashboardSubscribeResponse(AbstractModel):
19231
19584
  """SearchDashboardSubscribe返回参数结构体
@@ -20847,15 +21200,17 @@ class WebCallback(AbstractModel):
20847
21200
 
20848
21201
  def __init__(self):
20849
21202
  r"""
20850
- :param _Url: 回调地址。
21203
+ :param _Url: 回调地址。最大支持1024个字节数。
20851
21204
  :type Url: str
20852
21205
  :param _CallbackType: 回调的类型。可选值:
20853
- <li> WeCom
20854
- <li> Http
21206
+ - WeCom
21207
+ - Http
21208
+ - DingTalk
21209
+ - Lark
20855
21210
  :type CallbackType: str
20856
21211
  :param _Method: 回调方法。可选值:
20857
- <li> POST
20858
- <li> PUT
21212
+ - POST
21213
+ - PUT
20859
21214
  默认值为POST。CallbackType为Http时为必选。
20860
21215
  注意:此字段可能返回 null,表示取不到有效值。
20861
21216
  :type Method: str
@@ -20867,7 +21222,9 @@ class WebCallback(AbstractModel):
20867
21222
  注意:该参数已废弃,请在<a href="https://cloud.tencent.com/document/product/614/56466">创建告警策略</a>接口CallBack参数中指定请求内容。
20868
21223
  注意:此字段可能返回 null,表示取不到有效值。
20869
21224
  :type Body: str
20870
- :param _Index: 序号
21225
+ :param _Index: 序号。
21226
+ - 入参无效。
21227
+ - 出参有效。
20871
21228
  :type Index: int
20872
21229
  """
20873
21230
  self._Url = None