tencentcloud-sdk-python-tcbr 3.1.155__tar.gz → 3.1.201__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_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/setup.py +1 -1
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud/tcbr/v20220217/models.py +169 -0
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud/tcbr/v20220217/tcbr_client.py +23 -0
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud/tcbr/v20220217/tcbr_client_async.py +18 -0
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud_sdk_python_tcbr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcbr-3.1.201/tencentcloud_sdk_python_tcbr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcbr-3.1.155/tencentcloud_sdk_python_tcbr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/README.rst +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud/tcbr/__init__.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud/tcbr/v20220217/__init__.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud/tcbr/v20220217/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud_sdk_python_tcbr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud_sdk_python_tcbr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.155 → tencentcloud_sdk_python_tcbr-3.1.201}/tencentcloud_sdk_python_tcbr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcbr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.201
|
|
4
4
|
Summary: Tencent Cloud Tcbr 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.201
|
|
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-tcbr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.201,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcbr SDK for Python',
|
|
@@ -3880,6 +3880,175 @@ class HpaPolicy(AbstractModel):
|
|
|
3880
3880
|
|
|
3881
3881
|
|
|
3882
3882
|
|
|
3883
|
+
class InitializeCloudRunResourceRequest(AbstractModel):
|
|
3884
|
+
r"""InitializeCloudRunResource请求参数结构体
|
|
3885
|
+
|
|
3886
|
+
"""
|
|
3887
|
+
|
|
3888
|
+
def __init__(self):
|
|
3889
|
+
r"""
|
|
3890
|
+
:param _EnvType: <p>tcbr,run,weda,baas</p>
|
|
3891
|
+
:type EnvType: str
|
|
3892
|
+
:param _EnvId: <p>环境ID 云开发平台必填</p>
|
|
3893
|
+
:type EnvId: str
|
|
3894
|
+
:param _VpcId: <p>私有网络Id</p>
|
|
3895
|
+
:type VpcId: str
|
|
3896
|
+
:param _SubNetIds: <p>子网列表</p>
|
|
3897
|
+
:type SubNetIds: list of str
|
|
3898
|
+
:param _Source: <p>来源:wechat | cloud | weda</p>
|
|
3899
|
+
:type Source: str
|
|
3900
|
+
:param _Channel: <p>渠道:wechat | cloud | weda</p>
|
|
3901
|
+
:type Channel: str
|
|
3902
|
+
"""
|
|
3903
|
+
self._EnvType = None
|
|
3904
|
+
self._EnvId = None
|
|
3905
|
+
self._VpcId = None
|
|
3906
|
+
self._SubNetIds = None
|
|
3907
|
+
self._Source = None
|
|
3908
|
+
self._Channel = None
|
|
3909
|
+
|
|
3910
|
+
@property
|
|
3911
|
+
def EnvType(self):
|
|
3912
|
+
r"""<p>tcbr,run,weda,baas</p>
|
|
3913
|
+
:rtype: str
|
|
3914
|
+
"""
|
|
3915
|
+
return self._EnvType
|
|
3916
|
+
|
|
3917
|
+
@EnvType.setter
|
|
3918
|
+
def EnvType(self, EnvType):
|
|
3919
|
+
self._EnvType = EnvType
|
|
3920
|
+
|
|
3921
|
+
@property
|
|
3922
|
+
def EnvId(self):
|
|
3923
|
+
r"""<p>环境ID 云开发平台必填</p>
|
|
3924
|
+
:rtype: str
|
|
3925
|
+
"""
|
|
3926
|
+
return self._EnvId
|
|
3927
|
+
|
|
3928
|
+
@EnvId.setter
|
|
3929
|
+
def EnvId(self, EnvId):
|
|
3930
|
+
self._EnvId = EnvId
|
|
3931
|
+
|
|
3932
|
+
@property
|
|
3933
|
+
def VpcId(self):
|
|
3934
|
+
r"""<p>私有网络Id</p>
|
|
3935
|
+
:rtype: str
|
|
3936
|
+
"""
|
|
3937
|
+
return self._VpcId
|
|
3938
|
+
|
|
3939
|
+
@VpcId.setter
|
|
3940
|
+
def VpcId(self, VpcId):
|
|
3941
|
+
self._VpcId = VpcId
|
|
3942
|
+
|
|
3943
|
+
@property
|
|
3944
|
+
def SubNetIds(self):
|
|
3945
|
+
r"""<p>子网列表</p>
|
|
3946
|
+
:rtype: list of str
|
|
3947
|
+
"""
|
|
3948
|
+
return self._SubNetIds
|
|
3949
|
+
|
|
3950
|
+
@SubNetIds.setter
|
|
3951
|
+
def SubNetIds(self, SubNetIds):
|
|
3952
|
+
self._SubNetIds = SubNetIds
|
|
3953
|
+
|
|
3954
|
+
@property
|
|
3955
|
+
def Source(self):
|
|
3956
|
+
r"""<p>来源:wechat | cloud | weda</p>
|
|
3957
|
+
:rtype: str
|
|
3958
|
+
"""
|
|
3959
|
+
return self._Source
|
|
3960
|
+
|
|
3961
|
+
@Source.setter
|
|
3962
|
+
def Source(self, Source):
|
|
3963
|
+
self._Source = Source
|
|
3964
|
+
|
|
3965
|
+
@property
|
|
3966
|
+
def Channel(self):
|
|
3967
|
+
r"""<p>渠道:wechat | cloud | weda</p>
|
|
3968
|
+
:rtype: str
|
|
3969
|
+
"""
|
|
3970
|
+
return self._Channel
|
|
3971
|
+
|
|
3972
|
+
@Channel.setter
|
|
3973
|
+
def Channel(self, Channel):
|
|
3974
|
+
self._Channel = Channel
|
|
3975
|
+
|
|
3976
|
+
|
|
3977
|
+
def _deserialize(self, params):
|
|
3978
|
+
self._EnvType = params.get("EnvType")
|
|
3979
|
+
self._EnvId = params.get("EnvId")
|
|
3980
|
+
self._VpcId = params.get("VpcId")
|
|
3981
|
+
self._SubNetIds = params.get("SubNetIds")
|
|
3982
|
+
self._Source = params.get("Source")
|
|
3983
|
+
self._Channel = params.get("Channel")
|
|
3984
|
+
memeber_set = set(params.keys())
|
|
3985
|
+
for name, value in vars(self).items():
|
|
3986
|
+
property_name = name[1:]
|
|
3987
|
+
if property_name in memeber_set:
|
|
3988
|
+
memeber_set.remove(property_name)
|
|
3989
|
+
if len(memeber_set) > 0:
|
|
3990
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3991
|
+
|
|
3992
|
+
|
|
3993
|
+
|
|
3994
|
+
class InitializeCloudRunResourceResponse(AbstractModel):
|
|
3995
|
+
r"""InitializeCloudRunResource返回参数结构体
|
|
3996
|
+
|
|
3997
|
+
"""
|
|
3998
|
+
|
|
3999
|
+
def __init__(self):
|
|
4000
|
+
r"""
|
|
4001
|
+
:param _EnvId: <p>环境Id</p>
|
|
4002
|
+
:type EnvId: str
|
|
4003
|
+
:param _TranId: <p>后付费订单号</p>
|
|
4004
|
+
:type TranId: str
|
|
4005
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4006
|
+
:type RequestId: str
|
|
4007
|
+
"""
|
|
4008
|
+
self._EnvId = None
|
|
4009
|
+
self._TranId = None
|
|
4010
|
+
self._RequestId = None
|
|
4011
|
+
|
|
4012
|
+
@property
|
|
4013
|
+
def EnvId(self):
|
|
4014
|
+
r"""<p>环境Id</p>
|
|
4015
|
+
:rtype: str
|
|
4016
|
+
"""
|
|
4017
|
+
return self._EnvId
|
|
4018
|
+
|
|
4019
|
+
@EnvId.setter
|
|
4020
|
+
def EnvId(self, EnvId):
|
|
4021
|
+
self._EnvId = EnvId
|
|
4022
|
+
|
|
4023
|
+
@property
|
|
4024
|
+
def TranId(self):
|
|
4025
|
+
r"""<p>后付费订单号</p>
|
|
4026
|
+
:rtype: str
|
|
4027
|
+
"""
|
|
4028
|
+
return self._TranId
|
|
4029
|
+
|
|
4030
|
+
@TranId.setter
|
|
4031
|
+
def TranId(self, TranId):
|
|
4032
|
+
self._TranId = TranId
|
|
4033
|
+
|
|
4034
|
+
@property
|
|
4035
|
+
def RequestId(self):
|
|
4036
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4037
|
+
:rtype: str
|
|
4038
|
+
"""
|
|
4039
|
+
return self._RequestId
|
|
4040
|
+
|
|
4041
|
+
@RequestId.setter
|
|
4042
|
+
def RequestId(self, RequestId):
|
|
4043
|
+
self._RequestId = RequestId
|
|
4044
|
+
|
|
4045
|
+
|
|
4046
|
+
def _deserialize(self, params):
|
|
4047
|
+
self._EnvId = params.get("EnvId")
|
|
4048
|
+
self._TranId = params.get("TranId")
|
|
4049
|
+
self._RequestId = params.get("RequestId")
|
|
4050
|
+
|
|
4051
|
+
|
|
3883
4052
|
class LogObject(AbstractModel):
|
|
3884
4053
|
r"""CLS日志单条信息
|
|
3885
4054
|
|
|
@@ -348,6 +348,29 @@ class TcbrClient(AbstractClient):
|
|
|
348
348
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
349
|
|
|
350
350
|
|
|
351
|
+
def InitializeCloudRunResource(self, request):
|
|
352
|
+
r"""创建云托管环境,并开通资源。
|
|
353
|
+
|
|
354
|
+
:param request: Request instance for InitializeCloudRunResource.
|
|
355
|
+
:type request: :class:`tencentcloud.tcbr.v20220217.models.InitializeCloudRunResourceRequest`
|
|
356
|
+
:rtype: :class:`tencentcloud.tcbr.v20220217.models.InitializeCloudRunResourceResponse`
|
|
357
|
+
|
|
358
|
+
"""
|
|
359
|
+
try:
|
|
360
|
+
params = request._serialize()
|
|
361
|
+
headers = request.headers
|
|
362
|
+
body = self.call("InitializeCloudRunResource", params, headers=headers)
|
|
363
|
+
response = json.loads(body)
|
|
364
|
+
model = models.InitializeCloudRunResourceResponse()
|
|
365
|
+
model._deserialize(response["Response"])
|
|
366
|
+
return model
|
|
367
|
+
except Exception as e:
|
|
368
|
+
if isinstance(e, TencentCloudSDKException):
|
|
369
|
+
raise
|
|
370
|
+
else:
|
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
|
+
|
|
373
|
+
|
|
351
374
|
def OperateServerManage(self, request):
|
|
352
375
|
r"""操作发布单
|
|
353
376
|
|
|
@@ -277,6 +277,24 @@ class TcbrClient(AbstractClient):
|
|
|
277
277
|
|
|
278
278
|
return await self.call_and_deserialize(**kwargs)
|
|
279
279
|
|
|
280
|
+
async def InitializeCloudRunResource(
|
|
281
|
+
self,
|
|
282
|
+
request: models.InitializeCloudRunResourceRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.InitializeCloudRunResourceResponse:
|
|
285
|
+
"""
|
|
286
|
+
创建云托管环境,并开通资源。
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "InitializeCloudRunResource"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.InitializeCloudRunResourceResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
280
298
|
async def OperateServerManage(
|
|
281
299
|
self,
|
|
282
300
|
request: models.OperateServerManageRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcbr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.201
|
|
4
4
|
Summary: Tencent Cloud Tcbr 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.201
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.201
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.155
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|