tencentcloud-sdk-python-dbdc 3.1.149__tar.gz → 3.1.150__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.150}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/tencentcloud/dbdc/v20201029/models.py +45 -0
  5. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/tencentcloud_sdk_python_dbdc.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_dbdc-3.1.150/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.150}/README.rst +0 -0
  9. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/tencentcloud/dbdc/__init__.py +0 -0
  11. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/tencentcloud/dbdc/v20201029/__init__.py +0 -0
  12. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/tencentcloud/dbdc/v20201029/dbdc_client.py +0 -0
  13. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/tencentcloud/dbdc/v20201029/dbdc_client_async.py +0 -0
  14. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/tencentcloud/dbdc/v20201029/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/tencentcloud_sdk_python_dbdc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dbdc-3.1.149 → tencentcloud_sdk_python_dbdc-3.1.150}/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.150}/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.150
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.150
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.150,<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.150'
@@ -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:]
@@ -2743,6 +2773,8 @@ class DescribeDBCustomClusterDetailResponse(AbstractModel):
2743
2773
  :param _ContainerNetwork: <p>容器网络,在此集群中的所有Pod将与此网络连通</p>
2744
2774
  注意:此字段可能返回 null,表示取不到有效值。
2745
2775
  :type ContainerNetwork: :class:`tencentcloud.dbdc.v20201029.models.ContainerNetwork`
2776
+ :param _DeletionProtection: <p>是否启用集群删除保护</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 不启用</li></ul>
2777
+ :type DeletionProtection: bool
2746
2778
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2747
2779
  :type RequestId: str
2748
2780
  """
@@ -2758,6 +2790,7 @@ class DescribeDBCustomClusterDetailResponse(AbstractModel):
2758
2790
  self._Tags = None
2759
2791
  self._ApiServerNetwork = None
2760
2792
  self._ContainerNetwork = None
2793
+ self._DeletionProtection = None
2761
2794
  self._RequestId = None
2762
2795
 
2763
2796
  @property
@@ -2895,6 +2928,17 @@ class DescribeDBCustomClusterDetailResponse(AbstractModel):
2895
2928
  def ContainerNetwork(self, ContainerNetwork):
2896
2929
  self._ContainerNetwork = ContainerNetwork
2897
2930
 
2931
+ @property
2932
+ def DeletionProtection(self):
2933
+ r"""<p>是否启用集群删除保护</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 不启用</li></ul>
2934
+ :rtype: bool
2935
+ """
2936
+ return self._DeletionProtection
2937
+
2938
+ @DeletionProtection.setter
2939
+ def DeletionProtection(self, DeletionProtection):
2940
+ self._DeletionProtection = DeletionProtection
2941
+
2898
2942
  @property
2899
2943
  def RequestId(self):
2900
2944
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -2929,6 +2973,7 @@ class DescribeDBCustomClusterDetailResponse(AbstractModel):
2929
2973
  if params.get("ContainerNetwork") is not None:
2930
2974
  self._ContainerNetwork = ContainerNetwork()
2931
2975
  self._ContainerNetwork._deserialize(params.get("ContainerNetwork"))
2976
+ self._DeletionProtection = params.get("DeletionProtection")
2932
2977
  self._RequestId = params.get("RequestId")
2933
2978
 
2934
2979
 
@@ -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.150
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.150
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.150
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.149