tencentcloud-sdk-python-cls 3.0.1196__tar.gz → 3.0.1227__tar.gz
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-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/tencentcloud/cls/v20201016/cls_client.py +92 -12
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/tencentcloud/cls/v20201016/models.py +815 -44
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cls-3.0.1227/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1196/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1196 → tencentcloud-sdk-python-cls-3.0.1227}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cls',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1227"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -256,6 +256,29 @@ class ClsClient(AbstractClient):
|
|
|
256
256
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
257
|
|
|
258
258
|
|
|
259
|
+
def CreateConsoleSharing(self, request):
|
|
260
|
+
"""创建控制台分享
|
|
261
|
+
|
|
262
|
+
:param request: Request instance for CreateConsoleSharing.
|
|
263
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.CreateConsoleSharingRequest`
|
|
264
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.CreateConsoleSharingResponse`
|
|
265
|
+
|
|
266
|
+
"""
|
|
267
|
+
try:
|
|
268
|
+
params = request._serialize()
|
|
269
|
+
headers = request.headers
|
|
270
|
+
body = self.call("CreateConsoleSharing", params, headers=headers)
|
|
271
|
+
response = json.loads(body)
|
|
272
|
+
model = models.CreateConsoleSharingResponse()
|
|
273
|
+
model._deserialize(response["Response"])
|
|
274
|
+
return model
|
|
275
|
+
except Exception as e:
|
|
276
|
+
if isinstance(e, TencentCloudSDKException):
|
|
277
|
+
raise
|
|
278
|
+
else:
|
|
279
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
|
+
|
|
281
|
+
|
|
259
282
|
def CreateConsumer(self, request):
|
|
260
283
|
"""本接口用于创建投递CKafka任务
|
|
261
284
|
|
|
@@ -693,6 +716,29 @@ class ClsClient(AbstractClient):
|
|
|
693
716
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
694
717
|
|
|
695
718
|
|
|
719
|
+
def DeleteConsoleSharing(self, request):
|
|
720
|
+
"""删除控制台分享
|
|
721
|
+
|
|
722
|
+
:param request: Request instance for DeleteConsoleSharing.
|
|
723
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.DeleteConsoleSharingRequest`
|
|
724
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DeleteConsoleSharingResponse`
|
|
725
|
+
|
|
726
|
+
"""
|
|
727
|
+
try:
|
|
728
|
+
params = request._serialize()
|
|
729
|
+
headers = request.headers
|
|
730
|
+
body = self.call("DeleteConsoleSharing", params, headers=headers)
|
|
731
|
+
response = json.loads(body)
|
|
732
|
+
model = models.DeleteConsoleSharingResponse()
|
|
733
|
+
model._deserialize(response["Response"])
|
|
734
|
+
return model
|
|
735
|
+
except Exception as e:
|
|
736
|
+
if isinstance(e, TencentCloudSDKException):
|
|
737
|
+
raise
|
|
738
|
+
else:
|
|
739
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
|
+
|
|
741
|
+
|
|
696
742
|
def DeleteConsumer(self, request):
|
|
697
743
|
"""本接口用于删除投递配置
|
|
698
744
|
|
|
@@ -1130,6 +1176,29 @@ class ClsClient(AbstractClient):
|
|
|
1130
1176
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1131
1177
|
|
|
1132
1178
|
|
|
1179
|
+
def DescribeConsoleSharingList(self, request):
|
|
1180
|
+
"""批量查询控制台分享列表
|
|
1181
|
+
|
|
1182
|
+
:param request: Request instance for DescribeConsoleSharingList.
|
|
1183
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.DescribeConsoleSharingListRequest`
|
|
1184
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DescribeConsoleSharingListResponse`
|
|
1185
|
+
|
|
1186
|
+
"""
|
|
1187
|
+
try:
|
|
1188
|
+
params = request._serialize()
|
|
1189
|
+
headers = request.headers
|
|
1190
|
+
body = self.call("DescribeConsoleSharingList", params, headers=headers)
|
|
1191
|
+
response = json.loads(body)
|
|
1192
|
+
model = models.DescribeConsoleSharingListResponse()
|
|
1193
|
+
model._deserialize(response["Response"])
|
|
1194
|
+
return model
|
|
1195
|
+
except Exception as e:
|
|
1196
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1197
|
+
raise
|
|
1198
|
+
else:
|
|
1199
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1200
|
+
|
|
1201
|
+
|
|
1133
1202
|
def DescribeConsumer(self, request):
|
|
1134
1203
|
"""本接口用于获取投递配置
|
|
1135
1204
|
|
|
@@ -1752,6 +1821,29 @@ class ClsClient(AbstractClient):
|
|
|
1752
1821
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1753
1822
|
|
|
1754
1823
|
|
|
1824
|
+
def ModifyConsoleSharing(self, request):
|
|
1825
|
+
"""修改控制台分享,目前仅允许修改有效期
|
|
1826
|
+
|
|
1827
|
+
:param request: Request instance for ModifyConsoleSharing.
|
|
1828
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.ModifyConsoleSharingRequest`
|
|
1829
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.ModifyConsoleSharingResponse`
|
|
1830
|
+
|
|
1831
|
+
"""
|
|
1832
|
+
try:
|
|
1833
|
+
params = request._serialize()
|
|
1834
|
+
headers = request.headers
|
|
1835
|
+
body = self.call("ModifyConsoleSharing", params, headers=headers)
|
|
1836
|
+
response = json.loads(body)
|
|
1837
|
+
model = models.ModifyConsoleSharingResponse()
|
|
1838
|
+
model._deserialize(response["Response"])
|
|
1839
|
+
return model
|
|
1840
|
+
except Exception as e:
|
|
1841
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1842
|
+
raise
|
|
1843
|
+
else:
|
|
1844
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1845
|
+
|
|
1846
|
+
|
|
1755
1847
|
def ModifyConsumer(self, request):
|
|
1756
1848
|
"""本接口用于修改投递Ckafka任务
|
|
1757
1849
|
|
|
@@ -2250,18 +2342,6 @@ class ClsClient(AbstractClient):
|
|
|
2250
2342
|
|
|
2251
2343
|
本接口用于将日志写入到指定的日志主题。
|
|
2252
2344
|
|
|
2253
|
-
日志服务提供以下两种模式:
|
|
2254
|
-
|
|
2255
|
-
#### 负载均衡模式
|
|
2256
|
-
|
|
2257
|
-
系统根据当前日志主题下所有可读写的分区,遵循负载均衡原则自动分配写入的目标分区。该模式适合消费不保序的场景。
|
|
2258
|
-
|
|
2259
|
-
#### 哈希路由模式
|
|
2260
|
-
|
|
2261
|
-
系统根据携带的哈希值(X-CLS-HashKey)将数据写入到符合范围要求的目标分区。例如,可以将某个日志源端通过 hashkey 与某个主题分区强绑定,这样可以保证数据在该分区上写入和消费是严格保序的。
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
2345
|
#### 输入参数(pb二进制流,位于body中)
|
|
2266
2346
|
|
|
2267
2347
|
| 字段名 | 类型 | 位置 | 必须 | 含义 |
|
|
@@ -2733,6 +2733,242 @@ class ConfigInfo(AbstractModel):
|
|
|
2733
2733
|
|
|
2734
2734
|
|
|
2735
2735
|
|
|
2736
|
+
class ConsoleSharingConfig(AbstractModel):
|
|
2737
|
+
"""控制台分享配置
|
|
2738
|
+
|
|
2739
|
+
"""
|
|
2740
|
+
|
|
2741
|
+
def __init__(self):
|
|
2742
|
+
r"""
|
|
2743
|
+
:param _Name: 分享链接名称
|
|
2744
|
+
:type Name: str
|
|
2745
|
+
:param _Type: 仪表盘: 1; 检索页:2
|
|
2746
|
+
:type Type: int
|
|
2747
|
+
:param _DurationMilliseconds: 分享链接有效期,单位:毫秒,最长支持30天
|
|
2748
|
+
:type DurationMilliseconds: int
|
|
2749
|
+
:param _Resources: 允许访问的资源列表,目前仅支持一个Resource
|
|
2750
|
+
:type Resources: list of str
|
|
2751
|
+
:param _Domain: 分享链接域名,可选范围
|
|
2752
|
+
- 公网匿名分享:填写clsshare.com
|
|
2753
|
+
- datasight内网匿名分享(若开启):datasight内网域名
|
|
2754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2755
|
+
:type Domain: str
|
|
2756
|
+
:param _VerifyCode: 验证码
|
|
2757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2758
|
+
:type VerifyCode: str
|
|
2759
|
+
:param _StartTime: 默认查询范围的开始时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式
|
|
2760
|
+
:type StartTime: str
|
|
2761
|
+
:param _EndTime: 默认查询范围的结束时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式。注意,结束时间点要大于开始时间点
|
|
2762
|
+
:type EndTime: str
|
|
2763
|
+
:param _NowTime: 仅当StartTime/EndTime为相对时间时使用,基于NowTime计算绝对时间,默认为创建时间
|
|
2764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2765
|
+
:type NowTime: int
|
|
2766
|
+
:param _Params: 默认的检索分析语句,仅当Type为2时使用
|
|
2767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2768
|
+
:type Params: list of ConsoleSharingParam
|
|
2769
|
+
:param _IsLockTimeRange: 是否允许访问者自行修改检索分析时间范围。默认不锁定(false)
|
|
2770
|
+
:type IsLockTimeRange: bool
|
|
2771
|
+
:param _IsLockQuery: 是否允许访问者自行修改日志检索语句。在检索页分享中表示检索语句锁定状态;在仪表盘中表示过滤变量锁定状态。默认不锁定(false)
|
|
2772
|
+
:type IsLockQuery: bool
|
|
2773
|
+
:param _IsSupportLogExport: 检索页分享是否允许访问者下载日志,默认不允许(false)
|
|
2774
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2775
|
+
:type IsSupportLogExport: bool
|
|
2776
|
+
"""
|
|
2777
|
+
self._Name = None
|
|
2778
|
+
self._Type = None
|
|
2779
|
+
self._DurationMilliseconds = None
|
|
2780
|
+
self._Resources = None
|
|
2781
|
+
self._Domain = None
|
|
2782
|
+
self._VerifyCode = None
|
|
2783
|
+
self._StartTime = None
|
|
2784
|
+
self._EndTime = None
|
|
2785
|
+
self._NowTime = None
|
|
2786
|
+
self._Params = None
|
|
2787
|
+
self._IsLockTimeRange = None
|
|
2788
|
+
self._IsLockQuery = None
|
|
2789
|
+
self._IsSupportLogExport = None
|
|
2790
|
+
|
|
2791
|
+
@property
|
|
2792
|
+
def Name(self):
|
|
2793
|
+
return self._Name
|
|
2794
|
+
|
|
2795
|
+
@Name.setter
|
|
2796
|
+
def Name(self, Name):
|
|
2797
|
+
self._Name = Name
|
|
2798
|
+
|
|
2799
|
+
@property
|
|
2800
|
+
def Type(self):
|
|
2801
|
+
return self._Type
|
|
2802
|
+
|
|
2803
|
+
@Type.setter
|
|
2804
|
+
def Type(self, Type):
|
|
2805
|
+
self._Type = Type
|
|
2806
|
+
|
|
2807
|
+
@property
|
|
2808
|
+
def DurationMilliseconds(self):
|
|
2809
|
+
return self._DurationMilliseconds
|
|
2810
|
+
|
|
2811
|
+
@DurationMilliseconds.setter
|
|
2812
|
+
def DurationMilliseconds(self, DurationMilliseconds):
|
|
2813
|
+
self._DurationMilliseconds = DurationMilliseconds
|
|
2814
|
+
|
|
2815
|
+
@property
|
|
2816
|
+
def Resources(self):
|
|
2817
|
+
return self._Resources
|
|
2818
|
+
|
|
2819
|
+
@Resources.setter
|
|
2820
|
+
def Resources(self, Resources):
|
|
2821
|
+
self._Resources = Resources
|
|
2822
|
+
|
|
2823
|
+
@property
|
|
2824
|
+
def Domain(self):
|
|
2825
|
+
return self._Domain
|
|
2826
|
+
|
|
2827
|
+
@Domain.setter
|
|
2828
|
+
def Domain(self, Domain):
|
|
2829
|
+
self._Domain = Domain
|
|
2830
|
+
|
|
2831
|
+
@property
|
|
2832
|
+
def VerifyCode(self):
|
|
2833
|
+
return self._VerifyCode
|
|
2834
|
+
|
|
2835
|
+
@VerifyCode.setter
|
|
2836
|
+
def VerifyCode(self, VerifyCode):
|
|
2837
|
+
self._VerifyCode = VerifyCode
|
|
2838
|
+
|
|
2839
|
+
@property
|
|
2840
|
+
def StartTime(self):
|
|
2841
|
+
return self._StartTime
|
|
2842
|
+
|
|
2843
|
+
@StartTime.setter
|
|
2844
|
+
def StartTime(self, StartTime):
|
|
2845
|
+
self._StartTime = StartTime
|
|
2846
|
+
|
|
2847
|
+
@property
|
|
2848
|
+
def EndTime(self):
|
|
2849
|
+
return self._EndTime
|
|
2850
|
+
|
|
2851
|
+
@EndTime.setter
|
|
2852
|
+
def EndTime(self, EndTime):
|
|
2853
|
+
self._EndTime = EndTime
|
|
2854
|
+
|
|
2855
|
+
@property
|
|
2856
|
+
def NowTime(self):
|
|
2857
|
+
return self._NowTime
|
|
2858
|
+
|
|
2859
|
+
@NowTime.setter
|
|
2860
|
+
def NowTime(self, NowTime):
|
|
2861
|
+
self._NowTime = NowTime
|
|
2862
|
+
|
|
2863
|
+
@property
|
|
2864
|
+
def Params(self):
|
|
2865
|
+
return self._Params
|
|
2866
|
+
|
|
2867
|
+
@Params.setter
|
|
2868
|
+
def Params(self, Params):
|
|
2869
|
+
self._Params = Params
|
|
2870
|
+
|
|
2871
|
+
@property
|
|
2872
|
+
def IsLockTimeRange(self):
|
|
2873
|
+
return self._IsLockTimeRange
|
|
2874
|
+
|
|
2875
|
+
@IsLockTimeRange.setter
|
|
2876
|
+
def IsLockTimeRange(self, IsLockTimeRange):
|
|
2877
|
+
self._IsLockTimeRange = IsLockTimeRange
|
|
2878
|
+
|
|
2879
|
+
@property
|
|
2880
|
+
def IsLockQuery(self):
|
|
2881
|
+
return self._IsLockQuery
|
|
2882
|
+
|
|
2883
|
+
@IsLockQuery.setter
|
|
2884
|
+
def IsLockQuery(self, IsLockQuery):
|
|
2885
|
+
self._IsLockQuery = IsLockQuery
|
|
2886
|
+
|
|
2887
|
+
@property
|
|
2888
|
+
def IsSupportLogExport(self):
|
|
2889
|
+
return self._IsSupportLogExport
|
|
2890
|
+
|
|
2891
|
+
@IsSupportLogExport.setter
|
|
2892
|
+
def IsSupportLogExport(self, IsSupportLogExport):
|
|
2893
|
+
self._IsSupportLogExport = IsSupportLogExport
|
|
2894
|
+
|
|
2895
|
+
|
|
2896
|
+
def _deserialize(self, params):
|
|
2897
|
+
self._Name = params.get("Name")
|
|
2898
|
+
self._Type = params.get("Type")
|
|
2899
|
+
self._DurationMilliseconds = params.get("DurationMilliseconds")
|
|
2900
|
+
self._Resources = params.get("Resources")
|
|
2901
|
+
self._Domain = params.get("Domain")
|
|
2902
|
+
self._VerifyCode = params.get("VerifyCode")
|
|
2903
|
+
self._StartTime = params.get("StartTime")
|
|
2904
|
+
self._EndTime = params.get("EndTime")
|
|
2905
|
+
self._NowTime = params.get("NowTime")
|
|
2906
|
+
if params.get("Params") is not None:
|
|
2907
|
+
self._Params = []
|
|
2908
|
+
for item in params.get("Params"):
|
|
2909
|
+
obj = ConsoleSharingParam()
|
|
2910
|
+
obj._deserialize(item)
|
|
2911
|
+
self._Params.append(obj)
|
|
2912
|
+
self._IsLockTimeRange = params.get("IsLockTimeRange")
|
|
2913
|
+
self._IsLockQuery = params.get("IsLockQuery")
|
|
2914
|
+
self._IsSupportLogExport = params.get("IsSupportLogExport")
|
|
2915
|
+
memeber_set = set(params.keys())
|
|
2916
|
+
for name, value in vars(self).items():
|
|
2917
|
+
property_name = name[1:]
|
|
2918
|
+
if property_name in memeber_set:
|
|
2919
|
+
memeber_set.remove(property_name)
|
|
2920
|
+
if len(memeber_set) > 0:
|
|
2921
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2922
|
+
|
|
2923
|
+
|
|
2924
|
+
|
|
2925
|
+
class ConsoleSharingParam(AbstractModel):
|
|
2926
|
+
"""控制台分享链接params参数
|
|
2927
|
+
|
|
2928
|
+
"""
|
|
2929
|
+
|
|
2930
|
+
def __init__(self):
|
|
2931
|
+
r"""
|
|
2932
|
+
:param _Name: 名称
|
|
2933
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2934
|
+
:type Name: str
|
|
2935
|
+
:param _Value: 值
|
|
2936
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2937
|
+
:type Value: str
|
|
2938
|
+
"""
|
|
2939
|
+
self._Name = None
|
|
2940
|
+
self._Value = None
|
|
2941
|
+
|
|
2942
|
+
@property
|
|
2943
|
+
def Name(self):
|
|
2944
|
+
return self._Name
|
|
2945
|
+
|
|
2946
|
+
@Name.setter
|
|
2947
|
+
def Name(self, Name):
|
|
2948
|
+
self._Name = Name
|
|
2949
|
+
|
|
2950
|
+
@property
|
|
2951
|
+
def Value(self):
|
|
2952
|
+
return self._Value
|
|
2953
|
+
|
|
2954
|
+
@Value.setter
|
|
2955
|
+
def Value(self, Value):
|
|
2956
|
+
self._Value = Value
|
|
2957
|
+
|
|
2958
|
+
|
|
2959
|
+
def _deserialize(self, params):
|
|
2960
|
+
self._Name = params.get("Name")
|
|
2961
|
+
self._Value = params.get("Value")
|
|
2962
|
+
memeber_set = set(params.keys())
|
|
2963
|
+
for name, value in vars(self).items():
|
|
2964
|
+
property_name = name[1:]
|
|
2965
|
+
if property_name in memeber_set:
|
|
2966
|
+
memeber_set.remove(property_name)
|
|
2967
|
+
if len(memeber_set) > 0:
|
|
2968
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2969
|
+
|
|
2970
|
+
|
|
2971
|
+
|
|
2736
2972
|
class ConsumerContent(AbstractModel):
|
|
2737
2973
|
"""投递任务出入参 Content
|
|
2738
2974
|
|
|
@@ -4634,6 +4870,90 @@ class CreateConfigResponse(AbstractModel):
|
|
|
4634
4870
|
self._RequestId = params.get("RequestId")
|
|
4635
4871
|
|
|
4636
4872
|
|
|
4873
|
+
class CreateConsoleSharingRequest(AbstractModel):
|
|
4874
|
+
"""CreateConsoleSharing请求参数结构体
|
|
4875
|
+
|
|
4876
|
+
"""
|
|
4877
|
+
|
|
4878
|
+
def __init__(self):
|
|
4879
|
+
r"""
|
|
4880
|
+
:param _SharingConfig: 免密分享配置
|
|
4881
|
+
:type SharingConfig: :class:`tencentcloud.cls.v20201016.models.ConsoleSharingConfig`
|
|
4882
|
+
"""
|
|
4883
|
+
self._SharingConfig = None
|
|
4884
|
+
|
|
4885
|
+
@property
|
|
4886
|
+
def SharingConfig(self):
|
|
4887
|
+
return self._SharingConfig
|
|
4888
|
+
|
|
4889
|
+
@SharingConfig.setter
|
|
4890
|
+
def SharingConfig(self, SharingConfig):
|
|
4891
|
+
self._SharingConfig = SharingConfig
|
|
4892
|
+
|
|
4893
|
+
|
|
4894
|
+
def _deserialize(self, params):
|
|
4895
|
+
if params.get("SharingConfig") is not None:
|
|
4896
|
+
self._SharingConfig = ConsoleSharingConfig()
|
|
4897
|
+
self._SharingConfig._deserialize(params.get("SharingConfig"))
|
|
4898
|
+
memeber_set = set(params.keys())
|
|
4899
|
+
for name, value in vars(self).items():
|
|
4900
|
+
property_name = name[1:]
|
|
4901
|
+
if property_name in memeber_set:
|
|
4902
|
+
memeber_set.remove(property_name)
|
|
4903
|
+
if len(memeber_set) > 0:
|
|
4904
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4905
|
+
|
|
4906
|
+
|
|
4907
|
+
|
|
4908
|
+
class CreateConsoleSharingResponse(AbstractModel):
|
|
4909
|
+
"""CreateConsoleSharing返回参数结构体
|
|
4910
|
+
|
|
4911
|
+
"""
|
|
4912
|
+
|
|
4913
|
+
def __init__(self):
|
|
4914
|
+
r"""
|
|
4915
|
+
:param _SharingUrl: 免密分享链接
|
|
4916
|
+
:type SharingUrl: str
|
|
4917
|
+
:param _SharingId: 免密分享链接ID
|
|
4918
|
+
:type SharingId: str
|
|
4919
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4920
|
+
:type RequestId: str
|
|
4921
|
+
"""
|
|
4922
|
+
self._SharingUrl = None
|
|
4923
|
+
self._SharingId = None
|
|
4924
|
+
self._RequestId = None
|
|
4925
|
+
|
|
4926
|
+
@property
|
|
4927
|
+
def SharingUrl(self):
|
|
4928
|
+
return self._SharingUrl
|
|
4929
|
+
|
|
4930
|
+
@SharingUrl.setter
|
|
4931
|
+
def SharingUrl(self, SharingUrl):
|
|
4932
|
+
self._SharingUrl = SharingUrl
|
|
4933
|
+
|
|
4934
|
+
@property
|
|
4935
|
+
def SharingId(self):
|
|
4936
|
+
return self._SharingId
|
|
4937
|
+
|
|
4938
|
+
@SharingId.setter
|
|
4939
|
+
def SharingId(self, SharingId):
|
|
4940
|
+
self._SharingId = SharingId
|
|
4941
|
+
|
|
4942
|
+
@property
|
|
4943
|
+
def RequestId(self):
|
|
4944
|
+
return self._RequestId
|
|
4945
|
+
|
|
4946
|
+
@RequestId.setter
|
|
4947
|
+
def RequestId(self, RequestId):
|
|
4948
|
+
self._RequestId = RequestId
|
|
4949
|
+
|
|
4950
|
+
|
|
4951
|
+
def _deserialize(self, params):
|
|
4952
|
+
self._SharingUrl = params.get("SharingUrl")
|
|
4953
|
+
self._SharingId = params.get("SharingId")
|
|
4954
|
+
self._RequestId = params.get("RequestId")
|
|
4955
|
+
|
|
4956
|
+
|
|
4637
4957
|
class CreateConsumerRequest(AbstractModel):
|
|
4638
4958
|
"""CreateConsumer请求参数结构体
|
|
4639
4959
|
|
|
@@ -4945,6 +5265,71 @@ class CreateDashboardSubscribeRequest(AbstractModel):
|
|
|
4945
5265
|
|
|
4946
5266
|
"""
|
|
4947
5267
|
|
|
5268
|
+
def __init__(self):
|
|
5269
|
+
r"""
|
|
5270
|
+
:param _Name: 仪表盘订阅名称。
|
|
5271
|
+
:type Name: str
|
|
5272
|
+
:param _DashboardId: 仪表盘id。
|
|
5273
|
+
:type DashboardId: str
|
|
5274
|
+
:param _Cron: 订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。<br><li/>{秒数} 取值范围: 0 ~ 59 <br><li/>{分钟} 取值范围: 0 ~ 59 <br><li/>{小时} 取值范围: 0 ~ 23 <br><li/>{日期} 取值范围: 1 ~ 31 AND (dayOfMonth最后一天: L) <br><li/>{月份} 取值范围: 1 ~ 12 <br><li/>{星期} 取值范围: 0 ~ 6 【0:星期日, 6星期六】
|
|
5275
|
+
:type Cron: str
|
|
5276
|
+
:param _SubscribeData: 仪表盘订阅数据。
|
|
5277
|
+
:type SubscribeData: :class:`tencentcloud.cls.v20201016.models.DashboardSubscribeData`
|
|
5278
|
+
"""
|
|
5279
|
+
self._Name = None
|
|
5280
|
+
self._DashboardId = None
|
|
5281
|
+
self._Cron = None
|
|
5282
|
+
self._SubscribeData = None
|
|
5283
|
+
|
|
5284
|
+
@property
|
|
5285
|
+
def Name(self):
|
|
5286
|
+
return self._Name
|
|
5287
|
+
|
|
5288
|
+
@Name.setter
|
|
5289
|
+
def Name(self, Name):
|
|
5290
|
+
self._Name = Name
|
|
5291
|
+
|
|
5292
|
+
@property
|
|
5293
|
+
def DashboardId(self):
|
|
5294
|
+
return self._DashboardId
|
|
5295
|
+
|
|
5296
|
+
@DashboardId.setter
|
|
5297
|
+
def DashboardId(self, DashboardId):
|
|
5298
|
+
self._DashboardId = DashboardId
|
|
5299
|
+
|
|
5300
|
+
@property
|
|
5301
|
+
def Cron(self):
|
|
5302
|
+
return self._Cron
|
|
5303
|
+
|
|
5304
|
+
@Cron.setter
|
|
5305
|
+
def Cron(self, Cron):
|
|
5306
|
+
self._Cron = Cron
|
|
5307
|
+
|
|
5308
|
+
@property
|
|
5309
|
+
def SubscribeData(self):
|
|
5310
|
+
return self._SubscribeData
|
|
5311
|
+
|
|
5312
|
+
@SubscribeData.setter
|
|
5313
|
+
def SubscribeData(self, SubscribeData):
|
|
5314
|
+
self._SubscribeData = SubscribeData
|
|
5315
|
+
|
|
5316
|
+
|
|
5317
|
+
def _deserialize(self, params):
|
|
5318
|
+
self._Name = params.get("Name")
|
|
5319
|
+
self._DashboardId = params.get("DashboardId")
|
|
5320
|
+
self._Cron = params.get("Cron")
|
|
5321
|
+
if params.get("SubscribeData") is not None:
|
|
5322
|
+
self._SubscribeData = DashboardSubscribeData()
|
|
5323
|
+
self._SubscribeData._deserialize(params.get("SubscribeData"))
|
|
5324
|
+
memeber_set = set(params.keys())
|
|
5325
|
+
for name, value in vars(self).items():
|
|
5326
|
+
property_name = name[1:]
|
|
5327
|
+
if property_name in memeber_set:
|
|
5328
|
+
memeber_set.remove(property_name)
|
|
5329
|
+
if len(memeber_set) > 0:
|
|
5330
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5331
|
+
|
|
5332
|
+
|
|
4948
5333
|
|
|
4949
5334
|
class CreateDashboardSubscribeResponse(AbstractModel):
|
|
4950
5335
|
"""CreateDashboardSubscribe返回参数结构体
|
|
@@ -5000,6 +5385,8 @@ class CreateDataTransformRequest(AbstractModel):
|
|
|
5000
5385
|
:type EnableFlag: int
|
|
5001
5386
|
:param _PreviewLogStatistics: 用于预览加工结果的测试数据
|
|
5002
5387
|
:type PreviewLogStatistics: list of PreviewLogStatistic
|
|
5388
|
+
:param _DataTransformType: 数据加工类型。0:标准加工任务; 1:前置加工任务。前置加工任务将采集的日志处理完成后,再写入日志主题。
|
|
5389
|
+
:type DataTransformType: int
|
|
5003
5390
|
"""
|
|
5004
5391
|
self._FuncType = None
|
|
5005
5392
|
self._SrcTopicId = None
|
|
@@ -5009,6 +5396,7 @@ class CreateDataTransformRequest(AbstractModel):
|
|
|
5009
5396
|
self._DstResources = None
|
|
5010
5397
|
self._EnableFlag = None
|
|
5011
5398
|
self._PreviewLogStatistics = None
|
|
5399
|
+
self._DataTransformType = None
|
|
5012
5400
|
|
|
5013
5401
|
@property
|
|
5014
5402
|
def FuncType(self):
|
|
@@ -5074,6 +5462,14 @@ class CreateDataTransformRequest(AbstractModel):
|
|
|
5074
5462
|
def PreviewLogStatistics(self, PreviewLogStatistics):
|
|
5075
5463
|
self._PreviewLogStatistics = PreviewLogStatistics
|
|
5076
5464
|
|
|
5465
|
+
@property
|
|
5466
|
+
def DataTransformType(self):
|
|
5467
|
+
return self._DataTransformType
|
|
5468
|
+
|
|
5469
|
+
@DataTransformType.setter
|
|
5470
|
+
def DataTransformType(self, DataTransformType):
|
|
5471
|
+
self._DataTransformType = DataTransformType
|
|
5472
|
+
|
|
5077
5473
|
|
|
5078
5474
|
def _deserialize(self, params):
|
|
5079
5475
|
self._FuncType = params.get("FuncType")
|
|
@@ -5094,6 +5490,7 @@ class CreateDataTransformRequest(AbstractModel):
|
|
|
5094
5490
|
obj = PreviewLogStatistic()
|
|
5095
5491
|
obj._deserialize(item)
|
|
5096
5492
|
self._PreviewLogStatistics.append(obj)
|
|
5493
|
+
self._DataTransformType = params.get("DataTransformType")
|
|
5097
5494
|
memeber_set = set(params.keys())
|
|
5098
5495
|
for name, value in vars(self).items():
|
|
5099
5496
|
property_name = name[1:]
|
|
@@ -7313,6 +7710,9 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
7313
7710
|
:type DstResources: list of DataTransformResouceInfo
|
|
7314
7711
|
:param _EtlContent: 加工逻辑函数。
|
|
7315
7712
|
:type EtlContent: str
|
|
7713
|
+
:param _DataTransformType: 数据加工类型。0:标准加工任务;1:前置加工任务。
|
|
7714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7715
|
+
:type DataTransformType: int
|
|
7316
7716
|
"""
|
|
7317
7717
|
self._Name = None
|
|
7318
7718
|
self._TaskId = None
|
|
@@ -7327,6 +7727,7 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
7327
7727
|
self._LogsetId = None
|
|
7328
7728
|
self._DstResources = None
|
|
7329
7729
|
self._EtlContent = None
|
|
7730
|
+
self._DataTransformType = None
|
|
7330
7731
|
|
|
7331
7732
|
@property
|
|
7332
7733
|
def Name(self):
|
|
@@ -7432,6 +7833,14 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
7432
7833
|
def EtlContent(self, EtlContent):
|
|
7433
7834
|
self._EtlContent = EtlContent
|
|
7434
7835
|
|
|
7836
|
+
@property
|
|
7837
|
+
def DataTransformType(self):
|
|
7838
|
+
return self._DataTransformType
|
|
7839
|
+
|
|
7840
|
+
@DataTransformType.setter
|
|
7841
|
+
def DataTransformType(self, DataTransformType):
|
|
7842
|
+
self._DataTransformType = DataTransformType
|
|
7843
|
+
|
|
7435
7844
|
|
|
7436
7845
|
def _deserialize(self, params):
|
|
7437
7846
|
self._Name = params.get("Name")
|
|
@@ -7452,6 +7861,7 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
7452
7861
|
obj._deserialize(item)
|
|
7453
7862
|
self._DstResources.append(obj)
|
|
7454
7863
|
self._EtlContent = params.get("EtlContent")
|
|
7864
|
+
self._DataTransformType = params.get("DataTransformType")
|
|
7455
7865
|
memeber_set = set(params.keys())
|
|
7456
7866
|
for name, value in vars(self).items():
|
|
7457
7867
|
property_name = name[1:]
|
|
@@ -7834,6 +8244,64 @@ class DeleteConfigResponse(AbstractModel):
|
|
|
7834
8244
|
self._RequestId = params.get("RequestId")
|
|
7835
8245
|
|
|
7836
8246
|
|
|
8247
|
+
class DeleteConsoleSharingRequest(AbstractModel):
|
|
8248
|
+
"""DeleteConsoleSharing请求参数结构体
|
|
8249
|
+
|
|
8250
|
+
"""
|
|
8251
|
+
|
|
8252
|
+
def __init__(self):
|
|
8253
|
+
r"""
|
|
8254
|
+
:param _SharingId: 免密分享Id
|
|
8255
|
+
:type SharingId: str
|
|
8256
|
+
"""
|
|
8257
|
+
self._SharingId = None
|
|
8258
|
+
|
|
8259
|
+
@property
|
|
8260
|
+
def SharingId(self):
|
|
8261
|
+
return self._SharingId
|
|
8262
|
+
|
|
8263
|
+
@SharingId.setter
|
|
8264
|
+
def SharingId(self, SharingId):
|
|
8265
|
+
self._SharingId = SharingId
|
|
8266
|
+
|
|
8267
|
+
|
|
8268
|
+
def _deserialize(self, params):
|
|
8269
|
+
self._SharingId = params.get("SharingId")
|
|
8270
|
+
memeber_set = set(params.keys())
|
|
8271
|
+
for name, value in vars(self).items():
|
|
8272
|
+
property_name = name[1:]
|
|
8273
|
+
if property_name in memeber_set:
|
|
8274
|
+
memeber_set.remove(property_name)
|
|
8275
|
+
if len(memeber_set) > 0:
|
|
8276
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8277
|
+
|
|
8278
|
+
|
|
8279
|
+
|
|
8280
|
+
class DeleteConsoleSharingResponse(AbstractModel):
|
|
8281
|
+
"""DeleteConsoleSharing返回参数结构体
|
|
8282
|
+
|
|
8283
|
+
"""
|
|
8284
|
+
|
|
8285
|
+
def __init__(self):
|
|
8286
|
+
r"""
|
|
8287
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8288
|
+
:type RequestId: str
|
|
8289
|
+
"""
|
|
8290
|
+
self._RequestId = None
|
|
8291
|
+
|
|
8292
|
+
@property
|
|
8293
|
+
def RequestId(self):
|
|
8294
|
+
return self._RequestId
|
|
8295
|
+
|
|
8296
|
+
@RequestId.setter
|
|
8297
|
+
def RequestId(self, RequestId):
|
|
8298
|
+
self._RequestId = RequestId
|
|
8299
|
+
|
|
8300
|
+
|
|
8301
|
+
def _deserialize(self, params):
|
|
8302
|
+
self._RequestId = params.get("RequestId")
|
|
8303
|
+
|
|
8304
|
+
|
|
7837
8305
|
class DeleteConsumerRequest(AbstractModel):
|
|
7838
8306
|
"""DeleteConsumer请求参数结构体
|
|
7839
8307
|
|
|
@@ -7897,6 +8365,33 @@ class DeleteDashboardSubscribeRequest(AbstractModel):
|
|
|
7897
8365
|
|
|
7898
8366
|
"""
|
|
7899
8367
|
|
|
8368
|
+
def __init__(self):
|
|
8369
|
+
r"""
|
|
8370
|
+
:param _Id: 仪表盘订阅记录id。
|
|
8371
|
+
:type Id: int
|
|
8372
|
+
"""
|
|
8373
|
+
self._Id = None
|
|
8374
|
+
|
|
8375
|
+
@property
|
|
8376
|
+
def Id(self):
|
|
8377
|
+
return self._Id
|
|
8378
|
+
|
|
8379
|
+
@Id.setter
|
|
8380
|
+
def Id(self, Id):
|
|
8381
|
+
self._Id = Id
|
|
8382
|
+
|
|
8383
|
+
|
|
8384
|
+
def _deserialize(self, params):
|
|
8385
|
+
self._Id = params.get("Id")
|
|
8386
|
+
memeber_set = set(params.keys())
|
|
8387
|
+
for name, value in vars(self).items():
|
|
8388
|
+
property_name = name[1:]
|
|
8389
|
+
if property_name in memeber_set:
|
|
8390
|
+
memeber_set.remove(property_name)
|
|
8391
|
+
if len(memeber_set) > 0:
|
|
8392
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8393
|
+
|
|
8394
|
+
|
|
7900
8395
|
|
|
7901
8396
|
class DeleteDashboardSubscribeResponse(AbstractModel):
|
|
7902
8397
|
"""DeleteDashboardSubscribe返回参数结构体
|
|
@@ -9381,33 +9876,82 @@ topicId
|
|
|
9381
9876
|
|
|
9382
9877
|
|
|
9383
9878
|
|
|
9384
|
-
class DescribeConfigsResponse(AbstractModel):
|
|
9385
|
-
"""DescribeConfigs返回参数结构体
|
|
9879
|
+
class DescribeConfigsResponse(AbstractModel):
|
|
9880
|
+
"""DescribeConfigs返回参数结构体
|
|
9881
|
+
|
|
9882
|
+
"""
|
|
9883
|
+
|
|
9884
|
+
def __init__(self):
|
|
9885
|
+
r"""
|
|
9886
|
+
:param _Configs: 采集配置列表
|
|
9887
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9888
|
+
:type Configs: list of ConfigInfo
|
|
9889
|
+
:param _TotalCount: 过滤到的总数目
|
|
9890
|
+
:type TotalCount: int
|
|
9891
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9892
|
+
:type RequestId: str
|
|
9893
|
+
"""
|
|
9894
|
+
self._Configs = None
|
|
9895
|
+
self._TotalCount = None
|
|
9896
|
+
self._RequestId = None
|
|
9897
|
+
|
|
9898
|
+
@property
|
|
9899
|
+
def Configs(self):
|
|
9900
|
+
return self._Configs
|
|
9901
|
+
|
|
9902
|
+
@Configs.setter
|
|
9903
|
+
def Configs(self, Configs):
|
|
9904
|
+
self._Configs = Configs
|
|
9905
|
+
|
|
9906
|
+
@property
|
|
9907
|
+
def TotalCount(self):
|
|
9908
|
+
return self._TotalCount
|
|
9909
|
+
|
|
9910
|
+
@TotalCount.setter
|
|
9911
|
+
def TotalCount(self, TotalCount):
|
|
9912
|
+
self._TotalCount = TotalCount
|
|
9913
|
+
|
|
9914
|
+
@property
|
|
9915
|
+
def RequestId(self):
|
|
9916
|
+
return self._RequestId
|
|
9917
|
+
|
|
9918
|
+
@RequestId.setter
|
|
9919
|
+
def RequestId(self, RequestId):
|
|
9920
|
+
self._RequestId = RequestId
|
|
9921
|
+
|
|
9922
|
+
|
|
9923
|
+
def _deserialize(self, params):
|
|
9924
|
+
if params.get("Configs") is not None:
|
|
9925
|
+
self._Configs = []
|
|
9926
|
+
for item in params.get("Configs"):
|
|
9927
|
+
obj = ConfigInfo()
|
|
9928
|
+
obj._deserialize(item)
|
|
9929
|
+
self._Configs.append(obj)
|
|
9930
|
+
self._TotalCount = params.get("TotalCount")
|
|
9931
|
+
self._RequestId = params.get("RequestId")
|
|
9932
|
+
|
|
9933
|
+
|
|
9934
|
+
class DescribeConsoleSharingListRequest(AbstractModel):
|
|
9935
|
+
"""DescribeConsoleSharingList请求参数结构体
|
|
9936
|
+
|
|
9937
|
+
"""
|
|
9938
|
+
|
|
9939
|
+
|
|
9940
|
+
class DescribeConsoleSharingListResponse(AbstractModel):
|
|
9941
|
+
"""DescribeConsoleSharingList返回参数结构体
|
|
9386
9942
|
|
|
9387
9943
|
"""
|
|
9388
9944
|
|
|
9389
9945
|
def __init__(self):
|
|
9390
9946
|
r"""
|
|
9391
|
-
:param
|
|
9392
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9393
|
-
:type Configs: list of ConfigInfo
|
|
9394
|
-
:param _TotalCount: 过滤到的总数目
|
|
9947
|
+
:param _TotalCount: 分页的总数目
|
|
9395
9948
|
:type TotalCount: int
|
|
9396
9949
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9397
9950
|
:type RequestId: str
|
|
9398
9951
|
"""
|
|
9399
|
-
self._Configs = None
|
|
9400
9952
|
self._TotalCount = None
|
|
9401
9953
|
self._RequestId = None
|
|
9402
9954
|
|
|
9403
|
-
@property
|
|
9404
|
-
def Configs(self):
|
|
9405
|
-
return self._Configs
|
|
9406
|
-
|
|
9407
|
-
@Configs.setter
|
|
9408
|
-
def Configs(self, Configs):
|
|
9409
|
-
self._Configs = Configs
|
|
9410
|
-
|
|
9411
9955
|
@property
|
|
9412
9956
|
def TotalCount(self):
|
|
9413
9957
|
return self._TotalCount
|
|
@@ -9426,12 +9970,6 @@ class DescribeConfigsResponse(AbstractModel):
|
|
|
9426
9970
|
|
|
9427
9971
|
|
|
9428
9972
|
def _deserialize(self, params):
|
|
9429
|
-
if params.get("Configs") is not None:
|
|
9430
|
-
self._Configs = []
|
|
9431
|
-
for item in params.get("Configs"):
|
|
9432
|
-
obj = ConfigInfo()
|
|
9433
|
-
obj._deserialize(item)
|
|
9434
|
-
self._Configs.append(obj)
|
|
9435
9973
|
self._TotalCount = params.get("TotalCount")
|
|
9436
9974
|
self._RequestId = params.get("RequestId")
|
|
9437
9975
|
|
|
@@ -9665,6 +10203,62 @@ class DescribeDashboardSubscribesRequest(AbstractModel):
|
|
|
9665
10203
|
|
|
9666
10204
|
"""
|
|
9667
10205
|
|
|
10206
|
+
def __init__(self):
|
|
10207
|
+
r"""
|
|
10208
|
+
:param _Filters: <br><li/> dashboardId:按照【仪表盘id】进行过滤。类型:String必选:否<br><br><li/> 每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
10209
|
+
:type Filters: list of Filter
|
|
10210
|
+
:param _Offset: 分页的偏移量,默认值为0。
|
|
10211
|
+
:type Offset: int
|
|
10212
|
+
:param _Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
10213
|
+
:type Limit: int
|
|
10214
|
+
"""
|
|
10215
|
+
self._Filters = None
|
|
10216
|
+
self._Offset = None
|
|
10217
|
+
self._Limit = None
|
|
10218
|
+
|
|
10219
|
+
@property
|
|
10220
|
+
def Filters(self):
|
|
10221
|
+
return self._Filters
|
|
10222
|
+
|
|
10223
|
+
@Filters.setter
|
|
10224
|
+
def Filters(self, Filters):
|
|
10225
|
+
self._Filters = Filters
|
|
10226
|
+
|
|
10227
|
+
@property
|
|
10228
|
+
def Offset(self):
|
|
10229
|
+
return self._Offset
|
|
10230
|
+
|
|
10231
|
+
@Offset.setter
|
|
10232
|
+
def Offset(self, Offset):
|
|
10233
|
+
self._Offset = Offset
|
|
10234
|
+
|
|
10235
|
+
@property
|
|
10236
|
+
def Limit(self):
|
|
10237
|
+
return self._Limit
|
|
10238
|
+
|
|
10239
|
+
@Limit.setter
|
|
10240
|
+
def Limit(self, Limit):
|
|
10241
|
+
self._Limit = Limit
|
|
10242
|
+
|
|
10243
|
+
|
|
10244
|
+
def _deserialize(self, params):
|
|
10245
|
+
if params.get("Filters") is not None:
|
|
10246
|
+
self._Filters = []
|
|
10247
|
+
for item in params.get("Filters"):
|
|
10248
|
+
obj = Filter()
|
|
10249
|
+
obj._deserialize(item)
|
|
10250
|
+
self._Filters.append(obj)
|
|
10251
|
+
self._Offset = params.get("Offset")
|
|
10252
|
+
self._Limit = params.get("Limit")
|
|
10253
|
+
memeber_set = set(params.keys())
|
|
10254
|
+
for name, value in vars(self).items():
|
|
10255
|
+
property_name = name[1:]
|
|
10256
|
+
if property_name in memeber_set:
|
|
10257
|
+
memeber_set.remove(property_name)
|
|
10258
|
+
if len(memeber_set) > 0:
|
|
10259
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10260
|
+
|
|
10261
|
+
|
|
9668
10262
|
|
|
9669
10263
|
class DescribeDashboardSubscribesResponse(AbstractModel):
|
|
9670
10264
|
"""DescribeDashboardSubscribes返回参数结构体
|
|
@@ -9837,25 +10431,31 @@ class DescribeDataTransformInfoRequest(AbstractModel):
|
|
|
9837
10431
|
|
|
9838
10432
|
def __init__(self):
|
|
9839
10433
|
r"""
|
|
9840
|
-
:param _Filters:
|
|
9841
|
-
|
|
10434
|
+
:param _Filters: - taskName
|
|
9842
10435
|
按照【加工任务名称】进行过滤。
|
|
9843
10436
|
类型:String
|
|
9844
|
-
|
|
9845
10437
|
必选:否
|
|
9846
10438
|
|
|
9847
|
-
|
|
9848
|
-
|
|
10439
|
+
- taskId
|
|
9849
10440
|
按照【加工任务id】进行过滤。
|
|
9850
10441
|
类型:String
|
|
9851
|
-
|
|
9852
10442
|
必选:否
|
|
9853
10443
|
|
|
9854
|
-
|
|
9855
|
-
|
|
10444
|
+
- topicId
|
|
9856
10445
|
按照【源topicId】进行过滤。
|
|
9857
10446
|
类型:String
|
|
9858
|
-
|
|
10447
|
+
必选:否
|
|
10448
|
+
- status
|
|
10449
|
+
按照【 任务运行状态】进行过滤。 1:准备中,2:运行中,3:停止中,4:已停止
|
|
10450
|
+
类型:String
|
|
10451
|
+
必选:否
|
|
10452
|
+
- hasServiceLog
|
|
10453
|
+
按照【是否开启服务日志】进行过滤。 1:未开启,2:已开启
|
|
10454
|
+
类型:String
|
|
10455
|
+
必选:否
|
|
10456
|
+
- dstTopicType
|
|
10457
|
+
按照【目标topic类型】进行过滤。 1:固定,2:动态
|
|
10458
|
+
类型:String
|
|
9859
10459
|
必选:否
|
|
9860
10460
|
|
|
9861
10461
|
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
@@ -16203,6 +16803,76 @@ class ModifyConfigResponse(AbstractModel):
|
|
|
16203
16803
|
self._RequestId = params.get("RequestId")
|
|
16204
16804
|
|
|
16205
16805
|
|
|
16806
|
+
class ModifyConsoleSharingRequest(AbstractModel):
|
|
16807
|
+
"""ModifyConsoleSharing请求参数结构体
|
|
16808
|
+
|
|
16809
|
+
"""
|
|
16810
|
+
|
|
16811
|
+
def __init__(self):
|
|
16812
|
+
r"""
|
|
16813
|
+
:param _SharingId: 免密分享链接Id
|
|
16814
|
+
:type SharingId: str
|
|
16815
|
+
:param _DurationMilliseconds: 指定分享链接有效期,单位:毫秒,最长可设定有效期为30天
|
|
16816
|
+
:type DurationMilliseconds: int
|
|
16817
|
+
"""
|
|
16818
|
+
self._SharingId = None
|
|
16819
|
+
self._DurationMilliseconds = None
|
|
16820
|
+
|
|
16821
|
+
@property
|
|
16822
|
+
def SharingId(self):
|
|
16823
|
+
return self._SharingId
|
|
16824
|
+
|
|
16825
|
+
@SharingId.setter
|
|
16826
|
+
def SharingId(self, SharingId):
|
|
16827
|
+
self._SharingId = SharingId
|
|
16828
|
+
|
|
16829
|
+
@property
|
|
16830
|
+
def DurationMilliseconds(self):
|
|
16831
|
+
return self._DurationMilliseconds
|
|
16832
|
+
|
|
16833
|
+
@DurationMilliseconds.setter
|
|
16834
|
+
def DurationMilliseconds(self, DurationMilliseconds):
|
|
16835
|
+
self._DurationMilliseconds = DurationMilliseconds
|
|
16836
|
+
|
|
16837
|
+
|
|
16838
|
+
def _deserialize(self, params):
|
|
16839
|
+
self._SharingId = params.get("SharingId")
|
|
16840
|
+
self._DurationMilliseconds = params.get("DurationMilliseconds")
|
|
16841
|
+
memeber_set = set(params.keys())
|
|
16842
|
+
for name, value in vars(self).items():
|
|
16843
|
+
property_name = name[1:]
|
|
16844
|
+
if property_name in memeber_set:
|
|
16845
|
+
memeber_set.remove(property_name)
|
|
16846
|
+
if len(memeber_set) > 0:
|
|
16847
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16848
|
+
|
|
16849
|
+
|
|
16850
|
+
|
|
16851
|
+
class ModifyConsoleSharingResponse(AbstractModel):
|
|
16852
|
+
"""ModifyConsoleSharing返回参数结构体
|
|
16853
|
+
|
|
16854
|
+
"""
|
|
16855
|
+
|
|
16856
|
+
def __init__(self):
|
|
16857
|
+
r"""
|
|
16858
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16859
|
+
:type RequestId: str
|
|
16860
|
+
"""
|
|
16861
|
+
self._RequestId = None
|
|
16862
|
+
|
|
16863
|
+
@property
|
|
16864
|
+
def RequestId(self):
|
|
16865
|
+
return self._RequestId
|
|
16866
|
+
|
|
16867
|
+
@RequestId.setter
|
|
16868
|
+
def RequestId(self, RequestId):
|
|
16869
|
+
self._RequestId = RequestId
|
|
16870
|
+
|
|
16871
|
+
|
|
16872
|
+
def _deserialize(self, params):
|
|
16873
|
+
self._RequestId = params.get("RequestId")
|
|
16874
|
+
|
|
16875
|
+
|
|
16206
16876
|
class ModifyConsumerRequest(AbstractModel):
|
|
16207
16877
|
"""ModifyConsumer请求参数结构体
|
|
16208
16878
|
|
|
@@ -16524,6 +17194,83 @@ class ModifyDashboardSubscribeRequest(AbstractModel):
|
|
|
16524
17194
|
|
|
16525
17195
|
"""
|
|
16526
17196
|
|
|
17197
|
+
def __init__(self):
|
|
17198
|
+
r"""
|
|
17199
|
+
:param _Id: 仪表盘订阅id。
|
|
17200
|
+
:type Id: int
|
|
17201
|
+
:param _DashboardId: 仪表盘id。
|
|
17202
|
+
:type DashboardId: str
|
|
17203
|
+
:param _Name: 仪表盘订阅名称。
|
|
17204
|
+
:type Name: str
|
|
17205
|
+
:param _Cron: 订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。
|
|
17206
|
+
:type Cron: str
|
|
17207
|
+
:param _SubscribeData: 仪表盘订阅数据。
|
|
17208
|
+
:type SubscribeData: :class:`tencentcloud.cls.v20201016.models.DashboardSubscribeData`
|
|
17209
|
+
"""
|
|
17210
|
+
self._Id = None
|
|
17211
|
+
self._DashboardId = None
|
|
17212
|
+
self._Name = None
|
|
17213
|
+
self._Cron = None
|
|
17214
|
+
self._SubscribeData = None
|
|
17215
|
+
|
|
17216
|
+
@property
|
|
17217
|
+
def Id(self):
|
|
17218
|
+
return self._Id
|
|
17219
|
+
|
|
17220
|
+
@Id.setter
|
|
17221
|
+
def Id(self, Id):
|
|
17222
|
+
self._Id = Id
|
|
17223
|
+
|
|
17224
|
+
@property
|
|
17225
|
+
def DashboardId(self):
|
|
17226
|
+
return self._DashboardId
|
|
17227
|
+
|
|
17228
|
+
@DashboardId.setter
|
|
17229
|
+
def DashboardId(self, DashboardId):
|
|
17230
|
+
self._DashboardId = DashboardId
|
|
17231
|
+
|
|
17232
|
+
@property
|
|
17233
|
+
def Name(self):
|
|
17234
|
+
return self._Name
|
|
17235
|
+
|
|
17236
|
+
@Name.setter
|
|
17237
|
+
def Name(self, Name):
|
|
17238
|
+
self._Name = Name
|
|
17239
|
+
|
|
17240
|
+
@property
|
|
17241
|
+
def Cron(self):
|
|
17242
|
+
return self._Cron
|
|
17243
|
+
|
|
17244
|
+
@Cron.setter
|
|
17245
|
+
def Cron(self, Cron):
|
|
17246
|
+
self._Cron = Cron
|
|
17247
|
+
|
|
17248
|
+
@property
|
|
17249
|
+
def SubscribeData(self):
|
|
17250
|
+
return self._SubscribeData
|
|
17251
|
+
|
|
17252
|
+
@SubscribeData.setter
|
|
17253
|
+
def SubscribeData(self, SubscribeData):
|
|
17254
|
+
self._SubscribeData = SubscribeData
|
|
17255
|
+
|
|
17256
|
+
|
|
17257
|
+
def _deserialize(self, params):
|
|
17258
|
+
self._Id = params.get("Id")
|
|
17259
|
+
self._DashboardId = params.get("DashboardId")
|
|
17260
|
+
self._Name = params.get("Name")
|
|
17261
|
+
self._Cron = params.get("Cron")
|
|
17262
|
+
if params.get("SubscribeData") is not None:
|
|
17263
|
+
self._SubscribeData = DashboardSubscribeData()
|
|
17264
|
+
self._SubscribeData._deserialize(params.get("SubscribeData"))
|
|
17265
|
+
memeber_set = set(params.keys())
|
|
17266
|
+
for name, value in vars(self).items():
|
|
17267
|
+
property_name = name[1:]
|
|
17268
|
+
if property_name in memeber_set:
|
|
17269
|
+
memeber_set.remove(property_name)
|
|
17270
|
+
if len(memeber_set) > 0:
|
|
17271
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17272
|
+
|
|
17273
|
+
|
|
16527
17274
|
|
|
16528
17275
|
class ModifyDashboardSubscribeResponse(AbstractModel):
|
|
16529
17276
|
"""ModifyDashboardSubscribe返回参数结构体
|
|
@@ -17942,10 +18689,11 @@ class MonitorTime(AbstractModel):
|
|
|
17942
18689
|
|
|
17943
18690
|
def __init__(self):
|
|
17944
18691
|
r"""
|
|
17945
|
-
:param _Type: 执行周期, 可选值:`Period`、`Fixed`。
|
|
18692
|
+
:param _Type: 执行周期, 可选值:`Period`、`Fixed`、`Cron`。
|
|
17946
18693
|
|
|
17947
18694
|
- Period:固定频率
|
|
17948
18695
|
- Fixed:固定时间
|
|
18696
|
+
- Cron:Cron表达式
|
|
17949
18697
|
:type Type: str
|
|
17950
18698
|
:param _Time: 执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。
|
|
17951
18699
|
当type为`Period`,`Fixed`时,time字段生效。
|
|
@@ -20196,16 +20944,26 @@ class SearchLogRequest(AbstractModel):
|
|
|
20196
20944
|
- 检索单个日志主题时请使用TopicId。
|
|
20197
20945
|
- TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。
|
|
20198
20946
|
:type Topics: list of MultiTopicSearchInformation
|
|
20199
|
-
:param
|
|
20947
|
+
:param _Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
|
20948
|
+
注意:
|
|
20949
|
+
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
20950
|
+
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
|
20951
|
+
:type Sort: str
|
|
20952
|
+
:param _Limit: 表示单次查询返回的原始日志条数,默认为100,最大值为1000。
|
|
20200
20953
|
注意:
|
|
20201
20954
|
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
20202
20955
|
* SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
20956
|
+
|
|
20957
|
+
可通过两种方式获取后续更多日志:
|
|
20958
|
+
* Context:透传上次接口返回的Context值,获取后续更多日志,总计最多可获取1万条原始日志
|
|
20959
|
+
* Offset:偏移量,表示从第几行开始返回原始日志,无日志条数限制
|
|
20203
20960
|
:type Limit: int
|
|
20204
|
-
:param
|
|
20961
|
+
:param _Offset: 查询原始日志的偏移量,表示从第几行开始返回原始日志,默认为0。
|
|
20205
20962
|
注意:
|
|
20206
20963
|
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
20207
|
-
*
|
|
20208
|
-
|
|
20964
|
+
* 不能与Context参数同时使用
|
|
20965
|
+
* 仅适用于单日志主题检索
|
|
20966
|
+
:type Offset: int
|
|
20209
20967
|
:param _Context: 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
|
|
20210
20968
|
注意:
|
|
20211
20969
|
* 透传该参数时,请勿修改除该参数外的其它参数
|
|
@@ -20229,8 +20987,9 @@ class SearchLogRequest(AbstractModel):
|
|
|
20229
20987
|
self._SyntaxRule = None
|
|
20230
20988
|
self._TopicId = None
|
|
20231
20989
|
self._Topics = None
|
|
20232
|
-
self._Limit = None
|
|
20233
20990
|
self._Sort = None
|
|
20991
|
+
self._Limit = None
|
|
20992
|
+
self._Offset = None
|
|
20234
20993
|
self._Context = None
|
|
20235
20994
|
self._SamplingRate = None
|
|
20236
20995
|
self._UseNewAnalysis = None
|
|
@@ -20283,6 +21042,14 @@ class SearchLogRequest(AbstractModel):
|
|
|
20283
21042
|
def Topics(self, Topics):
|
|
20284
21043
|
self._Topics = Topics
|
|
20285
21044
|
|
|
21045
|
+
@property
|
|
21046
|
+
def Sort(self):
|
|
21047
|
+
return self._Sort
|
|
21048
|
+
|
|
21049
|
+
@Sort.setter
|
|
21050
|
+
def Sort(self, Sort):
|
|
21051
|
+
self._Sort = Sort
|
|
21052
|
+
|
|
20286
21053
|
@property
|
|
20287
21054
|
def Limit(self):
|
|
20288
21055
|
return self._Limit
|
|
@@ -20292,12 +21059,12 @@ class SearchLogRequest(AbstractModel):
|
|
|
20292
21059
|
self._Limit = Limit
|
|
20293
21060
|
|
|
20294
21061
|
@property
|
|
20295
|
-
def
|
|
20296
|
-
return self.
|
|
21062
|
+
def Offset(self):
|
|
21063
|
+
return self._Offset
|
|
20297
21064
|
|
|
20298
|
-
@
|
|
20299
|
-
def
|
|
20300
|
-
self.
|
|
21065
|
+
@Offset.setter
|
|
21066
|
+
def Offset(self, Offset):
|
|
21067
|
+
self._Offset = Offset
|
|
20301
21068
|
|
|
20302
21069
|
@property
|
|
20303
21070
|
def Context(self):
|
|
@@ -20336,8 +21103,9 @@ class SearchLogRequest(AbstractModel):
|
|
|
20336
21103
|
obj = MultiTopicSearchInformation()
|
|
20337
21104
|
obj._deserialize(item)
|
|
20338
21105
|
self._Topics.append(obj)
|
|
20339
|
-
self._Limit = params.get("Limit")
|
|
20340
21106
|
self._Sort = params.get("Sort")
|
|
21107
|
+
self._Limit = params.get("Limit")
|
|
21108
|
+
self._Offset = params.get("Offset")
|
|
20341
21109
|
self._Context = params.get("Context")
|
|
20342
21110
|
self._SamplingRate = params.get("SamplingRate")
|
|
20343
21111
|
self._UseNewAnalysis = params.get("UseNewAnalysis")
|
|
@@ -21207,7 +21975,6 @@ id,地域,简称信息如下:
|
|
|
21207
21975
|
- 1, 广州,ap-guangzhou
|
|
21208
21976
|
- 4, 上海,ap-shanghai
|
|
21209
21977
|
- 5, 中国香港,ap-hongkong
|
|
21210
|
-
- 6, 多伦多,na-toronto
|
|
21211
21978
|
- 7, 上海金融,ap-shanghai-fsi
|
|
21212
21979
|
- 8, 北京,ap-beijing
|
|
21213
21980
|
- 9, 新加坡,ap-singapore
|
|
@@ -21544,7 +22311,7 @@ class UploadLogRequest(AbstractModel):
|
|
|
21544
22311
|
r"""
|
|
21545
22312
|
:param _TopicId: 主题id
|
|
21546
22313
|
:type TopicId: str
|
|
21547
|
-
:param _HashKey:
|
|
22314
|
+
:param _HashKey: 该参数已废弃,请勿使用
|
|
21548
22315
|
:type HashKey: str
|
|
21549
22316
|
:param _CompressType: 压缩方法
|
|
21550
22317
|
:type CompressType: str
|
|
@@ -21563,10 +22330,14 @@ class UploadLogRequest(AbstractModel):
|
|
|
21563
22330
|
|
|
21564
22331
|
@property
|
|
21565
22332
|
def HashKey(self):
|
|
22333
|
+
warnings.warn("parameter `HashKey` is deprecated", DeprecationWarning)
|
|
22334
|
+
|
|
21566
22335
|
return self._HashKey
|
|
21567
22336
|
|
|
21568
22337
|
@HashKey.setter
|
|
21569
22338
|
def HashKey(self, HashKey):
|
|
22339
|
+
warnings.warn("parameter `HashKey` is deprecated", DeprecationWarning)
|
|
22340
|
+
|
|
21570
22341
|
self._HashKey = HashKey
|
|
21571
22342
|
|
|
21572
22343
|
@property
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1227
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1196
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|