tencentcloud-sdk-python-cynosdb 3.1.14__py2.py3-none-any.whl → 3.1.16__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.14'
17
+ __version__ = '3.1.16'
@@ -7835,48 +7835,60 @@ class CreateProxyEndPointRequest(AbstractModel):
7835
7835
 
7836
7836
  def __init__(self):
7837
7837
  r"""
7838
- :param _ClusterId: 集群ID
7838
+ :param _ClusterId: 集群 ID
7839
7839
  :type ClusterId: str
7840
- :param _UniqueVpcId: 私有网络ID,默认与集群私有网络ID保持一致
7840
+ :param _UniqueVpcId: 私有网络 ID,默认与集群私有网络 ID 保持一致。
7841
7841
  :type UniqueVpcId: str
7842
- :param _UniqueSubnetId: 私有网络子网ID,默认与集群子网ID保持一致
7842
+ :param _UniqueSubnetId: 私有网络子网 ID,默认与集群子网 ID 保持一致。
7843
7843
  :type UniqueSubnetId: str
7844
- :param _ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池 )
7844
+ :param _ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池)。
7845
7845
  :type ConnectionPoolType: str
7846
- :param _OpenConnectionPool: 是否开启连接池,yes-开启,no-不开启
7846
+ :param _OpenConnectionPool: 是否开启连接池。
7847
+ yes:表示开启。
7848
+ no:表示不开启。
7847
7849
  :type OpenConnectionPool: str
7848
- :param _ConnectionPoolTimeOut: 连接池阈值:单位(秒)
7850
+ :param _ConnectionPoolTimeOut: 连接池阈值:单位(秒),可选范围:0 - 300秒。
7849
7851
  :type ConnectionPoolTimeOut: int
7850
- :param _SecurityGroupIds: 绑定的安全组ID数组
7852
+ :param _SecurityGroupIds: 绑定的安全组 ID 数组。
7851
7853
  :type SecurityGroupIds: list of str
7852
- :param _Description: 描述说明
7854
+ :param _Description: 描述说明。
7853
7855
  :type Description: str
7854
- :param _Vip: 想要绑定的vip信息,需与UniqueVpcId对应。
7856
+ :param _Vip: 想要绑定的 vip 信息,需与 UniqueVpcId 对应。
7855
7857
  :type Vip: str
7856
7858
  :param _WeightMode: 权重模式:
7857
- system-系统分配,custom-自定义
7859
+ system:系统分配。
7860
+ custom:自定义。
7858
7861
  :type WeightMode: str
7859
- :param _AutoAddRo: 是否自动添加只读实例,yes-是,no-不自动添加
7862
+ :param _AutoAddRo: 是否自动添加只读实例。
7863
+ yes:表示自动添加只读实例。
7864
+ no:表示不自动添加只读实例。
7860
7865
  :type AutoAddRo: str
7861
7866
  :param _FailOver: 是否开启故障转移。
7862
- yes:开启
7863
- no:不开启。
7864
- 数据库代理出现故障时,链接地址将会路由到主实例
7867
+ yes:表示开启,开启后,当数据库代理出现故障时,连接地址将会路由到主实例。
7868
+ no:表示不开启。
7869
+ 说明:
7870
+ 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
7865
7871
  :type FailOver: str
7866
7872
  :param _ConsistencyType: 一致性类型:
7867
- eventual,global,session
7873
+ eventual:最终一致性。
7874
+ global:全局一致性。
7875
+ session:会话一致性。
7876
+ 说明:
7877
+ 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
7868
7878
  :type ConsistencyType: str
7869
7879
  :param _RwType: 读写属性:
7870
- READWRITE,READONLY
7880
+ READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。
7881
+ READONLY:表示只读。
7871
7882
  :type RwType: str
7872
- :param _ConsistencyTimeOut: 一致性超时时间。取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待
7883
+ :param _ConsistencyTimeOut: 一致性超时时间。取值范围:0 ~ 1000000(微秒)。设置为0时,表示若只读实例出现延迟导致一致性策略不满足时,请求将一直等待。
7873
7884
  :type ConsistencyTimeOut: int
7874
- :param _TransSplit: 是否开启事务拆分。在一个事务中拆分读和写到不同的实例上去执行
7885
+ :param _TransSplit: 是否开启事务拆分。开启后,在一个事务中拆分读和写到不同的实例上去执行。
7875
7886
  :type TransSplit: bool
7876
- :param _AccessMode: 连接模式:
7877
- nearby,balance
7887
+ :param _AccessMode: 接入模式:
7888
+ nearby:就近访问。
7889
+ balance:均衡分配。
7878
7890
  :type AccessMode: str
7879
- :param _InstanceWeights: 实例权重
7891
+ :param _InstanceWeights: 实例权重。
7880
7892
  :type InstanceWeights: list of ProxyInstanceWeight
7881
7893
  """
7882
7894
  self._ClusterId = None
@@ -7900,7 +7912,7 @@ nearby,balance
7900
7912
 
7901
7913
  @property
7902
7914
  def ClusterId(self):
7903
- r"""集群ID
7915
+ r"""集群 ID
7904
7916
  :rtype: str
7905
7917
  """
7906
7918
  return self._ClusterId
@@ -7911,7 +7923,7 @@ nearby,balance
7911
7923
 
7912
7924
  @property
7913
7925
  def UniqueVpcId(self):
7914
- r"""私有网络ID,默认与集群私有网络ID保持一致
7926
+ r"""私有网络 ID,默认与集群私有网络 ID 保持一致。
7915
7927
  :rtype: str
7916
7928
  """
7917
7929
  return self._UniqueVpcId
@@ -7922,7 +7934,7 @@ nearby,balance
7922
7934
 
7923
7935
  @property
7924
7936
  def UniqueSubnetId(self):
7925
- r"""私有网络子网ID,默认与集群子网ID保持一致
7937
+ r"""私有网络子网 ID,默认与集群子网 ID 保持一致。
7926
7938
  :rtype: str
7927
7939
  """
7928
7940
  return self._UniqueSubnetId
@@ -7933,7 +7945,7 @@ nearby,balance
7933
7945
 
7934
7946
  @property
7935
7947
  def ConnectionPoolType(self):
7936
- r"""连接池类型:SessionConnectionPool(会话级别连接池 )
7948
+ r"""连接池类型:SessionConnectionPool(会话级别连接池)。
7937
7949
  :rtype: str
7938
7950
  """
7939
7951
  return self._ConnectionPoolType
@@ -7944,7 +7956,9 @@ nearby,balance
7944
7956
 
7945
7957
  @property
7946
7958
  def OpenConnectionPool(self):
7947
- r"""是否开启连接池,yes-开启,no-不开启
7959
+ r"""是否开启连接池。
7960
+ yes:表示开启。
7961
+ no:表示不开启。
7948
7962
  :rtype: str
7949
7963
  """
7950
7964
  return self._OpenConnectionPool
@@ -7955,7 +7969,7 @@ nearby,balance
7955
7969
 
7956
7970
  @property
7957
7971
  def ConnectionPoolTimeOut(self):
7958
- r"""连接池阈值:单位(秒)
7972
+ r"""连接池阈值:单位(秒),可选范围:0 - 300秒。
7959
7973
  :rtype: int
7960
7974
  """
7961
7975
  return self._ConnectionPoolTimeOut
@@ -7966,7 +7980,7 @@ nearby,balance
7966
7980
 
7967
7981
  @property
7968
7982
  def SecurityGroupIds(self):
7969
- r"""绑定的安全组ID数组
7983
+ r"""绑定的安全组 ID 数组。
7970
7984
  :rtype: list of str
7971
7985
  """
7972
7986
  return self._SecurityGroupIds
@@ -7977,7 +7991,7 @@ nearby,balance
7977
7991
 
7978
7992
  @property
7979
7993
  def Description(self):
7980
- r"""描述说明
7994
+ r"""描述说明。
7981
7995
  :rtype: str
7982
7996
  """
7983
7997
  return self._Description
@@ -7988,7 +8002,7 @@ nearby,balance
7988
8002
 
7989
8003
  @property
7990
8004
  def Vip(self):
7991
- r"""想要绑定的vip信息,需与UniqueVpcId对应。
8005
+ r"""想要绑定的 vip 信息,需与 UniqueVpcId 对应。
7992
8006
  :rtype: str
7993
8007
  """
7994
8008
  return self._Vip
@@ -8000,7 +8014,8 @@ nearby,balance
8000
8014
  @property
8001
8015
  def WeightMode(self):
8002
8016
  r"""权重模式:
8003
- system-系统分配,custom-自定义
8017
+ system:系统分配。
8018
+ custom:自定义。
8004
8019
  :rtype: str
8005
8020
  """
8006
8021
  return self._WeightMode
@@ -8011,7 +8026,9 @@ system-系统分配,custom-自定义
8011
8026
 
8012
8027
  @property
8013
8028
  def AutoAddRo(self):
8014
- r"""是否自动添加只读实例,yes-是,no-不自动添加
8029
+ r"""是否自动添加只读实例。
8030
+ yes:表示自动添加只读实例。
8031
+ no:表示不自动添加只读实例。
8015
8032
  :rtype: str
8016
8033
  """
8017
8034
  return self._AutoAddRo
@@ -8023,9 +8040,10 @@ system-系统分配,custom-自定义
8023
8040
  @property
8024
8041
  def FailOver(self):
8025
8042
  r"""是否开启故障转移。
8026
- yes:开启
8027
- no:不开启。
8028
- 数据库代理出现故障时,链接地址将会路由到主实例
8043
+ yes:表示开启,开启后,当数据库代理出现故障时,连接地址将会路由到主实例。
8044
+ no:表示不开启。
8045
+ 说明:
8046
+ 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
8029
8047
  :rtype: str
8030
8048
  """
8031
8049
  return self._FailOver
@@ -8037,7 +8055,11 @@ no:不开启。
8037
8055
  @property
8038
8056
  def ConsistencyType(self):
8039
8057
  r"""一致性类型:
8040
- eventual,global,session
8058
+ eventual:最终一致性。
8059
+ global:全局一致性。
8060
+ session:会话一致性。
8061
+ 说明:
8062
+ 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
8041
8063
  :rtype: str
8042
8064
  """
8043
8065
  return self._ConsistencyType
@@ -8049,7 +8071,8 @@ eventual,global,session
8049
8071
  @property
8050
8072
  def RwType(self):
8051
8073
  r"""读写属性:
8052
- READWRITE,READONLY
8074
+ READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。
8075
+ READONLY:表示只读。
8053
8076
  :rtype: str
8054
8077
  """
8055
8078
  return self._RwType
@@ -8060,7 +8083,7 @@ READWRITE,READONLY
8060
8083
 
8061
8084
  @property
8062
8085
  def ConsistencyTimeOut(self):
8063
- r"""一致性超时时间。取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待
8086
+ r"""一致性超时时间。取值范围:0 ~ 1000000(微秒)。设置为0时,表示若只读实例出现延迟导致一致性策略不满足时,请求将一直等待。
8064
8087
  :rtype: int
8065
8088
  """
8066
8089
  return self._ConsistencyTimeOut
@@ -8071,7 +8094,7 @@ READWRITE,READONLY
8071
8094
 
8072
8095
  @property
8073
8096
  def TransSplit(self):
8074
- r"""是否开启事务拆分。在一个事务中拆分读和写到不同的实例上去执行
8097
+ r"""是否开启事务拆分。开启后,在一个事务中拆分读和写到不同的实例上去执行。
8075
8098
  :rtype: bool
8076
8099
  """
8077
8100
  return self._TransSplit
@@ -8082,8 +8105,9 @@ READWRITE,READONLY
8082
8105
 
8083
8106
  @property
8084
8107
  def AccessMode(self):
8085
- r"""连接模式:
8086
- nearby,balance
8108
+ r"""接入模式:
8109
+ nearby:就近访问。
8110
+ balance:均衡分配。
8087
8111
  :rtype: str
8088
8112
  """
8089
8113
  return self._AccessMode
@@ -8094,7 +8118,7 @@ nearby,balance
8094
8118
 
8095
8119
  @property
8096
8120
  def InstanceWeights(self):
8097
- r"""实例权重
8121
+ r"""实例权重。
8098
8122
  :rtype: list of ProxyInstanceWeight
8099
8123
  """
8100
8124
  return self._InstanceWeights
@@ -8145,11 +8169,11 @@ class CreateProxyEndPointResponse(AbstractModel):
8145
8169
 
8146
8170
  def __init__(self):
8147
8171
  r"""
8148
- :param _FlowId: 异步流程ID
8172
+ :param _FlowId: 异步流程 ID
8149
8173
  :type FlowId: int
8150
- :param _TaskId: 异步任务ID
8174
+ :param _TaskId: 异步任务 ID
8151
8175
  :type TaskId: int
8152
- :param _ProxyGroupId: 数据库代理组ID
8176
+ :param _ProxyGroupId: 数据库代理组 ID
8153
8177
  :type ProxyGroupId: str
8154
8178
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8155
8179
  :type RequestId: str
@@ -8161,7 +8185,7 @@ class CreateProxyEndPointResponse(AbstractModel):
8161
8185
 
8162
8186
  @property
8163
8187
  def FlowId(self):
8164
- r"""异步流程ID
8188
+ r"""异步流程 ID
8165
8189
  :rtype: int
8166
8190
  """
8167
8191
  return self._FlowId
@@ -8172,7 +8196,7 @@ class CreateProxyEndPointResponse(AbstractModel):
8172
8196
 
8173
8197
  @property
8174
8198
  def TaskId(self):
8175
- r"""异步任务ID
8199
+ r"""异步任务 ID
8176
8200
  :rtype: int
8177
8201
  """
8178
8202
  return self._TaskId
@@ -8183,7 +8207,7 @@ class CreateProxyEndPointResponse(AbstractModel):
8183
8207
 
8184
8208
  @property
8185
8209
  def ProxyGroupId(self):
8186
- r"""数据库代理组ID
8210
+ r"""数据库代理组 ID
8187
8211
  :rtype: str
8188
8212
  """
8189
8213
  return self._ProxyGroupId
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.1.14
3
+ Version: 3.1.16
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.14
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.16
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=9pL4-x3v6m2bfNKXFlbP11UEYbY6yMhShaP0JD5EcQM,629
1
+ tencentcloud/__init__.py,sha256=o09rGt476818NfxhzsnQREQhNZY-hx5lZ9Q8h_wpjG4,629
2
2
  tencentcloud/cynosdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/cynosdb/v20190107/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/cynosdb/v20190107/cynosdb_client.py,sha256=t8amEvgIlrkna5tuDGQ79S3pLfSZBO_OUOgSAc8egVc,163382
5
5
  tencentcloud/cynosdb/v20190107/cynosdb_client_async.py,sha256=kKYcn5T2z4Enz9nQVGhphn6kmvxjIFmL1Eel4P3V5_U,110351
6
6
  tencentcloud/cynosdb/v20190107/errorcodes.py,sha256=ZCz5ORFBdJ06UJgk1R5bEpMrKHsGQdaCfaRT2FhVTuM,14432
7
- tencentcloud/cynosdb/v20190107/models.py,sha256=FVpOlDkFhyR3LzSG2AQl6d6AainOPTtoVHXbL13sAf8,1267599
8
- tencentcloud_sdk_python_cynosdb-3.1.14.dist-info/METADATA,sha256=CuvaLnjLAiArL-o96QexvRMKQv7cKknnSC_HfjZJbC4,1515
9
- tencentcloud_sdk_python_cynosdb-3.1.14.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
- tencentcloud_sdk_python_cynosdb-3.1.14.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_cynosdb-3.1.14.dist-info/RECORD,,
7
+ tencentcloud/cynosdb/v20190107/models.py,sha256=JlpIS1z5946YIGTgGIGYoiFNW0-fXVy321EcuudBNqg,1268821
8
+ tencentcloud_sdk_python_cynosdb-3.1.16.dist-info/METADATA,sha256=7s0yGrDNGtreu9PDKMDgQ2Nz9s86CMrXcwXPKbzCEvE,1515
9
+ tencentcloud_sdk_python_cynosdb-3.1.16.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
+ tencentcloud_sdk_python_cynosdb-3.1.16.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_cynosdb-3.1.16.dist-info/RECORD,,