tencentcloud-sdk-python-dbdc 3.1.149__tar.gz → 3.1.151__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_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud/dbdc/v20201029/models.py +79 -0
  5. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud_sdk_python_dbdc.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_dbdc-3.1.151/tencentcloud_sdk_python_dbdc.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_dbdc-3.1.149/tencentcloud_sdk_python_dbdc.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/README.rst +0 -0
  9. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud/dbdc/__init__.py +0 -0
  11. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud/dbdc/v20201029/__init__.py +0 -0
  12. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud/dbdc/v20201029/dbdc_client.py +0 -0
  13. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud/dbdc/v20201029/dbdc_client_async.py +0 -0
  14. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud/dbdc/v20201029/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud_sdk_python_dbdc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud_sdk_python_dbdc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.151}/tencentcloud_sdk_python_dbdc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dbdc
3
- Version: 3.1.149
3
+ Version: 3.1.151
4
4
  Summary: Tencent Cloud Dbdc 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.149
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.151
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-dbdc',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.149,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.151,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Dbdc SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.149'
17
+ __version__ = '3.1.151'
@@ -446,6 +446,8 @@ class CreateDBCustomClusterRequest(AbstractModel):
446
446
  :type ClientToken: str
447
447
  :param _DryRun: <p>试运行开关,true 时只执行参数校验,不发起创建流程,默认 false</p>
448
448
  :type DryRun: bool
449
+ :param _DeletionProtection: <p>是否启用集群删除保护</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 不启用</li></ul><p>默认值:true</p>
450
+ :type DeletionProtection: bool
449
451
  """
450
452
  self._ContainerNetwork = None
451
453
  self._ClusterName = None
@@ -454,6 +456,7 @@ class CreateDBCustomClusterRequest(AbstractModel):
454
456
  self._Tags = None
455
457
  self._ClientToken = None
456
458
  self._DryRun = None
459
+ self._DeletionProtection = None
457
460
 
458
461
  @property
459
462
  def ContainerNetwork(self):
@@ -532,6 +535,17 @@ class CreateDBCustomClusterRequest(AbstractModel):
532
535
  def DryRun(self, DryRun):
533
536
  self._DryRun = DryRun
534
537
 
538
+ @property
539
+ def DeletionProtection(self):
540
+ r"""<p>是否启用集群删除保护</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 不启用</li></ul><p>默认值:true</p>
541
+ :rtype: bool
542
+ """
543
+ return self._DeletionProtection
544
+
545
+ @DeletionProtection.setter
546
+ def DeletionProtection(self, DeletionProtection):
547
+ self._DeletionProtection = DeletionProtection
548
+
535
549
 
536
550
  def _deserialize(self, params):
537
551
  if params.get("ContainerNetwork") is not None:
@@ -550,6 +564,7 @@ class CreateDBCustomClusterRequest(AbstractModel):
550
564
  self._Tags.append(obj)
551
565
  self._ClientToken = params.get("ClientToken")
552
566
  self._DryRun = params.get("DryRun")
567
+ self._DeletionProtection = params.get("DeletionProtection")
553
568
  memeber_set = set(params.keys())
554
569
  for name, value in vars(self).items():
555
570
  property_name = name[1:]
@@ -1054,6 +1069,8 @@ class DBCustomCluster(AbstractModel):
1054
1069
  :param _Tags: <p>集群的标签信息</p>
1055
1070
  注意:此字段可能返回 null,表示取不到有效值。
1056
1071
  :type Tags: list of Tag
1072
+ :param _DeletionProtection: <p>是否启用集群删除保护</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 不启用</li></ul>
1073
+ :type DeletionProtection: bool
1057
1074
  """
1058
1075
  self._ClusterId = None
1059
1076
  self._ClusterName = None
@@ -1065,6 +1082,7 @@ class DBCustomCluster(AbstractModel):
1065
1082
  self._ClusterDescription = None
1066
1083
  self._CreatedTime = None
1067
1084
  self._Tags = None
1085
+ self._DeletionProtection = None
1068
1086
 
1069
1087
  @property
1070
1088
  def ClusterId(self):
@@ -1177,6 +1195,17 @@ class DBCustomCluster(AbstractModel):
1177
1195
  def Tags(self, Tags):
1178
1196
  self._Tags = Tags
1179
1197
 
1198
+ @property
1199
+ def DeletionProtection(self):
1200
+ r"""<p>是否启用集群删除保护</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 不启用</li></ul>
1201
+ :rtype: bool
1202
+ """
1203
+ return self._DeletionProtection
1204
+
1205
+ @DeletionProtection.setter
1206
+ def DeletionProtection(self, DeletionProtection):
1207
+ self._DeletionProtection = DeletionProtection
1208
+
1180
1209
 
1181
1210
  def _deserialize(self, params):
1182
1211
  self._ClusterId = params.get("ClusterId")
@@ -1194,6 +1223,7 @@ class DBCustomCluster(AbstractModel):
1194
1223
  obj = Tag()
1195
1224
  obj._deserialize(item)
1196
1225
  self._Tags.append(obj)
1226
+ self._DeletionProtection = params.get("DeletionProtection")
1197
1227
  memeber_set = set(params.keys())
1198
1228
  for name, value in vars(self).items():
1199
1229
  property_name = name[1:]
@@ -1231,6 +1261,9 @@ class DBCustomClusterNode(AbstractModel):
1231
1261
  :param _EniIP: <p>当选择网络模式为三层网络联通模式时,此处的IP地址则为用户可访问的地址。</p>
1232
1262
  注意:此字段可能返回 null,表示取不到有效值。
1233
1263
  :type EniIP: str
1264
+ :param _SecurityGroupIds: <p>节点绑定的安全组</p>
1265
+ 注意:此字段可能返回 null,表示取不到有效值。
1266
+ :type SecurityGroupIds: list of str
1234
1267
  """
1235
1268
  self._NodeId = None
1236
1269
  self._NodeName = None
@@ -1241,6 +1274,7 @@ class DBCustomClusterNode(AbstractModel):
1241
1274
  self._NodeType = None
1242
1275
  self._NetworkMode = None
1243
1276
  self._EniIP = None
1277
+ self._SecurityGroupIds = None
1244
1278
 
1245
1279
  @property
1246
1280
  def NodeId(self):
@@ -1343,6 +1377,18 @@ class DBCustomClusterNode(AbstractModel):
1343
1377
  def EniIP(self, EniIP):
1344
1378
  self._EniIP = EniIP
1345
1379
 
1380
+ @property
1381
+ def SecurityGroupIds(self):
1382
+ r"""<p>节点绑定的安全组</p>
1383
+ 注意:此字段可能返回 null,表示取不到有效值。
1384
+ :rtype: list of str
1385
+ """
1386
+ return self._SecurityGroupIds
1387
+
1388
+ @SecurityGroupIds.setter
1389
+ def SecurityGroupIds(self, SecurityGroupIds):
1390
+ self._SecurityGroupIds = SecurityGroupIds
1391
+
1346
1392
 
1347
1393
  def _deserialize(self, params):
1348
1394
  self._NodeId = params.get("NodeId")
@@ -1354,6 +1400,7 @@ class DBCustomClusterNode(AbstractModel):
1354
1400
  self._NodeType = params.get("NodeType")
1355
1401
  self._NetworkMode = params.get("NetworkMode")
1356
1402
  self._EniIP = params.get("EniIP")
1403
+ self._SecurityGroupIds = params.get("SecurityGroupIds")
1357
1404
  memeber_set = set(params.keys())
1358
1405
  for name, value in vars(self).items():
1359
1406
  property_name = name[1:]
@@ -1735,6 +1782,9 @@ class DBCustomNode(AbstractModel):
1735
1782
  :type NetworkMode: str
1736
1783
  :param _EniIP: <p>当选择NetworkModeCrossTenantENI模式时,节点的访问IP地址</p>
1737
1784
  :type EniIP: str
1785
+ :param _SecurityGroupIds: <p>节点绑定的安全组</p>
1786
+ 注意:此字段可能返回 null,表示取不到有效值。
1787
+ :type SecurityGroupIds: list of str
1738
1788
  """
1739
1789
  self._NodeId = None
1740
1790
  self._NodeName = None
@@ -1763,6 +1813,7 @@ class DBCustomNode(AbstractModel):
1763
1813
  self._HostIp = None
1764
1814
  self._NetworkMode = None
1765
1815
  self._EniIP = None
1816
+ self._SecurityGroupIds = None
1766
1817
 
1767
1818
  @property
1768
1819
  def NodeId(self):
@@ -2064,6 +2115,18 @@ class DBCustomNode(AbstractModel):
2064
2115
  def EniIP(self, EniIP):
2065
2116
  self._EniIP = EniIP
2066
2117
 
2118
+ @property
2119
+ def SecurityGroupIds(self):
2120
+ r"""<p>节点绑定的安全组</p>
2121
+ 注意:此字段可能返回 null,表示取不到有效值。
2122
+ :rtype: list of str
2123
+ """
2124
+ return self._SecurityGroupIds
2125
+
2126
+ @SecurityGroupIds.setter
2127
+ def SecurityGroupIds(self, SecurityGroupIds):
2128
+ self._SecurityGroupIds = SecurityGroupIds
2129
+
2067
2130
 
2068
2131
  def _deserialize(self, params):
2069
2132
  self._NodeId = params.get("NodeId")
@@ -2105,6 +2168,7 @@ class DBCustomNode(AbstractModel):
2105
2168
  self._HostIp = params.get("HostIp")
2106
2169
  self._NetworkMode = params.get("NetworkMode")
2107
2170
  self._EniIP = params.get("EniIP")
2171
+ self._SecurityGroupIds = params.get("SecurityGroupIds")
2108
2172
  memeber_set = set(params.keys())
2109
2173
  for name, value in vars(self).items():
2110
2174
  property_name = name[1:]
@@ -2743,6 +2807,8 @@ class DescribeDBCustomClusterDetailResponse(AbstractModel):
2743
2807
  :param _ContainerNetwork: <p>容器网络,在此集群中的所有Pod将与此网络连通</p>
2744
2808
  注意:此字段可能返回 null,表示取不到有效值。
2745
2809
  :type ContainerNetwork: :class:`tencentcloud.dbdc.v20201029.models.ContainerNetwork`
2810
+ :param _DeletionProtection: <p>是否启用集群删除保护</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 不启用</li></ul>
2811
+ :type DeletionProtection: bool
2746
2812
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2747
2813
  :type RequestId: str
2748
2814
  """
@@ -2758,6 +2824,7 @@ class DescribeDBCustomClusterDetailResponse(AbstractModel):
2758
2824
  self._Tags = None
2759
2825
  self._ApiServerNetwork = None
2760
2826
  self._ContainerNetwork = None
2827
+ self._DeletionProtection = None
2761
2828
  self._RequestId = None
2762
2829
 
2763
2830
  @property
@@ -2895,6 +2962,17 @@ class DescribeDBCustomClusterDetailResponse(AbstractModel):
2895
2962
  def ContainerNetwork(self, ContainerNetwork):
2896
2963
  self._ContainerNetwork = ContainerNetwork
2897
2964
 
2965
+ @property
2966
+ def DeletionProtection(self):
2967
+ r"""<p>是否启用集群删除保护</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 不启用</li></ul>
2968
+ :rtype: bool
2969
+ """
2970
+ return self._DeletionProtection
2971
+
2972
+ @DeletionProtection.setter
2973
+ def DeletionProtection(self, DeletionProtection):
2974
+ self._DeletionProtection = DeletionProtection
2975
+
2898
2976
  @property
2899
2977
  def RequestId(self):
2900
2978
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -2929,6 +3007,7 @@ class DescribeDBCustomClusterDetailResponse(AbstractModel):
2929
3007
  if params.get("ContainerNetwork") is not None:
2930
3008
  self._ContainerNetwork = ContainerNetwork()
2931
3009
  self._ContainerNetwork._deserialize(params.get("ContainerNetwork"))
3010
+ self._DeletionProtection = params.get("DeletionProtection")
2932
3011
  self._RequestId = params.get("RequestId")
2933
3012
 
2934
3013
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dbdc
3
- Version: 3.1.149
3
+ Version: 3.1.151
4
4
  Summary: Tencent Cloud Dbdc 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.149
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.151
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.151
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.149