tencentcloud-sdk-python-cdb 3.1.192__py2.py3-none-any.whl → 3.1.206__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdb/v20170320/models.py +531 -38
- {tencentcloud_sdk_python_cdb-3.1.192.dist-info → tencentcloud_sdk_python_cdb-3.1.206.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_cdb-3.1.192.dist-info → tencentcloud_sdk_python_cdb-3.1.206.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_cdb-3.1.192.dist-info → tencentcloud_sdk_python_cdb-3.1.206.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_cdb-3.1.192.dist-info → tencentcloud_sdk_python_cdb-3.1.206.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -6448,12 +6448,15 @@ class CreateAccountsRequest(AbstractModel):
|
|
|
6448
6448
|
:type Description: str
|
|
6449
6449
|
:param _MaxUserConnections: <p>新账户最大可用连接数,默认值为10240,最大可设置值为10240。</p>
|
|
6450
6450
|
:type MaxUserConnections: int
|
|
6451
|
+
:param _CreateAccounts: <p>创建账号时的完整信息</p>
|
|
6452
|
+
:type CreateAccounts: list of CreateDBAccount
|
|
6451
6453
|
"""
|
|
6452
6454
|
self._InstanceId = None
|
|
6453
6455
|
self._Accounts = None
|
|
6454
6456
|
self._Password = None
|
|
6455
6457
|
self._Description = None
|
|
6456
6458
|
self._MaxUserConnections = None
|
|
6459
|
+
self._CreateAccounts = None
|
|
6457
6460
|
|
|
6458
6461
|
@property
|
|
6459
6462
|
def InstanceId(self):
|
|
@@ -6510,6 +6513,17 @@ class CreateAccountsRequest(AbstractModel):
|
|
|
6510
6513
|
def MaxUserConnections(self, MaxUserConnections):
|
|
6511
6514
|
self._MaxUserConnections = MaxUserConnections
|
|
6512
6515
|
|
|
6516
|
+
@property
|
|
6517
|
+
def CreateAccounts(self):
|
|
6518
|
+
r"""<p>创建账号时的完整信息</p>
|
|
6519
|
+
:rtype: list of CreateDBAccount
|
|
6520
|
+
"""
|
|
6521
|
+
return self._CreateAccounts
|
|
6522
|
+
|
|
6523
|
+
@CreateAccounts.setter
|
|
6524
|
+
def CreateAccounts(self, CreateAccounts):
|
|
6525
|
+
self._CreateAccounts = CreateAccounts
|
|
6526
|
+
|
|
6513
6527
|
|
|
6514
6528
|
def _deserialize(self, params):
|
|
6515
6529
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -6522,6 +6536,12 @@ class CreateAccountsRequest(AbstractModel):
|
|
|
6522
6536
|
self._Password = params.get("Password")
|
|
6523
6537
|
self._Description = params.get("Description")
|
|
6524
6538
|
self._MaxUserConnections = params.get("MaxUserConnections")
|
|
6539
|
+
if params.get("CreateAccounts") is not None:
|
|
6540
|
+
self._CreateAccounts = []
|
|
6541
|
+
for item in params.get("CreateAccounts"):
|
|
6542
|
+
obj = CreateDBAccount()
|
|
6543
|
+
obj._deserialize(item)
|
|
6544
|
+
self._CreateAccounts.append(obj)
|
|
6525
6545
|
memeber_set = set(params.keys())
|
|
6526
6546
|
for name, value in vars(self).items():
|
|
6527
6547
|
property_name = name[1:]
|
|
@@ -7970,6 +7990,8 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
7970
7990
|
:type Zone: str
|
|
7971
7991
|
:param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
|
|
7972
7992
|
:type FourthZone: str
|
|
7993
|
+
:param _UseLatestMinorVersion: <p>是否使用最新小版本号进行克隆。</p><p>枚举值:</p><ul><li>1: 是</li><li>0: 否</li></ul><p>默认值:0</p><p>默认和源实例的小版本号对齐</p>
|
|
7994
|
+
:type UseLatestMinorVersion: int
|
|
7973
7995
|
"""
|
|
7974
7996
|
self._InstanceId = None
|
|
7975
7997
|
self._SpecifiedRollbackTime = None
|
|
@@ -8000,6 +8022,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
8000
8022
|
self._MasterZone = None
|
|
8001
8023
|
self._Zone = None
|
|
8002
8024
|
self._FourthZone = None
|
|
8025
|
+
self._UseLatestMinorVersion = None
|
|
8003
8026
|
|
|
8004
8027
|
@property
|
|
8005
8028
|
def InstanceId(self):
|
|
@@ -8324,6 +8347,17 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
8324
8347
|
def FourthZone(self, FourthZone):
|
|
8325
8348
|
self._FourthZone = FourthZone
|
|
8326
8349
|
|
|
8350
|
+
@property
|
|
8351
|
+
def UseLatestMinorVersion(self):
|
|
8352
|
+
r"""<p>是否使用最新小版本号进行克隆。</p><p>枚举值:</p><ul><li>1: 是</li><li>0: 否</li></ul><p>默认值:0</p><p>默认和源实例的小版本号对齐</p>
|
|
8353
|
+
:rtype: int
|
|
8354
|
+
"""
|
|
8355
|
+
return self._UseLatestMinorVersion
|
|
8356
|
+
|
|
8357
|
+
@UseLatestMinorVersion.setter
|
|
8358
|
+
def UseLatestMinorVersion(self, UseLatestMinorVersion):
|
|
8359
|
+
self._UseLatestMinorVersion = UseLatestMinorVersion
|
|
8360
|
+
|
|
8327
8361
|
|
|
8328
8362
|
def _deserialize(self, params):
|
|
8329
8363
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -8362,6 +8396,7 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
|
8362
8396
|
self._MasterZone = params.get("MasterZone")
|
|
8363
8397
|
self._Zone = params.get("Zone")
|
|
8364
8398
|
self._FourthZone = params.get("FourthZone")
|
|
8399
|
+
self._UseLatestMinorVersion = params.get("UseLatestMinorVersion")
|
|
8365
8400
|
memeber_set = set(params.keys())
|
|
8366
8401
|
for name, value in vars(self).items():
|
|
8367
8402
|
property_name = name[1:]
|
|
@@ -8415,6 +8450,74 @@ class CreateCloneInstanceResponse(AbstractModel):
|
|
|
8415
8450
|
self._RequestId = params.get("RequestId")
|
|
8416
8451
|
|
|
8417
8452
|
|
|
8453
|
+
class CreateDBAccount(AbstractModel):
|
|
8454
|
+
r"""创建账号信息
|
|
8455
|
+
|
|
8456
|
+
"""
|
|
8457
|
+
|
|
8458
|
+
def __init__(self):
|
|
8459
|
+
r"""
|
|
8460
|
+
:param _User: <p>账号名称</p>
|
|
8461
|
+
:type User: str
|
|
8462
|
+
:param _Host: <p>主机名</p>
|
|
8463
|
+
:type Host: str
|
|
8464
|
+
:param _SSMInfos: <p>开始SSM托管的相关信息</p>
|
|
8465
|
+
:type SSMInfos: :class:`tencentcloud.cdb.v20170320.models.SSMCreateAccountInfos`
|
|
8466
|
+
"""
|
|
8467
|
+
self._User = None
|
|
8468
|
+
self._Host = None
|
|
8469
|
+
self._SSMInfos = None
|
|
8470
|
+
|
|
8471
|
+
@property
|
|
8472
|
+
def User(self):
|
|
8473
|
+
r"""<p>账号名称</p>
|
|
8474
|
+
:rtype: str
|
|
8475
|
+
"""
|
|
8476
|
+
return self._User
|
|
8477
|
+
|
|
8478
|
+
@User.setter
|
|
8479
|
+
def User(self, User):
|
|
8480
|
+
self._User = User
|
|
8481
|
+
|
|
8482
|
+
@property
|
|
8483
|
+
def Host(self):
|
|
8484
|
+
r"""<p>主机名</p>
|
|
8485
|
+
:rtype: str
|
|
8486
|
+
"""
|
|
8487
|
+
return self._Host
|
|
8488
|
+
|
|
8489
|
+
@Host.setter
|
|
8490
|
+
def Host(self, Host):
|
|
8491
|
+
self._Host = Host
|
|
8492
|
+
|
|
8493
|
+
@property
|
|
8494
|
+
def SSMInfos(self):
|
|
8495
|
+
r"""<p>开始SSM托管的相关信息</p>
|
|
8496
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.SSMCreateAccountInfos`
|
|
8497
|
+
"""
|
|
8498
|
+
return self._SSMInfos
|
|
8499
|
+
|
|
8500
|
+
@SSMInfos.setter
|
|
8501
|
+
def SSMInfos(self, SSMInfos):
|
|
8502
|
+
self._SSMInfos = SSMInfos
|
|
8503
|
+
|
|
8504
|
+
|
|
8505
|
+
def _deserialize(self, params):
|
|
8506
|
+
self._User = params.get("User")
|
|
8507
|
+
self._Host = params.get("Host")
|
|
8508
|
+
if params.get("SSMInfos") is not None:
|
|
8509
|
+
self._SSMInfos = SSMCreateAccountInfos()
|
|
8510
|
+
self._SSMInfos._deserialize(params.get("SSMInfos"))
|
|
8511
|
+
memeber_set = set(params.keys())
|
|
8512
|
+
for name, value in vars(self).items():
|
|
8513
|
+
property_name = name[1:]
|
|
8514
|
+
if property_name in memeber_set:
|
|
8515
|
+
memeber_set.remove(property_name)
|
|
8516
|
+
if len(memeber_set) > 0:
|
|
8517
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8518
|
+
|
|
8519
|
+
|
|
8520
|
+
|
|
8418
8521
|
class CreateDBImportJobRequest(AbstractModel):
|
|
8419
8522
|
r"""CreateDBImportJob请求参数结构体
|
|
8420
8523
|
|
|
@@ -11031,9 +11134,12 @@ class DeleteAccountsRequest(AbstractModel):
|
|
|
11031
11134
|
:type InstanceId: str
|
|
11032
11135
|
:param _Accounts: <p>云数据库账号。</p>
|
|
11033
11136
|
:type Accounts: list of Account
|
|
11137
|
+
:param _DeleteAccounts: <p>待删除账号的完整信息。</p>
|
|
11138
|
+
:type DeleteAccounts: list of DeleteDBAccount
|
|
11034
11139
|
"""
|
|
11035
11140
|
self._InstanceId = None
|
|
11036
11141
|
self._Accounts = None
|
|
11142
|
+
self._DeleteAccounts = None
|
|
11037
11143
|
|
|
11038
11144
|
@property
|
|
11039
11145
|
def InstanceId(self):
|
|
@@ -11057,6 +11163,17 @@ class DeleteAccountsRequest(AbstractModel):
|
|
|
11057
11163
|
def Accounts(self, Accounts):
|
|
11058
11164
|
self._Accounts = Accounts
|
|
11059
11165
|
|
|
11166
|
+
@property
|
|
11167
|
+
def DeleteAccounts(self):
|
|
11168
|
+
r"""<p>待删除账号的完整信息。</p>
|
|
11169
|
+
:rtype: list of DeleteDBAccount
|
|
11170
|
+
"""
|
|
11171
|
+
return self._DeleteAccounts
|
|
11172
|
+
|
|
11173
|
+
@DeleteAccounts.setter
|
|
11174
|
+
def DeleteAccounts(self, DeleteAccounts):
|
|
11175
|
+
self._DeleteAccounts = DeleteAccounts
|
|
11176
|
+
|
|
11060
11177
|
|
|
11061
11178
|
def _deserialize(self, params):
|
|
11062
11179
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -11066,6 +11183,12 @@ class DeleteAccountsRequest(AbstractModel):
|
|
|
11066
11183
|
obj = Account()
|
|
11067
11184
|
obj._deserialize(item)
|
|
11068
11185
|
self._Accounts.append(obj)
|
|
11186
|
+
if params.get("DeleteAccounts") is not None:
|
|
11187
|
+
self._DeleteAccounts = []
|
|
11188
|
+
for item in params.get("DeleteAccounts"):
|
|
11189
|
+
obj = DeleteDBAccount()
|
|
11190
|
+
obj._deserialize(item)
|
|
11191
|
+
self._DeleteAccounts.append(obj)
|
|
11069
11192
|
memeber_set = set(params.keys())
|
|
11070
11193
|
for name, value in vars(self).items():
|
|
11071
11194
|
property_name = name[1:]
|
|
@@ -11484,6 +11607,102 @@ class DeleteBackupResponse(AbstractModel):
|
|
|
11484
11607
|
self._RequestId = params.get("RequestId")
|
|
11485
11608
|
|
|
11486
11609
|
|
|
11610
|
+
class DeleteDBAccount(AbstractModel):
|
|
11611
|
+
r"""删除账号信息
|
|
11612
|
+
|
|
11613
|
+
"""
|
|
11614
|
+
|
|
11615
|
+
def __init__(self):
|
|
11616
|
+
r"""
|
|
11617
|
+
:param _User: <p>用户名</p>
|
|
11618
|
+
:type User: str
|
|
11619
|
+
:param _Host: <p>主机名</p>
|
|
11620
|
+
:type Host: str
|
|
11621
|
+
:param _SecretName: <p>凭据名称</p>
|
|
11622
|
+
:type SecretName: str
|
|
11623
|
+
:param _RecoveryWindowInDays: <p>保留时间,0表示立即删除(最大30天)</p>
|
|
11624
|
+
:type RecoveryWindowInDays: int
|
|
11625
|
+
:param _DeleteMode: <p>删除模式</p><p>枚举值:</p><ul><li>0: 仅删除凭据</li><li>1: 删除凭据+账号</li></ul>
|
|
11626
|
+
:type DeleteMode: int
|
|
11627
|
+
"""
|
|
11628
|
+
self._User = None
|
|
11629
|
+
self._Host = None
|
|
11630
|
+
self._SecretName = None
|
|
11631
|
+
self._RecoveryWindowInDays = None
|
|
11632
|
+
self._DeleteMode = None
|
|
11633
|
+
|
|
11634
|
+
@property
|
|
11635
|
+
def User(self):
|
|
11636
|
+
r"""<p>用户名</p>
|
|
11637
|
+
:rtype: str
|
|
11638
|
+
"""
|
|
11639
|
+
return self._User
|
|
11640
|
+
|
|
11641
|
+
@User.setter
|
|
11642
|
+
def User(self, User):
|
|
11643
|
+
self._User = User
|
|
11644
|
+
|
|
11645
|
+
@property
|
|
11646
|
+
def Host(self):
|
|
11647
|
+
r"""<p>主机名</p>
|
|
11648
|
+
:rtype: str
|
|
11649
|
+
"""
|
|
11650
|
+
return self._Host
|
|
11651
|
+
|
|
11652
|
+
@Host.setter
|
|
11653
|
+
def Host(self, Host):
|
|
11654
|
+
self._Host = Host
|
|
11655
|
+
|
|
11656
|
+
@property
|
|
11657
|
+
def SecretName(self):
|
|
11658
|
+
r"""<p>凭据名称</p>
|
|
11659
|
+
:rtype: str
|
|
11660
|
+
"""
|
|
11661
|
+
return self._SecretName
|
|
11662
|
+
|
|
11663
|
+
@SecretName.setter
|
|
11664
|
+
def SecretName(self, SecretName):
|
|
11665
|
+
self._SecretName = SecretName
|
|
11666
|
+
|
|
11667
|
+
@property
|
|
11668
|
+
def RecoveryWindowInDays(self):
|
|
11669
|
+
r"""<p>保留时间,0表示立即删除(最大30天)</p>
|
|
11670
|
+
:rtype: int
|
|
11671
|
+
"""
|
|
11672
|
+
return self._RecoveryWindowInDays
|
|
11673
|
+
|
|
11674
|
+
@RecoveryWindowInDays.setter
|
|
11675
|
+
def RecoveryWindowInDays(self, RecoveryWindowInDays):
|
|
11676
|
+
self._RecoveryWindowInDays = RecoveryWindowInDays
|
|
11677
|
+
|
|
11678
|
+
@property
|
|
11679
|
+
def DeleteMode(self):
|
|
11680
|
+
r"""<p>删除模式</p><p>枚举值:</p><ul><li>0: 仅删除凭据</li><li>1: 删除凭据+账号</li></ul>
|
|
11681
|
+
:rtype: int
|
|
11682
|
+
"""
|
|
11683
|
+
return self._DeleteMode
|
|
11684
|
+
|
|
11685
|
+
@DeleteMode.setter
|
|
11686
|
+
def DeleteMode(self, DeleteMode):
|
|
11687
|
+
self._DeleteMode = DeleteMode
|
|
11688
|
+
|
|
11689
|
+
|
|
11690
|
+
def _deserialize(self, params):
|
|
11691
|
+
self._User = params.get("User")
|
|
11692
|
+
self._Host = params.get("Host")
|
|
11693
|
+
self._SecretName = params.get("SecretName")
|
|
11694
|
+
self._RecoveryWindowInDays = params.get("RecoveryWindowInDays")
|
|
11695
|
+
self._DeleteMode = params.get("DeleteMode")
|
|
11696
|
+
memeber_set = set(params.keys())
|
|
11697
|
+
for name, value in vars(self).items():
|
|
11698
|
+
property_name = name[1:]
|
|
11699
|
+
if property_name in memeber_set:
|
|
11700
|
+
memeber_set.remove(property_name)
|
|
11701
|
+
if len(memeber_set) > 0:
|
|
11702
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11703
|
+
|
|
11704
|
+
|
|
11705
|
+
|
|
11487
11706
|
class DeleteDatabaseRequest(AbstractModel):
|
|
11488
11707
|
r"""DeleteDatabase请求参数结构体
|
|
11489
11708
|
|
|
@@ -16249,14 +16468,14 @@ class DescribeDBFeaturesRequest(AbstractModel):
|
|
|
16249
16468
|
|
|
16250
16469
|
def __init__(self):
|
|
16251
16470
|
r"""
|
|
16252
|
-
:param _InstanceId:
|
|
16471
|
+
:param _InstanceId: <p>实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。</p>
|
|
16253
16472
|
:type InstanceId: str
|
|
16254
16473
|
"""
|
|
16255
16474
|
self._InstanceId = None
|
|
16256
16475
|
|
|
16257
16476
|
@property
|
|
16258
16477
|
def InstanceId(self):
|
|
16259
|
-
r"""
|
|
16478
|
+
r"""<p>实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。</p>
|
|
16260
16479
|
:rtype: str
|
|
16261
16480
|
"""
|
|
16262
16481
|
return self._InstanceId
|
|
@@ -16285,24 +16504,23 @@ class DescribeDBFeaturesResponse(AbstractModel):
|
|
|
16285
16504
|
|
|
16286
16505
|
def __init__(self):
|
|
16287
16506
|
r"""
|
|
16288
|
-
:param _IsSupportAudit:
|
|
16507
|
+
:param _IsSupportAudit: <p>是否支持数据库审计功能。</p>
|
|
16289
16508
|
:type IsSupportAudit: bool
|
|
16290
|
-
:param _AuditNeedUpgrade:
|
|
16509
|
+
:param _AuditNeedUpgrade: <p>开启审计是否需要升级内核版本。</p>
|
|
16291
16510
|
:type AuditNeedUpgrade: bool
|
|
16292
|
-
:param _IsSupportEncryption:
|
|
16511
|
+
:param _IsSupportEncryption: <p>是否支持数据库加密功能。</p>
|
|
16293
16512
|
:type IsSupportEncryption: bool
|
|
16294
|
-
:param _EncryptionNeedUpgrade:
|
|
16513
|
+
:param _EncryptionNeedUpgrade: <p>开启加密是否需要升级内核版本。</p>
|
|
16295
16514
|
:type EncryptionNeedUpgrade: bool
|
|
16296
|
-
:param _IsRemoteRo:
|
|
16515
|
+
:param _IsRemoteRo: <p>是否为异地只读实例。</p>
|
|
16297
16516
|
:type IsRemoteRo: bool
|
|
16298
|
-
:param _MasterRegion:
|
|
16299
|
-
说明:此参数可能返回空值,您可忽略此出参返回值。如需获取实例所在地域详情,您可调用 [查询实例列表](https://cloud.tencent.com/document/product/236/15872) 接口查询。
|
|
16517
|
+
:param _MasterRegion: <p>主实例所在地域。<br>说明:此参数可能返回空值,您可忽略此出参返回值。如需获取实例所在地域详情,您可调用 <a href="https://cloud.tencent.com/document/product/236/15872">查询实例列表</a> 接口查询。</p>
|
|
16300
16518
|
:type MasterRegion: str
|
|
16301
|
-
:param _IsSupportUpdateSubVersion:
|
|
16519
|
+
:param _IsSupportUpdateSubVersion: <p>是否支持小版本升级。</p>
|
|
16302
16520
|
:type IsSupportUpdateSubVersion: bool
|
|
16303
|
-
:param _CurrentSubVersion:
|
|
16521
|
+
:param _CurrentSubVersion: <p>当前内核版本。</p>
|
|
16304
16522
|
:type CurrentSubVersion: str
|
|
16305
|
-
:param _TargetSubVersion:
|
|
16523
|
+
:param _TargetSubVersion: <p>可供升级的内核版本。</p>
|
|
16306
16524
|
:type TargetSubVersion: str
|
|
16307
16525
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16308
16526
|
:type RequestId: str
|
|
@@ -16320,7 +16538,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
|
|
|
16320
16538
|
|
|
16321
16539
|
@property
|
|
16322
16540
|
def IsSupportAudit(self):
|
|
16323
|
-
r"""
|
|
16541
|
+
r"""<p>是否支持数据库审计功能。</p>
|
|
16324
16542
|
:rtype: bool
|
|
16325
16543
|
"""
|
|
16326
16544
|
return self._IsSupportAudit
|
|
@@ -16331,7 +16549,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
|
|
|
16331
16549
|
|
|
16332
16550
|
@property
|
|
16333
16551
|
def AuditNeedUpgrade(self):
|
|
16334
|
-
r"""
|
|
16552
|
+
r"""<p>开启审计是否需要升级内核版本。</p>
|
|
16335
16553
|
:rtype: bool
|
|
16336
16554
|
"""
|
|
16337
16555
|
return self._AuditNeedUpgrade
|
|
@@ -16342,7 +16560,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
|
|
|
16342
16560
|
|
|
16343
16561
|
@property
|
|
16344
16562
|
def IsSupportEncryption(self):
|
|
16345
|
-
r"""
|
|
16563
|
+
r"""<p>是否支持数据库加密功能。</p>
|
|
16346
16564
|
:rtype: bool
|
|
16347
16565
|
"""
|
|
16348
16566
|
return self._IsSupportEncryption
|
|
@@ -16353,7 +16571,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
|
|
|
16353
16571
|
|
|
16354
16572
|
@property
|
|
16355
16573
|
def EncryptionNeedUpgrade(self):
|
|
16356
|
-
r"""
|
|
16574
|
+
r"""<p>开启加密是否需要升级内核版本。</p>
|
|
16357
16575
|
:rtype: bool
|
|
16358
16576
|
"""
|
|
16359
16577
|
return self._EncryptionNeedUpgrade
|
|
@@ -16364,7 +16582,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
|
|
|
16364
16582
|
|
|
16365
16583
|
@property
|
|
16366
16584
|
def IsRemoteRo(self):
|
|
16367
|
-
r"""
|
|
16585
|
+
r"""<p>是否为异地只读实例。</p>
|
|
16368
16586
|
:rtype: bool
|
|
16369
16587
|
"""
|
|
16370
16588
|
return self._IsRemoteRo
|
|
@@ -16375,8 +16593,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
|
|
|
16375
16593
|
|
|
16376
16594
|
@property
|
|
16377
16595
|
def MasterRegion(self):
|
|
16378
|
-
r"""
|
|
16379
|
-
说明:此参数可能返回空值,您可忽略此出参返回值。如需获取实例所在地域详情,您可调用 [查询实例列表](https://cloud.tencent.com/document/product/236/15872) 接口查询。
|
|
16596
|
+
r"""<p>主实例所在地域。<br>说明:此参数可能返回空值,您可忽略此出参返回值。如需获取实例所在地域详情,您可调用 <a href="https://cloud.tencent.com/document/product/236/15872">查询实例列表</a> 接口查询。</p>
|
|
16380
16597
|
:rtype: str
|
|
16381
16598
|
"""
|
|
16382
16599
|
return self._MasterRegion
|
|
@@ -16387,7 +16604,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
|
|
|
16387
16604
|
|
|
16388
16605
|
@property
|
|
16389
16606
|
def IsSupportUpdateSubVersion(self):
|
|
16390
|
-
r"""
|
|
16607
|
+
r"""<p>是否支持小版本升级。</p>
|
|
16391
16608
|
:rtype: bool
|
|
16392
16609
|
"""
|
|
16393
16610
|
return self._IsSupportUpdateSubVersion
|
|
@@ -16398,7 +16615,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
|
|
|
16398
16615
|
|
|
16399
16616
|
@property
|
|
16400
16617
|
def CurrentSubVersion(self):
|
|
16401
|
-
r"""
|
|
16618
|
+
r"""<p>当前内核版本。</p>
|
|
16402
16619
|
:rtype: str
|
|
16403
16620
|
"""
|
|
16404
16621
|
return self._CurrentSubVersion
|
|
@@ -16409,7 +16626,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
|
|
|
16409
16626
|
|
|
16410
16627
|
@property
|
|
16411
16628
|
def TargetSubVersion(self):
|
|
16412
|
-
r"""
|
|
16629
|
+
r"""<p>可供升级的内核版本。</p>
|
|
16413
16630
|
:rtype: str
|
|
16414
16631
|
"""
|
|
16415
16632
|
return self._TargetSubVersion
|
|
@@ -33384,6 +33601,110 @@ class PeriodStrategy(AbstractModel):
|
|
|
33384
33601
|
|
|
33385
33602
|
|
|
33386
33603
|
|
|
33604
|
+
class PrivilegeGroup(AbstractModel):
|
|
33605
|
+
r"""权限组
|
|
33606
|
+
|
|
33607
|
+
"""
|
|
33608
|
+
|
|
33609
|
+
def __init__(self):
|
|
33610
|
+
r"""
|
|
33611
|
+
:param _GlobalPrivileges: 全局权限
|
|
33612
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33613
|
+
:type GlobalPrivileges: list of str
|
|
33614
|
+
:param _DatabasePrivileges: 数据库权限
|
|
33615
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33616
|
+
:type DatabasePrivileges: list of DatabasePrivilege
|
|
33617
|
+
:param _TablePrivileges: 表权限
|
|
33618
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33619
|
+
:type TablePrivileges: list of TablePrivilege
|
|
33620
|
+
:param _ColumnPrivileges: 列权限
|
|
33621
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33622
|
+
:type ColumnPrivileges: list of ColumnPrivilege
|
|
33623
|
+
"""
|
|
33624
|
+
self._GlobalPrivileges = None
|
|
33625
|
+
self._DatabasePrivileges = None
|
|
33626
|
+
self._TablePrivileges = None
|
|
33627
|
+
self._ColumnPrivileges = None
|
|
33628
|
+
|
|
33629
|
+
@property
|
|
33630
|
+
def GlobalPrivileges(self):
|
|
33631
|
+
r"""全局权限
|
|
33632
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33633
|
+
:rtype: list of str
|
|
33634
|
+
"""
|
|
33635
|
+
return self._GlobalPrivileges
|
|
33636
|
+
|
|
33637
|
+
@GlobalPrivileges.setter
|
|
33638
|
+
def GlobalPrivileges(self, GlobalPrivileges):
|
|
33639
|
+
self._GlobalPrivileges = GlobalPrivileges
|
|
33640
|
+
|
|
33641
|
+
@property
|
|
33642
|
+
def DatabasePrivileges(self):
|
|
33643
|
+
r"""数据库权限
|
|
33644
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33645
|
+
:rtype: list of DatabasePrivilege
|
|
33646
|
+
"""
|
|
33647
|
+
return self._DatabasePrivileges
|
|
33648
|
+
|
|
33649
|
+
@DatabasePrivileges.setter
|
|
33650
|
+
def DatabasePrivileges(self, DatabasePrivileges):
|
|
33651
|
+
self._DatabasePrivileges = DatabasePrivileges
|
|
33652
|
+
|
|
33653
|
+
@property
|
|
33654
|
+
def TablePrivileges(self):
|
|
33655
|
+
r"""表权限
|
|
33656
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33657
|
+
:rtype: list of TablePrivilege
|
|
33658
|
+
"""
|
|
33659
|
+
return self._TablePrivileges
|
|
33660
|
+
|
|
33661
|
+
@TablePrivileges.setter
|
|
33662
|
+
def TablePrivileges(self, TablePrivileges):
|
|
33663
|
+
self._TablePrivileges = TablePrivileges
|
|
33664
|
+
|
|
33665
|
+
@property
|
|
33666
|
+
def ColumnPrivileges(self):
|
|
33667
|
+
r"""列权限
|
|
33668
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33669
|
+
:rtype: list of ColumnPrivilege
|
|
33670
|
+
"""
|
|
33671
|
+
return self._ColumnPrivileges
|
|
33672
|
+
|
|
33673
|
+
@ColumnPrivileges.setter
|
|
33674
|
+
def ColumnPrivileges(self, ColumnPrivileges):
|
|
33675
|
+
self._ColumnPrivileges = ColumnPrivileges
|
|
33676
|
+
|
|
33677
|
+
|
|
33678
|
+
def _deserialize(self, params):
|
|
33679
|
+
self._GlobalPrivileges = params.get("GlobalPrivileges")
|
|
33680
|
+
if params.get("DatabasePrivileges") is not None:
|
|
33681
|
+
self._DatabasePrivileges = []
|
|
33682
|
+
for item in params.get("DatabasePrivileges"):
|
|
33683
|
+
obj = DatabasePrivilege()
|
|
33684
|
+
obj._deserialize(item)
|
|
33685
|
+
self._DatabasePrivileges.append(obj)
|
|
33686
|
+
if params.get("TablePrivileges") is not None:
|
|
33687
|
+
self._TablePrivileges = []
|
|
33688
|
+
for item in params.get("TablePrivileges"):
|
|
33689
|
+
obj = TablePrivilege()
|
|
33690
|
+
obj._deserialize(item)
|
|
33691
|
+
self._TablePrivileges.append(obj)
|
|
33692
|
+
if params.get("ColumnPrivileges") is not None:
|
|
33693
|
+
self._ColumnPrivileges = []
|
|
33694
|
+
for item in params.get("ColumnPrivileges"):
|
|
33695
|
+
obj = ColumnPrivilege()
|
|
33696
|
+
obj._deserialize(item)
|
|
33697
|
+
self._ColumnPrivileges.append(obj)
|
|
33698
|
+
memeber_set = set(params.keys())
|
|
33699
|
+
for name, value in vars(self).items():
|
|
33700
|
+
property_name = name[1:]
|
|
33701
|
+
if property_name in memeber_set:
|
|
33702
|
+
memeber_set.remove(property_name)
|
|
33703
|
+
if len(memeber_set) > 0:
|
|
33704
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33705
|
+
|
|
33706
|
+
|
|
33707
|
+
|
|
33387
33708
|
class ProxyAddress(AbstractModel):
|
|
33388
33709
|
r"""数据库代理地址信息
|
|
33389
33710
|
|
|
@@ -35477,19 +35798,17 @@ class RoGroupAttr(AbstractModel):
|
|
|
35477
35798
|
|
|
35478
35799
|
def __init__(self):
|
|
35479
35800
|
r"""
|
|
35480
|
-
:param _RoGroupName: RO
|
|
35801
|
+
:param _RoGroupName: <p>RO 组名称。</p>
|
|
35481
35802
|
:type RoGroupName: str
|
|
35482
|
-
:param _RoMaxDelayTime: RO 实例最大延迟阈值。单位为秒,最小值为 1。范围:[1,10000]
|
|
35483
|
-
注意:RO 组必须设置了开启实例延迟剔除策略,该值才有效。
|
|
35803
|
+
:param _RoMaxDelayTime: <p>RO 实例最大延迟阈值。单位为秒,最小值为 1。范围:[1,10000],整数。<br>注意:RO 组必须设置了开启实例延迟剔除策略,该值才有效。</p>
|
|
35484
35804
|
:type RoMaxDelayTime: int
|
|
35485
|
-
:param _RoOfflineDelay:
|
|
35805
|
+
:param _RoOfflineDelay: <p>是否开启实例延迟剔除。支持的值包括:1 - 开启;0 - 不开启。注意,若设置开启实例延迟剔除,则必须设置延迟阈值(RoMaxDelayTime)参数。</p>
|
|
35486
35806
|
:type RoOfflineDelay: int
|
|
35487
|
-
:param _MinRoInGroup:
|
|
35488
|
-
注意:若设置值大于 RO 实例数量将不做剔除;若设置为 0,所有实例延迟超限都会被剔除。
|
|
35807
|
+
:param _MinRoInGroup: <p>最少保留实例数。可设置为小于或等于该 RO 组下 RO 实例个数的任意值。默认值为1。<br>注意:若设置值大于 RO 实例数量将不做剔除;若设置为 0,所有实例延迟超限都会被剔除。</p>
|
|
35489
35808
|
:type MinRoInGroup: int
|
|
35490
|
-
:param _WeightMode:
|
|
35809
|
+
:param _WeightMode: <p>权重模式。支持值包括:"system" - 系统自动分配; "custom" - 用户自定义设置。注意,若设置 "custom" 模式,则必须设置 RO 实例权重配置(RoWeightValues)参数。</p>
|
|
35491
35810
|
:type WeightMode: str
|
|
35492
|
-
:param _ReplicationDelayTime:
|
|
35811
|
+
:param _ReplicationDelayTime: <p>延迟复制时间。单位:秒,范围:1 - 259200秒,不传此参数表示不开启实例延迟复制。</p>
|
|
35493
35812
|
:type ReplicationDelayTime: int
|
|
35494
35813
|
"""
|
|
35495
35814
|
self._RoGroupName = None
|
|
@@ -35501,7 +35820,7 @@ class RoGroupAttr(AbstractModel):
|
|
|
35501
35820
|
|
|
35502
35821
|
@property
|
|
35503
35822
|
def RoGroupName(self):
|
|
35504
|
-
r"""RO
|
|
35823
|
+
r"""<p>RO 组名称。</p>
|
|
35505
35824
|
:rtype: str
|
|
35506
35825
|
"""
|
|
35507
35826
|
return self._RoGroupName
|
|
@@ -35512,8 +35831,7 @@ class RoGroupAttr(AbstractModel):
|
|
|
35512
35831
|
|
|
35513
35832
|
@property
|
|
35514
35833
|
def RoMaxDelayTime(self):
|
|
35515
|
-
r"""RO 实例最大延迟阈值。单位为秒,最小值为 1。范围:[1,10000]
|
|
35516
|
-
注意:RO 组必须设置了开启实例延迟剔除策略,该值才有效。
|
|
35834
|
+
r"""<p>RO 实例最大延迟阈值。单位为秒,最小值为 1。范围:[1,10000],整数。<br>注意:RO 组必须设置了开启实例延迟剔除策略,该值才有效。</p>
|
|
35517
35835
|
:rtype: int
|
|
35518
35836
|
"""
|
|
35519
35837
|
return self._RoMaxDelayTime
|
|
@@ -35524,7 +35842,7 @@ class RoGroupAttr(AbstractModel):
|
|
|
35524
35842
|
|
|
35525
35843
|
@property
|
|
35526
35844
|
def RoOfflineDelay(self):
|
|
35527
|
-
r"""
|
|
35845
|
+
r"""<p>是否开启实例延迟剔除。支持的值包括:1 - 开启;0 - 不开启。注意,若设置开启实例延迟剔除,则必须设置延迟阈值(RoMaxDelayTime)参数。</p>
|
|
35528
35846
|
:rtype: int
|
|
35529
35847
|
"""
|
|
35530
35848
|
return self._RoOfflineDelay
|
|
@@ -35535,8 +35853,7 @@ class RoGroupAttr(AbstractModel):
|
|
|
35535
35853
|
|
|
35536
35854
|
@property
|
|
35537
35855
|
def MinRoInGroup(self):
|
|
35538
|
-
r"""
|
|
35539
|
-
注意:若设置值大于 RO 实例数量将不做剔除;若设置为 0,所有实例延迟超限都会被剔除。
|
|
35856
|
+
r"""<p>最少保留实例数。可设置为小于或等于该 RO 组下 RO 实例个数的任意值。默认值为1。<br>注意:若设置值大于 RO 实例数量将不做剔除;若设置为 0,所有实例延迟超限都会被剔除。</p>
|
|
35540
35857
|
:rtype: int
|
|
35541
35858
|
"""
|
|
35542
35859
|
return self._MinRoInGroup
|
|
@@ -35547,7 +35864,7 @@ class RoGroupAttr(AbstractModel):
|
|
|
35547
35864
|
|
|
35548
35865
|
@property
|
|
35549
35866
|
def WeightMode(self):
|
|
35550
|
-
r"""
|
|
35867
|
+
r"""<p>权重模式。支持值包括:"system" - 系统自动分配; "custom" - 用户自定义设置。注意,若设置 "custom" 模式,则必须设置 RO 实例权重配置(RoWeightValues)参数。</p>
|
|
35551
35868
|
:rtype: str
|
|
35552
35869
|
"""
|
|
35553
35870
|
return self._WeightMode
|
|
@@ -35558,7 +35875,7 @@ class RoGroupAttr(AbstractModel):
|
|
|
35558
35875
|
|
|
35559
35876
|
@property
|
|
35560
35877
|
def ReplicationDelayTime(self):
|
|
35561
|
-
r"""
|
|
35878
|
+
r"""<p>延迟复制时间。单位:秒,范围:1 - 259200秒,不传此参数表示不开启实例延迟复制。</p>
|
|
35562
35879
|
:rtype: int
|
|
35563
35880
|
"""
|
|
35564
35881
|
return self._ReplicationDelayTime
|
|
@@ -36892,6 +37209,182 @@ class RuleTemplateRecordInfo(AbstractModel):
|
|
|
36892
37209
|
|
|
36893
37210
|
|
|
36894
37211
|
|
|
37212
|
+
class SSMCreateAccountInfos(AbstractModel):
|
|
37213
|
+
r"""创建SSM账号相关信息
|
|
37214
|
+
|
|
37215
|
+
"""
|
|
37216
|
+
|
|
37217
|
+
def __init__(self):
|
|
37218
|
+
r"""
|
|
37219
|
+
:param _IsOpenSSM: <p>是否开启SSM托管</p><p>枚举值:</p><ul><li>true: 开启托管</li><li>false: 不开启托管</li></ul>
|
|
37220
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37221
|
+
:type IsOpenSSM: bool
|
|
37222
|
+
:param _IsRotationAccount: <p>是否创建轮转账号</p><p>枚举值:</p><ul><li>true: 创建轮转账号</li><li>false: 创建非轮转账号</li></ul>
|
|
37223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37224
|
+
:type IsRotationAccount: bool
|
|
37225
|
+
:param _SecretName: <p>凭据名称</p>
|
|
37226
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37227
|
+
:type SecretName: str
|
|
37228
|
+
:param _KmsKeyId: <p>KMS CMK ID</p>
|
|
37229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37230
|
+
:type KmsKeyId: str
|
|
37231
|
+
:param _EncryptType: <p>密钥类型</p><p>枚举值:</p><ul><li>0: KMS密码</li><li>1: 软件密钥</li></ul>
|
|
37232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37233
|
+
:type EncryptType: int
|
|
37234
|
+
:param _EnableRotation: <p>是否开启轮转</p>
|
|
37235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37236
|
+
:type EnableRotation: bool
|
|
37237
|
+
:param _RotationFrequency: <p>轮转周期</p>
|
|
37238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37239
|
+
:type RotationFrequency: int
|
|
37240
|
+
:param _PrivilegesList: <p>权限列表</p>
|
|
37241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37242
|
+
:type PrivilegesList: :class:`tencentcloud.cdb.v20170320.models.PrivilegeGroup`
|
|
37243
|
+
:param _KmsHsmClusterId: <p>独享版 KMS 集群 ID</p>
|
|
37244
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37245
|
+
:type KmsHsmClusterId: str
|
|
37246
|
+
"""
|
|
37247
|
+
self._IsOpenSSM = None
|
|
37248
|
+
self._IsRotationAccount = None
|
|
37249
|
+
self._SecretName = None
|
|
37250
|
+
self._KmsKeyId = None
|
|
37251
|
+
self._EncryptType = None
|
|
37252
|
+
self._EnableRotation = None
|
|
37253
|
+
self._RotationFrequency = None
|
|
37254
|
+
self._PrivilegesList = None
|
|
37255
|
+
self._KmsHsmClusterId = None
|
|
37256
|
+
|
|
37257
|
+
@property
|
|
37258
|
+
def IsOpenSSM(self):
|
|
37259
|
+
r"""<p>是否开启SSM托管</p><p>枚举值:</p><ul><li>true: 开启托管</li><li>false: 不开启托管</li></ul>
|
|
37260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37261
|
+
:rtype: bool
|
|
37262
|
+
"""
|
|
37263
|
+
return self._IsOpenSSM
|
|
37264
|
+
|
|
37265
|
+
@IsOpenSSM.setter
|
|
37266
|
+
def IsOpenSSM(self, IsOpenSSM):
|
|
37267
|
+
self._IsOpenSSM = IsOpenSSM
|
|
37268
|
+
|
|
37269
|
+
@property
|
|
37270
|
+
def IsRotationAccount(self):
|
|
37271
|
+
r"""<p>是否创建轮转账号</p><p>枚举值:</p><ul><li>true: 创建轮转账号</li><li>false: 创建非轮转账号</li></ul>
|
|
37272
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37273
|
+
:rtype: bool
|
|
37274
|
+
"""
|
|
37275
|
+
return self._IsRotationAccount
|
|
37276
|
+
|
|
37277
|
+
@IsRotationAccount.setter
|
|
37278
|
+
def IsRotationAccount(self, IsRotationAccount):
|
|
37279
|
+
self._IsRotationAccount = IsRotationAccount
|
|
37280
|
+
|
|
37281
|
+
@property
|
|
37282
|
+
def SecretName(self):
|
|
37283
|
+
r"""<p>凭据名称</p>
|
|
37284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37285
|
+
:rtype: str
|
|
37286
|
+
"""
|
|
37287
|
+
return self._SecretName
|
|
37288
|
+
|
|
37289
|
+
@SecretName.setter
|
|
37290
|
+
def SecretName(self, SecretName):
|
|
37291
|
+
self._SecretName = SecretName
|
|
37292
|
+
|
|
37293
|
+
@property
|
|
37294
|
+
def KmsKeyId(self):
|
|
37295
|
+
r"""<p>KMS CMK ID</p>
|
|
37296
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37297
|
+
:rtype: str
|
|
37298
|
+
"""
|
|
37299
|
+
return self._KmsKeyId
|
|
37300
|
+
|
|
37301
|
+
@KmsKeyId.setter
|
|
37302
|
+
def KmsKeyId(self, KmsKeyId):
|
|
37303
|
+
self._KmsKeyId = KmsKeyId
|
|
37304
|
+
|
|
37305
|
+
@property
|
|
37306
|
+
def EncryptType(self):
|
|
37307
|
+
r"""<p>密钥类型</p><p>枚举值:</p><ul><li>0: KMS密码</li><li>1: 软件密钥</li></ul>
|
|
37308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37309
|
+
:rtype: int
|
|
37310
|
+
"""
|
|
37311
|
+
return self._EncryptType
|
|
37312
|
+
|
|
37313
|
+
@EncryptType.setter
|
|
37314
|
+
def EncryptType(self, EncryptType):
|
|
37315
|
+
self._EncryptType = EncryptType
|
|
37316
|
+
|
|
37317
|
+
@property
|
|
37318
|
+
def EnableRotation(self):
|
|
37319
|
+
r"""<p>是否开启轮转</p>
|
|
37320
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37321
|
+
:rtype: bool
|
|
37322
|
+
"""
|
|
37323
|
+
return self._EnableRotation
|
|
37324
|
+
|
|
37325
|
+
@EnableRotation.setter
|
|
37326
|
+
def EnableRotation(self, EnableRotation):
|
|
37327
|
+
self._EnableRotation = EnableRotation
|
|
37328
|
+
|
|
37329
|
+
@property
|
|
37330
|
+
def RotationFrequency(self):
|
|
37331
|
+
r"""<p>轮转周期</p>
|
|
37332
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37333
|
+
:rtype: int
|
|
37334
|
+
"""
|
|
37335
|
+
return self._RotationFrequency
|
|
37336
|
+
|
|
37337
|
+
@RotationFrequency.setter
|
|
37338
|
+
def RotationFrequency(self, RotationFrequency):
|
|
37339
|
+
self._RotationFrequency = RotationFrequency
|
|
37340
|
+
|
|
37341
|
+
@property
|
|
37342
|
+
def PrivilegesList(self):
|
|
37343
|
+
r"""<p>权限列表</p>
|
|
37344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37345
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.PrivilegeGroup`
|
|
37346
|
+
"""
|
|
37347
|
+
return self._PrivilegesList
|
|
37348
|
+
|
|
37349
|
+
@PrivilegesList.setter
|
|
37350
|
+
def PrivilegesList(self, PrivilegesList):
|
|
37351
|
+
self._PrivilegesList = PrivilegesList
|
|
37352
|
+
|
|
37353
|
+
@property
|
|
37354
|
+
def KmsHsmClusterId(self):
|
|
37355
|
+
r"""<p>独享版 KMS 集群 ID</p>
|
|
37356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37357
|
+
:rtype: str
|
|
37358
|
+
"""
|
|
37359
|
+
return self._KmsHsmClusterId
|
|
37360
|
+
|
|
37361
|
+
@KmsHsmClusterId.setter
|
|
37362
|
+
def KmsHsmClusterId(self, KmsHsmClusterId):
|
|
37363
|
+
self._KmsHsmClusterId = KmsHsmClusterId
|
|
37364
|
+
|
|
37365
|
+
|
|
37366
|
+
def _deserialize(self, params):
|
|
37367
|
+
self._IsOpenSSM = params.get("IsOpenSSM")
|
|
37368
|
+
self._IsRotationAccount = params.get("IsRotationAccount")
|
|
37369
|
+
self._SecretName = params.get("SecretName")
|
|
37370
|
+
self._KmsKeyId = params.get("KmsKeyId")
|
|
37371
|
+
self._EncryptType = params.get("EncryptType")
|
|
37372
|
+
self._EnableRotation = params.get("EnableRotation")
|
|
37373
|
+
self._RotationFrequency = params.get("RotationFrequency")
|
|
37374
|
+
if params.get("PrivilegesList") is not None:
|
|
37375
|
+
self._PrivilegesList = PrivilegeGroup()
|
|
37376
|
+
self._PrivilegesList._deserialize(params.get("PrivilegesList"))
|
|
37377
|
+
self._KmsHsmClusterId = params.get("KmsHsmClusterId")
|
|
37378
|
+
memeber_set = set(params.keys())
|
|
37379
|
+
for name, value in vars(self).items():
|
|
37380
|
+
property_name = name[1:]
|
|
37381
|
+
if property_name in memeber_set:
|
|
37382
|
+
memeber_set.remove(property_name)
|
|
37383
|
+
if len(memeber_set) > 0:
|
|
37384
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
37385
|
+
|
|
37386
|
+
|
|
37387
|
+
|
|
36895
37388
|
class SecurityGroup(AbstractModel):
|
|
36896
37389
|
r"""安全组详情
|
|
36897
37390
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.206
|
|
4
4
|
Summary: Tencent Cloud Cdb 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.206
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=rplc9-BE59lNdtDmMGLBBkqktuse_VKOGZFiFKPX7GE,630
|
|
2
2
|
tencentcloud/cdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/cdb/v20170320/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/cdb/v20170320/cdb_client.py,sha256=FN91TtC-4TDFfbZG5QTlTCoARUtEbUQKs0FugOefxUg,181835
|
|
5
5
|
tencentcloud/cdb/v20170320/cdb_client_async.py,sha256=p2De-w_vlYyzf8bhkuHWqbhFlwmz1M9QAuMxDNiwsD4,127568
|
|
6
6
|
tencentcloud/cdb/v20170320/errorcodes.py,sha256=p5SZDKErz-2s_UAo7Do0JTocpYFaf2zyGcah3aRsVHM,21688
|
|
7
|
-
tencentcloud/cdb/v20170320/models.py,sha256=
|
|
8
|
-
tencentcloud_sdk_python_cdb-3.1.
|
|
9
|
-
tencentcloud_sdk_python_cdb-3.1.
|
|
10
|
-
tencentcloud_sdk_python_cdb-3.1.
|
|
11
|
-
tencentcloud_sdk_python_cdb-3.1.
|
|
7
|
+
tencentcloud/cdb/v20170320/models.py,sha256=PJ0u7mza-POr4F0SgT2e6didu_FphGSAvc5pmND50Bg,1389484
|
|
8
|
+
tencentcloud_sdk_python_cdb-3.1.206.dist-info/METADATA,sha256=w6voV0iVRFAgrmlL-FZoq5itVJB0ROGuRAlDPEWHNPw,1497
|
|
9
|
+
tencentcloud_sdk_python_cdb-3.1.206.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_cdb-3.1.206.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_cdb-3.1.206.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|