tencentcloud-sdk-python-tcbr 3.1.201__tar.gz → 3.1.213__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.201 → tencentcloud_sdk_python_tcbr-3.1.213}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/setup.py +1 -1
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/tencentcloud/tcbr/v20220217/errorcodes.py +3 -0
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/tencentcloud/tcbr/v20220217/models.py +203 -0
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/tencentcloud/tcbr/v20220217/tcbr_client.py +46 -0
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/tencentcloud/tcbr/v20220217/tcbr_client_async.py +36 -0
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/tencentcloud_sdk_python_tcbr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcbr-3.1.213/tencentcloud_sdk_python_tcbr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcbr-3.1.201/tencentcloud_sdk_python_tcbr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/README.rst +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/tencentcloud/tcbr/__init__.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/tencentcloud/tcbr/v20220217/__init__.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/tencentcloud_sdk_python_tcbr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/tencentcloud_sdk_python_tcbr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.201 → tencentcloud_sdk_python_tcbr-3.1.213}/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.213
|
|
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.213
|
|
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.213,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcbr SDK for Python',
|
|
@@ -2516,6 +2516,115 @@ class DescribeServerManageTaskResponse(AbstractModel):
|
|
|
2516
2516
|
self._RequestId = params.get("RequestId")
|
|
2517
2517
|
|
|
2518
2518
|
|
|
2519
|
+
class DescribeStableIPTaskRequest(AbstractModel):
|
|
2520
|
+
r"""DescribeStableIPTask请求参数结构体
|
|
2521
|
+
|
|
2522
|
+
"""
|
|
2523
|
+
|
|
2524
|
+
def __init__(self):
|
|
2525
|
+
r"""
|
|
2526
|
+
:param _EnvId: 环境 ID
|
|
2527
|
+
:type EnvId: str
|
|
2528
|
+
:param _TaskId: 任务 ID
|
|
2529
|
+
:type TaskId: int
|
|
2530
|
+
"""
|
|
2531
|
+
self._EnvId = None
|
|
2532
|
+
self._TaskId = None
|
|
2533
|
+
|
|
2534
|
+
@property
|
|
2535
|
+
def EnvId(self):
|
|
2536
|
+
r"""环境 ID
|
|
2537
|
+
:rtype: str
|
|
2538
|
+
"""
|
|
2539
|
+
return self._EnvId
|
|
2540
|
+
|
|
2541
|
+
@EnvId.setter
|
|
2542
|
+
def EnvId(self, EnvId):
|
|
2543
|
+
self._EnvId = EnvId
|
|
2544
|
+
|
|
2545
|
+
@property
|
|
2546
|
+
def TaskId(self):
|
|
2547
|
+
r"""任务 ID
|
|
2548
|
+
:rtype: int
|
|
2549
|
+
"""
|
|
2550
|
+
return self._TaskId
|
|
2551
|
+
|
|
2552
|
+
@TaskId.setter
|
|
2553
|
+
def TaskId(self, TaskId):
|
|
2554
|
+
self._TaskId = TaskId
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
def _deserialize(self, params):
|
|
2558
|
+
self._EnvId = params.get("EnvId")
|
|
2559
|
+
self._TaskId = params.get("TaskId")
|
|
2560
|
+
memeber_set = set(params.keys())
|
|
2561
|
+
for name, value in vars(self).items():
|
|
2562
|
+
property_name = name[1:]
|
|
2563
|
+
if property_name in memeber_set:
|
|
2564
|
+
memeber_set.remove(property_name)
|
|
2565
|
+
if len(memeber_set) > 0:
|
|
2566
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
class DescribeStableIPTaskResponse(AbstractModel):
|
|
2571
|
+
r"""DescribeStableIPTask返回参数结构体
|
|
2572
|
+
|
|
2573
|
+
"""
|
|
2574
|
+
|
|
2575
|
+
def __init__(self):
|
|
2576
|
+
r"""
|
|
2577
|
+
:param _Result: success | failed | running
|
|
2578
|
+
:type Result: str
|
|
2579
|
+
:param _TaskId: 任务 ID
|
|
2580
|
+
:type TaskId: int
|
|
2581
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2582
|
+
:type RequestId: str
|
|
2583
|
+
"""
|
|
2584
|
+
self._Result = None
|
|
2585
|
+
self._TaskId = None
|
|
2586
|
+
self._RequestId = None
|
|
2587
|
+
|
|
2588
|
+
@property
|
|
2589
|
+
def Result(self):
|
|
2590
|
+
r"""success | failed | running
|
|
2591
|
+
:rtype: str
|
|
2592
|
+
"""
|
|
2593
|
+
return self._Result
|
|
2594
|
+
|
|
2595
|
+
@Result.setter
|
|
2596
|
+
def Result(self, Result):
|
|
2597
|
+
self._Result = Result
|
|
2598
|
+
|
|
2599
|
+
@property
|
|
2600
|
+
def TaskId(self):
|
|
2601
|
+
r"""任务 ID
|
|
2602
|
+
:rtype: int
|
|
2603
|
+
"""
|
|
2604
|
+
return self._TaskId
|
|
2605
|
+
|
|
2606
|
+
@TaskId.setter
|
|
2607
|
+
def TaskId(self, TaskId):
|
|
2608
|
+
self._TaskId = TaskId
|
|
2609
|
+
|
|
2610
|
+
@property
|
|
2611
|
+
def RequestId(self):
|
|
2612
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2613
|
+
:rtype: str
|
|
2614
|
+
"""
|
|
2615
|
+
return self._RequestId
|
|
2616
|
+
|
|
2617
|
+
@RequestId.setter
|
|
2618
|
+
def RequestId(self, RequestId):
|
|
2619
|
+
self._RequestId = RequestId
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
def _deserialize(self, params):
|
|
2623
|
+
self._Result = params.get("Result")
|
|
2624
|
+
self._TaskId = params.get("TaskId")
|
|
2625
|
+
self._RequestId = params.get("RequestId")
|
|
2626
|
+
|
|
2627
|
+
|
|
2519
2628
|
class DescribeVersionDetailRequest(AbstractModel):
|
|
2520
2629
|
r"""DescribeVersionDetail请求参数结构体
|
|
2521
2630
|
|
|
@@ -4360,6 +4469,100 @@ class LogServiceInfo(AbstractModel):
|
|
|
4360
4469
|
|
|
4361
4470
|
|
|
4362
4471
|
|
|
4472
|
+
class ModifyStableIPStatusRequest(AbstractModel):
|
|
4473
|
+
r"""ModifyStableIPStatus请求参数结构体
|
|
4474
|
+
|
|
4475
|
+
"""
|
|
4476
|
+
|
|
4477
|
+
def __init__(self):
|
|
4478
|
+
r"""
|
|
4479
|
+
:param _EnvId: 环境ID
|
|
4480
|
+
:type EnvId: str
|
|
4481
|
+
:param _Status: ON: 开启固定 IP;OFF: 关闭固定 IP
|
|
4482
|
+
:type Status: str
|
|
4483
|
+
"""
|
|
4484
|
+
self._EnvId = None
|
|
4485
|
+
self._Status = None
|
|
4486
|
+
|
|
4487
|
+
@property
|
|
4488
|
+
def EnvId(self):
|
|
4489
|
+
r"""环境ID
|
|
4490
|
+
:rtype: str
|
|
4491
|
+
"""
|
|
4492
|
+
return self._EnvId
|
|
4493
|
+
|
|
4494
|
+
@EnvId.setter
|
|
4495
|
+
def EnvId(self, EnvId):
|
|
4496
|
+
self._EnvId = EnvId
|
|
4497
|
+
|
|
4498
|
+
@property
|
|
4499
|
+
def Status(self):
|
|
4500
|
+
r"""ON: 开启固定 IP;OFF: 关闭固定 IP
|
|
4501
|
+
:rtype: str
|
|
4502
|
+
"""
|
|
4503
|
+
return self._Status
|
|
4504
|
+
|
|
4505
|
+
@Status.setter
|
|
4506
|
+
def Status(self, Status):
|
|
4507
|
+
self._Status = Status
|
|
4508
|
+
|
|
4509
|
+
|
|
4510
|
+
def _deserialize(self, params):
|
|
4511
|
+
self._EnvId = params.get("EnvId")
|
|
4512
|
+
self._Status = params.get("Status")
|
|
4513
|
+
memeber_set = set(params.keys())
|
|
4514
|
+
for name, value in vars(self).items():
|
|
4515
|
+
property_name = name[1:]
|
|
4516
|
+
if property_name in memeber_set:
|
|
4517
|
+
memeber_set.remove(property_name)
|
|
4518
|
+
if len(memeber_set) > 0:
|
|
4519
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4520
|
+
|
|
4521
|
+
|
|
4522
|
+
|
|
4523
|
+
class ModifyStableIPStatusResponse(AbstractModel):
|
|
4524
|
+
r"""ModifyStableIPStatus返回参数结构体
|
|
4525
|
+
|
|
4526
|
+
"""
|
|
4527
|
+
|
|
4528
|
+
def __init__(self):
|
|
4529
|
+
r"""
|
|
4530
|
+
:param _TaskId: 任务 ID
|
|
4531
|
+
:type TaskId: int
|
|
4532
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4533
|
+
:type RequestId: str
|
|
4534
|
+
"""
|
|
4535
|
+
self._TaskId = None
|
|
4536
|
+
self._RequestId = None
|
|
4537
|
+
|
|
4538
|
+
@property
|
|
4539
|
+
def TaskId(self):
|
|
4540
|
+
r"""任务 ID
|
|
4541
|
+
:rtype: int
|
|
4542
|
+
"""
|
|
4543
|
+
return self._TaskId
|
|
4544
|
+
|
|
4545
|
+
@TaskId.setter
|
|
4546
|
+
def TaskId(self, TaskId):
|
|
4547
|
+
self._TaskId = TaskId
|
|
4548
|
+
|
|
4549
|
+
@property
|
|
4550
|
+
def RequestId(self):
|
|
4551
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4552
|
+
:rtype: str
|
|
4553
|
+
"""
|
|
4554
|
+
return self._RequestId
|
|
4555
|
+
|
|
4556
|
+
@RequestId.setter
|
|
4557
|
+
def RequestId(self, RequestId):
|
|
4558
|
+
self._RequestId = RequestId
|
|
4559
|
+
|
|
4560
|
+
|
|
4561
|
+
def _deserialize(self, params):
|
|
4562
|
+
self._TaskId = params.get("TaskId")
|
|
4563
|
+
self._RequestId = params.get("RequestId")
|
|
4564
|
+
|
|
4565
|
+
|
|
4363
4566
|
class ObjectKV(AbstractModel):
|
|
4364
4567
|
r"""通用Key Value
|
|
4365
4568
|
|
|
@@ -325,6 +325,29 @@ class TcbrClient(AbstractClient):
|
|
|
325
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
326
|
|
|
327
327
|
|
|
328
|
+
def DescribeStableIPTask(self, request):
|
|
329
|
+
r"""本接口 DescribeStableIPTask 用于修改固定 IP 任务状态
|
|
330
|
+
|
|
331
|
+
:param request: Request instance for DescribeStableIPTask.
|
|
332
|
+
:type request: :class:`tencentcloud.tcbr.v20220217.models.DescribeStableIPTaskRequest`
|
|
333
|
+
:rtype: :class:`tencentcloud.tcbr.v20220217.models.DescribeStableIPTaskResponse`
|
|
334
|
+
|
|
335
|
+
"""
|
|
336
|
+
try:
|
|
337
|
+
params = request._serialize()
|
|
338
|
+
headers = request.headers
|
|
339
|
+
body = self.call("DescribeStableIPTask", params, headers=headers)
|
|
340
|
+
response = json.loads(body)
|
|
341
|
+
model = models.DescribeStableIPTaskResponse()
|
|
342
|
+
model._deserialize(response["Response"])
|
|
343
|
+
return model
|
|
344
|
+
except Exception as e:
|
|
345
|
+
if isinstance(e, TencentCloudSDKException):
|
|
346
|
+
raise
|
|
347
|
+
else:
|
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
|
+
|
|
350
|
+
|
|
328
351
|
def DescribeVersionDetail(self, request):
|
|
329
352
|
r"""查询版本详情
|
|
330
353
|
|
|
@@ -371,6 +394,29 @@ class TcbrClient(AbstractClient):
|
|
|
371
394
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
395
|
|
|
373
396
|
|
|
397
|
+
def ModifyStableIPStatus(self, request):
|
|
398
|
+
r"""本接口 ModifyStableIPStatus 用于修改固定 IP 状态
|
|
399
|
+
|
|
400
|
+
:param request: Request instance for ModifyStableIPStatus.
|
|
401
|
+
:type request: :class:`tencentcloud.tcbr.v20220217.models.ModifyStableIPStatusRequest`
|
|
402
|
+
:rtype: :class:`tencentcloud.tcbr.v20220217.models.ModifyStableIPStatusResponse`
|
|
403
|
+
|
|
404
|
+
"""
|
|
405
|
+
try:
|
|
406
|
+
params = request._serialize()
|
|
407
|
+
headers = request.headers
|
|
408
|
+
body = self.call("ModifyStableIPStatus", params, headers=headers)
|
|
409
|
+
response = json.loads(body)
|
|
410
|
+
model = models.ModifyStableIPStatusResponse()
|
|
411
|
+
model._deserialize(response["Response"])
|
|
412
|
+
return model
|
|
413
|
+
except Exception as e:
|
|
414
|
+
if isinstance(e, TencentCloudSDKException):
|
|
415
|
+
raise
|
|
416
|
+
else:
|
|
417
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
|
+
|
|
419
|
+
|
|
374
420
|
def OperateServerManage(self, request):
|
|
375
421
|
r"""操作发布单
|
|
376
422
|
|
|
@@ -259,6 +259,24 @@ class TcbrClient(AbstractClient):
|
|
|
259
259
|
|
|
260
260
|
return await self.call_and_deserialize(**kwargs)
|
|
261
261
|
|
|
262
|
+
async def DescribeStableIPTask(
|
|
263
|
+
self,
|
|
264
|
+
request: models.DescribeStableIPTaskRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.DescribeStableIPTaskResponse:
|
|
267
|
+
"""
|
|
268
|
+
本接口 DescribeStableIPTask 用于修改固定 IP 任务状态
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "DescribeStableIPTask"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.DescribeStableIPTaskResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
262
280
|
async def DescribeVersionDetail(
|
|
263
281
|
self,
|
|
264
282
|
request: models.DescribeVersionDetailRequest,
|
|
@@ -295,6 +313,24 @@ class TcbrClient(AbstractClient):
|
|
|
295
313
|
|
|
296
314
|
return await self.call_and_deserialize(**kwargs)
|
|
297
315
|
|
|
316
|
+
async def ModifyStableIPStatus(
|
|
317
|
+
self,
|
|
318
|
+
request: models.ModifyStableIPStatusRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.ModifyStableIPStatusResponse:
|
|
321
|
+
"""
|
|
322
|
+
本接口 ModifyStableIPStatus 用于修改固定 IP 状态
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "ModifyStableIPStatus"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.ModifyStableIPStatusResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
298
334
|
async def OperateServerManage(
|
|
299
335
|
self,
|
|
300
336
|
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.213
|
|
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.213
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.213
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.201
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|