tencentcloud-sdk-python 3.0.1388__py2.py3-none-any.whl → 3.0.1389__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/batch/v20170312/models.py +24 -26
- tencentcloud/bh/v20230418/models.py +315 -0
- tencentcloud/cam/v20190116/errorcodes.py +6 -0
- tencentcloud/cam/v20190116/models.py +0 -8
- tencentcloud/cbs/v20170312/models.py +8 -8
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +827 -0
- tencentcloud/cdwdoris/v20211228/models.py +19 -0
- tencentcloud/cynosdb/v20190107/models.py +239 -6
- tencentcloud/dlc/v20210125/models.py +18 -18
- tencentcloud/ess/v20201111/ess_client.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/hai/v20230812/errorcodes.py +3 -0
- tencentcloud/keewidb/v20220308/errorcodes.py +3 -0
- tencentcloud/keewidb/v20220308/models.py +8 -8
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/mps/v20190612/models.py +45 -0
- tencentcloud/oceanus/v20190422/models.py +747 -2
- tencentcloud/ses/v20201002/models.py +180 -0
- tencentcloud/ses/v20201002/ses_client.py +23 -0
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +15 -0
- tencentcloud/tag/v20180813/models.py +0 -26
- tencentcloud/tione/v20211111/models.py +62 -0
- tencentcloud/vpc/v20170312/models.py +14 -2
- tencentcloud/wedata/v20210820/models.py +188 -2
- {tencentcloud_sdk_python-3.0.1388.dist-info → tencentcloud_sdk_python-3.0.1389.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1388.dist-info → tencentcloud_sdk_python-3.0.1389.dist-info}/RECORD +32 -32
- {tencentcloud_sdk_python-3.0.1388.dist-info → tencentcloud_sdk_python-3.0.1389.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1388.dist-info → tencentcloud_sdk_python-3.0.1389.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1388.dist-info → tencentcloud_sdk_python-3.0.1389.dist-info}/top_level.txt +0 -0
@@ -2502,6 +2502,8 @@ class CreateInstanceNewRequest(AbstractModel):
|
|
2502
2502
|
:type SSCCU: int
|
2503
2503
|
:param _CacheDiskSize: 缓存盘大小
|
2504
2504
|
:type CacheDiskSize: str
|
2505
|
+
:param _CacheDataDiskSize: 缓存盘大小
|
2506
|
+
:type CacheDataDiskSize: int
|
2505
2507
|
"""
|
2506
2508
|
self._Zone = None
|
2507
2509
|
self._FeSpec = None
|
@@ -2522,6 +2524,7 @@ class CreateInstanceNewRequest(AbstractModel):
|
|
2522
2524
|
self._IsSSC = None
|
2523
2525
|
self._SSCCU = None
|
2524
2526
|
self._CacheDiskSize = None
|
2527
|
+
self._CacheDataDiskSize = None
|
2525
2528
|
|
2526
2529
|
@property
|
2527
2530
|
def Zone(self):
|
@@ -2730,6 +2733,8 @@ class CreateInstanceNewRequest(AbstractModel):
|
|
2730
2733
|
|
2731
2734
|
@property
|
2732
2735
|
def CacheDiskSize(self):
|
2736
|
+
warnings.warn("parameter `CacheDiskSize` is deprecated", DeprecationWarning)
|
2737
|
+
|
2733
2738
|
"""缓存盘大小
|
2734
2739
|
:rtype: str
|
2735
2740
|
"""
|
@@ -2737,8 +2742,21 @@ class CreateInstanceNewRequest(AbstractModel):
|
|
2737
2742
|
|
2738
2743
|
@CacheDiskSize.setter
|
2739
2744
|
def CacheDiskSize(self, CacheDiskSize):
|
2745
|
+
warnings.warn("parameter `CacheDiskSize` is deprecated", DeprecationWarning)
|
2746
|
+
|
2740
2747
|
self._CacheDiskSize = CacheDiskSize
|
2741
2748
|
|
2749
|
+
@property
|
2750
|
+
def CacheDataDiskSize(self):
|
2751
|
+
"""缓存盘大小
|
2752
|
+
:rtype: int
|
2753
|
+
"""
|
2754
|
+
return self._CacheDataDiskSize
|
2755
|
+
|
2756
|
+
@CacheDataDiskSize.setter
|
2757
|
+
def CacheDataDiskSize(self, CacheDataDiskSize):
|
2758
|
+
self._CacheDataDiskSize = CacheDataDiskSize
|
2759
|
+
|
2742
2760
|
|
2743
2761
|
def _deserialize(self, params):
|
2744
2762
|
self._Zone = params.get("Zone")
|
@@ -2778,6 +2796,7 @@ class CreateInstanceNewRequest(AbstractModel):
|
|
2778
2796
|
self._IsSSC = params.get("IsSSC")
|
2779
2797
|
self._SSCCU = params.get("SSCCU")
|
2780
2798
|
self._CacheDiskSize = params.get("CacheDiskSize")
|
2799
|
+
self._CacheDataDiskSize = params.get("CacheDataDiskSize")
|
2781
2800
|
memeber_set = set(params.keys())
|
2782
2801
|
for name, value in vars(self).items():
|
2783
2802
|
property_name = name[1:]
|
@@ -2783,6 +2783,8 @@ class BizTaskInfo(AbstractModel):
|
|
2783
2783
|
:type InstanceCLSDeliveryInfos: list of InstanceCLSDeliveryInfo
|
2784
2784
|
:param _TaskProgressInfo: 任务进度信息
|
2785
2785
|
:type TaskProgressInfo: :class:`tencentcloud.cynosdb.v20190107.models.TaskProgressInfo`
|
2786
|
+
:param _GdnTaskInfo: 全球数据库网络任务
|
2787
|
+
:type GdnTaskInfo: :class:`tencentcloud.cynosdb.v20190107.models.GdnTaskInfo`
|
2786
2788
|
"""
|
2787
2789
|
self._ID = None
|
2788
2790
|
self._AppId = None
|
@@ -2821,6 +2823,7 @@ class BizTaskInfo(AbstractModel):
|
|
2821
2823
|
self._TaskMaintainInfo = None
|
2822
2824
|
self._InstanceCLSDeliveryInfos = None
|
2823
2825
|
self._TaskProgressInfo = None
|
2826
|
+
self._GdnTaskInfo = None
|
2824
2827
|
|
2825
2828
|
@property
|
2826
2829
|
def ID(self):
|
@@ -3242,6 +3245,17 @@ class BizTaskInfo(AbstractModel):
|
|
3242
3245
|
def TaskProgressInfo(self, TaskProgressInfo):
|
3243
3246
|
self._TaskProgressInfo = TaskProgressInfo
|
3244
3247
|
|
3248
|
+
@property
|
3249
|
+
def GdnTaskInfo(self):
|
3250
|
+
"""全球数据库网络任务
|
3251
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.GdnTaskInfo`
|
3252
|
+
"""
|
3253
|
+
return self._GdnTaskInfo
|
3254
|
+
|
3255
|
+
@GdnTaskInfo.setter
|
3256
|
+
def GdnTaskInfo(self, GdnTaskInfo):
|
3257
|
+
self._GdnTaskInfo = GdnTaskInfo
|
3258
|
+
|
3245
3259
|
|
3246
3260
|
def _deserialize(self, params):
|
3247
3261
|
self._ID = params.get("ID")
|
@@ -3311,6 +3325,9 @@ class BizTaskInfo(AbstractModel):
|
|
3311
3325
|
if params.get("TaskProgressInfo") is not None:
|
3312
3326
|
self._TaskProgressInfo = TaskProgressInfo()
|
3313
3327
|
self._TaskProgressInfo._deserialize(params.get("TaskProgressInfo"))
|
3328
|
+
if params.get("GdnTaskInfo") is not None:
|
3329
|
+
self._GdnTaskInfo = GdnTaskInfo()
|
3330
|
+
self._GdnTaskInfo._deserialize(params.get("GdnTaskInfo"))
|
3314
3331
|
memeber_set = set(params.keys())
|
3315
3332
|
for name, value in vars(self).items():
|
3316
3333
|
property_name = name[1:]
|
@@ -8552,6 +8569,12 @@ pausing
|
|
8552
8569
|
从集群 - standby
|
8553
8570
|
如为空,该字段无效
|
8554
8571
|
:type GdnRole: str
|
8572
|
+
:param _UsedArchiveStorage: 二级存储使用量,单位:G
|
8573
|
+
:type UsedArchiveStorage: int
|
8574
|
+
:param _ArchiveStatus: 归档状态,枚举值<li>normal:正常</li><li>archiving:归档中</li><li>resuming:恢复中</li><li>archived :已归档</li>
|
8575
|
+
:type ArchiveStatus: str
|
8576
|
+
:param _ArchiveProgress: 归档进度,百分比。
|
8577
|
+
:type ArchiveProgress: int
|
8555
8578
|
"""
|
8556
8579
|
self._ClusterId = None
|
8557
8580
|
self._ClusterName = None
|
@@ -8606,6 +8629,9 @@ pausing
|
|
8606
8629
|
self._CynosVersionTag = None
|
8607
8630
|
self._GdnId = None
|
8608
8631
|
self._GdnRole = None
|
8632
|
+
self._UsedArchiveStorage = None
|
8633
|
+
self._ArchiveStatus = None
|
8634
|
+
self._ArchiveProgress = None
|
8609
8635
|
|
8610
8636
|
@property
|
8611
8637
|
def ClusterId(self):
|
@@ -9197,6 +9223,39 @@ pausing
|
|
9197
9223
|
def GdnRole(self, GdnRole):
|
9198
9224
|
self._GdnRole = GdnRole
|
9199
9225
|
|
9226
|
+
@property
|
9227
|
+
def UsedArchiveStorage(self):
|
9228
|
+
"""二级存储使用量,单位:G
|
9229
|
+
:rtype: int
|
9230
|
+
"""
|
9231
|
+
return self._UsedArchiveStorage
|
9232
|
+
|
9233
|
+
@UsedArchiveStorage.setter
|
9234
|
+
def UsedArchiveStorage(self, UsedArchiveStorage):
|
9235
|
+
self._UsedArchiveStorage = UsedArchiveStorage
|
9236
|
+
|
9237
|
+
@property
|
9238
|
+
def ArchiveStatus(self):
|
9239
|
+
"""归档状态,枚举值<li>normal:正常</li><li>archiving:归档中</li><li>resuming:恢复中</li><li>archived :已归档</li>
|
9240
|
+
:rtype: str
|
9241
|
+
"""
|
9242
|
+
return self._ArchiveStatus
|
9243
|
+
|
9244
|
+
@ArchiveStatus.setter
|
9245
|
+
def ArchiveStatus(self, ArchiveStatus):
|
9246
|
+
self._ArchiveStatus = ArchiveStatus
|
9247
|
+
|
9248
|
+
@property
|
9249
|
+
def ArchiveProgress(self):
|
9250
|
+
"""归档进度,百分比。
|
9251
|
+
:rtype: int
|
9252
|
+
"""
|
9253
|
+
return self._ArchiveProgress
|
9254
|
+
|
9255
|
+
@ArchiveProgress.setter
|
9256
|
+
def ArchiveProgress(self, ArchiveProgress):
|
9257
|
+
self._ArchiveProgress = ArchiveProgress
|
9258
|
+
|
9200
9259
|
|
9201
9260
|
def _deserialize(self, params):
|
9202
9261
|
self._ClusterId = params.get("ClusterId")
|
@@ -9284,6 +9343,9 @@ pausing
|
|
9284
9343
|
self._CynosVersionTag = params.get("CynosVersionTag")
|
9285
9344
|
self._GdnId = params.get("GdnId")
|
9286
9345
|
self._GdnRole = params.get("GdnRole")
|
9346
|
+
self._UsedArchiveStorage = params.get("UsedArchiveStorage")
|
9347
|
+
self._ArchiveStatus = params.get("ArchiveStatus")
|
9348
|
+
self._ArchiveProgress = params.get("ArchiveProgress")
|
9287
9349
|
memeber_set = set(params.keys())
|
9288
9350
|
for name, value in vars(self).items():
|
9289
9351
|
property_name = name[1:]
|
@@ -20397,6 +20459,8 @@ no
|
|
20397
20459
|
:type AutoScaleUp: str
|
20398
20460
|
:param _AutoScaleDown: 集群是否允许向下缩容,可选范围<li>yes</li><li>no</li>
|
20399
20461
|
:type AutoScaleDown: str
|
20462
|
+
:param _AutoArchive: 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
|
20463
|
+
:type AutoArchive: str
|
20400
20464
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20401
20465
|
:type RequestId: str
|
20402
20466
|
"""
|
@@ -20406,6 +20470,7 @@ no
|
|
20406
20470
|
self._AutoPause = None
|
20407
20471
|
self._AutoScaleUp = None
|
20408
20472
|
self._AutoScaleDown = None
|
20473
|
+
self._AutoArchive = None
|
20409
20474
|
self._RequestId = None
|
20410
20475
|
|
20411
20476
|
@property
|
@@ -20476,6 +20541,17 @@ no
|
|
20476
20541
|
def AutoScaleDown(self, AutoScaleDown):
|
20477
20542
|
self._AutoScaleDown = AutoScaleDown
|
20478
20543
|
|
20544
|
+
@property
|
20545
|
+
def AutoArchive(self):
|
20546
|
+
"""是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
|
20547
|
+
:rtype: str
|
20548
|
+
"""
|
20549
|
+
return self._AutoArchive
|
20550
|
+
|
20551
|
+
@AutoArchive.setter
|
20552
|
+
def AutoArchive(self, AutoArchive):
|
20553
|
+
self._AutoArchive = AutoArchive
|
20554
|
+
|
20479
20555
|
@property
|
20480
20556
|
def RequestId(self):
|
20481
20557
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -20495,6 +20571,7 @@ no
|
|
20495
20571
|
self._AutoPause = params.get("AutoPause")
|
20496
20572
|
self._AutoScaleUp = params.get("AutoScaleUp")
|
20497
20573
|
self._AutoScaleDown = params.get("AutoScaleDown")
|
20574
|
+
self._AutoArchive = params.get("AutoArchive")
|
20498
20575
|
self._RequestId = params.get("RequestId")
|
20499
20576
|
|
20500
20577
|
|
@@ -21920,6 +21997,132 @@ class ExportResourcePackageDeductDetailsResponse(AbstractModel):
|
|
21920
21997
|
self._RequestId = params.get("RequestId")
|
21921
21998
|
|
21922
21999
|
|
22000
|
+
class GdnTaskInfo(AbstractModel):
|
22001
|
+
"""全球数据库任务信息
|
22002
|
+
|
22003
|
+
"""
|
22004
|
+
|
22005
|
+
def __init__(self):
|
22006
|
+
r"""
|
22007
|
+
:param _GdnId: 全球数据库唯一标识
|
22008
|
+
:type GdnId: str
|
22009
|
+
:param _GdnName: 全球数据库唯一别名
|
22010
|
+
:type GdnName: str
|
22011
|
+
:param _PrimaryClusterId: 主集群ID
|
22012
|
+
:type PrimaryClusterId: str
|
22013
|
+
:param _PrimaryClusterRegion: 主集群所在地域
|
22014
|
+
:type PrimaryClusterRegion: str
|
22015
|
+
:param _StandbyClusterRegion: 从集群所在地域
|
22016
|
+
:type StandbyClusterRegion: str
|
22017
|
+
:param _StandbyClusterId: 从集群ID
|
22018
|
+
:type StandbyClusterId: str
|
22019
|
+
:param _StandbyClusterName: 从集群别名
|
22020
|
+
:type StandbyClusterName: str
|
22021
|
+
"""
|
22022
|
+
self._GdnId = None
|
22023
|
+
self._GdnName = None
|
22024
|
+
self._PrimaryClusterId = None
|
22025
|
+
self._PrimaryClusterRegion = None
|
22026
|
+
self._StandbyClusterRegion = None
|
22027
|
+
self._StandbyClusterId = None
|
22028
|
+
self._StandbyClusterName = None
|
22029
|
+
|
22030
|
+
@property
|
22031
|
+
def GdnId(self):
|
22032
|
+
"""全球数据库唯一标识
|
22033
|
+
:rtype: str
|
22034
|
+
"""
|
22035
|
+
return self._GdnId
|
22036
|
+
|
22037
|
+
@GdnId.setter
|
22038
|
+
def GdnId(self, GdnId):
|
22039
|
+
self._GdnId = GdnId
|
22040
|
+
|
22041
|
+
@property
|
22042
|
+
def GdnName(self):
|
22043
|
+
"""全球数据库唯一别名
|
22044
|
+
:rtype: str
|
22045
|
+
"""
|
22046
|
+
return self._GdnName
|
22047
|
+
|
22048
|
+
@GdnName.setter
|
22049
|
+
def GdnName(self, GdnName):
|
22050
|
+
self._GdnName = GdnName
|
22051
|
+
|
22052
|
+
@property
|
22053
|
+
def PrimaryClusterId(self):
|
22054
|
+
"""主集群ID
|
22055
|
+
:rtype: str
|
22056
|
+
"""
|
22057
|
+
return self._PrimaryClusterId
|
22058
|
+
|
22059
|
+
@PrimaryClusterId.setter
|
22060
|
+
def PrimaryClusterId(self, PrimaryClusterId):
|
22061
|
+
self._PrimaryClusterId = PrimaryClusterId
|
22062
|
+
|
22063
|
+
@property
|
22064
|
+
def PrimaryClusterRegion(self):
|
22065
|
+
"""主集群所在地域
|
22066
|
+
:rtype: str
|
22067
|
+
"""
|
22068
|
+
return self._PrimaryClusterRegion
|
22069
|
+
|
22070
|
+
@PrimaryClusterRegion.setter
|
22071
|
+
def PrimaryClusterRegion(self, PrimaryClusterRegion):
|
22072
|
+
self._PrimaryClusterRegion = PrimaryClusterRegion
|
22073
|
+
|
22074
|
+
@property
|
22075
|
+
def StandbyClusterRegion(self):
|
22076
|
+
"""从集群所在地域
|
22077
|
+
:rtype: str
|
22078
|
+
"""
|
22079
|
+
return self._StandbyClusterRegion
|
22080
|
+
|
22081
|
+
@StandbyClusterRegion.setter
|
22082
|
+
def StandbyClusterRegion(self, StandbyClusterRegion):
|
22083
|
+
self._StandbyClusterRegion = StandbyClusterRegion
|
22084
|
+
|
22085
|
+
@property
|
22086
|
+
def StandbyClusterId(self):
|
22087
|
+
"""从集群ID
|
22088
|
+
:rtype: str
|
22089
|
+
"""
|
22090
|
+
return self._StandbyClusterId
|
22091
|
+
|
22092
|
+
@StandbyClusterId.setter
|
22093
|
+
def StandbyClusterId(self, StandbyClusterId):
|
22094
|
+
self._StandbyClusterId = StandbyClusterId
|
22095
|
+
|
22096
|
+
@property
|
22097
|
+
def StandbyClusterName(self):
|
22098
|
+
"""从集群别名
|
22099
|
+
:rtype: str
|
22100
|
+
"""
|
22101
|
+
return self._StandbyClusterName
|
22102
|
+
|
22103
|
+
@StandbyClusterName.setter
|
22104
|
+
def StandbyClusterName(self, StandbyClusterName):
|
22105
|
+
self._StandbyClusterName = StandbyClusterName
|
22106
|
+
|
22107
|
+
|
22108
|
+
def _deserialize(self, params):
|
22109
|
+
self._GdnId = params.get("GdnId")
|
22110
|
+
self._GdnName = params.get("GdnName")
|
22111
|
+
self._PrimaryClusterId = params.get("PrimaryClusterId")
|
22112
|
+
self._PrimaryClusterRegion = params.get("PrimaryClusterRegion")
|
22113
|
+
self._StandbyClusterRegion = params.get("StandbyClusterRegion")
|
22114
|
+
self._StandbyClusterId = params.get("StandbyClusterId")
|
22115
|
+
self._StandbyClusterName = params.get("StandbyClusterName")
|
22116
|
+
memeber_set = set(params.keys())
|
22117
|
+
for name, value in vars(self).items():
|
22118
|
+
property_name = name[1:]
|
22119
|
+
if property_name in memeber_set:
|
22120
|
+
memeber_set.remove(property_name)
|
22121
|
+
if len(memeber_set) > 0:
|
22122
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22123
|
+
|
22124
|
+
|
22125
|
+
|
21923
22126
|
class GrantAccountPrivilegesRequest(AbstractModel):
|
21924
22127
|
"""GrantAccountPrivileges请求参数结构体
|
21925
22128
|
|
@@ -28251,6 +28454,8 @@ class ModifyServerlessStrategyRequest(AbstractModel):
|
|
28251
28454
|
:type MinRoCount: int
|
28252
28455
|
:param _MaxRoCount: 只读节点最大个数
|
28253
28456
|
:type MaxRoCount: int
|
28457
|
+
:param _AutoArchive: 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
|
28458
|
+
:type AutoArchive: str
|
28254
28459
|
"""
|
28255
28460
|
self._ClusterId = None
|
28256
28461
|
self._AutoPause = None
|
@@ -28263,6 +28468,7 @@ class ModifyServerlessStrategyRequest(AbstractModel):
|
|
28263
28468
|
self._MaxRoCpu = None
|
28264
28469
|
self._MinRoCount = None
|
28265
28470
|
self._MaxRoCount = None
|
28471
|
+
self._AutoArchive = None
|
28266
28472
|
|
28267
28473
|
@property
|
28268
28474
|
def ClusterId(self):
|
@@ -28387,6 +28593,17 @@ class ModifyServerlessStrategyRequest(AbstractModel):
|
|
28387
28593
|
def MaxRoCount(self, MaxRoCount):
|
28388
28594
|
self._MaxRoCount = MaxRoCount
|
28389
28595
|
|
28596
|
+
@property
|
28597
|
+
def AutoArchive(self):
|
28598
|
+
"""是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
|
28599
|
+
:rtype: str
|
28600
|
+
"""
|
28601
|
+
return self._AutoArchive
|
28602
|
+
|
28603
|
+
@AutoArchive.setter
|
28604
|
+
def AutoArchive(self, AutoArchive):
|
28605
|
+
self._AutoArchive = AutoArchive
|
28606
|
+
|
28390
28607
|
|
28391
28608
|
def _deserialize(self, params):
|
28392
28609
|
self._ClusterId = params.get("ClusterId")
|
@@ -28400,6 +28617,7 @@ class ModifyServerlessStrategyRequest(AbstractModel):
|
|
28400
28617
|
self._MaxRoCpu = params.get("MaxRoCpu")
|
28401
28618
|
self._MinRoCount = params.get("MinRoCount")
|
28402
28619
|
self._MaxRoCount = params.get("MaxRoCount")
|
28620
|
+
self._AutoArchive = params.get("AutoArchive")
|
28403
28621
|
memeber_set = set(params.keys())
|
28404
28622
|
for name, value in vars(self).items():
|
28405
28623
|
property_name = name[1:]
|
@@ -31928,17 +32146,17 @@ class ProxyConfig(AbstractModel):
|
|
31928
32146
|
|
31929
32147
|
def __init__(self):
|
31930
32148
|
r"""
|
31931
|
-
:param _ProxyCount:
|
32149
|
+
:param _ProxyCount: 数据库代理组节点个数。该参数不再建议使用,建议使用ProxyZones
|
31932
32150
|
:type ProxyCount: int
|
31933
32151
|
:param _Cpu: cpu核数
|
31934
32152
|
:type Cpu: int
|
31935
32153
|
:param _Mem: 内存
|
31936
32154
|
:type Mem: int
|
31937
|
-
:param _ConnectionPoolType:
|
32155
|
+
:param _ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池 )
|
31938
32156
|
:type ConnectionPoolType: str
|
31939
32157
|
:param _OpenConnectionPool: 是否开启连接池,yes-开启,no-不开启
|
31940
32158
|
:type OpenConnectionPool: str
|
31941
|
-
:param _ConnectionPoolTimeOut:
|
32159
|
+
:param _ConnectionPoolTimeOut: 连接池阈值:单位(秒)
|
31942
32160
|
:type ConnectionPoolTimeOut: int
|
31943
32161
|
:param _Description: 描述说明
|
31944
32162
|
:type Description: str
|
@@ -31956,7 +32174,7 @@ class ProxyConfig(AbstractModel):
|
|
31956
32174
|
|
31957
32175
|
@property
|
31958
32176
|
def ProxyCount(self):
|
31959
|
-
"""
|
32177
|
+
"""数据库代理组节点个数。该参数不再建议使用,建议使用ProxyZones
|
31960
32178
|
:rtype: int
|
31961
32179
|
"""
|
31962
32180
|
return self._ProxyCount
|
@@ -31989,7 +32207,7 @@ class ProxyConfig(AbstractModel):
|
|
31989
32207
|
|
31990
32208
|
@property
|
31991
32209
|
def ConnectionPoolType(self):
|
31992
|
-
"""
|
32210
|
+
"""连接池类型:SessionConnectionPool(会话级别连接池 )
|
31993
32211
|
:rtype: str
|
31994
32212
|
"""
|
31995
32213
|
return self._ConnectionPoolType
|
@@ -32011,7 +32229,7 @@ class ProxyConfig(AbstractModel):
|
|
32011
32229
|
|
32012
32230
|
@property
|
32013
32231
|
def ConnectionPoolTimeOut(self):
|
32014
|
-
"""
|
32232
|
+
"""连接池阈值:单位(秒)
|
32015
32233
|
:rtype: int
|
32016
32234
|
"""
|
32017
32235
|
return self._ConnectionPoolTimeOut
|
@@ -35231,6 +35449,8 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
35231
35449
|
:type OriginalROInstanceList: list of str
|
35232
35450
|
:param _ProjectId: 项目id
|
35233
35451
|
:type ProjectId: int
|
35452
|
+
:param _AutoArchive: 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
|
35453
|
+
:type AutoArchive: str
|
35234
35454
|
"""
|
35235
35455
|
self._Zone = None
|
35236
35456
|
self._OriginalClusterId = None
|
@@ -35259,6 +35479,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
35259
35479
|
self._RollbackTables = None
|
35260
35480
|
self._OriginalROInstanceList = None
|
35261
35481
|
self._ProjectId = None
|
35482
|
+
self._AutoArchive = None
|
35262
35483
|
|
35263
35484
|
@property
|
35264
35485
|
def Zone(self):
|
@@ -35566,6 +35787,17 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
35566
35787
|
def ProjectId(self, ProjectId):
|
35567
35788
|
self._ProjectId = ProjectId
|
35568
35789
|
|
35790
|
+
@property
|
35791
|
+
def AutoArchive(self):
|
35792
|
+
"""是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
|
35793
|
+
:rtype: str
|
35794
|
+
"""
|
35795
|
+
return self._AutoArchive
|
35796
|
+
|
35797
|
+
@AutoArchive.setter
|
35798
|
+
def AutoArchive(self, AutoArchive):
|
35799
|
+
self._AutoArchive = AutoArchive
|
35800
|
+
|
35569
35801
|
|
35570
35802
|
def _deserialize(self, params):
|
35571
35803
|
self._Zone = params.get("Zone")
|
@@ -35620,6 +35852,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
35620
35852
|
self._RollbackTables.append(obj)
|
35621
35853
|
self._OriginalROInstanceList = params.get("OriginalROInstanceList")
|
35622
35854
|
self._ProjectId = params.get("ProjectId")
|
35855
|
+
self._AutoArchive = params.get("AutoArchive")
|
35623
35856
|
memeber_set = set(params.keys())
|
35624
35857
|
for name, value in vars(self).items():
|
35625
35858
|
property_name = name[1:]
|
@@ -24117,9 +24117,9 @@ class KafkaInfo(AbstractModel):
|
|
24117
24117
|
|
24118
24118
|
def __init__(self):
|
24119
24119
|
r"""
|
24120
|
-
:param _InstanceId:
|
24120
|
+
:param _InstanceId: kafka实例Id
|
24121
24121
|
:type InstanceId: str
|
24122
|
-
:param _Location:
|
24122
|
+
:param _Location: kafka数据源的网络信息
|
24123
24123
|
:type Location: :class:`tencentcloud.dlc.v20210125.models.DatasourceConnectionLocation`
|
24124
24124
|
"""
|
24125
24125
|
self._InstanceId = None
|
@@ -24127,7 +24127,7 @@ class KafkaInfo(AbstractModel):
|
|
24127
24127
|
|
24128
24128
|
@property
|
24129
24129
|
def InstanceId(self):
|
24130
|
-
"""
|
24130
|
+
"""kafka实例Id
|
24131
24131
|
:rtype: str
|
24132
24132
|
"""
|
24133
24133
|
return self._InstanceId
|
@@ -24138,7 +24138,7 @@ class KafkaInfo(AbstractModel):
|
|
24138
24138
|
|
24139
24139
|
@property
|
24140
24140
|
def Location(self):
|
24141
|
-
"""
|
24141
|
+
"""kafka数据源的网络信息
|
24142
24142
|
:rtype: :class:`tencentcloud.dlc.v20210125.models.DatasourceConnectionLocation`
|
24143
24143
|
"""
|
24144
24144
|
return self._Location
|
@@ -28211,26 +28211,26 @@ class Policy(AbstractModel):
|
|
28211
28211
|
|
28212
28212
|
def __init__(self):
|
28213
28213
|
r"""
|
28214
|
-
:param _Database:
|
28214
|
+
:param _Database: 需要授权的数据库名,填 * 代表当前Catalog下所有数据库。当授权类型为管理员级别时,只允许填 “*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定数据库。
|
28215
28215
|
:type Database: str
|
28216
|
-
:param _Catalog:
|
28216
|
+
:param _Catalog: 需要授权的数据源名称,管理员级别下只支持填 * (代表该级别全部资源);数据源级别和数据库级别鉴权的情况下,只支持填COSDataCatalog或者*;在数据表级别鉴权下可以填写用户自定义数据源。不填情况下默认为DataLakeCatalog。注意:如果是对用户自定义数据源进行鉴权,DLC能够管理的权限是用户接入数据源的时候提供的账户的子集。
|
28217
28217
|
:type Catalog: str
|
28218
|
-
:param _Table:
|
28218
|
+
:param _Table: 需要授权的表名,填 * 代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。
|
28219
28219
|
:type Table: str
|
28220
28220
|
:param _Operation: 授权的权限操作,对于不同级别的鉴权提供不同操作。管理员权限:ALL,不填默认为ALL;数据连接级鉴权:CREATE;数据库级别鉴权:ALL、CREATE、ALTER、DROP;数据表权限:ALL、SELECT、INSERT、ALTER、DELETE、DROP、UPDATE。注意:在数据表权限下,指定的数据源不为COSDataCatalog的时候,只支持SELECT操作。
|
28221
28221
|
:type Operation: str
|
28222
28222
|
:param _PolicyType: 授权类型,现在支持八种授权类型:ADMIN:管理员级别鉴权 DATASOURCE:数据连接级别鉴权 DATABASE:数据库级别鉴权 TABLE:表级别鉴权 VIEW:视图级别鉴权 FUNCTION:函数级别鉴权 COLUMN:列级别鉴权 ENGINE:数据引擎鉴权。不填默认为管理员级别鉴权。
|
28223
28223
|
:type PolicyType: str
|
28224
|
-
:param _Function:
|
28224
|
+
:param _Function: 需要授权的函数名,填 * 代表当前Catalog下所有函数。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定函数。
|
28225
28225
|
注意:此字段可能返回 null,表示取不到有效值。
|
28226
28226
|
:type Function: str
|
28227
|
-
:param _View:
|
28227
|
+
:param _View: 需要授权的视图,填 * 代表当前Database下所有视图。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定视图。
|
28228
28228
|
注意:此字段可能返回 null,表示取不到有效值。
|
28229
28229
|
:type View: str
|
28230
|
-
:param _Column:
|
28230
|
+
:param _Column: 需要授权的列,填 * 代表当前所有列。当授权类型为管理员级别时,只允许填“*”
|
28231
28231
|
注意:此字段可能返回 null,表示取不到有效值。
|
28232
28232
|
:type Column: str
|
28233
|
-
:param _DataEngine:
|
28233
|
+
:param _DataEngine: 需要授权的数据引擎,填 * 代表当前所有引擎。当授权类型为管理员级别时,只允许填“*”
|
28234
28234
|
注意:此字段可能返回 null,表示取不到有效值。
|
28235
28235
|
:type DataEngine: str
|
28236
28236
|
:param _ReAuth: 用户是否可以进行二次授权。当为true的时候,被授权的用户可以将本次获取的权限再次授权给其他子用户。默认为false
|
@@ -28282,7 +28282,7 @@ class Policy(AbstractModel):
|
|
28282
28282
|
|
28283
28283
|
@property
|
28284
28284
|
def Database(self):
|
28285
|
-
"""
|
28285
|
+
"""需要授权的数据库名,填 * 代表当前Catalog下所有数据库。当授权类型为管理员级别时,只允许填 “*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定数据库。
|
28286
28286
|
:rtype: str
|
28287
28287
|
"""
|
28288
28288
|
return self._Database
|
@@ -28293,7 +28293,7 @@ class Policy(AbstractModel):
|
|
28293
28293
|
|
28294
28294
|
@property
|
28295
28295
|
def Catalog(self):
|
28296
|
-
"""
|
28296
|
+
"""需要授权的数据源名称,管理员级别下只支持填 * (代表该级别全部资源);数据源级别和数据库级别鉴权的情况下,只支持填COSDataCatalog或者*;在数据表级别鉴权下可以填写用户自定义数据源。不填情况下默认为DataLakeCatalog。注意:如果是对用户自定义数据源进行鉴权,DLC能够管理的权限是用户接入数据源的时候提供的账户的子集。
|
28297
28297
|
:rtype: str
|
28298
28298
|
"""
|
28299
28299
|
return self._Catalog
|
@@ -28304,7 +28304,7 @@ class Policy(AbstractModel):
|
|
28304
28304
|
|
28305
28305
|
@property
|
28306
28306
|
def Table(self):
|
28307
|
-
"""
|
28307
|
+
"""需要授权的表名,填 * 代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。
|
28308
28308
|
:rtype: str
|
28309
28309
|
"""
|
28310
28310
|
return self._Table
|
@@ -28337,7 +28337,7 @@ class Policy(AbstractModel):
|
|
28337
28337
|
|
28338
28338
|
@property
|
28339
28339
|
def Function(self):
|
28340
|
-
"""
|
28340
|
+
"""需要授权的函数名,填 * 代表当前Catalog下所有函数。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定函数。
|
28341
28341
|
注意:此字段可能返回 null,表示取不到有效值。
|
28342
28342
|
:rtype: str
|
28343
28343
|
"""
|
@@ -28349,7 +28349,7 @@ class Policy(AbstractModel):
|
|
28349
28349
|
|
28350
28350
|
@property
|
28351
28351
|
def View(self):
|
28352
|
-
"""
|
28352
|
+
"""需要授权的视图,填 * 代表当前Database下所有视图。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定视图。
|
28353
28353
|
注意:此字段可能返回 null,表示取不到有效值。
|
28354
28354
|
:rtype: str
|
28355
28355
|
"""
|
@@ -28361,7 +28361,7 @@ class Policy(AbstractModel):
|
|
28361
28361
|
|
28362
28362
|
@property
|
28363
28363
|
def Column(self):
|
28364
|
-
"""
|
28364
|
+
"""需要授权的列,填 * 代表当前所有列。当授权类型为管理员级别时,只允许填“*”
|
28365
28365
|
注意:此字段可能返回 null,表示取不到有效值。
|
28366
28366
|
:rtype: str
|
28367
28367
|
"""
|
@@ -28373,7 +28373,7 @@ class Policy(AbstractModel):
|
|
28373
28373
|
|
28374
28374
|
@property
|
28375
28375
|
def DataEngine(self):
|
28376
|
-
"""
|
28376
|
+
"""需要授权的数据引擎,填 * 代表当前所有引擎。当授权类型为管理员级别时,只允许填“*”
|
28377
28377
|
注意:此字段可能返回 null,表示取不到有效值。
|
28378
28378
|
:rtype: str
|
28379
28379
|
"""
|
@@ -1745,7 +1745,7 @@ class EssClient(AbstractClient):
|
|
1745
1745
|
注意:
|
1746
1746
|
<ul>
|
1747
1747
|
<li><strong>完成原合同签署后方可发起解除协议:</strong>只有在原合同所有签署人完成签署后,才可以启动解除协议的流程。</li>
|
1748
|
-
<li><strong>原合同状态更新:</strong
|
1748
|
+
<li><strong>原合同状态更新:</strong>解除协议一旦签署完毕,原合同状态将更新为“已解除”。</li>
|
1749
1749
|
<li><strong>解除协议的个人参与要求:</strong>原合同中的个人参与者必须直接参与解除协议,禁止替换为其他第三方个人。</li>
|
1750
1750
|
<li><strong>企业参与人的代理权:</strong>若原合同的企业参与人无法亲自参与解除协议,可指派具有等同权限的企业员工代行。</li>
|
1751
1751
|
<li><strong>解除协议的费用问题:</strong>发起解除协议将产生费用,其扣费标准与其他企业合同相同。</li>
|
@@ -993,7 +993,7 @@ class EssbasicClient(AbstractClient):
|
|
993
993
|
<li>原合同个人类型参与人必须是解除协议的参与人,<code>不能更换其他第三方个人</code>参与解除协议。</li>
|
994
994
|
<li>如果原合同企业参与人无法参与解除协议,可以指定同企业具有同等权限的<code>企业员工代为处理</code>。</li>
|
995
995
|
<li>发起解除协议同发起其他企业合同一样,也会参与合同<code>扣费</code>,扣费标准同其他类型合同。</li>
|
996
|
-
<li
|
996
|
+
<li>在解除协议签署完毕后,原合同变为已解除状态。</li>
|
997
997
|
<li>非原合同企业参与人发起解除协议时,需要有<code>解除合同的权限</code>。</li>
|
998
998
|
</ul>
|
999
999
|
|
@@ -110,6 +110,9 @@ INVALIDPARAMETERVALUE_PASSWORDRULEERROR = 'InvalidParameterValue.PasswordRuleErr
|
|
110
110
|
# 实例类型不支持。
|
111
111
|
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = 'InvalidParameterValue.UnSupportedType'
|
112
112
|
|
113
|
+
# 私有网络id不存在。
|
114
|
+
INVALIDPARAMETERVALUE_UNVPCIDNOTEXISTS = 'InvalidParameterValue.UnVpcIdNotExists'
|
115
|
+
|
113
116
|
# weekday输入无效数据。
|
114
117
|
INVALIDPARAMETERVALUE_WEEKDAYSISINVALID = 'InvalidParameterValue.WeekDaysIsInvalid'
|
115
118
|
|