tencentcloud-sdk-python-tcbr 3.1.69__tar.gz → 3.1.79__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.69 → tencentcloud_sdk_python_tcbr-3.1.79}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/setup.py +1 -1
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/tencentcloud/tcbr/v20220217/models.py +203 -0
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/tencentcloud/tcbr/v20220217/tcbr_client.py +46 -0
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/tencentcloud/tcbr/v20220217/tcbr_client_async.py +36 -0
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/tencentcloud_sdk_python_tcbr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcbr-3.1.79/tencentcloud_sdk_python_tcbr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcbr-3.1.69/tencentcloud_sdk_python_tcbr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/README.rst +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/tencentcloud/tcbr/__init__.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/tencentcloud/tcbr/v20220217/__init__.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/tencentcloud/tcbr/v20220217/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/tencentcloud_sdk_python_tcbr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/tencentcloud_sdk_python_tcbr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.69 → tencentcloud_sdk_python_tcbr-3.1.79}/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.79
|
|
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.79
|
|
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.79,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcbr SDK for Python',
|
|
@@ -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
|
|
|
@@ -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.79
|
|
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.79
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.79
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.69
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|