tencentcloud-sdk-python-tcb 3.1.195__tar.gz → 3.1.196__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/tencentcloud/tcb/v20180608/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/tencentcloud/tcb/v20180608/models.py +55 -2
  6. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_tcb-3.1.196/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_tcb-3.1.195/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/README.rst +0 -0
  10. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/tencentcloud/tcb/__init__.py +0 -0
  12. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/tencentcloud/tcb/v20180608/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/tencentcloud/tcb/v20180608/tcb_client.py +0 -0
  14. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/tencentcloud/tcb/v20180608/tcb_client_async.py +0 -0
  15. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tcb-3.1.195 → tencentcloud_sdk_python_tcb-3.1.196}/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.195
3
+ Version: 3.1.196
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.195
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.196
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.195,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.196,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tcb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.195'
17
+ __version__ = '3.1.196'
@@ -50,6 +50,9 @@ FAILEDOPERATION_DATABASESCHEMAERROR = 'FailedOperation.DatabaseSchemaError'
50
50
  # 数据库sql解析异常
51
51
  FAILEDOPERATION_DATABASESQLSYNTAXERROR = 'FailedOperation.DatabaseSqlSyntaxError'
52
52
 
53
+ # 函数不在可删除的稳态
54
+ FAILEDOPERATION_DELETEFUNCTION = 'FailedOperation.DeleteFunction'
55
+
53
56
  # FailedOperation.DuplicatedData
54
57
  FAILEDOPERATION_DUPLICATEDDATA = 'FailedOperation.DuplicatedData'
55
58
 
@@ -1921,6 +1921,42 @@ class BuildContext(AbstractModel):
1921
1921
 
1922
1922
 
1923
1923
 
1924
+ class BuildRunner(AbstractModel):
1925
+ r"""构建运行配置
1926
+
1927
+ """
1928
+
1929
+ def __init__(self):
1930
+ r"""
1931
+ :param _Cpus: <p>构建服务所需 CPU 规格</p>
1932
+ :type Cpus: int
1933
+ """
1934
+ self._Cpus = None
1935
+
1936
+ @property
1937
+ def Cpus(self):
1938
+ r"""<p>构建服务所需 CPU 规格</p>
1939
+ :rtype: int
1940
+ """
1941
+ return self._Cpus
1942
+
1943
+ @Cpus.setter
1944
+ def Cpus(self, Cpus):
1945
+ self._Cpus = Cpus
1946
+
1947
+
1948
+ def _deserialize(self, params):
1949
+ self._Cpus = params.get("Cpus")
1950
+ memeber_set = set(params.keys())
1951
+ for name, value in vars(self).items():
1952
+ property_name = name[1:]
1953
+ if property_name in memeber_set:
1954
+ memeber_set.remove(property_name)
1955
+ if len(memeber_set) > 0:
1956
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1957
+
1958
+
1959
+
1924
1960
  class BuildSecret(AbstractModel):
1925
1961
  r"""构建密钥
1926
1962
 
@@ -4441,7 +4477,7 @@ class CreateCloudAppRequest(AbstractModel):
4441
4477
  :type EnvId: str
4442
4478
  :param _ServiceName: <p>服务名</p>
4443
4479
  :type ServiceName: str
4444
- :param _DeployType: <p>部署类型</p>
4480
+ :param _DeployType: <p>部署类型</p><p>枚举值:</p><ul><li>statis-hosting: 静态托管应用</li><li>custom: 自定义流水线</li></ul>
4445
4481
  :type DeployType: str
4446
4482
  :param _BuildType: <p>构建类型</p>
4447
4483
  :type BuildType: str
@@ -4475,6 +4511,8 @@ class CreateCloudAppRequest(AbstractModel):
4475
4511
  :type PreDeployCommand: str
4476
4512
  :param _PostDeployCommand: <p>后置执行命令</p>
4477
4513
  :type PostDeployCommand: str
4514
+ :param _Runner: <p>流水线运行配置</p>
4515
+ :type Runner: :class:`tencentcloud.tcb.v20180608.models.BuildRunner`
4478
4516
  """
4479
4517
  self._EnvId = None
4480
4518
  self._ServiceName = None
@@ -4495,6 +4533,7 @@ class CreateCloudAppRequest(AbstractModel):
4495
4533
  self._ClientToken = None
4496
4534
  self._PreDeployCommand = None
4497
4535
  self._PostDeployCommand = None
4536
+ self._Runner = None
4498
4537
 
4499
4538
  @property
4500
4539
  def EnvId(self):
@@ -4520,7 +4559,7 @@ class CreateCloudAppRequest(AbstractModel):
4520
4559
 
4521
4560
  @property
4522
4561
  def DeployType(self):
4523
- r"""<p>部署类型</p>
4562
+ r"""<p>部署类型</p><p>枚举值:</p><ul><li>statis-hosting: 静态托管应用</li><li>custom: 自定义流水线</li></ul>
4524
4563
  :rtype: str
4525
4564
  """
4526
4565
  return self._DeployType
@@ -4705,6 +4744,17 @@ class CreateCloudAppRequest(AbstractModel):
4705
4744
  def PostDeployCommand(self, PostDeployCommand):
4706
4745
  self._PostDeployCommand = PostDeployCommand
4707
4746
 
4747
+ @property
4748
+ def Runner(self):
4749
+ r"""<p>流水线运行配置</p>
4750
+ :rtype: :class:`tencentcloud.tcb.v20180608.models.BuildRunner`
4751
+ """
4752
+ return self._Runner
4753
+
4754
+ @Runner.setter
4755
+ def Runner(self, Runner):
4756
+ self._Runner = Runner
4757
+
4708
4758
 
4709
4759
  def _deserialize(self, params):
4710
4760
  self._EnvId = params.get("EnvId")
@@ -4759,6 +4809,9 @@ class CreateCloudAppRequest(AbstractModel):
4759
4809
  self._ClientToken = params.get("ClientToken")
4760
4810
  self._PreDeployCommand = params.get("PreDeployCommand")
4761
4811
  self._PostDeployCommand = params.get("PostDeployCommand")
4812
+ if params.get("Runner") is not None:
4813
+ self._Runner = BuildRunner()
4814
+ self._Runner._deserialize(params.get("Runner"))
4762
4815
  memeber_set = set(params.keys())
4763
4816
  for name, value in vars(self).items():
4764
4817
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcb
3
- Version: 3.1.195
3
+ Version: 3.1.196
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.195
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.196
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.196
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.195