tencentcloud-sdk-python-tcbr 3.1.58__tar.gz → 3.1.93__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.58 → tencentcloud_sdk_python_tcbr-3.1.93}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/setup.py +1 -1
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/tencentcloud/tcbr/v20220217/models.py +280 -32
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/tencentcloud/tcbr/v20220217/tcbr_client.py +46 -0
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/tencentcloud/tcbr/v20220217/tcbr_client_async.py +36 -0
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/tencentcloud_sdk_python_tcbr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcbr-3.1.93/tencentcloud_sdk_python_tcbr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcbr-3.1.58/tencentcloud_sdk_python_tcbr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/README.rst +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/tencentcloud/tcbr/__init__.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/tencentcloud/tcbr/v20220217/__init__.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/tencentcloud/tcbr/v20220217/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/tencentcloud_sdk_python_tcbr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/tencentcloud_sdk_python_tcbr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.58 → tencentcloud_sdk_python_tcbr-3.1.93}/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.93
|
|
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.93
|
|
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.93,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcbr SDK for Python',
|
|
@@ -5668,25 +5668,25 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5668
5668
|
|
|
5669
5669
|
def __init__(self):
|
|
5670
5670
|
r"""
|
|
5671
|
-
:param _ServerName:
|
|
5671
|
+
:param _ServerName: <p>服务名</p>
|
|
5672
5672
|
:type ServerName: str
|
|
5673
|
-
:param _DefaultDomainName:
|
|
5673
|
+
:param _DefaultDomainName: <p>默认服务域名</p>
|
|
5674
5674
|
:type DefaultDomainName: str
|
|
5675
|
-
:param _CustomDomainName:
|
|
5675
|
+
:param _CustomDomainName: <p>自定义域名</p>
|
|
5676
5676
|
:type CustomDomainName: str
|
|
5677
|
-
:param _Status:
|
|
5677
|
+
:param _Status: <p>服务状态:creating/create_failed/freezing/freeze_fail/froze/unfreezing/unfreeze_fail/normal/deleting/delete_failed/abnormal</p><p>枚举值:</p><ul><li>creating: 创建中</li><li>create_failed: 创建失败</li><li>freezing: 冻结中</li><li>freeze_fail: 冻结失败</li><li>froze: 已冻结</li><li>unfreezing: 解冻中</li><li>unfreeze_fail: 解冻失败</li><li>normal: 正常</li><li>deleting: 删除中</li><li>delete_failed: 删除失败</li><li>abnormal: 服务异常</li></ul>
|
|
5678
5678
|
:type Status: str
|
|
5679
|
-
:param _UpdateTime:
|
|
5679
|
+
:param _UpdateTime: <p>更新时间</p>
|
|
5680
5680
|
:type UpdateTime: str
|
|
5681
|
-
:param _AccessTypes:
|
|
5681
|
+
:param _AccessTypes: <p>公网访问类型</p>
|
|
5682
5682
|
:type AccessTypes: list of str
|
|
5683
|
-
:param _CustomDomainNames:
|
|
5683
|
+
:param _CustomDomainNames: <p>展示自定义域名</p>
|
|
5684
5684
|
:type CustomDomainNames: list of str
|
|
5685
|
-
:param _ServerType:
|
|
5685
|
+
:param _ServerType: <p>服务类型: function 云函数2.0;container 容器服务</p>
|
|
5686
5686
|
:type ServerType: str
|
|
5687
|
-
:param _TrafficType:
|
|
5687
|
+
:param _TrafficType: <p>流量类型,目前只有 FLOW</p>
|
|
5688
5688
|
:type TrafficType: str
|
|
5689
|
-
:param _CreateTime:
|
|
5689
|
+
:param _CreateTime: <p>创建时间</p>
|
|
5690
5690
|
:type CreateTime: str
|
|
5691
5691
|
"""
|
|
5692
5692
|
self._ServerName = None
|
|
@@ -5702,7 +5702,7 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5702
5702
|
|
|
5703
5703
|
@property
|
|
5704
5704
|
def ServerName(self):
|
|
5705
|
-
r"""
|
|
5705
|
+
r"""<p>服务名</p>
|
|
5706
5706
|
:rtype: str
|
|
5707
5707
|
"""
|
|
5708
5708
|
return self._ServerName
|
|
@@ -5713,7 +5713,7 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5713
5713
|
|
|
5714
5714
|
@property
|
|
5715
5715
|
def DefaultDomainName(self):
|
|
5716
|
-
r"""
|
|
5716
|
+
r"""<p>默认服务域名</p>
|
|
5717
5717
|
:rtype: str
|
|
5718
5718
|
"""
|
|
5719
5719
|
return self._DefaultDomainName
|
|
@@ -5724,7 +5724,7 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5724
5724
|
|
|
5725
5725
|
@property
|
|
5726
5726
|
def CustomDomainName(self):
|
|
5727
|
-
r"""
|
|
5727
|
+
r"""<p>自定义域名</p>
|
|
5728
5728
|
:rtype: str
|
|
5729
5729
|
"""
|
|
5730
5730
|
return self._CustomDomainName
|
|
@@ -5735,7 +5735,7 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5735
5735
|
|
|
5736
5736
|
@property
|
|
5737
5737
|
def Status(self):
|
|
5738
|
-
r"""
|
|
5738
|
+
r"""<p>服务状态:creating/create_failed/freezing/freeze_fail/froze/unfreezing/unfreeze_fail/normal/deleting/delete_failed/abnormal</p><p>枚举值:</p><ul><li>creating: 创建中</li><li>create_failed: 创建失败</li><li>freezing: 冻结中</li><li>freeze_fail: 冻结失败</li><li>froze: 已冻结</li><li>unfreezing: 解冻中</li><li>unfreeze_fail: 解冻失败</li><li>normal: 正常</li><li>deleting: 删除中</li><li>delete_failed: 删除失败</li><li>abnormal: 服务异常</li></ul>
|
|
5739
5739
|
:rtype: str
|
|
5740
5740
|
"""
|
|
5741
5741
|
return self._Status
|
|
@@ -5746,7 +5746,7 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5746
5746
|
|
|
5747
5747
|
@property
|
|
5748
5748
|
def UpdateTime(self):
|
|
5749
|
-
r"""
|
|
5749
|
+
r"""<p>更新时间</p>
|
|
5750
5750
|
:rtype: str
|
|
5751
5751
|
"""
|
|
5752
5752
|
return self._UpdateTime
|
|
@@ -5757,7 +5757,7 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5757
5757
|
|
|
5758
5758
|
@property
|
|
5759
5759
|
def AccessTypes(self):
|
|
5760
|
-
r"""
|
|
5760
|
+
r"""<p>公网访问类型</p>
|
|
5761
5761
|
:rtype: list of str
|
|
5762
5762
|
"""
|
|
5763
5763
|
return self._AccessTypes
|
|
@@ -5768,7 +5768,7 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5768
5768
|
|
|
5769
5769
|
@property
|
|
5770
5770
|
def CustomDomainNames(self):
|
|
5771
|
-
r"""
|
|
5771
|
+
r"""<p>展示自定义域名</p>
|
|
5772
5772
|
:rtype: list of str
|
|
5773
5773
|
"""
|
|
5774
5774
|
return self._CustomDomainNames
|
|
@@ -5779,7 +5779,7 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5779
5779
|
|
|
5780
5780
|
@property
|
|
5781
5781
|
def ServerType(self):
|
|
5782
|
-
r"""
|
|
5782
|
+
r"""<p>服务类型: function 云函数2.0;container 容器服务</p>
|
|
5783
5783
|
:rtype: str
|
|
5784
5784
|
"""
|
|
5785
5785
|
return self._ServerType
|
|
@@ -5790,7 +5790,7 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5790
5790
|
|
|
5791
5791
|
@property
|
|
5792
5792
|
def TrafficType(self):
|
|
5793
|
-
r"""
|
|
5793
|
+
r"""<p>流量类型,目前只有 FLOW</p>
|
|
5794
5794
|
:rtype: str
|
|
5795
5795
|
"""
|
|
5796
5796
|
return self._TrafficType
|
|
@@ -5801,7 +5801,7 @@ class ServerBaseInfo(AbstractModel):
|
|
|
5801
5801
|
|
|
5802
5802
|
@property
|
|
5803
5803
|
def CreateTime(self):
|
|
5804
|
-
r"""
|
|
5804
|
+
r"""<p>创建时间</p>
|
|
5805
5805
|
:rtype: str
|
|
5806
5806
|
"""
|
|
5807
5807
|
return self._CreateTime
|
|
@@ -6164,6 +6164,115 @@ class SimpleVersion(AbstractModel):
|
|
|
6164
6164
|
|
|
6165
6165
|
|
|
6166
6166
|
|
|
6167
|
+
class StartVersionInstanceRequest(AbstractModel):
|
|
6168
|
+
r"""StartVersionInstance请求参数结构体
|
|
6169
|
+
|
|
6170
|
+
"""
|
|
6171
|
+
|
|
6172
|
+
def __init__(self):
|
|
6173
|
+
r"""
|
|
6174
|
+
:param _EnvId: 环境Id
|
|
6175
|
+
:type EnvId: str
|
|
6176
|
+
:param _ServerName: 服务名
|
|
6177
|
+
:type ServerName: str
|
|
6178
|
+
:param _VersionName: 版本名
|
|
6179
|
+
:type VersionName: str
|
|
6180
|
+
"""
|
|
6181
|
+
self._EnvId = None
|
|
6182
|
+
self._ServerName = None
|
|
6183
|
+
self._VersionName = None
|
|
6184
|
+
|
|
6185
|
+
@property
|
|
6186
|
+
def EnvId(self):
|
|
6187
|
+
r"""环境Id
|
|
6188
|
+
:rtype: str
|
|
6189
|
+
"""
|
|
6190
|
+
return self._EnvId
|
|
6191
|
+
|
|
6192
|
+
@EnvId.setter
|
|
6193
|
+
def EnvId(self, EnvId):
|
|
6194
|
+
self._EnvId = EnvId
|
|
6195
|
+
|
|
6196
|
+
@property
|
|
6197
|
+
def ServerName(self):
|
|
6198
|
+
r"""服务名
|
|
6199
|
+
:rtype: str
|
|
6200
|
+
"""
|
|
6201
|
+
return self._ServerName
|
|
6202
|
+
|
|
6203
|
+
@ServerName.setter
|
|
6204
|
+
def ServerName(self, ServerName):
|
|
6205
|
+
self._ServerName = ServerName
|
|
6206
|
+
|
|
6207
|
+
@property
|
|
6208
|
+
def VersionName(self):
|
|
6209
|
+
r"""版本名
|
|
6210
|
+
:rtype: str
|
|
6211
|
+
"""
|
|
6212
|
+
return self._VersionName
|
|
6213
|
+
|
|
6214
|
+
@VersionName.setter
|
|
6215
|
+
def VersionName(self, VersionName):
|
|
6216
|
+
self._VersionName = VersionName
|
|
6217
|
+
|
|
6218
|
+
|
|
6219
|
+
def _deserialize(self, params):
|
|
6220
|
+
self._EnvId = params.get("EnvId")
|
|
6221
|
+
self._ServerName = params.get("ServerName")
|
|
6222
|
+
self._VersionName = params.get("VersionName")
|
|
6223
|
+
memeber_set = set(params.keys())
|
|
6224
|
+
for name, value in vars(self).items():
|
|
6225
|
+
property_name = name[1:]
|
|
6226
|
+
if property_name in memeber_set:
|
|
6227
|
+
memeber_set.remove(property_name)
|
|
6228
|
+
if len(memeber_set) > 0:
|
|
6229
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6230
|
+
|
|
6231
|
+
|
|
6232
|
+
|
|
6233
|
+
class StartVersionInstanceResponse(AbstractModel):
|
|
6234
|
+
r"""StartVersionInstance返回参数结构体
|
|
6235
|
+
|
|
6236
|
+
"""
|
|
6237
|
+
|
|
6238
|
+
def __init__(self):
|
|
6239
|
+
r"""
|
|
6240
|
+
:param _InstanceName: pod名
|
|
6241
|
+
:type InstanceName: str
|
|
6242
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6243
|
+
:type RequestId: str
|
|
6244
|
+
"""
|
|
6245
|
+
self._InstanceName = None
|
|
6246
|
+
self._RequestId = None
|
|
6247
|
+
|
|
6248
|
+
@property
|
|
6249
|
+
def InstanceName(self):
|
|
6250
|
+
r"""pod名
|
|
6251
|
+
:rtype: str
|
|
6252
|
+
"""
|
|
6253
|
+
return self._InstanceName
|
|
6254
|
+
|
|
6255
|
+
@InstanceName.setter
|
|
6256
|
+
def InstanceName(self, InstanceName):
|
|
6257
|
+
self._InstanceName = InstanceName
|
|
6258
|
+
|
|
6259
|
+
@property
|
|
6260
|
+
def RequestId(self):
|
|
6261
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6262
|
+
:rtype: str
|
|
6263
|
+
"""
|
|
6264
|
+
return self._RequestId
|
|
6265
|
+
|
|
6266
|
+
@RequestId.setter
|
|
6267
|
+
def RequestId(self, RequestId):
|
|
6268
|
+
self._RequestId = RequestId
|
|
6269
|
+
|
|
6270
|
+
|
|
6271
|
+
def _deserialize(self, params):
|
|
6272
|
+
self._InstanceName = params.get("InstanceName")
|
|
6273
|
+
self._RequestId = params.get("RequestId")
|
|
6274
|
+
|
|
6275
|
+
|
|
6167
6276
|
class StaticStorageInfo(AbstractModel):
|
|
6168
6277
|
r"""静态CDN资源信息
|
|
6169
6278
|
|
|
@@ -6260,6 +6369,100 @@ class StaticStorageInfo(AbstractModel):
|
|
|
6260
6369
|
|
|
6261
6370
|
|
|
6262
6371
|
|
|
6372
|
+
class StopVersionInstanceRequest(AbstractModel):
|
|
6373
|
+
r"""StopVersionInstance请求参数结构体
|
|
6374
|
+
|
|
6375
|
+
"""
|
|
6376
|
+
|
|
6377
|
+
def __init__(self):
|
|
6378
|
+
r"""
|
|
6379
|
+
:param _EnvId: 环境Id
|
|
6380
|
+
:type EnvId: str
|
|
6381
|
+
:param _ServerName: 服务名
|
|
6382
|
+
:type ServerName: str
|
|
6383
|
+
:param _InstanceName: 实例名
|
|
6384
|
+
:type InstanceName: str
|
|
6385
|
+
"""
|
|
6386
|
+
self._EnvId = None
|
|
6387
|
+
self._ServerName = None
|
|
6388
|
+
self._InstanceName = None
|
|
6389
|
+
|
|
6390
|
+
@property
|
|
6391
|
+
def EnvId(self):
|
|
6392
|
+
r"""环境Id
|
|
6393
|
+
:rtype: str
|
|
6394
|
+
"""
|
|
6395
|
+
return self._EnvId
|
|
6396
|
+
|
|
6397
|
+
@EnvId.setter
|
|
6398
|
+
def EnvId(self, EnvId):
|
|
6399
|
+
self._EnvId = EnvId
|
|
6400
|
+
|
|
6401
|
+
@property
|
|
6402
|
+
def ServerName(self):
|
|
6403
|
+
r"""服务名
|
|
6404
|
+
:rtype: str
|
|
6405
|
+
"""
|
|
6406
|
+
return self._ServerName
|
|
6407
|
+
|
|
6408
|
+
@ServerName.setter
|
|
6409
|
+
def ServerName(self, ServerName):
|
|
6410
|
+
self._ServerName = ServerName
|
|
6411
|
+
|
|
6412
|
+
@property
|
|
6413
|
+
def InstanceName(self):
|
|
6414
|
+
r"""实例名
|
|
6415
|
+
:rtype: str
|
|
6416
|
+
"""
|
|
6417
|
+
return self._InstanceName
|
|
6418
|
+
|
|
6419
|
+
@InstanceName.setter
|
|
6420
|
+
def InstanceName(self, InstanceName):
|
|
6421
|
+
self._InstanceName = InstanceName
|
|
6422
|
+
|
|
6423
|
+
|
|
6424
|
+
def _deserialize(self, params):
|
|
6425
|
+
self._EnvId = params.get("EnvId")
|
|
6426
|
+
self._ServerName = params.get("ServerName")
|
|
6427
|
+
self._InstanceName = params.get("InstanceName")
|
|
6428
|
+
memeber_set = set(params.keys())
|
|
6429
|
+
for name, value in vars(self).items():
|
|
6430
|
+
property_name = name[1:]
|
|
6431
|
+
if property_name in memeber_set:
|
|
6432
|
+
memeber_set.remove(property_name)
|
|
6433
|
+
if len(memeber_set) > 0:
|
|
6434
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6435
|
+
|
|
6436
|
+
|
|
6437
|
+
|
|
6438
|
+
class StopVersionInstanceResponse(AbstractModel):
|
|
6439
|
+
r"""StopVersionInstance返回参数结构体
|
|
6440
|
+
|
|
6441
|
+
"""
|
|
6442
|
+
|
|
6443
|
+
def __init__(self):
|
|
6444
|
+
r"""
|
|
6445
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6446
|
+
:type RequestId: str
|
|
6447
|
+
"""
|
|
6448
|
+
self._RequestId = None
|
|
6449
|
+
|
|
6450
|
+
@property
|
|
6451
|
+
def RequestId(self):
|
|
6452
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6453
|
+
:rtype: str
|
|
6454
|
+
"""
|
|
6455
|
+
return self._RequestId
|
|
6456
|
+
|
|
6457
|
+
@RequestId.setter
|
|
6458
|
+
def RequestId(self, RequestId):
|
|
6459
|
+
self._RequestId = RequestId
|
|
6460
|
+
|
|
6461
|
+
|
|
6462
|
+
def _deserialize(self, params):
|
|
6463
|
+
self._RequestId = params.get("RequestId")
|
|
6464
|
+
|
|
6465
|
+
|
|
6263
6466
|
class StorageInfo(AbstractModel):
|
|
6264
6467
|
r"""StorageInfo 资源信息
|
|
6265
6468
|
|
|
@@ -7491,18 +7694,24 @@ class VolumeConf(AbstractModel):
|
|
|
7491
7694
|
|
|
7492
7695
|
def __init__(self):
|
|
7493
7696
|
r"""
|
|
7494
|
-
:param _Type:
|
|
7697
|
+
:param _Type: <p>存储类型</p>
|
|
7495
7698
|
:type Type: str
|
|
7496
|
-
:param _BucketName:
|
|
7699
|
+
:param _BucketName: <p>对象存储桶名称</p>
|
|
7497
7700
|
:type BucketName: str
|
|
7498
|
-
:param _Endpoint:
|
|
7701
|
+
:param _Endpoint: <p>存储连接地址</p>
|
|
7499
7702
|
:type Endpoint: str
|
|
7500
|
-
:param _KeyID:
|
|
7703
|
+
:param _KeyID: <p>存储连接用户密码</p>
|
|
7501
7704
|
:type KeyID: str
|
|
7502
|
-
:param _DstPath:
|
|
7705
|
+
:param _DstPath: <p>存储挂载目的目录</p>
|
|
7503
7706
|
:type DstPath: str
|
|
7504
|
-
:param _SrcPath:
|
|
7707
|
+
:param _SrcPath: <p>存储挂载源目录</p>
|
|
7505
7708
|
:type SrcPath: str
|
|
7709
|
+
:param _MountIP: <p>cfs 实例ip</p>
|
|
7710
|
+
:type MountIP: str
|
|
7711
|
+
:param _ReadOnly: <p>默认读写</p>
|
|
7712
|
+
:type ReadOnly: bool
|
|
7713
|
+
:param _InstanceId: <p>CFS 实例 ID</p>
|
|
7714
|
+
:type InstanceId: str
|
|
7506
7715
|
"""
|
|
7507
7716
|
self._Type = None
|
|
7508
7717
|
self._BucketName = None
|
|
@@ -7510,10 +7719,13 @@ class VolumeConf(AbstractModel):
|
|
|
7510
7719
|
self._KeyID = None
|
|
7511
7720
|
self._DstPath = None
|
|
7512
7721
|
self._SrcPath = None
|
|
7722
|
+
self._MountIP = None
|
|
7723
|
+
self._ReadOnly = None
|
|
7724
|
+
self._InstanceId = None
|
|
7513
7725
|
|
|
7514
7726
|
@property
|
|
7515
7727
|
def Type(self):
|
|
7516
|
-
r"""
|
|
7728
|
+
r"""<p>存储类型</p>
|
|
7517
7729
|
:rtype: str
|
|
7518
7730
|
"""
|
|
7519
7731
|
return self._Type
|
|
@@ -7524,7 +7736,7 @@ class VolumeConf(AbstractModel):
|
|
|
7524
7736
|
|
|
7525
7737
|
@property
|
|
7526
7738
|
def BucketName(self):
|
|
7527
|
-
r"""
|
|
7739
|
+
r"""<p>对象存储桶名称</p>
|
|
7528
7740
|
:rtype: str
|
|
7529
7741
|
"""
|
|
7530
7742
|
return self._BucketName
|
|
@@ -7535,7 +7747,7 @@ class VolumeConf(AbstractModel):
|
|
|
7535
7747
|
|
|
7536
7748
|
@property
|
|
7537
7749
|
def Endpoint(self):
|
|
7538
|
-
r"""
|
|
7750
|
+
r"""<p>存储连接地址</p>
|
|
7539
7751
|
:rtype: str
|
|
7540
7752
|
"""
|
|
7541
7753
|
return self._Endpoint
|
|
@@ -7546,7 +7758,7 @@ class VolumeConf(AbstractModel):
|
|
|
7546
7758
|
|
|
7547
7759
|
@property
|
|
7548
7760
|
def KeyID(self):
|
|
7549
|
-
r"""
|
|
7761
|
+
r"""<p>存储连接用户密码</p>
|
|
7550
7762
|
:rtype: str
|
|
7551
7763
|
"""
|
|
7552
7764
|
return self._KeyID
|
|
@@ -7557,7 +7769,7 @@ class VolumeConf(AbstractModel):
|
|
|
7557
7769
|
|
|
7558
7770
|
@property
|
|
7559
7771
|
def DstPath(self):
|
|
7560
|
-
r"""
|
|
7772
|
+
r"""<p>存储挂载目的目录</p>
|
|
7561
7773
|
:rtype: str
|
|
7562
7774
|
"""
|
|
7563
7775
|
return self._DstPath
|
|
@@ -7568,7 +7780,7 @@ class VolumeConf(AbstractModel):
|
|
|
7568
7780
|
|
|
7569
7781
|
@property
|
|
7570
7782
|
def SrcPath(self):
|
|
7571
|
-
r"""
|
|
7783
|
+
r"""<p>存储挂载源目录</p>
|
|
7572
7784
|
:rtype: str
|
|
7573
7785
|
"""
|
|
7574
7786
|
return self._SrcPath
|
|
@@ -7577,6 +7789,39 @@ class VolumeConf(AbstractModel):
|
|
|
7577
7789
|
def SrcPath(self, SrcPath):
|
|
7578
7790
|
self._SrcPath = SrcPath
|
|
7579
7791
|
|
|
7792
|
+
@property
|
|
7793
|
+
def MountIP(self):
|
|
7794
|
+
r"""<p>cfs 实例ip</p>
|
|
7795
|
+
:rtype: str
|
|
7796
|
+
"""
|
|
7797
|
+
return self._MountIP
|
|
7798
|
+
|
|
7799
|
+
@MountIP.setter
|
|
7800
|
+
def MountIP(self, MountIP):
|
|
7801
|
+
self._MountIP = MountIP
|
|
7802
|
+
|
|
7803
|
+
@property
|
|
7804
|
+
def ReadOnly(self):
|
|
7805
|
+
r"""<p>默认读写</p>
|
|
7806
|
+
:rtype: bool
|
|
7807
|
+
"""
|
|
7808
|
+
return self._ReadOnly
|
|
7809
|
+
|
|
7810
|
+
@ReadOnly.setter
|
|
7811
|
+
def ReadOnly(self, ReadOnly):
|
|
7812
|
+
self._ReadOnly = ReadOnly
|
|
7813
|
+
|
|
7814
|
+
@property
|
|
7815
|
+
def InstanceId(self):
|
|
7816
|
+
r"""<p>CFS 实例 ID</p>
|
|
7817
|
+
:rtype: str
|
|
7818
|
+
"""
|
|
7819
|
+
return self._InstanceId
|
|
7820
|
+
|
|
7821
|
+
@InstanceId.setter
|
|
7822
|
+
def InstanceId(self, InstanceId):
|
|
7823
|
+
self._InstanceId = InstanceId
|
|
7824
|
+
|
|
7580
7825
|
|
|
7581
7826
|
def _deserialize(self, params):
|
|
7582
7827
|
self._Type = params.get("Type")
|
|
@@ -7585,6 +7830,9 @@ class VolumeConf(AbstractModel):
|
|
|
7585
7830
|
self._KeyID = params.get("KeyID")
|
|
7586
7831
|
self._DstPath = params.get("DstPath")
|
|
7587
7832
|
self._SrcPath = params.get("SrcPath")
|
|
7833
|
+
self._MountIP = params.get("MountIP")
|
|
7834
|
+
self._ReadOnly = params.get("ReadOnly")
|
|
7835
|
+
self._InstanceId = params.get("InstanceId")
|
|
7588
7836
|
memeber_set = set(params.keys())
|
|
7589
7837
|
for name, value in vars(self).items():
|
|
7590
7838
|
property_name = name[1:]
|
|
@@ -417,6 +417,52 @@ class TcbrClient(AbstractClient):
|
|
|
417
417
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
418
|
|
|
419
419
|
|
|
420
|
+
def StartVersionInstance(self, request):
|
|
421
|
+
r"""启动版本实例
|
|
422
|
+
|
|
423
|
+
:param request: Request instance for StartVersionInstance.
|
|
424
|
+
:type request: :class:`tencentcloud.tcbr.v20220217.models.StartVersionInstanceRequest`
|
|
425
|
+
:rtype: :class:`tencentcloud.tcbr.v20220217.models.StartVersionInstanceResponse`
|
|
426
|
+
|
|
427
|
+
"""
|
|
428
|
+
try:
|
|
429
|
+
params = request._serialize()
|
|
430
|
+
headers = request.headers
|
|
431
|
+
body = self.call("StartVersionInstance", params, headers=headers)
|
|
432
|
+
response = json.loads(body)
|
|
433
|
+
model = models.StartVersionInstanceResponse()
|
|
434
|
+
model._deserialize(response["Response"])
|
|
435
|
+
return model
|
|
436
|
+
except Exception as e:
|
|
437
|
+
if isinstance(e, TencentCloudSDKException):
|
|
438
|
+
raise
|
|
439
|
+
else:
|
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
def StopVersionInstance(self, request):
|
|
444
|
+
r"""停止版本实例
|
|
445
|
+
|
|
446
|
+
:param request: Request instance for StopVersionInstance.
|
|
447
|
+
:type request: :class:`tencentcloud.tcbr.v20220217.models.StopVersionInstanceRequest`
|
|
448
|
+
:rtype: :class:`tencentcloud.tcbr.v20220217.models.StopVersionInstanceResponse`
|
|
449
|
+
|
|
450
|
+
"""
|
|
451
|
+
try:
|
|
452
|
+
params = request._serialize()
|
|
453
|
+
headers = request.headers
|
|
454
|
+
body = self.call("StopVersionInstance", params, headers=headers)
|
|
455
|
+
response = json.loads(body)
|
|
456
|
+
model = models.StopVersionInstanceResponse()
|
|
457
|
+
model._deserialize(response["Response"])
|
|
458
|
+
return model
|
|
459
|
+
except Exception as e:
|
|
460
|
+
if isinstance(e, TencentCloudSDKException):
|
|
461
|
+
raise
|
|
462
|
+
else:
|
|
463
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
|
+
|
|
465
|
+
|
|
420
466
|
def SubmitServerRollback(self, request):
|
|
421
467
|
r"""回滚版本
|
|
422
468
|
|
|
@@ -331,6 +331,42 @@ class TcbrClient(AbstractClient):
|
|
|
331
331
|
|
|
332
332
|
return await self.call_and_deserialize(**kwargs)
|
|
333
333
|
|
|
334
|
+
async def StartVersionInstance(
|
|
335
|
+
self,
|
|
336
|
+
request: models.StartVersionInstanceRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.StartVersionInstanceResponse:
|
|
339
|
+
"""
|
|
340
|
+
启动版本实例
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "StartVersionInstance"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.StartVersionInstanceResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
352
|
+
async def StopVersionInstance(
|
|
353
|
+
self,
|
|
354
|
+
request: models.StopVersionInstanceRequest,
|
|
355
|
+
opts: Dict = None,
|
|
356
|
+
) -> models.StopVersionInstanceResponse:
|
|
357
|
+
"""
|
|
358
|
+
停止版本实例
|
|
359
|
+
"""
|
|
360
|
+
|
|
361
|
+
kwargs = {}
|
|
362
|
+
kwargs["action"] = "StopVersionInstance"
|
|
363
|
+
kwargs["params"] = request._serialize()
|
|
364
|
+
kwargs["resp_cls"] = models.StopVersionInstanceResponse
|
|
365
|
+
kwargs["headers"] = request.headers
|
|
366
|
+
kwargs["opts"] = opts or {}
|
|
367
|
+
|
|
368
|
+
return await self.call_and_deserialize(**kwargs)
|
|
369
|
+
|
|
334
370
|
async def SubmitServerRollback(
|
|
335
371
|
self,
|
|
336
372
|
request: models.SubmitServerRollbackRequest,
|
|
@@ -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.93
|
|
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.93
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.93
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.58
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|