tencentcloud-sdk-python-tcb 3.1.96__tar.gz → 3.1.97__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.96 → tencentcloud_sdk_python_tcb-3.1.97}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/setup.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/tencentcloud/tcb/v20180608/models.py +48 -60
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcb-3.1.97/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcb-3.1.96/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/README.rst +0 -0
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/tencentcloud/tcb/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/tencentcloud/tcb/v20180608/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/tencentcloud/tcb/v20180608/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/tencentcloud/tcb/v20180608/tcb_client.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/tencentcloud/tcb/v20180608/tcb_client_async.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.96 → tencentcloud_sdk_python_tcb-3.1.97}/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.97
|
|
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.97
|
|
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.97,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcb SDK for Python',
|
|
@@ -2551,42 +2551,24 @@ class CreateEnvRequest(AbstractModel):
|
|
|
2551
2551
|
|
|
2552
2552
|
def __init__(self):
|
|
2553
2553
|
r"""
|
|
2554
|
-
:param _Alias:
|
|
2555
|
-
|
|
2556
|
-
### 格式要求
|
|
2557
|
-
- 可选字符: 小写字母(a~z)、数字、减号(-)
|
|
2558
|
-
- 不能以 减号(-) 开头或结尾
|
|
2559
|
-
- 不能有连个连续的 减号(-)
|
|
2560
|
-
- 长度不超过20位
|
|
2561
|
-
示例值:cloud
|
|
2554
|
+
:param _Alias: <p>环境别名。</p><h3 id=".E6.A0.BC.E5.BC.8F.E8.A6.81.E6.B1.82">格式要求</h3><ul><li>可选字符: 小写字母(a~z)、数字、减号(-)</li><li>不能以 减号(-) 开头或结尾</li><li>不能有连个连续的 减号(-)</li><li>长度不超过20位<br>示例值:cloud</li></ul>
|
|
2562
2555
|
:type Alias: str
|
|
2563
|
-
:param _PackageId:
|
|
2564
|
-
对于云开发环境套餐,可通过 [DescribeBaasPackageList](https://cloud.tencent.com/document/product/876/78167) 接口获取,对应其出参的PackageName。
|
|
2556
|
+
:param _PackageId: <p>云开发环境套餐Id。<br>对于云开发环境套餐,可通过 <a href="https://cloud.tencent.com/document/product/876/78167">DescribeBaasPackageList</a> 接口获取,对应其出参的PackageName。</p>
|
|
2565
2557
|
:type PackageId: str
|
|
2566
|
-
:param _Resources:
|
|
2567
|
-
可取值以及含义:
|
|
2568
|
-
- flexdb : 表示文档型数据库
|
|
2569
|
-
- storage : 表示云存储
|
|
2570
|
-
- function : 表示云函数
|
|
2571
|
-
|
|
2572
|
-
**该字段不可为空**
|
|
2558
|
+
:param _Resources: <p>资源类型。代表新购环境时需要发货哪些资源。<br>可取值以及含义:</p><ul><li>flexdb : 表示文档型数据库</li><li>storage : 表示云存储</li><li>function : 表示云函数</li><li>postgresql:表示postgresql数据库</li></ul><p><strong>该字段不可为空</strong></p>
|
|
2573
2559
|
:type Resources: list of str
|
|
2574
|
-
:param _Period:
|
|
2575
|
-
默认值为1,即1个月。
|
|
2560
|
+
:param _Period: <p>购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24。<br>默认值为1,即1个月。</p>
|
|
2576
2561
|
:type Period: int
|
|
2577
|
-
:param _AutoVoucher:
|
|
2562
|
+
:param _AutoVoucher: <p>是否自动选择代金券支付。</p>
|
|
2578
2563
|
:type AutoVoucher: bool
|
|
2579
|
-
:param _Tags:
|
|
2580
|
-
可取值通过接口 [tag:DescribeTags](https://cloud.tencent.com/document/product/651/35316) 可获取到。
|
|
2581
|
-
不传或为空则默认不打任何标签。
|
|
2564
|
+
:param _Tags: <p>环境标签。<br>可取值通过接口 <a href="https://cloud.tencent.com/document/product/651/35316">tag:DescribeTags</a> 可获取到。<br>不传或为空则默认不打任何标签。</p>
|
|
2582
2565
|
:type Tags: list of Tag
|
|
2583
|
-
:param _RenewFlag:
|
|
2584
|
-
- NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
|
|
2585
|
-
- NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费(需要手动续费,可通过接口 [RenewEnv](https://cloud.tencent.com/document/product/876/128590) 来续费)
|
|
2586
|
-
|
|
2587
|
-
默认取值:NOTIFY_AND_MANUAL_RENEW。
|
|
2588
|
-
若该参数指定为NOTIFY_AND_AUTO_RENEW(即:自动续费),在账户余额充足的情况下,实例到期后将按月自动续费;但如果账户余额不足,将无法自动续费。请留意腾讯云短信和邮件通知。
|
|
2566
|
+
:param _RenewFlag: <p>自动续费标识。取值范围:</p><ul><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费(需要手动续费,可通过接口 <a href="https://cloud.tencent.com/document/product/876/128590">RenewEnv</a> 来续费)</li></ul><p>默认取值:NOTIFY_AND_MANUAL_RENEW。<br>若该参数指定为NOTIFY_AND_AUTO_RENEW(即:自动续费),在账户余额充足的情况下,实例到期后将按月自动续费;但如果账户余额不足,将无法自动续费。请留意腾讯云短信和邮件通知。</p>
|
|
2589
2567
|
:type RenewFlag: str
|
|
2568
|
+
:param _ExternalStorage: <p>云存储外部存储源。<br>表示该环境下不再自动分配云存储cos桶,而是由指定的bucket作为该环境的云存储介质。</p><p>仅当 Resources 中包含storage时有效。</p>
|
|
2569
|
+
:type ExternalStorage: :class:`tencentcloud.tcb.v20180608.models.ExternalStorage`
|
|
2570
|
+
:param _EnableOverrun: <p>开启或关闭 超限转按量。 可取值: TRUE/FALSE (字符串类型) 非法制、不传、为空 则不变更该字段。</p>
|
|
2571
|
+
:type EnableOverrun: str
|
|
2590
2572
|
"""
|
|
2591
2573
|
self._Alias = None
|
|
2592
2574
|
self._PackageId = None
|
|
@@ -2595,17 +2577,12 @@ class CreateEnvRequest(AbstractModel):
|
|
|
2595
2577
|
self._AutoVoucher = None
|
|
2596
2578
|
self._Tags = None
|
|
2597
2579
|
self._RenewFlag = None
|
|
2580
|
+
self._ExternalStorage = None
|
|
2581
|
+
self._EnableOverrun = None
|
|
2598
2582
|
|
|
2599
2583
|
@property
|
|
2600
2584
|
def Alias(self):
|
|
2601
|
-
r"""
|
|
2602
|
-
|
|
2603
|
-
### 格式要求
|
|
2604
|
-
- 可选字符: 小写字母(a~z)、数字、减号(-)
|
|
2605
|
-
- 不能以 减号(-) 开头或结尾
|
|
2606
|
-
- 不能有连个连续的 减号(-)
|
|
2607
|
-
- 长度不超过20位
|
|
2608
|
-
示例值:cloud
|
|
2585
|
+
r"""<p>环境别名。</p><h3 id=".E6.A0.BC.E5.BC.8F.E8.A6.81.E6.B1.82">格式要求</h3><ul><li>可选字符: 小写字母(a~z)、数字、减号(-)</li><li>不能以 减号(-) 开头或结尾</li><li>不能有连个连续的 减号(-)</li><li>长度不超过20位<br>示例值:cloud</li></ul>
|
|
2609
2586
|
:rtype: str
|
|
2610
2587
|
"""
|
|
2611
2588
|
return self._Alias
|
|
@@ -2616,8 +2593,7 @@ class CreateEnvRequest(AbstractModel):
|
|
|
2616
2593
|
|
|
2617
2594
|
@property
|
|
2618
2595
|
def PackageId(self):
|
|
2619
|
-
r"""
|
|
2620
|
-
对于云开发环境套餐,可通过 [DescribeBaasPackageList](https://cloud.tencent.com/document/product/876/78167) 接口获取,对应其出参的PackageName。
|
|
2596
|
+
r"""<p>云开发环境套餐Id。<br>对于云开发环境套餐,可通过 <a href="https://cloud.tencent.com/document/product/876/78167">DescribeBaasPackageList</a> 接口获取,对应其出参的PackageName。</p>
|
|
2621
2597
|
:rtype: str
|
|
2622
2598
|
"""
|
|
2623
2599
|
return self._PackageId
|
|
@@ -2628,13 +2604,7 @@ class CreateEnvRequest(AbstractModel):
|
|
|
2628
2604
|
|
|
2629
2605
|
@property
|
|
2630
2606
|
def Resources(self):
|
|
2631
|
-
r"""
|
|
2632
|
-
可取值以及含义:
|
|
2633
|
-
- flexdb : 表示文档型数据库
|
|
2634
|
-
- storage : 表示云存储
|
|
2635
|
-
- function : 表示云函数
|
|
2636
|
-
|
|
2637
|
-
**该字段不可为空**
|
|
2607
|
+
r"""<p>资源类型。代表新购环境时需要发货哪些资源。<br>可取值以及含义:</p><ul><li>flexdb : 表示文档型数据库</li><li>storage : 表示云存储</li><li>function : 表示云函数</li><li>postgresql:表示postgresql数据库</li></ul><p><strong>该字段不可为空</strong></p>
|
|
2638
2608
|
:rtype: list of str
|
|
2639
2609
|
"""
|
|
2640
2610
|
return self._Resources
|
|
@@ -2645,8 +2615,7 @@ class CreateEnvRequest(AbstractModel):
|
|
|
2645
2615
|
|
|
2646
2616
|
@property
|
|
2647
2617
|
def Period(self):
|
|
2648
|
-
r"""
|
|
2649
|
-
默认值为1,即1个月。
|
|
2618
|
+
r"""<p>购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24。<br>默认值为1,即1个月。</p>
|
|
2650
2619
|
:rtype: int
|
|
2651
2620
|
"""
|
|
2652
2621
|
return self._Period
|
|
@@ -2657,7 +2626,7 @@ class CreateEnvRequest(AbstractModel):
|
|
|
2657
2626
|
|
|
2658
2627
|
@property
|
|
2659
2628
|
def AutoVoucher(self):
|
|
2660
|
-
r"""
|
|
2629
|
+
r"""<p>是否自动选择代金券支付。</p>
|
|
2661
2630
|
:rtype: bool
|
|
2662
2631
|
"""
|
|
2663
2632
|
return self._AutoVoucher
|
|
@@ -2668,9 +2637,7 @@ class CreateEnvRequest(AbstractModel):
|
|
|
2668
2637
|
|
|
2669
2638
|
@property
|
|
2670
2639
|
def Tags(self):
|
|
2671
|
-
r"""
|
|
2672
|
-
可取值通过接口 [tag:DescribeTags](https://cloud.tencent.com/document/product/651/35316) 可获取到。
|
|
2673
|
-
不传或为空则默认不打任何标签。
|
|
2640
|
+
r"""<p>环境标签。<br>可取值通过接口 <a href="https://cloud.tencent.com/document/product/651/35316">tag:DescribeTags</a> 可获取到。<br>不传或为空则默认不打任何标签。</p>
|
|
2674
2641
|
:rtype: list of Tag
|
|
2675
2642
|
"""
|
|
2676
2643
|
return self._Tags
|
|
@@ -2681,12 +2648,7 @@ class CreateEnvRequest(AbstractModel):
|
|
|
2681
2648
|
|
|
2682
2649
|
@property
|
|
2683
2650
|
def RenewFlag(self):
|
|
2684
|
-
r"""
|
|
2685
|
-
- NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
|
|
2686
|
-
- NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费(需要手动续费,可通过接口 [RenewEnv](https://cloud.tencent.com/document/product/876/128590) 来续费)
|
|
2687
|
-
|
|
2688
|
-
默认取值:NOTIFY_AND_MANUAL_RENEW。
|
|
2689
|
-
若该参数指定为NOTIFY_AND_AUTO_RENEW(即:自动续费),在账户余额充足的情况下,实例到期后将按月自动续费;但如果账户余额不足,将无法自动续费。请留意腾讯云短信和邮件通知。
|
|
2651
|
+
r"""<p>自动续费标识。取值范围:</p><ul><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费(需要手动续费,可通过接口 <a href="https://cloud.tencent.com/document/product/876/128590">RenewEnv</a> 来续费)</li></ul><p>默认取值:NOTIFY_AND_MANUAL_RENEW。<br>若该参数指定为NOTIFY_AND_AUTO_RENEW(即:自动续费),在账户余额充足的情况下,实例到期后将按月自动续费;但如果账户余额不足,将无法自动续费。请留意腾讯云短信和邮件通知。</p>
|
|
2690
2652
|
:rtype: str
|
|
2691
2653
|
"""
|
|
2692
2654
|
return self._RenewFlag
|
|
@@ -2695,6 +2657,28 @@ class CreateEnvRequest(AbstractModel):
|
|
|
2695
2657
|
def RenewFlag(self, RenewFlag):
|
|
2696
2658
|
self._RenewFlag = RenewFlag
|
|
2697
2659
|
|
|
2660
|
+
@property
|
|
2661
|
+
def ExternalStorage(self):
|
|
2662
|
+
r"""<p>云存储外部存储源。<br>表示该环境下不再自动分配云存储cos桶,而是由指定的bucket作为该环境的云存储介质。</p><p>仅当 Resources 中包含storage时有效。</p>
|
|
2663
|
+
:rtype: :class:`tencentcloud.tcb.v20180608.models.ExternalStorage`
|
|
2664
|
+
"""
|
|
2665
|
+
return self._ExternalStorage
|
|
2666
|
+
|
|
2667
|
+
@ExternalStorage.setter
|
|
2668
|
+
def ExternalStorage(self, ExternalStorage):
|
|
2669
|
+
self._ExternalStorage = ExternalStorage
|
|
2670
|
+
|
|
2671
|
+
@property
|
|
2672
|
+
def EnableOverrun(self):
|
|
2673
|
+
r"""<p>开启或关闭 超限转按量。 可取值: TRUE/FALSE (字符串类型) 非法制、不传、为空 则不变更该字段。</p>
|
|
2674
|
+
:rtype: str
|
|
2675
|
+
"""
|
|
2676
|
+
return self._EnableOverrun
|
|
2677
|
+
|
|
2678
|
+
@EnableOverrun.setter
|
|
2679
|
+
def EnableOverrun(self, EnableOverrun):
|
|
2680
|
+
self._EnableOverrun = EnableOverrun
|
|
2681
|
+
|
|
2698
2682
|
|
|
2699
2683
|
def _deserialize(self, params):
|
|
2700
2684
|
self._Alias = params.get("Alias")
|
|
@@ -2709,6 +2693,10 @@ class CreateEnvRequest(AbstractModel):
|
|
|
2709
2693
|
obj._deserialize(item)
|
|
2710
2694
|
self._Tags.append(obj)
|
|
2711
2695
|
self._RenewFlag = params.get("RenewFlag")
|
|
2696
|
+
if params.get("ExternalStorage") is not None:
|
|
2697
|
+
self._ExternalStorage = ExternalStorage()
|
|
2698
|
+
self._ExternalStorage._deserialize(params.get("ExternalStorage"))
|
|
2699
|
+
self._EnableOverrun = params.get("EnableOverrun")
|
|
2712
2700
|
memeber_set = set(params.keys())
|
|
2713
2701
|
for name, value in vars(self).items():
|
|
2714
2702
|
property_name = name[1:]
|
|
@@ -2805,7 +2793,7 @@ class CreateEnvResponse(AbstractModel):
|
|
|
2805
2793
|
|
|
2806
2794
|
def __init__(self):
|
|
2807
2795
|
r"""
|
|
2808
|
-
:param _EnvId:
|
|
2796
|
+
:param _EnvId: <p>自动生成的环境ID</p>
|
|
2809
2797
|
:type EnvId: str
|
|
2810
2798
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2811
2799
|
:type RequestId: str
|
|
@@ -2815,7 +2803,7 @@ class CreateEnvResponse(AbstractModel):
|
|
|
2815
2803
|
|
|
2816
2804
|
@property
|
|
2817
2805
|
def EnvId(self):
|
|
2818
|
-
r"""
|
|
2806
|
+
r"""<p>自动生成的环境ID</p>
|
|
2819
2807
|
:rtype: str
|
|
2820
2808
|
"""
|
|
2821
2809
|
return self._EnvId
|
|
@@ -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.97
|
|
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.97
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.97
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.96
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|