tencentcloud-sdk-python-tcb 3.1.208__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/v20180608/models.py +181 -0
  5. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_tcb-3.1.213/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_tcb-3.1.208/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/README.rst +0 -0
  9. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/__init__.py +0 -0
  11. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/v20180608/__init__.py +0 -0
  12. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/v20180608/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/v20180608/tcb_client.py +0 -0
  14. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/v20180608/tcb_client_async.py +0 -0
  15. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tcb-3.1.208 → tencentcloud_sdk_python_tcb-3.1.213}/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.208
3
+ Version: 3.1.213
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.208
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-tcb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.208,<4.0.0"],
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 Tcb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.208'
17
+ __version__ = '3.1.213'
@@ -17178,6 +17178,61 @@ class DropIndex(AbstractModel):
17178
17178
 
17179
17179
 
17180
17180
 
17181
+ class EipOutConfig(AbstractModel):
17182
+ r"""同[EipOutConfig](https://document.capi.woa.com/document/product/583/17244#EipOutConfig)
17183
+
17184
+ """
17185
+
17186
+ def __init__(self):
17187
+ r"""
17188
+ :param _EipFixed: <p>是否固定 EIP</p>
17189
+ 注意:此字段可能返回 null,表示取不到有效值。
17190
+ :type EipFixed: str
17191
+ :param _Eips: <p>EIP 列表</p>
17192
+ 注意:此字段可能返回 null,表示取不到有效值。
17193
+ :type Eips: list of str
17194
+ """
17195
+ self._EipFixed = None
17196
+ self._Eips = None
17197
+
17198
+ @property
17199
+ def EipFixed(self):
17200
+ r"""<p>是否固定 EIP</p>
17201
+ 注意:此字段可能返回 null,表示取不到有效值。
17202
+ :rtype: str
17203
+ """
17204
+ return self._EipFixed
17205
+
17206
+ @EipFixed.setter
17207
+ def EipFixed(self, EipFixed):
17208
+ self._EipFixed = EipFixed
17209
+
17210
+ @property
17211
+ def Eips(self):
17212
+ r"""<p>EIP 列表</p>
17213
+ 注意:此字段可能返回 null,表示取不到有效值。
17214
+ :rtype: list of str
17215
+ """
17216
+ return self._Eips
17217
+
17218
+ @Eips.setter
17219
+ def Eips(self, Eips):
17220
+ self._Eips = Eips
17221
+
17222
+
17223
+ def _deserialize(self, params):
17224
+ self._EipFixed = params.get("EipFixed")
17225
+ self._Eips = params.get("Eips")
17226
+ memeber_set = set(params.keys())
17227
+ for name, value in vars(self).items():
17228
+ property_name = name[1:]
17229
+ if property_name in memeber_set:
17230
+ memeber_set.remove(property_name)
17231
+ if len(memeber_set) > 0:
17232
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17233
+
17234
+
17235
+
17181
17236
  class EmailProviderConfig(AbstractModel):
17182
17237
  r"""邮箱登录配置
17183
17238
 
@@ -18379,6 +18434,49 @@ class EnvPkgCreditsUsage(AbstractModel):
18379
18434
 
18380
18435
 
18381
18436
 
18437
+ class EnvironmentOut(AbstractModel):
18438
+ r"""同[Environment](https://document.capi.woa.com/document/product/583/17244#Environment)
18439
+
18440
+ """
18441
+
18442
+ def __init__(self):
18443
+ r"""
18444
+ :param _Variables: <p>环境变量数组</p>
18445
+ 注意:此字段可能返回 null,表示取不到有效值。
18446
+ :type Variables: list of Variable
18447
+ """
18448
+ self._Variables = None
18449
+
18450
+ @property
18451
+ def Variables(self):
18452
+ r"""<p>环境变量数组</p>
18453
+ 注意:此字段可能返回 null,表示取不到有效值。
18454
+ :rtype: list of Variable
18455
+ """
18456
+ return self._Variables
18457
+
18458
+ @Variables.setter
18459
+ def Variables(self, Variables):
18460
+ self._Variables = Variables
18461
+
18462
+
18463
+ def _deserialize(self, params):
18464
+ if params.get("Variables") is not None:
18465
+ self._Variables = []
18466
+ for item in params.get("Variables"):
18467
+ obj = Variable()
18468
+ obj._deserialize(item)
18469
+ self._Variables.append(obj)
18470
+ memeber_set = set(params.keys())
18471
+ for name, value in vars(self).items():
18472
+ property_name = name[1:]
18473
+ if property_name in memeber_set:
18474
+ memeber_set.remove(property_name)
18475
+ if len(memeber_set) > 0:
18476
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18477
+
18478
+
18479
+
18382
18480
  class ExecutePGSqlRequest(AbstractModel):
18383
18481
  r"""ExecutePGSql请求参数结构体
18384
18482
 
@@ -19700,6 +19798,9 @@ class GetFunctionResponse(AbstractModel):
19700
19798
  :type VpcConfig: :class:`tencentcloud.tcb.v20180608.models.FunctionVpcConfig`
19701
19799
  :param _UseGpu: <p>是否使用 GPU (&quot;TRUE&quot;/&quot;FALSE&quot;)</p>
19702
19800
  :type UseGpu: str
19801
+ :param _Environment: <p>环境变量</p>
19802
+ 注意:此字段可能返回 null,表示取不到有效值。
19803
+ :type Environment: :class:`tencentcloud.tcb.v20180608.models.EnvironmentOut`
19703
19804
  :param _CodeResult: <p>代码校验结果 (&quot;success&quot;/&quot;failed&quot;)</p>
19704
19805
  :type CodeResult: str
19705
19806
  :param _ErrNo: <p>代码错误码</p>
@@ -19712,11 +19813,18 @@ class GetFunctionResponse(AbstractModel):
19712
19813
  :type InstallDependency: str
19713
19814
  :param _Status: <p>函数状态 (&quot;Active&quot;, &quot;Inactive&quot; 等)</p>
19714
19815
  :type Status: str
19816
+ :param _ClsLogsetId: <p>CLS 日志集 ID</p>
19817
+ :type ClsLogsetId: str
19818
+ :param _ClsTopicId: <p>CLS Topic ID</p>
19819
+ :type ClsTopicId: str
19715
19820
  :param _FunctionId: <p>函数 ID</p>
19716
19821
  :type FunctionId: str
19717
19822
  :param _Tags: <p>标签列表</p>
19718
19823
  注意:此字段可能返回 null,表示取不到有效值。
19719
19824
  :type Tags: list of Tag
19825
+ :param _EipConfig: <p>EIP 配置</p>
19826
+ 注意:此字段可能返回 null,表示取不到有效值。
19827
+ :type EipConfig: :class:`tencentcloud.tcb.v20180608.models.EipOutConfig`
19720
19828
  :param _Type: <p>函数类型 (&quot;HTTP&quot; 或 &quot;Event&quot;)</p>
19721
19829
  :type Type: str
19722
19830
  :param _L5Enable: <p>是否启用 L5 (&quot;TRUE&quot;/&quot;FALSE&quot;)</p>
@@ -19754,14 +19862,18 @@ class GetFunctionResponse(AbstractModel):
19754
19862
  self._FunctionName = None
19755
19863
  self._VpcConfig = None
19756
19864
  self._UseGpu = None
19865
+ self._Environment = None
19757
19866
  self._CodeResult = None
19758
19867
  self._ErrNo = None
19759
19868
  self._Namespace = None
19760
19869
  self._Role = None
19761
19870
  self._InstallDependency = None
19762
19871
  self._Status = None
19872
+ self._ClsLogsetId = None
19873
+ self._ClsTopicId = None
19763
19874
  self._FunctionId = None
19764
19875
  self._Tags = None
19876
+ self._EipConfig = None
19765
19877
  self._Type = None
19766
19878
  self._L5Enable = None
19767
19879
  self._AddTime = None
@@ -19919,6 +20031,18 @@ class GetFunctionResponse(AbstractModel):
19919
20031
  def UseGpu(self, UseGpu):
19920
20032
  self._UseGpu = UseGpu
19921
20033
 
20034
+ @property
20035
+ def Environment(self):
20036
+ r"""<p>环境变量</p>
20037
+ 注意:此字段可能返回 null,表示取不到有效值。
20038
+ :rtype: :class:`tencentcloud.tcb.v20180608.models.EnvironmentOut`
20039
+ """
20040
+ return self._Environment
20041
+
20042
+ @Environment.setter
20043
+ def Environment(self, Environment):
20044
+ self._Environment = Environment
20045
+
19922
20046
  @property
19923
20047
  def CodeResult(self):
19924
20048
  r"""<p>代码校验结果 (&quot;success&quot;/&quot;failed&quot;)</p>
@@ -19985,6 +20109,28 @@ class GetFunctionResponse(AbstractModel):
19985
20109
  def Status(self, Status):
19986
20110
  self._Status = Status
19987
20111
 
20112
+ @property
20113
+ def ClsLogsetId(self):
20114
+ r"""<p>CLS 日志集 ID</p>
20115
+ :rtype: str
20116
+ """
20117
+ return self._ClsLogsetId
20118
+
20119
+ @ClsLogsetId.setter
20120
+ def ClsLogsetId(self, ClsLogsetId):
20121
+ self._ClsLogsetId = ClsLogsetId
20122
+
20123
+ @property
20124
+ def ClsTopicId(self):
20125
+ r"""<p>CLS Topic ID</p>
20126
+ :rtype: str
20127
+ """
20128
+ return self._ClsTopicId
20129
+
20130
+ @ClsTopicId.setter
20131
+ def ClsTopicId(self, ClsTopicId):
20132
+ self._ClsTopicId = ClsTopicId
20133
+
19988
20134
  @property
19989
20135
  def FunctionId(self):
19990
20136
  r"""<p>函数 ID</p>
@@ -20008,6 +20154,18 @@ class GetFunctionResponse(AbstractModel):
20008
20154
  def Tags(self, Tags):
20009
20155
  self._Tags = Tags
20010
20156
 
20157
+ @property
20158
+ def EipConfig(self):
20159
+ r"""<p>EIP 配置</p>
20160
+ 注意:此字段可能返回 null,表示取不到有效值。
20161
+ :rtype: :class:`tencentcloud.tcb.v20180608.models.EipOutConfig`
20162
+ """
20163
+ return self._EipConfig
20164
+
20165
+ @EipConfig.setter
20166
+ def EipConfig(self, EipConfig):
20167
+ self._EipConfig = EipConfig
20168
+
20011
20169
  @property
20012
20170
  def Type(self):
20013
20171
  r"""<p>函数类型 (&quot;HTTP&quot; 或 &quot;Event&quot;)</p>
@@ -20152,12 +20310,17 @@ class GetFunctionResponse(AbstractModel):
20152
20310
  self._VpcConfig = FunctionVpcConfig()
20153
20311
  self._VpcConfig._deserialize(params.get("VpcConfig"))
20154
20312
  self._UseGpu = params.get("UseGpu")
20313
+ if params.get("Environment") is not None:
20314
+ self._Environment = EnvironmentOut()
20315
+ self._Environment._deserialize(params.get("Environment"))
20155
20316
  self._CodeResult = params.get("CodeResult")
20156
20317
  self._ErrNo = params.get("ErrNo")
20157
20318
  self._Namespace = params.get("Namespace")
20158
20319
  self._Role = params.get("Role")
20159
20320
  self._InstallDependency = params.get("InstallDependency")
20160
20321
  self._Status = params.get("Status")
20322
+ self._ClsLogsetId = params.get("ClsLogsetId")
20323
+ self._ClsTopicId = params.get("ClsTopicId")
20161
20324
  self._FunctionId = params.get("FunctionId")
20162
20325
  if params.get("Tags") is not None:
20163
20326
  self._Tags = []
@@ -20165,6 +20328,9 @@ class GetFunctionResponse(AbstractModel):
20165
20328
  obj = Tag()
20166
20329
  obj._deserialize(item)
20167
20330
  self._Tags.append(obj)
20331
+ if params.get("EipConfig") is not None:
20332
+ self._EipConfig = EipOutConfig()
20333
+ self._EipConfig._deserialize(params.get("EipConfig"))
20168
20334
  self._Type = params.get("Type")
20169
20335
  self._L5Enable = params.get("L5Enable")
20170
20336
  self._AddTime = params.get("AddTime")
@@ -25813,6 +25979,8 @@ class ModifyPGInstanceSpecRequest(AbstractModel):
25813
25979
  :type SwitchEndTime: str
25814
25980
  :param _DryRun: <p>预检</p>
25815
25981
  :type DryRun: bool
25982
+ :param _CpuCores: <p>实例Cpu 核数</p><p>取值范围:[0.1, 1024]</p><p>单位:核数</p><p>当 CpuCores 和 Cpu 共存时,优先 CpuCores 生效</p>
25983
+ :type CpuCores: float
25816
25984
  """
25817
25985
  self._EnvId = None
25818
25986
  self._Cpu = None
@@ -25822,6 +25990,7 @@ class ModifyPGInstanceSpecRequest(AbstractModel):
25822
25990
  self._SwitchStartTime = None
25823
25991
  self._SwitchEndTime = None
25824
25992
  self._DryRun = None
25993
+ self._CpuCores = None
25825
25994
 
25826
25995
  @property
25827
25996
  def EnvId(self):
@@ -25911,6 +26080,17 @@ class ModifyPGInstanceSpecRequest(AbstractModel):
25911
26080
  def DryRun(self, DryRun):
25912
26081
  self._DryRun = DryRun
25913
26082
 
26083
+ @property
26084
+ def CpuCores(self):
26085
+ r"""<p>实例Cpu 核数</p><p>取值范围:[0.1, 1024]</p><p>单位:核数</p><p>当 CpuCores 和 Cpu 共存时,优先 CpuCores 生效</p>
26086
+ :rtype: float
26087
+ """
26088
+ return self._CpuCores
26089
+
26090
+ @CpuCores.setter
26091
+ def CpuCores(self, CpuCores):
26092
+ self._CpuCores = CpuCores
26093
+
25914
26094
 
25915
26095
  def _deserialize(self, params):
25916
26096
  self._EnvId = params.get("EnvId")
@@ -25921,6 +26101,7 @@ class ModifyPGInstanceSpecRequest(AbstractModel):
25921
26101
  self._SwitchStartTime = params.get("SwitchStartTime")
25922
26102
  self._SwitchEndTime = params.get("SwitchEndTime")
25923
26103
  self._DryRun = params.get("DryRun")
26104
+ self._CpuCores = params.get("CpuCores")
25924
26105
  memeber_set = set(params.keys())
25925
26106
  for name, value in vars(self).items():
25926
26107
  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.208
3
+ Version: 3.1.213
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.208
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.208