tencentcloud-sdk-python-apm 3.1.92__tar.gz → 3.1.106__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.92 → tencentcloud_sdk_python_apm-3.1.106}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/setup.py +1 -1
  3. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/tencentcloud/apm/v20210622/models.py +83 -38
  5. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/tencentcloud_sdk_python_apm.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_apm-3.1.106/tencentcloud_sdk_python_apm.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_apm-3.1.92/tencentcloud_sdk_python_apm.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/README.rst +0 -0
  9. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/tencentcloud/apm/__init__.py +0 -0
  11. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/tencentcloud/apm/v20210622/__init__.py +0 -0
  12. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/tencentcloud/apm/v20210622/apm_client.py +0 -0
  13. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/tencentcloud/apm/v20210622/apm_client_async.py +0 -0
  14. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/tencentcloud/apm/v20210622/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/tencentcloud_sdk_python_apm.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/tencentcloud_sdk_python_apm.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_apm-3.1.92 → tencentcloud_sdk_python_apm-3.1.106}/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.92
3
+ Version: 3.1.106
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.92
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.106
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.92,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.106,<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.92'
17
+ __version__ = '3.1.106'
@@ -3313,23 +3313,25 @@ class ApmPrometheusRules(AbstractModel):
3313
3313
 
3314
3314
  def __init__(self):
3315
3315
  r"""
3316
- :param _Id: 指标匹配规则ID
3316
+ :param _Id: <p>指标匹配规则ID</p>
3317
3317
  :type Id: int
3318
- :param _Name: 指标匹配规则名
3318
+ :param _Name: <p>指标匹配规则名</p>
3319
3319
  注意:此字段可能返回 null,表示取不到有效值。
3320
3320
  :type Name: str
3321
- :param _ServiceName: 规则生效的应用。生效于全部应用就传空字符串
3321
+ :param _ServiceName: <p>规则生效的应用。生效于全部应用就传空字符串</p>
3322
3322
  注意:此字段可能返回 null,表示取不到有效值。
3323
3323
  :type ServiceName: str
3324
- :param _Status: 指标匹配规则状态:1(启用)、2(不启用)
3324
+ :param _Status: <p>指标匹配规则状态:1(启用)、2(不启用)</p>
3325
3325
  注意:此字段可能返回 null,表示取不到有效值。
3326
3326
  :type Status: int
3327
- :param _MetricNameRule: 指标匹配规则
3327
+ :param _MetricNameRule: <p>指标匹配规则</p>
3328
3328
  注意:此字段可能返回 null,表示取不到有效值。
3329
3329
  :type MetricNameRule: str
3330
- :param _MetricMatchType: 匹配类型:0精准匹配,1前缀匹配,2后缀匹配
3330
+ :param _MetricMatchType: <p>匹配类型:0精准匹配,1前缀匹配,2后缀匹配</p>
3331
3331
  注意:此字段可能返回 null,表示取不到有效值。
3332
3332
  :type MetricMatchType: int
3333
+ :param _AppendResourceAttributes: <p>是否追加资源属性</p>
3334
+ :type AppendResourceAttributes: bool
3333
3335
  """
3334
3336
  self._Id = None
3335
3337
  self._Name = None
@@ -3337,10 +3339,11 @@ class ApmPrometheusRules(AbstractModel):
3337
3339
  self._Status = None
3338
3340
  self._MetricNameRule = None
3339
3341
  self._MetricMatchType = None
3342
+ self._AppendResourceAttributes = None
3340
3343
 
3341
3344
  @property
3342
3345
  def Id(self):
3343
- r"""指标匹配规则ID
3346
+ r"""<p>指标匹配规则ID</p>
3344
3347
  :rtype: int
3345
3348
  """
3346
3349
  return self._Id
@@ -3351,7 +3354,7 @@ class ApmPrometheusRules(AbstractModel):
3351
3354
 
3352
3355
  @property
3353
3356
  def Name(self):
3354
- r"""指标匹配规则名
3357
+ r"""<p>指标匹配规则名</p>
3355
3358
  注意:此字段可能返回 null,表示取不到有效值。
3356
3359
  :rtype: str
3357
3360
  """
@@ -3363,7 +3366,7 @@ class ApmPrometheusRules(AbstractModel):
3363
3366
 
3364
3367
  @property
3365
3368
  def ServiceName(self):
3366
- r"""规则生效的应用。生效于全部应用就传空字符串
3369
+ r"""<p>规则生效的应用。生效于全部应用就传空字符串</p>
3367
3370
  注意:此字段可能返回 null,表示取不到有效值。
3368
3371
  :rtype: str
3369
3372
  """
@@ -3375,7 +3378,7 @@ class ApmPrometheusRules(AbstractModel):
3375
3378
 
3376
3379
  @property
3377
3380
  def Status(self):
3378
- r"""指标匹配规则状态:1(启用)、2(不启用)
3381
+ r"""<p>指标匹配规则状态:1(启用)、2(不启用)</p>
3379
3382
  注意:此字段可能返回 null,表示取不到有效值。
3380
3383
  :rtype: int
3381
3384
  """
@@ -3387,7 +3390,7 @@ class ApmPrometheusRules(AbstractModel):
3387
3390
 
3388
3391
  @property
3389
3392
  def MetricNameRule(self):
3390
- r"""指标匹配规则
3393
+ r"""<p>指标匹配规则</p>
3391
3394
  注意:此字段可能返回 null,表示取不到有效值。
3392
3395
  :rtype: str
3393
3396
  """
@@ -3399,7 +3402,7 @@ class ApmPrometheusRules(AbstractModel):
3399
3402
 
3400
3403
  @property
3401
3404
  def MetricMatchType(self):
3402
- r"""匹配类型:0精准匹配,1前缀匹配,2后缀匹配
3405
+ r"""<p>匹配类型:0精准匹配,1前缀匹配,2后缀匹配</p>
3403
3406
  注意:此字段可能返回 null,表示取不到有效值。
3404
3407
  :rtype: int
3405
3408
  """
@@ -3409,6 +3412,17 @@ class ApmPrometheusRules(AbstractModel):
3409
3412
  def MetricMatchType(self, MetricMatchType):
3410
3413
  self._MetricMatchType = MetricMatchType
3411
3414
 
3415
+ @property
3416
+ def AppendResourceAttributes(self):
3417
+ r"""<p>是否追加资源属性</p>
3418
+ :rtype: bool
3419
+ """
3420
+ return self._AppendResourceAttributes
3421
+
3422
+ @AppendResourceAttributes.setter
3423
+ def AppendResourceAttributes(self, AppendResourceAttributes):
3424
+ self._AppendResourceAttributes = AppendResourceAttributes
3425
+
3412
3426
 
3413
3427
  def _deserialize(self, params):
3414
3428
  self._Id = params.get("Id")
@@ -3417,6 +3431,7 @@ class ApmPrometheusRules(AbstractModel):
3417
3431
  self._Status = params.get("Status")
3418
3432
  self._MetricNameRule = params.get("MetricNameRule")
3419
3433
  self._MetricMatchType = params.get("MetricMatchType")
3434
+ self._AppendResourceAttributes = params.get("AppendResourceAttributes")
3420
3435
  memeber_set = set(params.keys())
3421
3436
  for name, value in vars(self).items():
3422
3437
  property_name = name[1:]
@@ -4235,26 +4250,29 @@ class CreateApmPrometheusRuleRequest(AbstractModel):
4235
4250
 
4236
4251
  def __init__(self):
4237
4252
  r"""
4238
- :param _Name: 指标匹配规则名
4253
+ :param _Name: <p>指标匹配规则名</p>
4239
4254
  :type Name: str
4240
- :param _ServiceName: 规则生效的应用。作用全部应用就传空字符串
4255
+ :param _ServiceName: <p>规则生效的应用。作用全部应用就传空字符串</p>
4241
4256
  :type ServiceName: str
4242
- :param _MetricMatchType: 指标匹配类型:0精准匹配,1前缀匹配,2后缀匹配
4257
+ :param _MetricMatchType: <p>指标匹配类型:0精准匹配,1前缀匹配,2后缀匹配</p>
4243
4258
  :type MetricMatchType: int
4244
- :param _MetricNameRule: 客户定义的命中指标名规则。
4259
+ :param _MetricNameRule: <p>客户定义的命中指标名规则。</p>
4245
4260
  :type MetricNameRule: str
4246
- :param _InstanceId: 业务系统ID
4261
+ :param _InstanceId: <p>业务系统ID</p>
4247
4262
  :type InstanceId: str
4263
+ :param _AppendResourceAttributes: <p>是否追加资源属性</p>
4264
+ :type AppendResourceAttributes: bool
4248
4265
  """
4249
4266
  self._Name = None
4250
4267
  self._ServiceName = None
4251
4268
  self._MetricMatchType = None
4252
4269
  self._MetricNameRule = None
4253
4270
  self._InstanceId = None
4271
+ self._AppendResourceAttributes = None
4254
4272
 
4255
4273
  @property
4256
4274
  def Name(self):
4257
- r"""指标匹配规则名
4275
+ r"""<p>指标匹配规则名</p>
4258
4276
  :rtype: str
4259
4277
  """
4260
4278
  return self._Name
@@ -4265,7 +4283,7 @@ class CreateApmPrometheusRuleRequest(AbstractModel):
4265
4283
 
4266
4284
  @property
4267
4285
  def ServiceName(self):
4268
- r"""规则生效的应用。作用全部应用就传空字符串
4286
+ r"""<p>规则生效的应用。作用全部应用就传空字符串</p>
4269
4287
  :rtype: str
4270
4288
  """
4271
4289
  return self._ServiceName
@@ -4276,7 +4294,7 @@ class CreateApmPrometheusRuleRequest(AbstractModel):
4276
4294
 
4277
4295
  @property
4278
4296
  def MetricMatchType(self):
4279
- r"""指标匹配类型:0精准匹配,1前缀匹配,2后缀匹配
4297
+ r"""<p>指标匹配类型:0精准匹配,1前缀匹配,2后缀匹配</p>
4280
4298
  :rtype: int
4281
4299
  """
4282
4300
  return self._MetricMatchType
@@ -4287,7 +4305,7 @@ class CreateApmPrometheusRuleRequest(AbstractModel):
4287
4305
 
4288
4306
  @property
4289
4307
  def MetricNameRule(self):
4290
- r"""客户定义的命中指标名规则。
4308
+ r"""<p>客户定义的命中指标名规则。</p>
4291
4309
  :rtype: str
4292
4310
  """
4293
4311
  return self._MetricNameRule
@@ -4298,7 +4316,7 @@ class CreateApmPrometheusRuleRequest(AbstractModel):
4298
4316
 
4299
4317
  @property
4300
4318
  def InstanceId(self):
4301
- r"""业务系统ID
4319
+ r"""<p>业务系统ID</p>
4302
4320
  :rtype: str
4303
4321
  """
4304
4322
  return self._InstanceId
@@ -4307,6 +4325,17 @@ class CreateApmPrometheusRuleRequest(AbstractModel):
4307
4325
  def InstanceId(self, InstanceId):
4308
4326
  self._InstanceId = InstanceId
4309
4327
 
4328
+ @property
4329
+ def AppendResourceAttributes(self):
4330
+ r"""<p>是否追加资源属性</p>
4331
+ :rtype: bool
4332
+ """
4333
+ return self._AppendResourceAttributes
4334
+
4335
+ @AppendResourceAttributes.setter
4336
+ def AppendResourceAttributes(self, AppendResourceAttributes):
4337
+ self._AppendResourceAttributes = AppendResourceAttributes
4338
+
4310
4339
 
4311
4340
  def _deserialize(self, params):
4312
4341
  self._Name = params.get("Name")
@@ -4314,6 +4343,7 @@ class CreateApmPrometheusRuleRequest(AbstractModel):
4314
4343
  self._MetricMatchType = params.get("MetricMatchType")
4315
4344
  self._MetricNameRule = params.get("MetricNameRule")
4316
4345
  self._InstanceId = params.get("InstanceId")
4346
+ self._AppendResourceAttributes = params.get("AppendResourceAttributes")
4317
4347
  memeber_set = set(params.keys())
4318
4348
  for name, value in vars(self).items():
4319
4349
  property_name = name[1:]
@@ -4331,7 +4361,7 @@ class CreateApmPrometheusRuleResponse(AbstractModel):
4331
4361
 
4332
4362
  def __init__(self):
4333
4363
  r"""
4334
- :param _RuleId: 指标匹配规则的ID
4364
+ :param _RuleId: <p>指标匹配规则的ID</p>
4335
4365
  :type RuleId: int
4336
4366
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4337
4367
  :type RequestId: str
@@ -4341,7 +4371,7 @@ class CreateApmPrometheusRuleResponse(AbstractModel):
4341
4371
 
4342
4372
  @property
4343
4373
  def RuleId(self):
4344
- r"""指标匹配规则的ID
4374
+ r"""<p>指标匹配规则的ID</p>
4345
4375
  :rtype: int
4346
4376
  """
4347
4377
  return self._RuleId
@@ -10685,20 +10715,22 @@ class ModifyApmPrometheusRuleRequest(AbstractModel):
10685
10715
 
10686
10716
  def __init__(self):
10687
10717
  r"""
10688
- :param _Id: 规则ID
10718
+ :param _Id: <p>规则ID</p>
10689
10719
  :type Id: int
10690
- :param _InstanceId: 业务系统ID
10720
+ :param _InstanceId: <p>业务系统ID</p>
10691
10721
  :type InstanceId: str
10692
- :param _Name: 所要修改的规则名
10722
+ :param _Name: <p>所要修改的规则名</p>
10693
10723
  :type Name: str
10694
- :param _Status: 规则状态:1(启用)、2(不启用)、3(删除)
10724
+ :param _Status: <p>规则状态:1(启用)、2(不启用)、3(删除)</p>
10695
10725
  :type Status: int
10696
- :param _ServiceName: 规则生效的应用。生效于全部应用就传空(这个如果不修改也要传旧的规则)
10726
+ :param _ServiceName: <p>规则生效的应用。生效于全部应用就传空(这个如果不修改也要传旧的规则)</p>
10697
10727
  :type ServiceName: str
10698
- :param _MetricMatchType: 匹配类型:0精准匹配,1前缀匹配,2后缀匹配(这个如果不修改也要传旧的规则)
10728
+ :param _MetricMatchType: <p>匹配类型:0精准匹配,1前缀匹配,2后缀匹配(这个如果不修改也要传旧的规则)</p>
10699
10729
  :type MetricMatchType: int
10700
- :param _MetricNameRule: 客户定义的命中指标名规则。
10730
+ :param _MetricNameRule: <p>客户定义的命中指标名规则。</p>
10701
10731
  :type MetricNameRule: str
10732
+ :param _AppendResourceAttributes: <p>是否追加资源属性</p>
10733
+ :type AppendResourceAttributes: bool
10702
10734
  """
10703
10735
  self._Id = None
10704
10736
  self._InstanceId = None
@@ -10707,10 +10739,11 @@ class ModifyApmPrometheusRuleRequest(AbstractModel):
10707
10739
  self._ServiceName = None
10708
10740
  self._MetricMatchType = None
10709
10741
  self._MetricNameRule = None
10742
+ self._AppendResourceAttributes = None
10710
10743
 
10711
10744
  @property
10712
10745
  def Id(self):
10713
- r"""规则ID
10746
+ r"""<p>规则ID</p>
10714
10747
  :rtype: int
10715
10748
  """
10716
10749
  return self._Id
@@ -10721,7 +10754,7 @@ class ModifyApmPrometheusRuleRequest(AbstractModel):
10721
10754
 
10722
10755
  @property
10723
10756
  def InstanceId(self):
10724
- r"""业务系统ID
10757
+ r"""<p>业务系统ID</p>
10725
10758
  :rtype: str
10726
10759
  """
10727
10760
  return self._InstanceId
@@ -10732,7 +10765,7 @@ class ModifyApmPrometheusRuleRequest(AbstractModel):
10732
10765
 
10733
10766
  @property
10734
10767
  def Name(self):
10735
- r"""所要修改的规则名
10768
+ r"""<p>所要修改的规则名</p>
10736
10769
  :rtype: str
10737
10770
  """
10738
10771
  return self._Name
@@ -10743,7 +10776,7 @@ class ModifyApmPrometheusRuleRequest(AbstractModel):
10743
10776
 
10744
10777
  @property
10745
10778
  def Status(self):
10746
- r"""规则状态:1(启用)、2(不启用)、3(删除)
10779
+ r"""<p>规则状态:1(启用)、2(不启用)、3(删除)</p>
10747
10780
  :rtype: int
10748
10781
  """
10749
10782
  return self._Status
@@ -10754,7 +10787,7 @@ class ModifyApmPrometheusRuleRequest(AbstractModel):
10754
10787
 
10755
10788
  @property
10756
10789
  def ServiceName(self):
10757
- r"""规则生效的应用。生效于全部应用就传空(这个如果不修改也要传旧的规则)
10790
+ r"""<p>规则生效的应用。生效于全部应用就传空(这个如果不修改也要传旧的规则)</p>
10758
10791
  :rtype: str
10759
10792
  """
10760
10793
  return self._ServiceName
@@ -10765,7 +10798,7 @@ class ModifyApmPrometheusRuleRequest(AbstractModel):
10765
10798
 
10766
10799
  @property
10767
10800
  def MetricMatchType(self):
10768
- r"""匹配类型:0精准匹配,1前缀匹配,2后缀匹配(这个如果不修改也要传旧的规则)
10801
+ r"""<p>匹配类型:0精准匹配,1前缀匹配,2后缀匹配(这个如果不修改也要传旧的规则)</p>
10769
10802
  :rtype: int
10770
10803
  """
10771
10804
  return self._MetricMatchType
@@ -10776,7 +10809,7 @@ class ModifyApmPrometheusRuleRequest(AbstractModel):
10776
10809
 
10777
10810
  @property
10778
10811
  def MetricNameRule(self):
10779
- r"""客户定义的命中指标名规则。
10812
+ r"""<p>客户定义的命中指标名规则。</p>
10780
10813
  :rtype: str
10781
10814
  """
10782
10815
  return self._MetricNameRule
@@ -10785,6 +10818,17 @@ class ModifyApmPrometheusRuleRequest(AbstractModel):
10785
10818
  def MetricNameRule(self, MetricNameRule):
10786
10819
  self._MetricNameRule = MetricNameRule
10787
10820
 
10821
+ @property
10822
+ def AppendResourceAttributes(self):
10823
+ r"""<p>是否追加资源属性</p>
10824
+ :rtype: bool
10825
+ """
10826
+ return self._AppendResourceAttributes
10827
+
10828
+ @AppendResourceAttributes.setter
10829
+ def AppendResourceAttributes(self, AppendResourceAttributes):
10830
+ self._AppendResourceAttributes = AppendResourceAttributes
10831
+
10788
10832
 
10789
10833
  def _deserialize(self, params):
10790
10834
  self._Id = params.get("Id")
@@ -10794,6 +10838,7 @@ class ModifyApmPrometheusRuleRequest(AbstractModel):
10794
10838
  self._ServiceName = params.get("ServiceName")
10795
10839
  self._MetricMatchType = params.get("MetricMatchType")
10796
10840
  self._MetricNameRule = params.get("MetricNameRule")
10841
+ self._AppendResourceAttributes = params.get("AppendResourceAttributes")
10797
10842
  memeber_set = set(params.keys())
10798
10843
  for name, value in vars(self).items():
10799
10844
  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.92
3
+ Version: 3.1.106
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.92
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.106
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.106
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.92