tencentcloud-sdk-python-dcdb 3.1.8__tar.gz → 3.1.125__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_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud/dcdb/v20180411/models.py +92 -6
  6. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud_sdk_python_dcdb.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_dcdb-3.1.125/tencentcloud_sdk_python_dcdb.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_dcdb-3.1.8/tencentcloud_sdk_python_dcdb.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/README.rst +0 -0
  10. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud/dcdb/__init__.py +0 -0
  12. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud/dcdb/v20180411/__init__.py +0 -0
  13. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud/dcdb/v20180411/dcdb_client.py +0 -0
  14. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud/dcdb/v20180411/dcdb_client_async.py +0 -0
  15. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud_sdk_python_dcdb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud_sdk_python_dcdb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dcdb-3.1.8 → tencentcloud_sdk_python_dcdb-3.1.125}/tencentcloud_sdk_python_dcdb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dcdb
3
- Version: 3.1.8
3
+ Version: 3.1.125
4
4
  Summary: Tencent Cloud Dcdb 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.8
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.125
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-dcdb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.8,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.125,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Dcdb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.8'
17
+ __version__ = '3.1.125'
@@ -80,6 +80,9 @@ FAILEDOPERATION_RESETPASSWORDFAILED = 'FailedOperation.ResetPasswordFailed'
80
80
  # 更新安全组失败。
81
81
  FAILEDOPERATION_SGCHANGEVIP = 'FailedOperation.SGChangeVip'
82
82
 
83
+ # 安全组操作失败
84
+ FAILEDOPERATION_SGOPERATIONFAILED = 'FailedOperation.SGOperationFailed'
85
+
83
86
  # 设置规则失败。
84
87
  FAILEDOPERATION_SETRULELOCATIONFAILED = 'FailedOperation.SetRuleLocationFailed'
85
88
 
@@ -170,20 +170,23 @@ class AddShardConfig(AbstractModel):
170
170
 
171
171
  def __init__(self):
172
172
  r"""
173
- :param _ShardCount: 新增分片的数量
173
+ :param _ShardCount: <p>新增分片的数量</p>
174
174
  :type ShardCount: int
175
- :param _ShardMemory: 分片内存大小,单位 GB
175
+ :param _ShardMemory: <p>分片内存大小,单位 GB</p>
176
176
  :type ShardMemory: int
177
- :param _ShardStorage: 分片存储大小,单位 GB
177
+ :param _ShardStorage: <p>分片存储大小,单位 GB</p>
178
178
  :type ShardStorage: int
179
+ :param _DcnInsShardConfigs: <p>DCN实例的规格</p>
180
+ :type DcnInsShardConfigs: list of DcnInsShardConfig
179
181
  """
180
182
  self._ShardCount = None
181
183
  self._ShardMemory = None
182
184
  self._ShardStorage = None
185
+ self._DcnInsShardConfigs = None
183
186
 
184
187
  @property
185
188
  def ShardCount(self):
186
- r"""新增分片的数量
189
+ r"""<p>新增分片的数量</p>
187
190
  :rtype: int
188
191
  """
189
192
  return self._ShardCount
@@ -194,7 +197,7 @@ class AddShardConfig(AbstractModel):
194
197
 
195
198
  @property
196
199
  def ShardMemory(self):
197
- r"""分片内存大小,单位 GB
200
+ r"""<p>分片内存大小,单位 GB</p>
198
201
  :rtype: int
199
202
  """
200
203
  return self._ShardMemory
@@ -205,7 +208,7 @@ class AddShardConfig(AbstractModel):
205
208
 
206
209
  @property
207
210
  def ShardStorage(self):
208
- r"""分片存储大小,单位 GB
211
+ r"""<p>分片存储大小,单位 GB</p>
209
212
  :rtype: int
210
213
  """
211
214
  return self._ShardStorage
@@ -214,11 +217,28 @@ class AddShardConfig(AbstractModel):
214
217
  def ShardStorage(self, ShardStorage):
215
218
  self._ShardStorage = ShardStorage
216
219
 
220
+ @property
221
+ def DcnInsShardConfigs(self):
222
+ r"""<p>DCN实例的规格</p>
223
+ :rtype: list of DcnInsShardConfig
224
+ """
225
+ return self._DcnInsShardConfigs
226
+
227
+ @DcnInsShardConfigs.setter
228
+ def DcnInsShardConfigs(self, DcnInsShardConfigs):
229
+ self._DcnInsShardConfigs = DcnInsShardConfigs
230
+
217
231
 
218
232
  def _deserialize(self, params):
219
233
  self._ShardCount = params.get("ShardCount")
220
234
  self._ShardMemory = params.get("ShardMemory")
221
235
  self._ShardStorage = params.get("ShardStorage")
236
+ if params.get("DcnInsShardConfigs") is not None:
237
+ self._DcnInsShardConfigs = []
238
+ for item in params.get("DcnInsShardConfigs"):
239
+ obj = DcnInsShardConfig()
240
+ obj._deserialize(item)
241
+ self._DcnInsShardConfigs.append(obj)
222
242
  memeber_set = set(params.keys())
223
243
  for name, value in vars(self).items():
224
244
  property_name = name[1:]
@@ -5554,6 +5574,72 @@ class DcnDetailItem(AbstractModel):
5554
5574
 
5555
5575
 
5556
5576
 
5577
+ class DcnInsShardConfig(AbstractModel):
5578
+ r"""DCN实例添加分片时对端实例期望添加的分片规格
5579
+
5580
+ """
5581
+
5582
+ def __init__(self):
5583
+ r"""
5584
+ :param _InstanceId: <p>实例ID</p>
5585
+ :type InstanceId: str
5586
+ :param _Memory: <p>内存大小</p>
5587
+ :type Memory: int
5588
+ :param _Storage: <p>磁盘大小</p>
5589
+ :type Storage: int
5590
+ """
5591
+ self._InstanceId = None
5592
+ self._Memory = None
5593
+ self._Storage = None
5594
+
5595
+ @property
5596
+ def InstanceId(self):
5597
+ r"""<p>实例ID</p>
5598
+ :rtype: str
5599
+ """
5600
+ return self._InstanceId
5601
+
5602
+ @InstanceId.setter
5603
+ def InstanceId(self, InstanceId):
5604
+ self._InstanceId = InstanceId
5605
+
5606
+ @property
5607
+ def Memory(self):
5608
+ r"""<p>内存大小</p>
5609
+ :rtype: int
5610
+ """
5611
+ return self._Memory
5612
+
5613
+ @Memory.setter
5614
+ def Memory(self, Memory):
5615
+ self._Memory = Memory
5616
+
5617
+ @property
5618
+ def Storage(self):
5619
+ r"""<p>磁盘大小</p>
5620
+ :rtype: int
5621
+ """
5622
+ return self._Storage
5623
+
5624
+ @Storage.setter
5625
+ def Storage(self, Storage):
5626
+ self._Storage = Storage
5627
+
5628
+
5629
+ def _deserialize(self, params):
5630
+ self._InstanceId = params.get("InstanceId")
5631
+ self._Memory = params.get("Memory")
5632
+ self._Storage = params.get("Storage")
5633
+ memeber_set = set(params.keys())
5634
+ for name, value in vars(self).items():
5635
+ property_name = name[1:]
5636
+ if property_name in memeber_set:
5637
+ memeber_set.remove(property_name)
5638
+ if len(memeber_set) > 0:
5639
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5640
+
5641
+
5642
+
5557
5643
  class Deal(AbstractModel):
5558
5644
  r"""订单信息
5559
5645
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dcdb
3
- Version: 3.1.8
3
+ Version: 3.1.125
4
4
  Summary: Tencent Cloud Dcdb 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.8
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.125
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.125
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.8