tencentcloud-sdk-python-apm 3.1.124__tar.gz → 3.1.135__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.124 → tencentcloud_sdk_python_apm-3.1.135}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/setup.py +1 -1
  3. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/tencentcloud/apm/v20210622/models.py +153 -100
  5. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/tencentcloud_sdk_python_apm.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_apm-3.1.135/tencentcloud_sdk_python_apm.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_apm-3.1.124/tencentcloud_sdk_python_apm.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/README.rst +0 -0
  9. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/tencentcloud/apm/__init__.py +0 -0
  11. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/tencentcloud/apm/v20210622/__init__.py +0 -0
  12. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/tencentcloud/apm/v20210622/apm_client.py +0 -0
  13. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/tencentcloud/apm/v20210622/apm_client_async.py +0 -0
  14. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/tencentcloud/apm/v20210622/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/tencentcloud_sdk_python_apm.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/tencentcloud_sdk_python_apm.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_apm-3.1.124 → tencentcloud_sdk_python_apm-3.1.135}/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.124
3
+ Version: 3.1.135
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.124
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.135
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.124,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.135,<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.124'
17
+ __version__ = '3.1.135'
@@ -1391,7 +1391,7 @@ class ApmApplicationConfigView(AbstractModel):
1391
1391
  :type ExceptionFilter: str
1392
1392
  :param _ErrorCodeFilter: <p>HTTP 状态码过滤</p>
1393
1393
  :type ErrorCodeFilter: str
1394
- :param _EventEnable: <p>应用诊断开关(已废弃)</p>
1394
+ :param _EventEnable: <p>应用诊断开关</p>
1395
1395
  :type EventEnable: bool
1396
1396
  :param _UrlConvergenceSwitch: <p>URL 收敛开关 0 关 1 开</p>
1397
1397
  :type UrlConvergenceSwitch: int
@@ -1415,9 +1415,9 @@ class ApmApplicationConfigView(AbstractModel):
1415
1415
  :type SnapshotTimeout: int
1416
1416
  :param _AgentEnable: <p>探针总开关</p>
1417
1417
  :type AgentEnable: bool
1418
- :param _InstrumentList: <p>组件列表开关(已废弃)</p>
1418
+ :param _InstrumentList: <p>组件列表开关</p>
1419
1419
  :type InstrumentList: list of Instrument
1420
- :param _TraceSquash: <p>链路压缩开关(已废弃)</p>
1420
+ :param _TraceSquash: <p>链路压缩开关</p>
1421
1421
  :type TraceSquash: bool
1422
1422
  :param _AgentIgnoreOperation: <p>链路过滤配置</p>
1423
1423
  :type AgentIgnoreOperation: str
@@ -1593,7 +1593,7 @@ class ApmApplicationConfigView(AbstractModel):
1593
1593
 
1594
1594
  @property
1595
1595
  def EventEnable(self):
1596
- r"""<p>应用诊断开关(已废弃)</p>
1596
+ r"""<p>应用诊断开关</p>
1597
1597
  :rtype: bool
1598
1598
  """
1599
1599
  return self._EventEnable
@@ -1725,7 +1725,7 @@ class ApmApplicationConfigView(AbstractModel):
1725
1725
 
1726
1726
  @property
1727
1727
  def InstrumentList(self):
1728
- r"""<p>组件列表开关(已废弃)</p>
1728
+ r"""<p>组件列表开关</p>
1729
1729
  :rtype: list of Instrument
1730
1730
  """
1731
1731
  return self._InstrumentList
@@ -1736,7 +1736,7 @@ class ApmApplicationConfigView(AbstractModel):
1736
1736
 
1737
1737
  @property
1738
1738
  def TraceSquash(self):
1739
- r"""<p>链路压缩开关(已废弃)</p>
1739
+ r"""<p>链路压缩开关</p>
1740
1740
  :rtype: bool
1741
1741
  """
1742
1742
  return self._TraceSquash
@@ -4193,6 +4193,8 @@ class CreateApmInstanceRequest(AbstractModel):
4193
4193
 
4194
4194
  @property
4195
4195
  def SpanDailyCounters(self):
4196
+ warnings.warn("parameter `SpanDailyCounters` is deprecated", DeprecationWarning)
4197
+
4196
4198
  r"""业务系统上报额度值,默认赋值为0表示不限制上报额度,已废弃
4197
4199
  :rtype: int
4198
4200
  """
@@ -4200,6 +4202,8 @@ class CreateApmInstanceRequest(AbstractModel):
4200
4202
 
4201
4203
  @SpanDailyCounters.setter
4202
4204
  def SpanDailyCounters(self, SpanDailyCounters):
4205
+ warnings.warn("parameter `SpanDailyCounters` is deprecated", DeprecationWarning)
4206
+
4203
4207
  self._SpanDailyCounters = SpanDailyCounters
4204
4208
 
4205
4209
  @property
@@ -4954,6 +4958,8 @@ class DescribeApmAgentRequest(AbstractModel):
4954
4958
 
4955
4959
  @property
4956
4960
  def ReportMethod(self):
4961
+ warnings.warn("parameter `ReportMethod` is deprecated", DeprecationWarning)
4962
+
4957
4963
  r"""上报方式,已弃用
4958
4964
  :rtype: str
4959
4965
  """
@@ -4961,6 +4967,8 @@ class DescribeApmAgentRequest(AbstractModel):
4961
4967
 
4962
4968
  @ReportMethod.setter
4963
4969
  def ReportMethod(self, ReportMethod):
4970
+ warnings.warn("parameter `ReportMethod` is deprecated", DeprecationWarning)
4971
+
4964
4972
  self._ReportMethod = ReportMethod
4965
4973
 
4966
4974
 
@@ -8722,7 +8730,7 @@ class DescribeTopologyNewResponse(AbstractModel):
8722
8730
  :type Nodes: list of TopologyNode
8723
8731
  :param _Edges: <p>边集合</p>
8724
8732
  :type Edges: list of TopologyEdgeNew
8725
- :param _TopologyModifyFlag: <p>拓扑图是否有修改</p>
8733
+ :param _TopologyModifyFlag: <p>拓扑图是否有修改</p><p>枚举值:</p><ul><li>0: 拓扑图未修改</li><li>1: 拓扑图已修改</li></ul>
8726
8734
  注意:此字段可能返回 null,表示取不到有效值。
8727
8735
  :type TopologyModifyFlag: int
8728
8736
  :param _Selectors: <p>节点数量</p>
@@ -8766,7 +8774,7 @@ class DescribeTopologyNewResponse(AbstractModel):
8766
8774
 
8767
8775
  @property
8768
8776
  def TopologyModifyFlag(self):
8769
- r"""<p>拓扑图是否有修改</p>
8777
+ r"""<p>拓扑图是否有修改</p><p>枚举值:</p><ul><li>0: 拓扑图未修改</li><li>1: 拓扑图已修改</li></ul>
8770
8778
  注意:此字段可能返回 null,表示取不到有效值。
8771
8779
  :rtype: int
8772
8780
  """
@@ -10258,92 +10266,98 @@ class ModifyApmInstanceRequest(AbstractModel):
10258
10266
 
10259
10267
  def __init__(self):
10260
10268
  r"""
10261
- :param _InstanceId: 业务系统 ID
10269
+ :param _InstanceId: <p>业务系统 ID</p>
10262
10270
  :type InstanceId: str
10263
- :param _Name: 业务系统名
10271
+ :param _Name: <p>业务系统名</p>
10264
10272
  :type Name: str
10265
- :param _Tags: Tag 列表
10273
+ :param _Tags: <p>Tag 列表</p>
10266
10274
  :type Tags: list of ApmTag
10267
- :param _Description: 业务系统描述
10275
+ :param _Description: <p>业务系统描述</p>
10268
10276
  :type Description: str
10269
- :param _TraceDuration: Trace 数据保存时长(单位:天)
10277
+ :param _TraceDuration: <p>Trace 数据保存时长(单位:天)</p>
10270
10278
  :type TraceDuration: int
10271
- :param _OpenBilling: 是否开启计费
10279
+ :param _OpenBilling: <p>是否开启计费</p>
10272
10280
  :type OpenBilling: bool
10273
- :param _SpanDailyCounters: 业务系统上报额度
10281
+ :param _SpanDailyCounters: <p>业务系统上报额度</p>
10274
10282
  :type SpanDailyCounters: int
10275
- :param _ErrRateThreshold: 错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。
10283
+ :param _ErrRateThreshold: <p>错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。</p>
10276
10284
  :type ErrRateThreshold: int
10277
- :param _SampleRate: 采样率(单位:%)
10285
+ :param _SampleRate: <p>采样率(单位:%)</p>
10278
10286
  :type SampleRate: int
10279
- :param _ErrorSample: 是否开启错误采样(0=关, 1=开)
10287
+ :param _ErrorSample: <p>是否开启错误采样(0=关, 1=开)</p>
10280
10288
  :type ErrorSample: int
10281
- :param _SlowRequestSavedThreshold: 采样慢调用保存阈值(单位:ms)
10289
+ :param _SlowRequestSavedThreshold: <p>采样慢调用保存阈值(单位:ms)</p>
10282
10290
  :type SlowRequestSavedThreshold: int
10283
- :param _IsRelatedLog: 是否开启日志功能(0=关, 1=开)
10291
+ :param _IsRelatedLog: <p>是否开启日志功能(0=关, 1=开)</p>
10284
10292
  :type IsRelatedLog: int
10285
- :param _LogRegion: 日志地域,开启日志功能后才会生效
10293
+ :param _LogRegion: <p>日志地域,开启日志功能后才会生效</p>
10286
10294
  :type LogRegion: str
10287
- :param _LogTopicID: CLS 日志主题 ID,开启日志功能后才会生效
10295
+ :param _LogTopicID: <p>CLS 日志主题 ID,开启日志功能后才会生效</p>
10288
10296
  :type LogTopicID: str
10289
- :param _LogSet: 日志集,开启日志功能后才会生效
10297
+ :param _LogSet: <p>日志集,开启日志功能后才会生效</p>
10290
10298
  :type LogSet: str
10291
- :param _LogSource: 日志源,开启日志功能后才会生效
10299
+ :param _LogSource: <p>日志源,开启日志功能后才会生效</p>
10292
10300
  :type LogSource: str
10293
- :param _CustomShowTags: 用户自定义展示标签列表
10301
+ :param _CustomShowTags: <p>用户自定义展示标签列表</p>
10294
10302
  :type CustomShowTags: list of str
10295
- :param _PayMode: 修改计费模式(1为预付费,0为按量付费)
10303
+ :param _PayMode: <p>修改计费模式(1为预付费,0为按量付费)</p>
10296
10304
  :type PayMode: int
10297
- :param _ResponseDurationWarningThreshold: 响应时间警示线
10305
+ :param _ResponseDurationWarningThreshold: <p>响应时间警示线</p>
10298
10306
  :type ResponseDurationWarningThreshold: int
10299
- :param _Free: 是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0
10307
+ :param _Free: <p>是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0</p>
10300
10308
  :type Free: int
10301
- :param _IsRelatedDashboard: 是否关联 Dashboard(0=关,1=开)
10309
+ :param _IsRelatedDashboard: <p>是否关联 Dashboard(0=关,1=开)</p>
10302
10310
  :type IsRelatedDashboard: int
10303
- :param _DashboardTopicID: 关联的 Dashboard ID,开启关联 Dashboard 后才会生效
10311
+ :param _DashboardTopicID: <p>关联的 Dashboard ID,开启关联 Dashboard 后才会生效</p>
10304
10312
  :type DashboardTopicID: str
10305
- :param _IsSqlInjectionAnalysis: 是否开启 SQL 注入检测(0=关,1=开)
10313
+ :param _IsSqlInjectionAnalysis: <p>是否开启 SQL 注入检测(0=关,1=开)</p>
10306
10314
  :type IsSqlInjectionAnalysis: int
10307
- :param _IsInstrumentationVulnerabilityScan: 是否开启组件漏洞检测(0=关,1=开)
10315
+ :param _IsInstrumentationVulnerabilityScan: <p>是否开启组件漏洞检测(0=关,1=开)</p>
10308
10316
  :type IsInstrumentationVulnerabilityScan: int
10309
- :param _IsRemoteCommandExecutionAnalysis: 是否开启远程命令攻击检测
10317
+ :param _IsRemoteCommandExecutionAnalysis: <p>是否开启远程命令攻击检测</p>
10310
10318
  :type IsRemoteCommandExecutionAnalysis: int
10311
- :param _IsMemoryHijackingAnalysis: 是否开启内存马检测
10319
+ :param _IsMemoryHijackingAnalysis: <p>是否开启内存马检测</p>
10312
10320
  :type IsMemoryHijackingAnalysis: int
10313
- :param _LogIndexType: CLS索引类型(0=全文索引,1=键值索引)
10321
+ :param _LogIndexType: <p>CLS索引类型(0=全文索引,1=键值索引)</p>
10314
10322
  :type LogIndexType: int
10315
- :param _LogTraceIdKey: traceId的索引key: 当CLS索引类型为键值索引时生效
10323
+ :param _LogTraceIdKey: <p>traceId的索引key: 当CLS索引类型为键值索引时生效</p>
10316
10324
  :type LogTraceIdKey: str
10317
- :param _IsDeleteAnyFileAnalysis: 是否开启删除任意文件检测(0-关闭,1-开启)
10325
+ :param _IsDeleteAnyFileAnalysis: <p>是否开启删除任意文件检测(0-关闭,1-开启)</p>
10318
10326
  :type IsDeleteAnyFileAnalysis: int
10319
- :param _IsReadAnyFileAnalysis: 是否开启读取任意文件检测(0-关闭,1-开启)
10327
+ :param _IsReadAnyFileAnalysis: <p>是否开启读取任意文件检测(0-关闭,1-开启)</p>
10320
10328
  :type IsReadAnyFileAnalysis: int
10321
- :param _IsUploadAnyFileAnalysis: 是否开启上传任意文件检测(0-关闭,1-开启)
10329
+ :param _IsUploadAnyFileAnalysis: <p>是否开启上传任意文件检测(0-关闭,1-开启)</p>
10322
10330
  :type IsUploadAnyFileAnalysis: int
10323
- :param _IsIncludeAnyFileAnalysis: 是否开启包含任意文件检测(0-关闭,1-开启)
10331
+ :param _IsIncludeAnyFileAnalysis: <p>是否开启包含任意文件检测(0-关闭,1-开启)</p>
10324
10332
  :type IsIncludeAnyFileAnalysis: int
10325
- :param _IsDirectoryTraversalAnalysis: 是否开启目录遍历检测(0-关闭,1-开启)
10333
+ :param _IsDirectoryTraversalAnalysis: <p>是否开启目录遍历检测(0-关闭,1-开启)</p>
10326
10334
  :type IsDirectoryTraversalAnalysis: int
10327
- :param _IsTemplateEngineInjectionAnalysis: 是否开启模板引擎注入检测(0-关闭,1-开启)
10335
+ :param _IsTemplateEngineInjectionAnalysis: <p>是否开启模板引擎注入检测(0-关闭,1-开启)</p>
10328
10336
  :type IsTemplateEngineInjectionAnalysis: int
10329
- :param _IsScriptEngineInjectionAnalysis: 是否开启脚本引擎注入检测(0-关闭,1-开启)
10337
+ :param _IsScriptEngineInjectionAnalysis: <p>是否开启脚本引擎注入检测(0-关闭,1-开启)</p>
10330
10338
  :type IsScriptEngineInjectionAnalysis: int
10331
- :param _IsExpressionInjectionAnalysis: 是否开启表达式注入检测(0-关闭,1-开启)
10339
+ :param _IsExpressionInjectionAnalysis: <p>是否开启表达式注入检测(0-关闭,1-开启)</p>
10332
10340
  :type IsExpressionInjectionAnalysis: int
10333
- :param _IsJNDIInjectionAnalysis: 是否开启JNDI注入检测(0-关闭,1-开启)
10341
+ :param _IsJNDIInjectionAnalysis: <p>是否开启JNDI注入检测(0-关闭,1-开启)</p>
10334
10342
  :type IsJNDIInjectionAnalysis: int
10335
- :param _IsJNIInjectionAnalysis: 是否开启JNI注入检测(0-关闭,1-开启)
10343
+ :param _IsJNIInjectionAnalysis: <p>是否开启JNI注入检测(0-关闭,1-开启)</p>
10336
10344
  :type IsJNIInjectionAnalysis: int
10337
- :param _IsWebshellBackdoorAnalysis: 是否开启Webshell后门检测(0-关闭,1-开启)
10345
+ :param _IsWebshellBackdoorAnalysis: <p>是否开启Webshell后门检测(0-关闭,1-开启)</p>
10338
10346
  :type IsWebshellBackdoorAnalysis: int
10339
- :param _IsDeserializationAnalysis: 是否开启反序列化检测(0-关闭,1-开启)
10347
+ :param _IsDeserializationAnalysis: <p>是否开启反序列化检测(0-关闭,1-开启)</p>
10340
10348
  :type IsDeserializationAnalysis: int
10341
- :param _UrlLongSegmentThreshold: URL长分段收敛阈值
10349
+ :param _UrlLongSegmentThreshold: <p>URL长分段收敛阈值</p>
10342
10350
  :type UrlLongSegmentThreshold: int
10343
- :param _UrlNumberSegmentThreshold: URL数字分段收敛阈值
10351
+ :param _UrlNumberSegmentThreshold: <p>URL数字分段收敛阈值</p>
10344
10352
  :type UrlNumberSegmentThreshold: int
10345
- :param _LogSpanIdKey: spanId的索引key: 当CLS索引类型为键值索引时生效
10353
+ :param _LogSpanIdKey: <p>spanId的索引key: 当CLS索引类型为键值索引时生效</p>
10346
10354
  :type LogSpanIdKey: str
10355
+ :param _EnableHeadSampler: <p>是否开启探针头采样</p>
10356
+ :type EnableHeadSampler: bool
10357
+ :param _HeadSamplerType: <p>头采类型</p><p>枚举值:</p><ul><li>parentbased_traceidratio: 默认</li></ul>
10358
+ :type HeadSamplerType: str
10359
+ :param _HeadSamplerArg: <p>头采采样率</p><p>取值范围:[0, 100]</p>
10360
+ :type HeadSamplerArg: int
10347
10361
  """
10348
10362
  self._InstanceId = None
10349
10363
  self._Name = None
@@ -10388,10 +10402,13 @@ class ModifyApmInstanceRequest(AbstractModel):
10388
10402
  self._UrlLongSegmentThreshold = None
10389
10403
  self._UrlNumberSegmentThreshold = None
10390
10404
  self._LogSpanIdKey = None
10405
+ self._EnableHeadSampler = None
10406
+ self._HeadSamplerType = None
10407
+ self._HeadSamplerArg = None
10391
10408
 
10392
10409
  @property
10393
10410
  def InstanceId(self):
10394
- r"""业务系统 ID
10411
+ r"""<p>业务系统 ID</p>
10395
10412
  :rtype: str
10396
10413
  """
10397
10414
  return self._InstanceId
@@ -10402,7 +10419,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10402
10419
 
10403
10420
  @property
10404
10421
  def Name(self):
10405
- r"""业务系统名
10422
+ r"""<p>业务系统名</p>
10406
10423
  :rtype: str
10407
10424
  """
10408
10425
  return self._Name
@@ -10413,7 +10430,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10413
10430
 
10414
10431
  @property
10415
10432
  def Tags(self):
10416
- r"""Tag 列表
10433
+ r"""<p>Tag 列表</p>
10417
10434
  :rtype: list of ApmTag
10418
10435
  """
10419
10436
  return self._Tags
@@ -10424,7 +10441,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10424
10441
 
10425
10442
  @property
10426
10443
  def Description(self):
10427
- r"""业务系统描述
10444
+ r"""<p>业务系统描述</p>
10428
10445
  :rtype: str
10429
10446
  """
10430
10447
  return self._Description
@@ -10435,7 +10452,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10435
10452
 
10436
10453
  @property
10437
10454
  def TraceDuration(self):
10438
- r"""Trace 数据保存时长(单位:天)
10455
+ r"""<p>Trace 数据保存时长(单位:天)</p>
10439
10456
  :rtype: int
10440
10457
  """
10441
10458
  return self._TraceDuration
@@ -10446,7 +10463,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10446
10463
 
10447
10464
  @property
10448
10465
  def OpenBilling(self):
10449
- r"""是否开启计费
10466
+ r"""<p>是否开启计费</p>
10450
10467
  :rtype: bool
10451
10468
  """
10452
10469
  return self._OpenBilling
@@ -10457,7 +10474,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10457
10474
 
10458
10475
  @property
10459
10476
  def SpanDailyCounters(self):
10460
- r"""业务系统上报额度
10477
+ r"""<p>业务系统上报额度</p>
10461
10478
  :rtype: int
10462
10479
  """
10463
10480
  return self._SpanDailyCounters
@@ -10468,7 +10485,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10468
10485
 
10469
10486
  @property
10470
10487
  def ErrRateThreshold(self):
10471
- r"""错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。
10488
+ r"""<p>错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。</p>
10472
10489
  :rtype: int
10473
10490
  """
10474
10491
  return self._ErrRateThreshold
@@ -10479,7 +10496,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10479
10496
 
10480
10497
  @property
10481
10498
  def SampleRate(self):
10482
- r"""采样率(单位:%)
10499
+ r"""<p>采样率(单位:%)</p>
10483
10500
  :rtype: int
10484
10501
  """
10485
10502
  return self._SampleRate
@@ -10490,7 +10507,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10490
10507
 
10491
10508
  @property
10492
10509
  def ErrorSample(self):
10493
- r"""是否开启错误采样(0=关, 1=开)
10510
+ r"""<p>是否开启错误采样(0=关, 1=开)</p>
10494
10511
  :rtype: int
10495
10512
  """
10496
10513
  return self._ErrorSample
@@ -10501,7 +10518,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10501
10518
 
10502
10519
  @property
10503
10520
  def SlowRequestSavedThreshold(self):
10504
- r"""采样慢调用保存阈值(单位:ms)
10521
+ r"""<p>采样慢调用保存阈值(单位:ms)</p>
10505
10522
  :rtype: int
10506
10523
  """
10507
10524
  return self._SlowRequestSavedThreshold
@@ -10512,7 +10529,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10512
10529
 
10513
10530
  @property
10514
10531
  def IsRelatedLog(self):
10515
- r"""是否开启日志功能(0=关, 1=开)
10532
+ r"""<p>是否开启日志功能(0=关, 1=开)</p>
10516
10533
  :rtype: int
10517
10534
  """
10518
10535
  return self._IsRelatedLog
@@ -10523,7 +10540,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10523
10540
 
10524
10541
  @property
10525
10542
  def LogRegion(self):
10526
- r"""日志地域,开启日志功能后才会生效
10543
+ r"""<p>日志地域,开启日志功能后才会生效</p>
10527
10544
  :rtype: str
10528
10545
  """
10529
10546
  return self._LogRegion
@@ -10534,7 +10551,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10534
10551
 
10535
10552
  @property
10536
10553
  def LogTopicID(self):
10537
- r"""CLS 日志主题 ID,开启日志功能后才会生效
10554
+ r"""<p>CLS 日志主题 ID,开启日志功能后才会生效</p>
10538
10555
  :rtype: str
10539
10556
  """
10540
10557
  return self._LogTopicID
@@ -10545,7 +10562,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10545
10562
 
10546
10563
  @property
10547
10564
  def LogSet(self):
10548
- r"""日志集,开启日志功能后才会生效
10565
+ r"""<p>日志集,开启日志功能后才会生效</p>
10549
10566
  :rtype: str
10550
10567
  """
10551
10568
  return self._LogSet
@@ -10556,7 +10573,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10556
10573
 
10557
10574
  @property
10558
10575
  def LogSource(self):
10559
- r"""日志源,开启日志功能后才会生效
10576
+ r"""<p>日志源,开启日志功能后才会生效</p>
10560
10577
  :rtype: str
10561
10578
  """
10562
10579
  return self._LogSource
@@ -10567,7 +10584,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10567
10584
 
10568
10585
  @property
10569
10586
  def CustomShowTags(self):
10570
- r"""用户自定义展示标签列表
10587
+ r"""<p>用户自定义展示标签列表</p>
10571
10588
  :rtype: list of str
10572
10589
  """
10573
10590
  return self._CustomShowTags
@@ -10578,7 +10595,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10578
10595
 
10579
10596
  @property
10580
10597
  def PayMode(self):
10581
- r"""修改计费模式(1为预付费,0为按量付费)
10598
+ r"""<p>修改计费模式(1为预付费,0为按量付费)</p>
10582
10599
  :rtype: int
10583
10600
  """
10584
10601
  return self._PayMode
@@ -10589,7 +10606,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10589
10606
 
10590
10607
  @property
10591
10608
  def ResponseDurationWarningThreshold(self):
10592
- r"""响应时间警示线
10609
+ r"""<p>响应时间警示线</p>
10593
10610
  :rtype: int
10594
10611
  """
10595
10612
  return self._ResponseDurationWarningThreshold
@@ -10600,7 +10617,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10600
10617
 
10601
10618
  @property
10602
10619
  def Free(self):
10603
- r"""是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0
10620
+ r"""<p>是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0</p>
10604
10621
  :rtype: int
10605
10622
  """
10606
10623
  return self._Free
@@ -10611,7 +10628,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10611
10628
 
10612
10629
  @property
10613
10630
  def IsRelatedDashboard(self):
10614
- r"""是否关联 Dashboard(0=关,1=开)
10631
+ r"""<p>是否关联 Dashboard(0=关,1=开)</p>
10615
10632
  :rtype: int
10616
10633
  """
10617
10634
  return self._IsRelatedDashboard
@@ -10622,7 +10639,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10622
10639
 
10623
10640
  @property
10624
10641
  def DashboardTopicID(self):
10625
- r"""关联的 Dashboard ID,开启关联 Dashboard 后才会生效
10642
+ r"""<p>关联的 Dashboard ID,开启关联 Dashboard 后才会生效</p>
10626
10643
  :rtype: str
10627
10644
  """
10628
10645
  return self._DashboardTopicID
@@ -10633,7 +10650,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10633
10650
 
10634
10651
  @property
10635
10652
  def IsSqlInjectionAnalysis(self):
10636
- r"""是否开启 SQL 注入检测(0=关,1=开)
10653
+ r"""<p>是否开启 SQL 注入检测(0=关,1=开)</p>
10637
10654
  :rtype: int
10638
10655
  """
10639
10656
  return self._IsSqlInjectionAnalysis
@@ -10644,7 +10661,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10644
10661
 
10645
10662
  @property
10646
10663
  def IsInstrumentationVulnerabilityScan(self):
10647
- r"""是否开启组件漏洞检测(0=关,1=开)
10664
+ r"""<p>是否开启组件漏洞检测(0=关,1=开)</p>
10648
10665
  :rtype: int
10649
10666
  """
10650
10667
  return self._IsInstrumentationVulnerabilityScan
@@ -10655,7 +10672,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10655
10672
 
10656
10673
  @property
10657
10674
  def IsRemoteCommandExecutionAnalysis(self):
10658
- r"""是否开启远程命令攻击检测
10675
+ r"""<p>是否开启远程命令攻击检测</p>
10659
10676
  :rtype: int
10660
10677
  """
10661
10678
  return self._IsRemoteCommandExecutionAnalysis
@@ -10666,7 +10683,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10666
10683
 
10667
10684
  @property
10668
10685
  def IsMemoryHijackingAnalysis(self):
10669
- r"""是否开启内存马检测
10686
+ r"""<p>是否开启内存马检测</p>
10670
10687
  :rtype: int
10671
10688
  """
10672
10689
  return self._IsMemoryHijackingAnalysis
@@ -10677,7 +10694,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10677
10694
 
10678
10695
  @property
10679
10696
  def LogIndexType(self):
10680
- r"""CLS索引类型(0=全文索引,1=键值索引)
10697
+ r"""<p>CLS索引类型(0=全文索引,1=键值索引)</p>
10681
10698
  :rtype: int
10682
10699
  """
10683
10700
  return self._LogIndexType
@@ -10688,7 +10705,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10688
10705
 
10689
10706
  @property
10690
10707
  def LogTraceIdKey(self):
10691
- r"""traceId的索引key: 当CLS索引类型为键值索引时生效
10708
+ r"""<p>traceId的索引key: 当CLS索引类型为键值索引时生效</p>
10692
10709
  :rtype: str
10693
10710
  """
10694
10711
  return self._LogTraceIdKey
@@ -10699,7 +10716,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10699
10716
 
10700
10717
  @property
10701
10718
  def IsDeleteAnyFileAnalysis(self):
10702
- r"""是否开启删除任意文件检测(0-关闭,1-开启)
10719
+ r"""<p>是否开启删除任意文件检测(0-关闭,1-开启)</p>
10703
10720
  :rtype: int
10704
10721
  """
10705
10722
  return self._IsDeleteAnyFileAnalysis
@@ -10710,7 +10727,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10710
10727
 
10711
10728
  @property
10712
10729
  def IsReadAnyFileAnalysis(self):
10713
- r"""是否开启读取任意文件检测(0-关闭,1-开启)
10730
+ r"""<p>是否开启读取任意文件检测(0-关闭,1-开启)</p>
10714
10731
  :rtype: int
10715
10732
  """
10716
10733
  return self._IsReadAnyFileAnalysis
@@ -10721,7 +10738,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10721
10738
 
10722
10739
  @property
10723
10740
  def IsUploadAnyFileAnalysis(self):
10724
- r"""是否开启上传任意文件检测(0-关闭,1-开启)
10741
+ r"""<p>是否开启上传任意文件检测(0-关闭,1-开启)</p>
10725
10742
  :rtype: int
10726
10743
  """
10727
10744
  return self._IsUploadAnyFileAnalysis
@@ -10732,7 +10749,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10732
10749
 
10733
10750
  @property
10734
10751
  def IsIncludeAnyFileAnalysis(self):
10735
- r"""是否开启包含任意文件检测(0-关闭,1-开启)
10752
+ r"""<p>是否开启包含任意文件检测(0-关闭,1-开启)</p>
10736
10753
  :rtype: int
10737
10754
  """
10738
10755
  return self._IsIncludeAnyFileAnalysis
@@ -10743,7 +10760,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10743
10760
 
10744
10761
  @property
10745
10762
  def IsDirectoryTraversalAnalysis(self):
10746
- r"""是否开启目录遍历检测(0-关闭,1-开启)
10763
+ r"""<p>是否开启目录遍历检测(0-关闭,1-开启)</p>
10747
10764
  :rtype: int
10748
10765
  """
10749
10766
  return self._IsDirectoryTraversalAnalysis
@@ -10754,7 +10771,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10754
10771
 
10755
10772
  @property
10756
10773
  def IsTemplateEngineInjectionAnalysis(self):
10757
- r"""是否开启模板引擎注入检测(0-关闭,1-开启)
10774
+ r"""<p>是否开启模板引擎注入检测(0-关闭,1-开启)</p>
10758
10775
  :rtype: int
10759
10776
  """
10760
10777
  return self._IsTemplateEngineInjectionAnalysis
@@ -10765,7 +10782,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10765
10782
 
10766
10783
  @property
10767
10784
  def IsScriptEngineInjectionAnalysis(self):
10768
- r"""是否开启脚本引擎注入检测(0-关闭,1-开启)
10785
+ r"""<p>是否开启脚本引擎注入检测(0-关闭,1-开启)</p>
10769
10786
  :rtype: int
10770
10787
  """
10771
10788
  return self._IsScriptEngineInjectionAnalysis
@@ -10776,7 +10793,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10776
10793
 
10777
10794
  @property
10778
10795
  def IsExpressionInjectionAnalysis(self):
10779
- r"""是否开启表达式注入检测(0-关闭,1-开启)
10796
+ r"""<p>是否开启表达式注入检测(0-关闭,1-开启)</p>
10780
10797
  :rtype: int
10781
10798
  """
10782
10799
  return self._IsExpressionInjectionAnalysis
@@ -10787,7 +10804,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10787
10804
 
10788
10805
  @property
10789
10806
  def IsJNDIInjectionAnalysis(self):
10790
- r"""是否开启JNDI注入检测(0-关闭,1-开启)
10807
+ r"""<p>是否开启JNDI注入检测(0-关闭,1-开启)</p>
10791
10808
  :rtype: int
10792
10809
  """
10793
10810
  return self._IsJNDIInjectionAnalysis
@@ -10798,7 +10815,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10798
10815
 
10799
10816
  @property
10800
10817
  def IsJNIInjectionAnalysis(self):
10801
- r"""是否开启JNI注入检测(0-关闭,1-开启)
10818
+ r"""<p>是否开启JNI注入检测(0-关闭,1-开启)</p>
10802
10819
  :rtype: int
10803
10820
  """
10804
10821
  return self._IsJNIInjectionAnalysis
@@ -10809,7 +10826,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10809
10826
 
10810
10827
  @property
10811
10828
  def IsWebshellBackdoorAnalysis(self):
10812
- r"""是否开启Webshell后门检测(0-关闭,1-开启)
10829
+ r"""<p>是否开启Webshell后门检测(0-关闭,1-开启)</p>
10813
10830
  :rtype: int
10814
10831
  """
10815
10832
  return self._IsWebshellBackdoorAnalysis
@@ -10820,7 +10837,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10820
10837
 
10821
10838
  @property
10822
10839
  def IsDeserializationAnalysis(self):
10823
- r"""是否开启反序列化检测(0-关闭,1-开启)
10840
+ r"""<p>是否开启反序列化检测(0-关闭,1-开启)</p>
10824
10841
  :rtype: int
10825
10842
  """
10826
10843
  return self._IsDeserializationAnalysis
@@ -10831,7 +10848,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10831
10848
 
10832
10849
  @property
10833
10850
  def UrlLongSegmentThreshold(self):
10834
- r"""URL长分段收敛阈值
10851
+ r"""<p>URL长分段收敛阈值</p>
10835
10852
  :rtype: int
10836
10853
  """
10837
10854
  return self._UrlLongSegmentThreshold
@@ -10842,7 +10859,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10842
10859
 
10843
10860
  @property
10844
10861
  def UrlNumberSegmentThreshold(self):
10845
- r"""URL数字分段收敛阈值
10862
+ r"""<p>URL数字分段收敛阈值</p>
10846
10863
  :rtype: int
10847
10864
  """
10848
10865
  return self._UrlNumberSegmentThreshold
@@ -10853,7 +10870,7 @@ class ModifyApmInstanceRequest(AbstractModel):
10853
10870
 
10854
10871
  @property
10855
10872
  def LogSpanIdKey(self):
10856
- r"""spanId的索引key: 当CLS索引类型为键值索引时生效
10873
+ r"""<p>spanId的索引key: 当CLS索引类型为键值索引时生效</p>
10857
10874
  :rtype: str
10858
10875
  """
10859
10876
  return self._LogSpanIdKey
@@ -10862,6 +10879,39 @@ class ModifyApmInstanceRequest(AbstractModel):
10862
10879
  def LogSpanIdKey(self, LogSpanIdKey):
10863
10880
  self._LogSpanIdKey = LogSpanIdKey
10864
10881
 
10882
+ @property
10883
+ def EnableHeadSampler(self):
10884
+ r"""<p>是否开启探针头采样</p>
10885
+ :rtype: bool
10886
+ """
10887
+ return self._EnableHeadSampler
10888
+
10889
+ @EnableHeadSampler.setter
10890
+ def EnableHeadSampler(self, EnableHeadSampler):
10891
+ self._EnableHeadSampler = EnableHeadSampler
10892
+
10893
+ @property
10894
+ def HeadSamplerType(self):
10895
+ r"""<p>头采类型</p><p>枚举值:</p><ul><li>parentbased_traceidratio: 默认</li></ul>
10896
+ :rtype: str
10897
+ """
10898
+ return self._HeadSamplerType
10899
+
10900
+ @HeadSamplerType.setter
10901
+ def HeadSamplerType(self, HeadSamplerType):
10902
+ self._HeadSamplerType = HeadSamplerType
10903
+
10904
+ @property
10905
+ def HeadSamplerArg(self):
10906
+ r"""<p>头采采样率</p><p>取值范围:[0, 100]</p>
10907
+ :rtype: int
10908
+ """
10909
+ return self._HeadSamplerArg
10910
+
10911
+ @HeadSamplerArg.setter
10912
+ def HeadSamplerArg(self, HeadSamplerArg):
10913
+ self._HeadSamplerArg = HeadSamplerArg
10914
+
10865
10915
 
10866
10916
  def _deserialize(self, params):
10867
10917
  self._InstanceId = params.get("InstanceId")
@@ -10912,6 +10962,9 @@ class ModifyApmInstanceRequest(AbstractModel):
10912
10962
  self._UrlLongSegmentThreshold = params.get("UrlLongSegmentThreshold")
10913
10963
  self._UrlNumberSegmentThreshold = params.get("UrlNumberSegmentThreshold")
10914
10964
  self._LogSpanIdKey = params.get("LogSpanIdKey")
10965
+ self._EnableHeadSampler = params.get("EnableHeadSampler")
10966
+ self._HeadSamplerType = params.get("HeadSamplerType")
10967
+ self._HeadSamplerArg = params.get("HeadSamplerArg")
10915
10968
  memeber_set = set(params.keys())
10916
10969
  for name, value in vars(self).items():
10917
10970
  property_name = name[1:]
@@ -11315,11 +11368,11 @@ class ModifyApmServiceRequest(AbstractModel):
11315
11368
 
11316
11369
  def __init__(self):
11317
11370
  r"""
11318
- :param _ServiceID: 应用ID
11371
+ :param _ServiceID: <p>应用ID</p>
11319
11372
  :type ServiceID: str
11320
- :param _ServiceDescription: 应用描述
11373
+ :param _ServiceDescription: <p>应用描述</p>
11321
11374
  :type ServiceDescription: str
11322
- :param _Tags: 标签列表
11375
+ :param _Tags: <p>标签列表</p>
11323
11376
  :type Tags: list of ApmTag
11324
11377
  """
11325
11378
  self._ServiceID = None
@@ -11328,7 +11381,7 @@ class ModifyApmServiceRequest(AbstractModel):
11328
11381
 
11329
11382
  @property
11330
11383
  def ServiceID(self):
11331
- r"""应用ID
11384
+ r"""<p>应用ID</p>
11332
11385
  :rtype: str
11333
11386
  """
11334
11387
  return self._ServiceID
@@ -11339,7 +11392,7 @@ class ModifyApmServiceRequest(AbstractModel):
11339
11392
 
11340
11393
  @property
11341
11394
  def ServiceDescription(self):
11342
- r"""应用描述
11395
+ r"""<p>应用描述</p>
11343
11396
  :rtype: str
11344
11397
  """
11345
11398
  return self._ServiceDescription
@@ -11350,7 +11403,7 @@ class ModifyApmServiceRequest(AbstractModel):
11350
11403
 
11351
11404
  @property
11352
11405
  def Tags(self):
11353
- r"""标签列表
11406
+ r"""<p>标签列表</p>
11354
11407
  :rtype: list of ApmTag
11355
11408
  """
11356
11409
  return self._Tags
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-apm
3
- Version: 3.1.124
3
+ Version: 3.1.135
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.124
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.135
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.135
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.124