tencentcloud-sdk-python-apm 3.1.51__tar.gz → 3.1.63__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/setup.py +1 -1
  3. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud/apm/v20210622/models.py +114 -18
  5. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud_sdk_python_apm.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_apm-3.1.63/tencentcloud_sdk_python_apm.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_apm-3.1.51/tencentcloud_sdk_python_apm.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/README.rst +0 -0
  9. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud/apm/__init__.py +0 -0
  11. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud/apm/v20210622/__init__.py +0 -0
  12. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud/apm/v20210622/apm_client.py +0 -0
  13. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud/apm/v20210622/apm_client_async.py +0 -0
  14. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud/apm/v20210622/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud_sdk_python_apm.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud_sdk_python_apm.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_apm-3.1.51 → tencentcloud_sdk_python_apm-3.1.63}/tencentcloud_sdk_python_apm.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-apm
3
- Version: 3.1.51
3
+ Version: 3.1.63
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.1.51
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.63
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-apm',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.51,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.63,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Apm SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.51'
17
+ __version__ = '3.1.63'
@@ -455,6 +455,8 @@ class ApmAppConfig(AbstractModel):
455
455
  :type ErrRateThreshold: int
456
456
  :param _ResponseDurationWarningThreshold: <p>响应时间预警阈值(ms),用于判断应用健康状态为&quot;黄色&quot;</p>
457
457
  :type ResponseDurationWarningThreshold: int
458
+ :param _UseDefaultFuseConfig: <p>是否默认使用探针自带熔断阈值</p>
459
+ :type UseDefaultFuseConfig: bool
458
460
  """
459
461
  self._InstanceKey = None
460
462
  self._ServiceName = None
@@ -517,6 +519,7 @@ class ApmAppConfig(AbstractModel):
517
519
  self._EnableThresholdConfig = None
518
520
  self._ErrRateThreshold = None
519
521
  self._ResponseDurationWarningThreshold = None
522
+ self._UseDefaultFuseConfig = None
520
523
 
521
524
  @property
522
525
  def InstanceKey(self):
@@ -1212,6 +1215,17 @@ class ApmAppConfig(AbstractModel):
1212
1215
  def ResponseDurationWarningThreshold(self, ResponseDurationWarningThreshold):
1213
1216
  self._ResponseDurationWarningThreshold = ResponseDurationWarningThreshold
1214
1217
 
1218
+ @property
1219
+ def UseDefaultFuseConfig(self):
1220
+ r"""<p>是否默认使用探针自带熔断阈值</p>
1221
+ :rtype: bool
1222
+ """
1223
+ return self._UseDefaultFuseConfig
1224
+
1225
+ @UseDefaultFuseConfig.setter
1226
+ def UseDefaultFuseConfig(self, UseDefaultFuseConfig):
1227
+ self._UseDefaultFuseConfig = UseDefaultFuseConfig
1228
+
1215
1229
 
1216
1230
  def _deserialize(self, params):
1217
1231
  self._InstanceKey = params.get("InstanceKey")
@@ -1289,6 +1303,7 @@ class ApmAppConfig(AbstractModel):
1289
1303
  self._EnableThresholdConfig = params.get("EnableThresholdConfig")
1290
1304
  self._ErrRateThreshold = params.get("ErrRateThreshold")
1291
1305
  self._ResponseDurationWarningThreshold = params.get("ResponseDurationWarningThreshold")
1306
+ self._UseDefaultFuseConfig = params.get("UseDefaultFuseConfig")
1292
1307
  memeber_set = set(params.keys())
1293
1308
  for name, value in vars(self).items():
1294
1309
  property_name = name[1:]
@@ -1406,6 +1421,8 @@ class ApmApplicationConfigView(AbstractModel):
1406
1421
  :type ErrRateThreshold: int
1407
1422
  :param _ResponseDurationWarningThreshold: <p>响应时间预警阈值</p><p>单位:ms</p>
1408
1423
  :type ResponseDurationWarningThreshold: int
1424
+ :param _UseDefaultFuseConfig: <p>是否使用探针默认熔断阈值</p>
1425
+ :type UseDefaultFuseConfig: bool
1409
1426
  """
1410
1427
  self._InstanceKey = None
1411
1428
  self._ServiceName = None
@@ -1457,6 +1474,7 @@ class ApmApplicationConfigView(AbstractModel):
1457
1474
  self._EnableThresholdConfig = None
1458
1475
  self._ErrRateThreshold = None
1459
1476
  self._ResponseDurationWarningThreshold = None
1477
+ self._UseDefaultFuseConfig = None
1460
1478
 
1461
1479
  @property
1462
1480
  def InstanceKey(self):
@@ -2008,6 +2026,17 @@ class ApmApplicationConfigView(AbstractModel):
2008
2026
  def ResponseDurationWarningThreshold(self, ResponseDurationWarningThreshold):
2009
2027
  self._ResponseDurationWarningThreshold = ResponseDurationWarningThreshold
2010
2028
 
2029
+ @property
2030
+ def UseDefaultFuseConfig(self):
2031
+ r"""<p>是否使用探针默认熔断阈值</p>
2032
+ :rtype: bool
2033
+ """
2034
+ return self._UseDefaultFuseConfig
2035
+
2036
+ @UseDefaultFuseConfig.setter
2037
+ def UseDefaultFuseConfig(self, UseDefaultFuseConfig):
2038
+ self._UseDefaultFuseConfig = UseDefaultFuseConfig
2039
+
2011
2040
 
2012
2041
  def _deserialize(self, params):
2013
2042
  self._InstanceKey = params.get("InstanceKey")
@@ -2072,6 +2101,7 @@ class ApmApplicationConfigView(AbstractModel):
2072
2101
  self._EnableThresholdConfig = params.get("EnableThresholdConfig")
2073
2102
  self._ErrRateThreshold = params.get("ErrRateThreshold")
2074
2103
  self._ResponseDurationWarningThreshold = params.get("ResponseDurationWarningThreshold")
2104
+ self._UseDefaultFuseConfig = params.get("UseDefaultFuseConfig")
2075
2105
  memeber_set = set(params.keys())
2076
2106
  for name, value in vars(self).items():
2077
2107
  property_name = name[1:]
@@ -9018,6 +9048,8 @@ class ModifyApmApplicationConfigRequest(AbstractModel):
9018
9048
  :type ErrRateThreshold: int
9019
9049
  :param _ResponseDurationWarningThreshold: <p>响应时间预警阈值(ms),用于判断应用健康状态为&quot;黄色&quot;</p>
9020
9050
  :type ResponseDurationWarningThreshold: int
9051
+ :param _UseDefaultFuseConfig: <p>是否使用探针默认熔断阈值</p>
9052
+ :type UseDefaultFuseConfig: bool
9021
9053
  """
9022
9054
  self._InstanceId = None
9023
9055
  self._ServiceName = None
@@ -9077,6 +9109,7 @@ class ModifyApmApplicationConfigRequest(AbstractModel):
9077
9109
  self._EnableThresholdConfig = None
9078
9110
  self._ErrRateThreshold = None
9079
9111
  self._ResponseDurationWarningThreshold = None
9112
+ self._UseDefaultFuseConfig = None
9080
9113
 
9081
9114
  @property
9082
9115
  def InstanceId(self):
@@ -9716,6 +9749,17 @@ class ModifyApmApplicationConfigRequest(AbstractModel):
9716
9749
  def ResponseDurationWarningThreshold(self, ResponseDurationWarningThreshold):
9717
9750
  self._ResponseDurationWarningThreshold = ResponseDurationWarningThreshold
9718
9751
 
9752
+ @property
9753
+ def UseDefaultFuseConfig(self):
9754
+ r"""<p>是否使用探针默认熔断阈值</p>
9755
+ :rtype: bool
9756
+ """
9757
+ return self._UseDefaultFuseConfig
9758
+
9759
+ @UseDefaultFuseConfig.setter
9760
+ def UseDefaultFuseConfig(self, UseDefaultFuseConfig):
9761
+ self._UseDefaultFuseConfig = UseDefaultFuseConfig
9762
+
9719
9763
 
9720
9764
  def _deserialize(self, params):
9721
9765
  self._InstanceId = params.get("InstanceId")
@@ -9790,6 +9834,7 @@ class ModifyApmApplicationConfigRequest(AbstractModel):
9790
9834
  self._EnableThresholdConfig = params.get("EnableThresholdConfig")
9791
9835
  self._ErrRateThreshold = params.get("ErrRateThreshold")
9792
9836
  self._ResponseDurationWarningThreshold = params.get("ResponseDurationWarningThreshold")
9837
+ self._UseDefaultFuseConfig = params.get("UseDefaultFuseConfig")
9793
9838
  memeber_set = set(params.keys())
9794
9839
  for name, value in vars(self).items():
9795
9840
  property_name = name[1:]
@@ -11447,32 +11492,41 @@ class ServiceDetail(AbstractModel):
11447
11492
 
11448
11493
  def __init__(self):
11449
11494
  r"""
11450
- :param _ServiceID: 应用ID
11495
+ :param _ServiceID: <p>应用ID</p>
11451
11496
  注意:此字段可能返回 null,表示取不到有效值。
11452
11497
  :type ServiceID: str
11453
- :param _InstanceKey: 业务系统ID
11498
+ :param _InstanceKey: <p>业务系统ID</p>
11454
11499
  注意:此字段可能返回 null,表示取不到有效值。
11455
11500
  :type InstanceKey: str
11456
- :param _AppID: 用户appid
11501
+ :param _AppID: <p>用户appid</p>
11457
11502
  注意:此字段可能返回 null,表示取不到有效值。
11458
11503
  :type AppID: int
11459
- :param _CreateUIN: 主账号uin
11504
+ :param _CreateUIN: <p>主账号uin</p>
11460
11505
  注意:此字段可能返回 null,表示取不到有效值。
11461
11506
  :type CreateUIN: str
11462
- :param _ServiceName: 应用名
11507
+ :param _ServiceName: <p>应用名</p>
11463
11508
  注意:此字段可能返回 null,表示取不到有效值。
11464
11509
  :type ServiceName: str
11465
- :param _ServiceDescription: 应用描述
11510
+ :param _ServiceDescription: <p>应用描述</p>
11466
11511
  注意:此字段可能返回 null,表示取不到有效值。
11467
11512
  :type ServiceDescription: str
11468
- :param _Region: 地域
11513
+ :param _Region: <p>地域</p>
11469
11514
  注意:此字段可能返回 null,表示取不到有效值。
11470
11515
  :type Region: str
11471
- :param _Tags: 标签
11516
+ :param _Tags: <p>标签</p>
11472
11517
  注意:此字段可能返回 null,表示取不到有效值。
11473
11518
  :type Tags: list of ApmTag
11474
- :param _InstanceName: 业务系统名称
11519
+ :param _InstanceName: <p>业务系统名称</p>
11475
11520
  :type InstanceName: str
11521
+ :param _EnableThresholdConfig: <p>阈值配置开关。true 表示使用应用级阈值;false 表示使用业务系统级阈值</p>
11522
+ 注意:此字段可能返回 null,表示取不到有效值。
11523
+ :type EnableThresholdConfig: bool
11524
+ :param _ErrRateThreshold: <p>错误率阈值(%),用于判断应用健康状态为&quot;红色&quot;</p><p>单位:%</p>
11525
+ 注意:此字段可能返回 null,表示取不到有效值。
11526
+ :type ErrRateThreshold: int
11527
+ :param _ResponseDurationWarningThreshold: <p>响应时间预警阈值(ms),用于判断应用健康状态为&quot;黄色&quot;</p><p>单位:ms</p>
11528
+ 注意:此字段可能返回 null,表示取不到有效值。
11529
+ :type ResponseDurationWarningThreshold: int
11476
11530
  """
11477
11531
  self._ServiceID = None
11478
11532
  self._InstanceKey = None
@@ -11483,10 +11537,13 @@ class ServiceDetail(AbstractModel):
11483
11537
  self._Region = None
11484
11538
  self._Tags = None
11485
11539
  self._InstanceName = None
11540
+ self._EnableThresholdConfig = None
11541
+ self._ErrRateThreshold = None
11542
+ self._ResponseDurationWarningThreshold = None
11486
11543
 
11487
11544
  @property
11488
11545
  def ServiceID(self):
11489
- r"""应用ID
11546
+ r"""<p>应用ID</p>
11490
11547
  注意:此字段可能返回 null,表示取不到有效值。
11491
11548
  :rtype: str
11492
11549
  """
@@ -11498,7 +11555,7 @@ class ServiceDetail(AbstractModel):
11498
11555
 
11499
11556
  @property
11500
11557
  def InstanceKey(self):
11501
- r"""业务系统ID
11558
+ r"""<p>业务系统ID</p>
11502
11559
  注意:此字段可能返回 null,表示取不到有效值。
11503
11560
  :rtype: str
11504
11561
  """
@@ -11510,7 +11567,7 @@ class ServiceDetail(AbstractModel):
11510
11567
 
11511
11568
  @property
11512
11569
  def AppID(self):
11513
- r"""用户appid
11570
+ r"""<p>用户appid</p>
11514
11571
  注意:此字段可能返回 null,表示取不到有效值。
11515
11572
  :rtype: int
11516
11573
  """
@@ -11522,7 +11579,7 @@ class ServiceDetail(AbstractModel):
11522
11579
 
11523
11580
  @property
11524
11581
  def CreateUIN(self):
11525
- r"""主账号uin
11582
+ r"""<p>主账号uin</p>
11526
11583
  注意:此字段可能返回 null,表示取不到有效值。
11527
11584
  :rtype: str
11528
11585
  """
@@ -11534,7 +11591,7 @@ class ServiceDetail(AbstractModel):
11534
11591
 
11535
11592
  @property
11536
11593
  def ServiceName(self):
11537
- r"""应用名
11594
+ r"""<p>应用名</p>
11538
11595
  注意:此字段可能返回 null,表示取不到有效值。
11539
11596
  :rtype: str
11540
11597
  """
@@ -11546,7 +11603,7 @@ class ServiceDetail(AbstractModel):
11546
11603
 
11547
11604
  @property
11548
11605
  def ServiceDescription(self):
11549
- r"""应用描述
11606
+ r"""<p>应用描述</p>
11550
11607
  注意:此字段可能返回 null,表示取不到有效值。
11551
11608
  :rtype: str
11552
11609
  """
@@ -11558,7 +11615,7 @@ class ServiceDetail(AbstractModel):
11558
11615
 
11559
11616
  @property
11560
11617
  def Region(self):
11561
- r"""地域
11618
+ r"""<p>地域</p>
11562
11619
  注意:此字段可能返回 null,表示取不到有效值。
11563
11620
  :rtype: str
11564
11621
  """
@@ -11570,7 +11627,7 @@ class ServiceDetail(AbstractModel):
11570
11627
 
11571
11628
  @property
11572
11629
  def Tags(self):
11573
- r"""标签
11630
+ r"""<p>标签</p>
11574
11631
  注意:此字段可能返回 null,表示取不到有效值。
11575
11632
  :rtype: list of ApmTag
11576
11633
  """
@@ -11582,7 +11639,7 @@ class ServiceDetail(AbstractModel):
11582
11639
 
11583
11640
  @property
11584
11641
  def InstanceName(self):
11585
- r"""业务系统名称
11642
+ r"""<p>业务系统名称</p>
11586
11643
  :rtype: str
11587
11644
  """
11588
11645
  return self._InstanceName
@@ -11591,6 +11648,42 @@ class ServiceDetail(AbstractModel):
11591
11648
  def InstanceName(self, InstanceName):
11592
11649
  self._InstanceName = InstanceName
11593
11650
 
11651
+ @property
11652
+ def EnableThresholdConfig(self):
11653
+ r"""<p>阈值配置开关。true 表示使用应用级阈值;false 表示使用业务系统级阈值</p>
11654
+ 注意:此字段可能返回 null,表示取不到有效值。
11655
+ :rtype: bool
11656
+ """
11657
+ return self._EnableThresholdConfig
11658
+
11659
+ @EnableThresholdConfig.setter
11660
+ def EnableThresholdConfig(self, EnableThresholdConfig):
11661
+ self._EnableThresholdConfig = EnableThresholdConfig
11662
+
11663
+ @property
11664
+ def ErrRateThreshold(self):
11665
+ r"""<p>错误率阈值(%),用于判断应用健康状态为&quot;红色&quot;</p><p>单位:%</p>
11666
+ 注意:此字段可能返回 null,表示取不到有效值。
11667
+ :rtype: int
11668
+ """
11669
+ return self._ErrRateThreshold
11670
+
11671
+ @ErrRateThreshold.setter
11672
+ def ErrRateThreshold(self, ErrRateThreshold):
11673
+ self._ErrRateThreshold = ErrRateThreshold
11674
+
11675
+ @property
11676
+ def ResponseDurationWarningThreshold(self):
11677
+ r"""<p>响应时间预警阈值(ms),用于判断应用健康状态为&quot;黄色&quot;</p><p>单位:ms</p>
11678
+ 注意:此字段可能返回 null,表示取不到有效值。
11679
+ :rtype: int
11680
+ """
11681
+ return self._ResponseDurationWarningThreshold
11682
+
11683
+ @ResponseDurationWarningThreshold.setter
11684
+ def ResponseDurationWarningThreshold(self, ResponseDurationWarningThreshold):
11685
+ self._ResponseDurationWarningThreshold = ResponseDurationWarningThreshold
11686
+
11594
11687
 
11595
11688
  def _deserialize(self, params):
11596
11689
  self._ServiceID = params.get("ServiceID")
@@ -11607,6 +11700,9 @@ class ServiceDetail(AbstractModel):
11607
11700
  obj._deserialize(item)
11608
11701
  self._Tags.append(obj)
11609
11702
  self._InstanceName = params.get("InstanceName")
11703
+ self._EnableThresholdConfig = params.get("EnableThresholdConfig")
11704
+ self._ErrRateThreshold = params.get("ErrRateThreshold")
11705
+ self._ResponseDurationWarningThreshold = params.get("ResponseDurationWarningThreshold")
11610
11706
  memeber_set = set(params.keys())
11611
11707
  for name, value in vars(self).items():
11612
11708
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-apm
3
- Version: 3.1.51
3
+ Version: 3.1.63
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.1.51
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.63
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.63
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.51