tencentcloud-sdk-python-tcb 3.1.207__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_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/setup.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/v20180608/models.py +521 -0
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcb-3.1.213/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcb-3.1.207/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/README.rst +0 -0
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/v20180608/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/v20180608/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/v20180608/tcb_client.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud/tcb/v20180608/tcb_client_async.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.207 → tencentcloud_sdk_python_tcb-3.1.213}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.207 → 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.
|
|
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.
|
|
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.
|
|
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',
|
|
@@ -398,6 +398,104 @@ class AIModelStatus(AbstractModel):
|
|
|
398
398
|
|
|
399
399
|
|
|
400
400
|
|
|
401
|
+
class AccessSourceSetting(AbstractModel):
|
|
402
|
+
r"""域名访问来源配置
|
|
403
|
+
|
|
404
|
+
"""
|
|
405
|
+
|
|
406
|
+
def __init__(self):
|
|
407
|
+
r"""
|
|
408
|
+
:param _SourceType: <p>来源类型</p><p>枚举值:</p><ul><li>PUBLIC: 公网请求</li><li>VPC: VPC 请求</li><li>WOA: 办公网请求</li></ul>
|
|
409
|
+
:type SourceType: str
|
|
410
|
+
:param _Action: <p>来源请求状态</p><p>枚举值:</p><ul><li>OPEN: 放通</li><li>CLOSE: 拦截</li></ul>
|
|
411
|
+
:type Action: str
|
|
412
|
+
:param _WOAAuth: <p>是否开启 WOA 鉴权</p><p>枚举值:</p><ul><li>FORCE_AUTH: 强制鉴权</li><li>NO_AUTH: 不鉴权</li></ul><p>默认值:NO_AUTH</p><p>仅 SourceType = WOA 且 Action= OPEN 时生效</p>
|
|
413
|
+
:type WOAAuth: str
|
|
414
|
+
:param _AuthToken: <p>WOA 鉴权需要的 Token</p><p>仅 Source Type=WOA 且 WOAAuth = FORCE_AUTH 时必填</p>
|
|
415
|
+
:type AuthToken: str
|
|
416
|
+
:param _VPCWhiteList: <p>VPC 白名单信息</p><p>仅 SourceType = VPC 时有效; 不传表示不修改</p>
|
|
417
|
+
:type VPCWhiteList: :class:`tencentcloud.tcb.v20180608.models.VPCWhiteListConfig`
|
|
418
|
+
"""
|
|
419
|
+
self._SourceType = None
|
|
420
|
+
self._Action = None
|
|
421
|
+
self._WOAAuth = None
|
|
422
|
+
self._AuthToken = None
|
|
423
|
+
self._VPCWhiteList = None
|
|
424
|
+
|
|
425
|
+
@property
|
|
426
|
+
def SourceType(self):
|
|
427
|
+
r"""<p>来源类型</p><p>枚举值:</p><ul><li>PUBLIC: 公网请求</li><li>VPC: VPC 请求</li><li>WOA: 办公网请求</li></ul>
|
|
428
|
+
:rtype: str
|
|
429
|
+
"""
|
|
430
|
+
return self._SourceType
|
|
431
|
+
|
|
432
|
+
@SourceType.setter
|
|
433
|
+
def SourceType(self, SourceType):
|
|
434
|
+
self._SourceType = SourceType
|
|
435
|
+
|
|
436
|
+
@property
|
|
437
|
+
def Action(self):
|
|
438
|
+
r"""<p>来源请求状态</p><p>枚举值:</p><ul><li>OPEN: 放通</li><li>CLOSE: 拦截</li></ul>
|
|
439
|
+
:rtype: str
|
|
440
|
+
"""
|
|
441
|
+
return self._Action
|
|
442
|
+
|
|
443
|
+
@Action.setter
|
|
444
|
+
def Action(self, Action):
|
|
445
|
+
self._Action = Action
|
|
446
|
+
|
|
447
|
+
@property
|
|
448
|
+
def WOAAuth(self):
|
|
449
|
+
r"""<p>是否开启 WOA 鉴权</p><p>枚举值:</p><ul><li>FORCE_AUTH: 强制鉴权</li><li>NO_AUTH: 不鉴权</li></ul><p>默认值:NO_AUTH</p><p>仅 SourceType = WOA 且 Action= OPEN 时生效</p>
|
|
450
|
+
:rtype: str
|
|
451
|
+
"""
|
|
452
|
+
return self._WOAAuth
|
|
453
|
+
|
|
454
|
+
@WOAAuth.setter
|
|
455
|
+
def WOAAuth(self, WOAAuth):
|
|
456
|
+
self._WOAAuth = WOAAuth
|
|
457
|
+
|
|
458
|
+
@property
|
|
459
|
+
def AuthToken(self):
|
|
460
|
+
r"""<p>WOA 鉴权需要的 Token</p><p>仅 Source Type=WOA 且 WOAAuth = FORCE_AUTH 时必填</p>
|
|
461
|
+
:rtype: str
|
|
462
|
+
"""
|
|
463
|
+
return self._AuthToken
|
|
464
|
+
|
|
465
|
+
@AuthToken.setter
|
|
466
|
+
def AuthToken(self, AuthToken):
|
|
467
|
+
self._AuthToken = AuthToken
|
|
468
|
+
|
|
469
|
+
@property
|
|
470
|
+
def VPCWhiteList(self):
|
|
471
|
+
r"""<p>VPC 白名单信息</p><p>仅 SourceType = VPC 时有效; 不传表示不修改</p>
|
|
472
|
+
:rtype: :class:`tencentcloud.tcb.v20180608.models.VPCWhiteListConfig`
|
|
473
|
+
"""
|
|
474
|
+
return self._VPCWhiteList
|
|
475
|
+
|
|
476
|
+
@VPCWhiteList.setter
|
|
477
|
+
def VPCWhiteList(self, VPCWhiteList):
|
|
478
|
+
self._VPCWhiteList = VPCWhiteList
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
def _deserialize(self, params):
|
|
482
|
+
self._SourceType = params.get("SourceType")
|
|
483
|
+
self._Action = params.get("Action")
|
|
484
|
+
self._WOAAuth = params.get("WOAAuth")
|
|
485
|
+
self._AuthToken = params.get("AuthToken")
|
|
486
|
+
if params.get("VPCWhiteList") is not None:
|
|
487
|
+
self._VPCWhiteList = VPCWhiteListConfig()
|
|
488
|
+
self._VPCWhiteList._deserialize(params.get("VPCWhiteList"))
|
|
489
|
+
memeber_set = set(params.keys())
|
|
490
|
+
for name, value in vars(self).items():
|
|
491
|
+
property_name = name[1:]
|
|
492
|
+
if property_name in memeber_set:
|
|
493
|
+
memeber_set.remove(property_name)
|
|
494
|
+
if len(memeber_set) > 0:
|
|
495
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
401
499
|
class AddProviderRequest(AbstractModel):
|
|
402
500
|
r"""AddProvider请求参数结构体
|
|
403
501
|
|
|
@@ -12292,6 +12390,36 @@ class DescribeEnvAccessControlRequest(AbstractModel):
|
|
|
12292
12390
|
|
|
12293
12391
|
"""
|
|
12294
12392
|
|
|
12393
|
+
def __init__(self):
|
|
12394
|
+
r"""
|
|
12395
|
+
:param _EnvId: <p>环境id</p>
|
|
12396
|
+
:type EnvId: str
|
|
12397
|
+
"""
|
|
12398
|
+
self._EnvId = None
|
|
12399
|
+
|
|
12400
|
+
@property
|
|
12401
|
+
def EnvId(self):
|
|
12402
|
+
r"""<p>环境id</p>
|
|
12403
|
+
:rtype: str
|
|
12404
|
+
"""
|
|
12405
|
+
return self._EnvId
|
|
12406
|
+
|
|
12407
|
+
@EnvId.setter
|
|
12408
|
+
def EnvId(self, EnvId):
|
|
12409
|
+
self._EnvId = EnvId
|
|
12410
|
+
|
|
12411
|
+
|
|
12412
|
+
def _deserialize(self, params):
|
|
12413
|
+
self._EnvId = params.get("EnvId")
|
|
12414
|
+
memeber_set = set(params.keys())
|
|
12415
|
+
for name, value in vars(self).items():
|
|
12416
|
+
property_name = name[1:]
|
|
12417
|
+
if property_name in memeber_set:
|
|
12418
|
+
memeber_set.remove(property_name)
|
|
12419
|
+
if len(memeber_set) > 0:
|
|
12420
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12421
|
+
|
|
12422
|
+
|
|
12295
12423
|
|
|
12296
12424
|
class DescribeEnvAccessControlResponse(AbstractModel):
|
|
12297
12425
|
r"""DescribeEnvAccessControl返回参数结构体
|
|
@@ -12300,11 +12428,25 @@ class DescribeEnvAccessControlResponse(AbstractModel):
|
|
|
12300
12428
|
|
|
12301
12429
|
def __init__(self):
|
|
12302
12430
|
r"""
|
|
12431
|
+
:param _Current: <p>修改之后,当前的生效的配置</p>
|
|
12432
|
+
:type Current: list of AccessSourceSetting
|
|
12303
12433
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12304
12434
|
:type RequestId: str
|
|
12305
12435
|
"""
|
|
12436
|
+
self._Current = None
|
|
12306
12437
|
self._RequestId = None
|
|
12307
12438
|
|
|
12439
|
+
@property
|
|
12440
|
+
def Current(self):
|
|
12441
|
+
r"""<p>修改之后,当前的生效的配置</p>
|
|
12442
|
+
:rtype: list of AccessSourceSetting
|
|
12443
|
+
"""
|
|
12444
|
+
return self._Current
|
|
12445
|
+
|
|
12446
|
+
@Current.setter
|
|
12447
|
+
def Current(self, Current):
|
|
12448
|
+
self._Current = Current
|
|
12449
|
+
|
|
12308
12450
|
@property
|
|
12309
12451
|
def RequestId(self):
|
|
12310
12452
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -12318,6 +12460,12 @@ class DescribeEnvAccessControlResponse(AbstractModel):
|
|
|
12318
12460
|
|
|
12319
12461
|
|
|
12320
12462
|
def _deserialize(self, params):
|
|
12463
|
+
if params.get("Current") is not None:
|
|
12464
|
+
self._Current = []
|
|
12465
|
+
for item in params.get("Current"):
|
|
12466
|
+
obj = AccessSourceSetting()
|
|
12467
|
+
obj._deserialize(item)
|
|
12468
|
+
self._Current.append(obj)
|
|
12321
12469
|
self._RequestId = params.get("RequestId")
|
|
12322
12470
|
|
|
12323
12471
|
|
|
@@ -17030,6 +17178,61 @@ class DropIndex(AbstractModel):
|
|
|
17030
17178
|
|
|
17031
17179
|
|
|
17032
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
|
+
|
|
17033
17236
|
class EmailProviderConfig(AbstractModel):
|
|
17034
17237
|
r"""邮箱登录配置
|
|
17035
17238
|
|
|
@@ -18231,6 +18434,49 @@ class EnvPkgCreditsUsage(AbstractModel):
|
|
|
18231
18434
|
|
|
18232
18435
|
|
|
18233
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
|
+
|
|
18234
18480
|
class ExecutePGSqlRequest(AbstractModel):
|
|
18235
18481
|
r"""ExecutePGSql请求参数结构体
|
|
18236
18482
|
|
|
@@ -19552,6 +19798,9 @@ class GetFunctionResponse(AbstractModel):
|
|
|
19552
19798
|
:type VpcConfig: :class:`tencentcloud.tcb.v20180608.models.FunctionVpcConfig`
|
|
19553
19799
|
:param _UseGpu: <p>是否使用 GPU ("TRUE"/"FALSE")</p>
|
|
19554
19800
|
:type UseGpu: str
|
|
19801
|
+
:param _Environment: <p>环境变量</p>
|
|
19802
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19803
|
+
:type Environment: :class:`tencentcloud.tcb.v20180608.models.EnvironmentOut`
|
|
19555
19804
|
:param _CodeResult: <p>代码校验结果 ("success"/"failed")</p>
|
|
19556
19805
|
:type CodeResult: str
|
|
19557
19806
|
:param _ErrNo: <p>代码错误码</p>
|
|
@@ -19564,11 +19813,18 @@ class GetFunctionResponse(AbstractModel):
|
|
|
19564
19813
|
:type InstallDependency: str
|
|
19565
19814
|
:param _Status: <p>函数状态 ("Active", "Inactive" 等)</p>
|
|
19566
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
|
|
19567
19820
|
:param _FunctionId: <p>函数 ID</p>
|
|
19568
19821
|
:type FunctionId: str
|
|
19569
19822
|
:param _Tags: <p>标签列表</p>
|
|
19570
19823
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19571
19824
|
:type Tags: list of Tag
|
|
19825
|
+
:param _EipConfig: <p>EIP 配置</p>
|
|
19826
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19827
|
+
:type EipConfig: :class:`tencentcloud.tcb.v20180608.models.EipOutConfig`
|
|
19572
19828
|
:param _Type: <p>函数类型 ("HTTP" 或 "Event")</p>
|
|
19573
19829
|
:type Type: str
|
|
19574
19830
|
:param _L5Enable: <p>是否启用 L5 ("TRUE"/"FALSE")</p>
|
|
@@ -19606,14 +19862,18 @@ class GetFunctionResponse(AbstractModel):
|
|
|
19606
19862
|
self._FunctionName = None
|
|
19607
19863
|
self._VpcConfig = None
|
|
19608
19864
|
self._UseGpu = None
|
|
19865
|
+
self._Environment = None
|
|
19609
19866
|
self._CodeResult = None
|
|
19610
19867
|
self._ErrNo = None
|
|
19611
19868
|
self._Namespace = None
|
|
19612
19869
|
self._Role = None
|
|
19613
19870
|
self._InstallDependency = None
|
|
19614
19871
|
self._Status = None
|
|
19872
|
+
self._ClsLogsetId = None
|
|
19873
|
+
self._ClsTopicId = None
|
|
19615
19874
|
self._FunctionId = None
|
|
19616
19875
|
self._Tags = None
|
|
19876
|
+
self._EipConfig = None
|
|
19617
19877
|
self._Type = None
|
|
19618
19878
|
self._L5Enable = None
|
|
19619
19879
|
self._AddTime = None
|
|
@@ -19771,6 +20031,18 @@ class GetFunctionResponse(AbstractModel):
|
|
|
19771
20031
|
def UseGpu(self, UseGpu):
|
|
19772
20032
|
self._UseGpu = UseGpu
|
|
19773
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
|
+
|
|
19774
20046
|
@property
|
|
19775
20047
|
def CodeResult(self):
|
|
19776
20048
|
r"""<p>代码校验结果 ("success"/"failed")</p>
|
|
@@ -19837,6 +20109,28 @@ class GetFunctionResponse(AbstractModel):
|
|
|
19837
20109
|
def Status(self, Status):
|
|
19838
20110
|
self._Status = Status
|
|
19839
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
|
+
|
|
19840
20134
|
@property
|
|
19841
20135
|
def FunctionId(self):
|
|
19842
20136
|
r"""<p>函数 ID</p>
|
|
@@ -19860,6 +20154,18 @@ class GetFunctionResponse(AbstractModel):
|
|
|
19860
20154
|
def Tags(self, Tags):
|
|
19861
20155
|
self._Tags = Tags
|
|
19862
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
|
+
|
|
19863
20169
|
@property
|
|
19864
20170
|
def Type(self):
|
|
19865
20171
|
r"""<p>函数类型 ("HTTP" 或 "Event")</p>
|
|
@@ -20004,12 +20310,17 @@ class GetFunctionResponse(AbstractModel):
|
|
|
20004
20310
|
self._VpcConfig = FunctionVpcConfig()
|
|
20005
20311
|
self._VpcConfig._deserialize(params.get("VpcConfig"))
|
|
20006
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"))
|
|
20007
20316
|
self._CodeResult = params.get("CodeResult")
|
|
20008
20317
|
self._ErrNo = params.get("ErrNo")
|
|
20009
20318
|
self._Namespace = params.get("Namespace")
|
|
20010
20319
|
self._Role = params.get("Role")
|
|
20011
20320
|
self._InstallDependency = params.get("InstallDependency")
|
|
20012
20321
|
self._Status = params.get("Status")
|
|
20322
|
+
self._ClsLogsetId = params.get("ClsLogsetId")
|
|
20323
|
+
self._ClsTopicId = params.get("ClsTopicId")
|
|
20013
20324
|
self._FunctionId = params.get("FunctionId")
|
|
20014
20325
|
if params.get("Tags") is not None:
|
|
20015
20326
|
self._Tags = []
|
|
@@ -20017,6 +20328,9 @@ class GetFunctionResponse(AbstractModel):
|
|
|
20017
20328
|
obj = Tag()
|
|
20018
20329
|
obj._deserialize(item)
|
|
20019
20330
|
self._Tags.append(obj)
|
|
20331
|
+
if params.get("EipConfig") is not None:
|
|
20332
|
+
self._EipConfig = EipOutConfig()
|
|
20333
|
+
self._EipConfig._deserialize(params.get("EipConfig"))
|
|
20020
20334
|
self._Type = params.get("Type")
|
|
20021
20335
|
self._L5Enable = params.get("L5Enable")
|
|
20022
20336
|
self._AddTime = params.get("AddTime")
|
|
@@ -25003,6 +25317,56 @@ class ModifyEnvAccessControlRequest(AbstractModel):
|
|
|
25003
25317
|
|
|
25004
25318
|
"""
|
|
25005
25319
|
|
|
25320
|
+
def __init__(self):
|
|
25321
|
+
r"""
|
|
25322
|
+
:param _EnvId: <p>环境id</p>
|
|
25323
|
+
:type EnvId: str
|
|
25324
|
+
:param _Sources: <p>本次要设置的来源集合</p><p>入参限制:SourceType = PUBLIC 时,标识操作公网开关<br>SourceType = VPC 时,通过配置 VPCWhiteList,开启/关闭 VPC 白名单<br>SourceType = WOA 时,通过配置 WOAAuth,开启/关闭鉴权校验,开启鉴权时,AuthToken 字段为填</p>
|
|
25325
|
+
:type Sources: list of AccessSourceSetting
|
|
25326
|
+
"""
|
|
25327
|
+
self._EnvId = None
|
|
25328
|
+
self._Sources = None
|
|
25329
|
+
|
|
25330
|
+
@property
|
|
25331
|
+
def EnvId(self):
|
|
25332
|
+
r"""<p>环境id</p>
|
|
25333
|
+
:rtype: str
|
|
25334
|
+
"""
|
|
25335
|
+
return self._EnvId
|
|
25336
|
+
|
|
25337
|
+
@EnvId.setter
|
|
25338
|
+
def EnvId(self, EnvId):
|
|
25339
|
+
self._EnvId = EnvId
|
|
25340
|
+
|
|
25341
|
+
@property
|
|
25342
|
+
def Sources(self):
|
|
25343
|
+
r"""<p>本次要设置的来源集合</p><p>入参限制:SourceType = PUBLIC 时,标识操作公网开关<br>SourceType = VPC 时,通过配置 VPCWhiteList,开启/关闭 VPC 白名单<br>SourceType = WOA 时,通过配置 WOAAuth,开启/关闭鉴权校验,开启鉴权时,AuthToken 字段为填</p>
|
|
25344
|
+
:rtype: list of AccessSourceSetting
|
|
25345
|
+
"""
|
|
25346
|
+
return self._Sources
|
|
25347
|
+
|
|
25348
|
+
@Sources.setter
|
|
25349
|
+
def Sources(self, Sources):
|
|
25350
|
+
self._Sources = Sources
|
|
25351
|
+
|
|
25352
|
+
|
|
25353
|
+
def _deserialize(self, params):
|
|
25354
|
+
self._EnvId = params.get("EnvId")
|
|
25355
|
+
if params.get("Sources") is not None:
|
|
25356
|
+
self._Sources = []
|
|
25357
|
+
for item in params.get("Sources"):
|
|
25358
|
+
obj = AccessSourceSetting()
|
|
25359
|
+
obj._deserialize(item)
|
|
25360
|
+
self._Sources.append(obj)
|
|
25361
|
+
memeber_set = set(params.keys())
|
|
25362
|
+
for name, value in vars(self).items():
|
|
25363
|
+
property_name = name[1:]
|
|
25364
|
+
if property_name in memeber_set:
|
|
25365
|
+
memeber_set.remove(property_name)
|
|
25366
|
+
if len(memeber_set) > 0:
|
|
25367
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25368
|
+
|
|
25369
|
+
|
|
25006
25370
|
|
|
25007
25371
|
class ModifyEnvAccessControlResponse(AbstractModel):
|
|
25008
25372
|
r"""ModifyEnvAccessControl返回参数结构体
|
|
@@ -25011,11 +25375,39 @@ class ModifyEnvAccessControlResponse(AbstractModel):
|
|
|
25011
25375
|
|
|
25012
25376
|
def __init__(self):
|
|
25013
25377
|
r"""
|
|
25378
|
+
:param _AffectedRows: <p>本次请求影响的权限数量</p>
|
|
25379
|
+
:type AffectedRows: int
|
|
25380
|
+
:param _Current: <p>修改之后,当前的生效的配置</p><p>SourceType = PUBLIC 表示公网链路访问配置<br>SourceType = VPC 表示 VPC 链路访问配置<br>SourceType = WOA 表示办公网链路访问配置</p>
|
|
25381
|
+
:type Current: list of AccessSourceSetting
|
|
25014
25382
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25015
25383
|
:type RequestId: str
|
|
25016
25384
|
"""
|
|
25385
|
+
self._AffectedRows = None
|
|
25386
|
+
self._Current = None
|
|
25017
25387
|
self._RequestId = None
|
|
25018
25388
|
|
|
25389
|
+
@property
|
|
25390
|
+
def AffectedRows(self):
|
|
25391
|
+
r"""<p>本次请求影响的权限数量</p>
|
|
25392
|
+
:rtype: int
|
|
25393
|
+
"""
|
|
25394
|
+
return self._AffectedRows
|
|
25395
|
+
|
|
25396
|
+
@AffectedRows.setter
|
|
25397
|
+
def AffectedRows(self, AffectedRows):
|
|
25398
|
+
self._AffectedRows = AffectedRows
|
|
25399
|
+
|
|
25400
|
+
@property
|
|
25401
|
+
def Current(self):
|
|
25402
|
+
r"""<p>修改之后,当前的生效的配置</p><p>SourceType = PUBLIC 表示公网链路访问配置<br>SourceType = VPC 表示 VPC 链路访问配置<br>SourceType = WOA 表示办公网链路访问配置</p>
|
|
25403
|
+
:rtype: list of AccessSourceSetting
|
|
25404
|
+
"""
|
|
25405
|
+
return self._Current
|
|
25406
|
+
|
|
25407
|
+
@Current.setter
|
|
25408
|
+
def Current(self, Current):
|
|
25409
|
+
self._Current = Current
|
|
25410
|
+
|
|
25019
25411
|
@property
|
|
25020
25412
|
def RequestId(self):
|
|
25021
25413
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -25029,6 +25421,13 @@ class ModifyEnvAccessControlResponse(AbstractModel):
|
|
|
25029
25421
|
|
|
25030
25422
|
|
|
25031
25423
|
def _deserialize(self, params):
|
|
25424
|
+
self._AffectedRows = params.get("AffectedRows")
|
|
25425
|
+
if params.get("Current") is not None:
|
|
25426
|
+
self._Current = []
|
|
25427
|
+
for item in params.get("Current"):
|
|
25428
|
+
obj = AccessSourceSetting()
|
|
25429
|
+
obj._deserialize(item)
|
|
25430
|
+
self._Current.append(obj)
|
|
25032
25431
|
self._RequestId = params.get("RequestId")
|
|
25033
25432
|
|
|
25034
25433
|
|
|
@@ -25580,6 +25979,8 @@ class ModifyPGInstanceSpecRequest(AbstractModel):
|
|
|
25580
25979
|
:type SwitchEndTime: str
|
|
25581
25980
|
:param _DryRun: <p>预检</p>
|
|
25582
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
|
|
25583
25984
|
"""
|
|
25584
25985
|
self._EnvId = None
|
|
25585
25986
|
self._Cpu = None
|
|
@@ -25589,6 +25990,7 @@ class ModifyPGInstanceSpecRequest(AbstractModel):
|
|
|
25589
25990
|
self._SwitchStartTime = None
|
|
25590
25991
|
self._SwitchEndTime = None
|
|
25591
25992
|
self._DryRun = None
|
|
25993
|
+
self._CpuCores = None
|
|
25592
25994
|
|
|
25593
25995
|
@property
|
|
25594
25996
|
def EnvId(self):
|
|
@@ -25678,6 +26080,17 @@ class ModifyPGInstanceSpecRequest(AbstractModel):
|
|
|
25678
26080
|
def DryRun(self, DryRun):
|
|
25679
26081
|
self._DryRun = DryRun
|
|
25680
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
|
+
|
|
25681
26094
|
|
|
25682
26095
|
def _deserialize(self, params):
|
|
25683
26096
|
self._EnvId = params.get("EnvId")
|
|
@@ -25688,6 +26101,7 @@ class ModifyPGInstanceSpecRequest(AbstractModel):
|
|
|
25688
26101
|
self._SwitchStartTime = params.get("SwitchStartTime")
|
|
25689
26102
|
self._SwitchEndTime = params.get("SwitchEndTime")
|
|
25690
26103
|
self._DryRun = params.get("DryRun")
|
|
26104
|
+
self._CpuCores = params.get("CpuCores")
|
|
25691
26105
|
memeber_set = set(params.keys())
|
|
25692
26106
|
for name, value in vars(self).items():
|
|
25693
26107
|
property_name = name[1:]
|
|
@@ -33695,6 +34109,113 @@ class User(AbstractModel):
|
|
|
33695
34109
|
|
|
33696
34110
|
|
|
33697
34111
|
|
|
34112
|
+
class VPCInfo(AbstractModel):
|
|
34113
|
+
r"""VPC信息
|
|
34114
|
+
|
|
34115
|
+
"""
|
|
34116
|
+
|
|
34117
|
+
def __init__(self):
|
|
34118
|
+
r"""
|
|
34119
|
+
:param _UniqVpcId: <p>VPC 唯一 ID</p><p>参数格式:vpc-xxxxx</p>
|
|
34120
|
+
:type UniqVpcId: str
|
|
34121
|
+
:param _Region: <p>VPC 所在地域</p><p>参数格式:ap-xxxx</p>
|
|
34122
|
+
:type Region: str
|
|
34123
|
+
"""
|
|
34124
|
+
self._UniqVpcId = None
|
|
34125
|
+
self._Region = None
|
|
34126
|
+
|
|
34127
|
+
@property
|
|
34128
|
+
def UniqVpcId(self):
|
|
34129
|
+
r"""<p>VPC 唯一 ID</p><p>参数格式:vpc-xxxxx</p>
|
|
34130
|
+
:rtype: str
|
|
34131
|
+
"""
|
|
34132
|
+
return self._UniqVpcId
|
|
34133
|
+
|
|
34134
|
+
@UniqVpcId.setter
|
|
34135
|
+
def UniqVpcId(self, UniqVpcId):
|
|
34136
|
+
self._UniqVpcId = UniqVpcId
|
|
34137
|
+
|
|
34138
|
+
@property
|
|
34139
|
+
def Region(self):
|
|
34140
|
+
r"""<p>VPC 所在地域</p><p>参数格式:ap-xxxx</p>
|
|
34141
|
+
:rtype: str
|
|
34142
|
+
"""
|
|
34143
|
+
return self._Region
|
|
34144
|
+
|
|
34145
|
+
@Region.setter
|
|
34146
|
+
def Region(self, Region):
|
|
34147
|
+
self._Region = Region
|
|
34148
|
+
|
|
34149
|
+
|
|
34150
|
+
def _deserialize(self, params):
|
|
34151
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
|
34152
|
+
self._Region = params.get("Region")
|
|
34153
|
+
memeber_set = set(params.keys())
|
|
34154
|
+
for name, value in vars(self).items():
|
|
34155
|
+
property_name = name[1:]
|
|
34156
|
+
if property_name in memeber_set:
|
|
34157
|
+
memeber_set.remove(property_name)
|
|
34158
|
+
if len(memeber_set) > 0:
|
|
34159
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34160
|
+
|
|
34161
|
+
|
|
34162
|
+
|
|
34163
|
+
class VPCWhiteListConfig(AbstractModel):
|
|
34164
|
+
r"""VPC 白名单列表配置
|
|
34165
|
+
|
|
34166
|
+
"""
|
|
34167
|
+
|
|
34168
|
+
def __init__(self):
|
|
34169
|
+
r"""
|
|
34170
|
+
:param _Action: <p>VPC 白名单配置状态</p><p>枚举值:</p><ul><li>OPEN: 开启白名单,VPCs 必填,覆盖写入</li><li>CLOSE: 关闭白名单,VPCs 填入时,覆盖写入</li></ul>
|
|
34171
|
+
:type Action: str
|
|
34172
|
+
:param _VPCs: <p>VPC 信息</p>
|
|
34173
|
+
:type VPCs: list of VPCInfo
|
|
34174
|
+
"""
|
|
34175
|
+
self._Action = None
|
|
34176
|
+
self._VPCs = None
|
|
34177
|
+
|
|
34178
|
+
@property
|
|
34179
|
+
def Action(self):
|
|
34180
|
+
r"""<p>VPC 白名单配置状态</p><p>枚举值:</p><ul><li>OPEN: 开启白名单,VPCs 必填,覆盖写入</li><li>CLOSE: 关闭白名单,VPCs 填入时,覆盖写入</li></ul>
|
|
34181
|
+
:rtype: str
|
|
34182
|
+
"""
|
|
34183
|
+
return self._Action
|
|
34184
|
+
|
|
34185
|
+
@Action.setter
|
|
34186
|
+
def Action(self, Action):
|
|
34187
|
+
self._Action = Action
|
|
34188
|
+
|
|
34189
|
+
@property
|
|
34190
|
+
def VPCs(self):
|
|
34191
|
+
r"""<p>VPC 信息</p>
|
|
34192
|
+
:rtype: list of VPCInfo
|
|
34193
|
+
"""
|
|
34194
|
+
return self._VPCs
|
|
34195
|
+
|
|
34196
|
+
@VPCs.setter
|
|
34197
|
+
def VPCs(self, VPCs):
|
|
34198
|
+
self._VPCs = VPCs
|
|
34199
|
+
|
|
34200
|
+
|
|
34201
|
+
def _deserialize(self, params):
|
|
34202
|
+
self._Action = params.get("Action")
|
|
34203
|
+
if params.get("VPCs") is not None:
|
|
34204
|
+
self._VPCs = []
|
|
34205
|
+
for item in params.get("VPCs"):
|
|
34206
|
+
obj = VPCInfo()
|
|
34207
|
+
obj._deserialize(item)
|
|
34208
|
+
self._VPCs.append(obj)
|
|
34209
|
+
memeber_set = set(params.keys())
|
|
34210
|
+
for name, value in vars(self).items():
|
|
34211
|
+
property_name = name[1:]
|
|
34212
|
+
if property_name in memeber_set:
|
|
34213
|
+
memeber_set.remove(property_name)
|
|
34214
|
+
if len(memeber_set) > 0:
|
|
34215
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34216
|
+
|
|
34217
|
+
|
|
34218
|
+
|
|
33698
34219
|
class ValueDetail(AbstractModel):
|
|
33699
34220
|
r"""资源用量明细结构
|
|
33700
34221
|
|
|
@@ -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.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.
|
|
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.207
|
|
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
|