tencentcloud-sdk-python 3.0.1263__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/ccc/v20200210/models.py +148 -236
- tencentcloud/cdb/v20170320/cdb_client.py +40 -17
- tencentcloud/cdb/v20170320/models.py +215 -68
- tencentcloud/cdc/v20201214/models.py +20 -20
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +862 -12
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +352 -1771
- tencentcloud/dasb/v20191018/models.py +0 -8
- tencentcloud/emr/v20190103/models.py +58 -2
- tencentcloud/ess/v20201111/models.py +10 -8
- tencentcloud/essbasic/v20210526/models.py +10 -12
- tencentcloud/hai/v20230812/errorcodes.py +18 -0
- tencentcloud/hai/v20230812/models.py +229 -4
- tencentcloud/hunyuan/v20230901/errorcodes.py +2 -2
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +1 -1
- tencentcloud/hunyuan/v20230901/models.py +19 -4
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +728 -528
- 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/iss/v20230517/errorcodes.py +0 -9
- tencentcloud/iss/v20230517/iss_client.py +0 -23
- tencentcloud/iss/v20230517/models.py +0 -94
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/models.py +16 -16
- tencentcloud/mrs/v20200910/models.py +30 -0
- tencentcloud/redis/v20180412/models.py +6 -10
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/soe/v20180724/models.py +2 -2
- tencentcloud/ssl/v20191205/models.py +148 -0
- tencentcloud/tat/v20201028/models.py +2 -20
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +79 -0
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/wedata/v20210820/errorcodes.py +9 -0
- tencentcloud/wedata/v20210820/models.py +447 -0
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/RECORD +48 -43
- {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1263.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
|
|
@@ -5680,6 +5795,289 @@ class CreateAlarmShieldResponse(AbstractModel):
|
|
5680
5795
|
self._RequestId = params.get("RequestId")
|
5681
5796
|
|
5682
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
|
6056
|
+
|
6057
|
+
@LogsetName.setter
|
6058
|
+
def LogsetName(self, LogsetName):
|
6059
|
+
self._LogsetName = LogsetName
|
6060
|
+
|
6061
|
+
@property
|
6062
|
+
def RequestId(self):
|
6063
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6064
|
+
:rtype: str
|
6065
|
+
"""
|
6066
|
+
return self._RequestId
|
6067
|
+
|
6068
|
+
@RequestId.setter
|
6069
|
+
def RequestId(self, RequestId):
|
6070
|
+
self._RequestId = RequestId
|
6071
|
+
|
6072
|
+
|
6073
|
+
def _deserialize(self, params):
|
6074
|
+
self._TopicId = params.get("TopicId")
|
6075
|
+
self._TopicName = params.get("TopicName")
|
6076
|
+
self._LogsetId = params.get("LogsetId")
|
6077
|
+
self._LogsetName = params.get("LogsetName")
|
6078
|
+
self._RequestId = params.get("RequestId")
|
6079
|
+
|
6080
|
+
|
5683
6081
|
class CreateConfigExtraRequest(AbstractModel):
|
5684
6082
|
"""CreateConfigExtra请求参数结构体
|
5685
6083
|
|
@@ -10227,20 +10625,153 @@ class DeleteAlarmShieldRequest(AbstractModel):
|
|
10227
10625
|
self._TaskId = TaskId
|
10228
10626
|
|
10229
10627
|
@property
|
10230
|
-
def AlarmNoticeId(self):
|
10231
|
-
"""通知渠道组id。
|
10628
|
+
def AlarmNoticeId(self):
|
10629
|
+
"""通知渠道组id。
|
10630
|
+
:rtype: str
|
10631
|
+
"""
|
10632
|
+
return self._AlarmNoticeId
|
10633
|
+
|
10634
|
+
@AlarmNoticeId.setter
|
10635
|
+
def AlarmNoticeId(self, AlarmNoticeId):
|
10636
|
+
self._AlarmNoticeId = AlarmNoticeId
|
10637
|
+
|
10638
|
+
|
10639
|
+
def _deserialize(self, params):
|
10640
|
+
self._TaskId = params.get("TaskId")
|
10641
|
+
self._AlarmNoticeId = params.get("AlarmNoticeId")
|
10642
|
+
memeber_set = set(params.keys())
|
10643
|
+
for name, value in vars(self).items():
|
10644
|
+
property_name = name[1:]
|
10645
|
+
if property_name in memeber_set:
|
10646
|
+
memeber_set.remove(property_name)
|
10647
|
+
if len(memeber_set) > 0:
|
10648
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10649
|
+
|
10650
|
+
|
10651
|
+
|
10652
|
+
class DeleteAlarmShieldResponse(AbstractModel):
|
10653
|
+
"""DeleteAlarmShield返回参数结构体
|
10654
|
+
|
10655
|
+
"""
|
10656
|
+
|
10657
|
+
def __init__(self):
|
10658
|
+
r"""
|
10659
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10660
|
+
:type RequestId: str
|
10661
|
+
"""
|
10662
|
+
self._RequestId = None
|
10663
|
+
|
10664
|
+
@property
|
10665
|
+
def RequestId(self):
|
10666
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10667
|
+
:rtype: str
|
10668
|
+
"""
|
10669
|
+
return self._RequestId
|
10670
|
+
|
10671
|
+
@RequestId.setter
|
10672
|
+
def RequestId(self, RequestId):
|
10673
|
+
self._RequestId = RequestId
|
10674
|
+
|
10675
|
+
|
10676
|
+
def _deserialize(self, params):
|
10677
|
+
self._RequestId = params.get("RequestId")
|
10678
|
+
|
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
|
10232
10761
|
:rtype: str
|
10233
10762
|
"""
|
10234
|
-
return self.
|
10763
|
+
return self._CloudProductRegion
|
10235
10764
|
|
10236
|
-
@
|
10237
|
-
def
|
10238
|
-
self.
|
10765
|
+
@CloudProductRegion.setter
|
10766
|
+
def CloudProductRegion(self, CloudProductRegion):
|
10767
|
+
self._CloudProductRegion = CloudProductRegion
|
10239
10768
|
|
10240
10769
|
|
10241
10770
|
def _deserialize(self, params):
|
10242
|
-
self.
|
10243
|
-
self.
|
10771
|
+
self._InstanceId = params.get("InstanceId")
|
10772
|
+
self._AssumerName = params.get("AssumerName")
|
10773
|
+
self._LogType = params.get("LogType")
|
10774
|
+
self._CloudProductRegion = params.get("CloudProductRegion")
|
10244
10775
|
memeber_set = set(params.keys())
|
10245
10776
|
for name, value in vars(self).items():
|
10246
10777
|
property_name = name[1:]
|
@@ -10251,8 +10782,8 @@ class DeleteAlarmShieldRequest(AbstractModel):
|
|
10251
10782
|
|
10252
10783
|
|
10253
10784
|
|
10254
|
-
class
|
10255
|
-
"""
|
10785
|
+
class DeleteCloudProductLogTaskResponse(AbstractModel):
|
10786
|
+
"""DeleteCloudProductLogTask返回参数结构体
|
10256
10787
|
|
10257
10788
|
"""
|
10258
10789
|
|
@@ -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
|
|
@@ -20070,6 +20670,8 @@ class ModifyAlarmNoticeRequest(AbstractModel):
|
|
20070
20670
|
r"""
|
20071
20671
|
:param _AlarmNoticeId: 通知渠道组ID。
|
20072
20672
|
:type AlarmNoticeId: str
|
20673
|
+
:param _Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持10个标签键值对,并且不能有重复的键值对。
|
20674
|
+
:type Tags: list of Tag
|
20073
20675
|
:param _Name: 通知渠道组名称。
|
20074
20676
|
:type Name: str
|
20075
20677
|
:param _Type: 通知类型。可选值:
|
@@ -20079,7 +20681,7 @@ class ModifyAlarmNoticeRequest(AbstractModel):
|
|
20079
20681
|
:type Type: str
|
20080
20682
|
:param _NoticeReceivers: 通知接收对象。
|
20081
20683
|
:type NoticeReceivers: list of NoticeReceiver
|
20082
|
-
:param _WebCallbacks:
|
20684
|
+
:param _WebCallbacks: 接口回调信息(包括企业微信等)。
|
20083
20685
|
:type WebCallbacks: list of WebCallback
|
20084
20686
|
:param _NoticeRules: 通知规则。
|
20085
20687
|
|
@@ -20088,13 +20690,36 @@ class ModifyAlarmNoticeRequest(AbstractModel):
|
|
20088
20690
|
- Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。
|
20089
20691
|
- 传其中一组数据,则另一组数据置空。
|
20090
20692
|
:type NoticeRules: list of NoticeRule
|
20693
|
+
:param _JumpDomain: 调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
20694
|
+
:type JumpDomain: str
|
20695
|
+
:param _DeliverStatus: 投递日志开关。
|
20696
|
+
|
20697
|
+
参数值:
|
20698
|
+
1:关闭;
|
20699
|
+
|
20700
|
+
2:开启
|
20701
|
+
|
20702
|
+
:type DeliverStatus: int
|
20703
|
+
:param _DeliverConfig: 投递日志配置。
|
20704
|
+
:type DeliverConfig: :class:`tencentcloud.cls.v20201016.models.DeliverConfig`
|
20705
|
+
:param _AlarmShieldStatus: 免登录操作告警开关。
|
20706
|
+
|
20707
|
+
参数值:
|
20708
|
+
1:关闭
|
20709
|
+
2:开启(默认开启)
|
20710
|
+
:type AlarmShieldStatus: int
|
20091
20711
|
"""
|
20092
20712
|
self._AlarmNoticeId = None
|
20713
|
+
self._Tags = None
|
20093
20714
|
self._Name = None
|
20094
20715
|
self._Type = None
|
20095
20716
|
self._NoticeReceivers = None
|
20096
20717
|
self._WebCallbacks = None
|
20097
20718
|
self._NoticeRules = None
|
20719
|
+
self._JumpDomain = None
|
20720
|
+
self._DeliverStatus = None
|
20721
|
+
self._DeliverConfig = None
|
20722
|
+
self._AlarmShieldStatus = None
|
20098
20723
|
|
20099
20724
|
@property
|
20100
20725
|
def AlarmNoticeId(self):
|
@@ -20107,6 +20732,17 @@ class ModifyAlarmNoticeRequest(AbstractModel):
|
|
20107
20732
|
def AlarmNoticeId(self, AlarmNoticeId):
|
20108
20733
|
self._AlarmNoticeId = AlarmNoticeId
|
20109
20734
|
|
20735
|
+
@property
|
20736
|
+
def Tags(self):
|
20737
|
+
"""标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持10个标签键值对,并且不能有重复的键值对。
|
20738
|
+
:rtype: list of Tag
|
20739
|
+
"""
|
20740
|
+
return self._Tags
|
20741
|
+
|
20742
|
+
@Tags.setter
|
20743
|
+
def Tags(self, Tags):
|
20744
|
+
self._Tags = Tags
|
20745
|
+
|
20110
20746
|
@property
|
20111
20747
|
def Name(self):
|
20112
20748
|
"""通知渠道组名称。
|
@@ -20145,7 +20781,7 @@ class ModifyAlarmNoticeRequest(AbstractModel):
|
|
20145
20781
|
|
20146
20782
|
@property
|
20147
20783
|
def WebCallbacks(self):
|
20148
|
-
"""
|
20784
|
+
"""接口回调信息(包括企业微信等)。
|
20149
20785
|
:rtype: list of WebCallback
|
20150
20786
|
"""
|
20151
20787
|
return self._WebCallbacks
|
@@ -20170,9 +20806,69 @@ class ModifyAlarmNoticeRequest(AbstractModel):
|
|
20170
20806
|
def NoticeRules(self, NoticeRules):
|
20171
20807
|
self._NoticeRules = NoticeRules
|
20172
20808
|
|
20809
|
+
@property
|
20810
|
+
def JumpDomain(self):
|
20811
|
+
"""调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
20812
|
+
:rtype: str
|
20813
|
+
"""
|
20814
|
+
return self._JumpDomain
|
20815
|
+
|
20816
|
+
@JumpDomain.setter
|
20817
|
+
def JumpDomain(self, JumpDomain):
|
20818
|
+
self._JumpDomain = JumpDomain
|
20819
|
+
|
20820
|
+
@property
|
20821
|
+
def DeliverStatus(self):
|
20822
|
+
"""投递日志开关。
|
20823
|
+
|
20824
|
+
参数值:
|
20825
|
+
1:关闭;
|
20826
|
+
|
20827
|
+
2:开启
|
20828
|
+
|
20829
|
+
:rtype: int
|
20830
|
+
"""
|
20831
|
+
return self._DeliverStatus
|
20832
|
+
|
20833
|
+
@DeliverStatus.setter
|
20834
|
+
def DeliverStatus(self, DeliverStatus):
|
20835
|
+
self._DeliverStatus = DeliverStatus
|
20836
|
+
|
20837
|
+
@property
|
20838
|
+
def DeliverConfig(self):
|
20839
|
+
"""投递日志配置。
|
20840
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DeliverConfig`
|
20841
|
+
"""
|
20842
|
+
return self._DeliverConfig
|
20843
|
+
|
20844
|
+
@DeliverConfig.setter
|
20845
|
+
def DeliverConfig(self, DeliverConfig):
|
20846
|
+
self._DeliverConfig = DeliverConfig
|
20847
|
+
|
20848
|
+
@property
|
20849
|
+
def AlarmShieldStatus(self):
|
20850
|
+
"""免登录操作告警开关。
|
20851
|
+
|
20852
|
+
参数值:
|
20853
|
+
1:关闭
|
20854
|
+
2:开启(默认开启)
|
20855
|
+
:rtype: int
|
20856
|
+
"""
|
20857
|
+
return self._AlarmShieldStatus
|
20858
|
+
|
20859
|
+
@AlarmShieldStatus.setter
|
20860
|
+
def AlarmShieldStatus(self, AlarmShieldStatus):
|
20861
|
+
self._AlarmShieldStatus = AlarmShieldStatus
|
20862
|
+
|
20173
20863
|
|
20174
20864
|
def _deserialize(self, params):
|
20175
20865
|
self._AlarmNoticeId = params.get("AlarmNoticeId")
|
20866
|
+
if params.get("Tags") is not None:
|
20867
|
+
self._Tags = []
|
20868
|
+
for item in params.get("Tags"):
|
20869
|
+
obj = Tag()
|
20870
|
+
obj._deserialize(item)
|
20871
|
+
self._Tags.append(obj)
|
20176
20872
|
self._Name = params.get("Name")
|
20177
20873
|
self._Type = params.get("Type")
|
20178
20874
|
if params.get("NoticeReceivers") is not None:
|
@@ -20193,6 +20889,12 @@ class ModifyAlarmNoticeRequest(AbstractModel):
|
|
20193
20889
|
obj = NoticeRule()
|
20194
20890
|
obj._deserialize(item)
|
20195
20891
|
self._NoticeRules.append(obj)
|
20892
|
+
self._JumpDomain = params.get("JumpDomain")
|
20893
|
+
self._DeliverStatus = params.get("DeliverStatus")
|
20894
|
+
if params.get("DeliverConfig") is not None:
|
20895
|
+
self._DeliverConfig = DeliverConfig()
|
20896
|
+
self._DeliverConfig._deserialize(params.get("DeliverConfig"))
|
20897
|
+
self._AlarmShieldStatus = params.get("AlarmShieldStatus")
|
20196
20898
|
memeber_set = set(params.keys())
|
20197
20899
|
for name, value in vars(self).items():
|
20198
20900
|
property_name = name[1:]
|
@@ -20810,6 +21512,154 @@ class ModifyAlarmShieldResponse(AbstractModel):
|
|
20810
21512
|
self._RequestId = params.get("RequestId")
|
20811
21513
|
|
20812
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
|
+
|
20813
21663
|
class ModifyConfigExtraRequest(AbstractModel):
|
20814
21664
|
"""ModifyConfigExtra请求参数结构体
|
20815
21665
|
|