tencentcloud-sdk-python 3.0.1345__py2.py3-none-any.whl → 3.0.1347__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 (60) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/advisor/v20200721/models.py +0 -26
  3. tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
  4. tencentcloud/antiddos/v20200309/models.py +12 -687
  5. tencentcloud/apm/v20210622/models.py +60 -60
  6. tencentcloud/batch/v20170312/models.py +8 -158
  7. tencentcloud/cdwch/v20200915/models.py +111 -146
  8. tencentcloud/cdwpg/v20201230/models.py +84 -84
  9. tencentcloud/chc/__init__.py +0 -0
  10. tencentcloud/chc/v20230418/__init__.py +0 -0
  11. tencentcloud/chc/v20230418/chc_client.py +854 -0
  12. tencentcloud/chc/v20230418/errorcodes.py +15 -0
  13. tencentcloud/chc/v20230418/models.py +9963 -0
  14. tencentcloud/ckafka/v20190819/models.py +26 -984
  15. tencentcloud/cls/v20201016/models.py +0 -310
  16. tencentcloud/dbbrain/v20191016/models.py +2 -6
  17. tencentcloud/dbbrain/v20210527/dbbrain_client.py +92 -0
  18. tencentcloud/dbbrain/v20210527/models.py +1036 -198
  19. tencentcloud/domain/v20180808/models.py +0 -2
  20. tencentcloud/ecdn/v20191012/ecdn_client.py +0 -217
  21. tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
  22. tencentcloud/ecdn/v20191012/models.py +4 -1047
  23. tencentcloud/emr/v20190103/emr_client.py +1 -1
  24. tencentcloud/emr/v20190103/models.py +422 -15
  25. tencentcloud/ess/v20201111/models.py +27 -6
  26. tencentcloud/essbasic/v20210526/models.py +21 -0
  27. tencentcloud/gs/v20191118/errorcodes.py +9 -0
  28. tencentcloud/gs/v20191118/gs_client.py +775 -12
  29. tencentcloud/gs/v20191118/models.py +4968 -477
  30. tencentcloud/hai/v20230812/models.py +0 -22
  31. tencentcloud/hunyuan/v20230901/models.py +17 -2
  32. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
  33. tencentcloud/iotexplorer/v20190423/models.py +131 -0
  34. tencentcloud/iotvideoindustry/v20201201/models.py +0 -52
  35. tencentcloud/lke/v20231130/lke_client.py +2 -25
  36. tencentcloud/lke/v20231130/models.py +4 -87
  37. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  38. tencentcloud/memcached/v20190318/models.py +2 -2
  39. tencentcloud/mmps/v20200710/models.py +0 -6
  40. tencentcloud/monitor/v20180724/models.py +446 -0
  41. tencentcloud/monitor/v20180724/monitor_client.py +23 -0
  42. tencentcloud/mqtt/v20240516/models.py +24 -22
  43. tencentcloud/redis/v20180412/models.py +2 -4
  44. tencentcloud/svp/v20240125/models.py +0 -2
  45. tencentcloud/tchd/v20230306/models.py +0 -2
  46. tencentcloud/tcr/v20190924/models.py +4 -14
  47. tencentcloud/tdmq/v20200217/models.py +266 -0
  48. tencentcloud/teo/v20220901/errorcodes.py +3 -0
  49. tencentcloud/teo/v20220901/models.py +81 -2
  50. tencentcloud/teo/v20220901/teo_client.py +23 -0
  51. tencentcloud/thpc/v20220401/models.py +0 -8
  52. tencentcloud/thpc/v20230321/models.py +15 -44
  53. tencentcloud/tione/v20211111/models.py +68 -0
  54. tencentcloud/tke/v20180525/models.py +0 -28
  55. tencentcloud/wedata/v20210820/models.py +331 -0
  56. {tencentcloud_sdk_python-3.0.1345.dist-info → tencentcloud_sdk_python-3.0.1347.dist-info}/METADATA +1 -1
  57. {tencentcloud_sdk_python-3.0.1345.dist-info → tencentcloud_sdk_python-3.0.1347.dist-info}/RECORD +60 -55
  58. {tencentcloud_sdk_python-3.0.1345.dist-info → tencentcloud_sdk_python-3.0.1347.dist-info}/LICENSE +0 -0
  59. {tencentcloud_sdk_python-3.0.1345.dist-info → tencentcloud_sdk_python-3.0.1347.dist-info}/WHEEL +0 -0
  60. {tencentcloud_sdk_python-3.0.1345.dist-info → tencentcloud_sdk_python-3.0.1347.dist-info}/top_level.txt +0 -0
@@ -212,6 +212,29 @@ class MonitorClient(AbstractClient):
212
212
  raise TencentCloudSDKException(type(e).__name__, str(e))
213
213
 
214
214
 
215
+ def CreateConditionsTemplate(self, request):
216
+ """创建告警条件模板
217
+
218
+ :param request: Request instance for CreateConditionsTemplate.
219
+ :type request: :class:`tencentcloud.monitor.v20180724.models.CreateConditionsTemplateRequest`
220
+ :rtype: :class:`tencentcloud.monitor.v20180724.models.CreateConditionsTemplateResponse`
221
+
222
+ """
223
+ try:
224
+ params = request._serialize()
225
+ headers = request.headers
226
+ body = self.call("CreateConditionsTemplate", params, headers=headers)
227
+ response = json.loads(body)
228
+ model = models.CreateConditionsTemplateResponse()
229
+ model._deserialize(response["Response"])
230
+ return model
231
+ except Exception as e:
232
+ if isinstance(e, TencentCloudSDKException):
233
+ raise
234
+ else:
235
+ raise TencentCloudSDKException(type(e).__name__, str(e))
236
+
237
+
215
238
  def CreateExporterIntegration(self, request):
216
239
  """创建集成中心 exporter 集成,因集成较多,建议控制台创建集成。(前提:已授权创建托管 EKS 集群,验证方式:1. 控制台界面确认,未提示授权则表示已授权创建;2. 通过 DescribePrometheusInstanceInitStatus 接口查询集群状态,如果托管集群不存在,可通过 RunPrometheusInstance 接口创建)
217
240
 
@@ -4345,14 +4345,14 @@ class DescribeInstanceListRequest(AbstractModel):
4345
4345
 
4346
4346
  def __init__(self):
4347
4347
  r"""
4348
- :param _Filters: 查询条件列表,支持以下子弹
4348
+ :param _Filters: 查询条件列表,支持以下字段
4349
4349
  InstanceName:集群名模糊搜索
4350
4350
  InstanceId:集群id精确搜索
4351
- InstanceStatus:集群状态搜索
4351
+ InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,MODIFYING-变配中,DELETING-删除中)
4352
4352
  :type Filters: list of Filter
4353
- :param _Offset: 查询起始位置
4353
+ :param _Offset: 查询起始位置,默认0
4354
4354
  :type Offset: int
4355
- :param _Limit: 查询结果限制数量
4355
+ :param _Limit: 查询结果限制数量,默认20,最大100
4356
4356
  :type Limit: int
4357
4357
  :param _TagFilters: 标签过滤器
4358
4358
  :type TagFilters: list of TagFilter
@@ -4364,10 +4364,10 @@ InstanceStatus:集群状态搜索
4364
4364
 
4365
4365
  @property
4366
4366
  def Filters(self):
4367
- """查询条件列表,支持以下子弹
4367
+ """查询条件列表,支持以下字段
4368
4368
  InstanceName:集群名模糊搜索
4369
4369
  InstanceId:集群id精确搜索
4370
- InstanceStatus:集群状态搜索
4370
+ InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,MODIFYING-变配中,DELETING-删除中)
4371
4371
  :rtype: list of Filter
4372
4372
  """
4373
4373
  return self._Filters
@@ -4378,7 +4378,7 @@ InstanceStatus:集群状态搜索
4378
4378
 
4379
4379
  @property
4380
4380
  def Offset(self):
4381
- """查询起始位置
4381
+ """查询起始位置,默认0
4382
4382
  :rtype: int
4383
4383
  """
4384
4384
  return self._Offset
@@ -4389,7 +4389,7 @@ InstanceStatus:集群状态搜索
4389
4389
 
4390
4390
  @property
4391
4391
  def Limit(self):
4392
- """查询结果限制数量
4392
+ """查询结果限制数量,默认20,最大100
4393
4393
  :rtype: int
4394
4394
  """
4395
4395
  return self._Limit
@@ -5289,7 +5289,7 @@ class DescribeTopicListRequest(AbstractModel):
5289
5289
 
5290
5290
  def __init__(self):
5291
5291
  r"""
5292
- :param _InstanceId: 实例ID
5292
+ :param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
5293
5293
  :type InstanceId: str
5294
5294
  :param _Filters: 查询条件列表:
5295
5295
  支持TopicName模糊查询
@@ -5306,7 +5306,7 @@ class DescribeTopicListRequest(AbstractModel):
5306
5306
 
5307
5307
  @property
5308
5308
  def InstanceId(self):
5309
- """实例ID
5309
+ """实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
5310
5310
  :rtype: str
5311
5311
  """
5312
5312
  return self._InstanceId
@@ -6626,8 +6626,7 @@ class MQTTInstanceItem(AbstractModel):
6626
6626
  :type InstanceName: str
6627
6627
  :param _Version: 实例版本
6628
6628
  :type Version: str
6629
- :param _InstanceType: 实例类型,
6630
- EXPERIMENT,体验版
6629
+ :param _InstanceType: 实例类型
6631
6630
  BASIC,基础版
6632
6631
  PRO,专业版
6633
6632
  PLATINUM,铂金版
@@ -6654,19 +6653,21 @@ DELETING,删除中
6654
6653
  :type SkuCode: str
6655
6654
  :param _TpsLimit: 弹性TPS限流值
6656
6655
  :type TpsLimit: int
6657
- :param _CreateTime: 创建时间
6656
+ :param _CreateTime: 创建时间,毫秒级时间戳
6658
6657
  :type CreateTime: int
6659
6658
  :param _MaxSubscriptionPerClient: 单客户端最大订阅数量
6660
6659
  :type MaxSubscriptionPerClient: int
6661
6660
  :param _ClientNumLimit: 客户端连接数上线
6662
6661
  :type ClientNumLimit: int
6663
- :param _RenewFlag: 是否自动续费
6662
+ :param _RenewFlag: 是否自动续费。仅包年包月就去那生效。
6663
+ 1:自动续费
6664
+ 0:非自动续费
6664
6665
  :type RenewFlag: int
6665
6666
  :param _PayMode: 计费模式, POSTPAID,按量计费 PREPAID,包年包月
6666
6667
  :type PayMode: str
6667
- :param _ExpiryTime: 到期时间,秒为单位
6668
+ :param _ExpiryTime: 到期时间,毫秒级时间戳
6668
6669
  :type ExpiryTime: int
6669
- :param _DestroyTime: 预销毁时间
6670
+ :param _DestroyTime: 预销毁时间,毫秒级时间戳
6670
6671
  :type DestroyTime: int
6671
6672
  :param _AuthorizationPolicyLimit: 授权规则条数限制
6672
6673
  :type AuthorizationPolicyLimit: int
@@ -6731,8 +6732,7 @@ DELETING,删除中
6731
6732
 
6732
6733
  @property
6733
6734
  def InstanceType(self):
6734
- """实例类型,
6735
- EXPERIMENT,体验版
6735
+ """实例类型
6736
6736
  BASIC,基础版
6737
6737
  PRO,专业版
6738
6738
  PLATINUM,铂金版
@@ -6822,7 +6822,7 @@ DELETING,删除中
6822
6822
 
6823
6823
  @property
6824
6824
  def CreateTime(self):
6825
- """创建时间
6825
+ """创建时间,毫秒级时间戳
6826
6826
  :rtype: int
6827
6827
  """
6828
6828
  return self._CreateTime
@@ -6855,7 +6855,9 @@ DELETING,删除中
6855
6855
 
6856
6856
  @property
6857
6857
  def RenewFlag(self):
6858
- """是否自动续费
6858
+ """是否自动续费。仅包年包月就去那生效。
6859
+ 1:自动续费
6860
+ 0:非自动续费
6859
6861
  :rtype: int
6860
6862
  """
6861
6863
  return self._RenewFlag
@@ -6877,7 +6879,7 @@ DELETING,删除中
6877
6879
 
6878
6880
  @property
6879
6881
  def ExpiryTime(self):
6880
- """到期时间,秒为单位
6882
+ """到期时间,毫秒级时间戳
6881
6883
  :rtype: int
6882
6884
  """
6883
6885
  return self._ExpiryTime
@@ -6888,7 +6890,7 @@ DELETING,删除中
6888
6890
 
6889
6891
  @property
6890
6892
  def DestroyTime(self):
6891
- """预销毁时间
6893
+ """预销毁时间,毫秒级时间戳
6892
6894
  :rtype: int
6893
6895
  """
6894
6896
  return self._DestroyTime
@@ -11519,7 +11519,6 @@ class Groups(AbstractModel):
11519
11519
  - 17:德国
11520
11520
  - 18:韩国
11521
11521
  - 19:重庆
11522
- - 21:印度
11523
11522
  - 22:美东(弗吉尼亚)
11524
11523
  - 23:泰国
11525
11524
  - 25:日本
@@ -11577,7 +11576,6 @@ class Groups(AbstractModel):
11577
11576
  - 17:德国
11578
11577
  - 18:韩国
11579
11578
  - 19:重庆
11580
- - 21:印度
11581
11579
  - 22:美东(弗吉尼亚)
11582
11580
  - 23:泰国
11583
11581
  - 25:日本
@@ -13628,7 +13626,7 @@ class InstanceSet(AbstractModel):
13628
13626
  :type Appid: int
13629
13627
  :param _ProjectId: 项目 ID。
13630
13628
  :type ProjectId: int
13631
- :param _RegionId: 地域 ID。<ul><li>1:广州。</li><li>4:上海。</li><li>5:中国香港。</li><li>7:上海金融。</li> <li>8:北京。</li> <li>9:新加坡。</li> <li>11:深圳金融。</li> <li>15:美西(硅谷)。</li><li>16:成都。</li><li>17:法兰克福。</li><li>18:首尔。</li><li>19:重庆。</li><li>21:孟买。</li><li>22:美东(弗吉尼亚)。</li><li>23:曼谷。</li><li>25:东京。</li></ul>
13629
+ :param _RegionId: 地域 ID。<ul><li>1:广州。</li><li>4:上海。</li><li>5:中国香港。</li><li>7:上海金融。</li> <li>8:北京。</li> <li>9:新加坡。</li> <li>11:深圳金融。</li> <li>15:美西(硅谷)。</li><li>16:成都。</li><li>17:法兰克福。</li><li>18:首尔。</li><li>19:重庆。</li><li>22:美东(弗吉尼亚)。</li><li>23:曼谷。</li><li>25:东京。</li></ul>
13632
13630
  :type RegionId: int
13633
13631
  :param _ZoneId: 区域 ID。
13634
13632
  :type ZoneId: int
@@ -13863,7 +13861,7 @@ class InstanceSet(AbstractModel):
13863
13861
 
13864
13862
  @property
13865
13863
  def RegionId(self):
13866
- """地域 ID。<ul><li>1:广州。</li><li>4:上海。</li><li>5:中国香港。</li><li>7:上海金融。</li> <li>8:北京。</li> <li>9:新加坡。</li> <li>11:深圳金融。</li> <li>15:美西(硅谷)。</li><li>16:成都。</li><li>17:法兰克福。</li><li>18:首尔。</li><li>19:重庆。</li><li>21:孟买。</li><li>22:美东(弗吉尼亚)。</li><li>23:曼谷。</li><li>25:东京。</li></ul>
13864
+ """地域 ID。<ul><li>1:广州。</li><li>4:上海。</li><li>5:中国香港。</li><li>7:上海金融。</li> <li>8:北京。</li> <li>9:新加坡。</li> <li>11:深圳金融。</li> <li>15:美西(硅谷)。</li><li>16:成都。</li><li>17:法兰克福。</li><li>18:首尔。</li><li>19:重庆。</li><li>22:美东(弗吉尼亚)。</li><li>23:曼谷。</li><li>25:东京。</li></ul>
13867
13865
  :rtype: int
13868
13866
  """
13869
13867
  return self._RegionId
@@ -590,7 +590,6 @@ class DescribeSavingPlanDeductResponse(AbstractModel):
590
590
  def __init__(self):
591
591
  r"""
592
592
  :param _Total: 查询命中的节省计划抵扣明细数据总条数
593
- 注意:此字段可能返回 null,表示取不到有效值。
594
593
  :type Total: int
595
594
  :param _Deducts: 查询命中的节省计划抵扣明细数据明细
596
595
  :type Deducts: list of SavingPlanDeductDetail
@@ -604,7 +603,6 @@ class DescribeSavingPlanDeductResponse(AbstractModel):
604
603
  @property
605
604
  def Total(self):
606
605
  """查询命中的节省计划抵扣明细数据总条数
607
- 注意:此字段可能返回 null,表示取不到有效值。
608
606
  :rtype: int
609
607
  """
610
608
  return self._Total
@@ -414,7 +414,6 @@ class TotalStatus(AbstractModel):
414
414
  :param _NotifyCount: 通知状态的数目
415
415
  :type NotifyCount: int
416
416
  :param _AbnormalCount: 异常状态的数目
417
- 注意:此字段可能返回 null,表示取不到有效值。
418
417
  :type AbnormalCount: int
419
418
  """
420
419
  self._NormalCount = None
@@ -446,7 +445,6 @@ class TotalStatus(AbstractModel):
446
445
  @property
447
446
  def AbnormalCount(self):
448
447
  """异常状态的数目
449
- 注意:此字段可能返回 null,表示取不到有效值。
450
448
  :rtype: int
451
449
  """
452
450
  return self._AbnormalCount
@@ -8709,9 +8709,9 @@ class DescribeRepositoriesRequest(AbstractModel):
8709
8709
  :type NamespaceName: str
8710
8710
  :param _RepositoryName: 指定镜像仓库,不填写默认查询指定命名空间下所有镜像仓库
8711
8711
  :type RepositoryName: str
8712
- :param _Offset: 页数,用于分页
8712
+ :param _Offset: 页数,第几页,用于分页
8713
8713
  :type Offset: int
8714
- :param _Limit: 每页个数,用于分页
8714
+ :param _Limit: 每页个数,用于分页,最大值为100
8715
8715
  :type Limit: int
8716
8716
  :param _SortBy: 基于字段排序,支持的值有-creation_time,-name, -update_time
8717
8717
  :type SortBy: str
@@ -8758,7 +8758,7 @@ class DescribeRepositoriesRequest(AbstractModel):
8758
8758
 
8759
8759
  @property
8760
8760
  def Offset(self):
8761
- """页数,用于分页
8761
+ """页数,第几页,用于分页
8762
8762
  :rtype: int
8763
8763
  """
8764
8764
  return self._Offset
@@ -8769,7 +8769,7 @@ class DescribeRepositoriesRequest(AbstractModel):
8769
8769
 
8770
8770
  @property
8771
8771
  def Limit(self):
8772
- """每页个数,用于分页
8772
+ """每页个数,用于分页,最大值为100
8773
8773
  :rtype: int
8774
8774
  """
8775
8775
  return self._Limit
@@ -15783,10 +15783,8 @@ class RetentionRule(AbstractModel):
15783
15783
  def __init__(self):
15784
15784
  r"""
15785
15785
  :param _Key: 支持的策略,可选值为latestPushedK(保留最新推送多少个版本)nDaysSinceLastPush(保留近天内推送)
15786
- 注意:此字段可能返回 null,表示取不到有效值。
15787
15786
  :type Key: str
15788
15787
  :param _Value: 规则设置下的对应值
15789
- 注意:此字段可能返回 null,表示取不到有效值。
15790
15788
  :type Value: int
15791
15789
  """
15792
15790
  self._Key = None
@@ -15795,7 +15793,6 @@ class RetentionRule(AbstractModel):
15795
15793
  @property
15796
15794
  def Key(self):
15797
15795
  """支持的策略,可选值为latestPushedK(保留最新推送多少个版本)nDaysSinceLastPush(保留近天内推送)
15798
- 注意:此字段可能返回 null,表示取不到有效值。
15799
15796
  :rtype: str
15800
15797
  """
15801
15798
  return self._Key
@@ -15807,7 +15804,6 @@ class RetentionRule(AbstractModel):
15807
15804
  @property
15808
15805
  def Value(self):
15809
15806
  """规则设置下的对应值
15810
- 注意:此字段可能返回 null,表示取不到有效值。
15811
15807
  :rtype: int
15812
15808
  """
15813
15809
  return self._Value
@@ -17350,10 +17346,8 @@ class TcrRepositoryInfo(AbstractModel):
17350
17346
  :param _Public: 是否公开
17351
17347
  :type Public: bool
17352
17348
  :param _Description: 仓库详细描述
17353
- 注意:此字段可能返回 null,表示取不到有效值。
17354
17349
  :type Description: str
17355
17350
  :param _BriefDescription: 简单描述
17356
- 注意:此字段可能返回 null,表示取不到有效值。
17357
17351
  :type BriefDescription: str
17358
17352
  :param _UpdateTime: 更新时间,格式"2006-01-02 15:04:05.999999999 -0700 MST"
17359
17353
  :type UpdateTime: str
@@ -17413,7 +17407,6 @@ class TcrRepositoryInfo(AbstractModel):
17413
17407
  @property
17414
17408
  def Description(self):
17415
17409
  """仓库详细描述
17416
- 注意:此字段可能返回 null,表示取不到有效值。
17417
17410
  :rtype: str
17418
17411
  """
17419
17412
  return self._Description
@@ -17425,7 +17418,6 @@ class TcrRepositoryInfo(AbstractModel):
17425
17418
  @property
17426
17419
  def BriefDescription(self):
17427
17420
  """简单描述
17428
- 注意:此字段可能返回 null,表示取不到有效值。
17429
17421
  :rtype: str
17430
17422
  """
17431
17423
  return self._BriefDescription
@@ -18431,7 +18423,6 @@ class WebhookTrigger(AbstractModel):
18431
18423
  :param _NamespaceId: 触发器所属命名空间 Id
18432
18424
  :type NamespaceId: int
18433
18425
  :param _NamespaceName: 触发器所属命名空间名称
18434
- 注意:此字段可能返回 null,表示取不到有效值。
18435
18426
  :type NamespaceName: str
18436
18427
  """
18437
18428
  self._Name = None
@@ -18535,7 +18526,6 @@ class WebhookTrigger(AbstractModel):
18535
18526
  @property
18536
18527
  def NamespaceName(self):
18537
18528
  """触发器所属命名空间名称
18538
- 注意:此字段可能返回 null,表示取不到有效值。
18539
18529
  :rtype: str
18540
18530
  """
18541
18531
  return self._NamespaceName