tencentcloud-sdk-python-tcb 3.1.200__tar.gz → 3.1.203__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_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/setup.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud/tcb/v20180608/errorcodes.py +6 -0
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud/tcb/v20180608/models.py +57 -18
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud/tcb/v20180608/tcb_client.py +23 -0
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud/tcb/v20180608/tcb_client_async.py +18 -0
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcb-3.1.203/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcb-3.1.200/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/README.rst +0 -0
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud/tcb/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud/tcb/v20180608/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.200 → tencentcloud_sdk_python_tcb-3.1.203}/tencentcloud_sdk_python_tcb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.203
|
|
4
4
|
Summary: Tencent Cloud Tcb 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.203
|
|
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-tcb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.203,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcb SDK for Python',
|
|
@@ -134,6 +134,9 @@ FAILEDOPERATION_TIMEOUT = 'FailedOperation.Timeout'
|
|
|
134
134
|
# Topic隔离
|
|
135
135
|
FAILEDOPERATION_TOPICISOLATED = 'FailedOperation.TopicIsolated'
|
|
136
136
|
|
|
137
|
+
# 更新数据失败
|
|
138
|
+
FAILEDOPERATION_UPDATE = 'FailedOperation.Update'
|
|
139
|
+
|
|
137
140
|
# 当前函数状态无法更新代码,请在状态为正常时更新。
|
|
138
141
|
FAILEDOPERATION_UPDATEFUNCTIONCODE = 'FailedOperation.UpdateFunctionCode'
|
|
139
142
|
|
|
@@ -326,6 +329,9 @@ RESOURCENOTFOUND_FUNCTION = 'ResourceNotFound.Function'
|
|
|
326
329
|
# HTTP访问服务域名不存在
|
|
327
330
|
RESOURCENOTFOUND_HTTPSERVICEDOMAIN = 'ResourceNotFound.HTTPServiceDomain'
|
|
328
331
|
|
|
332
|
+
# http访问服务资源不存在
|
|
333
|
+
RESOURCENOTFOUND_HTTPSERVICERESOURCE = 'ResourceNotFound.HTTPServiceResource'
|
|
334
|
+
|
|
329
335
|
# 数据库实例不存在。
|
|
330
336
|
RESOURCENOTFOUND_INSTANCENOTFOUND = 'ResourceNotFound.InstanceNotFound'
|
|
331
337
|
|
|
@@ -7139,18 +7139,13 @@ class DatabasesInfo(AbstractModel):
|
|
|
7139
7139
|
|
|
7140
7140
|
def __init__(self):
|
|
7141
7141
|
r"""
|
|
7142
|
-
:param _InstanceId:
|
|
7142
|
+
:param _InstanceId: <p>数据库唯一标识</p>
|
|
7143
7143
|
:type InstanceId: str
|
|
7144
|
-
:param _Status:
|
|
7145
|
-
<li>INITIALIZING:资源初始化中</li>
|
|
7146
|
-
<li>RUNNING:运行中,可正常使用的状态</li>
|
|
7147
|
-
<li>UNUSABLE:禁用,不可用</li>
|
|
7148
|
-
<li>OVERDUE:资源过期</li>
|
|
7144
|
+
:param _Status: <p>状态。包含以下取值:</p><li>INITIALIZING:资源初始化中</li><li>RUNNING:运行中,可正常使用的状态</li><li>UNUSABLE:禁用,不可用</li><li>OVERDUE:资源过期</li>
|
|
7149
7145
|
:type Status: str
|
|
7150
|
-
:param _Region:
|
|
7151
|
-
当前支持ap-shanghai
|
|
7146
|
+
:param _Region: <p>所属地域。<br>当前支持ap-shanghai</p>
|
|
7152
7147
|
:type Region: str
|
|
7153
|
-
:param _UpdateTime:
|
|
7148
|
+
:param _UpdateTime: <p>更新时间</p>
|
|
7154
7149
|
:type UpdateTime: str
|
|
7155
7150
|
"""
|
|
7156
7151
|
self._InstanceId = None
|
|
@@ -7160,7 +7155,7 @@ class DatabasesInfo(AbstractModel):
|
|
|
7160
7155
|
|
|
7161
7156
|
@property
|
|
7162
7157
|
def InstanceId(self):
|
|
7163
|
-
r"""
|
|
7158
|
+
r"""<p>数据库唯一标识</p>
|
|
7164
7159
|
:rtype: str
|
|
7165
7160
|
"""
|
|
7166
7161
|
return self._InstanceId
|
|
@@ -7171,11 +7166,7 @@ class DatabasesInfo(AbstractModel):
|
|
|
7171
7166
|
|
|
7172
7167
|
@property
|
|
7173
7168
|
def Status(self):
|
|
7174
|
-
r"""
|
|
7175
|
-
<li>INITIALIZING:资源初始化中</li>
|
|
7176
|
-
<li>RUNNING:运行中,可正常使用的状态</li>
|
|
7177
|
-
<li>UNUSABLE:禁用,不可用</li>
|
|
7178
|
-
<li>OVERDUE:资源过期</li>
|
|
7169
|
+
r"""<p>状态。包含以下取值:</p><li>INITIALIZING:资源初始化中</li><li>RUNNING:运行中,可正常使用的状态</li><li>UNUSABLE:禁用,不可用</li><li>OVERDUE:资源过期</li>
|
|
7179
7170
|
:rtype: str
|
|
7180
7171
|
"""
|
|
7181
7172
|
return self._Status
|
|
@@ -7186,8 +7177,7 @@ class DatabasesInfo(AbstractModel):
|
|
|
7186
7177
|
|
|
7187
7178
|
@property
|
|
7188
7179
|
def Region(self):
|
|
7189
|
-
r"""
|
|
7190
|
-
当前支持ap-shanghai
|
|
7180
|
+
r"""<p>所属地域。<br>当前支持ap-shanghai</p>
|
|
7191
7181
|
:rtype: str
|
|
7192
7182
|
"""
|
|
7193
7183
|
return self._Region
|
|
@@ -7198,7 +7188,7 @@ class DatabasesInfo(AbstractModel):
|
|
|
7198
7188
|
|
|
7199
7189
|
@property
|
|
7200
7190
|
def UpdateTime(self):
|
|
7201
|
-
r"""
|
|
7191
|
+
r"""<p>更新时间</p>
|
|
7202
7192
|
:rtype: str
|
|
7203
7193
|
"""
|
|
7204
7194
|
return self._UpdateTime
|
|
@@ -12391,6 +12381,40 @@ class DescribeEnvAccountCircleResponse(AbstractModel):
|
|
|
12391
12381
|
self._RequestId = params.get("RequestId")
|
|
12392
12382
|
|
|
12393
12383
|
|
|
12384
|
+
class DescribeEnvInfoRequest(AbstractModel):
|
|
12385
|
+
r"""DescribeEnvInfo请求参数结构体
|
|
12386
|
+
|
|
12387
|
+
"""
|
|
12388
|
+
|
|
12389
|
+
|
|
12390
|
+
class DescribeEnvInfoResponse(AbstractModel):
|
|
12391
|
+
r"""DescribeEnvInfo返回参数结构体
|
|
12392
|
+
|
|
12393
|
+
"""
|
|
12394
|
+
|
|
12395
|
+
def __init__(self):
|
|
12396
|
+
r"""
|
|
12397
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12398
|
+
:type RequestId: str
|
|
12399
|
+
"""
|
|
12400
|
+
self._RequestId = None
|
|
12401
|
+
|
|
12402
|
+
@property
|
|
12403
|
+
def RequestId(self):
|
|
12404
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12405
|
+
:rtype: str
|
|
12406
|
+
"""
|
|
12407
|
+
return self._RequestId
|
|
12408
|
+
|
|
12409
|
+
@RequestId.setter
|
|
12410
|
+
def RequestId(self, RequestId):
|
|
12411
|
+
self._RequestId = RequestId
|
|
12412
|
+
|
|
12413
|
+
|
|
12414
|
+
def _deserialize(self, params):
|
|
12415
|
+
self._RequestId = params.get("RequestId")
|
|
12416
|
+
|
|
12417
|
+
|
|
12394
12418
|
class DescribeEnvLimitRequest(AbstractModel):
|
|
12395
12419
|
r"""DescribeEnvLimit请求参数结构体
|
|
12396
12420
|
|
|
@@ -14251,12 +14275,15 @@ class DescribePlatformCreditsUsageDetailRequest(AbstractModel):
|
|
|
14251
14275
|
:type NeedUsageDetails: bool
|
|
14252
14276
|
:param _PlatformId: <p>平台版套餐id</p>
|
|
14253
14277
|
:type PlatformId: str
|
|
14278
|
+
:param _QueryLevel: <p>查询返回数据时间界别</p><p>枚举值:</p><ul><li>Daily: 按照天级别返回数据</li><li>Hourly: 按照小时级别返回数据</li></ul><p>默认值:Daily</p><p>部分数据按照天级别统计,无法按照小时级别返回</p>
|
|
14279
|
+
:type QueryLevel: str
|
|
14254
14280
|
"""
|
|
14255
14281
|
self._Modules = None
|
|
14256
14282
|
self._StartDate = None
|
|
14257
14283
|
self._EndDate = None
|
|
14258
14284
|
self._NeedUsageDetails = None
|
|
14259
14285
|
self._PlatformId = None
|
|
14286
|
+
self._QueryLevel = None
|
|
14260
14287
|
|
|
14261
14288
|
@property
|
|
14262
14289
|
def Modules(self):
|
|
@@ -14313,6 +14340,17 @@ class DescribePlatformCreditsUsageDetailRequest(AbstractModel):
|
|
|
14313
14340
|
def PlatformId(self, PlatformId):
|
|
14314
14341
|
self._PlatformId = PlatformId
|
|
14315
14342
|
|
|
14343
|
+
@property
|
|
14344
|
+
def QueryLevel(self):
|
|
14345
|
+
r"""<p>查询返回数据时间界别</p><p>枚举值:</p><ul><li>Daily: 按照天级别返回数据</li><li>Hourly: 按照小时级别返回数据</li></ul><p>默认值:Daily</p><p>部分数据按照天级别统计,无法按照小时级别返回</p>
|
|
14346
|
+
:rtype: str
|
|
14347
|
+
"""
|
|
14348
|
+
return self._QueryLevel
|
|
14349
|
+
|
|
14350
|
+
@QueryLevel.setter
|
|
14351
|
+
def QueryLevel(self, QueryLevel):
|
|
14352
|
+
self._QueryLevel = QueryLevel
|
|
14353
|
+
|
|
14316
14354
|
|
|
14317
14355
|
def _deserialize(self, params):
|
|
14318
14356
|
self._Modules = params.get("Modules")
|
|
@@ -14320,6 +14358,7 @@ class DescribePlatformCreditsUsageDetailRequest(AbstractModel):
|
|
|
14320
14358
|
self._EndDate = params.get("EndDate")
|
|
14321
14359
|
self._NeedUsageDetails = params.get("NeedUsageDetails")
|
|
14322
14360
|
self._PlatformId = params.get("PlatformId")
|
|
14361
|
+
self._QueryLevel = params.get("QueryLevel")
|
|
14323
14362
|
memeber_set = set(params.keys())
|
|
14324
14363
|
for name, value in vars(self).items():
|
|
14325
14364
|
property_name = name[1:]
|
|
@@ -1356,6 +1356,29 @@ class TcbClient(AbstractClient):
|
|
|
1356
1356
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1357
1357
|
|
|
1358
1358
|
|
|
1359
|
+
def DescribeEnvInfo(self, request):
|
|
1360
|
+
r"""查询环境详细信息
|
|
1361
|
+
|
|
1362
|
+
:param request: Request instance for DescribeEnvInfo.
|
|
1363
|
+
:type request: :class:`tencentcloud.tcb.v20180608.models.DescribeEnvInfoRequest`
|
|
1364
|
+
:rtype: :class:`tencentcloud.tcb.v20180608.models.DescribeEnvInfoResponse`
|
|
1365
|
+
|
|
1366
|
+
"""
|
|
1367
|
+
try:
|
|
1368
|
+
params = request._serialize()
|
|
1369
|
+
headers = request.headers
|
|
1370
|
+
body = self.call("DescribeEnvInfo", params, headers=headers)
|
|
1371
|
+
response = json.loads(body)
|
|
1372
|
+
model = models.DescribeEnvInfoResponse()
|
|
1373
|
+
model._deserialize(response["Response"])
|
|
1374
|
+
return model
|
|
1375
|
+
except Exception as e:
|
|
1376
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1377
|
+
raise
|
|
1378
|
+
else:
|
|
1379
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1380
|
+
|
|
1381
|
+
|
|
1359
1382
|
def DescribeEnvLimit(self, request):
|
|
1360
1383
|
r"""查询环境个数上限
|
|
1361
1384
|
|
|
@@ -1085,6 +1085,24 @@ class TcbClient(AbstractClient):
|
|
|
1085
1085
|
|
|
1086
1086
|
return await self.call_and_deserialize(**kwargs)
|
|
1087
1087
|
|
|
1088
|
+
async def DescribeEnvInfo(
|
|
1089
|
+
self,
|
|
1090
|
+
request: models.DescribeEnvInfoRequest,
|
|
1091
|
+
opts: Dict = None,
|
|
1092
|
+
) -> models.DescribeEnvInfoResponse:
|
|
1093
|
+
"""
|
|
1094
|
+
查询环境详细信息
|
|
1095
|
+
"""
|
|
1096
|
+
|
|
1097
|
+
kwargs = {}
|
|
1098
|
+
kwargs["action"] = "DescribeEnvInfo"
|
|
1099
|
+
kwargs["params"] = request._serialize()
|
|
1100
|
+
kwargs["resp_cls"] = models.DescribeEnvInfoResponse
|
|
1101
|
+
kwargs["headers"] = request.headers
|
|
1102
|
+
kwargs["opts"] = opts or {}
|
|
1103
|
+
|
|
1104
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1105
|
+
|
|
1088
1106
|
async def DescribeEnvLimit(
|
|
1089
1107
|
self,
|
|
1090
1108
|
request: models.DescribeEnvLimitRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.203
|
|
4
4
|
Summary: Tencent Cloud Tcb 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.203
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.203
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.200
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|