tencentcloud-sdk-python-tsf 3.0.1338__tar.gz → 3.0.1340__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-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/setup.py +1 -1
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/tencentcloud/tsf/v20180326/models.py +85 -14
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/tencentcloud/tsf/v20180326/tsf_client.py +23 -0
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/tencentcloud_sdk_python_tsf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tsf-3.0.1340/tencentcloud_sdk_python_tsf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tsf-3.0.1338/tencentcloud_sdk_python_tsf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/README.rst +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/tencentcloud/tsf/__init__.py +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/tencentcloud/tsf/v20180326/__init__.py +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/tencentcloud_sdk_python_tsf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/tencentcloud_sdk_python_tsf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1338 → tencentcloud-sdk-python-tsf-3.0.1340}/tencentcloud_sdk_python_tsf.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tsf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1340"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tsf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -305,6 +305,9 @@ FAILEDOPERATION_TSFCMONITORCTSDBCLIENTREQUESTFAIL = 'FailedOperation.TsfCmonitor
|
|
|
305
305
|
# TSF监控统计等待超时, 请稍后重试。
|
|
306
306
|
FAILEDOPERATION_TSFMONITORWAITEDTIMEOUT = 'FailedOperation.TsfMonitorWaitedTimeout'
|
|
307
307
|
|
|
308
|
+
# TSF服务管理通用异常。
|
|
309
|
+
FAILEDOPERATION_TSFMSERROR = 'FailedOperation.TsfMsError'
|
|
310
|
+
|
|
308
311
|
# 调用ms server失败。
|
|
309
312
|
FAILEDOPERATION_TSFMSSERVERERROR = 'FailedOperation.TsfMsServerError'
|
|
310
313
|
|
|
@@ -452,6 +455,9 @@ INTERNALERROR_TSFMONITORDATEPARSEFAILED = 'InternalError.TsfMonitorDateParseFail
|
|
|
452
455
|
# TSF监控统计内部异常, 请稍后重试。
|
|
453
456
|
INTERNALERROR_TSFMONITORINTERNALERROR = 'InternalError.TsfMonitorInternalError'
|
|
454
457
|
|
|
458
|
+
# TSF服务管理通用异常。
|
|
459
|
+
INTERNALERROR_TSFMSERROR = 'InternalError.TsfMsError'
|
|
460
|
+
|
|
455
461
|
# [%s]模块未处理异常。。
|
|
456
462
|
INTERNALERROR_UNHANDLEDEXCEPTION = 'InternalError.UnhandledException'
|
|
457
463
|
|
|
@@ -9779,12 +9779,7 @@ class CreateApplicationRequest(AbstractModel):
|
|
|
9779
9779
|
:type ProgramIdList: list of str
|
|
9780
9780
|
:param _ApmInstanceId: apm业务系统id
|
|
9781
9781
|
:type ApmInstanceId: str
|
|
9782
|
-
:param _ProgramLanguage:
|
|
9783
|
-
J - JAVA;
|
|
9784
|
-
C - C/C++;
|
|
9785
|
-
P - Python;
|
|
9786
|
-
G - Go;
|
|
9787
|
-
O - Other;
|
|
9782
|
+
:param _ProgramLanguage: 编程语言: Java;C/C++;Python;Go;Other
|
|
9788
9783
|
:type ProgramLanguage: str
|
|
9789
9784
|
:param _FrameworkType: 开发框架-SpringCloud/Dubbo/Go-GRPC/Other
|
|
9790
9785
|
:type FrameworkType: str
|
|
@@ -9944,12 +9939,7 @@ O - Other;
|
|
|
9944
9939
|
|
|
9945
9940
|
@property
|
|
9946
9941
|
def ProgramLanguage(self):
|
|
9947
|
-
"""
|
|
9948
|
-
J - JAVA;
|
|
9949
|
-
C - C/C++;
|
|
9950
|
-
P - Python;
|
|
9951
|
-
G - Go;
|
|
9952
|
-
O - Other;
|
|
9942
|
+
"""编程语言: Java;C/C++;Python;Go;Other
|
|
9953
9943
|
:rtype: str
|
|
9954
9944
|
"""
|
|
9955
9945
|
return self._ProgramLanguage
|
|
@@ -26243,6 +26233,87 @@ class DescribeMicroserviceResponse(AbstractModel):
|
|
|
26243
26233
|
self._RequestId = params.get("RequestId")
|
|
26244
26234
|
|
|
26245
26235
|
|
|
26236
|
+
class DescribeMicroservicesByGroupIdsRequest(AbstractModel):
|
|
26237
|
+
"""DescribeMicroservicesByGroupIds请求参数结构体
|
|
26238
|
+
|
|
26239
|
+
"""
|
|
26240
|
+
|
|
26241
|
+
def __init__(self):
|
|
26242
|
+
r"""
|
|
26243
|
+
:param _GroupIds: 部署组ID列表
|
|
26244
|
+
:type GroupIds: list of str
|
|
26245
|
+
"""
|
|
26246
|
+
self._GroupIds = None
|
|
26247
|
+
|
|
26248
|
+
@property
|
|
26249
|
+
def GroupIds(self):
|
|
26250
|
+
"""部署组ID列表
|
|
26251
|
+
:rtype: list of str
|
|
26252
|
+
"""
|
|
26253
|
+
return self._GroupIds
|
|
26254
|
+
|
|
26255
|
+
@GroupIds.setter
|
|
26256
|
+
def GroupIds(self, GroupIds):
|
|
26257
|
+
self._GroupIds = GroupIds
|
|
26258
|
+
|
|
26259
|
+
|
|
26260
|
+
def _deserialize(self, params):
|
|
26261
|
+
self._GroupIds = params.get("GroupIds")
|
|
26262
|
+
memeber_set = set(params.keys())
|
|
26263
|
+
for name, value in vars(self).items():
|
|
26264
|
+
property_name = name[1:]
|
|
26265
|
+
if property_name in memeber_set:
|
|
26266
|
+
memeber_set.remove(property_name)
|
|
26267
|
+
if len(memeber_set) > 0:
|
|
26268
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
26269
|
+
|
|
26270
|
+
|
|
26271
|
+
|
|
26272
|
+
class DescribeMicroservicesByGroupIdsResponse(AbstractModel):
|
|
26273
|
+
"""DescribeMicroservicesByGroupIds返回参数结构体
|
|
26274
|
+
|
|
26275
|
+
"""
|
|
26276
|
+
|
|
26277
|
+
def __init__(self):
|
|
26278
|
+
r"""
|
|
26279
|
+
:param _Result: 微服务信息分页列表
|
|
26280
|
+
:type Result: :class:`tencentcloud.tsf.v20180326.models.TsfPageMicroservice`
|
|
26281
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26282
|
+
:type RequestId: str
|
|
26283
|
+
"""
|
|
26284
|
+
self._Result = None
|
|
26285
|
+
self._RequestId = None
|
|
26286
|
+
|
|
26287
|
+
@property
|
|
26288
|
+
def Result(self):
|
|
26289
|
+
"""微服务信息分页列表
|
|
26290
|
+
:rtype: :class:`tencentcloud.tsf.v20180326.models.TsfPageMicroservice`
|
|
26291
|
+
"""
|
|
26292
|
+
return self._Result
|
|
26293
|
+
|
|
26294
|
+
@Result.setter
|
|
26295
|
+
def Result(self, Result):
|
|
26296
|
+
self._Result = Result
|
|
26297
|
+
|
|
26298
|
+
@property
|
|
26299
|
+
def RequestId(self):
|
|
26300
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26301
|
+
:rtype: str
|
|
26302
|
+
"""
|
|
26303
|
+
return self._RequestId
|
|
26304
|
+
|
|
26305
|
+
@RequestId.setter
|
|
26306
|
+
def RequestId(self, RequestId):
|
|
26307
|
+
self._RequestId = RequestId
|
|
26308
|
+
|
|
26309
|
+
|
|
26310
|
+
def _deserialize(self, params):
|
|
26311
|
+
if params.get("Result") is not None:
|
|
26312
|
+
self._Result = TsfPageMicroservice()
|
|
26313
|
+
self._Result._deserialize(params.get("Result"))
|
|
26314
|
+
self._RequestId = params.get("RequestId")
|
|
26315
|
+
|
|
26316
|
+
|
|
26246
26317
|
class DescribeMicroservicesRequest(AbstractModel):
|
|
26247
26318
|
"""DescribeMicroservices请求参数结构体
|
|
26248
26319
|
|
|
@@ -47512,7 +47583,7 @@ class ServiceGovernanceConfig(AbstractModel):
|
|
|
47512
47583
|
r"""
|
|
47513
47584
|
:param _EnableGovernance: 是否开启服务注册治理
|
|
47514
47585
|
:type EnableGovernance: bool
|
|
47515
|
-
:param _GovernanceType:
|
|
47586
|
+
:param _GovernanceType: 服务治理类型(枚举:SHARE、EXCLUSIVE)
|
|
47516
47587
|
:type GovernanceType: str
|
|
47517
47588
|
:param _ExclusiveInstances: 独享实例列表
|
|
47518
47589
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -47535,7 +47606,7 @@ class ServiceGovernanceConfig(AbstractModel):
|
|
|
47535
47606
|
|
|
47536
47607
|
@property
|
|
47537
47608
|
def GovernanceType(self):
|
|
47538
|
-
"""
|
|
47609
|
+
"""服务治理类型(枚举:SHARE、EXCLUSIVE)
|
|
47539
47610
|
:rtype: str
|
|
47540
47611
|
"""
|
|
47541
47612
|
return self._GovernanceType
|
|
@@ -2885,6 +2885,29 @@ class TsfClient(AbstractClient):
|
|
|
2885
2885
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2886
2886
|
|
|
2887
2887
|
|
|
2888
|
+
def DescribeMicroservicesByGroupIds(self, request):
|
|
2889
|
+
"""通过部署组ID获取微服务
|
|
2890
|
+
|
|
2891
|
+
:param request: Request instance for DescribeMicroservicesByGroupIds.
|
|
2892
|
+
:type request: :class:`tencentcloud.tsf.v20180326.models.DescribeMicroservicesByGroupIdsRequest`
|
|
2893
|
+
:rtype: :class:`tencentcloud.tsf.v20180326.models.DescribeMicroservicesByGroupIdsResponse`
|
|
2894
|
+
|
|
2895
|
+
"""
|
|
2896
|
+
try:
|
|
2897
|
+
params = request._serialize()
|
|
2898
|
+
headers = request.headers
|
|
2899
|
+
body = self.call("DescribeMicroservicesByGroupIds", params, headers=headers)
|
|
2900
|
+
response = json.loads(body)
|
|
2901
|
+
model = models.DescribeMicroservicesByGroupIdsResponse()
|
|
2902
|
+
model._deserialize(response["Response"])
|
|
2903
|
+
return model
|
|
2904
|
+
except Exception as e:
|
|
2905
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2906
|
+
raise
|
|
2907
|
+
else:
|
|
2908
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2909
|
+
|
|
2910
|
+
|
|
2888
2911
|
def DescribeMsApiList(self, request):
|
|
2889
2912
|
"""查询服务API列表
|
|
2890
2913
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1340
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1338
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|