tencentcloud-sdk-python-apm 3.1.157__tar.gz → 3.1.181__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/setup.py +1 -1
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/tencentcloud/apm/v20210622/apm_client.py +46 -0
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/tencentcloud/apm/v20210622/apm_client_async.py +36 -0
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/tencentcloud/apm/v20210622/models.py +321 -0
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/tencentcloud_sdk_python_apm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_apm-3.1.181/tencentcloud_sdk_python_apm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_apm-3.1.157/tencentcloud_sdk_python_apm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/README.rst +0 -0
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/setup.cfg +0 -0
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/tencentcloud/apm/__init__.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/tencentcloud/apm/v20210622/__init__.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/tencentcloud/apm/v20210622/errorcodes.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/tencentcloud_sdk_python_apm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/tencentcloud_sdk_python_apm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_apm-3.1.157 → tencentcloud_sdk_python_apm-3.1.181}/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.
|
|
3
|
+
Version: 3.1.181
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.181,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Apm SDK for Python',
|
|
@@ -553,6 +553,29 @@ class ApmClient(AbstractClient):
|
|
|
553
553
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
554
554
|
|
|
555
555
|
|
|
556
|
+
def DescribeRelatedServicesOnTrace(self, request):
|
|
557
|
+
r"""根据链路查询目标服务的上下游相关服务
|
|
558
|
+
|
|
559
|
+
:param request: Request instance for DescribeRelatedServicesOnTrace.
|
|
560
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.DescribeRelatedServicesOnTraceRequest`
|
|
561
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.DescribeRelatedServicesOnTraceResponse`
|
|
562
|
+
|
|
563
|
+
"""
|
|
564
|
+
try:
|
|
565
|
+
params = request._serialize()
|
|
566
|
+
headers = request.headers
|
|
567
|
+
body = self.call("DescribeRelatedServicesOnTrace", params, headers=headers)
|
|
568
|
+
response = json.loads(body)
|
|
569
|
+
model = models.DescribeRelatedServicesOnTraceResponse()
|
|
570
|
+
model._deserialize(response["Response"])
|
|
571
|
+
return model
|
|
572
|
+
except Exception as e:
|
|
573
|
+
if isinstance(e, TencentCloudSDKException):
|
|
574
|
+
raise
|
|
575
|
+
else:
|
|
576
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
577
|
+
|
|
578
|
+
|
|
556
579
|
def DescribeServiceOverview(self, request):
|
|
557
580
|
r"""应用概览数据拉取
|
|
558
581
|
|
|
@@ -783,6 +806,29 @@ class ApmClient(AbstractClient):
|
|
|
783
806
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
784
807
|
|
|
785
808
|
|
|
809
|
+
def OpenApmPaidVersion(self, request):
|
|
810
|
+
r"""开通付费版本
|
|
811
|
+
|
|
812
|
+
:param request: Request instance for OpenApmPaidVersion.
|
|
813
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.OpenApmPaidVersionRequest`
|
|
814
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.OpenApmPaidVersionResponse`
|
|
815
|
+
|
|
816
|
+
"""
|
|
817
|
+
try:
|
|
818
|
+
params = request._serialize()
|
|
819
|
+
headers = request.headers
|
|
820
|
+
body = self.call("OpenApmPaidVersion", params, headers=headers)
|
|
821
|
+
response = json.loads(body)
|
|
822
|
+
model = models.OpenApmPaidVersionResponse()
|
|
823
|
+
model._deserialize(response["Response"])
|
|
824
|
+
return model
|
|
825
|
+
except Exception as e:
|
|
826
|
+
if isinstance(e, TencentCloudSDKException):
|
|
827
|
+
raise
|
|
828
|
+
else:
|
|
829
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
830
|
+
|
|
831
|
+
|
|
786
832
|
def TerminateApmInstance(self, request):
|
|
787
833
|
r"""销毁 APM 业务系统
|
|
788
834
|
|
|
@@ -442,6 +442,24 @@ class ApmClient(AbstractClient):
|
|
|
442
442
|
|
|
443
443
|
return await self.call_and_deserialize(**kwargs)
|
|
444
444
|
|
|
445
|
+
async def DescribeRelatedServicesOnTrace(
|
|
446
|
+
self,
|
|
447
|
+
request: models.DescribeRelatedServicesOnTraceRequest,
|
|
448
|
+
opts: Dict = None,
|
|
449
|
+
) -> models.DescribeRelatedServicesOnTraceResponse:
|
|
450
|
+
"""
|
|
451
|
+
根据链路查询目标服务的上下游相关服务
|
|
452
|
+
"""
|
|
453
|
+
|
|
454
|
+
kwargs = {}
|
|
455
|
+
kwargs["action"] = "DescribeRelatedServicesOnTrace"
|
|
456
|
+
kwargs["params"] = request._serialize()
|
|
457
|
+
kwargs["resp_cls"] = models.DescribeRelatedServicesOnTraceResponse
|
|
458
|
+
kwargs["headers"] = request.headers
|
|
459
|
+
kwargs["opts"] = opts or {}
|
|
460
|
+
|
|
461
|
+
return await self.call_and_deserialize(**kwargs)
|
|
462
|
+
|
|
445
463
|
async def DescribeServiceOverview(
|
|
446
464
|
self,
|
|
447
465
|
request: models.DescribeServiceOverviewRequest,
|
|
@@ -622,6 +640,24 @@ class ApmClient(AbstractClient):
|
|
|
622
640
|
|
|
623
641
|
return await self.call_and_deserialize(**kwargs)
|
|
624
642
|
|
|
643
|
+
async def OpenApmPaidVersion(
|
|
644
|
+
self,
|
|
645
|
+
request: models.OpenApmPaidVersionRequest,
|
|
646
|
+
opts: Dict = None,
|
|
647
|
+
) -> models.OpenApmPaidVersionResponse:
|
|
648
|
+
"""
|
|
649
|
+
开通付费版本
|
|
650
|
+
"""
|
|
651
|
+
|
|
652
|
+
kwargs = {}
|
|
653
|
+
kwargs["action"] = "OpenApmPaidVersion"
|
|
654
|
+
kwargs["params"] = request._serialize()
|
|
655
|
+
kwargs["resp_cls"] = models.OpenApmPaidVersionResponse
|
|
656
|
+
kwargs["headers"] = request.headers
|
|
657
|
+
kwargs["opts"] = opts or {}
|
|
658
|
+
|
|
659
|
+
return await self.call_and_deserialize(**kwargs)
|
|
660
|
+
|
|
625
661
|
async def TerminateApmInstance(
|
|
626
662
|
self,
|
|
627
663
|
request: models.TerminateApmInstanceRequest,
|
|
@@ -2569,6 +2569,8 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
2569
2569
|
:type CrossAccountStatus: int
|
|
2570
2570
|
:param _CrossAccountPeerId: <p>跨账号关联ID</p>
|
|
2571
2571
|
:type CrossAccountPeerId: str
|
|
2572
|
+
:param _TokenDisplayProtection: <p>开启Token展示安全保护</p><p>单位:是、否</p>
|
|
2573
|
+
:type TokenDisplayProtection: int
|
|
2572
2574
|
"""
|
|
2573
2575
|
self._InstanceId = None
|
|
2574
2576
|
self._Name = None
|
|
@@ -2630,6 +2632,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
2630
2632
|
self._DisableAiAbility = None
|
|
2631
2633
|
self._CrossAccountStatus = None
|
|
2632
2634
|
self._CrossAccountPeerId = None
|
|
2635
|
+
self._TokenDisplayProtection = None
|
|
2633
2636
|
|
|
2634
2637
|
@property
|
|
2635
2638
|
def InstanceId(self):
|
|
@@ -3291,6 +3294,17 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
3291
3294
|
def CrossAccountPeerId(self, CrossAccountPeerId):
|
|
3292
3295
|
self._CrossAccountPeerId = CrossAccountPeerId
|
|
3293
3296
|
|
|
3297
|
+
@property
|
|
3298
|
+
def TokenDisplayProtection(self):
|
|
3299
|
+
r"""<p>开启Token展示安全保护</p><p>单位:是、否</p>
|
|
3300
|
+
:rtype: int
|
|
3301
|
+
"""
|
|
3302
|
+
return self._TokenDisplayProtection
|
|
3303
|
+
|
|
3304
|
+
@TokenDisplayProtection.setter
|
|
3305
|
+
def TokenDisplayProtection(self, TokenDisplayProtection):
|
|
3306
|
+
self._TokenDisplayProtection = TokenDisplayProtection
|
|
3307
|
+
|
|
3294
3308
|
|
|
3295
3309
|
def _deserialize(self, params):
|
|
3296
3310
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -3358,6 +3372,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
3358
3372
|
self._DisableAiAbility = params.get("DisableAiAbility")
|
|
3359
3373
|
self._CrossAccountStatus = params.get("CrossAccountStatus")
|
|
3360
3374
|
self._CrossAccountPeerId = params.get("CrossAccountPeerId")
|
|
3375
|
+
self._TokenDisplayProtection = params.get("TokenDisplayProtection")
|
|
3361
3376
|
memeber_set = set(params.keys())
|
|
3362
3377
|
for name, value in vars(self).items():
|
|
3363
3378
|
property_name = name[1:]
|
|
@@ -8087,6 +8102,197 @@ class DescribeOPRAllVulCountResponse(AbstractModel):
|
|
|
8087
8102
|
self._RequestId = params.get("RequestId")
|
|
8088
8103
|
|
|
8089
8104
|
|
|
8105
|
+
class DescribeRelatedServicesOnTraceRequest(AbstractModel):
|
|
8106
|
+
r"""DescribeRelatedServicesOnTrace请求参数结构体
|
|
8107
|
+
|
|
8108
|
+
"""
|
|
8109
|
+
|
|
8110
|
+
def __init__(self):
|
|
8111
|
+
r"""
|
|
8112
|
+
:param _InstanceId: 业务系统 ID
|
|
8113
|
+
:type InstanceId: str
|
|
8114
|
+
:param _StartTime: 查询开始时间
|
|
8115
|
+
:type StartTime: int
|
|
8116
|
+
:param _EndTime: 查询结束时间
|
|
8117
|
+
:type EndTime: int
|
|
8118
|
+
:param _ServiceName: 应用名
|
|
8119
|
+
:type ServiceName: str
|
|
8120
|
+
:param _IsServiceTopology: 是否为应用拓扑查询
|
|
8121
|
+
:type IsServiceTopology: bool
|
|
8122
|
+
"""
|
|
8123
|
+
self._InstanceId = None
|
|
8124
|
+
self._StartTime = None
|
|
8125
|
+
self._EndTime = None
|
|
8126
|
+
self._ServiceName = None
|
|
8127
|
+
self._IsServiceTopology = None
|
|
8128
|
+
|
|
8129
|
+
@property
|
|
8130
|
+
def InstanceId(self):
|
|
8131
|
+
r"""业务系统 ID
|
|
8132
|
+
:rtype: str
|
|
8133
|
+
"""
|
|
8134
|
+
return self._InstanceId
|
|
8135
|
+
|
|
8136
|
+
@InstanceId.setter
|
|
8137
|
+
def InstanceId(self, InstanceId):
|
|
8138
|
+
self._InstanceId = InstanceId
|
|
8139
|
+
|
|
8140
|
+
@property
|
|
8141
|
+
def StartTime(self):
|
|
8142
|
+
r"""查询开始时间
|
|
8143
|
+
:rtype: int
|
|
8144
|
+
"""
|
|
8145
|
+
return self._StartTime
|
|
8146
|
+
|
|
8147
|
+
@StartTime.setter
|
|
8148
|
+
def StartTime(self, StartTime):
|
|
8149
|
+
self._StartTime = StartTime
|
|
8150
|
+
|
|
8151
|
+
@property
|
|
8152
|
+
def EndTime(self):
|
|
8153
|
+
r"""查询结束时间
|
|
8154
|
+
:rtype: int
|
|
8155
|
+
"""
|
|
8156
|
+
return self._EndTime
|
|
8157
|
+
|
|
8158
|
+
@EndTime.setter
|
|
8159
|
+
def EndTime(self, EndTime):
|
|
8160
|
+
self._EndTime = EndTime
|
|
8161
|
+
|
|
8162
|
+
@property
|
|
8163
|
+
def ServiceName(self):
|
|
8164
|
+
r"""应用名
|
|
8165
|
+
:rtype: str
|
|
8166
|
+
"""
|
|
8167
|
+
return self._ServiceName
|
|
8168
|
+
|
|
8169
|
+
@ServiceName.setter
|
|
8170
|
+
def ServiceName(self, ServiceName):
|
|
8171
|
+
self._ServiceName = ServiceName
|
|
8172
|
+
|
|
8173
|
+
@property
|
|
8174
|
+
def IsServiceTopology(self):
|
|
8175
|
+
r"""是否为应用拓扑查询
|
|
8176
|
+
:rtype: bool
|
|
8177
|
+
"""
|
|
8178
|
+
return self._IsServiceTopology
|
|
8179
|
+
|
|
8180
|
+
@IsServiceTopology.setter
|
|
8181
|
+
def IsServiceTopology(self, IsServiceTopology):
|
|
8182
|
+
self._IsServiceTopology = IsServiceTopology
|
|
8183
|
+
|
|
8184
|
+
|
|
8185
|
+
def _deserialize(self, params):
|
|
8186
|
+
self._InstanceId = params.get("InstanceId")
|
|
8187
|
+
self._StartTime = params.get("StartTime")
|
|
8188
|
+
self._EndTime = params.get("EndTime")
|
|
8189
|
+
self._ServiceName = params.get("ServiceName")
|
|
8190
|
+
self._IsServiceTopology = params.get("IsServiceTopology")
|
|
8191
|
+
memeber_set = set(params.keys())
|
|
8192
|
+
for name, value in vars(self).items():
|
|
8193
|
+
property_name = name[1:]
|
|
8194
|
+
if property_name in memeber_set:
|
|
8195
|
+
memeber_set.remove(property_name)
|
|
8196
|
+
if len(memeber_set) > 0:
|
|
8197
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8198
|
+
|
|
8199
|
+
|
|
8200
|
+
|
|
8201
|
+
class DescribeRelatedServicesOnTraceResponse(AbstractModel):
|
|
8202
|
+
r"""DescribeRelatedServicesOnTrace返回参数结构体
|
|
8203
|
+
|
|
8204
|
+
"""
|
|
8205
|
+
|
|
8206
|
+
def __init__(self):
|
|
8207
|
+
r"""
|
|
8208
|
+
:param _TotalTraces: 查询的总链路数
|
|
8209
|
+
:type TotalTraces: int
|
|
8210
|
+
:param _TotalServices: 查询到的应用的数量
|
|
8211
|
+
:type TotalServices: int
|
|
8212
|
+
:param _SelectedTraces: 挑选的链路数量
|
|
8213
|
+
:type SelectedTraces: int
|
|
8214
|
+
:param _ServiceRelations: 相关的服务/应用名列表
|
|
8215
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8216
|
+
:type ServiceRelations: list of ServiceRelation
|
|
8217
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8218
|
+
:type RequestId: str
|
|
8219
|
+
"""
|
|
8220
|
+
self._TotalTraces = None
|
|
8221
|
+
self._TotalServices = None
|
|
8222
|
+
self._SelectedTraces = None
|
|
8223
|
+
self._ServiceRelations = None
|
|
8224
|
+
self._RequestId = None
|
|
8225
|
+
|
|
8226
|
+
@property
|
|
8227
|
+
def TotalTraces(self):
|
|
8228
|
+
r"""查询的总链路数
|
|
8229
|
+
:rtype: int
|
|
8230
|
+
"""
|
|
8231
|
+
return self._TotalTraces
|
|
8232
|
+
|
|
8233
|
+
@TotalTraces.setter
|
|
8234
|
+
def TotalTraces(self, TotalTraces):
|
|
8235
|
+
self._TotalTraces = TotalTraces
|
|
8236
|
+
|
|
8237
|
+
@property
|
|
8238
|
+
def TotalServices(self):
|
|
8239
|
+
r"""查询到的应用的数量
|
|
8240
|
+
:rtype: int
|
|
8241
|
+
"""
|
|
8242
|
+
return self._TotalServices
|
|
8243
|
+
|
|
8244
|
+
@TotalServices.setter
|
|
8245
|
+
def TotalServices(self, TotalServices):
|
|
8246
|
+
self._TotalServices = TotalServices
|
|
8247
|
+
|
|
8248
|
+
@property
|
|
8249
|
+
def SelectedTraces(self):
|
|
8250
|
+
r"""挑选的链路数量
|
|
8251
|
+
:rtype: int
|
|
8252
|
+
"""
|
|
8253
|
+
return self._SelectedTraces
|
|
8254
|
+
|
|
8255
|
+
@SelectedTraces.setter
|
|
8256
|
+
def SelectedTraces(self, SelectedTraces):
|
|
8257
|
+
self._SelectedTraces = SelectedTraces
|
|
8258
|
+
|
|
8259
|
+
@property
|
|
8260
|
+
def ServiceRelations(self):
|
|
8261
|
+
r"""相关的服务/应用名列表
|
|
8262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8263
|
+
:rtype: list of ServiceRelation
|
|
8264
|
+
"""
|
|
8265
|
+
return self._ServiceRelations
|
|
8266
|
+
|
|
8267
|
+
@ServiceRelations.setter
|
|
8268
|
+
def ServiceRelations(self, ServiceRelations):
|
|
8269
|
+
self._ServiceRelations = ServiceRelations
|
|
8270
|
+
|
|
8271
|
+
@property
|
|
8272
|
+
def RequestId(self):
|
|
8273
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8274
|
+
:rtype: str
|
|
8275
|
+
"""
|
|
8276
|
+
return self._RequestId
|
|
8277
|
+
|
|
8278
|
+
@RequestId.setter
|
|
8279
|
+
def RequestId(self, RequestId):
|
|
8280
|
+
self._RequestId = RequestId
|
|
8281
|
+
|
|
8282
|
+
|
|
8283
|
+
def _deserialize(self, params):
|
|
8284
|
+
self._TotalTraces = params.get("TotalTraces")
|
|
8285
|
+
self._TotalServices = params.get("TotalServices")
|
|
8286
|
+
self._SelectedTraces = params.get("SelectedTraces")
|
|
8287
|
+
if params.get("ServiceRelations") is not None:
|
|
8288
|
+
self._ServiceRelations = []
|
|
8289
|
+
for item in params.get("ServiceRelations"):
|
|
8290
|
+
obj = ServiceRelation()
|
|
8291
|
+
obj._deserialize(item)
|
|
8292
|
+
self._ServiceRelations.append(obj)
|
|
8293
|
+
self._RequestId = params.get("RequestId")
|
|
8294
|
+
|
|
8295
|
+
|
|
8090
8296
|
class DescribeServiceOverviewRequest(AbstractModel):
|
|
8091
8297
|
r"""DescribeServiceOverview请求参数结构体
|
|
8092
8298
|
|
|
@@ -10469,6 +10675,8 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10469
10675
|
:type CrossAccountStatus: int
|
|
10470
10676
|
:param _CrossAccountPeerId: <p>跨账号关联ID</p>
|
|
10471
10677
|
:type CrossAccountPeerId: str
|
|
10678
|
+
:param _TokenDisplayProtection: <p>是否开启Token 展示安全保护</p><p>单位:0:不开启,1:开启</p><p>默认值:0</p>
|
|
10679
|
+
:type TokenDisplayProtection: int
|
|
10472
10680
|
"""
|
|
10473
10681
|
self._InstanceId = None
|
|
10474
10682
|
self._Name = None
|
|
@@ -10519,6 +10727,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10519
10727
|
self._DisableAiAbility = None
|
|
10520
10728
|
self._CrossAccountStatus = None
|
|
10521
10729
|
self._CrossAccountPeerId = None
|
|
10730
|
+
self._TokenDisplayProtection = None
|
|
10522
10731
|
|
|
10523
10732
|
@property
|
|
10524
10733
|
def InstanceId(self):
|
|
@@ -11059,6 +11268,17 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
11059
11268
|
def CrossAccountPeerId(self, CrossAccountPeerId):
|
|
11060
11269
|
self._CrossAccountPeerId = CrossAccountPeerId
|
|
11061
11270
|
|
|
11271
|
+
@property
|
|
11272
|
+
def TokenDisplayProtection(self):
|
|
11273
|
+
r"""<p>是否开启Token 展示安全保护</p><p>单位:0:不开启,1:开启</p><p>默认值:0</p>
|
|
11274
|
+
:rtype: int
|
|
11275
|
+
"""
|
|
11276
|
+
return self._TokenDisplayProtection
|
|
11277
|
+
|
|
11278
|
+
@TokenDisplayProtection.setter
|
|
11279
|
+
def TokenDisplayProtection(self, TokenDisplayProtection):
|
|
11280
|
+
self._TokenDisplayProtection = TokenDisplayProtection
|
|
11281
|
+
|
|
11062
11282
|
|
|
11063
11283
|
def _deserialize(self, params):
|
|
11064
11284
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -11115,6 +11335,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
11115
11335
|
self._DisableAiAbility = params.get("DisableAiAbility")
|
|
11116
11336
|
self._CrossAccountStatus = params.get("CrossAccountStatus")
|
|
11117
11337
|
self._CrossAccountPeerId = params.get("CrossAccountPeerId")
|
|
11338
|
+
self._TokenDisplayProtection = params.get("TokenDisplayProtection")
|
|
11118
11339
|
memeber_set = set(params.keys())
|
|
11119
11340
|
for name, value in vars(self).items():
|
|
11120
11341
|
property_name = name[1:]
|
|
@@ -11726,6 +11947,40 @@ class ModifyGeneralApmApplicationConfigResponse(AbstractModel):
|
|
|
11726
11947
|
self._RequestId = params.get("RequestId")
|
|
11727
11948
|
|
|
11728
11949
|
|
|
11950
|
+
class OpenApmPaidVersionRequest(AbstractModel):
|
|
11951
|
+
r"""OpenApmPaidVersion请求参数结构体
|
|
11952
|
+
|
|
11953
|
+
"""
|
|
11954
|
+
|
|
11955
|
+
|
|
11956
|
+
class OpenApmPaidVersionResponse(AbstractModel):
|
|
11957
|
+
r"""OpenApmPaidVersion返回参数结构体
|
|
11958
|
+
|
|
11959
|
+
"""
|
|
11960
|
+
|
|
11961
|
+
def __init__(self):
|
|
11962
|
+
r"""
|
|
11963
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11964
|
+
:type RequestId: str
|
|
11965
|
+
"""
|
|
11966
|
+
self._RequestId = None
|
|
11967
|
+
|
|
11968
|
+
@property
|
|
11969
|
+
def RequestId(self):
|
|
11970
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11971
|
+
:rtype: str
|
|
11972
|
+
"""
|
|
11973
|
+
return self._RequestId
|
|
11974
|
+
|
|
11975
|
+
@RequestId.setter
|
|
11976
|
+
def RequestId(self, RequestId):
|
|
11977
|
+
self._RequestId = RequestId
|
|
11978
|
+
|
|
11979
|
+
|
|
11980
|
+
def _deserialize(self, params):
|
|
11981
|
+
self._RequestId = params.get("RequestId")
|
|
11982
|
+
|
|
11983
|
+
|
|
11729
11984
|
class OrderBy(AbstractModel):
|
|
11730
11985
|
r"""排序字段
|
|
11731
11986
|
|
|
@@ -12416,6 +12671,72 @@ class ServiceDetail(AbstractModel):
|
|
|
12416
12671
|
|
|
12417
12672
|
|
|
12418
12673
|
|
|
12674
|
+
class ServiceRelation(AbstractModel):
|
|
12675
|
+
r"""应用对应的链路上下游应用集合
|
|
12676
|
+
|
|
12677
|
+
"""
|
|
12678
|
+
|
|
12679
|
+
def __init__(self):
|
|
12680
|
+
r"""
|
|
12681
|
+
:param _ServiceName: 应用名
|
|
12682
|
+
:type ServiceName: str
|
|
12683
|
+
:param _UpstreamServices: 上游应用集合
|
|
12684
|
+
:type UpstreamServices: list of str
|
|
12685
|
+
:param _DownstreamServices: 下游应用集合
|
|
12686
|
+
:type DownstreamServices: list of str
|
|
12687
|
+
"""
|
|
12688
|
+
self._ServiceName = None
|
|
12689
|
+
self._UpstreamServices = None
|
|
12690
|
+
self._DownstreamServices = None
|
|
12691
|
+
|
|
12692
|
+
@property
|
|
12693
|
+
def ServiceName(self):
|
|
12694
|
+
r"""应用名
|
|
12695
|
+
:rtype: str
|
|
12696
|
+
"""
|
|
12697
|
+
return self._ServiceName
|
|
12698
|
+
|
|
12699
|
+
@ServiceName.setter
|
|
12700
|
+
def ServiceName(self, ServiceName):
|
|
12701
|
+
self._ServiceName = ServiceName
|
|
12702
|
+
|
|
12703
|
+
@property
|
|
12704
|
+
def UpstreamServices(self):
|
|
12705
|
+
r"""上游应用集合
|
|
12706
|
+
:rtype: list of str
|
|
12707
|
+
"""
|
|
12708
|
+
return self._UpstreamServices
|
|
12709
|
+
|
|
12710
|
+
@UpstreamServices.setter
|
|
12711
|
+
def UpstreamServices(self, UpstreamServices):
|
|
12712
|
+
self._UpstreamServices = UpstreamServices
|
|
12713
|
+
|
|
12714
|
+
@property
|
|
12715
|
+
def DownstreamServices(self):
|
|
12716
|
+
r"""下游应用集合
|
|
12717
|
+
:rtype: list of str
|
|
12718
|
+
"""
|
|
12719
|
+
return self._DownstreamServices
|
|
12720
|
+
|
|
12721
|
+
@DownstreamServices.setter
|
|
12722
|
+
def DownstreamServices(self, DownstreamServices):
|
|
12723
|
+
self._DownstreamServices = DownstreamServices
|
|
12724
|
+
|
|
12725
|
+
|
|
12726
|
+
def _deserialize(self, params):
|
|
12727
|
+
self._ServiceName = params.get("ServiceName")
|
|
12728
|
+
self._UpstreamServices = params.get("UpstreamServices")
|
|
12729
|
+
self._DownstreamServices = params.get("DownstreamServices")
|
|
12730
|
+
memeber_set = set(params.keys())
|
|
12731
|
+
for name, value in vars(self).items():
|
|
12732
|
+
property_name = name[1:]
|
|
12733
|
+
if property_name in memeber_set:
|
|
12734
|
+
memeber_set.remove(property_name)
|
|
12735
|
+
if len(memeber_set) > 0:
|
|
12736
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12737
|
+
|
|
12738
|
+
|
|
12739
|
+
|
|
12419
12740
|
class Span(AbstractModel):
|
|
12420
12741
|
r"""Span 对象
|
|
12421
12742
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.181
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.181
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|