tencentcloud-sdk-python-tcb 3.1.166__tar.gz → 3.1.171__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.166 → tencentcloud_sdk_python_tcb-3.1.171}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/setup.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/tencentcloud/tcb/v20180608/models.py +312 -2
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/tencentcloud/tcb/v20180608/tcb_client.py +46 -0
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/tencentcloud/tcb/v20180608/tcb_client_async.py +36 -0
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcb-3.1.171/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcb-3.1.166/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/README.rst +0 -0
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/tencentcloud/tcb/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/tencentcloud/tcb/v20180608/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.166 → tencentcloud_sdk_python_tcb-3.1.171}/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.171
|
|
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.171
|
|
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.171,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcb SDK for Python',
|
|
@@ -74,6 +74,9 @@ FAILEDOPERATION_PGCONNECTERROR = 'FailedOperation.PGConnectError'
|
|
|
74
74
|
# Execute SQL error.
|
|
75
75
|
FAILEDOPERATION_PGEXECUTESQLERROR = 'FailedOperation.PGExecuteSqlError'
|
|
76
76
|
|
|
77
|
+
# 返回结果超出限制
|
|
78
|
+
FAILEDOPERATION_PGRESULTTOOLARGE = 'FailedOperation.PGResultTooLarge'
|
|
79
|
+
|
|
77
80
|
# 套餐包不支持
|
|
78
81
|
FAILEDOPERATION_PACKAGEUNSUPPORTED = 'FailedOperation.PackageUnsupported'
|
|
79
82
|
|
|
@@ -3467,6 +3467,8 @@ class CreateCloudAppRequest(AbstractModel):
|
|
|
3467
3467
|
:type CustomSteps: list of BuildStep
|
|
3468
3468
|
:param _Secrets: <p>敏感凭证(AES 加密落库),构建容器中以 $SECRET_NAME 引用</p>
|
|
3469
3469
|
:type Secrets: list of BuildSecret
|
|
3470
|
+
:param _NodeJsVersion: <p>选择 NodeRuntime 版本: 16,18,20,22,24 等</p>
|
|
3471
|
+
:type NodeJsVersion: str
|
|
3470
3472
|
"""
|
|
3471
3473
|
self._EnvId = None
|
|
3472
3474
|
self._ServiceName = None
|
|
@@ -3478,6 +3480,7 @@ class CreateCloudAppRequest(AbstractModel):
|
|
|
3478
3480
|
self._Env = None
|
|
3479
3481
|
self._CustomSteps = None
|
|
3480
3482
|
self._Secrets = None
|
|
3483
|
+
self._NodeJsVersion = None
|
|
3481
3484
|
|
|
3482
3485
|
@property
|
|
3483
3486
|
def EnvId(self):
|
|
@@ -3589,6 +3592,17 @@ class CreateCloudAppRequest(AbstractModel):
|
|
|
3589
3592
|
def Secrets(self, Secrets):
|
|
3590
3593
|
self._Secrets = Secrets
|
|
3591
3594
|
|
|
3595
|
+
@property
|
|
3596
|
+
def NodeJsVersion(self):
|
|
3597
|
+
r"""<p>选择 NodeRuntime 版本: 16,18,20,22,24 等</p>
|
|
3598
|
+
:rtype: str
|
|
3599
|
+
"""
|
|
3600
|
+
return self._NodeJsVersion
|
|
3601
|
+
|
|
3602
|
+
@NodeJsVersion.setter
|
|
3603
|
+
def NodeJsVersion(self, NodeJsVersion):
|
|
3604
|
+
self._NodeJsVersion = NodeJsVersion
|
|
3605
|
+
|
|
3592
3606
|
|
|
3593
3607
|
def _deserialize(self, params):
|
|
3594
3608
|
self._EnvId = params.get("EnvId")
|
|
@@ -3622,6 +3636,7 @@ class CreateCloudAppRequest(AbstractModel):
|
|
|
3622
3636
|
obj = BuildSecret()
|
|
3623
3637
|
obj._deserialize(item)
|
|
3624
3638
|
self._Secrets.append(obj)
|
|
3639
|
+
self._NodeJsVersion = params.get("NodeJsVersion")
|
|
3625
3640
|
memeber_set = set(params.keys())
|
|
3626
3641
|
for name, value in vars(self).items():
|
|
3627
3642
|
property_name = name[1:]
|
|
@@ -14749,6 +14764,9 @@ class ExecutePGSqlResponse(AbstractModel):
|
|
|
14749
14764
|
:param _Columns: <p>字段名列表</p>
|
|
14750
14765
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14751
14766
|
:type Columns: list of str
|
|
14767
|
+
:param _ColumnTypes: <p>字段类型名</p>
|
|
14768
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14769
|
+
:type ColumnTypes: list of str
|
|
14752
14770
|
:param _Rows: <p>数据行。每一行数据都是一个JSON串,将JSON进行反序列化将得到了每列的值。值可能是 null 或者 字符串,如果是 null 说明该列的值为 <null>,如果是字符串则为该列的值的字符串表示形式。</p>
|
|
14753
14771
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14754
14772
|
:type Rows: list of str
|
|
@@ -14759,6 +14777,7 @@ class ExecutePGSqlResponse(AbstractModel):
|
|
|
14759
14777
|
"""
|
|
14760
14778
|
self._AffectedRows = None
|
|
14761
14779
|
self._Columns = None
|
|
14780
|
+
self._ColumnTypes = None
|
|
14762
14781
|
self._Rows = None
|
|
14763
14782
|
self._ExecutionTimeMs = None
|
|
14764
14783
|
self._RequestId = None
|
|
@@ -14786,6 +14805,18 @@ class ExecutePGSqlResponse(AbstractModel):
|
|
|
14786
14805
|
def Columns(self, Columns):
|
|
14787
14806
|
self._Columns = Columns
|
|
14788
14807
|
|
|
14808
|
+
@property
|
|
14809
|
+
def ColumnTypes(self):
|
|
14810
|
+
r"""<p>字段类型名</p>
|
|
14811
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14812
|
+
:rtype: list of str
|
|
14813
|
+
"""
|
|
14814
|
+
return self._ColumnTypes
|
|
14815
|
+
|
|
14816
|
+
@ColumnTypes.setter
|
|
14817
|
+
def ColumnTypes(self, ColumnTypes):
|
|
14818
|
+
self._ColumnTypes = ColumnTypes
|
|
14819
|
+
|
|
14789
14820
|
@property
|
|
14790
14821
|
def Rows(self):
|
|
14791
14822
|
r"""<p>数据行。每一行数据都是一个JSON串,将JSON进行反序列化将得到了每列的值。值可能是 null 或者 字符串,如果是 null 说明该列的值为 <null>,如果是字符串则为该列的值的字符串表示形式。</p>
|
|
@@ -14824,6 +14855,7 @@ class ExecutePGSqlResponse(AbstractModel):
|
|
|
14824
14855
|
def _deserialize(self, params):
|
|
14825
14856
|
self._AffectedRows = params.get("AffectedRows")
|
|
14826
14857
|
self._Columns = params.get("Columns")
|
|
14858
|
+
self._ColumnTypes = params.get("ColumnTypes")
|
|
14827
14859
|
self._Rows = params.get("Rows")
|
|
14828
14860
|
self._ExecutionTimeMs = params.get("ExecutionTimeMs")
|
|
14829
14861
|
self._RequestId = params.get("RequestId")
|
|
@@ -19775,6 +19807,85 @@ class ModifyDatabaseACLResponse(AbstractModel):
|
|
|
19775
19807
|
self._RequestId = params.get("RequestId")
|
|
19776
19808
|
|
|
19777
19809
|
|
|
19810
|
+
class ModifyEnvExtraRequest(AbstractModel):
|
|
19811
|
+
r"""ModifyEnvExtra请求参数结构体
|
|
19812
|
+
|
|
19813
|
+
"""
|
|
19814
|
+
|
|
19815
|
+
def __init__(self):
|
|
19816
|
+
r"""
|
|
19817
|
+
:param _EnvId: <p>环境ID</p>
|
|
19818
|
+
:type EnvId: str
|
|
19819
|
+
:param _EnableOverrun: <p>开启或关闭 <code>超限转按量</code>。<br>可取值: TRUE/FALSE (字符串类型)<br>非法制、不传、为空 则不变更该字段。</p>
|
|
19820
|
+
:type EnableOverrun: str
|
|
19821
|
+
"""
|
|
19822
|
+
self._EnvId = None
|
|
19823
|
+
self._EnableOverrun = None
|
|
19824
|
+
|
|
19825
|
+
@property
|
|
19826
|
+
def EnvId(self):
|
|
19827
|
+
r"""<p>环境ID</p>
|
|
19828
|
+
:rtype: str
|
|
19829
|
+
"""
|
|
19830
|
+
return self._EnvId
|
|
19831
|
+
|
|
19832
|
+
@EnvId.setter
|
|
19833
|
+
def EnvId(self, EnvId):
|
|
19834
|
+
self._EnvId = EnvId
|
|
19835
|
+
|
|
19836
|
+
@property
|
|
19837
|
+
def EnableOverrun(self):
|
|
19838
|
+
r"""<p>开启或关闭 <code>超限转按量</code>。<br>可取值: TRUE/FALSE (字符串类型)<br>非法制、不传、为空 则不变更该字段。</p>
|
|
19839
|
+
:rtype: str
|
|
19840
|
+
"""
|
|
19841
|
+
return self._EnableOverrun
|
|
19842
|
+
|
|
19843
|
+
@EnableOverrun.setter
|
|
19844
|
+
def EnableOverrun(self, EnableOverrun):
|
|
19845
|
+
self._EnableOverrun = EnableOverrun
|
|
19846
|
+
|
|
19847
|
+
|
|
19848
|
+
def _deserialize(self, params):
|
|
19849
|
+
self._EnvId = params.get("EnvId")
|
|
19850
|
+
self._EnableOverrun = params.get("EnableOverrun")
|
|
19851
|
+
memeber_set = set(params.keys())
|
|
19852
|
+
for name, value in vars(self).items():
|
|
19853
|
+
property_name = name[1:]
|
|
19854
|
+
if property_name in memeber_set:
|
|
19855
|
+
memeber_set.remove(property_name)
|
|
19856
|
+
if len(memeber_set) > 0:
|
|
19857
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19858
|
+
|
|
19859
|
+
|
|
19860
|
+
|
|
19861
|
+
class ModifyEnvExtraResponse(AbstractModel):
|
|
19862
|
+
r"""ModifyEnvExtra返回参数结构体
|
|
19863
|
+
|
|
19864
|
+
"""
|
|
19865
|
+
|
|
19866
|
+
def __init__(self):
|
|
19867
|
+
r"""
|
|
19868
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19869
|
+
:type RequestId: str
|
|
19870
|
+
"""
|
|
19871
|
+
self._RequestId = None
|
|
19872
|
+
|
|
19873
|
+
@property
|
|
19874
|
+
def RequestId(self):
|
|
19875
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19876
|
+
:rtype: str
|
|
19877
|
+
"""
|
|
19878
|
+
return self._RequestId
|
|
19879
|
+
|
|
19880
|
+
@RequestId.setter
|
|
19881
|
+
def RequestId(self, RequestId):
|
|
19882
|
+
self._RequestId = RequestId
|
|
19883
|
+
|
|
19884
|
+
|
|
19885
|
+
def _deserialize(self, params):
|
|
19886
|
+
self._RequestId = params.get("RequestId")
|
|
19887
|
+
|
|
19888
|
+
|
|
19778
19889
|
class ModifyEnvPlanRequest(AbstractModel):
|
|
19779
19890
|
r"""ModifyEnvPlan请求参数结构体
|
|
19780
19891
|
|
|
@@ -20221,6 +20332,205 @@ class ModifyLoginConfigResponse(AbstractModel):
|
|
|
20221
20332
|
self._RequestId = params.get("RequestId")
|
|
20222
20333
|
|
|
20223
20334
|
|
|
20335
|
+
class ModifyPGInstanceSpecRequest(AbstractModel):
|
|
20336
|
+
r"""ModifyPGInstanceSpec请求参数结构体
|
|
20337
|
+
|
|
20338
|
+
"""
|
|
20339
|
+
|
|
20340
|
+
def __init__(self):
|
|
20341
|
+
r"""
|
|
20342
|
+
:param _EnvId: <p>环境 id</p>
|
|
20343
|
+
:type EnvId: str
|
|
20344
|
+
:param _Cpu: <p>cpu 核数</p><p>单位:核数</p>
|
|
20345
|
+
:type Cpu: int
|
|
20346
|
+
:param _Memory: <p>内存容量</p><p>单位:GB</p>
|
|
20347
|
+
:type Memory: int
|
|
20348
|
+
:param _Storage: <p>磁盘容量</p><p>单位:GB</p>
|
|
20349
|
+
:type Storage: int
|
|
20350
|
+
:param _SwitchTag: <p>类型</p><p>枚举值:</p><ul><li>0: 立即执行</li><li>1: 指定时间执行</li><li>2: 维护时间执行</li></ul>
|
|
20351
|
+
:type SwitchTag: int
|
|
20352
|
+
:param _SwitchStartTime: <p>SwitchTag=1 时,启动时间</p><p>参数格式:YYYY-MM-dd HH:mm:ss</p>
|
|
20353
|
+
:type SwitchStartTime: str
|
|
20354
|
+
:param _SwitchEndTime: <p>SwitchTag=1 时结束时间</p><p>参数格式:YYYY-MM-dd HH:mm:ss</p>
|
|
20355
|
+
:type SwitchEndTime: str
|
|
20356
|
+
:param _DryRun: <p>预检</p>
|
|
20357
|
+
:type DryRun: bool
|
|
20358
|
+
"""
|
|
20359
|
+
self._EnvId = None
|
|
20360
|
+
self._Cpu = None
|
|
20361
|
+
self._Memory = None
|
|
20362
|
+
self._Storage = None
|
|
20363
|
+
self._SwitchTag = None
|
|
20364
|
+
self._SwitchStartTime = None
|
|
20365
|
+
self._SwitchEndTime = None
|
|
20366
|
+
self._DryRun = None
|
|
20367
|
+
|
|
20368
|
+
@property
|
|
20369
|
+
def EnvId(self):
|
|
20370
|
+
r"""<p>环境 id</p>
|
|
20371
|
+
:rtype: str
|
|
20372
|
+
"""
|
|
20373
|
+
return self._EnvId
|
|
20374
|
+
|
|
20375
|
+
@EnvId.setter
|
|
20376
|
+
def EnvId(self, EnvId):
|
|
20377
|
+
self._EnvId = EnvId
|
|
20378
|
+
|
|
20379
|
+
@property
|
|
20380
|
+
def Cpu(self):
|
|
20381
|
+
r"""<p>cpu 核数</p><p>单位:核数</p>
|
|
20382
|
+
:rtype: int
|
|
20383
|
+
"""
|
|
20384
|
+
return self._Cpu
|
|
20385
|
+
|
|
20386
|
+
@Cpu.setter
|
|
20387
|
+
def Cpu(self, Cpu):
|
|
20388
|
+
self._Cpu = Cpu
|
|
20389
|
+
|
|
20390
|
+
@property
|
|
20391
|
+
def Memory(self):
|
|
20392
|
+
r"""<p>内存容量</p><p>单位:GB</p>
|
|
20393
|
+
:rtype: int
|
|
20394
|
+
"""
|
|
20395
|
+
return self._Memory
|
|
20396
|
+
|
|
20397
|
+
@Memory.setter
|
|
20398
|
+
def Memory(self, Memory):
|
|
20399
|
+
self._Memory = Memory
|
|
20400
|
+
|
|
20401
|
+
@property
|
|
20402
|
+
def Storage(self):
|
|
20403
|
+
r"""<p>磁盘容量</p><p>单位:GB</p>
|
|
20404
|
+
:rtype: int
|
|
20405
|
+
"""
|
|
20406
|
+
return self._Storage
|
|
20407
|
+
|
|
20408
|
+
@Storage.setter
|
|
20409
|
+
def Storage(self, Storage):
|
|
20410
|
+
self._Storage = Storage
|
|
20411
|
+
|
|
20412
|
+
@property
|
|
20413
|
+
def SwitchTag(self):
|
|
20414
|
+
r"""<p>类型</p><p>枚举值:</p><ul><li>0: 立即执行</li><li>1: 指定时间执行</li><li>2: 维护时间执行</li></ul>
|
|
20415
|
+
:rtype: int
|
|
20416
|
+
"""
|
|
20417
|
+
return self._SwitchTag
|
|
20418
|
+
|
|
20419
|
+
@SwitchTag.setter
|
|
20420
|
+
def SwitchTag(self, SwitchTag):
|
|
20421
|
+
self._SwitchTag = SwitchTag
|
|
20422
|
+
|
|
20423
|
+
@property
|
|
20424
|
+
def SwitchStartTime(self):
|
|
20425
|
+
r"""<p>SwitchTag=1 时,启动时间</p><p>参数格式:YYYY-MM-dd HH:mm:ss</p>
|
|
20426
|
+
:rtype: str
|
|
20427
|
+
"""
|
|
20428
|
+
return self._SwitchStartTime
|
|
20429
|
+
|
|
20430
|
+
@SwitchStartTime.setter
|
|
20431
|
+
def SwitchStartTime(self, SwitchStartTime):
|
|
20432
|
+
self._SwitchStartTime = SwitchStartTime
|
|
20433
|
+
|
|
20434
|
+
@property
|
|
20435
|
+
def SwitchEndTime(self):
|
|
20436
|
+
r"""<p>SwitchTag=1 时结束时间</p><p>参数格式:YYYY-MM-dd HH:mm:ss</p>
|
|
20437
|
+
:rtype: str
|
|
20438
|
+
"""
|
|
20439
|
+
return self._SwitchEndTime
|
|
20440
|
+
|
|
20441
|
+
@SwitchEndTime.setter
|
|
20442
|
+
def SwitchEndTime(self, SwitchEndTime):
|
|
20443
|
+
self._SwitchEndTime = SwitchEndTime
|
|
20444
|
+
|
|
20445
|
+
@property
|
|
20446
|
+
def DryRun(self):
|
|
20447
|
+
r"""<p>预检</p>
|
|
20448
|
+
:rtype: bool
|
|
20449
|
+
"""
|
|
20450
|
+
return self._DryRun
|
|
20451
|
+
|
|
20452
|
+
@DryRun.setter
|
|
20453
|
+
def DryRun(self, DryRun):
|
|
20454
|
+
self._DryRun = DryRun
|
|
20455
|
+
|
|
20456
|
+
|
|
20457
|
+
def _deserialize(self, params):
|
|
20458
|
+
self._EnvId = params.get("EnvId")
|
|
20459
|
+
self._Cpu = params.get("Cpu")
|
|
20460
|
+
self._Memory = params.get("Memory")
|
|
20461
|
+
self._Storage = params.get("Storage")
|
|
20462
|
+
self._SwitchTag = params.get("SwitchTag")
|
|
20463
|
+
self._SwitchStartTime = params.get("SwitchStartTime")
|
|
20464
|
+
self._SwitchEndTime = params.get("SwitchEndTime")
|
|
20465
|
+
self._DryRun = params.get("DryRun")
|
|
20466
|
+
memeber_set = set(params.keys())
|
|
20467
|
+
for name, value in vars(self).items():
|
|
20468
|
+
property_name = name[1:]
|
|
20469
|
+
if property_name in memeber_set:
|
|
20470
|
+
memeber_set.remove(property_name)
|
|
20471
|
+
if len(memeber_set) > 0:
|
|
20472
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20473
|
+
|
|
20474
|
+
|
|
20475
|
+
|
|
20476
|
+
class ModifyPGInstanceSpecResponse(AbstractModel):
|
|
20477
|
+
r"""ModifyPGInstanceSpec返回参数结构体
|
|
20478
|
+
|
|
20479
|
+
"""
|
|
20480
|
+
|
|
20481
|
+
def __init__(self):
|
|
20482
|
+
r"""
|
|
20483
|
+
:param _DealName: <p>账单名</p>
|
|
20484
|
+
:type DealName: str
|
|
20485
|
+
:param _BillId: <p>账单标识</p>
|
|
20486
|
+
:type BillId: str
|
|
20487
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20488
|
+
:type RequestId: str
|
|
20489
|
+
"""
|
|
20490
|
+
self._DealName = None
|
|
20491
|
+
self._BillId = None
|
|
20492
|
+
self._RequestId = None
|
|
20493
|
+
|
|
20494
|
+
@property
|
|
20495
|
+
def DealName(self):
|
|
20496
|
+
r"""<p>账单名</p>
|
|
20497
|
+
:rtype: str
|
|
20498
|
+
"""
|
|
20499
|
+
return self._DealName
|
|
20500
|
+
|
|
20501
|
+
@DealName.setter
|
|
20502
|
+
def DealName(self, DealName):
|
|
20503
|
+
self._DealName = DealName
|
|
20504
|
+
|
|
20505
|
+
@property
|
|
20506
|
+
def BillId(self):
|
|
20507
|
+
r"""<p>账单标识</p>
|
|
20508
|
+
:rtype: str
|
|
20509
|
+
"""
|
|
20510
|
+
return self._BillId
|
|
20511
|
+
|
|
20512
|
+
@BillId.setter
|
|
20513
|
+
def BillId(self, BillId):
|
|
20514
|
+
self._BillId = BillId
|
|
20515
|
+
|
|
20516
|
+
@property
|
|
20517
|
+
def RequestId(self):
|
|
20518
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20519
|
+
:rtype: str
|
|
20520
|
+
"""
|
|
20521
|
+
return self._RequestId
|
|
20522
|
+
|
|
20523
|
+
@RequestId.setter
|
|
20524
|
+
def RequestId(self, RequestId):
|
|
20525
|
+
self._RequestId = RequestId
|
|
20526
|
+
|
|
20527
|
+
|
|
20528
|
+
def _deserialize(self, params):
|
|
20529
|
+
self._DealName = params.get("DealName")
|
|
20530
|
+
self._BillId = params.get("BillId")
|
|
20531
|
+
self._RequestId = params.get("RequestId")
|
|
20532
|
+
|
|
20533
|
+
|
|
20224
20534
|
class ModifyProviderRequest(AbstractModel):
|
|
20225
20535
|
r"""ModifyProvider请求参数结构体
|
|
20226
20536
|
|
|
@@ -26674,7 +26984,7 @@ class VerificationConfig(AbstractModel):
|
|
|
26674
26984
|
|
|
26675
26985
|
def __init__(self):
|
|
26676
26986
|
r"""
|
|
26677
|
-
:param _Type: <p>短信验证码发送通道类型。</p><p>枚举值:</p><ul><li>default: 使用默认云开发短信包发送短信</li><li>apis: 使用云开发自定义 APIs 作为短信发送通道,需配合 Name 和 Method 参数使用。不传则不修改当前配置。</li><li>template: 自定义短信模板配置,需要配置TemplateProvider</li><li>function:
|
|
26987
|
+
:param _Type: <p>短信验证码发送通道类型。</p><p>枚举值:</p><ul><li>default: 使用默认云开发短信包发送短信</li><li>apis: 使用云开发自定义 APIs 作为短信发送通道,需配合 Name 和 Method 参数使用。不传则不修改当前配置。</li><li>template: 自定义短信模板配置,需要配置TemplateProvider</li><li>function: 使用云函数作为短信发送通道,需配合 CloudFunction 参数使用</li></ul>
|
|
26678
26988
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26679
26989
|
:type Type: str
|
|
26680
26990
|
:param _Name: <p>自定义 APIs 数据源唯一标识,当 Type 为 apis 时必填。用于定位微搭 APIs 中对应的数据源。</p>
|
|
@@ -26702,7 +27012,7 @@ class VerificationConfig(AbstractModel):
|
|
|
26702
27012
|
|
|
26703
27013
|
@property
|
|
26704
27014
|
def Type(self):
|
|
26705
|
-
r"""<p>短信验证码发送通道类型。</p><p>枚举值:</p><ul><li>default: 使用默认云开发短信包发送短信</li><li>apis: 使用云开发自定义 APIs 作为短信发送通道,需配合 Name 和 Method 参数使用。不传则不修改当前配置。</li><li>template: 自定义短信模板配置,需要配置TemplateProvider</li><li>function:
|
|
27015
|
+
r"""<p>短信验证码发送通道类型。</p><p>枚举值:</p><ul><li>default: 使用默认云开发短信包发送短信</li><li>apis: 使用云开发自定义 APIs 作为短信发送通道,需配合 Name 和 Method 参数使用。不传则不修改当前配置。</li><li>template: 自定义短信模板配置,需要配置TemplateProvider</li><li>function: 使用云函数作为短信发送通道,需配合 CloudFunction 参数使用</li></ul>
|
|
26706
27016
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26707
27017
|
:rtype: str
|
|
26708
27018
|
"""
|
|
@@ -2050,6 +2050,29 @@ class TcbClient(AbstractClient):
|
|
|
2050
2050
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2051
2051
|
|
|
2052
2052
|
|
|
2053
|
+
def ModifyEnvExtra(self, request):
|
|
2054
|
+
r"""修改环境额外配置
|
|
2055
|
+
|
|
2056
|
+
:param request: Request instance for ModifyEnvExtra.
|
|
2057
|
+
:type request: :class:`tencentcloud.tcb.v20180608.models.ModifyEnvExtraRequest`
|
|
2058
|
+
:rtype: :class:`tencentcloud.tcb.v20180608.models.ModifyEnvExtraResponse`
|
|
2059
|
+
|
|
2060
|
+
"""
|
|
2061
|
+
try:
|
|
2062
|
+
params = request._serialize()
|
|
2063
|
+
headers = request.headers
|
|
2064
|
+
body = self.call("ModifyEnvExtra", params, headers=headers)
|
|
2065
|
+
response = json.loads(body)
|
|
2066
|
+
model = models.ModifyEnvExtraResponse()
|
|
2067
|
+
model._deserialize(response["Response"])
|
|
2068
|
+
return model
|
|
2069
|
+
except Exception as e:
|
|
2070
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2071
|
+
raise
|
|
2072
|
+
else:
|
|
2073
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2074
|
+
|
|
2075
|
+
|
|
2053
2076
|
def ModifyEnvPlan(self, request):
|
|
2054
2077
|
r"""本接口用于变更云开发环境套餐。
|
|
2055
2078
|
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
@@ -2122,6 +2145,29 @@ class TcbClient(AbstractClient):
|
|
|
2122
2145
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2123
2146
|
|
|
2124
2147
|
|
|
2148
|
+
def ModifyPGInstanceSpec(self, request):
|
|
2149
|
+
r"""对 PG 独享实例变配
|
|
2150
|
+
|
|
2151
|
+
:param request: Request instance for ModifyPGInstanceSpec.
|
|
2152
|
+
:type request: :class:`tencentcloud.tcb.v20180608.models.ModifyPGInstanceSpecRequest`
|
|
2153
|
+
:rtype: :class:`tencentcloud.tcb.v20180608.models.ModifyPGInstanceSpecResponse`
|
|
2154
|
+
|
|
2155
|
+
"""
|
|
2156
|
+
try:
|
|
2157
|
+
params = request._serialize()
|
|
2158
|
+
headers = request.headers
|
|
2159
|
+
body = self.call("ModifyPGInstanceSpec", params, headers=headers)
|
|
2160
|
+
response = json.loads(body)
|
|
2161
|
+
model = models.ModifyPGInstanceSpecResponse()
|
|
2162
|
+
model._deserialize(response["Response"])
|
|
2163
|
+
return model
|
|
2164
|
+
except Exception as e:
|
|
2165
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2166
|
+
raise
|
|
2167
|
+
else:
|
|
2168
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2169
|
+
|
|
2170
|
+
|
|
2125
2171
|
def ModifyProvider(self, request):
|
|
2126
2172
|
r"""修改身份认证源。更新指定云开发环境下已有身份认证源的配置信息,支持修改基本信息(名称、图标、描述)、协议连接配置(ClientId、ClientSecret、端点地址等)、登录行为控制(透传模式、自动注册、邮箱/手机号自动关联)以及启用状态。
|
|
2127
2173
|
对于 OIDC 类型身份源,修改 Issuer 后将自动通过 OpenID Connect Discovery 重新获取端点配置。
|
|
@@ -1634,6 +1634,24 @@ class TcbClient(AbstractClient):
|
|
|
1634
1634
|
|
|
1635
1635
|
return await self.call_and_deserialize(**kwargs)
|
|
1636
1636
|
|
|
1637
|
+
async def ModifyEnvExtra(
|
|
1638
|
+
self,
|
|
1639
|
+
request: models.ModifyEnvExtraRequest,
|
|
1640
|
+
opts: Dict = None,
|
|
1641
|
+
) -> models.ModifyEnvExtraResponse:
|
|
1642
|
+
"""
|
|
1643
|
+
修改环境额外配置
|
|
1644
|
+
"""
|
|
1645
|
+
|
|
1646
|
+
kwargs = {}
|
|
1647
|
+
kwargs["action"] = "ModifyEnvExtra"
|
|
1648
|
+
kwargs["params"] = request._serialize()
|
|
1649
|
+
kwargs["resp_cls"] = models.ModifyEnvExtraResponse
|
|
1650
|
+
kwargs["headers"] = request.headers
|
|
1651
|
+
kwargs["opts"] = opts or {}
|
|
1652
|
+
|
|
1653
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1654
|
+
|
|
1637
1655
|
async def ModifyEnvPlan(
|
|
1638
1656
|
self,
|
|
1639
1657
|
request: models.ModifyEnvPlanRequest,
|
|
@@ -1691,6 +1709,24 @@ class TcbClient(AbstractClient):
|
|
|
1691
1709
|
|
|
1692
1710
|
return await self.call_and_deserialize(**kwargs)
|
|
1693
1711
|
|
|
1712
|
+
async def ModifyPGInstanceSpec(
|
|
1713
|
+
self,
|
|
1714
|
+
request: models.ModifyPGInstanceSpecRequest,
|
|
1715
|
+
opts: Dict = None,
|
|
1716
|
+
) -> models.ModifyPGInstanceSpecResponse:
|
|
1717
|
+
"""
|
|
1718
|
+
对 PG 独享实例变配
|
|
1719
|
+
"""
|
|
1720
|
+
|
|
1721
|
+
kwargs = {}
|
|
1722
|
+
kwargs["action"] = "ModifyPGInstanceSpec"
|
|
1723
|
+
kwargs["params"] = request._serialize()
|
|
1724
|
+
kwargs["resp_cls"] = models.ModifyPGInstanceSpecResponse
|
|
1725
|
+
kwargs["headers"] = request.headers
|
|
1726
|
+
kwargs["opts"] = opts or {}
|
|
1727
|
+
|
|
1728
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1729
|
+
|
|
1694
1730
|
async def ModifyProvider(
|
|
1695
1731
|
self,
|
|
1696
1732
|
request: models.ModifyProviderRequest,
|
|
@@ -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.171
|
|
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.171
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.171
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.166
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|