tencentcloud-sdk-python-tcb 3.1.157__tar.gz → 3.1.162__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.157 → tencentcloud_sdk_python_tcb-3.1.162}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/setup.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/tencentcloud/tcb/v20180608/models.py +152 -28
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/tencentcloud/tcb/v20180608/tcb_client.py +25 -0
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/tencentcloud/tcb/v20180608/tcb_client_async.py +20 -0
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcb-3.1.162/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcb-3.1.157/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/README.rst +0 -0
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/tencentcloud/tcb/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/tencentcloud/tcb/v20180608/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/tencentcloud/tcb/v20180608/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.157 → tencentcloud_sdk_python_tcb-3.1.162}/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.162
|
|
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.162
|
|
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.162,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcb SDK for Python',
|
|
@@ -1371,6 +1371,115 @@ class BanConfig(AbstractModel):
|
|
|
1371
1371
|
|
|
1372
1372
|
|
|
1373
1373
|
|
|
1374
|
+
class BindClsRequest(AbstractModel):
|
|
1375
|
+
r"""BindCls请求参数结构体
|
|
1376
|
+
|
|
1377
|
+
"""
|
|
1378
|
+
|
|
1379
|
+
def __init__(self):
|
|
1380
|
+
r"""
|
|
1381
|
+
:param _EnvId: 环境ID
|
|
1382
|
+
:type EnvId: str
|
|
1383
|
+
:param _ClsRegion: CLS地域
|
|
1384
|
+
:type ClsRegion: str
|
|
1385
|
+
:param _ClsLogsetId: CLS 日志集id
|
|
1386
|
+
:type ClsLogsetId: str
|
|
1387
|
+
:param _ClsTopicId: CLS 日志主题ID
|
|
1388
|
+
:type ClsTopicId: str
|
|
1389
|
+
"""
|
|
1390
|
+
self._EnvId = None
|
|
1391
|
+
self._ClsRegion = None
|
|
1392
|
+
self._ClsLogsetId = None
|
|
1393
|
+
self._ClsTopicId = None
|
|
1394
|
+
|
|
1395
|
+
@property
|
|
1396
|
+
def EnvId(self):
|
|
1397
|
+
r"""环境ID
|
|
1398
|
+
:rtype: str
|
|
1399
|
+
"""
|
|
1400
|
+
return self._EnvId
|
|
1401
|
+
|
|
1402
|
+
@EnvId.setter
|
|
1403
|
+
def EnvId(self, EnvId):
|
|
1404
|
+
self._EnvId = EnvId
|
|
1405
|
+
|
|
1406
|
+
@property
|
|
1407
|
+
def ClsRegion(self):
|
|
1408
|
+
r"""CLS地域
|
|
1409
|
+
:rtype: str
|
|
1410
|
+
"""
|
|
1411
|
+
return self._ClsRegion
|
|
1412
|
+
|
|
1413
|
+
@ClsRegion.setter
|
|
1414
|
+
def ClsRegion(self, ClsRegion):
|
|
1415
|
+
self._ClsRegion = ClsRegion
|
|
1416
|
+
|
|
1417
|
+
@property
|
|
1418
|
+
def ClsLogsetId(self):
|
|
1419
|
+
r"""CLS 日志集id
|
|
1420
|
+
:rtype: str
|
|
1421
|
+
"""
|
|
1422
|
+
return self._ClsLogsetId
|
|
1423
|
+
|
|
1424
|
+
@ClsLogsetId.setter
|
|
1425
|
+
def ClsLogsetId(self, ClsLogsetId):
|
|
1426
|
+
self._ClsLogsetId = ClsLogsetId
|
|
1427
|
+
|
|
1428
|
+
@property
|
|
1429
|
+
def ClsTopicId(self):
|
|
1430
|
+
r"""CLS 日志主题ID
|
|
1431
|
+
:rtype: str
|
|
1432
|
+
"""
|
|
1433
|
+
return self._ClsTopicId
|
|
1434
|
+
|
|
1435
|
+
@ClsTopicId.setter
|
|
1436
|
+
def ClsTopicId(self, ClsTopicId):
|
|
1437
|
+
self._ClsTopicId = ClsTopicId
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
def _deserialize(self, params):
|
|
1441
|
+
self._EnvId = params.get("EnvId")
|
|
1442
|
+
self._ClsRegion = params.get("ClsRegion")
|
|
1443
|
+
self._ClsLogsetId = params.get("ClsLogsetId")
|
|
1444
|
+
self._ClsTopicId = params.get("ClsTopicId")
|
|
1445
|
+
memeber_set = set(params.keys())
|
|
1446
|
+
for name, value in vars(self).items():
|
|
1447
|
+
property_name = name[1:]
|
|
1448
|
+
if property_name in memeber_set:
|
|
1449
|
+
memeber_set.remove(property_name)
|
|
1450
|
+
if len(memeber_set) > 0:
|
|
1451
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
class BindClsResponse(AbstractModel):
|
|
1456
|
+
r"""BindCls返回参数结构体
|
|
1457
|
+
|
|
1458
|
+
"""
|
|
1459
|
+
|
|
1460
|
+
def __init__(self):
|
|
1461
|
+
r"""
|
|
1462
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1463
|
+
:type RequestId: str
|
|
1464
|
+
"""
|
|
1465
|
+
self._RequestId = None
|
|
1466
|
+
|
|
1467
|
+
@property
|
|
1468
|
+
def RequestId(self):
|
|
1469
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1470
|
+
:rtype: str
|
|
1471
|
+
"""
|
|
1472
|
+
return self._RequestId
|
|
1473
|
+
|
|
1474
|
+
@RequestId.setter
|
|
1475
|
+
def RequestId(self, RequestId):
|
|
1476
|
+
self._RequestId = RequestId
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
def _deserialize(self, params):
|
|
1480
|
+
self._RequestId = params.get("RequestId")
|
|
1481
|
+
|
|
1482
|
+
|
|
1374
1483
|
class BindStorageSourceRequest(AbstractModel):
|
|
1375
1484
|
r"""BindStorageSource请求参数结构体
|
|
1376
1485
|
|
|
@@ -15220,13 +15329,15 @@ class HTTPServiceDomain(AbstractModel):
|
|
|
15220
15329
|
:type Status: str
|
|
15221
15330
|
:param _DNSStatus: <p>DNS解析状态</p><p>枚举值:</p><ul><li>OK: 正常,命中目标 cname</li><li>EMPTY: 解析为空,域名尚未配置 CNAME 或未生效</li><li>INVALID: 异常,解析到其他非目标地址</li></ul>
|
|
15222
15331
|
:type DNSStatus: str
|
|
15332
|
+
:param _PlatformCnameDNSStatus: <p>是否CNAME到平台任一网关入口,默认接入/CDN/EO,不含CustomCname</p><p>枚举值:</p><ul><li>EMPTY: 解析为空</li><li>OK: 命中</li><li>INVALID: 解析到其他非目标地址</li></ul>
|
|
15333
|
+
:type PlatformCnameDNSStatus: str
|
|
15223
15334
|
:param _Routes: <p>HTTP访问服务路由信息</p>
|
|
15224
15335
|
:type Routes: list of HTTPServiceRoute
|
|
15225
15336
|
:param _Extension: <p>扩展字段,内部包含headers处理等</p>
|
|
15226
15337
|
:type Extension: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceExtension`
|
|
15227
|
-
:param _CreateTime: <p
|
|
15338
|
+
:param _CreateTime: <p>域名创建时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
15228
15339
|
:type CreateTime: str
|
|
15229
|
-
:param _UpdateTime: <p
|
|
15340
|
+
:param _UpdateTime: <p>域名更新时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
15230
15341
|
:type UpdateTime: str
|
|
15231
15342
|
"""
|
|
15232
15343
|
self._Domain = None
|
|
@@ -15239,6 +15350,7 @@ class HTTPServiceDomain(AbstractModel):
|
|
|
15239
15350
|
self._Enable = None
|
|
15240
15351
|
self._Status = None
|
|
15241
15352
|
self._DNSStatus = None
|
|
15353
|
+
self._PlatformCnameDNSStatus = None
|
|
15242
15354
|
self._Routes = None
|
|
15243
15355
|
self._Extension = None
|
|
15244
15356
|
self._CreateTime = None
|
|
@@ -15354,6 +15466,17 @@ class HTTPServiceDomain(AbstractModel):
|
|
|
15354
15466
|
def DNSStatus(self, DNSStatus):
|
|
15355
15467
|
self._DNSStatus = DNSStatus
|
|
15356
15468
|
|
|
15469
|
+
@property
|
|
15470
|
+
def PlatformCnameDNSStatus(self):
|
|
15471
|
+
r"""<p>是否CNAME到平台任一网关入口,默认接入/CDN/EO,不含CustomCname</p><p>枚举值:</p><ul><li>EMPTY: 解析为空</li><li>OK: 命中</li><li>INVALID: 解析到其他非目标地址</li></ul>
|
|
15472
|
+
:rtype: str
|
|
15473
|
+
"""
|
|
15474
|
+
return self._PlatformCnameDNSStatus
|
|
15475
|
+
|
|
15476
|
+
@PlatformCnameDNSStatus.setter
|
|
15477
|
+
def PlatformCnameDNSStatus(self, PlatformCnameDNSStatus):
|
|
15478
|
+
self._PlatformCnameDNSStatus = PlatformCnameDNSStatus
|
|
15479
|
+
|
|
15357
15480
|
@property
|
|
15358
15481
|
def Routes(self):
|
|
15359
15482
|
r"""<p>HTTP访问服务路由信息</p>
|
|
@@ -15378,7 +15501,7 @@ class HTTPServiceDomain(AbstractModel):
|
|
|
15378
15501
|
|
|
15379
15502
|
@property
|
|
15380
15503
|
def CreateTime(self):
|
|
15381
|
-
r"""<p
|
|
15504
|
+
r"""<p>域名创建时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
15382
15505
|
:rtype: str
|
|
15383
15506
|
"""
|
|
15384
15507
|
return self._CreateTime
|
|
@@ -15389,7 +15512,7 @@ class HTTPServiceDomain(AbstractModel):
|
|
|
15389
15512
|
|
|
15390
15513
|
@property
|
|
15391
15514
|
def UpdateTime(self):
|
|
15392
|
-
r"""<p
|
|
15515
|
+
r"""<p>域名更新时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
15393
15516
|
:rtype: str
|
|
15394
15517
|
"""
|
|
15395
15518
|
return self._UpdateTime
|
|
@@ -15410,6 +15533,7 @@ class HTTPServiceDomain(AbstractModel):
|
|
|
15410
15533
|
self._Enable = params.get("Enable")
|
|
15411
15534
|
self._Status = params.get("Status")
|
|
15412
15535
|
self._DNSStatus = params.get("DNSStatus")
|
|
15536
|
+
self._PlatformCnameDNSStatus = params.get("PlatformCnameDNSStatus")
|
|
15413
15537
|
if params.get("Routes") is not None:
|
|
15414
15538
|
self._Routes = []
|
|
15415
15539
|
for item in params.get("Routes"):
|
|
@@ -15868,29 +15992,29 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
15868
15992
|
|
|
15869
15993
|
def __init__(self):
|
|
15870
15994
|
r"""
|
|
15871
|
-
:param _Path:
|
|
15995
|
+
:param _Path: <p>路径</p>
|
|
15872
15996
|
:type Path: str
|
|
15873
|
-
:param _PathRewrite:
|
|
15997
|
+
:param _PathRewrite: <p>路径重写规则</p>
|
|
15874
15998
|
:type PathRewrite: :class:`tencentcloud.tcb.v20180608.models.HTTPServicePathRewrite`
|
|
15875
|
-
:param _UpstreamResourceType:
|
|
15999
|
+
:param _UpstreamResourceType: <p>上游服务类型。SCF: 云函数,CBR: 云托管,STATIC_STORE: 静态托管,WEB_SCF: WEB云函数,LH: Lighthouse</p>
|
|
15876
16000
|
:type UpstreamResourceType: str
|
|
15877
|
-
:param _UpstreamResourceName:
|
|
16001
|
+
:param _UpstreamResourceName: <p>上游服务名</p>
|
|
15878
16002
|
:type UpstreamResourceName: str
|
|
15879
|
-
:param _EnableSafeDomain:
|
|
16003
|
+
:param _EnableSafeDomain: <p>是否开启安全域名</p>
|
|
15880
16004
|
:type EnableSafeDomain: bool
|
|
15881
|
-
:param _EnableAuth:
|
|
16005
|
+
:param _EnableAuth: <p>是否开启身份认证</p>
|
|
15882
16006
|
:type EnableAuth: bool
|
|
15883
|
-
:param _EnablePathTransmission:
|
|
16007
|
+
:param _EnablePathTransmission: <p>是否开启路径透传</p>
|
|
15884
16008
|
:type EnablePathTransmission: bool
|
|
15885
|
-
:param _QPSPolicy: QPS
|
|
16009
|
+
:param _QPSPolicy: <p>QPS限频策略</p>
|
|
15886
16010
|
:type QPSPolicy: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceRouteQPSPolicy`
|
|
15887
|
-
:param _Enable:
|
|
16011
|
+
:param _Enable: <p>是否开启路由</p>
|
|
15888
16012
|
:type Enable: bool
|
|
15889
|
-
:param _Extension:
|
|
16013
|
+
:param _Extension: <p>扩展字段,内部包含headers处理等</p>
|
|
15890
16014
|
:type Extension: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceExtension`
|
|
15891
|
-
:param _CreateTime:
|
|
16015
|
+
:param _CreateTime: <p>路由创建时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
15892
16016
|
:type CreateTime: str
|
|
15893
|
-
:param _UpdateTime:
|
|
16017
|
+
:param _UpdateTime: <p>路由更新时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
15894
16018
|
:type UpdateTime: str
|
|
15895
16019
|
"""
|
|
15896
16020
|
self._Path = None
|
|
@@ -15908,7 +16032,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
15908
16032
|
|
|
15909
16033
|
@property
|
|
15910
16034
|
def Path(self):
|
|
15911
|
-
r"""
|
|
16035
|
+
r"""<p>路径</p>
|
|
15912
16036
|
:rtype: str
|
|
15913
16037
|
"""
|
|
15914
16038
|
return self._Path
|
|
@@ -15919,7 +16043,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
15919
16043
|
|
|
15920
16044
|
@property
|
|
15921
16045
|
def PathRewrite(self):
|
|
15922
|
-
r"""
|
|
16046
|
+
r"""<p>路径重写规则</p>
|
|
15923
16047
|
:rtype: :class:`tencentcloud.tcb.v20180608.models.HTTPServicePathRewrite`
|
|
15924
16048
|
"""
|
|
15925
16049
|
return self._PathRewrite
|
|
@@ -15930,7 +16054,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
15930
16054
|
|
|
15931
16055
|
@property
|
|
15932
16056
|
def UpstreamResourceType(self):
|
|
15933
|
-
r"""
|
|
16057
|
+
r"""<p>上游服务类型。SCF: 云函数,CBR: 云托管,STATIC_STORE: 静态托管,WEB_SCF: WEB云函数,LH: Lighthouse</p>
|
|
15934
16058
|
:rtype: str
|
|
15935
16059
|
"""
|
|
15936
16060
|
return self._UpstreamResourceType
|
|
@@ -15941,7 +16065,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
15941
16065
|
|
|
15942
16066
|
@property
|
|
15943
16067
|
def UpstreamResourceName(self):
|
|
15944
|
-
r"""
|
|
16068
|
+
r"""<p>上游服务名</p>
|
|
15945
16069
|
:rtype: str
|
|
15946
16070
|
"""
|
|
15947
16071
|
return self._UpstreamResourceName
|
|
@@ -15952,7 +16076,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
15952
16076
|
|
|
15953
16077
|
@property
|
|
15954
16078
|
def EnableSafeDomain(self):
|
|
15955
|
-
r"""
|
|
16079
|
+
r"""<p>是否开启安全域名</p>
|
|
15956
16080
|
:rtype: bool
|
|
15957
16081
|
"""
|
|
15958
16082
|
return self._EnableSafeDomain
|
|
@@ -15963,7 +16087,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
15963
16087
|
|
|
15964
16088
|
@property
|
|
15965
16089
|
def EnableAuth(self):
|
|
15966
|
-
r"""
|
|
16090
|
+
r"""<p>是否开启身份认证</p>
|
|
15967
16091
|
:rtype: bool
|
|
15968
16092
|
"""
|
|
15969
16093
|
return self._EnableAuth
|
|
@@ -15974,7 +16098,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
15974
16098
|
|
|
15975
16099
|
@property
|
|
15976
16100
|
def EnablePathTransmission(self):
|
|
15977
|
-
r"""
|
|
16101
|
+
r"""<p>是否开启路径透传</p>
|
|
15978
16102
|
:rtype: bool
|
|
15979
16103
|
"""
|
|
15980
16104
|
return self._EnablePathTransmission
|
|
@@ -15985,7 +16109,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
15985
16109
|
|
|
15986
16110
|
@property
|
|
15987
16111
|
def QPSPolicy(self):
|
|
15988
|
-
r"""QPS
|
|
16112
|
+
r"""<p>QPS限频策略</p>
|
|
15989
16113
|
:rtype: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceRouteQPSPolicy`
|
|
15990
16114
|
"""
|
|
15991
16115
|
return self._QPSPolicy
|
|
@@ -15996,7 +16120,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
15996
16120
|
|
|
15997
16121
|
@property
|
|
15998
16122
|
def Enable(self):
|
|
15999
|
-
r"""
|
|
16123
|
+
r"""<p>是否开启路由</p>
|
|
16000
16124
|
:rtype: bool
|
|
16001
16125
|
"""
|
|
16002
16126
|
return self._Enable
|
|
@@ -16007,7 +16131,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
16007
16131
|
|
|
16008
16132
|
@property
|
|
16009
16133
|
def Extension(self):
|
|
16010
|
-
r"""
|
|
16134
|
+
r"""<p>扩展字段,内部包含headers处理等</p>
|
|
16011
16135
|
:rtype: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceExtension`
|
|
16012
16136
|
"""
|
|
16013
16137
|
return self._Extension
|
|
@@ -16018,7 +16142,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
16018
16142
|
|
|
16019
16143
|
@property
|
|
16020
16144
|
def CreateTime(self):
|
|
16021
|
-
r"""
|
|
16145
|
+
r"""<p>路由创建时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
16022
16146
|
:rtype: str
|
|
16023
16147
|
"""
|
|
16024
16148
|
return self._CreateTime
|
|
@@ -16029,7 +16153,7 @@ class HTTPServiceRoute(AbstractModel):
|
|
|
16029
16153
|
|
|
16030
16154
|
@property
|
|
16031
16155
|
def UpdateTime(self):
|
|
16032
|
-
r"""
|
|
16156
|
+
r"""<p>路由更新时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
16033
16157
|
:rtype: str
|
|
16034
16158
|
"""
|
|
16035
16159
|
return self._UpdateTime
|
|
@@ -97,6 +97,31 @@ class TcbClient(AbstractClient):
|
|
|
97
97
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
98
98
|
|
|
99
99
|
|
|
100
|
+
def BindCls(self, request):
|
|
101
|
+
r"""绑定自定义CLS日志主题
|
|
102
|
+
|
|
103
|
+
**绑定自定义 CLS 日志主题需调用腾讯云 CLS「[DescribeTopics](https://cloud.tencent.com/document/api/614/56454)」接口,按传入的 `Region` 拉取用户日志主题列表,仅筛选 `AssumerName` 为空的自有主题,并将其 `LogsetId`、`TopicId` 分别回填为绑定参数 `ClsLogsetId`、`ClsTopicId`(地域取请求参数 `Region` 作为 `ClsRegion`)。**
|
|
104
|
+
|
|
105
|
+
:param request: Request instance for BindCls.
|
|
106
|
+
:type request: :class:`tencentcloud.tcb.v20180608.models.BindClsRequest`
|
|
107
|
+
:rtype: :class:`tencentcloud.tcb.v20180608.models.BindClsResponse`
|
|
108
|
+
|
|
109
|
+
"""
|
|
110
|
+
try:
|
|
111
|
+
params = request._serialize()
|
|
112
|
+
headers = request.headers
|
|
113
|
+
body = self.call("BindCls", params, headers=headers)
|
|
114
|
+
response = json.loads(body)
|
|
115
|
+
model = models.BindClsResponse()
|
|
116
|
+
model._deserialize(response["Response"])
|
|
117
|
+
return model
|
|
118
|
+
except Exception as e:
|
|
119
|
+
if isinstance(e, TencentCloudSDKException):
|
|
120
|
+
raise
|
|
121
|
+
else:
|
|
122
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
def BindStorageSource(self, request):
|
|
101
126
|
r"""为云存储绑定外部云存储源。
|
|
102
127
|
将一个用户自有的 COS桶 作为外部存储源绑定到指定云开发环境的云存储。绑定后,该环境的云存储文件操作将指向此桶,通过 BasePath 路径前缀实现与其他环境的数据隔离。
|
|
@@ -81,6 +81,26 @@ class TcbClient(AbstractClient):
|
|
|
81
81
|
|
|
82
82
|
return await self.call_and_deserialize(**kwargs)
|
|
83
83
|
|
|
84
|
+
async def BindCls(
|
|
85
|
+
self,
|
|
86
|
+
request: models.BindClsRequest,
|
|
87
|
+
opts: Dict = None,
|
|
88
|
+
) -> models.BindClsResponse:
|
|
89
|
+
"""
|
|
90
|
+
绑定自定义CLS日志主题
|
|
91
|
+
|
|
92
|
+
**绑定自定义 CLS 日志主题需调用腾讯云 CLS「[DescribeTopics](https://cloud.tencent.com/document/api/614/56454)」接口,按传入的 `Region` 拉取用户日志主题列表,仅筛选 `AssumerName` 为空的自有主题,并将其 `LogsetId`、`TopicId` 分别回填为绑定参数 `ClsLogsetId`、`ClsTopicId`(地域取请求参数 `Region` 作为 `ClsRegion`)。**
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
kwargs = {}
|
|
96
|
+
kwargs["action"] = "BindCls"
|
|
97
|
+
kwargs["params"] = request._serialize()
|
|
98
|
+
kwargs["resp_cls"] = models.BindClsResponse
|
|
99
|
+
kwargs["headers"] = request.headers
|
|
100
|
+
kwargs["opts"] = opts or {}
|
|
101
|
+
|
|
102
|
+
return await self.call_and_deserialize(**kwargs)
|
|
103
|
+
|
|
84
104
|
async def BindStorageSource(
|
|
85
105
|
self,
|
|
86
106
|
request: models.BindStorageSourceRequest,
|
|
@@ -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.162
|
|
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.162
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.162
|
|
@@ -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
|