tencentcloud-sdk-python-cynosdb 3.1.10__tar.gz → 3.1.31__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_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud/cynosdb/v20190107/models.py +187 -50
  5. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud_sdk_python_cynosdb.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cynosdb-3.1.31/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cynosdb-3.1.10/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud/cynosdb/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud/cynosdb/v20190107/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud/cynosdb/v20190107/cynosdb_client.py +0 -0
  13. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud/cynosdb/v20190107/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud_sdk_python_cynosdb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud_sdk_python_cynosdb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cynosdb-3.1.10 → tencentcloud_sdk_python_cynosdb-3.1.31}/tencentcloud_sdk_python_cynosdb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.1.10
3
+ Version: 3.1.31
4
4
  Summary: Tencent Cloud Cynosdb 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.10
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.31
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-cynosdb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.10,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.31,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cynosdb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.10'
17
+ __version__ = '3.1.31'
@@ -4547,10 +4547,12 @@ class ClusterInstanceDetail(AbstractModel):
4547
4547
  :param _InstanceDeviceType: 实例机器类型
4548
4548
  :type InstanceDeviceType: str
4549
4549
  :param _InstanceStorageType: 实例存储类型
4550
+ 说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
4550
4551
  :type InstanceStorageType: str
4551
4552
  :param _DbMode: 数据库类型
4552
4553
  :type DbMode: str
4553
4554
  :param _NodeList: 节点列表
4555
+ 说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
4554
4556
  :type NodeList: list of str
4555
4557
  """
4556
4558
  self._InstanceId = None
@@ -4740,6 +4742,7 @@ class ClusterInstanceDetail(AbstractModel):
4740
4742
  @property
4741
4743
  def InstanceStorageType(self):
4742
4744
  r"""实例存储类型
4745
+ 说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
4743
4746
  :rtype: str
4744
4747
  """
4745
4748
  return self._InstanceStorageType
@@ -4762,6 +4765,7 @@ class ClusterInstanceDetail(AbstractModel):
4762
4765
  @property
4763
4766
  def NodeList(self):
4764
4767
  r"""节点列表
4768
+ 说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
4765
4769
  :rtype: list of str
4766
4770
  """
4767
4771
  return self._NodeList
@@ -6300,6 +6304,8 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
6300
6304
  :type AutoArchive: str
6301
6305
  :param _AutoArchiveDelayHours: 暂停后的归档处理时间
6302
6306
  :type AutoArchiveDelayHours: int
6307
+ :param _CynosVersion: 内核小版本号
6308
+ :type CynosVersion: str
6303
6309
  """
6304
6310
  self._Zone = None
6305
6311
  self._VpcId = None
@@ -6346,6 +6352,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
6346
6352
  self._ProxyConfig = None
6347
6353
  self._AutoArchive = None
6348
6354
  self._AutoArchiveDelayHours = None
6355
+ self._CynosVersion = None
6349
6356
 
6350
6357
  @property
6351
6358
  def Zone(self):
@@ -6866,6 +6873,17 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
6866
6873
  def AutoArchiveDelayHours(self, AutoArchiveDelayHours):
6867
6874
  self._AutoArchiveDelayHours = AutoArchiveDelayHours
6868
6875
 
6876
+ @property
6877
+ def CynosVersion(self):
6878
+ r"""内核小版本号
6879
+ :rtype: str
6880
+ """
6881
+ return self._CynosVersion
6882
+
6883
+ @CynosVersion.setter
6884
+ def CynosVersion(self, CynosVersion):
6885
+ self._CynosVersion = CynosVersion
6886
+
6869
6887
 
6870
6888
  def _deserialize(self, params):
6871
6889
  self._Zone = params.get("Zone")
@@ -6930,6 +6948,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
6930
6948
  self._ProxyConfig._deserialize(params.get("ProxyConfig"))
6931
6949
  self._AutoArchive = params.get("AutoArchive")
6932
6950
  self._AutoArchiveDelayHours = params.get("AutoArchiveDelayHours")
6951
+ self._CynosVersion = params.get("CynosVersion")
6933
6952
  memeber_set = set(params.keys())
6934
6953
  for name, value in vars(self).items():
6935
6954
  property_name = name[1:]
@@ -7831,48 +7850,60 @@ class CreateProxyEndPointRequest(AbstractModel):
7831
7850
 
7832
7851
  def __init__(self):
7833
7852
  r"""
7834
- :param _ClusterId: 集群ID
7853
+ :param _ClusterId: 集群 ID
7835
7854
  :type ClusterId: str
7836
- :param _UniqueVpcId: 私有网络ID,默认与集群私有网络ID保持一致
7855
+ :param _UniqueVpcId: 私有网络 ID,默认与集群私有网络 ID 保持一致。
7837
7856
  :type UniqueVpcId: str
7838
- :param _UniqueSubnetId: 私有网络子网ID,默认与集群子网ID保持一致
7857
+ :param _UniqueSubnetId: 私有网络子网 ID,默认与集群子网 ID 保持一致。
7839
7858
  :type UniqueSubnetId: str
7840
- :param _ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池 )
7859
+ :param _ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池)。
7841
7860
  :type ConnectionPoolType: str
7842
- :param _OpenConnectionPool: 是否开启连接池,yes-开启,no-不开启
7861
+ :param _OpenConnectionPool: 是否开启连接池。
7862
+ yes:表示开启。
7863
+ no:表示不开启。
7843
7864
  :type OpenConnectionPool: str
7844
- :param _ConnectionPoolTimeOut: 连接池阈值:单位(秒)
7865
+ :param _ConnectionPoolTimeOut: 连接池阈值:单位(秒),可选范围:0 - 300秒。
7845
7866
  :type ConnectionPoolTimeOut: int
7846
- :param _SecurityGroupIds: 绑定的安全组ID数组
7867
+ :param _SecurityGroupIds: 绑定的安全组 ID 数组。
7847
7868
  :type SecurityGroupIds: list of str
7848
- :param _Description: 描述说明
7869
+ :param _Description: 描述说明。
7849
7870
  :type Description: str
7850
- :param _Vip: 想要绑定的vip信息,需与UniqueVpcId对应。
7871
+ :param _Vip: 想要绑定的 vip 信息,需与 UniqueVpcId 对应。
7851
7872
  :type Vip: str
7852
7873
  :param _WeightMode: 权重模式:
7853
- system-系统分配,custom-自定义
7874
+ system:系统分配。
7875
+ custom:自定义。
7854
7876
  :type WeightMode: str
7855
- :param _AutoAddRo: 是否自动添加只读实例,yes-是,no-不自动添加
7877
+ :param _AutoAddRo: 是否自动添加只读实例。
7878
+ yes:表示自动添加只读实例。
7879
+ no:表示不自动添加只读实例。
7856
7880
  :type AutoAddRo: str
7857
7881
  :param _FailOver: 是否开启故障转移。
7858
- yes:开启
7859
- no:不开启。
7860
- 数据库代理出现故障时,链接地址将会路由到主实例
7882
+ yes:表示开启,开启后,当数据库代理出现故障时,连接地址将会路由到主实例。
7883
+ no:表示不开启。
7884
+ 说明:
7885
+ 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
7861
7886
  :type FailOver: str
7862
7887
  :param _ConsistencyType: 一致性类型:
7863
- eventual,global,session
7888
+ eventual:最终一致性。
7889
+ global:全局一致性。
7890
+ session:会话一致性。
7891
+ 说明:
7892
+ 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
7864
7893
  :type ConsistencyType: str
7865
7894
  :param _RwType: 读写属性:
7866
- READWRITE,READONLY
7895
+ READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。
7896
+ READONLY:表示只读。
7867
7897
  :type RwType: str
7868
- :param _ConsistencyTimeOut: 一致性超时时间。取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待
7898
+ :param _ConsistencyTimeOut: 一致性超时时间。取值范围:0 ~ 1000000(微秒)。设置为0时,表示若只读实例出现延迟导致一致性策略不满足时,请求将一直等待。
7869
7899
  :type ConsistencyTimeOut: int
7870
- :param _TransSplit: 是否开启事务拆分。在一个事务中拆分读和写到不同的实例上去执行
7900
+ :param _TransSplit: 是否开启事务拆分。开启后,在一个事务中拆分读和写到不同的实例上去执行。
7871
7901
  :type TransSplit: bool
7872
- :param _AccessMode: 连接模式:
7873
- nearby,balance
7902
+ :param _AccessMode: 接入模式:
7903
+ nearby:就近访问。
7904
+ balance:均衡分配。
7874
7905
  :type AccessMode: str
7875
- :param _InstanceWeights: 实例权重
7906
+ :param _InstanceWeights: 实例权重。
7876
7907
  :type InstanceWeights: list of ProxyInstanceWeight
7877
7908
  """
7878
7909
  self._ClusterId = None
@@ -7896,7 +7927,7 @@ nearby,balance
7896
7927
 
7897
7928
  @property
7898
7929
  def ClusterId(self):
7899
- r"""集群ID
7930
+ r"""集群 ID
7900
7931
  :rtype: str
7901
7932
  """
7902
7933
  return self._ClusterId
@@ -7907,7 +7938,7 @@ nearby,balance
7907
7938
 
7908
7939
  @property
7909
7940
  def UniqueVpcId(self):
7910
- r"""私有网络ID,默认与集群私有网络ID保持一致
7941
+ r"""私有网络 ID,默认与集群私有网络 ID 保持一致。
7911
7942
  :rtype: str
7912
7943
  """
7913
7944
  return self._UniqueVpcId
@@ -7918,7 +7949,7 @@ nearby,balance
7918
7949
 
7919
7950
  @property
7920
7951
  def UniqueSubnetId(self):
7921
- r"""私有网络子网ID,默认与集群子网ID保持一致
7952
+ r"""私有网络子网 ID,默认与集群子网 ID 保持一致。
7922
7953
  :rtype: str
7923
7954
  """
7924
7955
  return self._UniqueSubnetId
@@ -7929,7 +7960,7 @@ nearby,balance
7929
7960
 
7930
7961
  @property
7931
7962
  def ConnectionPoolType(self):
7932
- r"""连接池类型:SessionConnectionPool(会话级别连接池 )
7963
+ r"""连接池类型:SessionConnectionPool(会话级别连接池)。
7933
7964
  :rtype: str
7934
7965
  """
7935
7966
  return self._ConnectionPoolType
@@ -7940,7 +7971,9 @@ nearby,balance
7940
7971
 
7941
7972
  @property
7942
7973
  def OpenConnectionPool(self):
7943
- r"""是否开启连接池,yes-开启,no-不开启
7974
+ r"""是否开启连接池。
7975
+ yes:表示开启。
7976
+ no:表示不开启。
7944
7977
  :rtype: str
7945
7978
  """
7946
7979
  return self._OpenConnectionPool
@@ -7951,7 +7984,7 @@ nearby,balance
7951
7984
 
7952
7985
  @property
7953
7986
  def ConnectionPoolTimeOut(self):
7954
- r"""连接池阈值:单位(秒)
7987
+ r"""连接池阈值:单位(秒),可选范围:0 - 300秒。
7955
7988
  :rtype: int
7956
7989
  """
7957
7990
  return self._ConnectionPoolTimeOut
@@ -7962,7 +7995,7 @@ nearby,balance
7962
7995
 
7963
7996
  @property
7964
7997
  def SecurityGroupIds(self):
7965
- r"""绑定的安全组ID数组
7998
+ r"""绑定的安全组 ID 数组。
7966
7999
  :rtype: list of str
7967
8000
  """
7968
8001
  return self._SecurityGroupIds
@@ -7973,7 +8006,7 @@ nearby,balance
7973
8006
 
7974
8007
  @property
7975
8008
  def Description(self):
7976
- r"""描述说明
8009
+ r"""描述说明。
7977
8010
  :rtype: str
7978
8011
  """
7979
8012
  return self._Description
@@ -7984,7 +8017,7 @@ nearby,balance
7984
8017
 
7985
8018
  @property
7986
8019
  def Vip(self):
7987
- r"""想要绑定的vip信息,需与UniqueVpcId对应。
8020
+ r"""想要绑定的 vip 信息,需与 UniqueVpcId 对应。
7988
8021
  :rtype: str
7989
8022
  """
7990
8023
  return self._Vip
@@ -7996,7 +8029,8 @@ nearby,balance
7996
8029
  @property
7997
8030
  def WeightMode(self):
7998
8031
  r"""权重模式:
7999
- system-系统分配,custom-自定义
8032
+ system:系统分配。
8033
+ custom:自定义。
8000
8034
  :rtype: str
8001
8035
  """
8002
8036
  return self._WeightMode
@@ -8007,7 +8041,9 @@ system-系统分配,custom-自定义
8007
8041
 
8008
8042
  @property
8009
8043
  def AutoAddRo(self):
8010
- r"""是否自动添加只读实例,yes-是,no-不自动添加
8044
+ r"""是否自动添加只读实例。
8045
+ yes:表示自动添加只读实例。
8046
+ no:表示不自动添加只读实例。
8011
8047
  :rtype: str
8012
8048
  """
8013
8049
  return self._AutoAddRo
@@ -8019,9 +8055,10 @@ system-系统分配,custom-自定义
8019
8055
  @property
8020
8056
  def FailOver(self):
8021
8057
  r"""是否开启故障转移。
8022
- yes:开启
8023
- no:不开启。
8024
- 数据库代理出现故障时,链接地址将会路由到主实例
8058
+ yes:表示开启,开启后,当数据库代理出现故障时,连接地址将会路由到主实例。
8059
+ no:表示不开启。
8060
+ 说明:
8061
+ 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
8025
8062
  :rtype: str
8026
8063
  """
8027
8064
  return self._FailOver
@@ -8033,7 +8070,11 @@ no:不开启。
8033
8070
  @property
8034
8071
  def ConsistencyType(self):
8035
8072
  r"""一致性类型:
8036
- eventual,global,session
8073
+ eventual:最终一致性。
8074
+ global:全局一致性。
8075
+ session:会话一致性。
8076
+ 说明:
8077
+ 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
8037
8078
  :rtype: str
8038
8079
  """
8039
8080
  return self._ConsistencyType
@@ -8045,7 +8086,8 @@ eventual,global,session
8045
8086
  @property
8046
8087
  def RwType(self):
8047
8088
  r"""读写属性:
8048
- READWRITE,READONLY
8089
+ READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。
8090
+ READONLY:表示只读。
8049
8091
  :rtype: str
8050
8092
  """
8051
8093
  return self._RwType
@@ -8056,7 +8098,7 @@ READWRITE,READONLY
8056
8098
 
8057
8099
  @property
8058
8100
  def ConsistencyTimeOut(self):
8059
- r"""一致性超时时间。取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待
8101
+ r"""一致性超时时间。取值范围:0 ~ 1000000(微秒)。设置为0时,表示若只读实例出现延迟导致一致性策略不满足时,请求将一直等待。
8060
8102
  :rtype: int
8061
8103
  """
8062
8104
  return self._ConsistencyTimeOut
@@ -8067,7 +8109,7 @@ READWRITE,READONLY
8067
8109
 
8068
8110
  @property
8069
8111
  def TransSplit(self):
8070
- r"""是否开启事务拆分。在一个事务中拆分读和写到不同的实例上去执行
8112
+ r"""是否开启事务拆分。开启后,在一个事务中拆分读和写到不同的实例上去执行。
8071
8113
  :rtype: bool
8072
8114
  """
8073
8115
  return self._TransSplit
@@ -8078,8 +8120,9 @@ READWRITE,READONLY
8078
8120
 
8079
8121
  @property
8080
8122
  def AccessMode(self):
8081
- r"""连接模式:
8082
- nearby,balance
8123
+ r"""接入模式:
8124
+ nearby:就近访问。
8125
+ balance:均衡分配。
8083
8126
  :rtype: str
8084
8127
  """
8085
8128
  return self._AccessMode
@@ -8090,7 +8133,7 @@ nearby,balance
8090
8133
 
8091
8134
  @property
8092
8135
  def InstanceWeights(self):
8093
- r"""实例权重
8136
+ r"""实例权重。
8094
8137
  :rtype: list of ProxyInstanceWeight
8095
8138
  """
8096
8139
  return self._InstanceWeights
@@ -8141,11 +8184,11 @@ class CreateProxyEndPointResponse(AbstractModel):
8141
8184
 
8142
8185
  def __init__(self):
8143
8186
  r"""
8144
- :param _FlowId: 异步流程ID
8187
+ :param _FlowId: 异步流程 ID
8145
8188
  :type FlowId: int
8146
- :param _TaskId: 异步任务ID
8189
+ :param _TaskId: 异步任务 ID
8147
8190
  :type TaskId: int
8148
- :param _ProxyGroupId: 数据库代理组ID
8191
+ :param _ProxyGroupId: 数据库代理组 ID
8149
8192
  :type ProxyGroupId: str
8150
8193
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8151
8194
  :type RequestId: str
@@ -8157,7 +8200,7 @@ class CreateProxyEndPointResponse(AbstractModel):
8157
8200
 
8158
8201
  @property
8159
8202
  def FlowId(self):
8160
- r"""异步流程ID
8203
+ r"""异步流程 ID
8161
8204
  :rtype: int
8162
8205
  """
8163
8206
  return self._FlowId
@@ -8168,7 +8211,7 @@ class CreateProxyEndPointResponse(AbstractModel):
8168
8211
 
8169
8212
  @property
8170
8213
  def TaskId(self):
8171
- r"""异步任务ID
8214
+ r"""异步任务 ID
8172
8215
  :rtype: int
8173
8216
  """
8174
8217
  return self._TaskId
@@ -8179,7 +8222,7 @@ class CreateProxyEndPointResponse(AbstractModel):
8179
8222
 
8180
8223
  @property
8181
8224
  def ProxyGroupId(self):
8182
- r"""数据库代理组ID
8225
+ r"""数据库代理组 ID
8183
8226
  :rtype: str
8184
8227
  """
8185
8228
  return self._ProxyGroupId
@@ -16169,7 +16212,7 @@ class DescribeBinlogsRequest(AbstractModel):
16169
16212
  :type EndTime: str
16170
16213
  :param _Offset: 偏移量
16171
16214
  :type Offset: int
16172
- :param _Limit: 限制条数
16215
+ :param _Limit: 限制条数,默认值为20
16173
16216
  :type Limit: int
16174
16217
  """
16175
16218
  self._ClusterId = None
@@ -16224,7 +16267,7 @@ class DescribeBinlogsRequest(AbstractModel):
16224
16267
 
16225
16268
  @property
16226
16269
  def Limit(self):
16227
- r"""限制条数
16270
+ r"""限制条数,默认值为20
16228
16271
  :rtype: int
16229
16272
  """
16230
16273
  return self._Limit
@@ -23615,6 +23658,14 @@ class GdnTaskInfo(AbstractModel):
23615
23658
  :type StandbyClusterId: str
23616
23659
  :param _StandbyClusterName: 从集群名称
23617
23660
  :type StandbyClusterName: str
23661
+ :param _ForceSwitchGdn: 是否已强切
23662
+ :type ForceSwitchGdn: str
23663
+ :param _Code: 返回码
23664
+ :type Code: int
23665
+ :param _Message: 提示信息
23666
+ :type Message: str
23667
+ :param _IsSupportForce: 是否支持强切
23668
+ :type IsSupportForce: str
23618
23669
  """
23619
23670
  self._GdnId = None
23620
23671
  self._GdnName = None
@@ -23623,6 +23674,10 @@ class GdnTaskInfo(AbstractModel):
23623
23674
  self._StandbyClusterRegion = None
23624
23675
  self._StandbyClusterId = None
23625
23676
  self._StandbyClusterName = None
23677
+ self._ForceSwitchGdn = None
23678
+ self._Code = None
23679
+ self._Message = None
23680
+ self._IsSupportForce = None
23626
23681
 
23627
23682
  @property
23628
23683
  def GdnId(self):
@@ -23701,6 +23756,50 @@ class GdnTaskInfo(AbstractModel):
23701
23756
  def StandbyClusterName(self, StandbyClusterName):
23702
23757
  self._StandbyClusterName = StandbyClusterName
23703
23758
 
23759
+ @property
23760
+ def ForceSwitchGdn(self):
23761
+ r"""是否已强切
23762
+ :rtype: str
23763
+ """
23764
+ return self._ForceSwitchGdn
23765
+
23766
+ @ForceSwitchGdn.setter
23767
+ def ForceSwitchGdn(self, ForceSwitchGdn):
23768
+ self._ForceSwitchGdn = ForceSwitchGdn
23769
+
23770
+ @property
23771
+ def Code(self):
23772
+ r"""返回码
23773
+ :rtype: int
23774
+ """
23775
+ return self._Code
23776
+
23777
+ @Code.setter
23778
+ def Code(self, Code):
23779
+ self._Code = Code
23780
+
23781
+ @property
23782
+ def Message(self):
23783
+ r"""提示信息
23784
+ :rtype: str
23785
+ """
23786
+ return self._Message
23787
+
23788
+ @Message.setter
23789
+ def Message(self, Message):
23790
+ self._Message = Message
23791
+
23792
+ @property
23793
+ def IsSupportForce(self):
23794
+ r"""是否支持强切
23795
+ :rtype: str
23796
+ """
23797
+ return self._IsSupportForce
23798
+
23799
+ @IsSupportForce.setter
23800
+ def IsSupportForce(self, IsSupportForce):
23801
+ self._IsSupportForce = IsSupportForce
23802
+
23704
23803
 
23705
23804
  def _deserialize(self, params):
23706
23805
  self._GdnId = params.get("GdnId")
@@ -23710,6 +23809,10 @@ class GdnTaskInfo(AbstractModel):
23710
23809
  self._StandbyClusterRegion = params.get("StandbyClusterRegion")
23711
23810
  self._StandbyClusterId = params.get("StandbyClusterId")
23712
23811
  self._StandbyClusterName = params.get("StandbyClusterName")
23812
+ self._ForceSwitchGdn = params.get("ForceSwitchGdn")
23813
+ self._Code = params.get("Code")
23814
+ self._Message = params.get("Message")
23815
+ self._IsSupportForce = params.get("IsSupportForce")
23713
23816
  memeber_set = set(params.keys())
23714
23817
  for name, value in vars(self).items():
23715
23818
  property_name = name[1:]
@@ -31219,6 +31322,8 @@ class ModifyServerlessStrategyRequest(AbstractModel):
31219
31322
  :type MaxRoCount: int
31220
31323
  :param _AutoArchive: 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
31221
31324
  :type AutoArchive: str
31325
+ :param _UpgradeType: 升级类型。 默认值:upgradeImmediate。 可选值: upgradeImmediate:立即完成修改 upgradeInMaintain:在维护时间窗口内完成修改
31326
+ :type UpgradeType: str
31222
31327
  """
31223
31328
  self._ClusterId = None
31224
31329
  self._AutoPause = None
@@ -31232,6 +31337,7 @@ class ModifyServerlessStrategyRequest(AbstractModel):
31232
31337
  self._MinRoCount = None
31233
31338
  self._MaxRoCount = None
31234
31339
  self._AutoArchive = None
31340
+ self._UpgradeType = None
31235
31341
 
31236
31342
  @property
31237
31343
  def ClusterId(self):
@@ -31367,6 +31473,17 @@ class ModifyServerlessStrategyRequest(AbstractModel):
31367
31473
  def AutoArchive(self, AutoArchive):
31368
31474
  self._AutoArchive = AutoArchive
31369
31475
 
31476
+ @property
31477
+ def UpgradeType(self):
31478
+ r"""升级类型。 默认值:upgradeImmediate。 可选值: upgradeImmediate:立即完成修改 upgradeInMaintain:在维护时间窗口内完成修改
31479
+ :rtype: str
31480
+ """
31481
+ return self._UpgradeType
31482
+
31483
+ @UpgradeType.setter
31484
+ def UpgradeType(self, UpgradeType):
31485
+ self._UpgradeType = UpgradeType
31486
+
31370
31487
 
31371
31488
  def _deserialize(self, params):
31372
31489
  self._ClusterId = params.get("ClusterId")
@@ -31381,6 +31498,7 @@ class ModifyServerlessStrategyRequest(AbstractModel):
31381
31498
  self._MinRoCount = params.get("MinRoCount")
31382
31499
  self._MaxRoCount = params.get("MaxRoCount")
31383
31500
  self._AutoArchive = params.get("AutoArchive")
31501
+ self._UpgradeType = params.get("UpgradeType")
31384
31502
  memeber_set = set(params.keys())
31385
31503
  for name, value in vars(self).items():
31386
31504
  property_name = name[1:]
@@ -31400,14 +31518,19 @@ class ModifyServerlessStrategyResponse(AbstractModel):
31400
31518
  r"""
31401
31519
  :param _FlowId: 异步流程id
31402
31520
  :type FlowId: int
31521
+ :param _TaskId: 任务id
31522
+ :type TaskId: int
31403
31523
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
31404
31524
  :type RequestId: str
31405
31525
  """
31406
31526
  self._FlowId = None
31527
+ self._TaskId = None
31407
31528
  self._RequestId = None
31408
31529
 
31409
31530
  @property
31410
31531
  def FlowId(self):
31532
+ warnings.warn("parameter `FlowId` is deprecated", DeprecationWarning)
31533
+
31411
31534
  r"""异步流程id
31412
31535
  :rtype: int
31413
31536
  """
@@ -31415,8 +31538,21 @@ class ModifyServerlessStrategyResponse(AbstractModel):
31415
31538
 
31416
31539
  @FlowId.setter
31417
31540
  def FlowId(self, FlowId):
31541
+ warnings.warn("parameter `FlowId` is deprecated", DeprecationWarning)
31542
+
31418
31543
  self._FlowId = FlowId
31419
31544
 
31545
+ @property
31546
+ def TaskId(self):
31547
+ r"""任务id
31548
+ :rtype: int
31549
+ """
31550
+ return self._TaskId
31551
+
31552
+ @TaskId.setter
31553
+ def TaskId(self, TaskId):
31554
+ self._TaskId = TaskId
31555
+
31420
31556
  @property
31421
31557
  def RequestId(self):
31422
31558
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -31431,6 +31567,7 @@ class ModifyServerlessStrategyResponse(AbstractModel):
31431
31567
 
31432
31568
  def _deserialize(self, params):
31433
31569
  self._FlowId = params.get("FlowId")
31570
+ self._TaskId = params.get("TaskId")
31434
31571
  self._RequestId = params.get("RequestId")
31435
31572
 
31436
31573
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.1.10
3
+ Version: 3.1.31
4
4
  Summary: Tencent Cloud Cynosdb 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.10
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.31
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.31
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.10