tencentcloud-sdk-python-intl-en 3.0.1258__py2.py3-none-any.whl → 3.0.1260__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.
@@ -2390,6 +2390,8 @@ For more information on creating `KeyId`, see [Enabling TDE](https://www.tencent
2390
2390
  :param _KMSRegion: The region where the KMS service is enabled. When `KMSRegion` is left empty, the current region will be selected by default. If the current region does not support KMS, you must select another region that does.
2391
2391
  For more information on `KMSRegion`, see [Enabling TDE](https://intl.cloud.tencent.com/document/product/409/71749?from_cn_redirect=1).
2392
2392
  :type KMSRegion: str
2393
+ :param _KMSClusterId:
2394
+ :type KMSClusterId: str
2393
2395
  :param _DBEngine: Database engine, which supports:
2394
2396
  <li>`postgresql`: TencentDB for PostgreSQL</li>
2395
2397
  <li>`mssql_compatible`: MSSQL compatible - TencentDB for PostgreSQL</li>
@@ -2442,6 +2444,7 @@ Default value: 0
2442
2444
  self._NeedSupportTDE = None
2443
2445
  self._KMSKeyId = None
2444
2446
  self._KMSRegion = None
2447
+ self._KMSClusterId = None
2445
2448
  self._DBEngine = None
2446
2449
  self._DBEngineConfig = None
2447
2450
  self._SyncMode = None
@@ -2767,6 +2770,17 @@ For more information on `KMSRegion`, see [Enabling TDE](https://intl.cloud.tence
2767
2770
  def KMSRegion(self, KMSRegion):
2768
2771
  self._KMSRegion = KMSRegion
2769
2772
 
2773
+ @property
2774
+ def KMSClusterId(self):
2775
+ """
2776
+ :rtype: str
2777
+ """
2778
+ return self._KMSClusterId
2779
+
2780
+ @KMSClusterId.setter
2781
+ def KMSClusterId(self, KMSClusterId):
2782
+ self._KMSClusterId = KMSClusterId
2783
+
2770
2784
  @property
2771
2785
  def DBEngine(self):
2772
2786
  """Database engine, which supports:
@@ -2866,6 +2880,7 @@ Default value: 0
2866
2880
  self._NeedSupportTDE = params.get("NeedSupportTDE")
2867
2881
  self._KMSKeyId = params.get("KMSKeyId")
2868
2882
  self._KMSRegion = params.get("KMSRegion")
2883
+ self._KMSClusterId = params.get("KMSClusterId")
2869
2884
  self._DBEngine = params.get("DBEngine")
2870
2885
  self._DBEngineConfig = params.get("DBEngineConfig")
2871
2886
  self._SyncMode = params.get("SyncMode")
@@ -3138,8 +3153,10 @@ Default value: `0`.
3138
3153
  :type NeedSupportIpv6: int
3139
3154
  :param _Name: Instance name (which will be supported in the future)
3140
3155
  :type Name: str
3141
- :param _DBVersion: (Disused) You dont need to specify a version, as the kernel version is as the same as that of the instance.
3156
+ :param _DBVersion: (Disused) You don't need to specify a version, as the kernel version is as the same as that of the instance.
3142
3157
  :type DBVersion: str
3158
+ :param _DedicatedClusterId:
3159
+ :type DedicatedClusterId: str
3143
3160
  """
3144
3161
  self._Zone = None
3145
3162
  self._MasterDBInstanceId = None
@@ -3161,6 +3178,7 @@ Default value: `0`.
3161
3178
  self._NeedSupportIpv6 = None
3162
3179
  self._Name = None
3163
3180
  self._DBVersion = None
3181
+ self._DedicatedClusterId = None
3164
3182
 
3165
3183
  @property
3166
3184
  def Zone(self):
@@ -3389,15 +3407,30 @@ Default value: `0`.
3389
3407
 
3390
3408
  @property
3391
3409
  def DBVersion(self):
3392
- """(Disused) You don’t need to specify a version, as the kernel version is as the same as that of the instance.
3410
+ warnings.warn("parameter `DBVersion` is deprecated", DeprecationWarning)
3411
+
3412
+ """(Disused) You don't need to specify a version, as the kernel version is as the same as that of the instance.
3393
3413
  :rtype: str
3394
3414
  """
3395
3415
  return self._DBVersion
3396
3416
 
3397
3417
  @DBVersion.setter
3398
3418
  def DBVersion(self, DBVersion):
3419
+ warnings.warn("parameter `DBVersion` is deprecated", DeprecationWarning)
3420
+
3399
3421
  self._DBVersion = DBVersion
3400
3422
 
3423
+ @property
3424
+ def DedicatedClusterId(self):
3425
+ """
3426
+ :rtype: str
3427
+ """
3428
+ return self._DedicatedClusterId
3429
+
3430
+ @DedicatedClusterId.setter
3431
+ def DedicatedClusterId(self, DedicatedClusterId):
3432
+ self._DedicatedClusterId = DedicatedClusterId
3433
+
3401
3434
 
3402
3435
  def _deserialize(self, params):
3403
3436
  self._Zone = params.get("Zone")
@@ -3422,6 +3455,7 @@ Default value: `0`.
3422
3455
  self._NeedSupportIpv6 = params.get("NeedSupportIpv6")
3423
3456
  self._Name = params.get("Name")
3424
3457
  self._DBVersion = params.get("DBVersion")
3458
+ self._DedicatedClusterId = params.get("DedicatedClusterId")
3425
3459
  memeber_set = set(params.keys())
3426
3460
  for name, value in vars(self).items():
3427
3461
  property_name = name[1:]
@@ -4314,12 +4348,12 @@ class DBInstance(AbstractModel):
4314
4348
  :param _DBInstanceClass: Purchasable specification ID
4315
4349
  :type DBInstanceClass: str
4316
4350
  :param _DBMajorVersion: The major PostgreSQL version number, which can be queried by the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API. Valid values: `10`, `11`, `12`, `13`, `14`, `15`.
4317
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4351
+ Note: This field may return null, indicating that no valid values can be obtained.
4318
4352
  :type DBMajorVersion: str
4319
4353
  :param _DBVersion: Number of the major PostgreSQL community version and minor version, such as 12.4, which can be queried by the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API.
4320
4354
  :type DBVersion: str
4321
4355
  :param _DBKernelVersion: PostgreSQL kernel version number (like v12.7_r1.8), which can be queried by the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API.
4322
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4356
+ Note: This field may return null, indicating that no valid values can be obtained.
4323
4357
  :type DBKernelVersion: str
4324
4358
  :param _DBInstanceType: Instance type, which includes:
4325
4359
  <li>primary: primary instance </li>
@@ -4361,22 +4395,22 @@ Default value: 0
4361
4395
  :param _ProjectId: Project ID
4362
4396
  :type ProjectId: int
4363
4397
  :param _TagList: The information of tags associated with instances
4364
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4398
+ Note: This field may return null, indicating that no valid values can be obtained.
4365
4399
  :type TagList: list of Tag
4366
4400
  :param _MasterDBInstanceId: Primary instance information, which is returned only when the instance is read-only.
4367
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4401
+ Note: This field may return null, indicating that no valid values can be obtained.
4368
4402
  :type MasterDBInstanceId: str
4369
4403
  :param _ReadOnlyInstanceNum: Number of read-only instances
4370
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4404
+ Note: This field may return null, indicating that no valid values can be obtained.
4371
4405
  :type ReadOnlyInstanceNum: int
4372
4406
  :param _StatusInReadonlyGroup: The status of a read-only instance in a read-only group
4373
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4407
+ Note: This field may return null, indicating that no valid values can be obtained.
4374
4408
  :type StatusInReadonlyGroup: str
4375
4409
  :param _OfflineTime: Offline time
4376
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4410
+ Note: This field may return null, indicating that no valid values can be obtained.
4377
4411
  :type OfflineTime: str
4378
4412
  :param _DBNodeSet: Instance node information
4379
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4413
+ Note: This field may return null, indicating that no valid values can be obtained.
4380
4414
  :type DBNodeSet: list of DBNode
4381
4415
  :param _IsSupportTDE: Whether the instance supports TDE data encryption:
4382
4416
  <li>0: not supported</li>
@@ -4573,7 +4607,7 @@ Default value: 0
4573
4607
  @property
4574
4608
  def DBMajorVersion(self):
4575
4609
  """The major PostgreSQL version number, which can be queried by the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API. Valid values: `10`, `11`, `12`, `13`, `14`, `15`.
4576
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4610
+ Note: This field may return null, indicating that no valid values can be obtained.
4577
4611
  :rtype: str
4578
4612
  """
4579
4613
  return self._DBMajorVersion
@@ -4596,7 +4630,7 @@ Note: u200dThis field may return null, indicating that no valid values can be ob
4596
4630
  @property
4597
4631
  def DBKernelVersion(self):
4598
4632
  """PostgreSQL kernel version number (like v12.7_r1.8), which can be queried by the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API.
4599
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4633
+ Note: This field may return null, indicating that no valid values can be obtained.
4600
4634
  :rtype: str
4601
4635
  """
4602
4636
  return self._DBKernelVersion
@@ -4773,7 +4807,7 @@ Default value: 0
4773
4807
  @property
4774
4808
  def TagList(self):
4775
4809
  """The information of tags associated with instances
4776
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4810
+ Note: This field may return null, indicating that no valid values can be obtained.
4777
4811
  :rtype: list of Tag
4778
4812
  """
4779
4813
  return self._TagList
@@ -4785,7 +4819,7 @@ Note: u200dThis field may return null, indicating that no valid values can be ob
4785
4819
  @property
4786
4820
  def MasterDBInstanceId(self):
4787
4821
  """Primary instance information, which is returned only when the instance is read-only.
4788
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4822
+ Note: This field may return null, indicating that no valid values can be obtained.
4789
4823
  :rtype: str
4790
4824
  """
4791
4825
  return self._MasterDBInstanceId
@@ -4797,7 +4831,7 @@ Note: u200dThis field may return null, indicating that no valid values can be ob
4797
4831
  @property
4798
4832
  def ReadOnlyInstanceNum(self):
4799
4833
  """Number of read-only instances
4800
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4834
+ Note: This field may return null, indicating that no valid values can be obtained.
4801
4835
  :rtype: int
4802
4836
  """
4803
4837
  return self._ReadOnlyInstanceNum
@@ -4809,7 +4843,7 @@ Note: u200dThis field may return null, indicating that no valid values can be ob
4809
4843
  @property
4810
4844
  def StatusInReadonlyGroup(self):
4811
4845
  """The status of a read-only instance in a read-only group
4812
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4846
+ Note: This field may return null, indicating that no valid values can be obtained.
4813
4847
  :rtype: str
4814
4848
  """
4815
4849
  return self._StatusInReadonlyGroup
@@ -4821,7 +4855,7 @@ Note: u200dThis field may return null, indicating that no valid values can be ob
4821
4855
  @property
4822
4856
  def OfflineTime(self):
4823
4857
  """Offline time
4824
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4858
+ Note: This field may return null, indicating that no valid values can be obtained.
4825
4859
  :rtype: str
4826
4860
  """
4827
4861
  return self._OfflineTime
@@ -4833,7 +4867,7 @@ Note: u200dThis field may return null, indicating that no valid values can be ob
4833
4867
  @property
4834
4868
  def DBNodeSet(self):
4835
4869
  """Instance node information
4836
- Note: u200dThis field may return null, indicating that no valid values can be obtained.
4870
+ Note: This field may return null, indicating that no valid values can be obtained.
4837
4871
  :rtype: list of DBNode
4838
4872
  """
4839
4873
  return self._DBNodeSet
@@ -8034,11 +8068,11 @@ db-tag-key: filter by tag key (in string format)
8034
8068
  db-private-ip: filter by instance VPC IP (in string format)
8035
8069
  db-public-address: filter by instance public network address (in string format)
8036
8070
  :type Filters: list of Filter
8037
- :param _Limit: The maximum number of results returned per page. Value range: 1-100. Default: `10`
8071
+ :param _Limit: The maximum number of results returned per page. Value range: 1-100. Default: `10`.
8038
8072
  :type Limit: int
8039
8073
  :param _Offset: Data offset, which starts from 0.
8040
8074
  :type Offset: int
8041
- :param _OrderBy: Sorting metric, such as instance name or creation time. Valid values: DBInstanceId, CreateTime, Name, EndTime
8075
+ :param _OrderBy: Sorting metric, such as instance name or creation time. Valid values: DBInstanceId, CreateTime, Name, EndTime.
8042
8076
  :type OrderBy: str
8043
8077
  :param _OrderByType: Sorting order. Valid values: `asc` (ascending), `desc` (descending)
8044
8078
  :type OrderByType: str
@@ -8069,7 +8103,7 @@ db-public-address: filter by instance public network address (in string format)
8069
8103
 
8070
8104
  @property
8071
8105
  def Limit(self):
8072
- """The maximum number of results returned per page. Value range: 1-100. Default: `10`
8106
+ """The maximum number of results returned per page. Value range: 1-100. Default: `10`.
8073
8107
  :rtype: int
8074
8108
  """
8075
8109
  return self._Limit
@@ -8091,7 +8125,7 @@ db-public-address: filter by instance public network address (in string format)
8091
8125
 
8092
8126
  @property
8093
8127
  def OrderBy(self):
8094
- """Sorting metric, such as instance name or creation time. Valid values: DBInstanceId, CreateTime, Name, EndTime
8128
+ """Sorting metric, such as instance name or creation time. Valid values: DBInstanceId, CreateTime, Name, EndTime.
8095
8129
  :rtype: str
8096
8130
  """
8097
8131
  return self._OrderBy