tencentcloud-sdk-python 3.0.1249__py2.py3-none-any.whl → 3.0.1251__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 (40) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +8 -1
  3. tencentcloud/ccc/v20200210/models.py +117 -0
  4. tencentcloud/cls/v20201016/cls_client.py +92 -0
  5. tencentcloud/cls/v20201016/models.py +797 -28
  6. tencentcloud/cynosdb/v20190107/models.py +13 -0
  7. tencentcloud/dc/v20180410/dc_client.py +23 -0
  8. tencentcloud/dc/v20180410/models.py +426 -0
  9. tencentcloud/dlc/v20210125/dlc_client.py +23 -0
  10. tencentcloud/dlc/v20210125/models.py +388 -0
  11. tencentcloud/emr/v20190103/errorcodes.py +1 -1
  12. tencentcloud/emr/v20190103/models.py +2 -94
  13. tencentcloud/ess/v20201111/ess_client.py +35 -6
  14. tencentcloud/ess/v20201111/models.py +32 -10
  15. tencentcloud/essbasic/v20210526/models.py +2 -3
  16. tencentcloud/faceid/v20180301/models.py +28 -1
  17. tencentcloud/gwlb/__init__.py +0 -0
  18. tencentcloud/gwlb/v20240906/__init__.py +0 -0
  19. tencentcloud/gwlb/v20240906/errorcodes.py +48 -0
  20. tencentcloud/gwlb/v20240906/gwlb_client.py +448 -0
  21. tencentcloud/gwlb/v20240906/models.py +2834 -0
  22. tencentcloud/privatedns/v20201028/errorcodes.py +18 -0
  23. tencentcloud/privatedns/v20201028/models.py +142 -0
  24. tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
  25. tencentcloud/sms/v20190711/errorcodes.py +3 -0
  26. tencentcloud/sms/v20210111/errorcodes.py +3 -0
  27. tencentcloud/teo/v20220901/models.py +8 -5
  28. tencentcloud/tke/v20180525/models.py +2 -108
  29. tencentcloud/tke/v20180525/tke_client.py +0 -25
  30. tencentcloud/vclm/v20240523/models.py +12 -0
  31. tencentcloud/vod/v20180717/vod_client.py +1 -0
  32. tencentcloud/vpc/v20170312/errorcodes.py +6 -0
  33. tencentcloud/vpc/v20170312/models.py +16 -4
  34. tencentcloud/vpc/v20170312/vpc_client.py +1 -1
  35. tencentcloud/vtc/v20240223/models.py +12 -0
  36. {tencentcloud_sdk_python-3.0.1249.dist-info → tencentcloud_sdk_python-3.0.1251.dist-info}/METADATA +1 -1
  37. {tencentcloud_sdk_python-3.0.1249.dist-info → tencentcloud_sdk_python-3.0.1251.dist-info}/RECORD +40 -35
  38. {tencentcloud_sdk_python-3.0.1249.dist-info → tencentcloud_sdk_python-3.0.1251.dist-info}/LICENSE +0 -0
  39. {tencentcloud_sdk_python-3.0.1249.dist-info → tencentcloud_sdk_python-3.0.1251.dist-info}/WHEEL +0 -0
  40. {tencentcloud_sdk_python-3.0.1249.dist-info → tencentcloud_sdk_python-3.0.1251.dist-info}/top_level.txt +0 -0
@@ -91,6 +91,66 @@ class AddMachineGroupInfoResponse(AbstractModel):
91
91
  self._RequestId = params.get("RequestId")
92
92
 
93
93
 
94
+ class AdvanceFilterRuleInfo(AbstractModel):
95
+ """高级过滤规则
96
+
97
+ """
98
+
99
+ def __init__(self):
100
+ r"""
101
+ :param _Key: 过滤字段
102
+ 注意:此字段可能返回 null,表示取不到有效值。
103
+ :type Key: str
104
+ :param _Rule: 过滤规则,0:等于,1:字段存在,2:字段不存在
105
+ 注意:此字段可能返回 null,表示取不到有效值。
106
+ :type Rule: int
107
+ :param _Value: 过滤值
108
+ 注意:此字段可能返回 null,表示取不到有效值。
109
+ :type Value: str
110
+ """
111
+ self._Key = None
112
+ self._Rule = None
113
+ self._Value = None
114
+
115
+ @property
116
+ def Key(self):
117
+ return self._Key
118
+
119
+ @Key.setter
120
+ def Key(self, Key):
121
+ self._Key = Key
122
+
123
+ @property
124
+ def Rule(self):
125
+ return self._Rule
126
+
127
+ @Rule.setter
128
+ def Rule(self, Rule):
129
+ self._Rule = Rule
130
+
131
+ @property
132
+ def Value(self):
133
+ return self._Value
134
+
135
+ @Value.setter
136
+ def Value(self, Value):
137
+ self._Value = Value
138
+
139
+
140
+ def _deserialize(self, params):
141
+ self._Key = params.get("Key")
142
+ self._Rule = params.get("Rule")
143
+ self._Value = params.get("Value")
144
+ memeber_set = set(params.keys())
145
+ for name, value in vars(self).items():
146
+ property_name = name[1:]
147
+ if property_name in memeber_set:
148
+ memeber_set.remove(property_name)
149
+ if len(memeber_set) > 0:
150
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
151
+
152
+
153
+
94
154
  class AlarmAnalysisConfig(AbstractModel):
95
155
  """告警多维分析一些配置信息
96
156
 
@@ -6412,6 +6472,105 @@ class CreateMachineGroupResponse(AbstractModel):
6412
6472
  self._RequestId = params.get("RequestId")
6413
6473
 
6414
6474
 
6475
+ class CreateNoticeContentRequest(AbstractModel):
6476
+ """CreateNoticeContent请求参数结构体
6477
+
6478
+ """
6479
+
6480
+ def __init__(self):
6481
+ r"""
6482
+ :param _Name: 模版名称。
6483
+ :type Name: str
6484
+ :param _Type: 模版内容语言。0:中文1:英文
6485
+ :type Type: int
6486
+ :param _NoticeContents: 模版详细配置。
6487
+ :type NoticeContents: list of NoticeContent
6488
+ """
6489
+ self._Name = None
6490
+ self._Type = None
6491
+ self._NoticeContents = None
6492
+
6493
+ @property
6494
+ def Name(self):
6495
+ return self._Name
6496
+
6497
+ @Name.setter
6498
+ def Name(self, Name):
6499
+ self._Name = Name
6500
+
6501
+ @property
6502
+ def Type(self):
6503
+ return self._Type
6504
+
6505
+ @Type.setter
6506
+ def Type(self, Type):
6507
+ self._Type = Type
6508
+
6509
+ @property
6510
+ def NoticeContents(self):
6511
+ return self._NoticeContents
6512
+
6513
+ @NoticeContents.setter
6514
+ def NoticeContents(self, NoticeContents):
6515
+ self._NoticeContents = NoticeContents
6516
+
6517
+
6518
+ def _deserialize(self, params):
6519
+ self._Name = params.get("Name")
6520
+ self._Type = params.get("Type")
6521
+ if params.get("NoticeContents") is not None:
6522
+ self._NoticeContents = []
6523
+ for item in params.get("NoticeContents"):
6524
+ obj = NoticeContent()
6525
+ obj._deserialize(item)
6526
+ self._NoticeContents.append(obj)
6527
+ memeber_set = set(params.keys())
6528
+ for name, value in vars(self).items():
6529
+ property_name = name[1:]
6530
+ if property_name in memeber_set:
6531
+ memeber_set.remove(property_name)
6532
+ if len(memeber_set) > 0:
6533
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6534
+
6535
+
6536
+
6537
+ class CreateNoticeContentResponse(AbstractModel):
6538
+ """CreateNoticeContent返回参数结构体
6539
+
6540
+ """
6541
+
6542
+ def __init__(self):
6543
+ r"""
6544
+ :param _NoticeContentId: 通知内容配置ID
6545
+ :type NoticeContentId: str
6546
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6547
+ :type RequestId: str
6548
+ """
6549
+ self._NoticeContentId = None
6550
+ self._RequestId = None
6551
+
6552
+ @property
6553
+ def NoticeContentId(self):
6554
+ return self._NoticeContentId
6555
+
6556
+ @NoticeContentId.setter
6557
+ def NoticeContentId(self, NoticeContentId):
6558
+ self._NoticeContentId = NoticeContentId
6559
+
6560
+ @property
6561
+ def RequestId(self):
6562
+ return self._RequestId
6563
+
6564
+ @RequestId.setter
6565
+ def RequestId(self, RequestId):
6566
+ self._RequestId = RequestId
6567
+
6568
+
6569
+ def _deserialize(self, params):
6570
+ self._NoticeContentId = params.get("NoticeContentId")
6571
+ self._RequestId = params.get("RequestId")
6572
+
6573
+
6415
6574
  class CreateScheduledSqlRequest(AbstractModel):
6416
6575
  """CreateScheduledSql请求参数结构体
6417
6576
 
@@ -8851,6 +9010,64 @@ class DeleteMachineGroupResponse(AbstractModel):
8851
9010
  self._RequestId = params.get("RequestId")
8852
9011
 
8853
9012
 
9013
+ class DeleteNoticeContentRequest(AbstractModel):
9014
+ """DeleteNoticeContent请求参数结构体
9015
+
9016
+ """
9017
+
9018
+ def __init__(self):
9019
+ r"""
9020
+ :param _NoticeContentId: 通知内容模版ID
9021
+ :type NoticeContentId: str
9022
+ """
9023
+ self._NoticeContentId = None
9024
+
9025
+ @property
9026
+ def NoticeContentId(self):
9027
+ return self._NoticeContentId
9028
+
9029
+ @NoticeContentId.setter
9030
+ def NoticeContentId(self, NoticeContentId):
9031
+ self._NoticeContentId = NoticeContentId
9032
+
9033
+
9034
+ def _deserialize(self, params):
9035
+ self._NoticeContentId = params.get("NoticeContentId")
9036
+ memeber_set = set(params.keys())
9037
+ for name, value in vars(self).items():
9038
+ property_name = name[1:]
9039
+ if property_name in memeber_set:
9040
+ memeber_set.remove(property_name)
9041
+ if len(memeber_set) > 0:
9042
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9043
+
9044
+
9045
+
9046
+ class DeleteNoticeContentResponse(AbstractModel):
9047
+ """DeleteNoticeContent返回参数结构体
9048
+
9049
+ """
9050
+
9051
+ def __init__(self):
9052
+ r"""
9053
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9054
+ :type RequestId: str
9055
+ """
9056
+ self._RequestId = None
9057
+
9058
+ @property
9059
+ def RequestId(self):
9060
+ return self._RequestId
9061
+
9062
+ @RequestId.setter
9063
+ def RequestId(self, RequestId):
9064
+ self._RequestId = RequestId
9065
+
9066
+
9067
+ def _deserialize(self, params):
9068
+ self._RequestId = params.get("RequestId")
9069
+
9070
+
8854
9071
  class DeleteScheduledSqlRequest(AbstractModel):
8855
9072
  """DeleteScheduledSql请求参数结构体
8856
9073
 
@@ -11996,29 +12213,68 @@ class DescribeMachinesResponse(AbstractModel):
11996
12213
  self._RequestId = params.get("RequestId")
11997
12214
 
11998
12215
 
11999
- class DescribePartitionsRequest(AbstractModel):
12000
- """DescribePartitions请求参数结构体
12216
+ class DescribeNoticeContentsRequest(AbstractModel):
12217
+ """DescribeNoticeContents请求参数结构体
12001
12218
 
12002
12219
  """
12003
12220
 
12004
12221
  def __init__(self):
12005
12222
  r"""
12006
- :param _TopicId: 日志主题ID
12007
- :type TopicId: str
12223
+ :param _Filters: <li> name
12224
+ 按照【通知内容模版名称】进行过滤。
12225
+ 类型:String
12226
+ 必选:否
12227
+ </li>
12228
+ <li> noticeContentId
12229
+ 按照【通知内容模版ID】进行过滤。
12230
+ 类型:String
12231
+ 必选:否
12232
+ </li>
12233
+ 每次请求的Filters的上限为10,Filter.Values的上限为100。
12234
+ :type Filters: list of Filter
12235
+ :param _Offset: 分页的偏移量,默认值为0。
12236
+ :type Offset: int
12237
+ :param _Limit: 分页单页限制数目,默认值为20,最大值100。
12238
+ :type Limit: int
12008
12239
  """
12009
- self._TopicId = None
12240
+ self._Filters = None
12241
+ self._Offset = None
12242
+ self._Limit = None
12010
12243
 
12011
12244
  @property
12012
- def TopicId(self):
12013
- return self._TopicId
12245
+ def Filters(self):
12246
+ return self._Filters
12014
12247
 
12015
- @TopicId.setter
12016
- def TopicId(self, TopicId):
12017
- self._TopicId = TopicId
12248
+ @Filters.setter
12249
+ def Filters(self, Filters):
12250
+ self._Filters = Filters
12251
+
12252
+ @property
12253
+ def Offset(self):
12254
+ return self._Offset
12255
+
12256
+ @Offset.setter
12257
+ def Offset(self, Offset):
12258
+ self._Offset = Offset
12259
+
12260
+ @property
12261
+ def Limit(self):
12262
+ return self._Limit
12263
+
12264
+ @Limit.setter
12265
+ def Limit(self, Limit):
12266
+ self._Limit = Limit
12018
12267
 
12019
12268
 
12020
12269
  def _deserialize(self, params):
12021
- self._TopicId = params.get("TopicId")
12270
+ if params.get("Filters") is not None:
12271
+ self._Filters = []
12272
+ for item in params.get("Filters"):
12273
+ obj = Filter()
12274
+ obj._deserialize(item)
12275
+ self._Filters.append(obj)
12276
+ self._Offset = params.get("Offset")
12277
+ self._Limit = params.get("Limit")
12022
12278
  memeber_set = set(params.keys())
12023
12279
  for name, value in vars(self).items():
12024
12280
  property_name = name[1:]
@@ -12029,28 +12285,40 @@ class DescribePartitionsRequest(AbstractModel):
12029
12285
 
12030
12286
 
12031
12287
 
12032
- class DescribePartitionsResponse(AbstractModel):
12033
- """DescribePartitions返回参数结构体
12288
+ class DescribeNoticeContentsResponse(AbstractModel):
12289
+ """DescribeNoticeContents返回参数结构体
12034
12290
 
12035
12291
  """
12036
12292
 
12037
12293
  def __init__(self):
12038
12294
  r"""
12039
- :param _Partitions: 分区列表
12040
- :type Partitions: list of PartitionInfo
12295
+ :param _NoticeContents: 通知内容模版列表。
12296
+ 注意:此字段可能返回 null,表示取不到有效值。
12297
+ :type NoticeContents: list of NoticeContentTemplate
12298
+ :param _TotalCount: 符合条件的通知内容模版总数。
12299
+ :type TotalCount: int
12041
12300
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12042
12301
  :type RequestId: str
12043
12302
  """
12044
- self._Partitions = None
12303
+ self._NoticeContents = None
12304
+ self._TotalCount = None
12045
12305
  self._RequestId = None
12046
12306
 
12047
12307
  @property
12048
- def Partitions(self):
12049
- return self._Partitions
12308
+ def NoticeContents(self):
12309
+ return self._NoticeContents
12050
12310
 
12051
- @Partitions.setter
12052
- def Partitions(self, Partitions):
12053
- self._Partitions = Partitions
12311
+ @NoticeContents.setter
12312
+ def NoticeContents(self, NoticeContents):
12313
+ self._NoticeContents = NoticeContents
12314
+
12315
+ @property
12316
+ def TotalCount(self):
12317
+ return self._TotalCount
12318
+
12319
+ @TotalCount.setter
12320
+ def TotalCount(self, TotalCount):
12321
+ self._TotalCount = TotalCount
12054
12322
 
12055
12323
  @property
12056
12324
  def RequestId(self):
@@ -12062,17 +12330,93 @@ class DescribePartitionsResponse(AbstractModel):
12062
12330
 
12063
12331
 
12064
12332
  def _deserialize(self, params):
12065
- if params.get("Partitions") is not None:
12066
- self._Partitions = []
12067
- for item in params.get("Partitions"):
12068
- obj = PartitionInfo()
12333
+ if params.get("NoticeContents") is not None:
12334
+ self._NoticeContents = []
12335
+ for item in params.get("NoticeContents"):
12336
+ obj = NoticeContentTemplate()
12069
12337
  obj._deserialize(item)
12070
- self._Partitions.append(obj)
12338
+ self._NoticeContents.append(obj)
12339
+ self._TotalCount = params.get("TotalCount")
12071
12340
  self._RequestId = params.get("RequestId")
12072
12341
 
12073
12342
 
12074
- class DescribeScheduledSqlInfoRequest(AbstractModel):
12075
- """DescribeScheduledSqlInfo请求参数结构体
12343
+ class DescribePartitionsRequest(AbstractModel):
12344
+ """DescribePartitions请求参数结构体
12345
+
12346
+ """
12347
+
12348
+ def __init__(self):
12349
+ r"""
12350
+ :param _TopicId: 日志主题ID
12351
+ :type TopicId: str
12352
+ """
12353
+ self._TopicId = None
12354
+
12355
+ @property
12356
+ def TopicId(self):
12357
+ return self._TopicId
12358
+
12359
+ @TopicId.setter
12360
+ def TopicId(self, TopicId):
12361
+ self._TopicId = TopicId
12362
+
12363
+
12364
+ def _deserialize(self, params):
12365
+ self._TopicId = params.get("TopicId")
12366
+ memeber_set = set(params.keys())
12367
+ for name, value in vars(self).items():
12368
+ property_name = name[1:]
12369
+ if property_name in memeber_set:
12370
+ memeber_set.remove(property_name)
12371
+ if len(memeber_set) > 0:
12372
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12373
+
12374
+
12375
+
12376
+ class DescribePartitionsResponse(AbstractModel):
12377
+ """DescribePartitions返回参数结构体
12378
+
12379
+ """
12380
+
12381
+ def __init__(self):
12382
+ r"""
12383
+ :param _Partitions: 分区列表
12384
+ :type Partitions: list of PartitionInfo
12385
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12386
+ :type RequestId: str
12387
+ """
12388
+ self._Partitions = None
12389
+ self._RequestId = None
12390
+
12391
+ @property
12392
+ def Partitions(self):
12393
+ return self._Partitions
12394
+
12395
+ @Partitions.setter
12396
+ def Partitions(self, Partitions):
12397
+ self._Partitions = Partitions
12398
+
12399
+ @property
12400
+ def RequestId(self):
12401
+ return self._RequestId
12402
+
12403
+ @RequestId.setter
12404
+ def RequestId(self, RequestId):
12405
+ self._RequestId = RequestId
12406
+
12407
+
12408
+ def _deserialize(self, params):
12409
+ if params.get("Partitions") is not None:
12410
+ self._Partitions = []
12411
+ for item in params.get("Partitions"):
12412
+ obj = PartitionInfo()
12413
+ obj._deserialize(item)
12414
+ self._Partitions.append(obj)
12415
+ self._RequestId = params.get("RequestId")
12416
+
12417
+
12418
+ class DescribeScheduledSqlInfoRequest(AbstractModel):
12419
+ """DescribeScheduledSqlInfo请求参数结构体
12076
12420
 
12077
12421
  """
12078
12422
 
@@ -13048,6 +13392,12 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
13048
13392
  :type MetaTags: list of MetaTagInfo
13049
13393
  :param _EventLogRules: Windows事件日志采集规则,只有在LogType为windows_event_log时生效,其余类型无需填写。
13050
13394
  :type EventLogRules: list of EventLog
13395
+ :param _AdvanceFilterRules: 日志过滤规则列表(新版)。
13396
+ 注意:
13397
+ - 2.9.3以下版本LogListener不支持, 请使用FilterKeyRegex配置日志过滤规则。
13398
+ - 自建k8s采集配置(CreateConfigExtra、ModifyConfigExtra)不支持此字段。
13399
+ 注意:此字段可能返回 null,表示取不到有效值。
13400
+ :type AdvanceFilterRules: list of AdvanceFilterRuleInfo
13051
13401
  """
13052
13402
  self._TimeKey = None
13053
13403
  self._TimeFormat = None
@@ -13068,6 +13418,7 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
13068
13418
  self._PathRegex = None
13069
13419
  self._MetaTags = None
13070
13420
  self._EventLogRules = None
13421
+ self._AdvanceFilterRules = None
13071
13422
 
13072
13423
  @property
13073
13424
  def TimeKey(self):
@@ -13221,6 +13572,14 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
13221
13572
  def EventLogRules(self, EventLogRules):
13222
13573
  self._EventLogRules = EventLogRules
13223
13574
 
13575
+ @property
13576
+ def AdvanceFilterRules(self):
13577
+ return self._AdvanceFilterRules
13578
+
13579
+ @AdvanceFilterRules.setter
13580
+ def AdvanceFilterRules(self, AdvanceFilterRules):
13581
+ self._AdvanceFilterRules = AdvanceFilterRules
13582
+
13224
13583
 
13225
13584
  def _deserialize(self, params):
13226
13585
  self._TimeKey = params.get("TimeKey")
@@ -13257,6 +13616,12 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
13257
13616
  obj = EventLog()
13258
13617
  obj._deserialize(item)
13259
13618
  self._EventLogRules.append(obj)
13619
+ if params.get("AdvanceFilterRules") is not None:
13620
+ self._AdvanceFilterRules = []
13621
+ for item in params.get("AdvanceFilterRules"):
13622
+ obj = AdvanceFilterRuleInfo()
13623
+ obj._deserialize(item)
13624
+ self._AdvanceFilterRules.append(obj)
13260
13625
  memeber_set = set(params.keys())
13261
13626
  for name, value in vars(self).items():
13262
13627
  property_name = name[1:]
@@ -18093,6 +18458,107 @@ class ModifyMachineGroupResponse(AbstractModel):
18093
18458
  self._RequestId = params.get("RequestId")
18094
18459
 
18095
18460
 
18461
+ class ModifyNoticeContentRequest(AbstractModel):
18462
+ """ModifyNoticeContent请求参数结构体
18463
+
18464
+ """
18465
+
18466
+ def __init__(self):
18467
+ r"""
18468
+ :param _NoticeContentId: 通知内容模版ID。
18469
+ :type NoticeContentId: str
18470
+ :param _Name: 通知内容模版名称。
18471
+ :type Name: str
18472
+ :param _Type: 通知内容语言。
18473
+
18474
+ 0:中文 1:英文
18475
+ :type Type: int
18476
+ :param _NoticeContents: 通知内容模版详细信息。
18477
+ :type NoticeContents: list of NoticeContent
18478
+ """
18479
+ self._NoticeContentId = None
18480
+ self._Name = None
18481
+ self._Type = None
18482
+ self._NoticeContents = None
18483
+
18484
+ @property
18485
+ def NoticeContentId(self):
18486
+ return self._NoticeContentId
18487
+
18488
+ @NoticeContentId.setter
18489
+ def NoticeContentId(self, NoticeContentId):
18490
+ self._NoticeContentId = NoticeContentId
18491
+
18492
+ @property
18493
+ def Name(self):
18494
+ return self._Name
18495
+
18496
+ @Name.setter
18497
+ def Name(self, Name):
18498
+ self._Name = Name
18499
+
18500
+ @property
18501
+ def Type(self):
18502
+ return self._Type
18503
+
18504
+ @Type.setter
18505
+ def Type(self, Type):
18506
+ self._Type = Type
18507
+
18508
+ @property
18509
+ def NoticeContents(self):
18510
+ return self._NoticeContents
18511
+
18512
+ @NoticeContents.setter
18513
+ def NoticeContents(self, NoticeContents):
18514
+ self._NoticeContents = NoticeContents
18515
+
18516
+
18517
+ def _deserialize(self, params):
18518
+ self._NoticeContentId = params.get("NoticeContentId")
18519
+ self._Name = params.get("Name")
18520
+ self._Type = params.get("Type")
18521
+ if params.get("NoticeContents") is not None:
18522
+ self._NoticeContents = []
18523
+ for item in params.get("NoticeContents"):
18524
+ obj = NoticeContent()
18525
+ obj._deserialize(item)
18526
+ self._NoticeContents.append(obj)
18527
+ memeber_set = set(params.keys())
18528
+ for name, value in vars(self).items():
18529
+ property_name = name[1:]
18530
+ if property_name in memeber_set:
18531
+ memeber_set.remove(property_name)
18532
+ if len(memeber_set) > 0:
18533
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18534
+
18535
+
18536
+
18537
+ class ModifyNoticeContentResponse(AbstractModel):
18538
+ """ModifyNoticeContent返回参数结构体
18539
+
18540
+ """
18541
+
18542
+ def __init__(self):
18543
+ r"""
18544
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18545
+ :type RequestId: str
18546
+ """
18547
+ self._RequestId = None
18548
+
18549
+ @property
18550
+ def RequestId(self):
18551
+ return self._RequestId
18552
+
18553
+ @RequestId.setter
18554
+ def RequestId(self, RequestId):
18555
+ self._RequestId = RequestId
18556
+
18557
+
18558
+ def _deserialize(self, params):
18559
+ self._RequestId = params.get("RequestId")
18560
+
18561
+
18096
18562
  class ModifyScheduledSqlRequest(AbstractModel):
18097
18563
  """ModifyScheduledSql请求参数结构体
18098
18564
 
@@ -18710,9 +19176,14 @@ class MonitorTime(AbstractModel):
18710
19176
  :param _Time: 执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。
18711
19177
  当type为`Period`,`Fixed`时,time字段生效。
18712
19178
  :type Time: int
19179
+ :param _CronExpression: 执行的周期cron表达式。示例:`"*/1 * * * *"` 从左到右每个field的含义 Minutes field, Hours field,Day of month field,Month field,Day of week field, 不支持秒级别。
19180
+ 当type为`Cron`时,CronExpression字段生效。
19181
+ 注意:此字段可能返回 null,表示取不到有效值。
19182
+ :type CronExpression: str
18713
19183
  """
18714
19184
  self._Type = None
18715
19185
  self._Time = None
19186
+ self._CronExpression = None
18716
19187
 
18717
19188
  @property
18718
19189
  def Type(self):
@@ -18730,10 +19201,19 @@ class MonitorTime(AbstractModel):
18730
19201
  def Time(self, Time):
18731
19202
  self._Time = Time
18732
19203
 
19204
+ @property
19205
+ def CronExpression(self):
19206
+ return self._CronExpression
19207
+
19208
+ @CronExpression.setter
19209
+ def CronExpression(self, CronExpression):
19210
+ self._CronExpression = CronExpression
19211
+
18733
19212
 
18734
19213
  def _deserialize(self, params):
18735
19214
  self._Type = params.get("Type")
18736
19215
  self._Time = params.get("Time")
19216
+ self._CronExpression = params.get("CronExpression")
18737
19217
  memeber_set = set(params.keys())
18738
19218
  for name, value in vars(self).items():
18739
19219
  property_name = name[1:]
@@ -18837,6 +19317,282 @@ class MultiTopicSearchInformation(AbstractModel):
18837
19317
 
18838
19318
 
18839
19319
 
19320
+ class NoticeContent(AbstractModel):
19321
+ """通知内容模版详细配置
19322
+
19323
+ """
19324
+
19325
+ def __init__(self):
19326
+ r"""
19327
+ :param _Type: 渠道类型
19328
+
19329
+ Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
19330
+ :type Type: str
19331
+ :param _TriggerContent: 告警触发通知内容模版。
19332
+ 注意:此字段可能返回 null,表示取不到有效值。
19333
+ :type TriggerContent: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
19334
+ :param _RecoveryContent: 告警恢复通知内容模版。
19335
+ 注意:此字段可能返回 null,表示取不到有效值。
19336
+ :type RecoveryContent: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
19337
+ """
19338
+ self._Type = None
19339
+ self._TriggerContent = None
19340
+ self._RecoveryContent = None
19341
+
19342
+ @property
19343
+ def Type(self):
19344
+ return self._Type
19345
+
19346
+ @Type.setter
19347
+ def Type(self, Type):
19348
+ self._Type = Type
19349
+
19350
+ @property
19351
+ def TriggerContent(self):
19352
+ return self._TriggerContent
19353
+
19354
+ @TriggerContent.setter
19355
+ def TriggerContent(self, TriggerContent):
19356
+ self._TriggerContent = TriggerContent
19357
+
19358
+ @property
19359
+ def RecoveryContent(self):
19360
+ return self._RecoveryContent
19361
+
19362
+ @RecoveryContent.setter
19363
+ def RecoveryContent(self, RecoveryContent):
19364
+ self._RecoveryContent = RecoveryContent
19365
+
19366
+
19367
+ def _deserialize(self, params):
19368
+ self._Type = params.get("Type")
19369
+ if params.get("TriggerContent") is not None:
19370
+ self._TriggerContent = NoticeContentInfo()
19371
+ self._TriggerContent._deserialize(params.get("TriggerContent"))
19372
+ if params.get("RecoveryContent") is not None:
19373
+ self._RecoveryContent = NoticeContentInfo()
19374
+ self._RecoveryContent._deserialize(params.get("RecoveryContent"))
19375
+ memeber_set = set(params.keys())
19376
+ for name, value in vars(self).items():
19377
+ property_name = name[1:]
19378
+ if property_name in memeber_set:
19379
+ memeber_set.remove(property_name)
19380
+ if len(memeber_set) > 0:
19381
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19382
+
19383
+
19384
+
19385
+ class NoticeContentInfo(AbstractModel):
19386
+ """通知模板内容
19387
+
19388
+ """
19389
+
19390
+ def __init__(self):
19391
+ r"""
19392
+ :param _Title: 通知内容模板标题信息。
19393
+ 部分通知渠道类型不支持“标题”,请参照腾讯云控制台页面。
19394
+ 注意:此字段可能返回 null,表示取不到有效值。
19395
+ :type Title: str
19396
+ :param _Content: 通知内容模板正文信息。
19397
+ 注意:此字段可能返回 null,表示取不到有效值。
19398
+ :type Content: str
19399
+ :param _Headers: 请求头(Request Headers):在HTTP请求中,请求头包含了客户端向服务器发送的附加信息,如用户代理、授权凭证、期望的响应格式等。
19400
+ 仅“自定义回调”支持该配置。
19401
+ 注意:此字段可能返回 null,表示取不到有效值。
19402
+ :type Headers: list of str
19403
+ """
19404
+ self._Title = None
19405
+ self._Content = None
19406
+ self._Headers = None
19407
+
19408
+ @property
19409
+ def Title(self):
19410
+ return self._Title
19411
+
19412
+ @Title.setter
19413
+ def Title(self, Title):
19414
+ self._Title = Title
19415
+
19416
+ @property
19417
+ def Content(self):
19418
+ return self._Content
19419
+
19420
+ @Content.setter
19421
+ def Content(self, Content):
19422
+ self._Content = Content
19423
+
19424
+ @property
19425
+ def Headers(self):
19426
+ return self._Headers
19427
+
19428
+ @Headers.setter
19429
+ def Headers(self, Headers):
19430
+ self._Headers = Headers
19431
+
19432
+
19433
+ def _deserialize(self, params):
19434
+ self._Title = params.get("Title")
19435
+ self._Content = params.get("Content")
19436
+ self._Headers = params.get("Headers")
19437
+ memeber_set = set(params.keys())
19438
+ for name, value in vars(self).items():
19439
+ property_name = name[1:]
19440
+ if property_name in memeber_set:
19441
+ memeber_set.remove(property_name)
19442
+ if len(memeber_set) > 0:
19443
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19444
+
19445
+
19446
+
19447
+ class NoticeContentTemplate(AbstractModel):
19448
+ """通知内容模板信息
19449
+
19450
+ """
19451
+
19452
+ def __init__(self):
19453
+ r"""
19454
+ :param _NoticeContentId: 通知内容模板ID。
19455
+ 注意:此字段可能返回 null,表示取不到有效值。
19456
+ :type NoticeContentId: str
19457
+ :param _Name: 通知内容模板名称
19458
+ 注意:此字段可能返回 null,表示取不到有效值。
19459
+ :type Name: str
19460
+ :param _Type: 语言类型。
19461
+
19462
+ 0: 中文
19463
+ 1: 英文
19464
+ 注意:此字段可能返回 null,表示取不到有效值。
19465
+ :type Type: int
19466
+ :param _NoticeContents: 通知内容模板信息。
19467
+ 注意:此字段可能返回 null,表示取不到有效值。
19468
+ :type NoticeContents: list of NoticeContent
19469
+ :param _Flag: 通知内容模板标记。
19470
+
19471
+ 0: 用户自定义
19472
+ 1: 系统内置
19473
+ 注意:此字段可能返回 null,表示取不到有效值。
19474
+ :type Flag: int
19475
+ :param _Uin: 创建者主账号。
19476
+ 注意:此字段可能返回 null,表示取不到有效值。
19477
+ :type Uin: int
19478
+ :param _SubUin: 创建/修改者子账号。
19479
+ 注意:此字段可能返回 null,表示取不到有效值。
19480
+ :type SubUin: int
19481
+ :param _CreateTime: 创建时间 秒级时间戳。
19482
+ 注意:此字段可能返回 null,表示取不到有效值。
19483
+ :type CreateTime: int
19484
+ :param _UpdateTime: 更新时间 秒级时间戳。
19485
+ 注意:此字段可能返回 null,表示取不到有效值。
19486
+ :type UpdateTime: int
19487
+ """
19488
+ self._NoticeContentId = None
19489
+ self._Name = None
19490
+ self._Type = None
19491
+ self._NoticeContents = None
19492
+ self._Flag = None
19493
+ self._Uin = None
19494
+ self._SubUin = None
19495
+ self._CreateTime = None
19496
+ self._UpdateTime = None
19497
+
19498
+ @property
19499
+ def NoticeContentId(self):
19500
+ return self._NoticeContentId
19501
+
19502
+ @NoticeContentId.setter
19503
+ def NoticeContentId(self, NoticeContentId):
19504
+ self._NoticeContentId = NoticeContentId
19505
+
19506
+ @property
19507
+ def Name(self):
19508
+ return self._Name
19509
+
19510
+ @Name.setter
19511
+ def Name(self, Name):
19512
+ self._Name = Name
19513
+
19514
+ @property
19515
+ def Type(self):
19516
+ return self._Type
19517
+
19518
+ @Type.setter
19519
+ def Type(self, Type):
19520
+ self._Type = Type
19521
+
19522
+ @property
19523
+ def NoticeContents(self):
19524
+ return self._NoticeContents
19525
+
19526
+ @NoticeContents.setter
19527
+ def NoticeContents(self, NoticeContents):
19528
+ self._NoticeContents = NoticeContents
19529
+
19530
+ @property
19531
+ def Flag(self):
19532
+ return self._Flag
19533
+
19534
+ @Flag.setter
19535
+ def Flag(self, Flag):
19536
+ self._Flag = Flag
19537
+
19538
+ @property
19539
+ def Uin(self):
19540
+ return self._Uin
19541
+
19542
+ @Uin.setter
19543
+ def Uin(self, Uin):
19544
+ self._Uin = Uin
19545
+
19546
+ @property
19547
+ def SubUin(self):
19548
+ return self._SubUin
19549
+
19550
+ @SubUin.setter
19551
+ def SubUin(self, SubUin):
19552
+ self._SubUin = SubUin
19553
+
19554
+ @property
19555
+ def CreateTime(self):
19556
+ return self._CreateTime
19557
+
19558
+ @CreateTime.setter
19559
+ def CreateTime(self, CreateTime):
19560
+ self._CreateTime = CreateTime
19561
+
19562
+ @property
19563
+ def UpdateTime(self):
19564
+ return self._UpdateTime
19565
+
19566
+ @UpdateTime.setter
19567
+ def UpdateTime(self, UpdateTime):
19568
+ self._UpdateTime = UpdateTime
19569
+
19570
+
19571
+ def _deserialize(self, params):
19572
+ self._NoticeContentId = params.get("NoticeContentId")
19573
+ self._Name = params.get("Name")
19574
+ self._Type = params.get("Type")
19575
+ if params.get("NoticeContents") is not None:
19576
+ self._NoticeContents = []
19577
+ for item in params.get("NoticeContents"):
19578
+ obj = NoticeContent()
19579
+ obj._deserialize(item)
19580
+ self._NoticeContents.append(obj)
19581
+ self._Flag = params.get("Flag")
19582
+ self._Uin = params.get("Uin")
19583
+ self._SubUin = params.get("SubUin")
19584
+ self._CreateTime = params.get("CreateTime")
19585
+ self._UpdateTime = params.get("UpdateTime")
19586
+ memeber_set = set(params.keys())
19587
+ for name, value in vars(self).items():
19588
+ property_name = name[1:]
19589
+ if property_name in memeber_set:
19590
+ memeber_set.remove(property_name)
19591
+ if len(memeber_set) > 0:
19592
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19593
+
19594
+
19595
+
18840
19596
  class NoticeReceiver(AbstractModel):
18841
19597
  """告警通知接收者信息
18842
19598
 
@@ -18868,6 +19624,9 @@ class NoticeReceiver(AbstractModel):
18868
19624
  - 入参时无效。
18869
19625
  - 出参时有效。
18870
19626
  :type Index: int
19627
+ :param _NoticeContentId: 通知内容模板ID。
19628
+ 注意:此字段可能返回 null,表示取不到有效值。
19629
+ :type NoticeContentId: str
18871
19630
  """
18872
19631
  self._ReceiverType = None
18873
19632
  self._ReceiverIds = None
@@ -18875,6 +19634,7 @@ class NoticeReceiver(AbstractModel):
18875
19634
  self._StartTime = None
18876
19635
  self._EndTime = None
18877
19636
  self._Index = None
19637
+ self._NoticeContentId = None
18878
19638
 
18879
19639
  @property
18880
19640
  def ReceiverType(self):
@@ -18924,6 +19684,14 @@ class NoticeReceiver(AbstractModel):
18924
19684
  def Index(self, Index):
18925
19685
  self._Index = Index
18926
19686
 
19687
+ @property
19688
+ def NoticeContentId(self):
19689
+ return self._NoticeContentId
19690
+
19691
+ @NoticeContentId.setter
19692
+ def NoticeContentId(self, NoticeContentId):
19693
+ self._NoticeContentId = NoticeContentId
19694
+
18927
19695
 
18928
19696
  def _deserialize(self, params):
18929
19697
  self._ReceiverType = params.get("ReceiverType")
@@ -18932,6 +19700,7 @@ class NoticeReceiver(AbstractModel):
18932
19700
  self._StartTime = params.get("StartTime")
18933
19701
  self._EndTime = params.get("EndTime")
18934
19702
  self._Index = params.get("Index")
19703
+ self._NoticeContentId = params.get("NoticeContentId")
18935
19704
  memeber_set = set(params.keys())
18936
19705
  for name, value in vars(self).items():
18937
19706
  property_name = name[1:]