tencentcloud-sdk-python-dcdb 3.0.1394__tar.gz → 3.0.1441__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 (16) hide show
  1. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/setup.py +1 -1
  3. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/tencentcloud/dcdb/v20180411/dcdb_client.py +1 -1
  5. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/tencentcloud/dcdb/v20180411/errorcodes.py +1 -1
  6. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/tencentcloud/dcdb/v20180411/models.py +48 -3
  7. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/tencentcloud_sdk_python_dcdb.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-dcdb-3.0.1441/tencentcloud_sdk_python_dcdb.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-dcdb-3.0.1394/tencentcloud_sdk_python_dcdb.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/README.rst +0 -0
  11. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/tencentcloud/dcdb/__init__.py +0 -0
  13. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/tencentcloud/dcdb/v20180411/__init__.py +0 -0
  14. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/tencentcloud_sdk_python_dcdb.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/tencentcloud_sdk_python_dcdb.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-dcdb-3.0.1394 → tencentcloud-sdk-python-dcdb-3.0.1441}/tencentcloud_sdk_python_dcdb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-dcdb
3
- Version: 3.0.1394
3
+ Version: 3.0.1441
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
@@ -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.0.1394"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1441,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Dcdb SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1394'
17
+ __version__ = '3.0.1441'
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -3641,6 +3641,8 @@ class DCDBInstanceInfo(AbstractModel):
3641
3641
  :type ResourceTags: list of ResourceTag
3642
3642
  :param _DbVersionId: 数据库引擎版本
3643
3643
  :type DbVersionId: str
3644
+ :param _ProtectedProperty: 实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
3645
+ :type ProtectedProperty: int
3644
3646
  """
3645
3647
  self._InstanceId = None
3646
3648
  self._InstanceName = None
@@ -3692,6 +3694,7 @@ class DCDBInstanceInfo(AbstractModel):
3692
3694
  self._InstanceType = None
3693
3695
  self._ResourceTags = None
3694
3696
  self._DbVersionId = None
3697
+ self._ProtectedProperty = None
3695
3698
 
3696
3699
  @property
3697
3700
  def InstanceId(self):
@@ -4243,6 +4246,17 @@ class DCDBInstanceInfo(AbstractModel):
4243
4246
  def DbVersionId(self, DbVersionId):
4244
4247
  self._DbVersionId = DbVersionId
4245
4248
 
4249
+ @property
4250
+ def ProtectedProperty(self):
4251
+ """实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
4252
+ :rtype: int
4253
+ """
4254
+ return self._ProtectedProperty
4255
+
4256
+ @ProtectedProperty.setter
4257
+ def ProtectedProperty(self, ProtectedProperty):
4258
+ self._ProtectedProperty = ProtectedProperty
4259
+
4246
4260
 
4247
4261
  def _deserialize(self, params):
4248
4262
  self._InstanceId = params.get("InstanceId")
@@ -4305,6 +4319,7 @@ class DCDBInstanceInfo(AbstractModel):
4305
4319
  obj._deserialize(item)
4306
4320
  self._ResourceTags.append(obj)
4307
4321
  self._DbVersionId = params.get("DbVersionId")
4322
+ self._ProtectedProperty = params.get("ProtectedProperty")
4308
4323
  memeber_set = set(params.keys())
4309
4324
  for name, value in vars(self).items():
4310
4325
  property_name = name[1:]
@@ -7727,6 +7742,8 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
7727
7742
  :type IsDcnSwitchSupported: int
7728
7743
  :param _CpuType: cpu类型,英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
7729
7744
  :type CpuType: str
7745
+ :param _ProtectedProperty: 实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
7746
+ :type ProtectedProperty: int
7730
7747
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7731
7748
  :type RequestId: str
7732
7749
  """
@@ -7785,6 +7802,7 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
7785
7802
  self._IsDcnStrongSyncSupported = None
7786
7803
  self._IsDcnSwitchSupported = None
7787
7804
  self._CpuType = None
7805
+ self._ProtectedProperty = None
7788
7806
  self._RequestId = None
7789
7807
 
7790
7808
  @property
@@ -8392,6 +8410,17 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
8392
8410
  def CpuType(self, CpuType):
8393
8411
  self._CpuType = CpuType
8394
8412
 
8413
+ @property
8414
+ def ProtectedProperty(self):
8415
+ """实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
8416
+ :rtype: int
8417
+ """
8418
+ return self._ProtectedProperty
8419
+
8420
+ @ProtectedProperty.setter
8421
+ def ProtectedProperty(self, ProtectedProperty):
8422
+ self._ProtectedProperty = ProtectedProperty
8423
+
8395
8424
  @property
8396
8425
  def RequestId(self):
8397
8426
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -8475,6 +8504,7 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
8475
8504
  self._IsDcnStrongSyncSupported = params.get("IsDcnStrongSyncSupported")
8476
8505
  self._IsDcnSwitchSupported = params.get("IsDcnSwitchSupported")
8477
8506
  self._CpuType = params.get("CpuType")
8507
+ self._ProtectedProperty = params.get("ProtectedProperty")
8478
8508
  self._RequestId = params.get("RequestId")
8479
8509
 
8480
8510
 
@@ -12511,11 +12541,14 @@ class KillSessionRequest(AbstractModel):
12511
12541
  :type ShardId: str
12512
12542
  :param _ShardSerialId: 分片序列ID,与ShardId设置一个
12513
12543
  :type ShardSerialId: str
12544
+ :param _NodeId: 节点ID,可指定主节点或者备节点进行kill。可选参数,不传默认为主节点。
12545
+ :type NodeId: str
12514
12546
  """
12515
12547
  self._InstanceId = None
12516
12548
  self._SessionId = None
12517
12549
  self._ShardId = None
12518
12550
  self._ShardSerialId = None
12551
+ self._NodeId = None
12519
12552
 
12520
12553
  @property
12521
12554
  def InstanceId(self):
@@ -12561,12 +12594,24 @@ class KillSessionRequest(AbstractModel):
12561
12594
  def ShardSerialId(self, ShardSerialId):
12562
12595
  self._ShardSerialId = ShardSerialId
12563
12596
 
12597
+ @property
12598
+ def NodeId(self):
12599
+ """节点ID,可指定主节点或者备节点进行kill。可选参数,不传默认为主节点。
12600
+ :rtype: str
12601
+ """
12602
+ return self._NodeId
12603
+
12604
+ @NodeId.setter
12605
+ def NodeId(self, NodeId):
12606
+ self._NodeId = NodeId
12607
+
12564
12608
 
12565
12609
  def _deserialize(self, params):
12566
12610
  self._InstanceId = params.get("InstanceId")
12567
12611
  self._SessionId = params.get("SessionId")
12568
12612
  self._ShardId = params.get("ShardId")
12569
12613
  self._ShardSerialId = params.get("ShardSerialId")
12614
+ self._NodeId = params.get("NodeId")
12570
12615
  memeber_set = set(params.keys())
12571
12616
  for name, value in vars(self).items():
12572
12617
  property_name = name[1:]
@@ -13471,7 +13516,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
13471
13516
  :type Product: str
13472
13517
  :param _InstanceId: 实例ID。
13473
13518
  :type InstanceId: str
13474
- :param _SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。
13519
+ :param _SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:该入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。
13475
13520
  :type SecurityGroupIds: list of str
13476
13521
  """
13477
13522
  self._Product = None
@@ -13502,7 +13547,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
13502
13547
 
13503
13548
  @property
13504
13549
  def SecurityGroupIds(self):
13505
- """要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。
13550
+ """要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:该入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。
13506
13551
  :rtype: list of str
13507
13552
  """
13508
13553
  return self._SecurityGroupIds
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-dcdb
3
- Version: 3.0.1394
3
+ Version: 3.0.1441
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1441
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1394