tencentcloud-sdk-python-cls 3.1.17__tar.gz → 3.1.31__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.1.17 → tencentcloud_sdk_python_cls-3.1.31}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud/cls/v20201016/cls_client.py +69 -0
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud/cls/v20201016/cls_client_async.py +54 -0
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud/cls/v20201016/models.py +292 -0
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cls-3.1.31/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cls-3.1.17/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.17 → tencentcloud_sdk_python_cls-3.1.31}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.31
|
|
4
4
|
Summary: Tencent Cloud Cls SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.31
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.31,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cls SDK for Python',
|
|
@@ -401,6 +401,29 @@ class ClsClient(AbstractClient):
|
|
|
401
401
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
402
402
|
|
|
403
403
|
|
|
404
|
+
def CreateDashboard(self, request):
|
|
405
|
+
r"""本接口用于创建仪表盘
|
|
406
|
+
|
|
407
|
+
:param request: Request instance for CreateDashboard.
|
|
408
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.CreateDashboardRequest`
|
|
409
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.CreateDashboardResponse`
|
|
410
|
+
|
|
411
|
+
"""
|
|
412
|
+
try:
|
|
413
|
+
params = request._serialize()
|
|
414
|
+
headers = request.headers
|
|
415
|
+
body = self.call("CreateDashboard", params, headers=headers)
|
|
416
|
+
response = json.loads(body)
|
|
417
|
+
model = models.CreateDashboardResponse()
|
|
418
|
+
model._deserialize(response["Response"])
|
|
419
|
+
return model
|
|
420
|
+
except Exception as e:
|
|
421
|
+
if isinstance(e, TencentCloudSDKException):
|
|
422
|
+
raise
|
|
423
|
+
else:
|
|
424
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
425
|
+
|
|
426
|
+
|
|
404
427
|
def CreateDashboardSubscribe(self, request):
|
|
405
428
|
r"""此接口用于创建仪表盘订阅
|
|
406
429
|
|
|
@@ -1091,6 +1114,29 @@ class ClsClient(AbstractClient):
|
|
|
1091
1114
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1092
1115
|
|
|
1093
1116
|
|
|
1117
|
+
def DeleteDashboard(self, request):
|
|
1118
|
+
r"""本接口用于删除仪表盘
|
|
1119
|
+
|
|
1120
|
+
:param request: Request instance for DeleteDashboard.
|
|
1121
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.DeleteDashboardRequest`
|
|
1122
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DeleteDashboardResponse`
|
|
1123
|
+
|
|
1124
|
+
"""
|
|
1125
|
+
try:
|
|
1126
|
+
params = request._serialize()
|
|
1127
|
+
headers = request.headers
|
|
1128
|
+
body = self.call("DeleteDashboard", params, headers=headers)
|
|
1129
|
+
response = json.loads(body)
|
|
1130
|
+
model = models.DeleteDashboardResponse()
|
|
1131
|
+
model._deserialize(response["Response"])
|
|
1132
|
+
return model
|
|
1133
|
+
except Exception as e:
|
|
1134
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1135
|
+
raise
|
|
1136
|
+
else:
|
|
1137
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1138
|
+
|
|
1139
|
+
|
|
1094
1140
|
def DeleteDashboardSubscribe(self, request):
|
|
1095
1141
|
r"""此接口用于删除仪表盘订阅
|
|
1096
1142
|
|
|
@@ -3024,6 +3070,29 @@ class ClsClient(AbstractClient):
|
|
|
3024
3070
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3025
3071
|
|
|
3026
3072
|
|
|
3073
|
+
def ModifyDashboard(self, request):
|
|
3074
|
+
r"""本接口用于修改仪表盘
|
|
3075
|
+
|
|
3076
|
+
:param request: Request instance for ModifyDashboard.
|
|
3077
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.ModifyDashboardRequest`
|
|
3078
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.ModifyDashboardResponse`
|
|
3079
|
+
|
|
3080
|
+
"""
|
|
3081
|
+
try:
|
|
3082
|
+
params = request._serialize()
|
|
3083
|
+
headers = request.headers
|
|
3084
|
+
body = self.call("ModifyDashboard", params, headers=headers)
|
|
3085
|
+
response = json.loads(body)
|
|
3086
|
+
model = models.ModifyDashboardResponse()
|
|
3087
|
+
model._deserialize(response["Response"])
|
|
3088
|
+
return model
|
|
3089
|
+
except Exception as e:
|
|
3090
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3091
|
+
raise
|
|
3092
|
+
else:
|
|
3093
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3094
|
+
|
|
3095
|
+
|
|
3027
3096
|
def ModifyDashboardSubscribe(self, request):
|
|
3028
3097
|
r"""此接口用于修改仪表盘订阅
|
|
3029
3098
|
|
|
@@ -320,6 +320,24 @@ class ClsClient(AbstractClient):
|
|
|
320
320
|
|
|
321
321
|
return await self.call_and_deserialize(**kwargs)
|
|
322
322
|
|
|
323
|
+
async def CreateDashboard(
|
|
324
|
+
self,
|
|
325
|
+
request: models.CreateDashboardRequest,
|
|
326
|
+
opts: Dict = None,
|
|
327
|
+
) -> models.CreateDashboardResponse:
|
|
328
|
+
"""
|
|
329
|
+
本接口用于创建仪表盘
|
|
330
|
+
"""
|
|
331
|
+
|
|
332
|
+
kwargs = {}
|
|
333
|
+
kwargs["action"] = "CreateDashboard"
|
|
334
|
+
kwargs["params"] = request._serialize()
|
|
335
|
+
kwargs["resp_cls"] = models.CreateDashboardResponse
|
|
336
|
+
kwargs["headers"] = request.headers
|
|
337
|
+
kwargs["opts"] = opts or {}
|
|
338
|
+
|
|
339
|
+
return await self.call_and_deserialize(**kwargs)
|
|
340
|
+
|
|
323
341
|
async def CreateDashboardSubscribe(
|
|
324
342
|
self,
|
|
325
343
|
request: models.CreateDashboardSubscribeRequest,
|
|
@@ -860,6 +878,24 @@ class ClsClient(AbstractClient):
|
|
|
860
878
|
|
|
861
879
|
return await self.call_and_deserialize(**kwargs)
|
|
862
880
|
|
|
881
|
+
async def DeleteDashboard(
|
|
882
|
+
self,
|
|
883
|
+
request: models.DeleteDashboardRequest,
|
|
884
|
+
opts: Dict = None,
|
|
885
|
+
) -> models.DeleteDashboardResponse:
|
|
886
|
+
"""
|
|
887
|
+
本接口用于删除仪表盘
|
|
888
|
+
"""
|
|
889
|
+
|
|
890
|
+
kwargs = {}
|
|
891
|
+
kwargs["action"] = "DeleteDashboard"
|
|
892
|
+
kwargs["params"] = request._serialize()
|
|
893
|
+
kwargs["resp_cls"] = models.DeleteDashboardResponse
|
|
894
|
+
kwargs["headers"] = request.headers
|
|
895
|
+
kwargs["opts"] = opts or {}
|
|
896
|
+
|
|
897
|
+
return await self.call_and_deserialize(**kwargs)
|
|
898
|
+
|
|
863
899
|
async def DeleteDashboardSubscribe(
|
|
864
900
|
self,
|
|
865
901
|
request: models.DeleteDashboardSubscribeRequest,
|
|
@@ -2373,6 +2409,24 @@ class ClsClient(AbstractClient):
|
|
|
2373
2409
|
|
|
2374
2410
|
return await self.call_and_deserialize(**kwargs)
|
|
2375
2411
|
|
|
2412
|
+
async def ModifyDashboard(
|
|
2413
|
+
self,
|
|
2414
|
+
request: models.ModifyDashboardRequest,
|
|
2415
|
+
opts: Dict = None,
|
|
2416
|
+
) -> models.ModifyDashboardResponse:
|
|
2417
|
+
"""
|
|
2418
|
+
本接口用于修改仪表盘
|
|
2419
|
+
"""
|
|
2420
|
+
|
|
2421
|
+
kwargs = {}
|
|
2422
|
+
kwargs["action"] = "ModifyDashboard"
|
|
2423
|
+
kwargs["params"] = request._serialize()
|
|
2424
|
+
kwargs["resp_cls"] = models.ModifyDashboardResponse
|
|
2425
|
+
kwargs["headers"] = request.headers
|
|
2426
|
+
kwargs["opts"] = opts or {}
|
|
2427
|
+
|
|
2428
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2429
|
+
|
|
2376
2430
|
async def ModifyDashboardSubscribe(
|
|
2377
2431
|
self,
|
|
2378
2432
|
request: models.ModifyDashboardSubscribeRequest,
|
|
@@ -8529,6 +8529,120 @@ class CreateCosRechargeResponse(AbstractModel):
|
|
|
8529
8529
|
self._RequestId = params.get("RequestId")
|
|
8530
8530
|
|
|
8531
8531
|
|
|
8532
|
+
class CreateDashboardRequest(AbstractModel):
|
|
8533
|
+
r"""CreateDashboard请求参数结构体
|
|
8534
|
+
|
|
8535
|
+
"""
|
|
8536
|
+
|
|
8537
|
+
def __init__(self):
|
|
8538
|
+
r"""
|
|
8539
|
+
:param _DashboardName: 仪表盘名称
|
|
8540
|
+
:type DashboardName: str
|
|
8541
|
+
:param _Data: 仪表盘配置数据
|
|
8542
|
+
:type Data: str
|
|
8543
|
+
:param _Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
|
|
8544
|
+
:type Tags: list of Tag
|
|
8545
|
+
"""
|
|
8546
|
+
self._DashboardName = None
|
|
8547
|
+
self._Data = None
|
|
8548
|
+
self._Tags = None
|
|
8549
|
+
|
|
8550
|
+
@property
|
|
8551
|
+
def DashboardName(self):
|
|
8552
|
+
r"""仪表盘名称
|
|
8553
|
+
:rtype: str
|
|
8554
|
+
"""
|
|
8555
|
+
return self._DashboardName
|
|
8556
|
+
|
|
8557
|
+
@DashboardName.setter
|
|
8558
|
+
def DashboardName(self, DashboardName):
|
|
8559
|
+
self._DashboardName = DashboardName
|
|
8560
|
+
|
|
8561
|
+
@property
|
|
8562
|
+
def Data(self):
|
|
8563
|
+
r"""仪表盘配置数据
|
|
8564
|
+
:rtype: str
|
|
8565
|
+
"""
|
|
8566
|
+
return self._Data
|
|
8567
|
+
|
|
8568
|
+
@Data.setter
|
|
8569
|
+
def Data(self, Data):
|
|
8570
|
+
self._Data = Data
|
|
8571
|
+
|
|
8572
|
+
@property
|
|
8573
|
+
def Tags(self):
|
|
8574
|
+
r"""标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
|
|
8575
|
+
:rtype: list of Tag
|
|
8576
|
+
"""
|
|
8577
|
+
return self._Tags
|
|
8578
|
+
|
|
8579
|
+
@Tags.setter
|
|
8580
|
+
def Tags(self, Tags):
|
|
8581
|
+
self._Tags = Tags
|
|
8582
|
+
|
|
8583
|
+
|
|
8584
|
+
def _deserialize(self, params):
|
|
8585
|
+
self._DashboardName = params.get("DashboardName")
|
|
8586
|
+
self._Data = params.get("Data")
|
|
8587
|
+
if params.get("Tags") is not None:
|
|
8588
|
+
self._Tags = []
|
|
8589
|
+
for item in params.get("Tags"):
|
|
8590
|
+
obj = Tag()
|
|
8591
|
+
obj._deserialize(item)
|
|
8592
|
+
self._Tags.append(obj)
|
|
8593
|
+
memeber_set = set(params.keys())
|
|
8594
|
+
for name, value in vars(self).items():
|
|
8595
|
+
property_name = name[1:]
|
|
8596
|
+
if property_name in memeber_set:
|
|
8597
|
+
memeber_set.remove(property_name)
|
|
8598
|
+
if len(memeber_set) > 0:
|
|
8599
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8600
|
+
|
|
8601
|
+
|
|
8602
|
+
|
|
8603
|
+
class CreateDashboardResponse(AbstractModel):
|
|
8604
|
+
r"""CreateDashboard返回参数结构体
|
|
8605
|
+
|
|
8606
|
+
"""
|
|
8607
|
+
|
|
8608
|
+
def __init__(self):
|
|
8609
|
+
r"""
|
|
8610
|
+
:param _DashboardId: 仪表盘id
|
|
8611
|
+
:type DashboardId: str
|
|
8612
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8613
|
+
:type RequestId: str
|
|
8614
|
+
"""
|
|
8615
|
+
self._DashboardId = None
|
|
8616
|
+
self._RequestId = None
|
|
8617
|
+
|
|
8618
|
+
@property
|
|
8619
|
+
def DashboardId(self):
|
|
8620
|
+
r"""仪表盘id
|
|
8621
|
+
:rtype: str
|
|
8622
|
+
"""
|
|
8623
|
+
return self._DashboardId
|
|
8624
|
+
|
|
8625
|
+
@DashboardId.setter
|
|
8626
|
+
def DashboardId(self, DashboardId):
|
|
8627
|
+
self._DashboardId = DashboardId
|
|
8628
|
+
|
|
8629
|
+
@property
|
|
8630
|
+
def RequestId(self):
|
|
8631
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8632
|
+
:rtype: str
|
|
8633
|
+
"""
|
|
8634
|
+
return self._RequestId
|
|
8635
|
+
|
|
8636
|
+
@RequestId.setter
|
|
8637
|
+
def RequestId(self, RequestId):
|
|
8638
|
+
self._RequestId = RequestId
|
|
8639
|
+
|
|
8640
|
+
|
|
8641
|
+
def _deserialize(self, params):
|
|
8642
|
+
self._DashboardId = params.get("DashboardId")
|
|
8643
|
+
self._RequestId = params.get("RequestId")
|
|
8644
|
+
|
|
8645
|
+
|
|
8532
8646
|
class CreateDashboardSubscribeRequest(AbstractModel):
|
|
8533
8647
|
r"""CreateDashboardSubscribe请求参数结构体
|
|
8534
8648
|
|
|
@@ -15177,6 +15291,70 @@ class DeleteCosRechargeResponse(AbstractModel):
|
|
|
15177
15291
|
self._RequestId = params.get("RequestId")
|
|
15178
15292
|
|
|
15179
15293
|
|
|
15294
|
+
class DeleteDashboardRequest(AbstractModel):
|
|
15295
|
+
r"""DeleteDashboard请求参数结构体
|
|
15296
|
+
|
|
15297
|
+
"""
|
|
15298
|
+
|
|
15299
|
+
def __init__(self):
|
|
15300
|
+
r"""
|
|
15301
|
+
:param _DashboardId: 仪表盘id
|
|
15302
|
+
:type DashboardId: str
|
|
15303
|
+
"""
|
|
15304
|
+
self._DashboardId = None
|
|
15305
|
+
|
|
15306
|
+
@property
|
|
15307
|
+
def DashboardId(self):
|
|
15308
|
+
r"""仪表盘id
|
|
15309
|
+
:rtype: str
|
|
15310
|
+
"""
|
|
15311
|
+
return self._DashboardId
|
|
15312
|
+
|
|
15313
|
+
@DashboardId.setter
|
|
15314
|
+
def DashboardId(self, DashboardId):
|
|
15315
|
+
self._DashboardId = DashboardId
|
|
15316
|
+
|
|
15317
|
+
|
|
15318
|
+
def _deserialize(self, params):
|
|
15319
|
+
self._DashboardId = params.get("DashboardId")
|
|
15320
|
+
memeber_set = set(params.keys())
|
|
15321
|
+
for name, value in vars(self).items():
|
|
15322
|
+
property_name = name[1:]
|
|
15323
|
+
if property_name in memeber_set:
|
|
15324
|
+
memeber_set.remove(property_name)
|
|
15325
|
+
if len(memeber_set) > 0:
|
|
15326
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15327
|
+
|
|
15328
|
+
|
|
15329
|
+
|
|
15330
|
+
class DeleteDashboardResponse(AbstractModel):
|
|
15331
|
+
r"""DeleteDashboard返回参数结构体
|
|
15332
|
+
|
|
15333
|
+
"""
|
|
15334
|
+
|
|
15335
|
+
def __init__(self):
|
|
15336
|
+
r"""
|
|
15337
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15338
|
+
:type RequestId: str
|
|
15339
|
+
"""
|
|
15340
|
+
self._RequestId = None
|
|
15341
|
+
|
|
15342
|
+
@property
|
|
15343
|
+
def RequestId(self):
|
|
15344
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15345
|
+
:rtype: str
|
|
15346
|
+
"""
|
|
15347
|
+
return self._RequestId
|
|
15348
|
+
|
|
15349
|
+
@RequestId.setter
|
|
15350
|
+
def RequestId(self, RequestId):
|
|
15351
|
+
self._RequestId = RequestId
|
|
15352
|
+
|
|
15353
|
+
|
|
15354
|
+
def _deserialize(self, params):
|
|
15355
|
+
self._RequestId = params.get("RequestId")
|
|
15356
|
+
|
|
15357
|
+
|
|
15180
15358
|
class DeleteDashboardSubscribeRequest(AbstractModel):
|
|
15181
15359
|
r"""DeleteDashboardSubscribe请求参数结构体
|
|
15182
15360
|
|
|
@@ -34121,6 +34299,120 @@ class ModifyCosRechargeResponse(AbstractModel):
|
|
|
34121
34299
|
self._RequestId = params.get("RequestId")
|
|
34122
34300
|
|
|
34123
34301
|
|
|
34302
|
+
class ModifyDashboardRequest(AbstractModel):
|
|
34303
|
+
r"""ModifyDashboard请求参数结构体
|
|
34304
|
+
|
|
34305
|
+
"""
|
|
34306
|
+
|
|
34307
|
+
def __init__(self):
|
|
34308
|
+
r"""
|
|
34309
|
+
:param _DashboardId: 仪表盘id。通过 [获取仪表盘](https://cloud.tencent.com/document/api/614/95636)接口获取DashboardId。
|
|
34310
|
+
:type DashboardId: str
|
|
34311
|
+
:param _DashboardName: 仪表盘名称
|
|
34312
|
+
:type DashboardName: str
|
|
34313
|
+
:param _Data: 仪表盘配置数据
|
|
34314
|
+
:type Data: str
|
|
34315
|
+
:param _Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
|
|
34316
|
+
:type Tags: list of Tag
|
|
34317
|
+
"""
|
|
34318
|
+
self._DashboardId = None
|
|
34319
|
+
self._DashboardName = None
|
|
34320
|
+
self._Data = None
|
|
34321
|
+
self._Tags = None
|
|
34322
|
+
|
|
34323
|
+
@property
|
|
34324
|
+
def DashboardId(self):
|
|
34325
|
+
r"""仪表盘id。通过 [获取仪表盘](https://cloud.tencent.com/document/api/614/95636)接口获取DashboardId。
|
|
34326
|
+
:rtype: str
|
|
34327
|
+
"""
|
|
34328
|
+
return self._DashboardId
|
|
34329
|
+
|
|
34330
|
+
@DashboardId.setter
|
|
34331
|
+
def DashboardId(self, DashboardId):
|
|
34332
|
+
self._DashboardId = DashboardId
|
|
34333
|
+
|
|
34334
|
+
@property
|
|
34335
|
+
def DashboardName(self):
|
|
34336
|
+
r"""仪表盘名称
|
|
34337
|
+
:rtype: str
|
|
34338
|
+
"""
|
|
34339
|
+
return self._DashboardName
|
|
34340
|
+
|
|
34341
|
+
@DashboardName.setter
|
|
34342
|
+
def DashboardName(self, DashboardName):
|
|
34343
|
+
self._DashboardName = DashboardName
|
|
34344
|
+
|
|
34345
|
+
@property
|
|
34346
|
+
def Data(self):
|
|
34347
|
+
r"""仪表盘配置数据
|
|
34348
|
+
:rtype: str
|
|
34349
|
+
"""
|
|
34350
|
+
return self._Data
|
|
34351
|
+
|
|
34352
|
+
@Data.setter
|
|
34353
|
+
def Data(self, Data):
|
|
34354
|
+
self._Data = Data
|
|
34355
|
+
|
|
34356
|
+
@property
|
|
34357
|
+
def Tags(self):
|
|
34358
|
+
r"""标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
|
|
34359
|
+
:rtype: list of Tag
|
|
34360
|
+
"""
|
|
34361
|
+
return self._Tags
|
|
34362
|
+
|
|
34363
|
+
@Tags.setter
|
|
34364
|
+
def Tags(self, Tags):
|
|
34365
|
+
self._Tags = Tags
|
|
34366
|
+
|
|
34367
|
+
|
|
34368
|
+
def _deserialize(self, params):
|
|
34369
|
+
self._DashboardId = params.get("DashboardId")
|
|
34370
|
+
self._DashboardName = params.get("DashboardName")
|
|
34371
|
+
self._Data = params.get("Data")
|
|
34372
|
+
if params.get("Tags") is not None:
|
|
34373
|
+
self._Tags = []
|
|
34374
|
+
for item in params.get("Tags"):
|
|
34375
|
+
obj = Tag()
|
|
34376
|
+
obj._deserialize(item)
|
|
34377
|
+
self._Tags.append(obj)
|
|
34378
|
+
memeber_set = set(params.keys())
|
|
34379
|
+
for name, value in vars(self).items():
|
|
34380
|
+
property_name = name[1:]
|
|
34381
|
+
if property_name in memeber_set:
|
|
34382
|
+
memeber_set.remove(property_name)
|
|
34383
|
+
if len(memeber_set) > 0:
|
|
34384
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34385
|
+
|
|
34386
|
+
|
|
34387
|
+
|
|
34388
|
+
class ModifyDashboardResponse(AbstractModel):
|
|
34389
|
+
r"""ModifyDashboard返回参数结构体
|
|
34390
|
+
|
|
34391
|
+
"""
|
|
34392
|
+
|
|
34393
|
+
def __init__(self):
|
|
34394
|
+
r"""
|
|
34395
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
34396
|
+
:type RequestId: str
|
|
34397
|
+
"""
|
|
34398
|
+
self._RequestId = None
|
|
34399
|
+
|
|
34400
|
+
@property
|
|
34401
|
+
def RequestId(self):
|
|
34402
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
34403
|
+
:rtype: str
|
|
34404
|
+
"""
|
|
34405
|
+
return self._RequestId
|
|
34406
|
+
|
|
34407
|
+
@RequestId.setter
|
|
34408
|
+
def RequestId(self, RequestId):
|
|
34409
|
+
self._RequestId = RequestId
|
|
34410
|
+
|
|
34411
|
+
|
|
34412
|
+
def _deserialize(self, params):
|
|
34413
|
+
self._RequestId = params.get("RequestId")
|
|
34414
|
+
|
|
34415
|
+
|
|
34124
34416
|
class ModifyDashboardSubscribeRequest(AbstractModel):
|
|
34125
34417
|
r"""ModifyDashboardSubscribe请求参数结构体
|
|
34126
34418
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.31
|
|
4
4
|
Summary: Tencent Cloud Cls SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.31
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.31
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.17
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|