tencentcloud-sdk-python-apm 3.1.83__tar.gz → 3.1.92__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.83 → tencentcloud_sdk_python_apm-3.1.92}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/setup.py +1 -1
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/tencentcloud/apm/v20210622/apm_client.py +23 -0
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/tencentcloud/apm/v20210622/models.py +99 -0
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/tencentcloud_sdk_python_apm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_apm-3.1.92/tencentcloud_sdk_python_apm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_apm-3.1.83/tencentcloud_sdk_python_apm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/README.rst +0 -0
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/setup.cfg +0 -0
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/tencentcloud/apm/__init__.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/tencentcloud/apm/v20210622/__init__.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/tencentcloud/apm/v20210622/errorcodes.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/tencentcloud_sdk_python_apm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/tencentcloud_sdk_python_apm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_apm-3.1.83 → tencentcloud_sdk_python_apm-3.1.92}/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.92
|
|
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.92
|
|
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.92,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Apm SDK for Python',
|
|
@@ -737,6 +737,29 @@ class ApmClient(AbstractClient):
|
|
|
737
737
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
738
738
|
|
|
739
739
|
|
|
740
|
+
def ModifyApmService(self, request):
|
|
741
|
+
r"""修改apm应用信息
|
|
742
|
+
|
|
743
|
+
:param request: Request instance for ModifyApmService.
|
|
744
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.ModifyApmServiceRequest`
|
|
745
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.ModifyApmServiceResponse`
|
|
746
|
+
|
|
747
|
+
"""
|
|
748
|
+
try:
|
|
749
|
+
params = request._serialize()
|
|
750
|
+
headers = request.headers
|
|
751
|
+
body = self.call("ModifyApmService", params, headers=headers)
|
|
752
|
+
response = json.loads(body)
|
|
753
|
+
model = models.ModifyApmServiceResponse()
|
|
754
|
+
model._deserialize(response["Response"])
|
|
755
|
+
return model
|
|
756
|
+
except Exception as e:
|
|
757
|
+
if isinstance(e, TencentCloudSDKException):
|
|
758
|
+
raise
|
|
759
|
+
else:
|
|
760
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
761
|
+
|
|
762
|
+
|
|
740
763
|
def ModifyGeneralApmApplicationConfig(self, request):
|
|
741
764
|
r"""对外开放的openApi,客户可以灵活的指定需要修改的字段,再加入需要修改的服务列表.
|
|
742
765
|
|
|
@@ -586,6 +586,24 @@ class ApmClient(AbstractClient):
|
|
|
586
586
|
|
|
587
587
|
return await self.call_and_deserialize(**kwargs)
|
|
588
588
|
|
|
589
|
+
async def ModifyApmService(
|
|
590
|
+
self,
|
|
591
|
+
request: models.ModifyApmServiceRequest,
|
|
592
|
+
opts: Dict = None,
|
|
593
|
+
) -> models.ModifyApmServiceResponse:
|
|
594
|
+
"""
|
|
595
|
+
修改apm应用信息
|
|
596
|
+
"""
|
|
597
|
+
|
|
598
|
+
kwargs = {}
|
|
599
|
+
kwargs["action"] = "ModifyApmService"
|
|
600
|
+
kwargs["params"] = request._serialize()
|
|
601
|
+
kwargs["resp_cls"] = models.ModifyApmServiceResponse
|
|
602
|
+
kwargs["headers"] = request.headers
|
|
603
|
+
kwargs["opts"] = opts or {}
|
|
604
|
+
|
|
605
|
+
return await self.call_and_deserialize(**kwargs)
|
|
606
|
+
|
|
589
607
|
async def ModifyGeneralApmApplicationConfig(
|
|
590
608
|
self,
|
|
591
609
|
request: models.ModifyGeneralApmApplicationConfigRequest,
|
|
@@ -11021,6 +11021,105 @@ class ModifyApmSampleConfigResponse(AbstractModel):
|
|
|
11021
11021
|
self._RequestId = params.get("RequestId")
|
|
11022
11022
|
|
|
11023
11023
|
|
|
11024
|
+
class ModifyApmServiceRequest(AbstractModel):
|
|
11025
|
+
r"""ModifyApmService请求参数结构体
|
|
11026
|
+
|
|
11027
|
+
"""
|
|
11028
|
+
|
|
11029
|
+
def __init__(self):
|
|
11030
|
+
r"""
|
|
11031
|
+
:param _ServiceID: 应用ID
|
|
11032
|
+
:type ServiceID: str
|
|
11033
|
+
:param _ServiceDescription: 应用描述
|
|
11034
|
+
:type ServiceDescription: str
|
|
11035
|
+
:param _Tags: 标签列表
|
|
11036
|
+
:type Tags: list of ApmTag
|
|
11037
|
+
"""
|
|
11038
|
+
self._ServiceID = None
|
|
11039
|
+
self._ServiceDescription = None
|
|
11040
|
+
self._Tags = None
|
|
11041
|
+
|
|
11042
|
+
@property
|
|
11043
|
+
def ServiceID(self):
|
|
11044
|
+
r"""应用ID
|
|
11045
|
+
:rtype: str
|
|
11046
|
+
"""
|
|
11047
|
+
return self._ServiceID
|
|
11048
|
+
|
|
11049
|
+
@ServiceID.setter
|
|
11050
|
+
def ServiceID(self, ServiceID):
|
|
11051
|
+
self._ServiceID = ServiceID
|
|
11052
|
+
|
|
11053
|
+
@property
|
|
11054
|
+
def ServiceDescription(self):
|
|
11055
|
+
r"""应用描述
|
|
11056
|
+
:rtype: str
|
|
11057
|
+
"""
|
|
11058
|
+
return self._ServiceDescription
|
|
11059
|
+
|
|
11060
|
+
@ServiceDescription.setter
|
|
11061
|
+
def ServiceDescription(self, ServiceDescription):
|
|
11062
|
+
self._ServiceDescription = ServiceDescription
|
|
11063
|
+
|
|
11064
|
+
@property
|
|
11065
|
+
def Tags(self):
|
|
11066
|
+
r"""标签列表
|
|
11067
|
+
:rtype: list of ApmTag
|
|
11068
|
+
"""
|
|
11069
|
+
return self._Tags
|
|
11070
|
+
|
|
11071
|
+
@Tags.setter
|
|
11072
|
+
def Tags(self, Tags):
|
|
11073
|
+
self._Tags = Tags
|
|
11074
|
+
|
|
11075
|
+
|
|
11076
|
+
def _deserialize(self, params):
|
|
11077
|
+
self._ServiceID = params.get("ServiceID")
|
|
11078
|
+
self._ServiceDescription = params.get("ServiceDescription")
|
|
11079
|
+
if params.get("Tags") is not None:
|
|
11080
|
+
self._Tags = []
|
|
11081
|
+
for item in params.get("Tags"):
|
|
11082
|
+
obj = ApmTag()
|
|
11083
|
+
obj._deserialize(item)
|
|
11084
|
+
self._Tags.append(obj)
|
|
11085
|
+
memeber_set = set(params.keys())
|
|
11086
|
+
for name, value in vars(self).items():
|
|
11087
|
+
property_name = name[1:]
|
|
11088
|
+
if property_name in memeber_set:
|
|
11089
|
+
memeber_set.remove(property_name)
|
|
11090
|
+
if len(memeber_set) > 0:
|
|
11091
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11092
|
+
|
|
11093
|
+
|
|
11094
|
+
|
|
11095
|
+
class ModifyApmServiceResponse(AbstractModel):
|
|
11096
|
+
r"""ModifyApmService返回参数结构体
|
|
11097
|
+
|
|
11098
|
+
"""
|
|
11099
|
+
|
|
11100
|
+
def __init__(self):
|
|
11101
|
+
r"""
|
|
11102
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11103
|
+
:type RequestId: str
|
|
11104
|
+
"""
|
|
11105
|
+
self._RequestId = None
|
|
11106
|
+
|
|
11107
|
+
@property
|
|
11108
|
+
def RequestId(self):
|
|
11109
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11110
|
+
:rtype: str
|
|
11111
|
+
"""
|
|
11112
|
+
return self._RequestId
|
|
11113
|
+
|
|
11114
|
+
@RequestId.setter
|
|
11115
|
+
def RequestId(self, RequestId):
|
|
11116
|
+
self._RequestId = RequestId
|
|
11117
|
+
|
|
11118
|
+
|
|
11119
|
+
def _deserialize(self, params):
|
|
11120
|
+
self._RequestId = params.get("RequestId")
|
|
11121
|
+
|
|
11122
|
+
|
|
11024
11123
|
class ModifyGeneralApmApplicationConfigRequest(AbstractModel):
|
|
11025
11124
|
r"""ModifyGeneralApmApplicationConfig请求参数结构体
|
|
11026
11125
|
|
|
@@ -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.92
|
|
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.92
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.92
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.83
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|