tencentcloud-sdk-python 3.0.1264__py2.py3-none-any.whl → 3.0.1265__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +234 -156
- tencentcloud/cdc/v20201214/models.py +16 -16
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +753 -5
- tencentcloud/ess/v20201111/models.py +10 -8
- tencentcloud/essbasic/v20210526/models.py +10 -12
- tencentcloud/ig/__init__.py +0 -0
- tencentcloud/ig/v20210518/__init__.py +0 -0
- tencentcloud/ig/v20210518/errorcodes.py +24 -0
- tencentcloud/ig/v20210518/ig_client.py +49 -0
- tencentcloud/ig/v20210518/models.py +142 -0
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/models.py +16 -16
- tencentcloud/mrs/v20200910/models.py +30 -0
- tencentcloud/soe/v20180724/models.py +2 -2
- tencentcloud/tat/v20201028/models.py +2 -20
- {tencentcloud_sdk_python-3.0.1264.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1264.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/RECORD +22 -17
- {tencentcloud_sdk_python-3.0.1264.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1264.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1264.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/top_level.txt +0 -0
@@ -2661,6 +2661,121 @@ class CloseKafkaConsumerResponse(AbstractModel):
|
|
2661
2661
|
self._RequestId = params.get("RequestId")
|
2662
2662
|
|
2663
2663
|
|
2664
|
+
class CloudProductLogTaskInfo(AbstractModel):
|
2665
|
+
"""云产品日志投递任务信息
|
2666
|
+
|
2667
|
+
"""
|
2668
|
+
|
2669
|
+
def __init__(self):
|
2670
|
+
r"""
|
2671
|
+
:param _ClsRegion: 日志服务地域
|
2672
|
+
:type ClsRegion: str
|
2673
|
+
:param _InstanceId: 实例ID
|
2674
|
+
:type InstanceId: str
|
2675
|
+
:param _LogsetId: 日志集ID
|
2676
|
+
:type LogsetId: str
|
2677
|
+
:param _TopicId: 日志主题ID
|
2678
|
+
:type TopicId: str
|
2679
|
+
:param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
2680
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2681
|
+
:type Extend: str
|
2682
|
+
: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
|
2683
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2684
|
+
:type LogType: str
|
2685
|
+
"""
|
2686
|
+
self._ClsRegion = None
|
2687
|
+
self._InstanceId = None
|
2688
|
+
self._LogsetId = None
|
2689
|
+
self._TopicId = None
|
2690
|
+
self._Extend = None
|
2691
|
+
self._LogType = None
|
2692
|
+
|
2693
|
+
@property
|
2694
|
+
def ClsRegion(self):
|
2695
|
+
"""日志服务地域
|
2696
|
+
:rtype: str
|
2697
|
+
"""
|
2698
|
+
return self._ClsRegion
|
2699
|
+
|
2700
|
+
@ClsRegion.setter
|
2701
|
+
def ClsRegion(self, ClsRegion):
|
2702
|
+
self._ClsRegion = ClsRegion
|
2703
|
+
|
2704
|
+
@property
|
2705
|
+
def InstanceId(self):
|
2706
|
+
"""实例ID
|
2707
|
+
:rtype: str
|
2708
|
+
"""
|
2709
|
+
return self._InstanceId
|
2710
|
+
|
2711
|
+
@InstanceId.setter
|
2712
|
+
def InstanceId(self, InstanceId):
|
2713
|
+
self._InstanceId = InstanceId
|
2714
|
+
|
2715
|
+
@property
|
2716
|
+
def LogsetId(self):
|
2717
|
+
"""日志集ID
|
2718
|
+
:rtype: str
|
2719
|
+
"""
|
2720
|
+
return self._LogsetId
|
2721
|
+
|
2722
|
+
@LogsetId.setter
|
2723
|
+
def LogsetId(self, LogsetId):
|
2724
|
+
self._LogsetId = LogsetId
|
2725
|
+
|
2726
|
+
@property
|
2727
|
+
def TopicId(self):
|
2728
|
+
"""日志主题ID
|
2729
|
+
:rtype: str
|
2730
|
+
"""
|
2731
|
+
return self._TopicId
|
2732
|
+
|
2733
|
+
@TopicId.setter
|
2734
|
+
def TopicId(self, TopicId):
|
2735
|
+
self._TopicId = TopicId
|
2736
|
+
|
2737
|
+
@property
|
2738
|
+
def Extend(self):
|
2739
|
+
"""日志配置拓展信息, 一般用于存储额外的日志投递配置
|
2740
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2741
|
+
:rtype: str
|
2742
|
+
"""
|
2743
|
+
return self._Extend
|
2744
|
+
|
2745
|
+
@Extend.setter
|
2746
|
+
def Extend(self, Extend):
|
2747
|
+
self._Extend = Extend
|
2748
|
+
|
2749
|
+
@property
|
2750
|
+
def LogType(self):
|
2751
|
+
"""日志类型,支持枚举: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
|
2752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2753
|
+
:rtype: str
|
2754
|
+
"""
|
2755
|
+
return self._LogType
|
2756
|
+
|
2757
|
+
@LogType.setter
|
2758
|
+
def LogType(self, LogType):
|
2759
|
+
self._LogType = LogType
|
2760
|
+
|
2761
|
+
|
2762
|
+
def _deserialize(self, params):
|
2763
|
+
self._ClsRegion = params.get("ClsRegion")
|
2764
|
+
self._InstanceId = params.get("InstanceId")
|
2765
|
+
self._LogsetId = params.get("LogsetId")
|
2766
|
+
self._TopicId = params.get("TopicId")
|
2767
|
+
self._Extend = params.get("Extend")
|
2768
|
+
self._LogType = params.get("LogType")
|
2769
|
+
memeber_set = set(params.keys())
|
2770
|
+
for name, value in vars(self).items():
|
2771
|
+
property_name = name[1:]
|
2772
|
+
if property_name in memeber_set:
|
2773
|
+
memeber_set.remove(property_name)
|
2774
|
+
if len(memeber_set) > 0:
|
2775
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2776
|
+
|
2777
|
+
|
2778
|
+
|
2664
2779
|
class CollectConfig(AbstractModel):
|
2665
2780
|
"""采集配置信息
|
2666
2781
|
|
@@ -5657,11 +5772,291 @@ class CreateAlarmShieldResponse(AbstractModel):
|
|
5657
5772
|
"""屏蔽规则ID。
|
5658
5773
|
:rtype: str
|
5659
5774
|
"""
|
5660
|
-
return self._TaskId
|
5775
|
+
return self._TaskId
|
5776
|
+
|
5777
|
+
@TaskId.setter
|
5778
|
+
def TaskId(self, TaskId):
|
5779
|
+
self._TaskId = TaskId
|
5780
|
+
|
5781
|
+
@property
|
5782
|
+
def RequestId(self):
|
5783
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5784
|
+
:rtype: str
|
5785
|
+
"""
|
5786
|
+
return self._RequestId
|
5787
|
+
|
5788
|
+
@RequestId.setter
|
5789
|
+
def RequestId(self, RequestId):
|
5790
|
+
self._RequestId = RequestId
|
5791
|
+
|
5792
|
+
|
5793
|
+
def _deserialize(self, params):
|
5794
|
+
self._TaskId = params.get("TaskId")
|
5795
|
+
self._RequestId = params.get("RequestId")
|
5796
|
+
|
5797
|
+
|
5798
|
+
class CreateCloudProductLogTaskRequest(AbstractModel):
|
5799
|
+
"""CreateCloudProductLogTask请求参数结构体
|
5800
|
+
|
5801
|
+
"""
|
5802
|
+
|
5803
|
+
def __init__(self):
|
5804
|
+
r"""
|
5805
|
+
:param _InstanceId: 实例ID
|
5806
|
+
:type InstanceId: str
|
5807
|
+
:param _AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
5808
|
+
:type AssumerName: str
|
5809
|
+
: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
|
5810
|
+
:type LogType: str
|
5811
|
+
:param _CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
5812
|
+
- CDS所有日志类型:ap-guangzhou
|
5813
|
+
- CDB-AUDIT: gz
|
5814
|
+
- TDSQL-C-AUDIT: gz
|
5815
|
+
- MongoDB-AUDIT: gz
|
5816
|
+
- MongoDB-SlowLog:ap-guangzhou
|
5817
|
+
- MongoDB-ErrorLog:ap-guangzhou
|
5818
|
+
- TDMYSQL-SLOW:gz
|
5819
|
+
- DCDB所有日志类型:gz
|
5820
|
+
- MariaDB所有日志类型:gz
|
5821
|
+
- PostgreSQL所有日志类型:gz
|
5822
|
+
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
5823
|
+
- APIS所有日志类型:gz
|
5824
|
+
:type CloudProductRegion: str
|
5825
|
+
:param _ClsRegion: CLS目标地域
|
5826
|
+
:type ClsRegion: str
|
5827
|
+
:param _LogsetName: 日志集名称,未填LogsetId时必填。若日志集不存在, 将自动创建
|
5828
|
+
:type LogsetName: str
|
5829
|
+
:param _LogsetId: 日志集ID,若指定则代表选择已有日志集。选择已有日志集时,LogsetName可以不填
|
5830
|
+
:type LogsetId: str
|
5831
|
+
:param _TopicName: 日志主题名称,在未填TopicId时必填。 若日志主题不存在,将自动创建
|
5832
|
+
:type TopicName: str
|
5833
|
+
:param _TopicId: 日志主题ID,若指定则代表选择已有日志主题,选择已有日志主题时,TopicName可以不填
|
5834
|
+
:type TopicId: str
|
5835
|
+
:param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
5836
|
+
:type Extend: str
|
5837
|
+
"""
|
5838
|
+
self._InstanceId = None
|
5839
|
+
self._AssumerName = None
|
5840
|
+
self._LogType = None
|
5841
|
+
self._CloudProductRegion = None
|
5842
|
+
self._ClsRegion = None
|
5843
|
+
self._LogsetName = None
|
5844
|
+
self._LogsetId = None
|
5845
|
+
self._TopicName = None
|
5846
|
+
self._TopicId = None
|
5847
|
+
self._Extend = None
|
5848
|
+
|
5849
|
+
@property
|
5850
|
+
def InstanceId(self):
|
5851
|
+
"""实例ID
|
5852
|
+
:rtype: str
|
5853
|
+
"""
|
5854
|
+
return self._InstanceId
|
5855
|
+
|
5856
|
+
@InstanceId.setter
|
5857
|
+
def InstanceId(self, InstanceId):
|
5858
|
+
self._InstanceId = InstanceId
|
5859
|
+
|
5860
|
+
@property
|
5861
|
+
def AssumerName(self):
|
5862
|
+
"""云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
5863
|
+
:rtype: str
|
5864
|
+
"""
|
5865
|
+
return self._AssumerName
|
5866
|
+
|
5867
|
+
@AssumerName.setter
|
5868
|
+
def AssumerName(self, AssumerName):
|
5869
|
+
self._AssumerName = AssumerName
|
5870
|
+
|
5871
|
+
@property
|
5872
|
+
def LogType(self):
|
5873
|
+
"""日志类型,支持枚举: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
|
5874
|
+
:rtype: str
|
5875
|
+
"""
|
5876
|
+
return self._LogType
|
5877
|
+
|
5878
|
+
@LogType.setter
|
5879
|
+
def LogType(self, LogType):
|
5880
|
+
self._LogType = LogType
|
5881
|
+
|
5882
|
+
@property
|
5883
|
+
def CloudProductRegion(self):
|
5884
|
+
"""云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
5885
|
+
- CDS所有日志类型:ap-guangzhou
|
5886
|
+
- CDB-AUDIT: gz
|
5887
|
+
- TDSQL-C-AUDIT: gz
|
5888
|
+
- MongoDB-AUDIT: gz
|
5889
|
+
- MongoDB-SlowLog:ap-guangzhou
|
5890
|
+
- MongoDB-ErrorLog:ap-guangzhou
|
5891
|
+
- TDMYSQL-SLOW:gz
|
5892
|
+
- DCDB所有日志类型:gz
|
5893
|
+
- MariaDB所有日志类型:gz
|
5894
|
+
- PostgreSQL所有日志类型:gz
|
5895
|
+
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
5896
|
+
- APIS所有日志类型:gz
|
5897
|
+
:rtype: str
|
5898
|
+
"""
|
5899
|
+
return self._CloudProductRegion
|
5900
|
+
|
5901
|
+
@CloudProductRegion.setter
|
5902
|
+
def CloudProductRegion(self, CloudProductRegion):
|
5903
|
+
self._CloudProductRegion = CloudProductRegion
|
5904
|
+
|
5905
|
+
@property
|
5906
|
+
def ClsRegion(self):
|
5907
|
+
"""CLS目标地域
|
5908
|
+
:rtype: str
|
5909
|
+
"""
|
5910
|
+
return self._ClsRegion
|
5911
|
+
|
5912
|
+
@ClsRegion.setter
|
5913
|
+
def ClsRegion(self, ClsRegion):
|
5914
|
+
self._ClsRegion = ClsRegion
|
5915
|
+
|
5916
|
+
@property
|
5917
|
+
def LogsetName(self):
|
5918
|
+
"""日志集名称,未填LogsetId时必填。若日志集不存在, 将自动创建
|
5919
|
+
:rtype: str
|
5920
|
+
"""
|
5921
|
+
return self._LogsetName
|
5922
|
+
|
5923
|
+
@LogsetName.setter
|
5924
|
+
def LogsetName(self, LogsetName):
|
5925
|
+
self._LogsetName = LogsetName
|
5926
|
+
|
5927
|
+
@property
|
5928
|
+
def LogsetId(self):
|
5929
|
+
"""日志集ID,若指定则代表选择已有日志集。选择已有日志集时,LogsetName可以不填
|
5930
|
+
:rtype: str
|
5931
|
+
"""
|
5932
|
+
return self._LogsetId
|
5933
|
+
|
5934
|
+
@LogsetId.setter
|
5935
|
+
def LogsetId(self, LogsetId):
|
5936
|
+
self._LogsetId = LogsetId
|
5937
|
+
|
5938
|
+
@property
|
5939
|
+
def TopicName(self):
|
5940
|
+
"""日志主题名称,在未填TopicId时必填。 若日志主题不存在,将自动创建
|
5941
|
+
:rtype: str
|
5942
|
+
"""
|
5943
|
+
return self._TopicName
|
5944
|
+
|
5945
|
+
@TopicName.setter
|
5946
|
+
def TopicName(self, TopicName):
|
5947
|
+
self._TopicName = TopicName
|
5948
|
+
|
5949
|
+
@property
|
5950
|
+
def TopicId(self):
|
5951
|
+
"""日志主题ID,若指定则代表选择已有日志主题,选择已有日志主题时,TopicName可以不填
|
5952
|
+
:rtype: str
|
5953
|
+
"""
|
5954
|
+
return self._TopicId
|
5955
|
+
|
5956
|
+
@TopicId.setter
|
5957
|
+
def TopicId(self, TopicId):
|
5958
|
+
self._TopicId = TopicId
|
5959
|
+
|
5960
|
+
@property
|
5961
|
+
def Extend(self):
|
5962
|
+
"""日志配置拓展信息, 一般用于存储额外的日志投递配置
|
5963
|
+
:rtype: str
|
5964
|
+
"""
|
5965
|
+
return self._Extend
|
5966
|
+
|
5967
|
+
@Extend.setter
|
5968
|
+
def Extend(self, Extend):
|
5969
|
+
self._Extend = Extend
|
5970
|
+
|
5971
|
+
|
5972
|
+
def _deserialize(self, params):
|
5973
|
+
self._InstanceId = params.get("InstanceId")
|
5974
|
+
self._AssumerName = params.get("AssumerName")
|
5975
|
+
self._LogType = params.get("LogType")
|
5976
|
+
self._CloudProductRegion = params.get("CloudProductRegion")
|
5977
|
+
self._ClsRegion = params.get("ClsRegion")
|
5978
|
+
self._LogsetName = params.get("LogsetName")
|
5979
|
+
self._LogsetId = params.get("LogsetId")
|
5980
|
+
self._TopicName = params.get("TopicName")
|
5981
|
+
self._TopicId = params.get("TopicId")
|
5982
|
+
self._Extend = params.get("Extend")
|
5983
|
+
memeber_set = set(params.keys())
|
5984
|
+
for name, value in vars(self).items():
|
5985
|
+
property_name = name[1:]
|
5986
|
+
if property_name in memeber_set:
|
5987
|
+
memeber_set.remove(property_name)
|
5988
|
+
if len(memeber_set) > 0:
|
5989
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5990
|
+
|
5991
|
+
|
5992
|
+
|
5993
|
+
class CreateCloudProductLogTaskResponse(AbstractModel):
|
5994
|
+
"""CreateCloudProductLogTask返回参数结构体
|
5995
|
+
|
5996
|
+
"""
|
5997
|
+
|
5998
|
+
def __init__(self):
|
5999
|
+
r"""
|
6000
|
+
:param _TopicId: 日志主题ID
|
6001
|
+
:type TopicId: str
|
6002
|
+
:param _TopicName: 日志主题名称
|
6003
|
+
:type TopicName: str
|
6004
|
+
:param _LogsetId: 日志集ID
|
6005
|
+
:type LogsetId: str
|
6006
|
+
:param _LogsetName: 日志集名称
|
6007
|
+
:type LogsetName: str
|
6008
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6009
|
+
:type RequestId: str
|
6010
|
+
"""
|
6011
|
+
self._TopicId = None
|
6012
|
+
self._TopicName = None
|
6013
|
+
self._LogsetId = None
|
6014
|
+
self._LogsetName = None
|
6015
|
+
self._RequestId = None
|
6016
|
+
|
6017
|
+
@property
|
6018
|
+
def TopicId(self):
|
6019
|
+
"""日志主题ID
|
6020
|
+
:rtype: str
|
6021
|
+
"""
|
6022
|
+
return self._TopicId
|
6023
|
+
|
6024
|
+
@TopicId.setter
|
6025
|
+
def TopicId(self, TopicId):
|
6026
|
+
self._TopicId = TopicId
|
6027
|
+
|
6028
|
+
@property
|
6029
|
+
def TopicName(self):
|
6030
|
+
"""日志主题名称
|
6031
|
+
:rtype: str
|
6032
|
+
"""
|
6033
|
+
return self._TopicName
|
6034
|
+
|
6035
|
+
@TopicName.setter
|
6036
|
+
def TopicName(self, TopicName):
|
6037
|
+
self._TopicName = TopicName
|
6038
|
+
|
6039
|
+
@property
|
6040
|
+
def LogsetId(self):
|
6041
|
+
"""日志集ID
|
6042
|
+
:rtype: str
|
6043
|
+
"""
|
6044
|
+
return self._LogsetId
|
6045
|
+
|
6046
|
+
@LogsetId.setter
|
6047
|
+
def LogsetId(self, LogsetId):
|
6048
|
+
self._LogsetId = LogsetId
|
6049
|
+
|
6050
|
+
@property
|
6051
|
+
def LogsetName(self):
|
6052
|
+
"""日志集名称
|
6053
|
+
:rtype: str
|
6054
|
+
"""
|
6055
|
+
return self._LogsetName
|
5661
6056
|
|
5662
|
-
@
|
5663
|
-
def
|
5664
|
-
self.
|
6057
|
+
@LogsetName.setter
|
6058
|
+
def LogsetName(self, LogsetName):
|
6059
|
+
self._LogsetName = LogsetName
|
5665
6060
|
|
5666
6061
|
@property
|
5667
6062
|
def RequestId(self):
|
@@ -5676,7 +6071,10 @@ class CreateAlarmShieldResponse(AbstractModel):
|
|
5676
6071
|
|
5677
6072
|
|
5678
6073
|
def _deserialize(self, params):
|
5679
|
-
self.
|
6074
|
+
self._TopicId = params.get("TopicId")
|
6075
|
+
self._TopicName = params.get("TopicName")
|
6076
|
+
self._LogsetId = params.get("LogsetId")
|
6077
|
+
self._LogsetName = params.get("LogsetName")
|
5680
6078
|
self._RequestId = params.get("RequestId")
|
5681
6079
|
|
5682
6080
|
|
@@ -10279,6 +10677,139 @@ class DeleteAlarmShieldResponse(AbstractModel):
|
|
10279
10677
|
self._RequestId = params.get("RequestId")
|
10280
10678
|
|
10281
10679
|
|
10680
|
+
class DeleteCloudProductLogTaskRequest(AbstractModel):
|
10681
|
+
"""DeleteCloudProductLogTask请求参数结构体
|
10682
|
+
|
10683
|
+
"""
|
10684
|
+
|
10685
|
+
def __init__(self):
|
10686
|
+
r"""
|
10687
|
+
:param _InstanceId: 实例ID
|
10688
|
+
:type InstanceId: str
|
10689
|
+
:param _AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
10690
|
+
:type AssumerName: str
|
10691
|
+
: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
|
10692
|
+
:type LogType: str
|
10693
|
+
:param _CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
10694
|
+
- CDS所有日志类型:ap-guangzhou
|
10695
|
+
- CDB-AUDIT: gz
|
10696
|
+
- TDSQL-C-AUDIT: gz
|
10697
|
+
- MongoDB-AUDIT: gz
|
10698
|
+
- MongoDB-SlowLog:ap-guangzhou
|
10699
|
+
- MongoDB-ErrorLog:ap-guangzhou
|
10700
|
+
- TDMYSQL-SLOW:gz
|
10701
|
+
- DCDB所有日志类型:gz
|
10702
|
+
- MariaDB所有日志类型:gz
|
10703
|
+
- PostgreSQL所有日志类型:gz
|
10704
|
+
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
10705
|
+
- APIS所有日志类型:gz
|
10706
|
+
:type CloudProductRegion: str
|
10707
|
+
"""
|
10708
|
+
self._InstanceId = None
|
10709
|
+
self._AssumerName = None
|
10710
|
+
self._LogType = None
|
10711
|
+
self._CloudProductRegion = None
|
10712
|
+
|
10713
|
+
@property
|
10714
|
+
def InstanceId(self):
|
10715
|
+
"""实例ID
|
10716
|
+
:rtype: str
|
10717
|
+
"""
|
10718
|
+
return self._InstanceId
|
10719
|
+
|
10720
|
+
@InstanceId.setter
|
10721
|
+
def InstanceId(self, InstanceId):
|
10722
|
+
self._InstanceId = InstanceId
|
10723
|
+
|
10724
|
+
@property
|
10725
|
+
def AssumerName(self):
|
10726
|
+
"""云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
10727
|
+
:rtype: str
|
10728
|
+
"""
|
10729
|
+
return self._AssumerName
|
10730
|
+
|
10731
|
+
@AssumerName.setter
|
10732
|
+
def AssumerName(self, AssumerName):
|
10733
|
+
self._AssumerName = AssumerName
|
10734
|
+
|
10735
|
+
@property
|
10736
|
+
def LogType(self):
|
10737
|
+
"""日志类型,支持枚举: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
|
10738
|
+
:rtype: str
|
10739
|
+
"""
|
10740
|
+
return self._LogType
|
10741
|
+
|
10742
|
+
@LogType.setter
|
10743
|
+
def LogType(self, LogType):
|
10744
|
+
self._LogType = LogType
|
10745
|
+
|
10746
|
+
@property
|
10747
|
+
def CloudProductRegion(self):
|
10748
|
+
"""云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
10749
|
+
- CDS所有日志类型:ap-guangzhou
|
10750
|
+
- CDB-AUDIT: gz
|
10751
|
+
- TDSQL-C-AUDIT: gz
|
10752
|
+
- MongoDB-AUDIT: gz
|
10753
|
+
- MongoDB-SlowLog:ap-guangzhou
|
10754
|
+
- MongoDB-ErrorLog:ap-guangzhou
|
10755
|
+
- TDMYSQL-SLOW:gz
|
10756
|
+
- DCDB所有日志类型:gz
|
10757
|
+
- MariaDB所有日志类型:gz
|
10758
|
+
- PostgreSQL所有日志类型:gz
|
10759
|
+
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
10760
|
+
- APIS所有日志类型:gz
|
10761
|
+
:rtype: str
|
10762
|
+
"""
|
10763
|
+
return self._CloudProductRegion
|
10764
|
+
|
10765
|
+
@CloudProductRegion.setter
|
10766
|
+
def CloudProductRegion(self, CloudProductRegion):
|
10767
|
+
self._CloudProductRegion = CloudProductRegion
|
10768
|
+
|
10769
|
+
|
10770
|
+
def _deserialize(self, params):
|
10771
|
+
self._InstanceId = params.get("InstanceId")
|
10772
|
+
self._AssumerName = params.get("AssumerName")
|
10773
|
+
self._LogType = params.get("LogType")
|
10774
|
+
self._CloudProductRegion = params.get("CloudProductRegion")
|
10775
|
+
memeber_set = set(params.keys())
|
10776
|
+
for name, value in vars(self).items():
|
10777
|
+
property_name = name[1:]
|
10778
|
+
if property_name in memeber_set:
|
10779
|
+
memeber_set.remove(property_name)
|
10780
|
+
if len(memeber_set) > 0:
|
10781
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10782
|
+
|
10783
|
+
|
10784
|
+
|
10785
|
+
class DeleteCloudProductLogTaskResponse(AbstractModel):
|
10786
|
+
"""DeleteCloudProductLogTask返回参数结构体
|
10787
|
+
|
10788
|
+
"""
|
10789
|
+
|
10790
|
+
def __init__(self):
|
10791
|
+
r"""
|
10792
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10793
|
+
:type RequestId: str
|
10794
|
+
"""
|
10795
|
+
self._RequestId = None
|
10796
|
+
|
10797
|
+
@property
|
10798
|
+
def RequestId(self):
|
10799
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10800
|
+
:rtype: str
|
10801
|
+
"""
|
10802
|
+
return self._RequestId
|
10803
|
+
|
10804
|
+
@RequestId.setter
|
10805
|
+
def RequestId(self, RequestId):
|
10806
|
+
self._RequestId = RequestId
|
10807
|
+
|
10808
|
+
|
10809
|
+
def _deserialize(self, params):
|
10810
|
+
self._RequestId = params.get("RequestId")
|
10811
|
+
|
10812
|
+
|
10282
10813
|
class DeleteConfigExtraRequest(AbstractModel):
|
10283
10814
|
"""DeleteConfigExtra请求参数结构体
|
10284
10815
|
|
@@ -12206,6 +12737,75 @@ class DescribeAlertRecordHistoryResponse(AbstractModel):
|
|
12206
12737
|
self._RequestId = params.get("RequestId")
|
12207
12738
|
|
12208
12739
|
|
12740
|
+
class DescribeCloudProductLogTasksRequest(AbstractModel):
|
12741
|
+
"""DescribeCloudProductLogTasks请求参数结构体
|
12742
|
+
|
12743
|
+
"""
|
12744
|
+
|
12745
|
+
|
12746
|
+
class DescribeCloudProductLogTasksResponse(AbstractModel):
|
12747
|
+
"""DescribeCloudProductLogTasks返回参数结构体
|
12748
|
+
|
12749
|
+
"""
|
12750
|
+
|
12751
|
+
def __init__(self):
|
12752
|
+
r"""
|
12753
|
+
:param _Tasks: 日志配置详情列表
|
12754
|
+
:type Tasks: list of CloudProductLogTaskInfo
|
12755
|
+
:param _TotalCount: 日志配置总数
|
12756
|
+
:type TotalCount: int
|
12757
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12758
|
+
:type RequestId: str
|
12759
|
+
"""
|
12760
|
+
self._Tasks = None
|
12761
|
+
self._TotalCount = None
|
12762
|
+
self._RequestId = None
|
12763
|
+
|
12764
|
+
@property
|
12765
|
+
def Tasks(self):
|
12766
|
+
"""日志配置详情列表
|
12767
|
+
:rtype: list of CloudProductLogTaskInfo
|
12768
|
+
"""
|
12769
|
+
return self._Tasks
|
12770
|
+
|
12771
|
+
@Tasks.setter
|
12772
|
+
def Tasks(self, Tasks):
|
12773
|
+
self._Tasks = Tasks
|
12774
|
+
|
12775
|
+
@property
|
12776
|
+
def TotalCount(self):
|
12777
|
+
"""日志配置总数
|
12778
|
+
:rtype: int
|
12779
|
+
"""
|
12780
|
+
return self._TotalCount
|
12781
|
+
|
12782
|
+
@TotalCount.setter
|
12783
|
+
def TotalCount(self, TotalCount):
|
12784
|
+
self._TotalCount = TotalCount
|
12785
|
+
|
12786
|
+
@property
|
12787
|
+
def RequestId(self):
|
12788
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12789
|
+
:rtype: str
|
12790
|
+
"""
|
12791
|
+
return self._RequestId
|
12792
|
+
|
12793
|
+
@RequestId.setter
|
12794
|
+
def RequestId(self, RequestId):
|
12795
|
+
self._RequestId = RequestId
|
12796
|
+
|
12797
|
+
|
12798
|
+
def _deserialize(self, params):
|
12799
|
+
if params.get("Tasks") is not None:
|
12800
|
+
self._Tasks = []
|
12801
|
+
for item in params.get("Tasks"):
|
12802
|
+
obj = CloudProductLogTaskInfo()
|
12803
|
+
obj._deserialize(item)
|
12804
|
+
self._Tasks.append(obj)
|
12805
|
+
self._TotalCount = params.get("TotalCount")
|
12806
|
+
self._RequestId = params.get("RequestId")
|
12807
|
+
|
12808
|
+
|
12209
12809
|
class DescribeConfigExtrasRequest(AbstractModel):
|
12210
12810
|
"""DescribeConfigExtras请求参数结构体
|
12211
12811
|
|
@@ -20912,6 +21512,154 @@ class ModifyAlarmShieldResponse(AbstractModel):
|
|
20912
21512
|
self._RequestId = params.get("RequestId")
|
20913
21513
|
|
20914
21514
|
|
21515
|
+
class ModifyCloudProductLogTaskRequest(AbstractModel):
|
21516
|
+
"""ModifyCloudProductLogTask请求参数结构体
|
21517
|
+
|
21518
|
+
"""
|
21519
|
+
|
21520
|
+
def __init__(self):
|
21521
|
+
r"""
|
21522
|
+
:param _InstanceId: 实例ID
|
21523
|
+
:type InstanceId: str
|
21524
|
+
:param _AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
21525
|
+
:type AssumerName: str
|
21526
|
+
: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
|
21527
|
+
:type LogType: str
|
21528
|
+
:param _CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
21529
|
+
- CDS所有日志类型:ap-guangzhou
|
21530
|
+
- CDB-AUDIT: gz
|
21531
|
+
- TDSQL-C-AUDIT: gz
|
21532
|
+
- MongoDB-AUDIT: gz
|
21533
|
+
- MongoDB-SlowLog:ap-guangzhou
|
21534
|
+
- MongoDB-ErrorLog:ap-guangzhou
|
21535
|
+
- TDMYSQL-SLOW:gz
|
21536
|
+
- DCDB所有日志类型:gz
|
21537
|
+
- MariaDB所有日志类型:gz
|
21538
|
+
- PostgreSQL所有日志类型:gz
|
21539
|
+
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
21540
|
+
- APIS所有日志类型:gz
|
21541
|
+
:type CloudProductRegion: str
|
21542
|
+
:param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
21543
|
+
:type Extend: str
|
21544
|
+
"""
|
21545
|
+
self._InstanceId = None
|
21546
|
+
self._AssumerName = None
|
21547
|
+
self._LogType = None
|
21548
|
+
self._CloudProductRegion = None
|
21549
|
+
self._Extend = None
|
21550
|
+
|
21551
|
+
@property
|
21552
|
+
def InstanceId(self):
|
21553
|
+
"""实例ID
|
21554
|
+
:rtype: str
|
21555
|
+
"""
|
21556
|
+
return self._InstanceId
|
21557
|
+
|
21558
|
+
@InstanceId.setter
|
21559
|
+
def InstanceId(self, InstanceId):
|
21560
|
+
self._InstanceId = InstanceId
|
21561
|
+
|
21562
|
+
@property
|
21563
|
+
def AssumerName(self):
|
21564
|
+
"""云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
21565
|
+
:rtype: str
|
21566
|
+
"""
|
21567
|
+
return self._AssumerName
|
21568
|
+
|
21569
|
+
@AssumerName.setter
|
21570
|
+
def AssumerName(self, AssumerName):
|
21571
|
+
self._AssumerName = AssumerName
|
21572
|
+
|
21573
|
+
@property
|
21574
|
+
def LogType(self):
|
21575
|
+
"""日志类型,支持枚举: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
|
21576
|
+
:rtype: str
|
21577
|
+
"""
|
21578
|
+
return self._LogType
|
21579
|
+
|
21580
|
+
@LogType.setter
|
21581
|
+
def LogType(self, LogType):
|
21582
|
+
self._LogType = LogType
|
21583
|
+
|
21584
|
+
@property
|
21585
|
+
def CloudProductRegion(self):
|
21586
|
+
"""云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
21587
|
+
- CDS所有日志类型:ap-guangzhou
|
21588
|
+
- CDB-AUDIT: gz
|
21589
|
+
- TDSQL-C-AUDIT: gz
|
21590
|
+
- MongoDB-AUDIT: gz
|
21591
|
+
- MongoDB-SlowLog:ap-guangzhou
|
21592
|
+
- MongoDB-ErrorLog:ap-guangzhou
|
21593
|
+
- TDMYSQL-SLOW:gz
|
21594
|
+
- DCDB所有日志类型:gz
|
21595
|
+
- MariaDB所有日志类型:gz
|
21596
|
+
- PostgreSQL所有日志类型:gz
|
21597
|
+
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
21598
|
+
- APIS所有日志类型:gz
|
21599
|
+
:rtype: str
|
21600
|
+
"""
|
21601
|
+
return self._CloudProductRegion
|
21602
|
+
|
21603
|
+
@CloudProductRegion.setter
|
21604
|
+
def CloudProductRegion(self, CloudProductRegion):
|
21605
|
+
self._CloudProductRegion = CloudProductRegion
|
21606
|
+
|
21607
|
+
@property
|
21608
|
+
def Extend(self):
|
21609
|
+
"""日志配置拓展信息, 一般用于存储额外的日志投递配置
|
21610
|
+
:rtype: str
|
21611
|
+
"""
|
21612
|
+
return self._Extend
|
21613
|
+
|
21614
|
+
@Extend.setter
|
21615
|
+
def Extend(self, Extend):
|
21616
|
+
self._Extend = Extend
|
21617
|
+
|
21618
|
+
|
21619
|
+
def _deserialize(self, params):
|
21620
|
+
self._InstanceId = params.get("InstanceId")
|
21621
|
+
self._AssumerName = params.get("AssumerName")
|
21622
|
+
self._LogType = params.get("LogType")
|
21623
|
+
self._CloudProductRegion = params.get("CloudProductRegion")
|
21624
|
+
self._Extend = params.get("Extend")
|
21625
|
+
memeber_set = set(params.keys())
|
21626
|
+
for name, value in vars(self).items():
|
21627
|
+
property_name = name[1:]
|
21628
|
+
if property_name in memeber_set:
|
21629
|
+
memeber_set.remove(property_name)
|
21630
|
+
if len(memeber_set) > 0:
|
21631
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21632
|
+
|
21633
|
+
|
21634
|
+
|
21635
|
+
class ModifyCloudProductLogTaskResponse(AbstractModel):
|
21636
|
+
"""ModifyCloudProductLogTask返回参数结构体
|
21637
|
+
|
21638
|
+
"""
|
21639
|
+
|
21640
|
+
def __init__(self):
|
21641
|
+
r"""
|
21642
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21643
|
+
:type RequestId: str
|
21644
|
+
"""
|
21645
|
+
self._RequestId = None
|
21646
|
+
|
21647
|
+
@property
|
21648
|
+
def RequestId(self):
|
21649
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21650
|
+
:rtype: str
|
21651
|
+
"""
|
21652
|
+
return self._RequestId
|
21653
|
+
|
21654
|
+
@RequestId.setter
|
21655
|
+
def RequestId(self, RequestId):
|
21656
|
+
self._RequestId = RequestId
|
21657
|
+
|
21658
|
+
|
21659
|
+
def _deserialize(self, params):
|
21660
|
+
self._RequestId = params.get("RequestId")
|
21661
|
+
|
21662
|
+
|
20915
21663
|
class ModifyConfigExtraRequest(AbstractModel):
|
20916
21664
|
"""ModifyConfigExtra请求参数结构体
|
20917
21665
|
|