tencentcloud-sdk-python-apm 3.0.1459__py2.py3-none-any.whl → 3.0.1464__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-apm might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/errorcodes.py +6 -0
- tencentcloud/apm/v20210622/models.py +627 -0
- {tencentcloud_sdk_python_apm-3.0.1459.dist-info → tencentcloud_sdk_python_apm-3.0.1464.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_apm-3.0.1464.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_apm-3.0.1459.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_apm-3.0.1459.dist-info → tencentcloud_sdk_python_apm-3.0.1464.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_apm-3.0.1459.dist-info → tencentcloud_sdk_python_apm-3.0.1464.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -118,6 +118,29 @@ class ApmClient(AbstractClient):
|
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
def DescribeApmServiceMetric(self, request):
|
|
122
|
+
r"""获取 APM 应用指标列表
|
|
123
|
+
|
|
124
|
+
:param request: Request instance for DescribeApmServiceMetric.
|
|
125
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.DescribeApmServiceMetricRequest`
|
|
126
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.DescribeApmServiceMetricResponse`
|
|
127
|
+
|
|
128
|
+
"""
|
|
129
|
+
try:
|
|
130
|
+
params = request._serialize()
|
|
131
|
+
headers = request.headers
|
|
132
|
+
body = self.call("DescribeApmServiceMetric", params, headers=headers)
|
|
133
|
+
response = json.loads(body)
|
|
134
|
+
model = models.DescribeApmServiceMetricResponse()
|
|
135
|
+
model._deserialize(response["Response"])
|
|
136
|
+
return model
|
|
137
|
+
except Exception as e:
|
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
|
139
|
+
raise
|
|
140
|
+
else:
|
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
142
|
+
|
|
143
|
+
|
|
121
144
|
def DescribeGeneralApmApplicationConfig(self, request):
|
|
122
145
|
r"""查询应用配置信息
|
|
123
146
|
|
|
@@ -110,6 +110,12 @@ FAILEDOPERATION_SERVICELISTEXCEEDINGLIMITNUMBER = 'FailedOperation.ServiceListEx
|
|
|
110
110
|
# 应用列表为空
|
|
111
111
|
FAILEDOPERATION_SERVICELISTNULL = 'FailedOperation.ServiceListNull'
|
|
112
112
|
|
|
113
|
+
# 没有找到应用资源
|
|
114
|
+
FAILEDOPERATION_SERVICENOTFOUND = 'FailedOperation.ServiceNotFound'
|
|
115
|
+
|
|
116
|
+
# serviceId 与 appId 不匹配
|
|
117
|
+
FAILEDOPERATION_SERVICENOTMATCHAPPIDERR = 'FailedOperation.ServiceNotMatchAppIdErr'
|
|
118
|
+
|
|
113
119
|
# 视图名不存在或非法。
|
|
114
120
|
FAILEDOPERATION_VIEWNAMENOTEXISTORILLEGAL = 'FailedOperation.ViewNameNotExistOrIllegal'
|
|
115
121
|
|
|
@@ -1666,6 +1666,90 @@ class ApmMetricRecord(AbstractModel):
|
|
|
1666
1666
|
|
|
1667
1667
|
|
|
1668
1668
|
|
|
1669
|
+
class ApmServiceMetric(AbstractModel):
|
|
1670
|
+
r"""apm应用指标信息
|
|
1671
|
+
|
|
1672
|
+
"""
|
|
1673
|
+
|
|
1674
|
+
def __init__(self):
|
|
1675
|
+
r"""
|
|
1676
|
+
:param _Fields: filed数组
|
|
1677
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1678
|
+
:type Fields: list of ApmField
|
|
1679
|
+
:param _Tags: tag数组
|
|
1680
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1681
|
+
:type Tags: list of ApmTag
|
|
1682
|
+
:param _ServiceDetail: 应用信息
|
|
1683
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1684
|
+
:type ServiceDetail: :class:`tencentcloud.apm.v20210622.models.ServiceDetail`
|
|
1685
|
+
"""
|
|
1686
|
+
self._Fields = None
|
|
1687
|
+
self._Tags = None
|
|
1688
|
+
self._ServiceDetail = None
|
|
1689
|
+
|
|
1690
|
+
@property
|
|
1691
|
+
def Fields(self):
|
|
1692
|
+
r"""filed数组
|
|
1693
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1694
|
+
:rtype: list of ApmField
|
|
1695
|
+
"""
|
|
1696
|
+
return self._Fields
|
|
1697
|
+
|
|
1698
|
+
@Fields.setter
|
|
1699
|
+
def Fields(self, Fields):
|
|
1700
|
+
self._Fields = Fields
|
|
1701
|
+
|
|
1702
|
+
@property
|
|
1703
|
+
def Tags(self):
|
|
1704
|
+
r"""tag数组
|
|
1705
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1706
|
+
:rtype: list of ApmTag
|
|
1707
|
+
"""
|
|
1708
|
+
return self._Tags
|
|
1709
|
+
|
|
1710
|
+
@Tags.setter
|
|
1711
|
+
def Tags(self, Tags):
|
|
1712
|
+
self._Tags = Tags
|
|
1713
|
+
|
|
1714
|
+
@property
|
|
1715
|
+
def ServiceDetail(self):
|
|
1716
|
+
r"""应用信息
|
|
1717
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1718
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.ServiceDetail`
|
|
1719
|
+
"""
|
|
1720
|
+
return self._ServiceDetail
|
|
1721
|
+
|
|
1722
|
+
@ServiceDetail.setter
|
|
1723
|
+
def ServiceDetail(self, ServiceDetail):
|
|
1724
|
+
self._ServiceDetail = ServiceDetail
|
|
1725
|
+
|
|
1726
|
+
|
|
1727
|
+
def _deserialize(self, params):
|
|
1728
|
+
if params.get("Fields") is not None:
|
|
1729
|
+
self._Fields = []
|
|
1730
|
+
for item in params.get("Fields"):
|
|
1731
|
+
obj = ApmField()
|
|
1732
|
+
obj._deserialize(item)
|
|
1733
|
+
self._Fields.append(obj)
|
|
1734
|
+
if params.get("Tags") is not None:
|
|
1735
|
+
self._Tags = []
|
|
1736
|
+
for item in params.get("Tags"):
|
|
1737
|
+
obj = ApmTag()
|
|
1738
|
+
obj._deserialize(item)
|
|
1739
|
+
self._Tags.append(obj)
|
|
1740
|
+
if params.get("ServiceDetail") is not None:
|
|
1741
|
+
self._ServiceDetail = ServiceDetail()
|
|
1742
|
+
self._ServiceDetail._deserialize(params.get("ServiceDetail"))
|
|
1743
|
+
memeber_set = set(params.keys())
|
|
1744
|
+
for name, value in vars(self).items():
|
|
1745
|
+
property_name = name[1:]
|
|
1746
|
+
if property_name in memeber_set:
|
|
1747
|
+
memeber_set.remove(property_name)
|
|
1748
|
+
if len(memeber_set) > 0:
|
|
1749
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1750
|
+
|
|
1751
|
+
|
|
1752
|
+
|
|
1669
1753
|
class ApmTag(AbstractModel):
|
|
1670
1754
|
r"""维度(标签)对象
|
|
1671
1755
|
|
|
@@ -2380,6 +2464,372 @@ class DescribeApmInstancesResponse(AbstractModel):
|
|
|
2380
2464
|
self._RequestId = params.get("RequestId")
|
|
2381
2465
|
|
|
2382
2466
|
|
|
2467
|
+
class DescribeApmServiceMetricRequest(AbstractModel):
|
|
2468
|
+
r"""DescribeApmServiceMetric请求参数结构体
|
|
2469
|
+
|
|
2470
|
+
"""
|
|
2471
|
+
|
|
2472
|
+
def __init__(self):
|
|
2473
|
+
r"""
|
|
2474
|
+
:param _InstanceId: 业务系统ID
|
|
2475
|
+
:type InstanceId: str
|
|
2476
|
+
:param _ServiceName: 应用名
|
|
2477
|
+
:type ServiceName: str
|
|
2478
|
+
:param _ServiceID: 应用ID
|
|
2479
|
+
:type ServiceID: str
|
|
2480
|
+
:param _StartTime: 开始时间
|
|
2481
|
+
:type StartTime: int
|
|
2482
|
+
:param _EndTime: 结束时间
|
|
2483
|
+
:type EndTime: int
|
|
2484
|
+
:param _OrderBy: 排序
|
|
2485
|
+
:type OrderBy: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2486
|
+
:param _Demo: 是否demo模式
|
|
2487
|
+
:type Demo: bool
|
|
2488
|
+
:param _ServiceStatus: 应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,比如:"warning,error"
|
|
2489
|
+
:type ServiceStatus: str
|
|
2490
|
+
:param _Tags: 标签列表
|
|
2491
|
+
:type Tags: list of ApmTag
|
|
2492
|
+
:param _Page: 页码
|
|
2493
|
+
:type Page: int
|
|
2494
|
+
:param _PageSize: 页大小
|
|
2495
|
+
:type PageSize: int
|
|
2496
|
+
:param _Filters: 过滤条件
|
|
2497
|
+
:type Filters: list of Filter
|
|
2498
|
+
"""
|
|
2499
|
+
self._InstanceId = None
|
|
2500
|
+
self._ServiceName = None
|
|
2501
|
+
self._ServiceID = None
|
|
2502
|
+
self._StartTime = None
|
|
2503
|
+
self._EndTime = None
|
|
2504
|
+
self._OrderBy = None
|
|
2505
|
+
self._Demo = None
|
|
2506
|
+
self._ServiceStatus = None
|
|
2507
|
+
self._Tags = None
|
|
2508
|
+
self._Page = None
|
|
2509
|
+
self._PageSize = None
|
|
2510
|
+
self._Filters = None
|
|
2511
|
+
|
|
2512
|
+
@property
|
|
2513
|
+
def InstanceId(self):
|
|
2514
|
+
r"""业务系统ID
|
|
2515
|
+
:rtype: str
|
|
2516
|
+
"""
|
|
2517
|
+
return self._InstanceId
|
|
2518
|
+
|
|
2519
|
+
@InstanceId.setter
|
|
2520
|
+
def InstanceId(self, InstanceId):
|
|
2521
|
+
self._InstanceId = InstanceId
|
|
2522
|
+
|
|
2523
|
+
@property
|
|
2524
|
+
def ServiceName(self):
|
|
2525
|
+
r"""应用名
|
|
2526
|
+
:rtype: str
|
|
2527
|
+
"""
|
|
2528
|
+
return self._ServiceName
|
|
2529
|
+
|
|
2530
|
+
@ServiceName.setter
|
|
2531
|
+
def ServiceName(self, ServiceName):
|
|
2532
|
+
self._ServiceName = ServiceName
|
|
2533
|
+
|
|
2534
|
+
@property
|
|
2535
|
+
def ServiceID(self):
|
|
2536
|
+
r"""应用ID
|
|
2537
|
+
:rtype: str
|
|
2538
|
+
"""
|
|
2539
|
+
return self._ServiceID
|
|
2540
|
+
|
|
2541
|
+
@ServiceID.setter
|
|
2542
|
+
def ServiceID(self, ServiceID):
|
|
2543
|
+
self._ServiceID = ServiceID
|
|
2544
|
+
|
|
2545
|
+
@property
|
|
2546
|
+
def StartTime(self):
|
|
2547
|
+
r"""开始时间
|
|
2548
|
+
:rtype: int
|
|
2549
|
+
"""
|
|
2550
|
+
return self._StartTime
|
|
2551
|
+
|
|
2552
|
+
@StartTime.setter
|
|
2553
|
+
def StartTime(self, StartTime):
|
|
2554
|
+
self._StartTime = StartTime
|
|
2555
|
+
|
|
2556
|
+
@property
|
|
2557
|
+
def EndTime(self):
|
|
2558
|
+
r"""结束时间
|
|
2559
|
+
:rtype: int
|
|
2560
|
+
"""
|
|
2561
|
+
return self._EndTime
|
|
2562
|
+
|
|
2563
|
+
@EndTime.setter
|
|
2564
|
+
def EndTime(self, EndTime):
|
|
2565
|
+
self._EndTime = EndTime
|
|
2566
|
+
|
|
2567
|
+
@property
|
|
2568
|
+
def OrderBy(self):
|
|
2569
|
+
r"""排序
|
|
2570
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2571
|
+
"""
|
|
2572
|
+
return self._OrderBy
|
|
2573
|
+
|
|
2574
|
+
@OrderBy.setter
|
|
2575
|
+
def OrderBy(self, OrderBy):
|
|
2576
|
+
self._OrderBy = OrderBy
|
|
2577
|
+
|
|
2578
|
+
@property
|
|
2579
|
+
def Demo(self):
|
|
2580
|
+
r"""是否demo模式
|
|
2581
|
+
:rtype: bool
|
|
2582
|
+
"""
|
|
2583
|
+
return self._Demo
|
|
2584
|
+
|
|
2585
|
+
@Demo.setter
|
|
2586
|
+
def Demo(self, Demo):
|
|
2587
|
+
self._Demo = Demo
|
|
2588
|
+
|
|
2589
|
+
@property
|
|
2590
|
+
def ServiceStatus(self):
|
|
2591
|
+
r"""应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,比如:"warning,error"
|
|
2592
|
+
:rtype: str
|
|
2593
|
+
"""
|
|
2594
|
+
return self._ServiceStatus
|
|
2595
|
+
|
|
2596
|
+
@ServiceStatus.setter
|
|
2597
|
+
def ServiceStatus(self, ServiceStatus):
|
|
2598
|
+
self._ServiceStatus = ServiceStatus
|
|
2599
|
+
|
|
2600
|
+
@property
|
|
2601
|
+
def Tags(self):
|
|
2602
|
+
r"""标签列表
|
|
2603
|
+
:rtype: list of ApmTag
|
|
2604
|
+
"""
|
|
2605
|
+
return self._Tags
|
|
2606
|
+
|
|
2607
|
+
@Tags.setter
|
|
2608
|
+
def Tags(self, Tags):
|
|
2609
|
+
self._Tags = Tags
|
|
2610
|
+
|
|
2611
|
+
@property
|
|
2612
|
+
def Page(self):
|
|
2613
|
+
r"""页码
|
|
2614
|
+
:rtype: int
|
|
2615
|
+
"""
|
|
2616
|
+
return self._Page
|
|
2617
|
+
|
|
2618
|
+
@Page.setter
|
|
2619
|
+
def Page(self, Page):
|
|
2620
|
+
self._Page = Page
|
|
2621
|
+
|
|
2622
|
+
@property
|
|
2623
|
+
def PageSize(self):
|
|
2624
|
+
r"""页大小
|
|
2625
|
+
:rtype: int
|
|
2626
|
+
"""
|
|
2627
|
+
return self._PageSize
|
|
2628
|
+
|
|
2629
|
+
@PageSize.setter
|
|
2630
|
+
def PageSize(self, PageSize):
|
|
2631
|
+
self._PageSize = PageSize
|
|
2632
|
+
|
|
2633
|
+
@property
|
|
2634
|
+
def Filters(self):
|
|
2635
|
+
r"""过滤条件
|
|
2636
|
+
:rtype: list of Filter
|
|
2637
|
+
"""
|
|
2638
|
+
return self._Filters
|
|
2639
|
+
|
|
2640
|
+
@Filters.setter
|
|
2641
|
+
def Filters(self, Filters):
|
|
2642
|
+
self._Filters = Filters
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
def _deserialize(self, params):
|
|
2646
|
+
self._InstanceId = params.get("InstanceId")
|
|
2647
|
+
self._ServiceName = params.get("ServiceName")
|
|
2648
|
+
self._ServiceID = params.get("ServiceID")
|
|
2649
|
+
self._StartTime = params.get("StartTime")
|
|
2650
|
+
self._EndTime = params.get("EndTime")
|
|
2651
|
+
if params.get("OrderBy") is not None:
|
|
2652
|
+
self._OrderBy = OrderBy()
|
|
2653
|
+
self._OrderBy._deserialize(params.get("OrderBy"))
|
|
2654
|
+
self._Demo = params.get("Demo")
|
|
2655
|
+
self._ServiceStatus = params.get("ServiceStatus")
|
|
2656
|
+
if params.get("Tags") is not None:
|
|
2657
|
+
self._Tags = []
|
|
2658
|
+
for item in params.get("Tags"):
|
|
2659
|
+
obj = ApmTag()
|
|
2660
|
+
obj._deserialize(item)
|
|
2661
|
+
self._Tags.append(obj)
|
|
2662
|
+
self._Page = params.get("Page")
|
|
2663
|
+
self._PageSize = params.get("PageSize")
|
|
2664
|
+
if params.get("Filters") is not None:
|
|
2665
|
+
self._Filters = []
|
|
2666
|
+
for item in params.get("Filters"):
|
|
2667
|
+
obj = Filter()
|
|
2668
|
+
obj._deserialize(item)
|
|
2669
|
+
self._Filters.append(obj)
|
|
2670
|
+
memeber_set = set(params.keys())
|
|
2671
|
+
for name, value in vars(self).items():
|
|
2672
|
+
property_name = name[1:]
|
|
2673
|
+
if property_name in memeber_set:
|
|
2674
|
+
memeber_set.remove(property_name)
|
|
2675
|
+
if len(memeber_set) > 0:
|
|
2676
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2677
|
+
|
|
2678
|
+
|
|
2679
|
+
|
|
2680
|
+
class DescribeApmServiceMetricResponse(AbstractModel):
|
|
2681
|
+
r"""DescribeApmServiceMetric返回参数结构体
|
|
2682
|
+
|
|
2683
|
+
"""
|
|
2684
|
+
|
|
2685
|
+
def __init__(self):
|
|
2686
|
+
r"""
|
|
2687
|
+
:param _ServiceMetricList: 应用指标列表
|
|
2688
|
+
:type ServiceMetricList: list of ApmServiceMetric
|
|
2689
|
+
:param _TotalCount: 符合筛选条件的应用数
|
|
2690
|
+
:type TotalCount: int
|
|
2691
|
+
:param _WarningErrorCount: 警示异常应用数
|
|
2692
|
+
:type WarningErrorCount: int
|
|
2693
|
+
:param _ApplicationCount: 应用总数
|
|
2694
|
+
:type ApplicationCount: int
|
|
2695
|
+
:param _Page: 页码
|
|
2696
|
+
:type Page: int
|
|
2697
|
+
:param _PageSize: 页大小
|
|
2698
|
+
:type PageSize: int
|
|
2699
|
+
:param _ErrorCount: 异常应用数
|
|
2700
|
+
:type ErrorCount: int
|
|
2701
|
+
:param _WarningCount: 警示应用数
|
|
2702
|
+
:type WarningCount: int
|
|
2703
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2704
|
+
:type RequestId: str
|
|
2705
|
+
"""
|
|
2706
|
+
self._ServiceMetricList = None
|
|
2707
|
+
self._TotalCount = None
|
|
2708
|
+
self._WarningErrorCount = None
|
|
2709
|
+
self._ApplicationCount = None
|
|
2710
|
+
self._Page = None
|
|
2711
|
+
self._PageSize = None
|
|
2712
|
+
self._ErrorCount = None
|
|
2713
|
+
self._WarningCount = None
|
|
2714
|
+
self._RequestId = None
|
|
2715
|
+
|
|
2716
|
+
@property
|
|
2717
|
+
def ServiceMetricList(self):
|
|
2718
|
+
r"""应用指标列表
|
|
2719
|
+
:rtype: list of ApmServiceMetric
|
|
2720
|
+
"""
|
|
2721
|
+
return self._ServiceMetricList
|
|
2722
|
+
|
|
2723
|
+
@ServiceMetricList.setter
|
|
2724
|
+
def ServiceMetricList(self, ServiceMetricList):
|
|
2725
|
+
self._ServiceMetricList = ServiceMetricList
|
|
2726
|
+
|
|
2727
|
+
@property
|
|
2728
|
+
def TotalCount(self):
|
|
2729
|
+
r"""符合筛选条件的应用数
|
|
2730
|
+
:rtype: int
|
|
2731
|
+
"""
|
|
2732
|
+
return self._TotalCount
|
|
2733
|
+
|
|
2734
|
+
@TotalCount.setter
|
|
2735
|
+
def TotalCount(self, TotalCount):
|
|
2736
|
+
self._TotalCount = TotalCount
|
|
2737
|
+
|
|
2738
|
+
@property
|
|
2739
|
+
def WarningErrorCount(self):
|
|
2740
|
+
r"""警示异常应用数
|
|
2741
|
+
:rtype: int
|
|
2742
|
+
"""
|
|
2743
|
+
return self._WarningErrorCount
|
|
2744
|
+
|
|
2745
|
+
@WarningErrorCount.setter
|
|
2746
|
+
def WarningErrorCount(self, WarningErrorCount):
|
|
2747
|
+
self._WarningErrorCount = WarningErrorCount
|
|
2748
|
+
|
|
2749
|
+
@property
|
|
2750
|
+
def ApplicationCount(self):
|
|
2751
|
+
r"""应用总数
|
|
2752
|
+
:rtype: int
|
|
2753
|
+
"""
|
|
2754
|
+
return self._ApplicationCount
|
|
2755
|
+
|
|
2756
|
+
@ApplicationCount.setter
|
|
2757
|
+
def ApplicationCount(self, ApplicationCount):
|
|
2758
|
+
self._ApplicationCount = ApplicationCount
|
|
2759
|
+
|
|
2760
|
+
@property
|
|
2761
|
+
def Page(self):
|
|
2762
|
+
r"""页码
|
|
2763
|
+
:rtype: int
|
|
2764
|
+
"""
|
|
2765
|
+
return self._Page
|
|
2766
|
+
|
|
2767
|
+
@Page.setter
|
|
2768
|
+
def Page(self, Page):
|
|
2769
|
+
self._Page = Page
|
|
2770
|
+
|
|
2771
|
+
@property
|
|
2772
|
+
def PageSize(self):
|
|
2773
|
+
r"""页大小
|
|
2774
|
+
:rtype: int
|
|
2775
|
+
"""
|
|
2776
|
+
return self._PageSize
|
|
2777
|
+
|
|
2778
|
+
@PageSize.setter
|
|
2779
|
+
def PageSize(self, PageSize):
|
|
2780
|
+
self._PageSize = PageSize
|
|
2781
|
+
|
|
2782
|
+
@property
|
|
2783
|
+
def ErrorCount(self):
|
|
2784
|
+
r"""异常应用数
|
|
2785
|
+
:rtype: int
|
|
2786
|
+
"""
|
|
2787
|
+
return self._ErrorCount
|
|
2788
|
+
|
|
2789
|
+
@ErrorCount.setter
|
|
2790
|
+
def ErrorCount(self, ErrorCount):
|
|
2791
|
+
self._ErrorCount = ErrorCount
|
|
2792
|
+
|
|
2793
|
+
@property
|
|
2794
|
+
def WarningCount(self):
|
|
2795
|
+
r"""警示应用数
|
|
2796
|
+
:rtype: int
|
|
2797
|
+
"""
|
|
2798
|
+
return self._WarningCount
|
|
2799
|
+
|
|
2800
|
+
@WarningCount.setter
|
|
2801
|
+
def WarningCount(self, WarningCount):
|
|
2802
|
+
self._WarningCount = WarningCount
|
|
2803
|
+
|
|
2804
|
+
@property
|
|
2805
|
+
def RequestId(self):
|
|
2806
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2807
|
+
:rtype: str
|
|
2808
|
+
"""
|
|
2809
|
+
return self._RequestId
|
|
2810
|
+
|
|
2811
|
+
@RequestId.setter
|
|
2812
|
+
def RequestId(self, RequestId):
|
|
2813
|
+
self._RequestId = RequestId
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
def _deserialize(self, params):
|
|
2817
|
+
if params.get("ServiceMetricList") is not None:
|
|
2818
|
+
self._ServiceMetricList = []
|
|
2819
|
+
for item in params.get("ServiceMetricList"):
|
|
2820
|
+
obj = ApmServiceMetric()
|
|
2821
|
+
obj._deserialize(item)
|
|
2822
|
+
self._ServiceMetricList.append(obj)
|
|
2823
|
+
self._TotalCount = params.get("TotalCount")
|
|
2824
|
+
self._WarningErrorCount = params.get("WarningErrorCount")
|
|
2825
|
+
self._ApplicationCount = params.get("ApplicationCount")
|
|
2826
|
+
self._Page = params.get("Page")
|
|
2827
|
+
self._PageSize = params.get("PageSize")
|
|
2828
|
+
self._ErrorCount = params.get("ErrorCount")
|
|
2829
|
+
self._WarningCount = params.get("WarningCount")
|
|
2830
|
+
self._RequestId = params.get("RequestId")
|
|
2831
|
+
|
|
2832
|
+
|
|
2383
2833
|
class DescribeGeneralApmApplicationConfigRequest(AbstractModel):
|
|
2384
2834
|
r"""DescribeGeneralApmApplicationConfig请求参数结构体
|
|
2385
2835
|
|
|
@@ -5118,6 +5568,183 @@ class QueryMetricItem(AbstractModel):
|
|
|
5118
5568
|
|
|
5119
5569
|
|
|
5120
5570
|
|
|
5571
|
+
class ServiceDetail(AbstractModel):
|
|
5572
|
+
r"""应用详细信息
|
|
5573
|
+
|
|
5574
|
+
"""
|
|
5575
|
+
|
|
5576
|
+
def __init__(self):
|
|
5577
|
+
r"""
|
|
5578
|
+
:param _ServiceID: 应用ID
|
|
5579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5580
|
+
:type ServiceID: str
|
|
5581
|
+
:param _InstanceKey: 业务系统ID
|
|
5582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5583
|
+
:type InstanceKey: str
|
|
5584
|
+
:param _AppID: 用户appid
|
|
5585
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5586
|
+
:type AppID: int
|
|
5587
|
+
:param _CreateUIN: 主账号uin
|
|
5588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5589
|
+
:type CreateUIN: str
|
|
5590
|
+
:param _ServiceName: 应用名
|
|
5591
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5592
|
+
:type ServiceName: str
|
|
5593
|
+
:param _ServiceDescription: 应用描述
|
|
5594
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5595
|
+
:type ServiceDescription: str
|
|
5596
|
+
:param _Region: 地域
|
|
5597
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5598
|
+
:type Region: str
|
|
5599
|
+
:param _Tags: 标签
|
|
5600
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5601
|
+
:type Tags: list of ApmTag
|
|
5602
|
+
:param _InstanceName: 业务系统名称
|
|
5603
|
+
:type InstanceName: str
|
|
5604
|
+
"""
|
|
5605
|
+
self._ServiceID = None
|
|
5606
|
+
self._InstanceKey = None
|
|
5607
|
+
self._AppID = None
|
|
5608
|
+
self._CreateUIN = None
|
|
5609
|
+
self._ServiceName = None
|
|
5610
|
+
self._ServiceDescription = None
|
|
5611
|
+
self._Region = None
|
|
5612
|
+
self._Tags = None
|
|
5613
|
+
self._InstanceName = None
|
|
5614
|
+
|
|
5615
|
+
@property
|
|
5616
|
+
def ServiceID(self):
|
|
5617
|
+
r"""应用ID
|
|
5618
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5619
|
+
:rtype: str
|
|
5620
|
+
"""
|
|
5621
|
+
return self._ServiceID
|
|
5622
|
+
|
|
5623
|
+
@ServiceID.setter
|
|
5624
|
+
def ServiceID(self, ServiceID):
|
|
5625
|
+
self._ServiceID = ServiceID
|
|
5626
|
+
|
|
5627
|
+
@property
|
|
5628
|
+
def InstanceKey(self):
|
|
5629
|
+
r"""业务系统ID
|
|
5630
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5631
|
+
:rtype: str
|
|
5632
|
+
"""
|
|
5633
|
+
return self._InstanceKey
|
|
5634
|
+
|
|
5635
|
+
@InstanceKey.setter
|
|
5636
|
+
def InstanceKey(self, InstanceKey):
|
|
5637
|
+
self._InstanceKey = InstanceKey
|
|
5638
|
+
|
|
5639
|
+
@property
|
|
5640
|
+
def AppID(self):
|
|
5641
|
+
r"""用户appid
|
|
5642
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5643
|
+
:rtype: int
|
|
5644
|
+
"""
|
|
5645
|
+
return self._AppID
|
|
5646
|
+
|
|
5647
|
+
@AppID.setter
|
|
5648
|
+
def AppID(self, AppID):
|
|
5649
|
+
self._AppID = AppID
|
|
5650
|
+
|
|
5651
|
+
@property
|
|
5652
|
+
def CreateUIN(self):
|
|
5653
|
+
r"""主账号uin
|
|
5654
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5655
|
+
:rtype: str
|
|
5656
|
+
"""
|
|
5657
|
+
return self._CreateUIN
|
|
5658
|
+
|
|
5659
|
+
@CreateUIN.setter
|
|
5660
|
+
def CreateUIN(self, CreateUIN):
|
|
5661
|
+
self._CreateUIN = CreateUIN
|
|
5662
|
+
|
|
5663
|
+
@property
|
|
5664
|
+
def ServiceName(self):
|
|
5665
|
+
r"""应用名
|
|
5666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5667
|
+
:rtype: str
|
|
5668
|
+
"""
|
|
5669
|
+
return self._ServiceName
|
|
5670
|
+
|
|
5671
|
+
@ServiceName.setter
|
|
5672
|
+
def ServiceName(self, ServiceName):
|
|
5673
|
+
self._ServiceName = ServiceName
|
|
5674
|
+
|
|
5675
|
+
@property
|
|
5676
|
+
def ServiceDescription(self):
|
|
5677
|
+
r"""应用描述
|
|
5678
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5679
|
+
:rtype: str
|
|
5680
|
+
"""
|
|
5681
|
+
return self._ServiceDescription
|
|
5682
|
+
|
|
5683
|
+
@ServiceDescription.setter
|
|
5684
|
+
def ServiceDescription(self, ServiceDescription):
|
|
5685
|
+
self._ServiceDescription = ServiceDescription
|
|
5686
|
+
|
|
5687
|
+
@property
|
|
5688
|
+
def Region(self):
|
|
5689
|
+
r"""地域
|
|
5690
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5691
|
+
:rtype: str
|
|
5692
|
+
"""
|
|
5693
|
+
return self._Region
|
|
5694
|
+
|
|
5695
|
+
@Region.setter
|
|
5696
|
+
def Region(self, Region):
|
|
5697
|
+
self._Region = Region
|
|
5698
|
+
|
|
5699
|
+
@property
|
|
5700
|
+
def Tags(self):
|
|
5701
|
+
r"""标签
|
|
5702
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5703
|
+
:rtype: list of ApmTag
|
|
5704
|
+
"""
|
|
5705
|
+
return self._Tags
|
|
5706
|
+
|
|
5707
|
+
@Tags.setter
|
|
5708
|
+
def Tags(self, Tags):
|
|
5709
|
+
self._Tags = Tags
|
|
5710
|
+
|
|
5711
|
+
@property
|
|
5712
|
+
def InstanceName(self):
|
|
5713
|
+
r"""业务系统名称
|
|
5714
|
+
:rtype: str
|
|
5715
|
+
"""
|
|
5716
|
+
return self._InstanceName
|
|
5717
|
+
|
|
5718
|
+
@InstanceName.setter
|
|
5719
|
+
def InstanceName(self, InstanceName):
|
|
5720
|
+
self._InstanceName = InstanceName
|
|
5721
|
+
|
|
5722
|
+
|
|
5723
|
+
def _deserialize(self, params):
|
|
5724
|
+
self._ServiceID = params.get("ServiceID")
|
|
5725
|
+
self._InstanceKey = params.get("InstanceKey")
|
|
5726
|
+
self._AppID = params.get("AppID")
|
|
5727
|
+
self._CreateUIN = params.get("CreateUIN")
|
|
5728
|
+
self._ServiceName = params.get("ServiceName")
|
|
5729
|
+
self._ServiceDescription = params.get("ServiceDescription")
|
|
5730
|
+
self._Region = params.get("Region")
|
|
5731
|
+
if params.get("Tags") is not None:
|
|
5732
|
+
self._Tags = []
|
|
5733
|
+
for item in params.get("Tags"):
|
|
5734
|
+
obj = ApmTag()
|
|
5735
|
+
obj._deserialize(item)
|
|
5736
|
+
self._Tags.append(obj)
|
|
5737
|
+
self._InstanceName = params.get("InstanceName")
|
|
5738
|
+
memeber_set = set(params.keys())
|
|
5739
|
+
for name, value in vars(self).items():
|
|
5740
|
+
property_name = name[1:]
|
|
5741
|
+
if property_name in memeber_set:
|
|
5742
|
+
memeber_set.remove(property_name)
|
|
5743
|
+
if len(memeber_set) > 0:
|
|
5744
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5745
|
+
|
|
5746
|
+
|
|
5747
|
+
|
|
5121
5748
|
class Span(AbstractModel):
|
|
5122
5749
|
r"""Span 对象
|
|
5123
5750
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apm
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1464
|
|
4
4
|
Summary: Tencent Cloud Apm 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.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1464)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=OcZWURFr5KZuIfeWkT3Ew8ZNQdPG9mkBYq7unv03FNA,631
|
|
2
|
+
tencentcloud/apm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/apm/v20210622/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/apm/v20210622/apm_client.py,sha256=lR4K1vZtqPduj6kE3_OHTfRZUS4VSEKsOO22Wzk8UtU,14997
|
|
5
|
+
tencentcloud/apm/v20210622/errorcodes.py,sha256=Pexd24APbWx0uC6KeYLorLnk5bXgc2PmlHKXZxenivE,5495
|
|
6
|
+
tencentcloud/apm/v20210622/models.py,sha256=ufQ3XxOchkMNrTxjdInR5AWEUMW8J2uqnc4jXYFxtjY,189408
|
|
7
|
+
tencentcloud_sdk_python_apm-3.0.1464.dist-info/METADATA,sha256=GXBgL_03qD4Q9YsdyoXnGTBezapJHaMNksVPbmoUOJk,1503
|
|
8
|
+
tencentcloud_sdk_python_apm-3.0.1464.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_apm-3.0.1464.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_apm-3.0.1464.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=r84PYsG-hFbeEH3ch-Sw2bJmqWlws-vogRx7ePuiG9c,631
|
|
2
|
-
tencentcloud/apm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/apm/v20210622/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/apm/v20210622/apm_client.py,sha256=FSQSRB7e5tbqicFpWQE5bQ1Bb_cWOxRCrnzGnt6vbcM,14074
|
|
5
|
-
tencentcloud/apm/v20210622/errorcodes.py,sha256=2q8PS4hm8homGP4ub10LhJQ_fvk4vpOB5SJfo0hWS9M,5282
|
|
6
|
-
tencentcloud/apm/v20210622/models.py,sha256=AFghCZGPT00ra5U9lNyhKeCqB9NpLSsdpMgAKGT4fYw,171434
|
|
7
|
-
tencentcloud_sdk_python_apm-3.0.1459.dist-info/METADATA,sha256=rQjGaZy_pDUYH-6MzqtFpzoZ1uWyHEDuQfX8raWPECw,1503
|
|
8
|
-
tencentcloud_sdk_python_apm-3.0.1459.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_apm-3.0.1459.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_apm-3.0.1459.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|