tencentcloud-sdk-python 3.0.1250__py2.py3-none-any.whl → 3.0.1252__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 (58) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +8 -1
  3. tencentcloud/bma/v20221115/models.py +24 -0
  4. tencentcloud/cam/v20190116/models.py +16 -16
  5. tencentcloud/ccc/v20200210/models.py +117 -0
  6. tencentcloud/cdwdoris/v20211228/models.py +45 -0
  7. tencentcloud/cfg/v20210820/models.py +26 -0
  8. tencentcloud/cls/v20201016/cls_client.py +94 -1
  9. tencentcloud/cls/v20201016/models.py +769 -3
  10. tencentcloud/cynosdb/v20190107/cynosdb_client.py +1 -1
  11. tencentcloud/cynosdb/v20190107/models.py +25 -0
  12. tencentcloud/dasb/v20191018/models.py +21 -9
  13. tencentcloud/dc/v20180410/dc_client.py +23 -0
  14. tencentcloud/dc/v20180410/models.py +426 -0
  15. tencentcloud/dnspod/v20210323/models.py +1 -3
  16. tencentcloud/emr/v20190103/emr_client.py +92 -0
  17. tencentcloud/emr/v20190103/errorcodes.py +1 -1
  18. tencentcloud/emr/v20190103/models.py +1389 -179
  19. tencentcloud/es/v20180416/models.py +204 -1
  20. tencentcloud/ess/v20201111/models.py +6 -6
  21. tencentcloud/essbasic/v20210526/models.py +18 -5
  22. tencentcloud/facefusion/v20220927/errorcodes.py +15 -0
  23. tencentcloud/faceid/v20180301/models.py +27 -0
  24. tencentcloud/gwlb/__init__.py +0 -0
  25. tencentcloud/gwlb/v20240906/__init__.py +0 -0
  26. tencentcloud/gwlb/v20240906/errorcodes.py +48 -0
  27. tencentcloud/gwlb/v20240906/gwlb_client.py +448 -0
  28. tencentcloud/gwlb/v20240906/models.py +2835 -0
  29. tencentcloud/hunyuan/v20230901/models.py +139 -13
  30. tencentcloud/iss/v20230517/errorcodes.py +6 -0
  31. tencentcloud/iss/v20230517/iss_client.py +1 -1
  32. tencentcloud/iss/v20230517/models.py +72 -12
  33. tencentcloud/ocr/v20181119/errorcodes.py +1 -1
  34. tencentcloud/privatedns/v20201028/errorcodes.py +18 -0
  35. tencentcloud/privatedns/v20201028/models.py +142 -0
  36. tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
  37. tencentcloud/redis/v20180412/redis_client.py +1 -1
  38. tencentcloud/sms/v20190711/errorcodes.py +3 -0
  39. tencentcloud/sms/v20210111/errorcodes.py +2 -2
  40. tencentcloud/sms/v20210111/models.py +1 -1
  41. tencentcloud/sqlserver/v20180328/models.py +24 -0
  42. tencentcloud/sts/v20180813/models.py +2 -2
  43. tencentcloud/tcss/v20201101/models.py +147 -2
  44. tencentcloud/teo/v20220901/errorcodes.py +9 -9
  45. tencentcloud/teo/v20220901/models.py +83 -77
  46. tencentcloud/teo/v20220901/teo_client.py +4 -4
  47. tencentcloud/tke/v20180525/errorcodes.py +3 -0
  48. tencentcloud/tke/v20180525/models.py +248 -2
  49. tencentcloud/tke/v20180525/tke_client.py +46 -0
  50. tencentcloud/vclm/v20240523/models.py +12 -0
  51. tencentcloud/vpc/v20170312/models.py +24 -20
  52. tencentcloud/vpc/v20170312/vpc_client.py +2 -2
  53. tencentcloud/vtc/v20240223/models.py +12 -0
  54. {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/METADATA +1 -1
  55. {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/RECORD +58 -53
  56. {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/LICENSE +0 -0
  57. {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/WHEEL +0 -0
  58. {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1252.dist-info}/top_level.txt +0 -0
@@ -6472,6 +6472,105 @@ class CreateMachineGroupResponse(AbstractModel):
6472
6472
  self._RequestId = params.get("RequestId")
6473
6473
 
6474
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
+
6475
6574
  class CreateScheduledSqlRequest(AbstractModel):
6476
6575
  """CreateScheduledSql请求参数结构体
6477
6576
 
@@ -8911,6 +9010,64 @@ class DeleteMachineGroupResponse(AbstractModel):
8911
9010
  self._RequestId = params.get("RequestId")
8912
9011
 
8913
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
+
8914
9071
  class DeleteScheduledSqlRequest(AbstractModel):
8915
9072
  """DeleteScheduledSql请求参数结构体
8916
9073
 
@@ -12056,6 +12213,133 @@ class DescribeMachinesResponse(AbstractModel):
12056
12213
  self._RequestId = params.get("RequestId")
12057
12214
 
12058
12215
 
12216
+ class DescribeNoticeContentsRequest(AbstractModel):
12217
+ """DescribeNoticeContents请求参数结构体
12218
+
12219
+ """
12220
+
12221
+ def __init__(self):
12222
+ r"""
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
12239
+ """
12240
+ self._Filters = None
12241
+ self._Offset = None
12242
+ self._Limit = None
12243
+
12244
+ @property
12245
+ def Filters(self):
12246
+ return self._Filters
12247
+
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
12267
+
12268
+
12269
+ def _deserialize(self, params):
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")
12278
+ memeber_set = set(params.keys())
12279
+ for name, value in vars(self).items():
12280
+ property_name = name[1:]
12281
+ if property_name in memeber_set:
12282
+ memeber_set.remove(property_name)
12283
+ if len(memeber_set) > 0:
12284
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12285
+
12286
+
12287
+
12288
+ class DescribeNoticeContentsResponse(AbstractModel):
12289
+ """DescribeNoticeContents返回参数结构体
12290
+
12291
+ """
12292
+
12293
+ def __init__(self):
12294
+ r"""
12295
+ :param _NoticeContents: 通知内容模版列表。
12296
+ 注意:此字段可能返回 null,表示取不到有效值。
12297
+ :type NoticeContents: list of NoticeContentTemplate
12298
+ :param _TotalCount: 符合条件的通知内容模版总数。
12299
+ :type TotalCount: int
12300
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12301
+ :type RequestId: str
12302
+ """
12303
+ self._NoticeContents = None
12304
+ self._TotalCount = None
12305
+ self._RequestId = None
12306
+
12307
+ @property
12308
+ def NoticeContents(self):
12309
+ return self._NoticeContents
12310
+
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
12322
+
12323
+ @property
12324
+ def RequestId(self):
12325
+ return self._RequestId
12326
+
12327
+ @RequestId.setter
12328
+ def RequestId(self, RequestId):
12329
+ self._RequestId = RequestId
12330
+
12331
+
12332
+ def _deserialize(self, params):
12333
+ if params.get("NoticeContents") is not None:
12334
+ self._NoticeContents = []
12335
+ for item in params.get("NoticeContents"):
12336
+ obj = NoticeContentTemplate()
12337
+ obj._deserialize(item)
12338
+ self._NoticeContents.append(obj)
12339
+ self._TotalCount = params.get("TotalCount")
12340
+ self._RequestId = params.get("RequestId")
12341
+
12342
+
12059
12343
  class DescribePartitionsRequest(AbstractModel):
12060
12344
  """DescribePartitions请求参数结构体
12061
12345
 
@@ -18174,6 +18458,107 @@ class ModifyMachineGroupResponse(AbstractModel):
18174
18458
  self._RequestId = params.get("RequestId")
18175
18459
 
18176
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
+
18177
18562
  class ModifyScheduledSqlRequest(AbstractModel):
18178
18563
  """ModifyScheduledSql请求参数结构体
18179
18564
 
@@ -18609,6 +18994,8 @@ class ModifyTopicRequest(AbstractModel):
18609
18994
  :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
18610
18995
  :param _PartitionCount: 日志主题分区数量
18611
18996
  :type PartitionCount: int
18997
+ :param _CancelTopicAsyncTaskID: 取消切换存储任务的id
18998
+ :type CancelTopicAsyncTaskID: str
18612
18999
  """
18613
19000
  self._TopicId = None
18614
19001
  self._TopicName = None
@@ -18622,6 +19009,7 @@ class ModifyTopicRequest(AbstractModel):
18622
19009
  self._IsWebTracking = None
18623
19010
  self._Extends = None
18624
19011
  self._PartitionCount = None
19012
+ self._CancelTopicAsyncTaskID = None
18625
19013
 
18626
19014
  @property
18627
19015
  def TopicId(self):
@@ -18719,6 +19107,14 @@ class ModifyTopicRequest(AbstractModel):
18719
19107
  def PartitionCount(self, PartitionCount):
18720
19108
  self._PartitionCount = PartitionCount
18721
19109
 
19110
+ @property
19111
+ def CancelTopicAsyncTaskID(self):
19112
+ return self._CancelTopicAsyncTaskID
19113
+
19114
+ @CancelTopicAsyncTaskID.setter
19115
+ def CancelTopicAsyncTaskID(self, CancelTopicAsyncTaskID):
19116
+ self._CancelTopicAsyncTaskID = CancelTopicAsyncTaskID
19117
+
18722
19118
 
18723
19119
  def _deserialize(self, params):
18724
19120
  self._TopicId = params.get("TopicId")
@@ -18740,6 +19136,7 @@ class ModifyTopicRequest(AbstractModel):
18740
19136
  self._Extends = TopicExtendInfo()
18741
19137
  self._Extends._deserialize(params.get("Extends"))
18742
19138
  self._PartitionCount = params.get("PartitionCount")
19139
+ self._CancelTopicAsyncTaskID = params.get("CancelTopicAsyncTaskID")
18743
19140
  memeber_set = set(params.keys())
18744
19141
  for name, value in vars(self).items():
18745
19142
  property_name = name[1:]
@@ -18791,9 +19188,14 @@ class MonitorTime(AbstractModel):
18791
19188
  :param _Time: 执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。
18792
19189
  当type为`Period`,`Fixed`时,time字段生效。
18793
19190
  :type Time: int
19191
+ :param _CronExpression: 执行的周期cron表达式。示例:`"*/1 * * * *"` 从左到右每个field的含义 Minutes field, Hours field,Day of month field,Month field,Day of week field, 不支持秒级别。
19192
+ 当type为`Cron`时,CronExpression字段生效。
19193
+ 注意:此字段可能返回 null,表示取不到有效值。
19194
+ :type CronExpression: str
18794
19195
  """
18795
19196
  self._Type = None
18796
19197
  self._Time = None
19198
+ self._CronExpression = None
18797
19199
 
18798
19200
  @property
18799
19201
  def Type(self):
@@ -18811,10 +19213,19 @@ class MonitorTime(AbstractModel):
18811
19213
  def Time(self, Time):
18812
19214
  self._Time = Time
18813
19215
 
19216
+ @property
19217
+ def CronExpression(self):
19218
+ return self._CronExpression
19219
+
19220
+ @CronExpression.setter
19221
+ def CronExpression(self, CronExpression):
19222
+ self._CronExpression = CronExpression
19223
+
18814
19224
 
18815
19225
  def _deserialize(self, params):
18816
19226
  self._Type = params.get("Type")
18817
19227
  self._Time = params.get("Time")
19228
+ self._CronExpression = params.get("CronExpression")
18818
19229
  memeber_set = set(params.keys())
18819
19230
  for name, value in vars(self).items():
18820
19231
  property_name = name[1:]
@@ -18918,6 +19329,282 @@ class MultiTopicSearchInformation(AbstractModel):
18918
19329
 
18919
19330
 
18920
19331
 
19332
+ class NoticeContent(AbstractModel):
19333
+ """通知内容模版详细配置
19334
+
19335
+ """
19336
+
19337
+ def __init__(self):
19338
+ r"""
19339
+ :param _Type: 渠道类型
19340
+
19341
+ Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
19342
+ :type Type: str
19343
+ :param _TriggerContent: 告警触发通知内容模版。
19344
+ 注意:此字段可能返回 null,表示取不到有效值。
19345
+ :type TriggerContent: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
19346
+ :param _RecoveryContent: 告警恢复通知内容模版。
19347
+ 注意:此字段可能返回 null,表示取不到有效值。
19348
+ :type RecoveryContent: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
19349
+ """
19350
+ self._Type = None
19351
+ self._TriggerContent = None
19352
+ self._RecoveryContent = None
19353
+
19354
+ @property
19355
+ def Type(self):
19356
+ return self._Type
19357
+
19358
+ @Type.setter
19359
+ def Type(self, Type):
19360
+ self._Type = Type
19361
+
19362
+ @property
19363
+ def TriggerContent(self):
19364
+ return self._TriggerContent
19365
+
19366
+ @TriggerContent.setter
19367
+ def TriggerContent(self, TriggerContent):
19368
+ self._TriggerContent = TriggerContent
19369
+
19370
+ @property
19371
+ def RecoveryContent(self):
19372
+ return self._RecoveryContent
19373
+
19374
+ @RecoveryContent.setter
19375
+ def RecoveryContent(self, RecoveryContent):
19376
+ self._RecoveryContent = RecoveryContent
19377
+
19378
+
19379
+ def _deserialize(self, params):
19380
+ self._Type = params.get("Type")
19381
+ if params.get("TriggerContent") is not None:
19382
+ self._TriggerContent = NoticeContentInfo()
19383
+ self._TriggerContent._deserialize(params.get("TriggerContent"))
19384
+ if params.get("RecoveryContent") is not None:
19385
+ self._RecoveryContent = NoticeContentInfo()
19386
+ self._RecoveryContent._deserialize(params.get("RecoveryContent"))
19387
+ memeber_set = set(params.keys())
19388
+ for name, value in vars(self).items():
19389
+ property_name = name[1:]
19390
+ if property_name in memeber_set:
19391
+ memeber_set.remove(property_name)
19392
+ if len(memeber_set) > 0:
19393
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19394
+
19395
+
19396
+
19397
+ class NoticeContentInfo(AbstractModel):
19398
+ """通知模板内容
19399
+
19400
+ """
19401
+
19402
+ def __init__(self):
19403
+ r"""
19404
+ :param _Title: 通知内容模板标题信息。
19405
+ 部分通知渠道类型不支持“标题”,请参照腾讯云控制台页面。
19406
+ 注意:此字段可能返回 null,表示取不到有效值。
19407
+ :type Title: str
19408
+ :param _Content: 通知内容模板正文信息。
19409
+ 注意:此字段可能返回 null,表示取不到有效值。
19410
+ :type Content: str
19411
+ :param _Headers: 请求头(Request Headers):在HTTP请求中,请求头包含了客户端向服务器发送的附加信息,如用户代理、授权凭证、期望的响应格式等。
19412
+ 仅“自定义回调”支持该配置。
19413
+ 注意:此字段可能返回 null,表示取不到有效值。
19414
+ :type Headers: list of str
19415
+ """
19416
+ self._Title = None
19417
+ self._Content = None
19418
+ self._Headers = None
19419
+
19420
+ @property
19421
+ def Title(self):
19422
+ return self._Title
19423
+
19424
+ @Title.setter
19425
+ def Title(self, Title):
19426
+ self._Title = Title
19427
+
19428
+ @property
19429
+ def Content(self):
19430
+ return self._Content
19431
+
19432
+ @Content.setter
19433
+ def Content(self, Content):
19434
+ self._Content = Content
19435
+
19436
+ @property
19437
+ def Headers(self):
19438
+ return self._Headers
19439
+
19440
+ @Headers.setter
19441
+ def Headers(self, Headers):
19442
+ self._Headers = Headers
19443
+
19444
+
19445
+ def _deserialize(self, params):
19446
+ self._Title = params.get("Title")
19447
+ self._Content = params.get("Content")
19448
+ self._Headers = params.get("Headers")
19449
+ memeber_set = set(params.keys())
19450
+ for name, value in vars(self).items():
19451
+ property_name = name[1:]
19452
+ if property_name in memeber_set:
19453
+ memeber_set.remove(property_name)
19454
+ if len(memeber_set) > 0:
19455
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19456
+
19457
+
19458
+
19459
+ class NoticeContentTemplate(AbstractModel):
19460
+ """通知内容模板信息
19461
+
19462
+ """
19463
+
19464
+ def __init__(self):
19465
+ r"""
19466
+ :param _NoticeContentId: 通知内容模板ID。
19467
+ 注意:此字段可能返回 null,表示取不到有效值。
19468
+ :type NoticeContentId: str
19469
+ :param _Name: 通知内容模板名称
19470
+ 注意:此字段可能返回 null,表示取不到有效值。
19471
+ :type Name: str
19472
+ :param _Type: 语言类型。
19473
+
19474
+ 0: 中文
19475
+ 1: 英文
19476
+ 注意:此字段可能返回 null,表示取不到有效值。
19477
+ :type Type: int
19478
+ :param _NoticeContents: 通知内容模板信息。
19479
+ 注意:此字段可能返回 null,表示取不到有效值。
19480
+ :type NoticeContents: list of NoticeContent
19481
+ :param _Flag: 通知内容模板标记。
19482
+
19483
+ 0: 用户自定义
19484
+ 1: 系统内置
19485
+ 注意:此字段可能返回 null,表示取不到有效值。
19486
+ :type Flag: int
19487
+ :param _Uin: 创建者主账号。
19488
+ 注意:此字段可能返回 null,表示取不到有效值。
19489
+ :type Uin: int
19490
+ :param _SubUin: 创建/修改者子账号。
19491
+ 注意:此字段可能返回 null,表示取不到有效值。
19492
+ :type SubUin: int
19493
+ :param _CreateTime: 创建时间 秒级时间戳。
19494
+ 注意:此字段可能返回 null,表示取不到有效值。
19495
+ :type CreateTime: int
19496
+ :param _UpdateTime: 更新时间 秒级时间戳。
19497
+ 注意:此字段可能返回 null,表示取不到有效值。
19498
+ :type UpdateTime: int
19499
+ """
19500
+ self._NoticeContentId = None
19501
+ self._Name = None
19502
+ self._Type = None
19503
+ self._NoticeContents = None
19504
+ self._Flag = None
19505
+ self._Uin = None
19506
+ self._SubUin = None
19507
+ self._CreateTime = None
19508
+ self._UpdateTime = None
19509
+
19510
+ @property
19511
+ def NoticeContentId(self):
19512
+ return self._NoticeContentId
19513
+
19514
+ @NoticeContentId.setter
19515
+ def NoticeContentId(self, NoticeContentId):
19516
+ self._NoticeContentId = NoticeContentId
19517
+
19518
+ @property
19519
+ def Name(self):
19520
+ return self._Name
19521
+
19522
+ @Name.setter
19523
+ def Name(self, Name):
19524
+ self._Name = Name
19525
+
19526
+ @property
19527
+ def Type(self):
19528
+ return self._Type
19529
+
19530
+ @Type.setter
19531
+ def Type(self, Type):
19532
+ self._Type = Type
19533
+
19534
+ @property
19535
+ def NoticeContents(self):
19536
+ return self._NoticeContents
19537
+
19538
+ @NoticeContents.setter
19539
+ def NoticeContents(self, NoticeContents):
19540
+ self._NoticeContents = NoticeContents
19541
+
19542
+ @property
19543
+ def Flag(self):
19544
+ return self._Flag
19545
+
19546
+ @Flag.setter
19547
+ def Flag(self, Flag):
19548
+ self._Flag = Flag
19549
+
19550
+ @property
19551
+ def Uin(self):
19552
+ return self._Uin
19553
+
19554
+ @Uin.setter
19555
+ def Uin(self, Uin):
19556
+ self._Uin = Uin
19557
+
19558
+ @property
19559
+ def SubUin(self):
19560
+ return self._SubUin
19561
+
19562
+ @SubUin.setter
19563
+ def SubUin(self, SubUin):
19564
+ self._SubUin = SubUin
19565
+
19566
+ @property
19567
+ def CreateTime(self):
19568
+ return self._CreateTime
19569
+
19570
+ @CreateTime.setter
19571
+ def CreateTime(self, CreateTime):
19572
+ self._CreateTime = CreateTime
19573
+
19574
+ @property
19575
+ def UpdateTime(self):
19576
+ return self._UpdateTime
19577
+
19578
+ @UpdateTime.setter
19579
+ def UpdateTime(self, UpdateTime):
19580
+ self._UpdateTime = UpdateTime
19581
+
19582
+
19583
+ def _deserialize(self, params):
19584
+ self._NoticeContentId = params.get("NoticeContentId")
19585
+ self._Name = params.get("Name")
19586
+ self._Type = params.get("Type")
19587
+ if params.get("NoticeContents") is not None:
19588
+ self._NoticeContents = []
19589
+ for item in params.get("NoticeContents"):
19590
+ obj = NoticeContent()
19591
+ obj._deserialize(item)
19592
+ self._NoticeContents.append(obj)
19593
+ self._Flag = params.get("Flag")
19594
+ self._Uin = params.get("Uin")
19595
+ self._SubUin = params.get("SubUin")
19596
+ self._CreateTime = params.get("CreateTime")
19597
+ self._UpdateTime = params.get("UpdateTime")
19598
+ memeber_set = set(params.keys())
19599
+ for name, value in vars(self).items():
19600
+ property_name = name[1:]
19601
+ if property_name in memeber_set:
19602
+ memeber_set.remove(property_name)
19603
+ if len(memeber_set) > 0:
19604
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19605
+
19606
+
19607
+
18921
19608
  class NoticeReceiver(AbstractModel):
18922
19609
  """告警通知接收者信息
18923
19610
 
@@ -18949,6 +19636,9 @@ class NoticeReceiver(AbstractModel):
18949
19636
  - 入参时无效。
18950
19637
  - 出参时有效。
18951
19638
  :type Index: int
19639
+ :param _NoticeContentId: 通知内容模板ID。
19640
+ 注意:此字段可能返回 null,表示取不到有效值。
19641
+ :type NoticeContentId: str
18952
19642
  """
18953
19643
  self._ReceiverType = None
18954
19644
  self._ReceiverIds = None
@@ -18956,6 +19646,7 @@ class NoticeReceiver(AbstractModel):
18956
19646
  self._StartTime = None
18957
19647
  self._EndTime = None
18958
19648
  self._Index = None
19649
+ self._NoticeContentId = None
18959
19650
 
18960
19651
  @property
18961
19652
  def ReceiverType(self):
@@ -19005,6 +19696,14 @@ class NoticeReceiver(AbstractModel):
19005
19696
  def Index(self, Index):
19006
19697
  self._Index = Index
19007
19698
 
19699
+ @property
19700
+ def NoticeContentId(self):
19701
+ return self._NoticeContentId
19702
+
19703
+ @NoticeContentId.setter
19704
+ def NoticeContentId(self, NoticeContentId):
19705
+ self._NoticeContentId = NoticeContentId
19706
+
19008
19707
 
19009
19708
  def _deserialize(self, params):
19010
19709
  self._ReceiverType = params.get("ReceiverType")
@@ -19013,6 +19712,7 @@ class NoticeReceiver(AbstractModel):
19013
19712
  self._StartTime = params.get("StartTime")
19014
19713
  self._EndTime = params.get("EndTime")
19015
19714
  self._Index = params.get("Index")
19715
+ self._NoticeContentId = params.get("NoticeContentId")
19016
19716
  memeber_set = set(params.keys())
19017
19717
  for name, value in vars(self).items():
19018
19718
  property_name = name[1:]
@@ -19747,7 +20447,8 @@ class QueryMetricRequest(AbstractModel):
19747
20447
  :type Query: str
19748
20448
  :param _TopicId: 指标主题ID
19749
20449
  :type TopicId: str
19750
- :param _Time: 查询时间,秒级Unix时间戳
20450
+ :param _Time: 查询时间,秒级Unix时间戳。为空时代表当前时间戳。
20451
+
19751
20452
  :type Time: int
19752
20453
  """
19753
20454
  self._Query = None
@@ -22184,6 +22885,15 @@ HotPeriod=0为没有开启日志沉降。
22184
22885
  :param _Extends: 日志主题扩展信息
22185
22886
  注意:此字段可能返回 null,表示取不到有效值。
22186
22887
  :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
22888
+ :param _TopicAsyncTaskID: 异步迁移任务ID
22889
+ 注意:此字段可能返回 null,表示取不到有效值。
22890
+ :type TopicAsyncTaskID: str
22891
+ :param _MigrationStatus: 异步迁移状态
22892
+ 注意:此字段可能返回 null,表示取不到有效值。
22893
+ :type MigrationStatus: int
22894
+ :param _EffectiveDate: 异步迁移完成后,预计生效日期
22895
+ 注意:此字段可能返回 null,表示取不到有效值。
22896
+ :type EffectiveDate: str
22187
22897
  """
22188
22898
  self._LogsetId = None
22189
22899
  self._TopicId = None
@@ -22204,6 +22914,9 @@ HotPeriod=0为没有开启日志沉降。
22204
22914
  self._BizType = None
22205
22915
  self._IsWebTracking = None
22206
22916
  self._Extends = None
22917
+ self._TopicAsyncTaskID = None
22918
+ self._MigrationStatus = None
22919
+ self._EffectiveDate = None
22207
22920
 
22208
22921
  @property
22209
22922
  def LogsetId(self):
@@ -22357,6 +23070,30 @@ HotPeriod=0为没有开启日志沉降。
22357
23070
  def Extends(self, Extends):
22358
23071
  self._Extends = Extends
22359
23072
 
23073
+ @property
23074
+ def TopicAsyncTaskID(self):
23075
+ return self._TopicAsyncTaskID
23076
+
23077
+ @TopicAsyncTaskID.setter
23078
+ def TopicAsyncTaskID(self, TopicAsyncTaskID):
23079
+ self._TopicAsyncTaskID = TopicAsyncTaskID
23080
+
23081
+ @property
23082
+ def MigrationStatus(self):
23083
+ return self._MigrationStatus
23084
+
23085
+ @MigrationStatus.setter
23086
+ def MigrationStatus(self, MigrationStatus):
23087
+ self._MigrationStatus = MigrationStatus
23088
+
23089
+ @property
23090
+ def EffectiveDate(self):
23091
+ return self._EffectiveDate
23092
+
23093
+ @EffectiveDate.setter
23094
+ def EffectiveDate(self, EffectiveDate):
23095
+ self._EffectiveDate = EffectiveDate
23096
+
22360
23097
 
22361
23098
  def _deserialize(self, params):
22362
23099
  self._LogsetId = params.get("LogsetId")
@@ -22385,6 +23122,9 @@ HotPeriod=0为没有开启日志沉降。
22385
23122
  if params.get("Extends") is not None:
22386
23123
  self._Extends = TopicExtendInfo()
22387
23124
  self._Extends._deserialize(params.get("Extends"))
23125
+ self._TopicAsyncTaskID = params.get("TopicAsyncTaskID")
23126
+ self._MigrationStatus = params.get("MigrationStatus")
23127
+ self._EffectiveDate = params.get("EffectiveDate")
22388
23128
  memeber_set = set(params.keys())
22389
23129
  for name, value in vars(self).items():
22390
23130
  property_name = name[1:]
@@ -22578,17 +23318,23 @@ class WebCallback(AbstractModel):
22578
23318
  注意:此字段可能返回 null,表示取不到有效值。
22579
23319
  :type Method: str
22580
23320
  :param _Headers: 请求头。
22581
- 注意:该参数已废弃,请在<a href="https://cloud.tencent.com/document/product/614/56466">创建告警策略</a>接口CallBack参数中指定请求头。
23321
+ 注意:该参数已废弃,请使用NoticeContentId。
22582
23322
  注意:此字段可能返回 null,表示取不到有效值。
22583
23323
  :type Headers: list of str
22584
23324
  :param _Body: 请求内容。
22585
- 注意:该参数已废弃,请在<a href="https://cloud.tencent.com/document/product/614/56466">创建告警策略</a>接口CallBack参数中指定请求内容。
23325
+ 注意:该参数已废弃,请使用NoticeContentId。
22586
23326
  注意:此字段可能返回 null,表示取不到有效值。
22587
23327
  :type Body: str
22588
23328
  :param _Index: 序号。
22589
23329
  - 入参无效。
22590
23330
  - 出参有效。
22591
23331
  :type Index: int
23332
+ :param _NoticeContentId: 通知内容模板ID。
23333
+ 注意:此字段可能返回 null,表示取不到有效值。
23334
+ :type NoticeContentId: str
23335
+ :param _WebCallbackId: 集成配置ID。
23336
+ 注意:此字段可能返回 null,表示取不到有效值。
23337
+ :type WebCallbackId: str
22592
23338
  """
22593
23339
  self._Url = None
22594
23340
  self._CallbackType = None
@@ -22596,6 +23342,8 @@ class WebCallback(AbstractModel):
22596
23342
  self._Headers = None
22597
23343
  self._Body = None
22598
23344
  self._Index = None
23345
+ self._NoticeContentId = None
23346
+ self._WebCallbackId = None
22599
23347
 
22600
23348
  @property
22601
23349
  def Url(self):
@@ -22645,6 +23393,22 @@ class WebCallback(AbstractModel):
22645
23393
  def Index(self, Index):
22646
23394
  self._Index = Index
22647
23395
 
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
+
22648
23412
 
22649
23413
  def _deserialize(self, params):
22650
23414
  self._Url = params.get("Url")
@@ -22653,6 +23417,8 @@ class WebCallback(AbstractModel):
22653
23417
  self._Headers = params.get("Headers")
22654
23418
  self._Body = params.get("Body")
22655
23419
  self._Index = params.get("Index")
23420
+ self._NoticeContentId = params.get("NoticeContentId")
23421
+ self._WebCallbackId = params.get("WebCallbackId")
22656
23422
  memeber_set = set(params.keys())
22657
23423
  for name, value in vars(self).items():
22658
23424
  property_name = name[1:]