tencentcloud-sdk-python 3.0.1344__py2.py3-none-any.whl → 3.0.1345__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 (47) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/antiddos/v20200309/models.py +2 -2
  3. tencentcloud/bi/v20220105/models.py +6 -2
  4. tencentcloud/cbs/v20170312/models.py +0 -20
  5. tencentcloud/cdwch/v20200915/models.py +0 -110
  6. tencentcloud/ckafka/v20190819/models.py +0 -260
  7. tencentcloud/clb/v20180317/models.py +10 -10
  8. tencentcloud/cls/v20201016/cls_client.py +0 -92
  9. tencentcloud/cls/v20201016/models.py +81 -983
  10. tencentcloud/cvm/v20170312/models.py +15 -0
  11. tencentcloud/cynosdb/v20190107/models.py +0 -84
  12. tencentcloud/dbbrain/v20191016/models.py +0 -20
  13. tencentcloud/dbbrain/v20210527/models.py +0 -92
  14. tencentcloud/dcdb/v20180411/models.py +0 -48
  15. tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
  16. tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
  17. tencentcloud/dnspod/v20210323/models.py +724 -0
  18. tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
  19. tencentcloud/dsgc/v20190723/models.py +0 -34
  20. tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +1 -1
  21. tencentcloud/iotvideoindustry/v20201201/models.py +15 -404
  22. tencentcloud/mariadb/v20170312/models.py +0 -38
  23. tencentcloud/mmps/v20200710/models.py +0 -56
  24. tencentcloud/postgres/v20170312/models.py +0 -222
  25. tencentcloud/postgres/v20170312/postgres_client.py +5 -5
  26. tencentcloud/svp/v20240125/models.py +0 -42
  27. tencentcloud/tcb/v20180608/models.py +0 -195
  28. tencentcloud/tcb/v20180608/tcb_client.py +0 -23
  29. tencentcloud/tcss/v20201101/models.py +1813 -2547
  30. tencentcloud/tcss/v20201101/tcss_client.py +92 -125
  31. tencentcloud/tdmq/v20200217/models.py +0 -154
  32. tencentcloud/tdmq/v20200217/tdmq_client.py +0 -23
  33. tencentcloud/teo/v20220901/models.py +158 -36
  34. tencentcloud/teo/v20220901/teo_client.py +23 -0
  35. tencentcloud/thpc/v20211109/models.py +0 -6
  36. tencentcloud/thpc/v20220401/models.py +0 -6
  37. tencentcloud/thpc/v20230321/models.py +0 -8
  38. tencentcloud/tke/v20180525/models.py +0 -54
  39. tencentcloud/tke/v20220501/models.py +0 -34
  40. tencentcloud/vpc/v20170312/models.py +0 -34
  41. tencentcloud/waf/v20180125/models.py +15 -0
  42. tencentcloud/wedata/v20210820/models.py +32 -0
  43. {tencentcloud_sdk_python-3.0.1344.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/METADATA +1 -1
  44. {tencentcloud_sdk_python-3.0.1344.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/RECORD +47 -47
  45. {tencentcloud_sdk_python-3.0.1344.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/LICENSE +0 -0
  46. {tencentcloud_sdk_python-3.0.1344.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/WHEEL +0 -0
  47. {tencentcloud_sdk_python-3.0.1344.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/top_level.txt +0 -0
@@ -2599,132 +2599,6 @@ class CloseKafkaConsumerResponse(AbstractModel):
2599
2599
  self._RequestId = params.get("RequestId")
2600
2600
 
2601
2601
 
2602
- class CloudProductLogTaskInfo(AbstractModel):
2603
- """云产品日志投递任务信息
2604
-
2605
- """
2606
-
2607
- def __init__(self):
2608
- r"""
2609
- :param _ClsRegion: 日志服务地域
2610
- :type ClsRegion: str
2611
- :param _InstanceId: 实例ID
2612
- :type InstanceId: str
2613
- :param _LogsetId: 日志集ID
2614
- :type LogsetId: str
2615
- :param _TopicId: 日志主题ID
2616
- :type TopicId: str
2617
- :param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
2618
- :type Extend: str
2619
- :param _LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
2620
- :type LogType: str
2621
- :param _Status: 任务状态, 0创建中 1创建完成 2 删除中
2622
- :type Status: int
2623
- """
2624
- self._ClsRegion = None
2625
- self._InstanceId = None
2626
- self._LogsetId = None
2627
- self._TopicId = None
2628
- self._Extend = None
2629
- self._LogType = None
2630
- self._Status = None
2631
-
2632
- @property
2633
- def ClsRegion(self):
2634
- """日志服务地域
2635
- :rtype: str
2636
- """
2637
- return self._ClsRegion
2638
-
2639
- @ClsRegion.setter
2640
- def ClsRegion(self, ClsRegion):
2641
- self._ClsRegion = ClsRegion
2642
-
2643
- @property
2644
- def InstanceId(self):
2645
- """实例ID
2646
- :rtype: str
2647
- """
2648
- return self._InstanceId
2649
-
2650
- @InstanceId.setter
2651
- def InstanceId(self, InstanceId):
2652
- self._InstanceId = InstanceId
2653
-
2654
- @property
2655
- def LogsetId(self):
2656
- """日志集ID
2657
- :rtype: str
2658
- """
2659
- return self._LogsetId
2660
-
2661
- @LogsetId.setter
2662
- def LogsetId(self, LogsetId):
2663
- self._LogsetId = LogsetId
2664
-
2665
- @property
2666
- def TopicId(self):
2667
- """日志主题ID
2668
- :rtype: str
2669
- """
2670
- return self._TopicId
2671
-
2672
- @TopicId.setter
2673
- def TopicId(self, TopicId):
2674
- self._TopicId = TopicId
2675
-
2676
- @property
2677
- def Extend(self):
2678
- """日志配置拓展信息, 一般用于存储额外的日志投递配置
2679
- :rtype: str
2680
- """
2681
- return self._Extend
2682
-
2683
- @Extend.setter
2684
- def Extend(self, Extend):
2685
- self._Extend = Extend
2686
-
2687
- @property
2688
- def LogType(self):
2689
- """日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
2690
- :rtype: str
2691
- """
2692
- return self._LogType
2693
-
2694
- @LogType.setter
2695
- def LogType(self, LogType):
2696
- self._LogType = LogType
2697
-
2698
- @property
2699
- def Status(self):
2700
- """任务状态, 0创建中 1创建完成 2 删除中
2701
- :rtype: int
2702
- """
2703
- return self._Status
2704
-
2705
- @Status.setter
2706
- def Status(self, Status):
2707
- self._Status = Status
2708
-
2709
-
2710
- def _deserialize(self, params):
2711
- self._ClsRegion = params.get("ClsRegion")
2712
- self._InstanceId = params.get("InstanceId")
2713
- self._LogsetId = params.get("LogsetId")
2714
- self._TopicId = params.get("TopicId")
2715
- self._Extend = params.get("Extend")
2716
- self._LogType = params.get("LogType")
2717
- self._Status = params.get("Status")
2718
- memeber_set = set(params.keys())
2719
- for name, value in vars(self).items():
2720
- property_name = name[1:]
2721
- if property_name in memeber_set:
2722
- memeber_set.remove(property_name)
2723
- if len(memeber_set) > 0:
2724
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2725
-
2726
-
2727
-
2728
2602
  class CollectConfig(AbstractModel):
2729
2603
  """采集配置信息
2730
2604
 
@@ -5671,293 +5545,10 @@ class CreateAlarmShieldResponse(AbstractModel):
5671
5545
  @RequestId.setter
5672
5546
  def RequestId(self, RequestId):
5673
5547
  self._RequestId = RequestId
5674
-
5675
-
5676
- def _deserialize(self, params):
5677
- self._TaskId = params.get("TaskId")
5678
- self._RequestId = params.get("RequestId")
5679
-
5680
-
5681
- class CreateCloudProductLogTaskRequest(AbstractModel):
5682
- """CreateCloudProductLogTask请求参数结构体
5683
-
5684
- """
5685
-
5686
- def __init__(self):
5687
- r"""
5688
- :param _InstanceId: 实例ID
5689
- :type InstanceId: str
5690
- :param _AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
5691
- :type AssumerName: str
5692
- :param _LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
5693
- :type LogType: str
5694
- :param _CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
5695
- - CDS所有日志类型:ap-guangzhou
5696
- - CDB-AUDIT: gz
5697
- - TDSQL-C-AUDIT: gz
5698
- - MongoDB-AUDIT: gz
5699
- - MongoDB-SlowLog:ap-guangzhou
5700
- - MongoDB-ErrorLog:ap-guangzhou
5701
- - TDMYSQL-SLOW:gz
5702
- - DCDB所有日志类型:gz
5703
- - MariaDB所有日志类型:gz
5704
- - PostgreSQL所有日志类型:gz
5705
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
5706
- - APIS所有日志类型:gz
5707
- :type CloudProductRegion: str
5708
- :param _ClsRegion: CLS目标地域
5709
- :type ClsRegion: str
5710
- :param _LogsetName: 日志集名称,未填LogsetId时必填。若日志集不存在, 将自动创建
5711
- :type LogsetName: str
5712
- :param _LogsetId: 日志集ID,若指定则代表选择已有日志集。选择已有日志集时,LogsetName可以不填
5713
- :type LogsetId: str
5714
- :param _TopicName: 日志主题名称,在未填TopicId时必填。 若日志主题不存在,将自动创建
5715
- :type TopicName: str
5716
- :param _TopicId: 日志主题ID,若指定则代表选择已有日志主题,选择已有日志主题时,TopicName可以不填
5717
- :type TopicId: str
5718
- :param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
5719
- :type Extend: str
5720
- """
5721
- self._InstanceId = None
5722
- self._AssumerName = None
5723
- self._LogType = None
5724
- self._CloudProductRegion = None
5725
- self._ClsRegion = None
5726
- self._LogsetName = None
5727
- self._LogsetId = None
5728
- self._TopicName = None
5729
- self._TopicId = None
5730
- self._Extend = None
5731
-
5732
- @property
5733
- def InstanceId(self):
5734
- """实例ID
5735
- :rtype: str
5736
- """
5737
- return self._InstanceId
5738
-
5739
- @InstanceId.setter
5740
- def InstanceId(self, InstanceId):
5741
- self._InstanceId = InstanceId
5742
-
5743
- @property
5744
- def AssumerName(self):
5745
- """云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
5746
- :rtype: str
5747
- """
5748
- return self._AssumerName
5749
-
5750
- @AssumerName.setter
5751
- def AssumerName(self, AssumerName):
5752
- self._AssumerName = AssumerName
5753
-
5754
- @property
5755
- def LogType(self):
5756
- """日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
5757
- :rtype: str
5758
- """
5759
- return self._LogType
5760
-
5761
- @LogType.setter
5762
- def LogType(self, LogType):
5763
- self._LogType = LogType
5764
-
5765
- @property
5766
- def CloudProductRegion(self):
5767
- """云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
5768
- - CDS所有日志类型:ap-guangzhou
5769
- - CDB-AUDIT: gz
5770
- - TDSQL-C-AUDIT: gz
5771
- - MongoDB-AUDIT: gz
5772
- - MongoDB-SlowLog:ap-guangzhou
5773
- - MongoDB-ErrorLog:ap-guangzhou
5774
- - TDMYSQL-SLOW:gz
5775
- - DCDB所有日志类型:gz
5776
- - MariaDB所有日志类型:gz
5777
- - PostgreSQL所有日志类型:gz
5778
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
5779
- - APIS所有日志类型:gz
5780
- :rtype: str
5781
- """
5782
- return self._CloudProductRegion
5783
-
5784
- @CloudProductRegion.setter
5785
- def CloudProductRegion(self, CloudProductRegion):
5786
- self._CloudProductRegion = CloudProductRegion
5787
-
5788
- @property
5789
- def ClsRegion(self):
5790
- """CLS目标地域
5791
- :rtype: str
5792
- """
5793
- return self._ClsRegion
5794
-
5795
- @ClsRegion.setter
5796
- def ClsRegion(self, ClsRegion):
5797
- self._ClsRegion = ClsRegion
5798
-
5799
- @property
5800
- def LogsetName(self):
5801
- """日志集名称,未填LogsetId时必填。若日志集不存在, 将自动创建
5802
- :rtype: str
5803
- """
5804
- return self._LogsetName
5805
-
5806
- @LogsetName.setter
5807
- def LogsetName(self, LogsetName):
5808
- self._LogsetName = LogsetName
5809
-
5810
- @property
5811
- def LogsetId(self):
5812
- """日志集ID,若指定则代表选择已有日志集。选择已有日志集时,LogsetName可以不填
5813
- :rtype: str
5814
- """
5815
- return self._LogsetId
5816
-
5817
- @LogsetId.setter
5818
- def LogsetId(self, LogsetId):
5819
- self._LogsetId = LogsetId
5820
-
5821
- @property
5822
- def TopicName(self):
5823
- """日志主题名称,在未填TopicId时必填。 若日志主题不存在,将自动创建
5824
- :rtype: str
5825
- """
5826
- return self._TopicName
5827
-
5828
- @TopicName.setter
5829
- def TopicName(self, TopicName):
5830
- self._TopicName = TopicName
5831
-
5832
- @property
5833
- def TopicId(self):
5834
- """日志主题ID,若指定则代表选择已有日志主题,选择已有日志主题时,TopicName可以不填
5835
- :rtype: str
5836
- """
5837
- return self._TopicId
5838
-
5839
- @TopicId.setter
5840
- def TopicId(self, TopicId):
5841
- self._TopicId = TopicId
5842
-
5843
- @property
5844
- def Extend(self):
5845
- """日志配置拓展信息, 一般用于存储额外的日志投递配置
5846
- :rtype: str
5847
- """
5848
- return self._Extend
5849
-
5850
- @Extend.setter
5851
- def Extend(self, Extend):
5852
- self._Extend = Extend
5853
-
5854
-
5855
- def _deserialize(self, params):
5856
- self._InstanceId = params.get("InstanceId")
5857
- self._AssumerName = params.get("AssumerName")
5858
- self._LogType = params.get("LogType")
5859
- self._CloudProductRegion = params.get("CloudProductRegion")
5860
- self._ClsRegion = params.get("ClsRegion")
5861
- self._LogsetName = params.get("LogsetName")
5862
- self._LogsetId = params.get("LogsetId")
5863
- self._TopicName = params.get("TopicName")
5864
- self._TopicId = params.get("TopicId")
5865
- self._Extend = params.get("Extend")
5866
- memeber_set = set(params.keys())
5867
- for name, value in vars(self).items():
5868
- property_name = name[1:]
5869
- if property_name in memeber_set:
5870
- memeber_set.remove(property_name)
5871
- if len(memeber_set) > 0:
5872
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5873
-
5874
-
5875
-
5876
- class CreateCloudProductLogTaskResponse(AbstractModel):
5877
- """CreateCloudProductLogTask返回参数结构体
5878
-
5879
- """
5880
-
5881
- def __init__(self):
5882
- r"""
5883
- :param _TopicId: 日志主题ID
5884
- :type TopicId: str
5885
- :param _TopicName: 日志主题名称
5886
- :type TopicName: str
5887
- :param _LogsetId: 日志集ID
5888
- :type LogsetId: str
5889
- :param _LogsetName: 日志集名称
5890
- :type LogsetName: str
5891
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5892
- :type RequestId: str
5893
- """
5894
- self._TopicId = None
5895
- self._TopicName = None
5896
- self._LogsetId = None
5897
- self._LogsetName = None
5898
- self._RequestId = None
5899
-
5900
- @property
5901
- def TopicId(self):
5902
- """日志主题ID
5903
- :rtype: str
5904
- """
5905
- return self._TopicId
5906
-
5907
- @TopicId.setter
5908
- def TopicId(self, TopicId):
5909
- self._TopicId = TopicId
5910
-
5911
- @property
5912
- def TopicName(self):
5913
- """日志主题名称
5914
- :rtype: str
5915
- """
5916
- return self._TopicName
5917
-
5918
- @TopicName.setter
5919
- def TopicName(self, TopicName):
5920
- self._TopicName = TopicName
5921
-
5922
- @property
5923
- def LogsetId(self):
5924
- """日志集ID
5925
- :rtype: str
5926
- """
5927
- return self._LogsetId
5928
-
5929
- @LogsetId.setter
5930
- def LogsetId(self, LogsetId):
5931
- self._LogsetId = LogsetId
5932
-
5933
- @property
5934
- def LogsetName(self):
5935
- """日志集名称
5936
- :rtype: str
5937
- """
5938
- return self._LogsetName
5939
-
5940
- @LogsetName.setter
5941
- def LogsetName(self, LogsetName):
5942
- self._LogsetName = LogsetName
5943
-
5944
- @property
5945
- def RequestId(self):
5946
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5947
- :rtype: str
5948
- """
5949
- return self._RequestId
5950
-
5951
- @RequestId.setter
5952
- def RequestId(self, RequestId):
5953
- self._RequestId = RequestId
5954
-
5955
-
5956
- def _deserialize(self, params):
5957
- self._TopicId = params.get("TopicId")
5958
- self._TopicName = params.get("TopicName")
5959
- self._LogsetId = params.get("LogsetId")
5960
- self._LogsetName = params.get("LogsetName")
5548
+
5549
+
5550
+ def _deserialize(self, params):
5551
+ self._TaskId = params.get("TaskId")
5961
5552
  self._RequestId = params.get("RequestId")
5962
5553
 
5963
5554
 
@@ -10726,139 +10317,6 @@ class DeleteAlarmShieldResponse(AbstractModel):
10726
10317
  self._RequestId = params.get("RequestId")
10727
10318
 
10728
10319
 
10729
- class DeleteCloudProductLogTaskRequest(AbstractModel):
10730
- """DeleteCloudProductLogTask请求参数结构体
10731
-
10732
- """
10733
-
10734
- def __init__(self):
10735
- r"""
10736
- :param _InstanceId: 实例ID
10737
- :type InstanceId: str
10738
- :param _AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
10739
- :type AssumerName: str
10740
- :param _LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
10741
- :type LogType: str
10742
- :param _CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
10743
- - CDS所有日志类型:ap-guangzhou
10744
- - CDB-AUDIT: gz
10745
- - TDSQL-C-AUDIT: gz
10746
- - MongoDB-AUDIT: gz
10747
- - MongoDB-SlowLog:ap-guangzhou
10748
- - MongoDB-ErrorLog:ap-guangzhou
10749
- - TDMYSQL-SLOW:gz
10750
- - DCDB所有日志类型:gz
10751
- - MariaDB所有日志类型:gz
10752
- - PostgreSQL所有日志类型:gz
10753
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
10754
- - APIS所有日志类型:gz
10755
- :type CloudProductRegion: str
10756
- """
10757
- self._InstanceId = None
10758
- self._AssumerName = None
10759
- self._LogType = None
10760
- self._CloudProductRegion = None
10761
-
10762
- @property
10763
- def InstanceId(self):
10764
- """实例ID
10765
- :rtype: str
10766
- """
10767
- return self._InstanceId
10768
-
10769
- @InstanceId.setter
10770
- def InstanceId(self, InstanceId):
10771
- self._InstanceId = InstanceId
10772
-
10773
- @property
10774
- def AssumerName(self):
10775
- """云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
10776
- :rtype: str
10777
- """
10778
- return self._AssumerName
10779
-
10780
- @AssumerName.setter
10781
- def AssumerName(self, AssumerName):
10782
- self._AssumerName = AssumerName
10783
-
10784
- @property
10785
- def LogType(self):
10786
- """日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
10787
- :rtype: str
10788
- """
10789
- return self._LogType
10790
-
10791
- @LogType.setter
10792
- def LogType(self, LogType):
10793
- self._LogType = LogType
10794
-
10795
- @property
10796
- def CloudProductRegion(self):
10797
- """云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
10798
- - CDS所有日志类型:ap-guangzhou
10799
- - CDB-AUDIT: gz
10800
- - TDSQL-C-AUDIT: gz
10801
- - MongoDB-AUDIT: gz
10802
- - MongoDB-SlowLog:ap-guangzhou
10803
- - MongoDB-ErrorLog:ap-guangzhou
10804
- - TDMYSQL-SLOW:gz
10805
- - DCDB所有日志类型:gz
10806
- - MariaDB所有日志类型:gz
10807
- - PostgreSQL所有日志类型:gz
10808
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
10809
- - APIS所有日志类型:gz
10810
- :rtype: str
10811
- """
10812
- return self._CloudProductRegion
10813
-
10814
- @CloudProductRegion.setter
10815
- def CloudProductRegion(self, CloudProductRegion):
10816
- self._CloudProductRegion = CloudProductRegion
10817
-
10818
-
10819
- def _deserialize(self, params):
10820
- self._InstanceId = params.get("InstanceId")
10821
- self._AssumerName = params.get("AssumerName")
10822
- self._LogType = params.get("LogType")
10823
- self._CloudProductRegion = params.get("CloudProductRegion")
10824
- memeber_set = set(params.keys())
10825
- for name, value in vars(self).items():
10826
- property_name = name[1:]
10827
- if property_name in memeber_set:
10828
- memeber_set.remove(property_name)
10829
- if len(memeber_set) > 0:
10830
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10831
-
10832
-
10833
-
10834
- class DeleteCloudProductLogTaskResponse(AbstractModel):
10835
- """DeleteCloudProductLogTask返回参数结构体
10836
-
10837
- """
10838
-
10839
- def __init__(self):
10840
- r"""
10841
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10842
- :type RequestId: str
10843
- """
10844
- self._RequestId = None
10845
-
10846
- @property
10847
- def RequestId(self):
10848
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10849
- :rtype: str
10850
- """
10851
- return self._RequestId
10852
-
10853
- @RequestId.setter
10854
- def RequestId(self, RequestId):
10855
- self._RequestId = RequestId
10856
-
10857
-
10858
- def _deserialize(self, params):
10859
- self._RequestId = params.get("RequestId")
10860
-
10861
-
10862
10320
  class DeleteConfigExtraRequest(AbstractModel):
10863
10321
  """DeleteConfigExtra请求参数结构体
10864
10322
 
@@ -12642,170 +12100,7 @@ class DescribeAlarmsResponse(AbstractModel):
12642
12100
 
12643
12101
  @property
12644
12102
  def TotalCount(self):
12645
- """符合查询条件的告警策略数目。
12646
- :rtype: int
12647
- """
12648
- return self._TotalCount
12649
-
12650
- @TotalCount.setter
12651
- def TotalCount(self, TotalCount):
12652
- self._TotalCount = TotalCount
12653
-
12654
- @property
12655
- def RequestId(self):
12656
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12657
- :rtype: str
12658
- """
12659
- return self._RequestId
12660
-
12661
- @RequestId.setter
12662
- def RequestId(self, RequestId):
12663
- self._RequestId = RequestId
12664
-
12665
-
12666
- def _deserialize(self, params):
12667
- if params.get("Alarms") is not None:
12668
- self._Alarms = []
12669
- for item in params.get("Alarms"):
12670
- obj = AlarmInfo()
12671
- obj._deserialize(item)
12672
- self._Alarms.append(obj)
12673
- self._TotalCount = params.get("TotalCount")
12674
- self._RequestId = params.get("RequestId")
12675
-
12676
-
12677
- class DescribeAlertRecordHistoryRequest(AbstractModel):
12678
- """DescribeAlertRecordHistory请求参数结构体
12679
-
12680
- """
12681
-
12682
- def __init__(self):
12683
- r"""
12684
- :param _From: 查询时间范围启始时间,毫秒级unix时间戳
12685
- :type From: int
12686
- :param _To: 查询时间范围结束时间,毫秒级unix时间戳
12687
- :type To: int
12688
- :param _Offset: 分页的偏移量,默认值为0。
12689
- :type Offset: int
12690
- :param _Limit: 分页单页限制数目,最大值100。
12691
- :type Limit: int
12692
- :param _Filters: - alertId:按照告警策略ID进行过滤。类型:String 必选:否
12693
- - topicId:按照监控对象ID进行过滤。类型:String 必选:否
12694
- - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效
12695
- - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急
12696
-
12697
- 每次请求的Filters的上限为10,Filter.Values的上限为100。
12698
- :type Filters: list of Filter
12699
- """
12700
- self._From = None
12701
- self._To = None
12702
- self._Offset = None
12703
- self._Limit = None
12704
- self._Filters = None
12705
-
12706
- @property
12707
- def From(self):
12708
- """查询时间范围启始时间,毫秒级unix时间戳
12709
- :rtype: int
12710
- """
12711
- return self._From
12712
-
12713
- @From.setter
12714
- def From(self, From):
12715
- self._From = From
12716
-
12717
- @property
12718
- def To(self):
12719
- """查询时间范围结束时间,毫秒级unix时间戳
12720
- :rtype: int
12721
- """
12722
- return self._To
12723
-
12724
- @To.setter
12725
- def To(self, To):
12726
- self._To = To
12727
-
12728
- @property
12729
- def Offset(self):
12730
- """分页的偏移量,默认值为0。
12731
- :rtype: int
12732
- """
12733
- return self._Offset
12734
-
12735
- @Offset.setter
12736
- def Offset(self, Offset):
12737
- self._Offset = Offset
12738
-
12739
- @property
12740
- def Limit(self):
12741
- """分页单页限制数目,最大值100。
12742
- :rtype: int
12743
- """
12744
- return self._Limit
12745
-
12746
- @Limit.setter
12747
- def Limit(self, Limit):
12748
- self._Limit = Limit
12749
-
12750
- @property
12751
- def Filters(self):
12752
- """- alertId:按照告警策略ID进行过滤。类型:String 必选:否
12753
- - topicId:按照监控对象ID进行过滤。类型:String 必选:否
12754
- - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效
12755
- - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急
12756
-
12757
- 每次请求的Filters的上限为10,Filter.Values的上限为100。
12758
- :rtype: list of Filter
12759
- """
12760
- return self._Filters
12761
-
12762
- @Filters.setter
12763
- def Filters(self, Filters):
12764
- self._Filters = Filters
12765
-
12766
-
12767
- def _deserialize(self, params):
12768
- self._From = params.get("From")
12769
- self._To = params.get("To")
12770
- self._Offset = params.get("Offset")
12771
- self._Limit = params.get("Limit")
12772
- if params.get("Filters") is not None:
12773
- self._Filters = []
12774
- for item in params.get("Filters"):
12775
- obj = Filter()
12776
- obj._deserialize(item)
12777
- self._Filters.append(obj)
12778
- memeber_set = set(params.keys())
12779
- for name, value in vars(self).items():
12780
- property_name = name[1:]
12781
- if property_name in memeber_set:
12782
- memeber_set.remove(property_name)
12783
- if len(memeber_set) > 0:
12784
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12785
-
12786
-
12787
-
12788
- class DescribeAlertRecordHistoryResponse(AbstractModel):
12789
- """DescribeAlertRecordHistory返回参数结构体
12790
-
12791
- """
12792
-
12793
- def __init__(self):
12794
- r"""
12795
- :param _TotalCount: 告警历史总数
12796
- :type TotalCount: int
12797
- :param _Records: 告警历史详情
12798
- :type Records: list of AlertHistoryRecord
12799
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12800
- :type RequestId: str
12801
- """
12802
- self._TotalCount = None
12803
- self._Records = None
12804
- self._RequestId = None
12805
-
12806
- @property
12807
- def TotalCount(self):
12808
- """告警历史总数
12103
+ """符合查询条件的告警策略数目。
12809
12104
  :rtype: int
12810
12105
  """
12811
12106
  return self._TotalCount
@@ -12814,17 +12109,6 @@ class DescribeAlertRecordHistoryResponse(AbstractModel):
12814
12109
  def TotalCount(self, TotalCount):
12815
12110
  self._TotalCount = TotalCount
12816
12111
 
12817
- @property
12818
- def Records(self):
12819
- """告警历史详情
12820
- :rtype: list of AlertHistoryRecord
12821
- """
12822
- return self._Records
12823
-
12824
- @Records.setter
12825
- def Records(self, Records):
12826
- self._Records = Records
12827
-
12828
12112
  @property
12829
12113
  def RequestId(self):
12830
12114
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -12838,47 +12122,67 @@ class DescribeAlertRecordHistoryResponse(AbstractModel):
12838
12122
 
12839
12123
 
12840
12124
  def _deserialize(self, params):
12841
- self._TotalCount = params.get("TotalCount")
12842
- if params.get("Records") is not None:
12843
- self._Records = []
12844
- for item in params.get("Records"):
12845
- obj = AlertHistoryRecord()
12125
+ if params.get("Alarms") is not None:
12126
+ self._Alarms = []
12127
+ for item in params.get("Alarms"):
12128
+ obj = AlarmInfo()
12846
12129
  obj._deserialize(item)
12847
- self._Records.append(obj)
12130
+ self._Alarms.append(obj)
12131
+ self._TotalCount = params.get("TotalCount")
12848
12132
  self._RequestId = params.get("RequestId")
12849
12133
 
12850
12134
 
12851
- class DescribeCloudProductLogTasksRequest(AbstractModel):
12852
- """DescribeCloudProductLogTasks请求参数结构体
12135
+ class DescribeAlertRecordHistoryRequest(AbstractModel):
12136
+ """DescribeAlertRecordHistory请求参数结构体
12853
12137
 
12854
12138
  """
12855
12139
 
12856
12140
  def __init__(self):
12857
12141
  r"""
12142
+ :param _From: 查询时间范围启始时间,毫秒级unix时间戳
12143
+ :type From: int
12144
+ :param _To: 查询时间范围结束时间,毫秒级unix时间戳
12145
+ :type To: int
12858
12146
  :param _Offset: 分页的偏移量,默认值为0。
12859
12147
  :type Offset: int
12860
- :param _Limit: 分页单页限制数目,默认值为100,最大值100
12148
+ :param _Limit: 分页单页限制数目,最大值100。
12861
12149
  :type Limit: int
12862
- :param _Filters: - assumerName
12863
- - 按照【云产品标识】进行过滤。
12864
- - 类型:String
12865
- - 必选:否
12866
- - 枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
12867
- - logType
12868
- - 按照【日志类型】进行过滤。
12869
- - 类型:String
12870
- - 必选:否
12871
- - 枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
12872
- - instanceId
12873
- - 按照【实例ID】进行过滤。
12874
- - 类型:String
12875
- - 必选:否
12150
+ :param _Filters: - alertId:按照告警策略ID进行过滤。类型:String 必选:否
12151
+ - topicId:按照监控对象ID进行过滤。类型:String 必选:否
12152
+ - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效
12153
+ - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急
12154
+
12155
+ 每次请求的Filters的上限为10,Filter.Values的上限为100。
12876
12156
  :type Filters: list of Filter
12877
12157
  """
12158
+ self._From = None
12159
+ self._To = None
12878
12160
  self._Offset = None
12879
12161
  self._Limit = None
12880
12162
  self._Filters = None
12881
12163
 
12164
+ @property
12165
+ def From(self):
12166
+ """查询时间范围启始时间,毫秒级unix时间戳
12167
+ :rtype: int
12168
+ """
12169
+ return self._From
12170
+
12171
+ @From.setter
12172
+ def From(self, From):
12173
+ self._From = From
12174
+
12175
+ @property
12176
+ def To(self):
12177
+ """查询时间范围结束时间,毫秒级unix时间戳
12178
+ :rtype: int
12179
+ """
12180
+ return self._To
12181
+
12182
+ @To.setter
12183
+ def To(self, To):
12184
+ self._To = To
12185
+
12882
12186
  @property
12883
12187
  def Offset(self):
12884
12188
  """分页的偏移量,默认值为0。
@@ -12892,7 +12196,7 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
12892
12196
 
12893
12197
  @property
12894
12198
  def Limit(self):
12895
- """分页单页限制数目,默认值为100,最大值100
12199
+ """分页单页限制数目,最大值100。
12896
12200
  :rtype: int
12897
12201
  """
12898
12202
  return self._Limit
@@ -12903,20 +12207,12 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
12903
12207
 
12904
12208
  @property
12905
12209
  def Filters(self):
12906
- """- assumerName
12907
- - 按照【云产品标识】进行过滤。
12908
- - 类型:String
12909
- - 必选:否
12910
- - 枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
12911
- - logType
12912
- - 按照【日志类型】进行过滤。
12913
- - 类型:String
12914
- - 必选:否
12915
- - 枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
12916
- - instanceId
12917
- - 按照【实例ID】进行过滤。
12918
- - 类型:String
12919
- - 必选:否
12210
+ """- alertId:按照告警策略ID进行过滤。类型:String 必选:否
12211
+ - topicId:按照监控对象ID进行过滤。类型:String 必选:否
12212
+ - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效
12213
+ - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急
12214
+
12215
+ 每次请求的Filters的上限为10,Filter.Values的上限为100。
12920
12216
  :rtype: list of Filter
12921
12217
  """
12922
12218
  return self._Filters
@@ -12927,6 +12223,8 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
12927
12223
 
12928
12224
 
12929
12225
  def _deserialize(self, params):
12226
+ self._From = params.get("From")
12227
+ self._To = params.get("To")
12930
12228
  self._Offset = params.get("Offset")
12931
12229
  self._Limit = params.get("Limit")
12932
12230
  if params.get("Filters") is not None:
@@ -12945,38 +12243,27 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
12945
12243
 
12946
12244
 
12947
12245
 
12948
- class DescribeCloudProductLogTasksResponse(AbstractModel):
12949
- """DescribeCloudProductLogTasks返回参数结构体
12246
+ class DescribeAlertRecordHistoryResponse(AbstractModel):
12247
+ """DescribeAlertRecordHistory返回参数结构体
12950
12248
 
12951
12249
  """
12952
12250
 
12953
12251
  def __init__(self):
12954
12252
  r"""
12955
- :param _Tasks: 日志配置详情列表
12956
- :type Tasks: list of CloudProductLogTaskInfo
12957
- :param _TotalCount: 日志配置总数
12253
+ :param _TotalCount: 告警历史总数
12958
12254
  :type TotalCount: int
12255
+ :param _Records: 告警历史详情
12256
+ :type Records: list of AlertHistoryRecord
12959
12257
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12960
12258
  :type RequestId: str
12961
12259
  """
12962
- self._Tasks = None
12963
12260
  self._TotalCount = None
12261
+ self._Records = None
12964
12262
  self._RequestId = None
12965
12263
 
12966
- @property
12967
- def Tasks(self):
12968
- """日志配置详情列表
12969
- :rtype: list of CloudProductLogTaskInfo
12970
- """
12971
- return self._Tasks
12972
-
12973
- @Tasks.setter
12974
- def Tasks(self, Tasks):
12975
- self._Tasks = Tasks
12976
-
12977
12264
  @property
12978
12265
  def TotalCount(self):
12979
- """日志配置总数
12266
+ """告警历史总数
12980
12267
  :rtype: int
12981
12268
  """
12982
12269
  return self._TotalCount
@@ -12985,6 +12272,17 @@ class DescribeCloudProductLogTasksResponse(AbstractModel):
12985
12272
  def TotalCount(self, TotalCount):
12986
12273
  self._TotalCount = TotalCount
12987
12274
 
12275
+ @property
12276
+ def Records(self):
12277
+ """告警历史详情
12278
+ :rtype: list of AlertHistoryRecord
12279
+ """
12280
+ return self._Records
12281
+
12282
+ @Records.setter
12283
+ def Records(self, Records):
12284
+ self._Records = Records
12285
+
12988
12286
  @property
12989
12287
  def RequestId(self):
12990
12288
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -12998,13 +12296,13 @@ class DescribeCloudProductLogTasksResponse(AbstractModel):
12998
12296
 
12999
12297
 
13000
12298
  def _deserialize(self, params):
13001
- if params.get("Tasks") is not None:
13002
- self._Tasks = []
13003
- for item in params.get("Tasks"):
13004
- obj = CloudProductLogTaskInfo()
13005
- obj._deserialize(item)
13006
- self._Tasks.append(obj)
13007
12299
  self._TotalCount = params.get("TotalCount")
12300
+ if params.get("Records") is not None:
12301
+ self._Records = []
12302
+ for item in params.get("Records"):
12303
+ obj = AlertHistoryRecord()
12304
+ obj._deserialize(item)
12305
+ self._Records.append(obj)
13008
12306
  self._RequestId = params.get("RequestId")
13009
12307
 
13010
12308
 
@@ -21897,154 +21195,6 @@ class ModifyAlarmShieldResponse(AbstractModel):
21897
21195
  self._RequestId = params.get("RequestId")
21898
21196
 
21899
21197
 
21900
- class ModifyCloudProductLogTaskRequest(AbstractModel):
21901
- """ModifyCloudProductLogTask请求参数结构体
21902
-
21903
- """
21904
-
21905
- def __init__(self):
21906
- r"""
21907
- :param _InstanceId: 实例ID
21908
- :type InstanceId: str
21909
- :param _AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
21910
- :type AssumerName: str
21911
- :param _LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
21912
- :type LogType: str
21913
- :param _CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
21914
- - CDS所有日志类型:ap-guangzhou
21915
- - CDB-AUDIT: gz
21916
- - TDSQL-C-AUDIT: gz
21917
- - MongoDB-AUDIT: gz
21918
- - MongoDB-SlowLog:ap-guangzhou
21919
- - MongoDB-ErrorLog:ap-guangzhou
21920
- - TDMYSQL-SLOW:gz
21921
- - DCDB所有日志类型:gz
21922
- - MariaDB所有日志类型:gz
21923
- - PostgreSQL所有日志类型:gz
21924
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
21925
- - APIS所有日志类型:gz
21926
- :type CloudProductRegion: str
21927
- :param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
21928
- :type Extend: str
21929
- """
21930
- self._InstanceId = None
21931
- self._AssumerName = None
21932
- self._LogType = None
21933
- self._CloudProductRegion = None
21934
- self._Extend = None
21935
-
21936
- @property
21937
- def InstanceId(self):
21938
- """实例ID
21939
- :rtype: str
21940
- """
21941
- return self._InstanceId
21942
-
21943
- @InstanceId.setter
21944
- def InstanceId(self, InstanceId):
21945
- self._InstanceId = InstanceId
21946
-
21947
- @property
21948
- def AssumerName(self):
21949
- """云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
21950
- :rtype: str
21951
- """
21952
- return self._AssumerName
21953
-
21954
- @AssumerName.setter
21955
- def AssumerName(self, AssumerName):
21956
- self._AssumerName = AssumerName
21957
-
21958
- @property
21959
- def LogType(self):
21960
- """日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
21961
- :rtype: str
21962
- """
21963
- return self._LogType
21964
-
21965
- @LogType.setter
21966
- def LogType(self, LogType):
21967
- self._LogType = LogType
21968
-
21969
- @property
21970
- def CloudProductRegion(self):
21971
- """云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
21972
- - CDS所有日志类型:ap-guangzhou
21973
- - CDB-AUDIT: gz
21974
- - TDSQL-C-AUDIT: gz
21975
- - MongoDB-AUDIT: gz
21976
- - MongoDB-SlowLog:ap-guangzhou
21977
- - MongoDB-ErrorLog:ap-guangzhou
21978
- - TDMYSQL-SLOW:gz
21979
- - DCDB所有日志类型:gz
21980
- - MariaDB所有日志类型:gz
21981
- - PostgreSQL所有日志类型:gz
21982
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
21983
- - APIS所有日志类型:gz
21984
- :rtype: str
21985
- """
21986
- return self._CloudProductRegion
21987
-
21988
- @CloudProductRegion.setter
21989
- def CloudProductRegion(self, CloudProductRegion):
21990
- self._CloudProductRegion = CloudProductRegion
21991
-
21992
- @property
21993
- def Extend(self):
21994
- """日志配置拓展信息, 一般用于存储额外的日志投递配置
21995
- :rtype: str
21996
- """
21997
- return self._Extend
21998
-
21999
- @Extend.setter
22000
- def Extend(self, Extend):
22001
- self._Extend = Extend
22002
-
22003
-
22004
- def _deserialize(self, params):
22005
- self._InstanceId = params.get("InstanceId")
22006
- self._AssumerName = params.get("AssumerName")
22007
- self._LogType = params.get("LogType")
22008
- self._CloudProductRegion = params.get("CloudProductRegion")
22009
- self._Extend = params.get("Extend")
22010
- memeber_set = set(params.keys())
22011
- for name, value in vars(self).items():
22012
- property_name = name[1:]
22013
- if property_name in memeber_set:
22014
- memeber_set.remove(property_name)
22015
- if len(memeber_set) > 0:
22016
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22017
-
22018
-
22019
-
22020
- class ModifyCloudProductLogTaskResponse(AbstractModel):
22021
- """ModifyCloudProductLogTask返回参数结构体
22022
-
22023
- """
22024
-
22025
- def __init__(self):
22026
- r"""
22027
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22028
- :type RequestId: str
22029
- """
22030
- self._RequestId = None
22031
-
22032
- @property
22033
- def RequestId(self):
22034
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22035
- :rtype: str
22036
- """
22037
- return self._RequestId
22038
-
22039
- @RequestId.setter
22040
- def RequestId(self, RequestId):
22041
- self._RequestId = RequestId
22042
-
22043
-
22044
- def _deserialize(self, params):
22045
- self._RequestId = params.get("RequestId")
22046
-
22047
-
22048
21198
  class ModifyConfigExtraRequest(AbstractModel):
22049
21199
  """ModifyConfigExtra请求参数结构体
22050
21200
 
@@ -29548,10 +28698,8 @@ class Tag(AbstractModel):
29548
28698
  def __init__(self):
29549
28699
  r"""
29550
28700
  :param _Key: 标签键
29551
- 注意:此字段可能返回 null,表示取不到有效值。
29552
28701
  :type Key: str
29553
28702
  :param _Value: 标签值
29554
- 注意:此字段可能返回 null,表示取不到有效值。
29555
28703
  :type Value: str
29556
28704
  """
29557
28705
  self._Key = None
@@ -29560,7 +28708,6 @@ class Tag(AbstractModel):
29560
28708
  @property
29561
28709
  def Key(self):
29562
28710
  """标签键
29563
- 注意:此字段可能返回 null,表示取不到有效值。
29564
28711
  :rtype: str
29565
28712
  """
29566
28713
  return self._Key
@@ -29572,7 +28719,6 @@ class Tag(AbstractModel):
29572
28719
  @property
29573
28720
  def Value(self):
29574
28721
  """标签值
29575
- 注意:此字段可能返回 null,表示取不到有效值。
29576
28722
  :rtype: str
29577
28723
  """
29578
28724
  return self._Value
@@ -29746,7 +28892,6 @@ class TopicInfo(AbstractModel):
29746
28892
  :param _Index: 主题是否开启索引(主题类型需为日志主题)
29747
28893
  :type Index: bool
29748
28894
  :param _AssumerName: 云产品标识,主题由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
29749
- 注意:此字段可能返回 null,表示取不到有效值。
29750
28895
  :type AssumerName: str
29751
28896
  :param _CreateTime: 创建时间
29752
28897
  :type CreateTime: str
@@ -29755,25 +28900,19 @@ class TopicInfo(AbstractModel):
29755
28900
  控制台目前不支持修改此参数。
29756
28901
  :type Status: bool
29757
28902
  :param _Tags: 主题绑定的标签信息
29758
- 注意:此字段可能返回 null,表示取不到有效值。
29759
28903
  :type Tags: list of Tag
29760
28904
  :param _AutoSplit: 该主题是否开启自动分裂
29761
- 注意:此字段可能返回 null,表示取不到有效值。
29762
28905
  :type AutoSplit: bool
29763
28906
  :param _MaxSplitPartitions: 若开启自动分裂的话,该主题能够允许的最大分区数
29764
- 注意:此字段可能返回 null,表示取不到有效值。
29765
28907
  :type MaxSplitPartitions: int
29766
28908
  :param _StorageType: 主题的存储类型
29767
28909
 
29768
28910
  - hot: 标准存储
29769
28911
  - cold: 低频存储
29770
- 注意:此字段可能返回 null,表示取不到有效值。
29771
28912
  :type StorageType: str
29772
28913
  :param _Period: 生命周期,单位天,可取值范围1~3600。取值为3640时代表永久保存
29773
- 注意:此字段可能返回 null,表示取不到有效值。
29774
28914
  :type Period: int
29775
28915
  :param _SubAssumerName: 云产品二级标识,日志主题由其它云产品创建时,该字段会显示云产品名称及其日志类型的二级分类,例如TKE-Audit、TKE-Event。部分云产品仅有云产品标识(AssumerName),无该字段。
29776
- 注意:此字段可能返回 null,表示取不到有效值。
29777
28916
  :type SubAssumerName: str
29778
28917
  :param _Describes: 主题描述
29779
28918
  注意:此字段可能返回 null,表示取不到有效值。
@@ -29781,28 +28920,22 @@ class TopicInfo(AbstractModel):
29781
28920
  :param _HotPeriod: 开启日志沉降,标准存储的生命周期, hotPeriod < Period。
29782
28921
  标准存储为 hotPeriod, 低频存储则为 Period-hotPeriod。(主题类型需为日志主题)
29783
28922
  HotPeriod=0为没有开启日志沉降。
29784
- 注意:此字段可能返回 null,表示取不到有效值。
29785
28923
  :type HotPeriod: int
29786
28924
  :param _BizType: 主题类型。
29787
28925
  - 0: 日志主题
29788
28926
  - 1: 指标主题
29789
- 注意:此字段可能返回 null,表示取不到有效值。
29790
28927
  :type BizType: int
29791
28928
  :param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
29792
28929
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
29793
- 注意:此字段可能返回 null,表示取不到有效值。
29794
28930
  :type IsWebTracking: bool
29795
28931
  :param _Extends: 日志主题扩展信息
29796
28932
  注意:此字段可能返回 null,表示取不到有效值。
29797
28933
  :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
29798
28934
  :param _TopicAsyncTaskID: 异步迁移任务ID
29799
- 注意:此字段可能返回 null,表示取不到有效值。
29800
28935
  :type TopicAsyncTaskID: str
29801
28936
  :param _MigrationStatus: 异步迁移状态
29802
- 注意:此字段可能返回 null,表示取不到有效值。
29803
28937
  :type MigrationStatus: int
29804
28938
  :param _EffectiveDate: 异步迁移完成后,预计生效日期
29805
- 注意:此字段可能返回 null,表示取不到有效值。
29806
28939
  :type EffectiveDate: str
29807
28940
  """
29808
28941
  self._LogsetId = None
@@ -29886,7 +29019,6 @@ HotPeriod=0为没有开启日志沉降。
29886
29019
  @property
29887
29020
  def AssumerName(self):
29888
29021
  """云产品标识,主题由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
29889
- 注意:此字段可能返回 null,表示取不到有效值。
29890
29022
  :rtype: str
29891
29023
  """
29892
29024
  return self._AssumerName
@@ -29922,7 +29054,6 @@ HotPeriod=0为没有开启日志沉降。
29922
29054
  @property
29923
29055
  def Tags(self):
29924
29056
  """主题绑定的标签信息
29925
- 注意:此字段可能返回 null,表示取不到有效值。
29926
29057
  :rtype: list of Tag
29927
29058
  """
29928
29059
  return self._Tags
@@ -29934,7 +29065,6 @@ HotPeriod=0为没有开启日志沉降。
29934
29065
  @property
29935
29066
  def AutoSplit(self):
29936
29067
  """该主题是否开启自动分裂
29937
- 注意:此字段可能返回 null,表示取不到有效值。
29938
29068
  :rtype: bool
29939
29069
  """
29940
29070
  return self._AutoSplit
@@ -29946,7 +29076,6 @@ HotPeriod=0为没有开启日志沉降。
29946
29076
  @property
29947
29077
  def MaxSplitPartitions(self):
29948
29078
  """若开启自动分裂的话,该主题能够允许的最大分区数
29949
- 注意:此字段可能返回 null,表示取不到有效值。
29950
29079
  :rtype: int
29951
29080
  """
29952
29081
  return self._MaxSplitPartitions
@@ -29961,7 +29090,6 @@ HotPeriod=0为没有开启日志沉降。
29961
29090
 
29962
29091
  - hot: 标准存储
29963
29092
  - cold: 低频存储
29964
- 注意:此字段可能返回 null,表示取不到有效值。
29965
29093
  :rtype: str
29966
29094
  """
29967
29095
  return self._StorageType
@@ -29973,7 +29101,6 @@ HotPeriod=0为没有开启日志沉降。
29973
29101
  @property
29974
29102
  def Period(self):
29975
29103
  """生命周期,单位天,可取值范围1~3600。取值为3640时代表永久保存
29976
- 注意:此字段可能返回 null,表示取不到有效值。
29977
29104
  :rtype: int
29978
29105
  """
29979
29106
  return self._Period
@@ -29985,7 +29112,6 @@ HotPeriod=0为没有开启日志沉降。
29985
29112
  @property
29986
29113
  def SubAssumerName(self):
29987
29114
  """云产品二级标识,日志主题由其它云产品创建时,该字段会显示云产品名称及其日志类型的二级分类,例如TKE-Audit、TKE-Event。部分云产品仅有云产品标识(AssumerName),无该字段。
29988
- 注意:此字段可能返回 null,表示取不到有效值。
29989
29115
  :rtype: str
29990
29116
  """
29991
29117
  return self._SubAssumerName
@@ -30011,7 +29137,6 @@ HotPeriod=0为没有开启日志沉降。
30011
29137
  """开启日志沉降,标准存储的生命周期, hotPeriod < Period。
30012
29138
  标准存储为 hotPeriod, 低频存储则为 Period-hotPeriod。(主题类型需为日志主题)
30013
29139
  HotPeriod=0为没有开启日志沉降。
30014
- 注意:此字段可能返回 null,表示取不到有效值。
30015
29140
  :rtype: int
30016
29141
  """
30017
29142
  return self._HotPeriod
@@ -30025,7 +29150,6 @@ HotPeriod=0为没有开启日志沉降。
30025
29150
  """主题类型。
30026
29151
  - 0: 日志主题
30027
29152
  - 1: 指标主题
30028
- 注意:此字段可能返回 null,表示取不到有效值。
30029
29153
  :rtype: int
30030
29154
  """
30031
29155
  return self._BizType
@@ -30038,7 +29162,6 @@ HotPeriod=0为没有开启日志沉降。
30038
29162
  def IsWebTracking(self):
30039
29163
  """免鉴权开关。 false:关闭; true:开启。
30040
29164
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
30041
- 注意:此字段可能返回 null,表示取不到有效值。
30042
29165
  :rtype: bool
30043
29166
  """
30044
29167
  return self._IsWebTracking
@@ -30062,7 +29185,6 @@ HotPeriod=0为没有开启日志沉降。
30062
29185
  @property
30063
29186
  def TopicAsyncTaskID(self):
30064
29187
  """异步迁移任务ID
30065
- 注意:此字段可能返回 null,表示取不到有效值。
30066
29188
  :rtype: str
30067
29189
  """
30068
29190
  return self._TopicAsyncTaskID
@@ -30074,7 +29196,6 @@ HotPeriod=0为没有开启日志沉降。
30074
29196
  @property
30075
29197
  def MigrationStatus(self):
30076
29198
  """异步迁移状态
30077
- 注意:此字段可能返回 null,表示取不到有效值。
30078
29199
  :rtype: int
30079
29200
  """
30080
29201
  return self._MigrationStatus
@@ -30086,7 +29207,6 @@ HotPeriod=0为没有开启日志沉降。
30086
29207
  @property
30087
29208
  def EffectiveDate(self):
30088
29209
  """异步迁移完成后,预计生效日期
30089
- 注意:此字段可能返回 null,表示取不到有效值。
30090
29210
  :rtype: str
30091
29211
  """
30092
29212
  return self._EffectiveDate
@@ -30251,7 +29371,6 @@ long及double类型字段需为空;
30251
29371
  :param _SqlFlag: 字段是否开启分析功能
30252
29372
  :type SqlFlag: bool
30253
29373
  :param _ContainZH: 是否包含中文,long及double类型字段需为false
30254
- 注意:此字段可能返回 null,表示取不到有效值。
30255
29374
  :type ContainZH: bool
30256
29375
  """
30257
29376
  self._Type = None
@@ -30298,7 +29417,6 @@ long及double类型字段需为空;
30298
29417
  @property
30299
29418
  def ContainZH(self):
30300
29419
  """是否包含中文,long及double类型字段需为false
30301
- 注意:此字段可能返回 null,表示取不到有效值。
30302
29420
  :rtype: bool
30303
29421
  """
30304
29422
  return self._ContainZH
@@ -30561,36 +29679,26 @@ class WebCallbackInfo(AbstractModel):
30561
29679
  def __init__(self):
30562
29680
  r"""
30563
29681
  :param _WebCallbackId: 告警渠道回调配置id。
30564
- 注意:此字段可能返回 null,表示取不到有效值。
30565
29682
  :type WebCallbackId: str
30566
29683
  :param _Name: 告警渠道回调配置名称。
30567
- 注意:此字段可能返回 null,表示取不到有效值。
30568
29684
  :type Name: str
30569
29685
  :param _Type: 渠道类型
30570
29686
 
30571
29687
  WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30572
- 注意:此字段可能返回 null,表示取不到有效值。
30573
29688
  :type Type: str
30574
29689
  :param _Webhook: 回调地址。
30575
- 注意:此字段可能返回 null,表示取不到有效值。
30576
29690
  :type Webhook: str
30577
29691
  :param _Method: 请求方式。
30578
- 注意:此字段可能返回 null,表示取不到有效值。
30579
29692
  :type Method: str
30580
29693
  :param _Key: 秘钥信息。
30581
- 注意:此字段可能返回 null,表示取不到有效值。
30582
29694
  :type Key: str
30583
29695
  :param _Uin: 主账号。
30584
- 注意:此字段可能返回 null,表示取不到有效值。
30585
29696
  :type Uin: int
30586
29697
  :param _SubUin: 子账号。
30587
- 注意:此字段可能返回 null,表示取不到有效值。
30588
29698
  :type SubUin: int
30589
29699
  :param _CreateTime: 创建时间。秒级时间戳
30590
- 注意:此字段可能返回 null,表示取不到有效值。
30591
29700
  :type CreateTime: int
30592
29701
  :param _UpdateTime: 更新时间。秒级时间戳
30593
- 注意:此字段可能返回 null,表示取不到有效值。
30594
29702
  :type UpdateTime: int
30595
29703
  """
30596
29704
  self._WebCallbackId = None
@@ -30607,7 +29715,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30607
29715
  @property
30608
29716
  def WebCallbackId(self):
30609
29717
  """告警渠道回调配置id。
30610
- 注意:此字段可能返回 null,表示取不到有效值。
30611
29718
  :rtype: str
30612
29719
  """
30613
29720
  return self._WebCallbackId
@@ -30619,7 +29726,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30619
29726
  @property
30620
29727
  def Name(self):
30621
29728
  """告警渠道回调配置名称。
30622
- 注意:此字段可能返回 null,表示取不到有效值。
30623
29729
  :rtype: str
30624
29730
  """
30625
29731
  return self._Name
@@ -30633,7 +29739,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30633
29739
  """渠道类型
30634
29740
 
30635
29741
  WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30636
- 注意:此字段可能返回 null,表示取不到有效值。
30637
29742
  :rtype: str
30638
29743
  """
30639
29744
  return self._Type
@@ -30645,7 +29750,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30645
29750
  @property
30646
29751
  def Webhook(self):
30647
29752
  """回调地址。
30648
- 注意:此字段可能返回 null,表示取不到有效值。
30649
29753
  :rtype: str
30650
29754
  """
30651
29755
  return self._Webhook
@@ -30657,7 +29761,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30657
29761
  @property
30658
29762
  def Method(self):
30659
29763
  """请求方式。
30660
- 注意:此字段可能返回 null,表示取不到有效值。
30661
29764
  :rtype: str
30662
29765
  """
30663
29766
  return self._Method
@@ -30669,7 +29772,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30669
29772
  @property
30670
29773
  def Key(self):
30671
29774
  """秘钥信息。
30672
- 注意:此字段可能返回 null,表示取不到有效值。
30673
29775
  :rtype: str
30674
29776
  """
30675
29777
  return self._Key
@@ -30681,7 +29783,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30681
29783
  @property
30682
29784
  def Uin(self):
30683
29785
  """主账号。
30684
- 注意:此字段可能返回 null,表示取不到有效值。
30685
29786
  :rtype: int
30686
29787
  """
30687
29788
  return self._Uin
@@ -30693,7 +29794,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30693
29794
  @property
30694
29795
  def SubUin(self):
30695
29796
  """子账号。
30696
- 注意:此字段可能返回 null,表示取不到有效值。
30697
29797
  :rtype: int
30698
29798
  """
30699
29799
  return self._SubUin
@@ -30705,7 +29805,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30705
29805
  @property
30706
29806
  def CreateTime(self):
30707
29807
  """创建时间。秒级时间戳
30708
- 注意:此字段可能返回 null,表示取不到有效值。
30709
29808
  :rtype: int
30710
29809
  """
30711
29810
  return self._CreateTime
@@ -30717,7 +29816,6 @@ WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
30717
29816
  @property
30718
29817
  def UpdateTime(self):
30719
29818
  """更新时间。秒级时间戳
30720
- 注意:此字段可能返回 null,表示取不到有效值。
30721
29819
  :rtype: int
30722
29820
  """
30723
29821
  return self._UpdateTime