tencentcloud-sdk-python-postgres 3.1.143__tar.gz → 3.1.152__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_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/setup.py +1 -1
  3. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud/postgres/v20170312/models.py +86 -60
  5. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_postgres-3.1.152/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_postgres-3.1.143/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/README.rst +0 -0
  9. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud/postgres/__init__.py +0 -0
  11. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud/postgres/v20170312/__init__.py +0 -0
  12. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
  14. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud/postgres/v20170312/postgres_client_async.py +0 -0
  15. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_postgres-3.1.143 → tencentcloud_sdk_python_postgres-3.1.152}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.1.143
3
+ Version: 3.1.152
4
4
  Summary: Tencent Cloud Postgres 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.143
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.152
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-postgres',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.143,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.152,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Postgres SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.143'
17
+ __version__ = '3.1.152'
@@ -4510,7 +4510,7 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
4510
4510
  :type ActivityId: int
4511
4511
  :param _ReadOnlyGroupId: <p>只读组ID。</p>
4512
4512
  :type ReadOnlyGroupId: str
4513
- :param _TagList: <p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p>
4513
+ :param _TagList: <p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p><p>当前字段未完整支持多个tag形式,不推荐使用,建议使用新字段Tags</p>
4514
4514
  :type TagList: :class:`tencentcloud.postgres.v20170312.models.Tag`
4515
4515
  :param _SecurityGroupIds: <p>实例所属安全组,该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a> 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。</p>
4516
4516
  :type SecurityGroupIds: list of str
@@ -4524,6 +4524,8 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
4524
4524
  :type DedicatedClusterId: str
4525
4525
  :param _DeletionProtection: <p>实例是否开启删除保护: true-开启删除保护;false-关闭删除保护。</p>
4526
4526
  :type DeletionProtection: bool
4527
+ :param _Tags: <p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p>
4528
+ :type Tags: list of Tag
4527
4529
  """
4528
4530
  self._Zone = None
4529
4531
  self._MasterDBInstanceId = None
@@ -4547,6 +4549,7 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
4547
4549
  self._DBVersion = None
4548
4550
  self._DedicatedClusterId = None
4549
4551
  self._DeletionProtection = None
4552
+ self._Tags = None
4550
4553
 
4551
4554
  @property
4552
4555
  def Zone(self):
@@ -4715,7 +4718,7 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
4715
4718
 
4716
4719
  @property
4717
4720
  def TagList(self):
4718
- r"""<p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p>
4721
+ r"""<p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p><p>当前字段未完整支持多个tag形式,不推荐使用,建议使用新字段Tags</p>
4719
4722
  :rtype: :class:`tencentcloud.postgres.v20170312.models.Tag`
4720
4723
  """
4721
4724
  return self._TagList
@@ -4794,6 +4797,17 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
4794
4797
  def DeletionProtection(self, DeletionProtection):
4795
4798
  self._DeletionProtection = DeletionProtection
4796
4799
 
4800
+ @property
4801
+ def Tags(self):
4802
+ r"""<p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p>
4803
+ :rtype: list of Tag
4804
+ """
4805
+ return self._Tags
4806
+
4807
+ @Tags.setter
4808
+ def Tags(self, Tags):
4809
+ self._Tags = Tags
4810
+
4797
4811
 
4798
4812
  def _deserialize(self, params):
4799
4813
  self._Zone = params.get("Zone")
@@ -4820,6 +4834,12 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
4820
4834
  self._DBVersion = params.get("DBVersion")
4821
4835
  self._DedicatedClusterId = params.get("DedicatedClusterId")
4822
4836
  self._DeletionProtection = params.get("DeletionProtection")
4837
+ if params.get("Tags") is not None:
4838
+ self._Tags = []
4839
+ for item in params.get("Tags"):
4840
+ obj = Tag()
4841
+ obj._deserialize(item)
4842
+ self._Tags.append(obj)
4823
4843
  memeber_set = set(params.keys())
4824
4844
  for name, value in vars(self).items():
4825
4845
  property_name = name[1:]
@@ -13762,21 +13782,21 @@ class DescribeTasksRequest(AbstractModel):
13762
13782
 
13763
13783
  def __init__(self):
13764
13784
  r"""
13765
- :param _TaskId: 按照任务ID进行查询。其余云API中返回的FlowId和TaskId等价。
13785
+ :param _TaskId: <p>按照任务ID进行查询。其余云API中返回的FlowId和TaskId等价。</p>
13766
13786
  :type TaskId: int
13767
- :param _DBInstanceId: 按照数据库实例ID进行查询。
13787
+ :param _DBInstanceId: <p>按照数据库实例ID进行查询。</p>
13768
13788
  :type DBInstanceId: str
13769
- :param _MinStartTime: 任务的最早开始时间,形如2024-08-23 00:00:00,默认只展示180天内的数据。
13789
+ :param _MinStartTime: <p>任务的最早开始时间,形如2024-08-23 00:00:00,默认只展示180天内的数据。</p>
13770
13790
  :type MinStartTime: str
13771
- :param _MaxStartTime: 任务的最晚开始时间,形如2024-08-23 00:00:00,默认为当前时间。
13791
+ :param _MaxStartTime: <p>任务的最晚开始时间,形如2024-08-23 00:00:00,默认为当前时间。</p>
13772
13792
  :type MaxStartTime: str
13773
- :param _Limit: 每页显示数量,取值范围为1-100,默认为返回20条。
13793
+ :param _Limit: <p>每页显示数量,取值范围为1-100,默认为返回20条。</p>
13774
13794
  :type Limit: int
13775
- :param _Offset: 数据偏移量,从0开始。
13795
+ :param _Offset: <p>数据偏移量,从0开始。</p>
13776
13796
  :type Offset: int
13777
- :param _OrderBy: 排序字段,支持StartTime,EndTime,默认为StartTime
13797
+ :param _OrderBy: <p>排序字段,支持StartTime,EndTime,默认为StartTime。</p>
13778
13798
  :type OrderBy: str
13779
- :param _OrderByType: 排序方式,包括升序:asc,降序:desc,默认为desc
13799
+ :param _OrderByType: <p>排序方式,包括升序:asc,降序:desc,默认为desc。</p>
13780
13800
  :type OrderByType: str
13781
13801
  """
13782
13802
  self._TaskId = None
@@ -13790,7 +13810,7 @@ class DescribeTasksRequest(AbstractModel):
13790
13810
 
13791
13811
  @property
13792
13812
  def TaskId(self):
13793
- r"""按照任务ID进行查询。其余云API中返回的FlowId和TaskId等价。
13813
+ r"""<p>按照任务ID进行查询。其余云API中返回的FlowId和TaskId等价。</p>
13794
13814
  :rtype: int
13795
13815
  """
13796
13816
  return self._TaskId
@@ -13801,7 +13821,7 @@ class DescribeTasksRequest(AbstractModel):
13801
13821
 
13802
13822
  @property
13803
13823
  def DBInstanceId(self):
13804
- r"""按照数据库实例ID进行查询。
13824
+ r"""<p>按照数据库实例ID进行查询。</p>
13805
13825
  :rtype: str
13806
13826
  """
13807
13827
  return self._DBInstanceId
@@ -13812,7 +13832,7 @@ class DescribeTasksRequest(AbstractModel):
13812
13832
 
13813
13833
  @property
13814
13834
  def MinStartTime(self):
13815
- r"""任务的最早开始时间,形如2024-08-23 00:00:00,默认只展示180天内的数据。
13835
+ r"""<p>任务的最早开始时间,形如2024-08-23 00:00:00,默认只展示180天内的数据。</p>
13816
13836
  :rtype: str
13817
13837
  """
13818
13838
  return self._MinStartTime
@@ -13823,7 +13843,7 @@ class DescribeTasksRequest(AbstractModel):
13823
13843
 
13824
13844
  @property
13825
13845
  def MaxStartTime(self):
13826
- r"""任务的最晚开始时间,形如2024-08-23 00:00:00,默认为当前时间。
13846
+ r"""<p>任务的最晚开始时间,形如2024-08-23 00:00:00,默认为当前时间。</p>
13827
13847
  :rtype: str
13828
13848
  """
13829
13849
  return self._MaxStartTime
@@ -13834,7 +13854,7 @@ class DescribeTasksRequest(AbstractModel):
13834
13854
 
13835
13855
  @property
13836
13856
  def Limit(self):
13837
- r"""每页显示数量,取值范围为1-100,默认为返回20条。
13857
+ r"""<p>每页显示数量,取值范围为1-100,默认为返回20条。</p>
13838
13858
  :rtype: int
13839
13859
  """
13840
13860
  return self._Limit
@@ -13845,7 +13865,7 @@ class DescribeTasksRequest(AbstractModel):
13845
13865
 
13846
13866
  @property
13847
13867
  def Offset(self):
13848
- r"""数据偏移量,从0开始。
13868
+ r"""<p>数据偏移量,从0开始。</p>
13849
13869
  :rtype: int
13850
13870
  """
13851
13871
  return self._Offset
@@ -13856,7 +13876,7 @@ class DescribeTasksRequest(AbstractModel):
13856
13876
 
13857
13877
  @property
13858
13878
  def OrderBy(self):
13859
- r"""排序字段,支持StartTime,EndTime,默认为StartTime
13879
+ r"""<p>排序字段,支持StartTime,EndTime,默认为StartTime。</p>
13860
13880
  :rtype: str
13861
13881
  """
13862
13882
  return self._OrderBy
@@ -13867,7 +13887,7 @@ class DescribeTasksRequest(AbstractModel):
13867
13887
 
13868
13888
  @property
13869
13889
  def OrderByType(self):
13870
- r"""排序方式,包括升序:asc,降序:desc,默认为desc
13890
+ r"""<p>排序方式,包括升序:asc,降序:desc,默认为desc。</p>
13871
13891
  :rtype: str
13872
13892
  """
13873
13893
  return self._OrderByType
@@ -13903,9 +13923,9 @@ class DescribeTasksResponse(AbstractModel):
13903
13923
 
13904
13924
  def __init__(self):
13905
13925
  r"""
13906
- :param _TotalCount: 查询到的任务数量
13926
+ :param _TotalCount: <p>查询到的任务数量</p>
13907
13927
  :type TotalCount: int
13908
- :param _TaskSet: 任务信息列表
13928
+ :param _TaskSet: <p>任务信息列表</p>
13909
13929
  :type TaskSet: list of TaskSet
13910
13930
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13911
13931
  :type RequestId: str
@@ -13916,7 +13936,7 @@ class DescribeTasksResponse(AbstractModel):
13916
13936
 
13917
13937
  @property
13918
13938
  def TotalCount(self):
13919
- r"""查询到的任务数量
13939
+ r"""<p>查询到的任务数量</p>
13920
13940
  :rtype: int
13921
13941
  """
13922
13942
  return self._TotalCount
@@ -13927,7 +13947,7 @@ class DescribeTasksResponse(AbstractModel):
13927
13947
 
13928
13948
  @property
13929
13949
  def TaskSet(self):
13930
- r"""任务信息列表
13950
+ r"""<p>任务信息列表</p>
13931
13951
  :rtype: list of TaskSet
13932
13952
  """
13933
13953
  return self._TaskSet
@@ -17919,33 +17939,28 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
17919
17939
 
17920
17940
  def __init__(self):
17921
17941
  r"""
17922
- :param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
17942
+ :param _DBInstanceId: <p>实例ID,形如:postgres-6bwgamo3。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
17923
17943
  :type DBInstanceId: str
17924
- :param _Memory: 修改后的实例内存大小,单位GiB。
17944
+ :param _Memory: <p>修改后的实例内存大小,单位GB。</p>
17925
17945
  :type Memory: int
17926
- :param _Storage: 修改后的实例磁盘大小,单位GiB。该参数的设置步长为10
17946
+ :param _Storage: <p>修改后的实例磁盘大小,单位GB。该参数的设置步长为10。</p>
17927
17947
  :type Storage: int
17928
- :param _AutoVoucher: 是否自动使用代金券:
17929
- <li>0:否</li>
17930
- <li>1:是</li>
17931
- 默认值:0
17948
+ :param _AutoVoucher: <p>是否自动使用代金券:</p><li>0:否</li><li>1:是</li>默认值:0
17932
17949
  :type AutoVoucher: int
17933
- :param _VoucherIds: 代金券ID列表,目前仅支持指定一张代金券。
17950
+ :param _VoucherIds: <p>代金券ID列表,目前仅支持指定一张代金券。</p>
17934
17951
  :type VoucherIds: list of str
17935
- :param _ActivityId: 活动ID
17952
+ :param _ActivityId: <p>活动ID。</p>
17936
17953
  :type ActivityId: int
17937
- :param _SwitchTag: 指定实例配置完成变更后的切换时间。
17938
- <li>0:立即切换 </li>
17939
- <li>1:指定时间切换</li>
17940
- <li>2:维护时间窗口内</li>切换
17941
- 默认值:0
17954
+ :param _SwitchTag: <p>指定实例配置完成变更后的切换时间。</p><li>0:立即切换 </li><li>1:指定时间切换</li><li>2:维护时间窗口内</li>切换默认值:0
17942
17955
  :type SwitchTag: int
17943
- :param _SwitchStartTime: 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
17956
+ :param _SwitchStartTime: <p>切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。</p>
17944
17957
  :type SwitchStartTime: str
17945
- :param _SwitchEndTime: 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。
17958
+ :param _SwitchEndTime: <p>切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。</p>
17946
17959
  :type SwitchEndTime: str
17947
- :param _Cpu: 修改后的实例CPU大小,单位Core。不填写该参数时,默认根据Memory确定Cpu大小。如Memory为2,支持的规格有1核2GiB,则不传入Cpu时,Cpu默认为1
17960
+ :param _Cpu: <p>修改后的实例CPU大小,单位Core。不填写该参数时,默认根据Memory确定Cpu大小。如Memory为2,支持的规格有1核2GB,则不传入Cpu时,Cpu默认为1。</p>
17948
17961
  :type Cpu: int
17962
+ :param _SyncModifyParams: <p>变配时同步修改的参数列表</p>
17963
+ :type SyncModifyParams: list of ParamEntry
17949
17964
  """
17950
17965
  self._DBInstanceId = None
17951
17966
  self._Memory = None
@@ -17957,10 +17972,11 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
17957
17972
  self._SwitchStartTime = None
17958
17973
  self._SwitchEndTime = None
17959
17974
  self._Cpu = None
17975
+ self._SyncModifyParams = None
17960
17976
 
17961
17977
  @property
17962
17978
  def DBInstanceId(self):
17963
- r"""实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
17979
+ r"""<p>实例ID,形如:postgres-6bwgamo3。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
17964
17980
  :rtype: str
17965
17981
  """
17966
17982
  return self._DBInstanceId
@@ -17971,7 +17987,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
17971
17987
 
17972
17988
  @property
17973
17989
  def Memory(self):
17974
- r"""修改后的实例内存大小,单位GiB。
17990
+ r"""<p>修改后的实例内存大小,单位GB。</p>
17975
17991
  :rtype: int
17976
17992
  """
17977
17993
  return self._Memory
@@ -17982,7 +17998,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
17982
17998
 
17983
17999
  @property
17984
18000
  def Storage(self):
17985
- r"""修改后的实例磁盘大小,单位GiB。该参数的设置步长为10
18001
+ r"""<p>修改后的实例磁盘大小,单位GB。该参数的设置步长为10。</p>
17986
18002
  :rtype: int
17987
18003
  """
17988
18004
  return self._Storage
@@ -17993,10 +18009,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
17993
18009
 
17994
18010
  @property
17995
18011
  def AutoVoucher(self):
17996
- r"""是否自动使用代金券:
17997
- <li>0:否</li>
17998
- <li>1:是</li>
17999
- 默认值:0
18012
+ r"""<p>是否自动使用代金券:</p><li>0:否</li><li>1:是</li>默认值:0
18000
18013
  :rtype: int
18001
18014
  """
18002
18015
  return self._AutoVoucher
@@ -18007,7 +18020,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
18007
18020
 
18008
18021
  @property
18009
18022
  def VoucherIds(self):
18010
- r"""代金券ID列表,目前仅支持指定一张代金券。
18023
+ r"""<p>代金券ID列表,目前仅支持指定一张代金券。</p>
18011
18024
  :rtype: list of str
18012
18025
  """
18013
18026
  return self._VoucherIds
@@ -18018,7 +18031,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
18018
18031
 
18019
18032
  @property
18020
18033
  def ActivityId(self):
18021
- r"""活动ID
18034
+ r"""<p>活动ID。</p>
18022
18035
  :rtype: int
18023
18036
  """
18024
18037
  return self._ActivityId
@@ -18029,11 +18042,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
18029
18042
 
18030
18043
  @property
18031
18044
  def SwitchTag(self):
18032
- r"""指定实例配置完成变更后的切换时间。
18033
- <li>0:立即切换 </li>
18034
- <li>1:指定时间切换</li>
18035
- <li>2:维护时间窗口内</li>切换
18036
- 默认值:0
18045
+ r"""<p>指定实例配置完成变更后的切换时间。</p><li>0:立即切换 </li><li>1:指定时间切换</li><li>2:维护时间窗口内</li>切换默认值:0
18037
18046
  :rtype: int
18038
18047
  """
18039
18048
  return self._SwitchTag
@@ -18044,7 +18053,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
18044
18053
 
18045
18054
  @property
18046
18055
  def SwitchStartTime(self):
18047
- r"""切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
18056
+ r"""<p>切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。</p>
18048
18057
  :rtype: str
18049
18058
  """
18050
18059
  return self._SwitchStartTime
@@ -18055,7 +18064,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
18055
18064
 
18056
18065
  @property
18057
18066
  def SwitchEndTime(self):
18058
- r"""切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。
18067
+ r"""<p>切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。</p>
18059
18068
  :rtype: str
18060
18069
  """
18061
18070
  return self._SwitchEndTime
@@ -18066,7 +18075,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
18066
18075
 
18067
18076
  @property
18068
18077
  def Cpu(self):
18069
- r"""修改后的实例CPU大小,单位Core。不填写该参数时,默认根据Memory确定Cpu大小。如Memory为2,支持的规格有1核2GiB,则不传入Cpu时,Cpu默认为1
18078
+ r"""<p>修改后的实例CPU大小,单位Core。不填写该参数时,默认根据Memory确定Cpu大小。如Memory为2,支持的规格有1核2GB,则不传入Cpu时,Cpu默认为1。</p>
18070
18079
  :rtype: int
18071
18080
  """
18072
18081
  return self._Cpu
@@ -18075,6 +18084,17 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
18075
18084
  def Cpu(self, Cpu):
18076
18085
  self._Cpu = Cpu
18077
18086
 
18087
+ @property
18088
+ def SyncModifyParams(self):
18089
+ r"""<p>变配时同步修改的参数列表</p>
18090
+ :rtype: list of ParamEntry
18091
+ """
18092
+ return self._SyncModifyParams
18093
+
18094
+ @SyncModifyParams.setter
18095
+ def SyncModifyParams(self, SyncModifyParams):
18096
+ self._SyncModifyParams = SyncModifyParams
18097
+
18078
18098
 
18079
18099
  def _deserialize(self, params):
18080
18100
  self._DBInstanceId = params.get("DBInstanceId")
@@ -18087,6 +18107,12 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
18087
18107
  self._SwitchStartTime = params.get("SwitchStartTime")
18088
18108
  self._SwitchEndTime = params.get("SwitchEndTime")
18089
18109
  self._Cpu = params.get("Cpu")
18110
+ if params.get("SyncModifyParams") is not None:
18111
+ self._SyncModifyParams = []
18112
+ for item in params.get("SyncModifyParams"):
18113
+ obj = ParamEntry()
18114
+ obj._deserialize(item)
18115
+ self._SyncModifyParams.append(obj)
18090
18116
  memeber_set = set(params.keys())
18091
18117
  for name, value in vars(self).items():
18092
18118
  property_name = name[1:]
@@ -18104,9 +18130,9 @@ class ModifyDBInstanceSpecResponse(AbstractModel):
18104
18130
 
18105
18131
  def __init__(self):
18106
18132
  r"""
18107
- :param _DealName: 订单号。
18133
+ :param _DealName: <p>订单号。</p>
18108
18134
  :type DealName: str
18109
- :param _BillId: 冻结流水号。
18135
+ :param _BillId: <p>冻结流水号。</p>
18110
18136
  :type BillId: str
18111
18137
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18112
18138
  :type RequestId: str
@@ -18117,7 +18143,7 @@ class ModifyDBInstanceSpecResponse(AbstractModel):
18117
18143
 
18118
18144
  @property
18119
18145
  def DealName(self):
18120
- r"""订单号。
18146
+ r"""<p>订单号。</p>
18121
18147
  :rtype: str
18122
18148
  """
18123
18149
  return self._DealName
@@ -18128,7 +18154,7 @@ class ModifyDBInstanceSpecResponse(AbstractModel):
18128
18154
 
18129
18155
  @property
18130
18156
  def BillId(self):
18131
- r"""冻结流水号。
18157
+ r"""<p>冻结流水号。</p>
18132
18158
  :rtype: str
18133
18159
  """
18134
18160
  return self._BillId
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.1.143
3
+ Version: 3.1.152
4
4
  Summary: Tencent Cloud Postgres 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.143
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.152
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.152
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.143