tencentcloud-sdk-python-tcb 3.1.164__tar.gz → 3.1.169__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.164 → tencentcloud_sdk_python_tcb-3.1.169}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/tencentcloud/tcb/v20180608/errorcodes.py +9 -0
  5. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/tencentcloud/tcb/v20180608/models.py +765 -3
  6. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/tencentcloud/tcb/v20180608/tcb_client.py +47 -1
  7. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/tencentcloud/tcb/v20180608/tcb_client_async.py +37 -1
  8. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_tcb-3.1.169/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_tcb-3.1.164/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/README.rst +0 -0
  12. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/tencentcloud/tcb/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/tencentcloud/tcb/v20180608/__init__.py +0 -0
  15. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tcb-3.1.164 → tencentcloud_sdk_python_tcb-3.1.169}/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.164
3
+ Version: 3.1.169
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.164
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.169
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.164,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.169,<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.164'
17
+ __version__ = '3.1.169'
@@ -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
 
@@ -86,6 +89,9 @@ FAILEDOPERATION_SYNTAXERROR = 'FailedOperation.SyntaxError'
86
89
  # Instance is resuming, please try connecting again.
87
90
  FAILEDOPERATION_TDSQLPAUSED = 'FailedOperation.TdsqlPaused'
88
91
 
92
+ # 请求第三方服务,第三方服务返回报错信息
93
+ FAILEDOPERATION_THIRDSERVICEERROR = 'FailedOperation.ThirdServiceError'
94
+
89
95
  # FailedOperation.Timeout
90
96
  FAILEDOPERATION_TIMEOUT = 'FailedOperation.Timeout'
91
97
 
@@ -101,6 +107,9 @@ INTERNALERROR_DATABASE = 'InternalError.Database'
101
107
  # 系统内部异常。
102
108
  INTERNALERROR_SYS_ERR = 'InternalError.SYS_ERR'
103
109
 
110
+ # 服务超时。
111
+ INTERNALERROR_TIMEOUT = 'InternalError.Timeout'
112
+
104
113
  # 参数格式或类型错误,如 Uin、EnvId、Domain 缺失或非法。
105
114
  INVALIDPARAMETER = 'InvalidParameter'
106
115
 
@@ -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 说明该列的值为 &lt;null&gt;,如果是字符串则为该列的值的字符串表示形式。</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 说明该列的值为 &lt;null&gt;,如果是字符串则为该列的值的字符串表示形式。</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")
@@ -15302,6 +15334,375 @@ class GetProvidersResponse(AbstractModel):
15302
15334
  self._RequestId = params.get("RequestId")
15303
15335
 
15304
15336
 
15337
+ class HTTPServiceCacheAction(AbstractModel):
15338
+ r"""HTTPService缓存动作(Type + 具体子字段的标签联合,Type 与被设置的子字段必须一一对应)
15339
+
15340
+ """
15341
+
15342
+ def __init__(self):
15343
+ r"""
15344
+ :param _Type: <p>HTTPService 缓存动作类型</p><p>枚举值:</p><ul><li>Cache: 节点缓存 + 浏览器缓存统一动作(节点秒数 CacheTime、浏览器秒数 MaxAgeTime)</li><li>CacheKey: 仅开启EO边缘加速通道下发</li></ul>
15345
+ :type Type: str
15346
+ :param _Cache: <p>节点缓存配置。Type=Cache 时必填</p>
15347
+ :type Cache: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceCacheParams`
15348
+ :param _CacheKey: <p>自定义缓存键。Type=CacheKey 时必填</p>
15349
+ :type CacheKey: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceCacheKeyParams`
15350
+ """
15351
+ self._Type = None
15352
+ self._Cache = None
15353
+ self._CacheKey = None
15354
+
15355
+ @property
15356
+ def Type(self):
15357
+ r"""<p>HTTPService 缓存动作类型</p><p>枚举值:</p><ul><li>Cache: 节点缓存 + 浏览器缓存统一动作(节点秒数 CacheTime、浏览器秒数 MaxAgeTime)</li><li>CacheKey: 仅开启EO边缘加速通道下发</li></ul>
15358
+ :rtype: str
15359
+ """
15360
+ return self._Type
15361
+
15362
+ @Type.setter
15363
+ def Type(self, Type):
15364
+ self._Type = Type
15365
+
15366
+ @property
15367
+ def Cache(self):
15368
+ r"""<p>节点缓存配置。Type=Cache 时必填</p>
15369
+ :rtype: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceCacheParams`
15370
+ """
15371
+ return self._Cache
15372
+
15373
+ @Cache.setter
15374
+ def Cache(self, Cache):
15375
+ self._Cache = Cache
15376
+
15377
+ @property
15378
+ def CacheKey(self):
15379
+ r"""<p>自定义缓存键。Type=CacheKey 时必填</p>
15380
+ :rtype: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceCacheKeyParams`
15381
+ """
15382
+ return self._CacheKey
15383
+
15384
+ @CacheKey.setter
15385
+ def CacheKey(self, CacheKey):
15386
+ self._CacheKey = CacheKey
15387
+
15388
+
15389
+ def _deserialize(self, params):
15390
+ self._Type = params.get("Type")
15391
+ if params.get("Cache") is not None:
15392
+ self._Cache = HTTPServiceCacheParams()
15393
+ self._Cache._deserialize(params.get("Cache"))
15394
+ if params.get("CacheKey") is not None:
15395
+ self._CacheKey = HTTPServiceCacheKeyParams()
15396
+ self._CacheKey._deserialize(params.get("CacheKey"))
15397
+ memeber_set = set(params.keys())
15398
+ for name, value in vars(self).items():
15399
+ property_name = name[1:]
15400
+ if property_name in memeber_set:
15401
+ memeber_set.remove(property_name)
15402
+ if len(memeber_set) > 0:
15403
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15404
+
15405
+
15406
+
15407
+ class HTTPServiceCacheKeyParams(AbstractModel):
15408
+ r"""自定义缓存键参数。约束:FullURLCache=on 与 QueryStringSwitch=on 互斥
15409
+ 使用示例:
15410
+ - 整 URL 参与缓存键:{FullURLCache: "on", QueryStringSwitch: "off"}
15411
+ - URL 路径 + 仅保留 x/y:{FullURLCache: "off", QueryStringSwitch: "on", QueryStringAction: "includeCustom", QueryStringValues: ["x", "y"]}
15412
+ - URL 路径 + 忽略 debug:{FullURLCache: "off", QueryStringSwitch: "on", QueryStringAction: "excludeCustom", QueryStringValues: ["debug"]}
15413
+
15414
+ """
15415
+
15416
+ def __init__(self):
15417
+ r"""
15418
+ :param _FullURLCache: <p>全 URL 缓存开关</p><p>枚举值:</p><ul><li>on: 开启</li><li>off: 关闭</li></ul>
15419
+ :type FullURLCache: str
15420
+ :param _QueryStringSwitch: <p>查询参数是否参与缓存键</p><p>枚举值:</p><ul><li>on: 开启</li><li>off: 关闭</li></ul>
15421
+ :type QueryStringSwitch: str
15422
+ :param _QueryStringAction: <p>QueryStringSwitch=on 时必填</p><p>枚举值:</p><ul><li>includeCustom: 白名单</li><li>excludeCustom: 黑名单</li></ul>
15423
+ :type QueryStringAction: str
15424
+ :param _QueryStringValues: <p>参数名列表</p><p>入参限制:最多 100 项,单项 1~128 字节</p>
15425
+ :type QueryStringValues: list of str
15426
+ """
15427
+ self._FullURLCache = None
15428
+ self._QueryStringSwitch = None
15429
+ self._QueryStringAction = None
15430
+ self._QueryStringValues = None
15431
+
15432
+ @property
15433
+ def FullURLCache(self):
15434
+ r"""<p>全 URL 缓存开关</p><p>枚举值:</p><ul><li>on: 开启</li><li>off: 关闭</li></ul>
15435
+ :rtype: str
15436
+ """
15437
+ return self._FullURLCache
15438
+
15439
+ @FullURLCache.setter
15440
+ def FullURLCache(self, FullURLCache):
15441
+ self._FullURLCache = FullURLCache
15442
+
15443
+ @property
15444
+ def QueryStringSwitch(self):
15445
+ r"""<p>查询参数是否参与缓存键</p><p>枚举值:</p><ul><li>on: 开启</li><li>off: 关闭</li></ul>
15446
+ :rtype: str
15447
+ """
15448
+ return self._QueryStringSwitch
15449
+
15450
+ @QueryStringSwitch.setter
15451
+ def QueryStringSwitch(self, QueryStringSwitch):
15452
+ self._QueryStringSwitch = QueryStringSwitch
15453
+
15454
+ @property
15455
+ def QueryStringAction(self):
15456
+ r"""<p>QueryStringSwitch=on 时必填</p><p>枚举值:</p><ul><li>includeCustom: 白名单</li><li>excludeCustom: 黑名单</li></ul>
15457
+ :rtype: str
15458
+ """
15459
+ return self._QueryStringAction
15460
+
15461
+ @QueryStringAction.setter
15462
+ def QueryStringAction(self, QueryStringAction):
15463
+ self._QueryStringAction = QueryStringAction
15464
+
15465
+ @property
15466
+ def QueryStringValues(self):
15467
+ r"""<p>参数名列表</p><p>入参限制:最多 100 项,单项 1~128 字节</p>
15468
+ :rtype: list of str
15469
+ """
15470
+ return self._QueryStringValues
15471
+
15472
+ @QueryStringValues.setter
15473
+ def QueryStringValues(self, QueryStringValues):
15474
+ self._QueryStringValues = QueryStringValues
15475
+
15476
+
15477
+ def _deserialize(self, params):
15478
+ self._FullURLCache = params.get("FullURLCache")
15479
+ self._QueryStringSwitch = params.get("QueryStringSwitch")
15480
+ self._QueryStringAction = params.get("QueryStringAction")
15481
+ self._QueryStringValues = params.get("QueryStringValues")
15482
+ memeber_set = set(params.keys())
15483
+ for name, value in vars(self).items():
15484
+ property_name = name[1:]
15485
+ if property_name in memeber_set:
15486
+ memeber_set.remove(property_name)
15487
+ if len(memeber_set) > 0:
15488
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15489
+
15490
+
15491
+
15492
+ class HTTPServiceCacheParams(AbstractModel):
15493
+ r"""HTTPService 缓存参数(节点缓存 + 浏览器缓存共用行为模式)。
15494
+ FollowOrigin / NoCache / (CacheTime||MaxAgeTime) 三者互斥,必须开启其一:
15495
+ - FollowOrigin=true:节点与浏览器缓存均遵循源站;
15496
+ - NoCache=true:节点与浏览器缓存均不缓存(Cache-Control: no-cache);
15497
+ - CacheTime>0 或 MaxAgeTime>0:至少设置其一,分别控制节点、浏览器缓存秒数,可独立设置。
15498
+
15499
+ """
15500
+
15501
+ def __init__(self):
15502
+ r"""
15503
+ :param _FollowOrigin: <p>遵循源站</p>
15504
+ :type FollowOrigin: bool
15505
+ :param _NoCache: <p>不缓存</p>
15506
+ :type NoCache: bool
15507
+ :param _CacheTime: <p>自定义缓存时间(秒)</p><p>取值范围:[0, 31536000]</p><p>单位:秒</p>
15508
+ :type CacheTime: int
15509
+ :param _MaxAgeTime: <p>浏览器缓存秒数(对应 max-age)</p><p>取值范围:[0, 31536000]</p><p>单位:秒</p>
15510
+ :type MaxAgeTime: int
15511
+ """
15512
+ self._FollowOrigin = None
15513
+ self._NoCache = None
15514
+ self._CacheTime = None
15515
+ self._MaxAgeTime = None
15516
+
15517
+ @property
15518
+ def FollowOrigin(self):
15519
+ r"""<p>遵循源站</p>
15520
+ :rtype: bool
15521
+ """
15522
+ return self._FollowOrigin
15523
+
15524
+ @FollowOrigin.setter
15525
+ def FollowOrigin(self, FollowOrigin):
15526
+ self._FollowOrigin = FollowOrigin
15527
+
15528
+ @property
15529
+ def NoCache(self):
15530
+ r"""<p>不缓存</p>
15531
+ :rtype: bool
15532
+ """
15533
+ return self._NoCache
15534
+
15535
+ @NoCache.setter
15536
+ def NoCache(self, NoCache):
15537
+ self._NoCache = NoCache
15538
+
15539
+ @property
15540
+ def CacheTime(self):
15541
+ r"""<p>自定义缓存时间(秒)</p><p>取值范围:[0, 31536000]</p><p>单位:秒</p>
15542
+ :rtype: int
15543
+ """
15544
+ return self._CacheTime
15545
+
15546
+ @CacheTime.setter
15547
+ def CacheTime(self, CacheTime):
15548
+ self._CacheTime = CacheTime
15549
+
15550
+ @property
15551
+ def MaxAgeTime(self):
15552
+ r"""<p>浏览器缓存秒数(对应 max-age)</p><p>取值范围:[0, 31536000]</p><p>单位:秒</p>
15553
+ :rtype: int
15554
+ """
15555
+ return self._MaxAgeTime
15556
+
15557
+ @MaxAgeTime.setter
15558
+ def MaxAgeTime(self, MaxAgeTime):
15559
+ self._MaxAgeTime = MaxAgeTime
15560
+
15561
+
15562
+ def _deserialize(self, params):
15563
+ self._FollowOrigin = params.get("FollowOrigin")
15564
+ self._NoCache = params.get("NoCache")
15565
+ self._CacheTime = params.get("CacheTime")
15566
+ self._MaxAgeTime = params.get("MaxAgeTime")
15567
+ memeber_set = set(params.keys())
15568
+ for name, value in vars(self).items():
15569
+ property_name = name[1:]
15570
+ if property_name in memeber_set:
15571
+ memeber_set.remove(property_name)
15572
+ if len(memeber_set) > 0:
15573
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15574
+
15575
+
15576
+
15577
+ class HTTPServiceCacheRule(AbstractModel):
15578
+ r"""HTTPService 缓存规则条目
15579
+
15580
+ """
15581
+
15582
+ def __init__(self):
15583
+ r"""
15584
+ :param _Description: <p>自定义描述,最多 128 字节</p>
15585
+ :type Description: str
15586
+ :param _Enable: <p>规则开关:nil/true 启用,false 禁用</p>
15587
+ :type Enable: bool
15588
+ :param _Condition: <p>HTTPService 规则匹配条件(必填)</p>
15589
+ :type Condition: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceRuleCondition`
15590
+ :param _Actions: <p>HTTPService 缓存动作列表,同一规则内相同 Type 至多一个</p>
15591
+ :type Actions: list of HTTPServiceCacheAction
15592
+ """
15593
+ self._Description = None
15594
+ self._Enable = None
15595
+ self._Condition = None
15596
+ self._Actions = None
15597
+
15598
+ @property
15599
+ def Description(self):
15600
+ r"""<p>自定义描述,最多 128 字节</p>
15601
+ :rtype: str
15602
+ """
15603
+ return self._Description
15604
+
15605
+ @Description.setter
15606
+ def Description(self, Description):
15607
+ self._Description = Description
15608
+
15609
+ @property
15610
+ def Enable(self):
15611
+ r"""<p>规则开关:nil/true 启用,false 禁用</p>
15612
+ :rtype: bool
15613
+ """
15614
+ return self._Enable
15615
+
15616
+ @Enable.setter
15617
+ def Enable(self, Enable):
15618
+ self._Enable = Enable
15619
+
15620
+ @property
15621
+ def Condition(self):
15622
+ r"""<p>HTTPService 规则匹配条件(必填)</p>
15623
+ :rtype: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceRuleCondition`
15624
+ """
15625
+ return self._Condition
15626
+
15627
+ @Condition.setter
15628
+ def Condition(self, Condition):
15629
+ self._Condition = Condition
15630
+
15631
+ @property
15632
+ def Actions(self):
15633
+ r"""<p>HTTPService 缓存动作列表,同一规则内相同 Type 至多一个</p>
15634
+ :rtype: list of HTTPServiceCacheAction
15635
+ """
15636
+ return self._Actions
15637
+
15638
+ @Actions.setter
15639
+ def Actions(self, Actions):
15640
+ self._Actions = Actions
15641
+
15642
+
15643
+ def _deserialize(self, params):
15644
+ self._Description = params.get("Description")
15645
+ self._Enable = params.get("Enable")
15646
+ if params.get("Condition") is not None:
15647
+ self._Condition = HTTPServiceRuleCondition()
15648
+ self._Condition._deserialize(params.get("Condition"))
15649
+ if params.get("Actions") is not None:
15650
+ self._Actions = []
15651
+ for item in params.get("Actions"):
15652
+ obj = HTTPServiceCacheAction()
15653
+ obj._deserialize(item)
15654
+ self._Actions.append(obj)
15655
+ memeber_set = set(params.keys())
15656
+ for name, value in vars(self).items():
15657
+ property_name = name[1:]
15658
+ if property_name in memeber_set:
15659
+ memeber_set.remove(property_name)
15660
+ if len(memeber_set) > 0:
15661
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15662
+
15663
+
15664
+
15665
+ class HTTPServiceCacheSet(AbstractModel):
15666
+ r"""HTTPService 缓存配置(域名维度)
15667
+
15668
+ """
15669
+
15670
+ def __init__(self):
15671
+ r"""
15672
+ :param _Rules: <p>HTTPService 缓存配置列表。Rules 按数组顺序为优先级顺序,Rules[n-1] 优先级最高</p>
15673
+ :type Rules: list of HTTPServiceCacheRule
15674
+ """
15675
+ self._Rules = None
15676
+
15677
+ @property
15678
+ def Rules(self):
15679
+ r"""<p>HTTPService 缓存配置列表。Rules 按数组顺序为优先级顺序,Rules[n-1] 优先级最高</p>
15680
+ :rtype: list of HTTPServiceCacheRule
15681
+ """
15682
+ return self._Rules
15683
+
15684
+ @Rules.setter
15685
+ def Rules(self, Rules):
15686
+ self._Rules = Rules
15687
+
15688
+
15689
+ def _deserialize(self, params):
15690
+ if params.get("Rules") is not None:
15691
+ self._Rules = []
15692
+ for item in params.get("Rules"):
15693
+ obj = HTTPServiceCacheRule()
15694
+ obj._deserialize(item)
15695
+ self._Rules.append(obj)
15696
+ memeber_set = set(params.keys())
15697
+ for name, value in vars(self).items():
15698
+ property_name = name[1:]
15699
+ if property_name in memeber_set:
15700
+ memeber_set.remove(property_name)
15701
+ if len(memeber_set) > 0:
15702
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15703
+
15704
+
15705
+
15305
15706
  class HTTPServiceDomain(AbstractModel):
15306
15707
  r"""查询HTTP访问服务输出的域名信息,每个域名内包含所有路由信息
15307
15708
 
@@ -15704,20 +16105,23 @@ class HTTPServiceDomainParam(AbstractModel):
15704
16105
 
15705
16106
 
15706
16107
  class HTTPServiceExtension(AbstractModel):
15707
- r"""HTTP访问服务路由扩展字段
16108
+ r"""HTTPService 路由扩展字段
15708
16109
 
15709
16110
  """
15710
16111
 
15711
16112
  def __init__(self):
15712
16113
  r"""
15713
- :param _HeadersHandler: 添加请求头列表
16114
+ :param _HeadersHandler: <p>添加请求头列表</p>
15714
16115
  :type HeadersHandler: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceHeadersHandler`
16116
+ :param _Cache: <p>HTTPService 缓存配置,包含Cache 节点缓存 / MaxAge 浏览器缓存 / CacheKey 自定义缓存键</p>
16117
+ :type Cache: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceCacheSet`
15715
16118
  """
15716
16119
  self._HeadersHandler = None
16120
+ self._Cache = None
15717
16121
 
15718
16122
  @property
15719
16123
  def HeadersHandler(self):
15720
- r"""添加请求头列表
16124
+ r"""<p>添加请求头列表</p>
15721
16125
  :rtype: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceHeadersHandler`
15722
16126
  """
15723
16127
  return self._HeadersHandler
@@ -15726,11 +16130,25 @@ class HTTPServiceExtension(AbstractModel):
15726
16130
  def HeadersHandler(self, HeadersHandler):
15727
16131
  self._HeadersHandler = HeadersHandler
15728
16132
 
16133
+ @property
16134
+ def Cache(self):
16135
+ r"""<p>HTTPService 缓存配置,包含Cache 节点缓存 / MaxAge 浏览器缓存 / CacheKey 自定义缓存键</p>
16136
+ :rtype: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceCacheSet`
16137
+ """
16138
+ return self._Cache
16139
+
16140
+ @Cache.setter
16141
+ def Cache(self, Cache):
16142
+ self._Cache = Cache
16143
+
15729
16144
 
15730
16145
  def _deserialize(self, params):
15731
16146
  if params.get("HeadersHandler") is not None:
15732
16147
  self._HeadersHandler = HTTPServiceHeadersHandler()
15733
16148
  self._HeadersHandler._deserialize(params.get("HeadersHandler"))
16149
+ if params.get("Cache") is not None:
16150
+ self._Cache = HTTPServiceCacheSet()
16151
+ self._Cache._deserialize(params.get("Cache"))
15734
16152
  memeber_set = set(params.keys())
15735
16153
  for name, value in vars(self).items():
15736
16154
  property_name = name[1:]
@@ -16422,6 +16840,72 @@ class HTTPServiceRouteQPSPolicy(AbstractModel):
16422
16840
 
16423
16841
 
16424
16842
 
16843
+ class HTTPServiceRuleCondition(AbstractModel):
16844
+ r"""HTTPService缓存规则匹配条件(必填)
16845
+
16846
+ """
16847
+
16848
+ def __init__(self):
16849
+ r"""
16850
+ :param _Target: <p>Target 匹配对象</p><p>枚举值:</p><ul><li>url_path: 请求 URI 路径(不含查询串),例:/static/logo.jpg</li><li>file_extension: 请求文件扩展名(EO 从 path 中解析),例:jpg</li><li>full_uri: 完整 URI(路径 + 查询串),例:/download?type=hd</li></ul>
16851
+ :type Target: str
16852
+ :param _MatchType: <p>MatchType 字符串匹配类型</p><p>枚举值:</p><ul><li>prefix: 前缀匹配</li><li>suffix: 后缀匹配</li><li>contains: 包含匹配</li><li>exact: 精确匹配</li></ul>
16853
+ :type MatchType: str
16854
+ :param _Values: <p>Values 匹配值集合,Values 内任一命中即认为条件成立(OR 语义)</p><p>入参限制:单项 1~1024 字节,最多 100 条</p>
16855
+ :type Values: list of str
16856
+ """
16857
+ self._Target = None
16858
+ self._MatchType = None
16859
+ self._Values = None
16860
+
16861
+ @property
16862
+ def Target(self):
16863
+ r"""<p>Target 匹配对象</p><p>枚举值:</p><ul><li>url_path: 请求 URI 路径(不含查询串),例:/static/logo.jpg</li><li>file_extension: 请求文件扩展名(EO 从 path 中解析),例:jpg</li><li>full_uri: 完整 URI(路径 + 查询串),例:/download?type=hd</li></ul>
16864
+ :rtype: str
16865
+ """
16866
+ return self._Target
16867
+
16868
+ @Target.setter
16869
+ def Target(self, Target):
16870
+ self._Target = Target
16871
+
16872
+ @property
16873
+ def MatchType(self):
16874
+ r"""<p>MatchType 字符串匹配类型</p><p>枚举值:</p><ul><li>prefix: 前缀匹配</li><li>suffix: 后缀匹配</li><li>contains: 包含匹配</li><li>exact: 精确匹配</li></ul>
16875
+ :rtype: str
16876
+ """
16877
+ return self._MatchType
16878
+
16879
+ @MatchType.setter
16880
+ def MatchType(self, MatchType):
16881
+ self._MatchType = MatchType
16882
+
16883
+ @property
16884
+ def Values(self):
16885
+ r"""<p>Values 匹配值集合,Values 内任一命中即认为条件成立(OR 语义)</p><p>入参限制:单项 1~1024 字节,最多 100 条</p>
16886
+ :rtype: list of str
16887
+ """
16888
+ return self._Values
16889
+
16890
+ @Values.setter
16891
+ def Values(self, Values):
16892
+ self._Values = Values
16893
+
16894
+
16895
+ def _deserialize(self, params):
16896
+ self._Target = params.get("Target")
16897
+ self._MatchType = params.get("MatchType")
16898
+ self._Values = params.get("Values")
16899
+ memeber_set = set(params.keys())
16900
+ for name, value in vars(self).items():
16901
+ property_name = name[1:]
16902
+ if property_name in memeber_set:
16903
+ memeber_set.remove(property_name)
16904
+ if len(memeber_set) > 0:
16905
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16906
+
16907
+
16908
+
16425
16909
  class HpaPolicy(AbstractModel):
16426
16910
  r"""扩缩容策略
16427
16911
 
@@ -19323,6 +19807,85 @@ class ModifyDatabaseACLResponse(AbstractModel):
19323
19807
  self._RequestId = params.get("RequestId")
19324
19808
 
19325
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
+
19326
19889
  class ModifyEnvPlanRequest(AbstractModel):
19327
19890
  r"""ModifyEnvPlan请求参数结构体
19328
19891
 
@@ -19769,6 +20332,205 @@ class ModifyLoginConfigResponse(AbstractModel):
19769
20332
  self._RequestId = params.get("RequestId")
19770
20333
 
19771
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
+
19772
20534
  class ModifyProviderRequest(AbstractModel):
19773
20535
  r"""ModifyProvider请求参数结构体
19774
20536
 
@@ -1380,7 +1380,7 @@ class TcbClient(AbstractClient):
1380
1380
 
1381
1381
 
1382
1382
  def DescribeHTTPServiceRoute(self, request):
1383
- r"""本接口DescribeHTTPServiceRoute用于查询环境下HTTP访问服务路由信息。可通过Filters过滤。如果不存在不会返回错误。HTTP访问服务提供了默认域名,通过本接口可直接获取默认域名。
1383
+ r"""本接口DescribeHTTPServiceRoute用于查询环境下HTTP访问服务路由信息。可通过Filters过滤。如果不存在不会返回错误。HTTP访问服务提供了默认域名,通过本接口可直接获取默认域名。前置需已开通 HTTP 访问服务;调用CreateHTTPServiceRoute或者ModifyHTTPServiceRoute后可使用本接口查询创建或者修改结果
1384
1384
 
1385
1385
  :param request: Request instance for DescribeHTTPServiceRoute.
1386
1386
  :type request: :class:`tencentcloud.tcb.v20180608.models.DescribeHTTPServiceRouteRequest`
@@ -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 重新获取端点配置。
@@ -1109,7 +1109,7 @@ class TcbClient(AbstractClient):
1109
1109
  opts: Dict = None,
1110
1110
  ) -> models.DescribeHTTPServiceRouteResponse:
1111
1111
  """
1112
- 本接口DescribeHTTPServiceRoute用于查询环境下HTTP访问服务路由信息。可通过Filters过滤。如果不存在不会返回错误。HTTP访问服务提供了默认域名,通过本接口可直接获取默认域名。
1112
+ 本接口DescribeHTTPServiceRoute用于查询环境下HTTP访问服务路由信息。可通过Filters过滤。如果不存在不会返回错误。HTTP访问服务提供了默认域名,通过本接口可直接获取默认域名。前置需已开通 HTTP 访问服务;调用CreateHTTPServiceRoute或者ModifyHTTPServiceRoute后可使用本接口查询创建或者修改结果
1113
1113
  """
1114
1114
 
1115
1115
  kwargs = {}
@@ -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.164
3
+ Version: 3.1.169
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.164
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.169
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.169
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.164