tencentcloud-sdk-python 3.0.1430__py2.py3-none-any.whl → 3.0.1431__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdb/v20170320/cdb_client.py +6 -6
- tencentcloud/cdb/v20170320/models.py +132 -108
- tencentcloud/cdn/v20180606/cdn_client.py +12 -4
- tencentcloud/dsgc/v20190723/models.py +2 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/gs/v20191118/models.py +57 -4
- tencentcloud/lcic/v20220817/lcic_client.py +3 -0
- tencentcloud/lcic/v20220817/models.py +10 -10
- tencentcloud/live/v20180801/models.py +70 -0
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/oceanus/v20190422/models.py +36 -2
- tencentcloud/ocr/v20181119/models.py +147 -0
- tencentcloud/ocr/v20181119/ocr_client.py +25 -0
- tencentcloud/postgres/v20170312/models.py +284 -258
- tencentcloud/postgres/v20170312/postgres_client.py +9 -9
- tencentcloud/ssl/v20191205/models.py +32 -2
- tencentcloud/tsf/v20180326/errorcodes.py +1 -1
- tencentcloud/wsa/__init__.py +0 -0
- tencentcloud/wsa/v20250508/__init__.py +0 -0
- tencentcloud/wsa/v20250508/errorcodes.py +27 -0
- tencentcloud/wsa/v20250508/models.py +187 -0
- tencentcloud/wsa/v20250508/wsa_client.py +49 -0
- {tencentcloud_sdk_python-3.0.1430.dist-info → tencentcloud_sdk_python-3.0.1431.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1430.dist-info → tencentcloud_sdk_python-3.0.1431.dist-info}/RECORD +28 -23
- {tencentcloud_sdk_python-3.0.1430.dist-info → tencentcloud_sdk_python-3.0.1431.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1430.dist-info → tencentcloud_sdk_python-3.0.1431.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1430.dist-info → tencentcloud_sdk_python-3.0.1431.dist-info}/top_level.txt +0 -0
|
@@ -151,9 +151,9 @@ class AddDBInstanceToReadOnlyGroupRequest(AbstractModel):
|
|
|
151
151
|
|
|
152
152
|
def __init__(self):
|
|
153
153
|
r"""
|
|
154
|
-
:param _DBInstanceId: 实例ID
|
|
154
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
155
155
|
:type DBInstanceId: str
|
|
156
|
-
:param _ReadOnlyGroupId: 只读组ID
|
|
156
|
+
:param _ReadOnlyGroupId: 只读组ID。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
|
|
157
157
|
:type ReadOnlyGroupId: str
|
|
158
158
|
"""
|
|
159
159
|
self._DBInstanceId = None
|
|
@@ -161,7 +161,7 @@ class AddDBInstanceToReadOnlyGroupRequest(AbstractModel):
|
|
|
161
161
|
|
|
162
162
|
@property
|
|
163
163
|
def DBInstanceId(self):
|
|
164
|
-
"""实例ID
|
|
164
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
165
165
|
:rtype: str
|
|
166
166
|
"""
|
|
167
167
|
return self._DBInstanceId
|
|
@@ -172,7 +172,7 @@ class AddDBInstanceToReadOnlyGroupRequest(AbstractModel):
|
|
|
172
172
|
|
|
173
173
|
@property
|
|
174
174
|
def ReadOnlyGroupId(self):
|
|
175
|
-
"""只读组ID
|
|
175
|
+
"""只读组ID。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
|
|
176
176
|
:rtype: str
|
|
177
177
|
"""
|
|
178
178
|
return self._ReadOnlyGroupId
|
|
@@ -255,7 +255,7 @@ class AnalysisItems(AbstractModel):
|
|
|
255
255
|
:type ClientAddr: str
|
|
256
256
|
:param _CallNum: 在选定时间范围内慢SQL语句执行的次数
|
|
257
257
|
:type CallNum: int
|
|
258
|
-
:param _CallPercent: 在选定时间范围内,慢SQL语句执行的次数占所有慢SQL
|
|
258
|
+
:param _CallPercent: 在选定时间范围内,慢SQL语句执行的次数占所有慢SQL的百分比。
|
|
259
259
|
:type CallPercent: float
|
|
260
260
|
:param _CostTime: 在选定时间范围内,慢SQL执行的总时间
|
|
261
261
|
:type CostTime: float
|
|
@@ -267,9 +267,9 @@ class AnalysisItems(AbstractModel):
|
|
|
267
267
|
:type MaxCostTime: float
|
|
268
268
|
:param _AvgCostTime: 在选定时间范围内,慢SQL语句执行的耗时平均时间(单位:ms)
|
|
269
269
|
:type AvgCostTime: float
|
|
270
|
-
:param _FirstTime: 在选定时间范围内,慢SQL
|
|
270
|
+
:param _FirstTime: 在选定时间范围内,慢SQL第一条开始执行的时间
|
|
271
271
|
:type FirstTime: str
|
|
272
|
-
:param _LastTime: 在选定时间范围内,慢SQL
|
|
272
|
+
:param _LastTime: 在选定时间范围内,慢SQL最后一条开始执行的时间
|
|
273
273
|
:type LastTime: str
|
|
274
274
|
"""
|
|
275
275
|
self._DatabaseName = None
|
|
@@ -343,7 +343,7 @@ class AnalysisItems(AbstractModel):
|
|
|
343
343
|
|
|
344
344
|
@property
|
|
345
345
|
def CallPercent(self):
|
|
346
|
-
"""在选定时间范围内,慢SQL语句执行的次数占所有慢SQL
|
|
346
|
+
"""在选定时间范围内,慢SQL语句执行的次数占所有慢SQL的百分比。
|
|
347
347
|
:rtype: float
|
|
348
348
|
"""
|
|
349
349
|
return self._CallPercent
|
|
@@ -409,7 +409,7 @@ class AnalysisItems(AbstractModel):
|
|
|
409
409
|
|
|
410
410
|
@property
|
|
411
411
|
def FirstTime(self):
|
|
412
|
-
"""在选定时间范围内,慢SQL
|
|
412
|
+
"""在选定时间范围内,慢SQL第一条开始执行的时间
|
|
413
413
|
:rtype: str
|
|
414
414
|
"""
|
|
415
415
|
return self._FirstTime
|
|
@@ -420,7 +420,7 @@ class AnalysisItems(AbstractModel):
|
|
|
420
420
|
|
|
421
421
|
@property
|
|
422
422
|
def LastTime(self):
|
|
423
|
-
"""在选定时间范围内,慢SQL
|
|
423
|
+
"""在选定时间范围内,慢SQL最后一条开始执行的时间
|
|
424
424
|
:rtype: str
|
|
425
425
|
"""
|
|
426
426
|
return self._LastTime
|
|
@@ -461,7 +461,7 @@ class BackupDownloadRestriction(AbstractModel):
|
|
|
461
461
|
|
|
462
462
|
def __init__(self):
|
|
463
463
|
r"""
|
|
464
|
-
:param _RestrictionType: 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip
|
|
464
|
+
:param _RestrictionType: 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。当该参数取值为CUSTOMIZE 时,vpc或ip信息至少填写一项
|
|
465
465
|
:type RestrictionType: str
|
|
466
466
|
:param _VpcRestrictionEffect: vpc限制效力,ALLOW 允许;DENY 拒绝。
|
|
467
467
|
:type VpcRestrictionEffect: str
|
|
@@ -480,7 +480,7 @@ class BackupDownloadRestriction(AbstractModel):
|
|
|
480
480
|
|
|
481
481
|
@property
|
|
482
482
|
def RestrictionType(self):
|
|
483
|
-
"""备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip
|
|
483
|
+
"""备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。当该参数取值为CUSTOMIZE 时,vpc或ip信息至少填写一项
|
|
484
484
|
:rtype: str
|
|
485
485
|
"""
|
|
486
486
|
return self._RestrictionType
|
|
@@ -559,7 +559,7 @@ class BackupPlan(AbstractModel):
|
|
|
559
559
|
r"""
|
|
560
560
|
:param _BackupPeriod: 备份周期
|
|
561
561
|
:type BackupPeriod: str
|
|
562
|
-
:param _BaseBackupRetentionPeriod:
|
|
562
|
+
:param _BaseBackupRetentionPeriod: 数据备份保留时长。单位:天
|
|
563
563
|
:type BaseBackupRetentionPeriod: int
|
|
564
564
|
:param _MinBackupStartTime: 开始备份的最早时间
|
|
565
565
|
:type MinBackupStartTime: str
|
|
@@ -569,7 +569,7 @@ class BackupPlan(AbstractModel):
|
|
|
569
569
|
:type PlanId: str
|
|
570
570
|
:param _PlanName: 备份计划自定义名称。
|
|
571
571
|
:type PlanName: str
|
|
572
|
-
:param _LogBackupRetentionPeriod:
|
|
572
|
+
:param _LogBackupRetentionPeriod: 日志备份保留时长。单位:天
|
|
573
573
|
:type LogBackupRetentionPeriod: int
|
|
574
574
|
:param _CreatedTime: 创建时间。
|
|
575
575
|
:type CreatedTime: str
|
|
@@ -605,7 +605,7 @@ class BackupPlan(AbstractModel):
|
|
|
605
605
|
|
|
606
606
|
@property
|
|
607
607
|
def BaseBackupRetentionPeriod(self):
|
|
608
|
-
"""
|
|
608
|
+
"""数据备份保留时长。单位:天
|
|
609
609
|
:rtype: int
|
|
610
610
|
"""
|
|
611
611
|
return self._BaseBackupRetentionPeriod
|
|
@@ -660,7 +660,7 @@ class BackupPlan(AbstractModel):
|
|
|
660
660
|
|
|
661
661
|
@property
|
|
662
662
|
def LogBackupRetentionPeriod(self):
|
|
663
|
-
"""
|
|
663
|
+
"""日志备份保留时长。单位:天
|
|
664
664
|
:rtype: int
|
|
665
665
|
"""
|
|
666
666
|
return self._LogBackupRetentionPeriod
|
|
@@ -905,11 +905,11 @@ class BaseBackup(AbstractModel):
|
|
|
905
905
|
:type Id: str
|
|
906
906
|
:param _Name: 备份文件名称。
|
|
907
907
|
:type Name: str
|
|
908
|
-
:param _BackupMethod:
|
|
908
|
+
:param _BackupMethod: 备份方式:physical - 物理备份、logical - 逻辑备份。
|
|
909
909
|
:type BackupMethod: str
|
|
910
|
-
:param _BackupMode:
|
|
910
|
+
:param _BackupMode: 备份模式:automatic - 自动备份、manual - 手动备份。
|
|
911
911
|
:type BackupMode: str
|
|
912
|
-
:param _State:
|
|
912
|
+
:param _State: 备份任务状态。枚举值:init、running、finished、failed、canceled
|
|
913
913
|
:type State: str
|
|
914
914
|
:param _Size: 备份集大小,单位bytes。
|
|
915
915
|
:type Size: int
|
|
@@ -966,7 +966,7 @@ class BaseBackup(AbstractModel):
|
|
|
966
966
|
|
|
967
967
|
@property
|
|
968
968
|
def BackupMethod(self):
|
|
969
|
-
"""
|
|
969
|
+
"""备份方式:physical - 物理备份、logical - 逻辑备份。
|
|
970
970
|
:rtype: str
|
|
971
971
|
"""
|
|
972
972
|
return self._BackupMethod
|
|
@@ -977,7 +977,7 @@ class BaseBackup(AbstractModel):
|
|
|
977
977
|
|
|
978
978
|
@property
|
|
979
979
|
def BackupMode(self):
|
|
980
|
-
"""
|
|
980
|
+
"""备份模式:automatic - 自动备份、manual - 手动备份。
|
|
981
981
|
:rtype: str
|
|
982
982
|
"""
|
|
983
983
|
return self._BackupMode
|
|
@@ -988,7 +988,7 @@ class BaseBackup(AbstractModel):
|
|
|
988
988
|
|
|
989
989
|
@property
|
|
990
990
|
def State(self):
|
|
991
|
-
"""
|
|
991
|
+
"""备份任务状态。枚举值:init、running、finished、failed、canceled
|
|
992
992
|
:rtype: str
|
|
993
993
|
"""
|
|
994
994
|
return self._State
|
|
@@ -2086,7 +2086,7 @@ class CreateDBInstanceNetworkAccessRequest(AbstractModel):
|
|
|
2086
2086
|
|
|
2087
2087
|
def __init__(self):
|
|
2088
2088
|
r"""
|
|
2089
|
-
:param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3
|
|
2089
|
+
:param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
2090
2090
|
:type DBInstanceId: str
|
|
2091
2091
|
:param _VpcId: 私有网络统一 ID。
|
|
2092
2092
|
:type VpcId: str
|
|
@@ -2094,7 +2094,7 @@ class CreateDBInstanceNetworkAccessRequest(AbstractModel):
|
|
|
2094
2094
|
:type SubnetId: str
|
|
2095
2095
|
:param _IsAssignVip: 是否指定分配vip true-指定分配 false-自动分配。
|
|
2096
2096
|
:type IsAssignVip: bool
|
|
2097
|
-
:param _Vip: 目标VIP
|
|
2097
|
+
:param _Vip: 目标VIP地址。当不指定该参数,且IsAssignVip为true时,默认自动分配Vip。
|
|
2098
2098
|
:type Vip: str
|
|
2099
2099
|
"""
|
|
2100
2100
|
self._DBInstanceId = None
|
|
@@ -2105,7 +2105,7 @@ class CreateDBInstanceNetworkAccessRequest(AbstractModel):
|
|
|
2105
2105
|
|
|
2106
2106
|
@property
|
|
2107
2107
|
def DBInstanceId(self):
|
|
2108
|
-
"""实例ID,形如:postgres-6bwgamo3
|
|
2108
|
+
"""实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
2109
2109
|
:rtype: str
|
|
2110
2110
|
"""
|
|
2111
2111
|
return self._DBInstanceId
|
|
@@ -2149,7 +2149,7 @@ class CreateDBInstanceNetworkAccessRequest(AbstractModel):
|
|
|
2149
2149
|
|
|
2150
2150
|
@property
|
|
2151
2151
|
def Vip(self):
|
|
2152
|
-
"""目标VIP
|
|
2152
|
+
"""目标VIP地址。当不指定该参数,且IsAssignVip为true时,默认自动分配Vip。
|
|
2153
2153
|
:rtype: str
|
|
2154
2154
|
"""
|
|
2155
2155
|
return self._Vip
|
|
@@ -2225,13 +2225,16 @@ class CreateDatabaseRequest(AbstractModel):
|
|
|
2225
2225
|
|
|
2226
2226
|
def __init__(self):
|
|
2227
2227
|
r"""
|
|
2228
|
-
:param _DBInstanceId: 实例ID,形如postgres-6fego161
|
|
2228
|
+
:param _DBInstanceId: 实例ID,形如postgres-6fego161。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
2229
2229
|
:type DBInstanceId: str
|
|
2230
|
-
:param _DatabaseName:
|
|
2230
|
+
:param _DatabaseName: 创建的数据库名。
|
|
2231
|
+
名称规范:由字母(a-z, A-Z)、数字(0-9)、下划线(_)组成,以字母或(_)开头,最多63个字符。不能使用系统保留关键字,不能为postgres。
|
|
2231
2232
|
:type DatabaseName: str
|
|
2232
|
-
:param _DatabaseOwner:
|
|
2233
|
+
:param _DatabaseOwner: 数据库的所有者。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
2233
2234
|
:type DatabaseOwner: str
|
|
2234
|
-
:param _Encoding:
|
|
2235
|
+
:param _Encoding: 数据库的字符编码。
|
|
2236
|
+
支持的常用字符集包括:UTF8、LATIN1、LATIN2、WIN1250、WIN1251、WIN1252、KOI8R、EUC_JP、EUC_KR
|
|
2237
|
+
默认值:UTF8
|
|
2235
2238
|
:type Encoding: str
|
|
2236
2239
|
:param _Collate: 数据库的排序规则
|
|
2237
2240
|
:type Collate: str
|
|
@@ -2247,7 +2250,7 @@ class CreateDatabaseRequest(AbstractModel):
|
|
|
2247
2250
|
|
|
2248
2251
|
@property
|
|
2249
2252
|
def DBInstanceId(self):
|
|
2250
|
-
"""实例ID,形如postgres-6fego161
|
|
2253
|
+
"""实例ID,形如postgres-6fego161。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
2251
2254
|
:rtype: str
|
|
2252
2255
|
"""
|
|
2253
2256
|
return self._DBInstanceId
|
|
@@ -2258,7 +2261,8 @@ class CreateDatabaseRequest(AbstractModel):
|
|
|
2258
2261
|
|
|
2259
2262
|
@property
|
|
2260
2263
|
def DatabaseName(self):
|
|
2261
|
-
"""
|
|
2264
|
+
"""创建的数据库名。
|
|
2265
|
+
名称规范:由字母(a-z, A-Z)、数字(0-9)、下划线(_)组成,以字母或(_)开头,最多63个字符。不能使用系统保留关键字,不能为postgres。
|
|
2262
2266
|
:rtype: str
|
|
2263
2267
|
"""
|
|
2264
2268
|
return self._DatabaseName
|
|
@@ -2269,7 +2273,7 @@ class CreateDatabaseRequest(AbstractModel):
|
|
|
2269
2273
|
|
|
2270
2274
|
@property
|
|
2271
2275
|
def DatabaseOwner(self):
|
|
2272
|
-
"""
|
|
2276
|
+
"""数据库的所有者。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
2273
2277
|
:rtype: str
|
|
2274
2278
|
"""
|
|
2275
2279
|
return self._DatabaseOwner
|
|
@@ -2280,7 +2284,9 @@ class CreateDatabaseRequest(AbstractModel):
|
|
|
2280
2284
|
|
|
2281
2285
|
@property
|
|
2282
2286
|
def Encoding(self):
|
|
2283
|
-
"""
|
|
2287
|
+
"""数据库的字符编码。
|
|
2288
|
+
支持的常用字符集包括:UTF8、LATIN1、LATIN2、WIN1250、WIN1251、WIN1252、KOI8R、EUC_JP、EUC_KR
|
|
2289
|
+
默认值:UTF8
|
|
2284
2290
|
:rtype: str
|
|
2285
2291
|
"""
|
|
2286
2292
|
return self._Encoding
|
|
@@ -2369,7 +2375,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2369
2375
|
:type Zone: str
|
|
2370
2376
|
:param _SpecCode: 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。
|
|
2371
2377
|
:type SpecCode: str
|
|
2372
|
-
:param _Storage:
|
|
2378
|
+
:param _Storage: 实例磁盘容量大小,单位:GB。该参数的设置步长为10。
|
|
2373
2379
|
:type Storage: int
|
|
2374
2380
|
:param _InstanceCount: 购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。
|
|
2375
2381
|
:type InstanceCount: int
|
|
@@ -2427,7 +2433,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2427
2433
|
:type AutoVoucher: int
|
|
2428
2434
|
:param _VoucherIds: 代金券ID列表,目前仅支持指定一张代金券。
|
|
2429
2435
|
:type VoucherIds: list of str
|
|
2430
|
-
:param _ProjectId: 项目ID
|
|
2436
|
+
:param _ProjectId: 项目ID。默认取之为0,表示归属默认项目。
|
|
2431
2437
|
:type ProjectId: int
|
|
2432
2438
|
:param _ActivityId: 活动ID。
|
|
2433
2439
|
:type ActivityId: int
|
|
@@ -2536,7 +2542,7 @@ mssql_compatible引擎:
|
|
|
2536
2542
|
|
|
2537
2543
|
@property
|
|
2538
2544
|
def Storage(self):
|
|
2539
|
-
"""
|
|
2545
|
+
"""实例磁盘容量大小,单位:GB。该参数的设置步长为10。
|
|
2540
2546
|
:rtype: int
|
|
2541
2547
|
"""
|
|
2542
2548
|
return self._Storage
|
|
@@ -2738,7 +2744,7 @@ mssql_compatible引擎:
|
|
|
2738
2744
|
|
|
2739
2745
|
@property
|
|
2740
2746
|
def ProjectId(self):
|
|
2741
|
-
"""项目ID
|
|
2747
|
+
"""项目ID。默认取之为0,表示归属默认项目。
|
|
2742
2748
|
:rtype: int
|
|
2743
2749
|
"""
|
|
2744
2750
|
return self._ProjectId
|
|
@@ -3164,11 +3170,11 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
|
|
|
3164
3170
|
:param _Zone: 实例所属主可用区, 如:ap-guangzhou-3;
|
|
3165
3171
|
可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
|
|
3166
3172
|
:type Zone: str
|
|
3167
|
-
:param _MasterDBInstanceId: 只读实例的主实例ID
|
|
3173
|
+
:param _MasterDBInstanceId: 只读实例的主实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
3168
3174
|
:type MasterDBInstanceId: str
|
|
3169
3175
|
:param _SpecCode: 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。
|
|
3170
3176
|
:type SpecCode: str
|
|
3171
|
-
:param _Storage:
|
|
3177
|
+
:param _Storage: 实例硬盘容量大小,单位:GB。该参数的设置步长为10。
|
|
3172
3178
|
:type Storage: int
|
|
3173
3179
|
:param _InstanceCount: 购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。
|
|
3174
3180
|
:type InstanceCount: int
|
|
@@ -3197,7 +3203,7 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
|
|
|
3197
3203
|
<li>1:自动续费</li>
|
|
3198
3204
|
默认值:0
|
|
3199
3205
|
:type AutoRenewFlag: int
|
|
3200
|
-
:param _ProjectId: 项目ID
|
|
3206
|
+
:param _ProjectId: 项目ID。默认值为0,表示归属默认项目。
|
|
3201
3207
|
:type ProjectId: int
|
|
3202
3208
|
:param _ActivityId: 优惠活动ID
|
|
3203
3209
|
:type ActivityId: int
|
|
@@ -3213,7 +3219,7 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
|
|
|
3213
3219
|
<li>1:是</li>
|
|
3214
3220
|
默认值:0
|
|
3215
3221
|
:type NeedSupportIpv6: int
|
|
3216
|
-
:param _Name:
|
|
3222
|
+
:param _Name: 实例名。仅支持长度小于60的中文/英文/数字/"_"/"-"
|
|
3217
3223
|
:type Name: str
|
|
3218
3224
|
:param _DBVersion: 不再需要指定,内核版本号与主实例保持一致
|
|
3219
3225
|
:type DBVersion: str
|
|
@@ -3256,7 +3262,7 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
|
|
|
3256
3262
|
|
|
3257
3263
|
@property
|
|
3258
3264
|
def MasterDBInstanceId(self):
|
|
3259
|
-
"""只读实例的主实例ID
|
|
3265
|
+
"""只读实例的主实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
3260
3266
|
:rtype: str
|
|
3261
3267
|
"""
|
|
3262
3268
|
return self._MasterDBInstanceId
|
|
@@ -3278,7 +3284,7 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
|
|
|
3278
3284
|
|
|
3279
3285
|
@property
|
|
3280
3286
|
def Storage(self):
|
|
3281
|
-
"""
|
|
3287
|
+
"""实例硬盘容量大小,单位:GB。该参数的设置步长为10。
|
|
3282
3288
|
:rtype: int
|
|
3283
3289
|
"""
|
|
3284
3290
|
return self._Storage
|
|
@@ -3388,7 +3394,7 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
|
|
|
3388
3394
|
|
|
3389
3395
|
@property
|
|
3390
3396
|
def ProjectId(self):
|
|
3391
|
-
"""项目ID
|
|
3397
|
+
"""项目ID。默认值为0,表示归属默认项目。
|
|
3392
3398
|
:rtype: int
|
|
3393
3399
|
"""
|
|
3394
3400
|
return self._ProjectId
|
|
@@ -3458,7 +3464,7 @@ class CreateReadOnlyDBInstanceRequest(AbstractModel):
|
|
|
3458
3464
|
|
|
3459
3465
|
@property
|
|
3460
3466
|
def Name(self):
|
|
3461
|
-
"""
|
|
3467
|
+
"""实例名。仅支持长度小于60的中文/英文/数字/"_"/"-"
|
|
3462
3468
|
:rtype: str
|
|
3463
3469
|
"""
|
|
3464
3470
|
return self._Name
|
|
@@ -3608,7 +3614,7 @@ class CreateReadOnlyGroupNetworkAccessRequest(AbstractModel):
|
|
|
3608
3614
|
|
|
3609
3615
|
def __init__(self):
|
|
3610
3616
|
r"""
|
|
3611
|
-
:param _ReadOnlyGroupId: RO组ID,形如:
|
|
3617
|
+
:param _ReadOnlyGroupId: RO组ID,形如:pgrogrp-4t9c6g7k。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
|
|
3612
3618
|
:type ReadOnlyGroupId: str
|
|
3613
3619
|
:param _VpcId: 私有网络统一 ID。
|
|
3614
3620
|
:type VpcId: str
|
|
@@ -3616,7 +3622,7 @@ class CreateReadOnlyGroupNetworkAccessRequest(AbstractModel):
|
|
|
3616
3622
|
:type SubnetId: str
|
|
3617
3623
|
:param _IsAssignVip: 是否指定分配vip true-指定分配 false-自动分配。
|
|
3618
3624
|
:type IsAssignVip: bool
|
|
3619
|
-
:param _Vip: 目标VIP
|
|
3625
|
+
:param _Vip: 目标VIP地址。当不指定该参数,且IsAssignVip为true时,默认自动分配Vip。
|
|
3620
3626
|
:type Vip: str
|
|
3621
3627
|
"""
|
|
3622
3628
|
self._ReadOnlyGroupId = None
|
|
@@ -3627,7 +3633,7 @@ class CreateReadOnlyGroupNetworkAccessRequest(AbstractModel):
|
|
|
3627
3633
|
|
|
3628
3634
|
@property
|
|
3629
3635
|
def ReadOnlyGroupId(self):
|
|
3630
|
-
"""RO组ID,形如:
|
|
3636
|
+
"""RO组ID,形如:pgrogrp-4t9c6g7k。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
|
|
3631
3637
|
:rtype: str
|
|
3632
3638
|
"""
|
|
3633
3639
|
return self._ReadOnlyGroupId
|
|
@@ -3671,7 +3677,7 @@ class CreateReadOnlyGroupNetworkAccessRequest(AbstractModel):
|
|
|
3671
3677
|
|
|
3672
3678
|
@property
|
|
3673
3679
|
def Vip(self):
|
|
3674
|
-
"""目标VIP
|
|
3680
|
+
"""目标VIP地址。当不指定该参数,且IsAssignVip为true时,默认自动分配Vip。
|
|
3675
3681
|
:rtype: str
|
|
3676
3682
|
"""
|
|
3677
3683
|
return self._Vip
|
|
@@ -3747,25 +3753,25 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3747
3753
|
|
|
3748
3754
|
def __init__(self):
|
|
3749
3755
|
r"""
|
|
3750
|
-
:param _MasterDBInstanceId: 主实例ID
|
|
3756
|
+
:param _MasterDBInstanceId: 主实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
3751
3757
|
:type MasterDBInstanceId: str
|
|
3752
|
-
:param _Name:
|
|
3758
|
+
:param _Name: 只读组名称。仅支持长度小于60的中文/英文/数字/"_"/"-"。
|
|
3753
3759
|
:type Name: str
|
|
3754
|
-
:param _ProjectId: 项目ID
|
|
3760
|
+
:param _ProjectId: 项目ID。默认值为0,表示归属于默认项目。
|
|
3755
3761
|
:type ProjectId: int
|
|
3756
|
-
:param _VpcId: 私有网络ID
|
|
3762
|
+
:param _VpcId: 私有网络ID。注:默认使用基础网络,当前不支持基础网络,故该参数必填。
|
|
3757
3763
|
:type VpcId: str
|
|
3758
|
-
:param _SubnetId: 子网ID
|
|
3764
|
+
:param _SubnetId: 子网ID。注:默认使用基础网络,当前不支持基础网络,故该参数必填。
|
|
3759
3765
|
:type SubnetId: str
|
|
3760
|
-
:param _ReplayLagEliminate: 延迟时间大小开关:0关、1
|
|
3766
|
+
:param _ReplayLagEliminate: 延迟时间大小开关:0关、1开。该参数必填。
|
|
3761
3767
|
:type ReplayLagEliminate: int
|
|
3762
|
-
:param _ReplayLatencyEliminate: 延迟空间大小开关: 0关、1
|
|
3768
|
+
:param _ReplayLatencyEliminate: 延迟空间大小开关: 0关、1开。该参数的填写需要与ReplayLagEliminate一致。
|
|
3763
3769
|
:type ReplayLatencyEliminate: int
|
|
3764
|
-
:param _MaxReplayLag:
|
|
3770
|
+
:param _MaxReplayLag: 延迟时间大小阈值,取值为正整数,单位s。当ReplayLagEliminate为1时,该参数必填;当ReplayLagEliminate为0时,该参数需填0。
|
|
3765
3771
|
:type MaxReplayLag: int
|
|
3766
|
-
:param _MaxReplayLatency:
|
|
3772
|
+
:param _MaxReplayLatency: 延迟空间大小阈值,取值为正整数,单位MB。当ReplayLatencyEliminate为1时,该参数必填;当ReplayLatencyEliminate为0时,该参数需填0。
|
|
3767
3773
|
:type MaxReplayLatency: int
|
|
3768
|
-
:param _MinDelayEliminateReserve:
|
|
3774
|
+
:param _MinDelayEliminateReserve: 延迟剔除最小保留实例数。取值范围[0,100]。当ReplayLatencyEliminate为1时,该参数必填;当ReplayLagEliminate为0时,该参数无效。
|
|
3769
3775
|
:type MinDelayEliminateReserve: int
|
|
3770
3776
|
:param _SecurityGroupIds: 安全组id
|
|
3771
3777
|
:type SecurityGroupIds: list of str
|
|
@@ -3784,7 +3790,7 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3784
3790
|
|
|
3785
3791
|
@property
|
|
3786
3792
|
def MasterDBInstanceId(self):
|
|
3787
|
-
"""主实例ID
|
|
3793
|
+
"""主实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
3788
3794
|
:rtype: str
|
|
3789
3795
|
"""
|
|
3790
3796
|
return self._MasterDBInstanceId
|
|
@@ -3795,7 +3801,7 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3795
3801
|
|
|
3796
3802
|
@property
|
|
3797
3803
|
def Name(self):
|
|
3798
|
-
"""
|
|
3804
|
+
"""只读组名称。仅支持长度小于60的中文/英文/数字/"_"/"-"。
|
|
3799
3805
|
:rtype: str
|
|
3800
3806
|
"""
|
|
3801
3807
|
return self._Name
|
|
@@ -3806,7 +3812,7 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3806
3812
|
|
|
3807
3813
|
@property
|
|
3808
3814
|
def ProjectId(self):
|
|
3809
|
-
"""项目ID
|
|
3815
|
+
"""项目ID。默认值为0,表示归属于默认项目。
|
|
3810
3816
|
:rtype: int
|
|
3811
3817
|
"""
|
|
3812
3818
|
return self._ProjectId
|
|
@@ -3817,7 +3823,7 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3817
3823
|
|
|
3818
3824
|
@property
|
|
3819
3825
|
def VpcId(self):
|
|
3820
|
-
"""私有网络ID
|
|
3826
|
+
"""私有网络ID。注:默认使用基础网络,当前不支持基础网络,故该参数必填。
|
|
3821
3827
|
:rtype: str
|
|
3822
3828
|
"""
|
|
3823
3829
|
return self._VpcId
|
|
@@ -3828,7 +3834,7 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3828
3834
|
|
|
3829
3835
|
@property
|
|
3830
3836
|
def SubnetId(self):
|
|
3831
|
-
"""子网ID
|
|
3837
|
+
"""子网ID。注:默认使用基础网络,当前不支持基础网络,故该参数必填。
|
|
3832
3838
|
:rtype: str
|
|
3833
3839
|
"""
|
|
3834
3840
|
return self._SubnetId
|
|
@@ -3839,7 +3845,7 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3839
3845
|
|
|
3840
3846
|
@property
|
|
3841
3847
|
def ReplayLagEliminate(self):
|
|
3842
|
-
"""延迟时间大小开关:0关、1
|
|
3848
|
+
"""延迟时间大小开关:0关、1开。该参数必填。
|
|
3843
3849
|
:rtype: int
|
|
3844
3850
|
"""
|
|
3845
3851
|
return self._ReplayLagEliminate
|
|
@@ -3850,7 +3856,7 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3850
3856
|
|
|
3851
3857
|
@property
|
|
3852
3858
|
def ReplayLatencyEliminate(self):
|
|
3853
|
-
"""延迟空间大小开关: 0关、1
|
|
3859
|
+
"""延迟空间大小开关: 0关、1开。该参数的填写需要与ReplayLagEliminate一致。
|
|
3854
3860
|
:rtype: int
|
|
3855
3861
|
"""
|
|
3856
3862
|
return self._ReplayLatencyEliminate
|
|
@@ -3861,7 +3867,7 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3861
3867
|
|
|
3862
3868
|
@property
|
|
3863
3869
|
def MaxReplayLag(self):
|
|
3864
|
-
"""
|
|
3870
|
+
"""延迟时间大小阈值,取值为正整数,单位s。当ReplayLagEliminate为1时,该参数必填;当ReplayLagEliminate为0时,该参数需填0。
|
|
3865
3871
|
:rtype: int
|
|
3866
3872
|
"""
|
|
3867
3873
|
return self._MaxReplayLag
|
|
@@ -3872,7 +3878,7 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3872
3878
|
|
|
3873
3879
|
@property
|
|
3874
3880
|
def MaxReplayLatency(self):
|
|
3875
|
-
"""
|
|
3881
|
+
"""延迟空间大小阈值,取值为正整数,单位MB。当ReplayLatencyEliminate为1时,该参数必填;当ReplayLatencyEliminate为0时,该参数需填0。
|
|
3876
3882
|
:rtype: int
|
|
3877
3883
|
"""
|
|
3878
3884
|
return self._MaxReplayLatency
|
|
@@ -3883,7 +3889,7 @@ class CreateReadOnlyGroupRequest(AbstractModel):
|
|
|
3883
3889
|
|
|
3884
3890
|
@property
|
|
3885
3891
|
def MinDelayEliminateReserve(self):
|
|
3886
|
-
"""
|
|
3892
|
+
"""延迟剔除最小保留实例数。取值范围[0,100]。当ReplayLatencyEliminate为1时,该参数必填;当ReplayLagEliminate为0时,该参数无效。
|
|
3887
3893
|
:rtype: int
|
|
3888
3894
|
"""
|
|
3889
3895
|
return self._MinDelayEliminateReserve
|
|
@@ -5582,17 +5588,17 @@ class DedicatedCluster(AbstractModel):
|
|
|
5582
5588
|
:type StandbyDedicatedClusterSet: list of str
|
|
5583
5589
|
:param _InstanceCount: 实例数量
|
|
5584
5590
|
:type InstanceCount: int
|
|
5585
|
-
:param _CpuTotal: Cpu
|
|
5591
|
+
:param _CpuTotal: Cpu总数量
|
|
5586
5592
|
:type CpuTotal: int
|
|
5587
5593
|
:param _CpuAvailable: Cpu可用数量
|
|
5588
5594
|
:type CpuAvailable: int
|
|
5589
|
-
:param _MemTotal:
|
|
5595
|
+
:param _MemTotal: 内存总量,单位GB
|
|
5590
5596
|
:type MemTotal: int
|
|
5591
|
-
:param _MemAvailable:
|
|
5597
|
+
:param _MemAvailable: 内存可用量,单位GB
|
|
5592
5598
|
:type MemAvailable: int
|
|
5593
|
-
:param _DiskTotal:
|
|
5599
|
+
:param _DiskTotal: 磁盘总量,单位GB
|
|
5594
5600
|
:type DiskTotal: int
|
|
5595
|
-
:param _DiskAvailable:
|
|
5601
|
+
:param _DiskAvailable: 磁盘可用量,单位GB
|
|
5596
5602
|
:type DiskAvailable: int
|
|
5597
5603
|
"""
|
|
5598
5604
|
self._DedicatedClusterId = None
|
|
@@ -5664,7 +5670,7 @@ class DedicatedCluster(AbstractModel):
|
|
|
5664
5670
|
|
|
5665
5671
|
@property
|
|
5666
5672
|
def CpuTotal(self):
|
|
5667
|
-
"""Cpu
|
|
5673
|
+
"""Cpu总数量
|
|
5668
5674
|
:rtype: int
|
|
5669
5675
|
"""
|
|
5670
5676
|
return self._CpuTotal
|
|
@@ -5686,7 +5692,7 @@ class DedicatedCluster(AbstractModel):
|
|
|
5686
5692
|
|
|
5687
5693
|
@property
|
|
5688
5694
|
def MemTotal(self):
|
|
5689
|
-
"""
|
|
5695
|
+
"""内存总量,单位GB
|
|
5690
5696
|
:rtype: int
|
|
5691
5697
|
"""
|
|
5692
5698
|
return self._MemTotal
|
|
@@ -5697,7 +5703,7 @@ class DedicatedCluster(AbstractModel):
|
|
|
5697
5703
|
|
|
5698
5704
|
@property
|
|
5699
5705
|
def MemAvailable(self):
|
|
5700
|
-
"""
|
|
5706
|
+
"""内存可用量,单位GB
|
|
5701
5707
|
:rtype: int
|
|
5702
5708
|
"""
|
|
5703
5709
|
return self._MemAvailable
|
|
@@ -5708,7 +5714,7 @@ class DedicatedCluster(AbstractModel):
|
|
|
5708
5714
|
|
|
5709
5715
|
@property
|
|
5710
5716
|
def DiskTotal(self):
|
|
5711
|
-
"""
|
|
5717
|
+
"""磁盘总量,单位GB
|
|
5712
5718
|
:rtype: int
|
|
5713
5719
|
"""
|
|
5714
5720
|
return self._DiskTotal
|
|
@@ -5719,7 +5725,7 @@ class DedicatedCluster(AbstractModel):
|
|
|
5719
5725
|
|
|
5720
5726
|
@property
|
|
5721
5727
|
def DiskAvailable(self):
|
|
5722
|
-
"""
|
|
5728
|
+
"""磁盘可用量,单位GB
|
|
5723
5729
|
:rtype: int
|
|
5724
5730
|
"""
|
|
5725
5731
|
return self._DiskAvailable
|
|
@@ -5758,9 +5764,9 @@ class DeleteAccountRequest(AbstractModel):
|
|
|
5758
5764
|
|
|
5759
5765
|
def __init__(self):
|
|
5760
5766
|
r"""
|
|
5761
|
-
:param _DBInstanceId: 实例ID。
|
|
5767
|
+
:param _DBInstanceId: 实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
5762
5768
|
:type DBInstanceId: str
|
|
5763
|
-
:param _UserName: 删除的账号名称。
|
|
5769
|
+
:param _UserName: 删除的账号名称。 可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
5764
5770
|
:type UserName: str
|
|
5765
5771
|
"""
|
|
5766
5772
|
self._DBInstanceId = None
|
|
@@ -5768,7 +5774,7 @@ class DeleteAccountRequest(AbstractModel):
|
|
|
5768
5774
|
|
|
5769
5775
|
@property
|
|
5770
5776
|
def DBInstanceId(self):
|
|
5771
|
-
"""实例ID。
|
|
5777
|
+
"""实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
5772
5778
|
:rtype: str
|
|
5773
5779
|
"""
|
|
5774
5780
|
return self._DBInstanceId
|
|
@@ -5779,7 +5785,7 @@ class DeleteAccountRequest(AbstractModel):
|
|
|
5779
5785
|
|
|
5780
5786
|
@property
|
|
5781
5787
|
def UserName(self):
|
|
5782
|
-
"""删除的账号名称。
|
|
5788
|
+
"""删除的账号名称。 可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
5783
5789
|
:rtype: str
|
|
5784
5790
|
"""
|
|
5785
5791
|
return self._UserName
|
|
@@ -6198,14 +6204,14 @@ class DeleteParameterTemplateRequest(AbstractModel):
|
|
|
6198
6204
|
|
|
6199
6205
|
def __init__(self):
|
|
6200
6206
|
r"""
|
|
6201
|
-
:param _TemplateId: 参数模板ID
|
|
6207
|
+
:param _TemplateId: 参数模板ID,用于唯一确认待操作的参数模板。可通过[DescribeParameterTemplates](https://cloud.tencent.com/document/api/409/84067)接口获取
|
|
6202
6208
|
:type TemplateId: str
|
|
6203
6209
|
"""
|
|
6204
6210
|
self._TemplateId = None
|
|
6205
6211
|
|
|
6206
6212
|
@property
|
|
6207
6213
|
def TemplateId(self):
|
|
6208
|
-
"""参数模板ID
|
|
6214
|
+
"""参数模板ID,用于唯一确认待操作的参数模板。可通过[DescribeParameterTemplates](https://cloud.tencent.com/document/api/409/84067)接口获取
|
|
6209
6215
|
:rtype: str
|
|
6210
6216
|
"""
|
|
6211
6217
|
return self._TemplateId
|
|
@@ -6465,9 +6471,9 @@ class DescribeAccountPrivilegesRequest(AbstractModel):
|
|
|
6465
6471
|
|
|
6466
6472
|
def __init__(self):
|
|
6467
6473
|
r"""
|
|
6468
|
-
:param _DBInstanceId: 实例ID。
|
|
6474
|
+
:param _DBInstanceId: 实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
6469
6475
|
:type DBInstanceId: str
|
|
6470
|
-
:param _UserName:
|
|
6476
|
+
:param _UserName: 查询此账号对某数据库对象所拥有的权限信息。账号名可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
6471
6477
|
:type UserName: str
|
|
6472
6478
|
:param _DatabaseObjectSet: 要查询的数据库对象信息
|
|
6473
6479
|
:type DatabaseObjectSet: list of DatabaseObject
|
|
@@ -6478,7 +6484,7 @@ class DescribeAccountPrivilegesRequest(AbstractModel):
|
|
|
6478
6484
|
|
|
6479
6485
|
@property
|
|
6480
6486
|
def DBInstanceId(self):
|
|
6481
|
-
"""实例ID。
|
|
6487
|
+
"""实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
6482
6488
|
:rtype: str
|
|
6483
6489
|
"""
|
|
6484
6490
|
return self._DBInstanceId
|
|
@@ -6489,7 +6495,7 @@ class DescribeAccountPrivilegesRequest(AbstractModel):
|
|
|
6489
6495
|
|
|
6490
6496
|
@property
|
|
6491
6497
|
def UserName(self):
|
|
6492
|
-
"""
|
|
6498
|
+
"""查询此账号对某数据库对象所拥有的权限信息。账号名可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
6493
6499
|
:rtype: str
|
|
6494
6500
|
"""
|
|
6495
6501
|
return self._UserName
|
|
@@ -6743,14 +6749,14 @@ class DescribeAvailableRecoveryTimeRequest(AbstractModel):
|
|
|
6743
6749
|
|
|
6744
6750
|
def __init__(self):
|
|
6745
6751
|
r"""
|
|
6746
|
-
:param _DBInstanceId: 实例ID
|
|
6752
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
6747
6753
|
:type DBInstanceId: str
|
|
6748
6754
|
"""
|
|
6749
6755
|
self._DBInstanceId = None
|
|
6750
6756
|
|
|
6751
6757
|
@property
|
|
6752
6758
|
def DBInstanceId(self):
|
|
6753
|
-
"""实例ID
|
|
6759
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
6754
6760
|
:rtype: str
|
|
6755
6761
|
"""
|
|
6756
6762
|
return self._DBInstanceId
|
|
@@ -7714,13 +7720,13 @@ class DescribeClassesRequest(AbstractModel):
|
|
|
7714
7720
|
|
|
7715
7721
|
def __init__(self):
|
|
7716
7722
|
r"""
|
|
7717
|
-
:param _Zone:
|
|
7723
|
+
:param _Zone: 可用区名称。可以通过接口[DescribeZones](https://cloud.tencent.com/document/product/409/16769)获取。
|
|
7718
7724
|
:type Zone: str
|
|
7719
7725
|
:param _DBEngine: 数据库引擎,支持:
|
|
7720
7726
|
1、postgresql(云数据库PostgreSQL);
|
|
7721
7727
|
2、mssql_compatible(MSSQL兼容-云数据库PostgreSQL);
|
|
7722
7728
|
:type DBEngine: str
|
|
7723
|
-
:param _DBMajorVersion: 数据库主版本号。例如12,13,可以通过接口DescribeDBVersions获取。
|
|
7729
|
+
:param _DBMajorVersion: 数据库主版本号。例如12,13,可以通过接口[DescribeDBVersions](https://cloud.tencent.com/document/product/409/89018)获取。
|
|
7724
7730
|
:type DBMajorVersion: str
|
|
7725
7731
|
"""
|
|
7726
7732
|
self._Zone = None
|
|
@@ -7729,7 +7735,7 @@ class DescribeClassesRequest(AbstractModel):
|
|
|
7729
7735
|
|
|
7730
7736
|
@property
|
|
7731
7737
|
def Zone(self):
|
|
7732
|
-
"""
|
|
7738
|
+
"""可用区名称。可以通过接口[DescribeZones](https://cloud.tencent.com/document/product/409/16769)获取。
|
|
7733
7739
|
:rtype: str
|
|
7734
7740
|
"""
|
|
7735
7741
|
return self._Zone
|
|
@@ -7753,7 +7759,7 @@ class DescribeClassesRequest(AbstractModel):
|
|
|
7753
7759
|
|
|
7754
7760
|
@property
|
|
7755
7761
|
def DBMajorVersion(self):
|
|
7756
|
-
"""数据库主版本号。例如12,13,可以通过接口DescribeDBVersions获取。
|
|
7762
|
+
"""数据库主版本号。例如12,13,可以通过接口[DescribeDBVersions](https://cloud.tencent.com/document/product/409/89018)获取。
|
|
7757
7763
|
:rtype: str
|
|
7758
7764
|
"""
|
|
7759
7765
|
return self._DBMajorVersion
|
|
@@ -8130,7 +8136,7 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8130
8136
|
|
|
8131
8137
|
def __init__(self):
|
|
8132
8138
|
r"""
|
|
8133
|
-
:param _DBInstanceId: 实例ID。
|
|
8139
|
+
:param _DBInstanceId: 实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
8134
8140
|
:type DBInstanceId: str
|
|
8135
8141
|
:param _StartTime: 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。
|
|
8136
8142
|
:type StartTime: str
|
|
@@ -8155,7 +8161,7 @@ class DescribeDBErrlogsRequest(AbstractModel):
|
|
|
8155
8161
|
|
|
8156
8162
|
@property
|
|
8157
8163
|
def DBInstanceId(self):
|
|
8158
|
-
"""实例ID。
|
|
8164
|
+
"""实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
8159
8165
|
:rtype: str
|
|
8160
8166
|
"""
|
|
8161
8167
|
return self._DBInstanceId
|
|
@@ -8567,7 +8573,7 @@ class DescribeDBInstanceParametersRequest(AbstractModel):
|
|
|
8567
8573
|
|
|
8568
8574
|
def __init__(self):
|
|
8569
8575
|
r"""
|
|
8570
|
-
:param _DBInstanceId: 实例ID
|
|
8576
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
8571
8577
|
:type DBInstanceId: str
|
|
8572
8578
|
:param _ParamName: 查询指定参数详情。ParamName为空或不传,默认返回全部参数列表
|
|
8573
8579
|
:type ParamName: str
|
|
@@ -8577,7 +8583,7 @@ class DescribeDBInstanceParametersRequest(AbstractModel):
|
|
|
8577
8583
|
|
|
8578
8584
|
@property
|
|
8579
8585
|
def DBInstanceId(self):
|
|
8580
|
-
"""实例ID
|
|
8586
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
8581
8587
|
:rtype: str
|
|
8582
8588
|
"""
|
|
8583
8589
|
return self._DBInstanceId
|
|
@@ -8681,14 +8687,14 @@ class DescribeDBInstanceSSLConfigRequest(AbstractModel):
|
|
|
8681
8687
|
|
|
8682
8688
|
def __init__(self):
|
|
8683
8689
|
r"""
|
|
8684
|
-
:param _DBInstanceId: 实例ID,形如postgres-6bwgamo3
|
|
8690
|
+
:param _DBInstanceId: 实例ID,形如postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
8685
8691
|
:type DBInstanceId: str
|
|
8686
8692
|
"""
|
|
8687
8693
|
self._DBInstanceId = None
|
|
8688
8694
|
|
|
8689
8695
|
@property
|
|
8690
8696
|
def DBInstanceId(self):
|
|
8691
|
-
"""实例ID,形如postgres-6bwgamo3
|
|
8697
|
+
"""实例ID,形如postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
8692
8698
|
:rtype: str
|
|
8693
8699
|
"""
|
|
8694
8700
|
return self._DBInstanceId
|
|
@@ -8790,9 +8796,9 @@ class DescribeDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
8790
8796
|
|
|
8791
8797
|
def __init__(self):
|
|
8792
8798
|
r"""
|
|
8793
|
-
:param _DBInstanceId: 实例ID
|
|
8799
|
+
:param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId。
|
|
8794
8800
|
:type DBInstanceId: str
|
|
8795
|
-
:param _ReadOnlyGroupId: 只读组ID
|
|
8801
|
+
:param _ReadOnlyGroupId: 只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果要查询只读组关联的安全组,只传ReadOnlyGroupId。
|
|
8796
8802
|
:type ReadOnlyGroupId: str
|
|
8797
8803
|
"""
|
|
8798
8804
|
self._DBInstanceId = None
|
|
@@ -8800,7 +8806,7 @@ class DescribeDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
8800
8806
|
|
|
8801
8807
|
@property
|
|
8802
8808
|
def DBInstanceId(self):
|
|
8803
|
-
"""实例ID
|
|
8809
|
+
"""实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId。
|
|
8804
8810
|
:rtype: str
|
|
8805
8811
|
"""
|
|
8806
8812
|
return self._DBInstanceId
|
|
@@ -8811,7 +8817,7 @@ class DescribeDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
8811
8817
|
|
|
8812
8818
|
@property
|
|
8813
8819
|
def ReadOnlyGroupId(self):
|
|
8814
|
-
"""只读组ID
|
|
8820
|
+
"""只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果要查询只读组关联的安全组,只传ReadOnlyGroupId。
|
|
8815
8821
|
:rtype: str
|
|
8816
8822
|
"""
|
|
8817
8823
|
return self._ReadOnlyGroupId
|
|
@@ -9483,7 +9489,7 @@ class DescribeDatabaseObjectsRequest(AbstractModel):
|
|
|
9483
9489
|
|
|
9484
9490
|
def __init__(self):
|
|
9485
9491
|
r"""
|
|
9486
|
-
:param _DBInstanceId: 实例ID。
|
|
9492
|
+
:param _DBInstanceId: 实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
9487
9493
|
:type DBInstanceId: str
|
|
9488
9494
|
:param _ObjectType: 查询的对象类型。支持查询的数据对象有:database,schema,sequence,procedure,type,function,table,view,matview,column。
|
|
9489
9495
|
:type ObjectType: str
|
|
@@ -9508,7 +9514,7 @@ class DescribeDatabaseObjectsRequest(AbstractModel):
|
|
|
9508
9514
|
|
|
9509
9515
|
@property
|
|
9510
9516
|
def DBInstanceId(self):
|
|
9511
|
-
"""实例ID。
|
|
9517
|
+
"""实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
9512
9518
|
:rtype: str
|
|
9513
9519
|
"""
|
|
9514
9520
|
return self._DBInstanceId
|
|
@@ -9924,7 +9930,7 @@ class DescribeDefaultParametersRequest(AbstractModel):
|
|
|
9924
9930
|
|
|
9925
9931
|
def __init__(self):
|
|
9926
9932
|
r"""
|
|
9927
|
-
:param _DBMajorVersion: 数据库版本,大版本号,例如11,12,13
|
|
9933
|
+
:param _DBMajorVersion: 数据库版本,大版本号,例如11,12,13。可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)接口获取
|
|
9928
9934
|
:type DBMajorVersion: str
|
|
9929
9935
|
:param _DBEngine: 数据库引擎,例如:postgresql,mssql_compatible
|
|
9930
9936
|
:type DBEngine: str
|
|
@@ -9934,7 +9940,7 @@ class DescribeDefaultParametersRequest(AbstractModel):
|
|
|
9934
9940
|
|
|
9935
9941
|
@property
|
|
9936
9942
|
def DBMajorVersion(self):
|
|
9937
|
-
"""数据库版本,大版本号,例如11,12,13
|
|
9943
|
+
"""数据库版本,大版本号,例如11,12,13。可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)接口获取
|
|
9938
9944
|
:rtype: str
|
|
9939
9945
|
"""
|
|
9940
9946
|
return self._DBMajorVersion
|
|
@@ -10040,14 +10046,14 @@ class DescribeEncryptionKeysRequest(AbstractModel):
|
|
|
10040
10046
|
|
|
10041
10047
|
def __init__(self):
|
|
10042
10048
|
r"""
|
|
10043
|
-
:param _DBInstanceId: 实例ID
|
|
10049
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
10044
10050
|
:type DBInstanceId: str
|
|
10045
10051
|
"""
|
|
10046
10052
|
self._DBInstanceId = None
|
|
10047
10053
|
|
|
10048
10054
|
@property
|
|
10049
10055
|
def DBInstanceId(self):
|
|
10050
|
-
"""实例ID
|
|
10056
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
10051
10057
|
:rtype: str
|
|
10052
10058
|
"""
|
|
10053
10059
|
return self._DBInstanceId
|
|
@@ -10326,14 +10332,14 @@ class DescribeMaintainTimeWindowRequest(AbstractModel):
|
|
|
10326
10332
|
|
|
10327
10333
|
def __init__(self):
|
|
10328
10334
|
r"""
|
|
10329
|
-
:param _DBInstanceId: 实例ID
|
|
10335
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
10330
10336
|
:type DBInstanceId: str
|
|
10331
10337
|
"""
|
|
10332
10338
|
self._DBInstanceId = None
|
|
10333
10339
|
|
|
10334
10340
|
@property
|
|
10335
10341
|
def DBInstanceId(self):
|
|
10336
|
-
"""实例ID
|
|
10342
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
10337
10343
|
:rtype: str
|
|
10338
10344
|
"""
|
|
10339
10345
|
return self._DBInstanceId
|
|
@@ -10889,14 +10895,14 @@ class DescribeParamsEventRequest(AbstractModel):
|
|
|
10889
10895
|
|
|
10890
10896
|
def __init__(self):
|
|
10891
10897
|
r"""
|
|
10892
|
-
:param _DBInstanceId: 实例
|
|
10898
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
10893
10899
|
:type DBInstanceId: str
|
|
10894
10900
|
"""
|
|
10895
10901
|
self._DBInstanceId = None
|
|
10896
10902
|
|
|
10897
10903
|
@property
|
|
10898
10904
|
def DBInstanceId(self):
|
|
10899
|
-
"""实例
|
|
10905
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
10900
10906
|
:rtype: str
|
|
10901
10907
|
"""
|
|
10902
10908
|
return self._DBInstanceId
|
|
@@ -11491,7 +11497,7 @@ class DescribeSlowQueryAnalysisRequest(AbstractModel):
|
|
|
11491
11497
|
|
|
11492
11498
|
def __init__(self):
|
|
11493
11499
|
r"""
|
|
11494
|
-
:param _DBInstanceId: 实例ID
|
|
11500
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
11495
11501
|
:type DBInstanceId: str
|
|
11496
11502
|
:param _StartTime: 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。
|
|
11497
11503
|
:type StartTime: str
|
|
@@ -11519,7 +11525,7 @@ class DescribeSlowQueryAnalysisRequest(AbstractModel):
|
|
|
11519
11525
|
|
|
11520
11526
|
@property
|
|
11521
11527
|
def DBInstanceId(self):
|
|
11522
|
-
"""实例ID
|
|
11528
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
11523
11529
|
:rtype: str
|
|
11524
11530
|
"""
|
|
11525
11531
|
return self._DBInstanceId
|
|
@@ -11692,7 +11698,7 @@ class DescribeSlowQueryListRequest(AbstractModel):
|
|
|
11692
11698
|
|
|
11693
11699
|
def __init__(self):
|
|
11694
11700
|
r"""
|
|
11695
|
-
:param _DBInstanceId: 实例ID
|
|
11701
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
11696
11702
|
:type DBInstanceId: str
|
|
11697
11703
|
:param _StartTime: 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。
|
|
11698
11704
|
:type StartTime: str
|
|
@@ -11720,7 +11726,7 @@ class DescribeSlowQueryListRequest(AbstractModel):
|
|
|
11720
11726
|
|
|
11721
11727
|
@property
|
|
11722
11728
|
def DBInstanceId(self):
|
|
11723
|
-
"""实例ID
|
|
11729
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
11724
11730
|
:rtype: str
|
|
11725
11731
|
"""
|
|
11726
11732
|
return self._DBInstanceId
|
|
@@ -12324,11 +12330,11 @@ class DisIsolateDBInstancesRequest(AbstractModel):
|
|
|
12324
12330
|
|
|
12325
12331
|
def __init__(self):
|
|
12326
12332
|
r"""
|
|
12327
|
-
:param _DBInstanceIdSet: 实例ID
|
|
12333
|
+
:param _DBInstanceIdSet: 实例ID列表。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。支持同时解隔离多个实例。
|
|
12328
12334
|
:type DBInstanceIdSet: list of str
|
|
12329
12335
|
:param _Period: 购买时长,单位:月。
|
|
12330
12336
|
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
|
|
12331
|
-
<li
|
|
12337
|
+
<li>后付费:该参数不生效</li>
|
|
12332
12338
|
:type Period: int
|
|
12333
12339
|
:param _AutoVoucher: 是否使用代金券:
|
|
12334
12340
|
<li>true:使用</li>
|
|
@@ -12345,7 +12351,7 @@ class DisIsolateDBInstancesRequest(AbstractModel):
|
|
|
12345
12351
|
|
|
12346
12352
|
@property
|
|
12347
12353
|
def DBInstanceIdSet(self):
|
|
12348
|
-
"""实例ID
|
|
12354
|
+
"""实例ID列表。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。支持同时解隔离多个实例。
|
|
12349
12355
|
:rtype: list of str
|
|
12350
12356
|
"""
|
|
12351
12357
|
return self._DBInstanceIdSet
|
|
@@ -12358,7 +12364,7 @@ class DisIsolateDBInstancesRequest(AbstractModel):
|
|
|
12358
12364
|
def Period(self):
|
|
12359
12365
|
"""购买时长,单位:月。
|
|
12360
12366
|
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
|
|
12361
|
-
<li
|
|
12367
|
+
<li>后付费:该参数不生效</li>
|
|
12362
12368
|
:rtype: int
|
|
12363
12369
|
"""
|
|
12364
12370
|
return self._Period
|
|
@@ -12711,7 +12717,7 @@ class EventInfo(AbstractModel):
|
|
|
12711
12717
|
:type ModifyTime: str
|
|
12712
12718
|
:param _EffectiveTime: 后台参数生效开始时间
|
|
12713
12719
|
:type EffectiveTime: str
|
|
12714
|
-
:param _State:
|
|
12720
|
+
:param _State: 修改状态。枚举值:in progress、success、paused
|
|
12715
12721
|
:type State: str
|
|
12716
12722
|
:param _Operator: 操作者(一般为用户sub UIN)
|
|
12717
12723
|
:type Operator: str
|
|
@@ -12784,7 +12790,7 @@ class EventInfo(AbstractModel):
|
|
|
12784
12790
|
|
|
12785
12791
|
@property
|
|
12786
12792
|
def State(self):
|
|
12787
|
-
"""
|
|
12793
|
+
"""修改状态。枚举值:in progress、success、paused
|
|
12788
12794
|
:rtype: str
|
|
12789
12795
|
"""
|
|
12790
12796
|
return self._State
|
|
@@ -12966,11 +12972,11 @@ class InquiryPriceCreateDBInstancesRequest(AbstractModel):
|
|
|
12966
12972
|
|
|
12967
12973
|
def __init__(self):
|
|
12968
12974
|
r"""
|
|
12969
|
-
:param _Zone:
|
|
12975
|
+
:param _Zone: 可用区名称。该参数可以通过调用[ DescribeZones](https://cloud.tencent.com/document/product/409/16769) 接口的返回值中的Zone字段来获取。
|
|
12970
12976
|
:type Zone: str
|
|
12971
|
-
:param _SpecCode: 规格ID。该参数可以通过调用DescribeClasses接口的返回值中的SpecCode字段来获取。
|
|
12977
|
+
:param _SpecCode: 规格ID。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/product/409/89019)接口的返回值中的SpecCode字段来获取。
|
|
12972
12978
|
:type SpecCode: str
|
|
12973
|
-
:param _Storage: 存储容量大小,单位:GB。
|
|
12979
|
+
:param _Storage: 存储容量大小,单位:GB。该参数的设置步长为10。
|
|
12974
12980
|
:type Storage: int
|
|
12975
12981
|
:param _InstanceCount: 实例数量。目前最大数量不超过100,如需一次性创建更多实例,请联系客服支持。
|
|
12976
12982
|
:type InstanceCount: int
|
|
@@ -12978,7 +12984,8 @@ class InquiryPriceCreateDBInstancesRequest(AbstractModel):
|
|
|
12978
12984
|
:type Period: int
|
|
12979
12985
|
:param _Pid: 【弃字段,不再生效】,计费ID。该参数可以通过调用DescribeProductConfig接口的返回值中的Pid字段来获取。
|
|
12980
12986
|
:type Pid: int
|
|
12981
|
-
:param _InstanceChargeType:
|
|
12987
|
+
:param _InstanceChargeType: 实例计费类型。目前支持:PREPAID(预付费,即包年包月)和 POSTPAID(按量计费)。
|
|
12988
|
+
默认值:PREPAID
|
|
12982
12989
|
:type InstanceChargeType: str
|
|
12983
12990
|
:param _InstanceType: 实例类型,默认primary,支持如下:
|
|
12984
12991
|
primary(双机高可用(一主一从))
|
|
@@ -13001,7 +13008,7 @@ mssql_compatible(MSSQL兼容-云数据库PostgreSQL)
|
|
|
13001
13008
|
|
|
13002
13009
|
@property
|
|
13003
13010
|
def Zone(self):
|
|
13004
|
-
"""
|
|
13011
|
+
"""可用区名称。该参数可以通过调用[ DescribeZones](https://cloud.tencent.com/document/product/409/16769) 接口的返回值中的Zone字段来获取。
|
|
13005
13012
|
:rtype: str
|
|
13006
13013
|
"""
|
|
13007
13014
|
return self._Zone
|
|
@@ -13012,7 +13019,7 @@ mssql_compatible(MSSQL兼容-云数据库PostgreSQL)
|
|
|
13012
13019
|
|
|
13013
13020
|
@property
|
|
13014
13021
|
def SpecCode(self):
|
|
13015
|
-
"""规格ID。该参数可以通过调用DescribeClasses接口的返回值中的SpecCode字段来获取。
|
|
13022
|
+
"""规格ID。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/product/409/89019)接口的返回值中的SpecCode字段来获取。
|
|
13016
13023
|
:rtype: str
|
|
13017
13024
|
"""
|
|
13018
13025
|
return self._SpecCode
|
|
@@ -13023,7 +13030,7 @@ mssql_compatible(MSSQL兼容-云数据库PostgreSQL)
|
|
|
13023
13030
|
|
|
13024
13031
|
@property
|
|
13025
13032
|
def Storage(self):
|
|
13026
|
-
"""存储容量大小,单位:GB。
|
|
13033
|
+
"""存储容量大小,单位:GB。该参数的设置步长为10。
|
|
13027
13034
|
:rtype: int
|
|
13028
13035
|
"""
|
|
13029
13036
|
return self._Storage
|
|
@@ -13067,7 +13074,8 @@ mssql_compatible(MSSQL兼容-云数据库PostgreSQL)
|
|
|
13067
13074
|
|
|
13068
13075
|
@property
|
|
13069
13076
|
def InstanceChargeType(self):
|
|
13070
|
-
"""
|
|
13077
|
+
"""实例计费类型。目前支持:PREPAID(预付费,即包年包月)和 POSTPAID(按量计费)。
|
|
13078
|
+
默认值:PREPAID
|
|
13071
13079
|
:rtype: str
|
|
13072
13080
|
"""
|
|
13073
13081
|
return self._InstanceChargeType
|
|
@@ -13331,11 +13339,12 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
|
13331
13339
|
:type Storage: int
|
|
13332
13340
|
:param _Memory: 实例的内存大小,单位GB
|
|
13333
13341
|
:type Memory: int
|
|
13334
|
-
:param _DBInstanceId: 实例ID,形如postgres-hez4fh0v
|
|
13342
|
+
:param _DBInstanceId: 实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
13335
13343
|
:type DBInstanceId: str
|
|
13336
13344
|
:param _InstanceChargeType: 实例计费类型。
|
|
13337
13345
|
:type InstanceChargeType: str
|
|
13338
|
-
:param _Cpu: 实例的Cpu大小,单位Core
|
|
13346
|
+
:param _Cpu: 实例的Cpu大小,单位Core。
|
|
13347
|
+
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
|
|
13339
13348
|
:type Cpu: int
|
|
13340
13349
|
"""
|
|
13341
13350
|
self._Storage = None
|
|
@@ -13368,7 +13377,7 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
|
13368
13377
|
|
|
13369
13378
|
@property
|
|
13370
13379
|
def DBInstanceId(self):
|
|
13371
|
-
"""实例ID,形如postgres-hez4fh0v
|
|
13380
|
+
"""实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
13372
13381
|
:rtype: str
|
|
13373
13382
|
"""
|
|
13374
13383
|
return self._DBInstanceId
|
|
@@ -13394,7 +13403,8 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
|
13394
13403
|
|
|
13395
13404
|
@property
|
|
13396
13405
|
def Cpu(self):
|
|
13397
|
-
"""实例的Cpu大小,单位Core
|
|
13406
|
+
"""实例的Cpu大小,单位Core。
|
|
13407
|
+
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
|
|
13398
13408
|
:rtype: int
|
|
13399
13409
|
"""
|
|
13400
13410
|
return self._Cpu
|
|
@@ -13500,14 +13510,14 @@ class IsolateDBInstancesRequest(AbstractModel):
|
|
|
13500
13510
|
|
|
13501
13511
|
def __init__(self):
|
|
13502
13512
|
r"""
|
|
13503
|
-
:param _DBInstanceIdSet: 实例ID
|
|
13513
|
+
:param _DBInstanceIdSet: 实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。注意:当前已不支持同时隔离多个实例,这里只能传入单个实例ID。
|
|
13504
13514
|
:type DBInstanceIdSet: list of str
|
|
13505
13515
|
"""
|
|
13506
13516
|
self._DBInstanceIdSet = None
|
|
13507
13517
|
|
|
13508
13518
|
@property
|
|
13509
13519
|
def DBInstanceIdSet(self):
|
|
13510
|
-
"""实例ID
|
|
13520
|
+
"""实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。注意:当前已不支持同时隔离多个实例,这里只能传入单个实例ID。
|
|
13511
13521
|
:rtype: list of str
|
|
13512
13522
|
"""
|
|
13513
13523
|
return self._DBInstanceIdSet
|
|
@@ -13649,11 +13659,11 @@ class LogBackup(AbstractModel):
|
|
|
13649
13659
|
:type Id: str
|
|
13650
13660
|
:param _Name: 备份文件名称。
|
|
13651
13661
|
:type Name: str
|
|
13652
|
-
:param _BackupMethod:
|
|
13662
|
+
:param _BackupMethod: 备份方式。枚举值,physical - 物理备份;logical - 逻辑备份。
|
|
13653
13663
|
:type BackupMethod: str
|
|
13654
|
-
:param _BackupMode:
|
|
13664
|
+
:param _BackupMode: 备份模式。枚举值,manual - 手动备份;automatic - 自动备份 。
|
|
13655
13665
|
:type BackupMode: str
|
|
13656
|
-
:param _State:
|
|
13666
|
+
:param _State: 备份任务状态。枚举值:init、running、finished、failed、canceled
|
|
13657
13667
|
:type State: str
|
|
13658
13668
|
:param _Size: 备份集大小,单位bytes。
|
|
13659
13669
|
:type Size: int
|
|
@@ -13710,7 +13720,7 @@ class LogBackup(AbstractModel):
|
|
|
13710
13720
|
|
|
13711
13721
|
@property
|
|
13712
13722
|
def BackupMethod(self):
|
|
13713
|
-
"""
|
|
13723
|
+
"""备份方式。枚举值,physical - 物理备份;logical - 逻辑备份。
|
|
13714
13724
|
:rtype: str
|
|
13715
13725
|
"""
|
|
13716
13726
|
return self._BackupMethod
|
|
@@ -13721,7 +13731,7 @@ class LogBackup(AbstractModel):
|
|
|
13721
13731
|
|
|
13722
13732
|
@property
|
|
13723
13733
|
def BackupMode(self):
|
|
13724
|
-
"""
|
|
13734
|
+
"""备份模式。枚举值,manual - 手动备份;automatic - 自动备份 。
|
|
13725
13735
|
:rtype: str
|
|
13726
13736
|
"""
|
|
13727
13737
|
return self._BackupMode
|
|
@@ -13732,7 +13742,7 @@ class LogBackup(AbstractModel):
|
|
|
13732
13742
|
|
|
13733
13743
|
@property
|
|
13734
13744
|
def State(self):
|
|
13735
|
-
"""
|
|
13745
|
+
"""备份任务状态。枚举值:init、running、finished、failed、canceled
|
|
13736
13746
|
:rtype: str
|
|
13737
13747
|
"""
|
|
13738
13748
|
return self._State
|
|
@@ -14398,7 +14408,7 @@ class ModifyDBInstanceChargeTypeRequest(AbstractModel):
|
|
|
14398
14408
|
|
|
14399
14409
|
def __init__(self):
|
|
14400
14410
|
r"""
|
|
14401
|
-
:param _DBInstanceId: 实例ID,形如postgres-6fego161
|
|
14411
|
+
:param _DBInstanceId: 实例ID,形如postgres-6fego161。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
14402
14412
|
:type DBInstanceId: str
|
|
14403
14413
|
:param _InstanceChargeType: 实例计费类型,目前支持:
|
|
14404
14414
|
<li>PREPAID:预付费,即包年包月</li>
|
|
@@ -14428,7 +14438,7 @@ class ModifyDBInstanceChargeTypeRequest(AbstractModel):
|
|
|
14428
14438
|
|
|
14429
14439
|
@property
|
|
14430
14440
|
def DBInstanceId(self):
|
|
14431
|
-
"""实例ID,形如postgres-6fego161
|
|
14441
|
+
"""实例ID,形如postgres-6fego161。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
14432
14442
|
:rtype: str
|
|
14433
14443
|
"""
|
|
14434
14444
|
return self._DBInstanceId
|
|
@@ -14559,7 +14569,7 @@ class ModifyDBInstanceDeploymentRequest(AbstractModel):
|
|
|
14559
14569
|
|
|
14560
14570
|
def __init__(self):
|
|
14561
14571
|
r"""
|
|
14562
|
-
:param _DBInstanceId: 实例ID
|
|
14572
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
14563
14573
|
:type DBInstanceId: str
|
|
14564
14574
|
:param _DBNodeSet: 实例节点部署信息,支持多可用区部署时需要指定每个节点的部署可用区信息。
|
|
14565
14575
|
可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
|
|
@@ -14568,7 +14578,7 @@ class ModifyDBInstanceDeploymentRequest(AbstractModel):
|
|
|
14568
14578
|
<li>0:立即切换 </li>
|
|
14569
14579
|
<li>1:指定时间切换</li>
|
|
14570
14580
|
<li>2:维护时间窗口内切换</li>
|
|
14571
|
-
|
|
14581
|
+
|
|
14572
14582
|
:type SwitchTag: int
|
|
14573
14583
|
:param _SwitchStartTime: 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
|
|
14574
14584
|
:type SwitchStartTime: str
|
|
@@ -14583,7 +14593,7 @@ class ModifyDBInstanceDeploymentRequest(AbstractModel):
|
|
|
14583
14593
|
|
|
14584
14594
|
@property
|
|
14585
14595
|
def DBInstanceId(self):
|
|
14586
|
-
"""实例ID
|
|
14596
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
14587
14597
|
:rtype: str
|
|
14588
14598
|
"""
|
|
14589
14599
|
return self._DBInstanceId
|
|
@@ -14610,7 +14620,7 @@ class ModifyDBInstanceDeploymentRequest(AbstractModel):
|
|
|
14610
14620
|
<li>0:立即切换 </li>
|
|
14611
14621
|
<li>1:指定时间切换</li>
|
|
14612
14622
|
<li>2:维护时间窗口内切换</li>
|
|
14613
|
-
|
|
14623
|
+
|
|
14614
14624
|
:rtype: int
|
|
14615
14625
|
"""
|
|
14616
14626
|
return self._SwitchTag
|
|
@@ -14698,20 +14708,20 @@ class ModifyDBInstanceHAConfigRequest(AbstractModel):
|
|
|
14698
14708
|
|
|
14699
14709
|
def __init__(self):
|
|
14700
14710
|
r"""
|
|
14701
|
-
:param _DBInstanceId: 实例ID
|
|
14711
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
14702
14712
|
:type DBInstanceId: str
|
|
14703
14713
|
:param _SyncMode: 主从同步方式:
|
|
14704
|
-
<li>Semi-sync
|
|
14705
|
-
<li>Async
|
|
14714
|
+
<li>Semi-sync:半同步</li>
|
|
14715
|
+
<li>Async:异步</li>
|
|
14706
14716
|
|
|
14707
14717
|
:type SyncMode: str
|
|
14708
14718
|
:param _MaxStandbyLatency: 高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。
|
|
14709
|
-
<li>单位:byte
|
|
14710
|
-
<li>参数范围:[1073741824, 322122547200]
|
|
14719
|
+
<li>单位:byte</li>
|
|
14720
|
+
<li>参数范围:[1073741824, 322122547200]</li>
|
|
14711
14721
|
:type MaxStandbyLatency: int
|
|
14712
14722
|
:param _MaxStandbyLag: 高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。
|
|
14713
|
-
<li>单位:s
|
|
14714
|
-
<li>参数范围:[5, 10]
|
|
14723
|
+
<li>单位:s</li>
|
|
14724
|
+
<li>参数范围:[5, 10]</li>
|
|
14715
14725
|
:type MaxStandbyLag: int
|
|
14716
14726
|
:param _MaxSyncStandbyLatency: 同步备机最大延迟数据量。备机延迟数据量小于等于该值,且该备机延迟时间小于等于MaxSyncStandbyLag时,则该备机采用同步复制;否则,采用异步复制。
|
|
14717
14727
|
该参数值针对SyncMode设置为Semi-sync的实例有效。
|
|
@@ -14733,7 +14743,7 @@ class ModifyDBInstanceHAConfigRequest(AbstractModel):
|
|
|
14733
14743
|
|
|
14734
14744
|
@property
|
|
14735
14745
|
def DBInstanceId(self):
|
|
14736
|
-
"""实例ID
|
|
14746
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
14737
14747
|
:rtype: str
|
|
14738
14748
|
"""
|
|
14739
14749
|
return self._DBInstanceId
|
|
@@ -14745,8 +14755,8 @@ class ModifyDBInstanceHAConfigRequest(AbstractModel):
|
|
|
14745
14755
|
@property
|
|
14746
14756
|
def SyncMode(self):
|
|
14747
14757
|
"""主从同步方式:
|
|
14748
|
-
<li>Semi-sync
|
|
14749
|
-
<li>Async
|
|
14758
|
+
<li>Semi-sync:半同步</li>
|
|
14759
|
+
<li>Async:异步</li>
|
|
14750
14760
|
|
|
14751
14761
|
:rtype: str
|
|
14752
14762
|
"""
|
|
@@ -14759,8 +14769,8 @@ class ModifyDBInstanceHAConfigRequest(AbstractModel):
|
|
|
14759
14769
|
@property
|
|
14760
14770
|
def MaxStandbyLatency(self):
|
|
14761
14771
|
"""高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。
|
|
14762
|
-
<li>单位:byte
|
|
14763
|
-
<li>参数范围:[1073741824, 322122547200]
|
|
14772
|
+
<li>单位:byte</li>
|
|
14773
|
+
<li>参数范围:[1073741824, 322122547200]</li>
|
|
14764
14774
|
:rtype: int
|
|
14765
14775
|
"""
|
|
14766
14776
|
return self._MaxStandbyLatency
|
|
@@ -14772,8 +14782,8 @@ class ModifyDBInstanceHAConfigRequest(AbstractModel):
|
|
|
14772
14782
|
@property
|
|
14773
14783
|
def MaxStandbyLag(self):
|
|
14774
14784
|
"""高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。
|
|
14775
|
-
<li>单位:s
|
|
14776
|
-
<li>参数范围:[5, 10]
|
|
14785
|
+
<li>单位:s</li>
|
|
14786
|
+
<li>参数范围:[5, 10]</li>
|
|
14777
14787
|
:rtype: int
|
|
14778
14788
|
"""
|
|
14779
14789
|
return self._MaxStandbyLag
|
|
@@ -14863,9 +14873,9 @@ class ModifyDBInstanceNameRequest(AbstractModel):
|
|
|
14863
14873
|
|
|
14864
14874
|
def __init__(self):
|
|
14865
14875
|
r"""
|
|
14866
|
-
:param _DBInstanceId: 数据库实例ID,形如postgres-6fego161
|
|
14876
|
+
:param _DBInstanceId: 数据库实例ID,形如postgres-6fego161。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
14867
14877
|
:type DBInstanceId: str
|
|
14868
|
-
:param _InstanceName: 实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-"
|
|
14878
|
+
:param _InstanceName: 实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-"。
|
|
14869
14879
|
|
|
14870
14880
|
:type InstanceName: str
|
|
14871
14881
|
"""
|
|
@@ -14874,7 +14884,7 @@ class ModifyDBInstanceNameRequest(AbstractModel):
|
|
|
14874
14884
|
|
|
14875
14885
|
@property
|
|
14876
14886
|
def DBInstanceId(self):
|
|
14877
|
-
"""数据库实例ID,形如postgres-6fego161
|
|
14887
|
+
"""数据库实例ID,形如postgres-6fego161。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
14878
14888
|
:rtype: str
|
|
14879
14889
|
"""
|
|
14880
14890
|
return self._DBInstanceId
|
|
@@ -14885,7 +14895,7 @@ class ModifyDBInstanceNameRequest(AbstractModel):
|
|
|
14885
14895
|
|
|
14886
14896
|
@property
|
|
14887
14897
|
def InstanceName(self):
|
|
14888
|
-
"""实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-"
|
|
14898
|
+
"""实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-"。
|
|
14889
14899
|
|
|
14890
14900
|
:rtype: str
|
|
14891
14901
|
"""
|
|
@@ -14944,7 +14954,7 @@ class ModifyDBInstanceParametersRequest(AbstractModel):
|
|
|
14944
14954
|
|
|
14945
14955
|
def __init__(self):
|
|
14946
14956
|
r"""
|
|
14947
|
-
:param _DBInstanceId: 实例ID
|
|
14957
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
14948
14958
|
:type DBInstanceId: str
|
|
14949
14959
|
:param _ParamList: 待修改参数及期望值。
|
|
14950
14960
|
:type ParamList: list of ParamEntry
|
|
@@ -14954,7 +14964,7 @@ class ModifyDBInstanceParametersRequest(AbstractModel):
|
|
|
14954
14964
|
|
|
14955
14965
|
@property
|
|
14956
14966
|
def DBInstanceId(self):
|
|
14957
|
-
"""实例ID
|
|
14967
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
14958
14968
|
:rtype: str
|
|
14959
14969
|
"""
|
|
14960
14970
|
return self._DBInstanceId
|
|
@@ -15028,7 +15038,7 @@ class ModifyDBInstanceReadOnlyGroupRequest(AbstractModel):
|
|
|
15028
15038
|
|
|
15029
15039
|
def __init__(self):
|
|
15030
15040
|
r"""
|
|
15031
|
-
:param _DBInstanceId: 实例ID
|
|
15041
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
15032
15042
|
:type DBInstanceId: str
|
|
15033
15043
|
:param _ReadOnlyGroupId: 当前实例所在只读组ID
|
|
15034
15044
|
:type ReadOnlyGroupId: str
|
|
@@ -15041,7 +15051,7 @@ class ModifyDBInstanceReadOnlyGroupRequest(AbstractModel):
|
|
|
15041
15051
|
|
|
15042
15052
|
@property
|
|
15043
15053
|
def DBInstanceId(self):
|
|
15044
|
-
"""实例ID
|
|
15054
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
15045
15055
|
:rtype: str
|
|
15046
15056
|
"""
|
|
15047
15057
|
return self._DBInstanceId
|
|
@@ -15137,9 +15147,9 @@ class ModifyDBInstanceSSLConfigRequest(AbstractModel):
|
|
|
15137
15147
|
|
|
15138
15148
|
def __init__(self):
|
|
15139
15149
|
r"""
|
|
15140
|
-
:param _DBInstanceId: 实例 ID
|
|
15150
|
+
:param _DBInstanceId: 实例 ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
15141
15151
|
:type DBInstanceId: str
|
|
15142
|
-
:param _SSLEnabled: 开启或关闭SSL
|
|
15152
|
+
:param _SSLEnabled: 开启或关闭SSL。true - 开启 ;false - 关闭。
|
|
15143
15153
|
:type SSLEnabled: bool
|
|
15144
15154
|
:param _ConnectAddress: SSL证书保护的唯一连接地址,若为主实例,可设置为内外网IP地址;若为只读实例,可设置为实例IP或只读组IP。在开启SSL或修改SSL保护的连接地址时,该参数为必传项;在关闭SSL时,该参数将被忽略。
|
|
15145
15155
|
:type ConnectAddress: str
|
|
@@ -15150,7 +15160,7 @@ class ModifyDBInstanceSSLConfigRequest(AbstractModel):
|
|
|
15150
15160
|
|
|
15151
15161
|
@property
|
|
15152
15162
|
def DBInstanceId(self):
|
|
15153
|
-
"""实例 ID
|
|
15163
|
+
"""实例 ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
15154
15164
|
:rtype: str
|
|
15155
15165
|
"""
|
|
15156
15166
|
return self._DBInstanceId
|
|
@@ -15161,7 +15171,7 @@ class ModifyDBInstanceSSLConfigRequest(AbstractModel):
|
|
|
15161
15171
|
|
|
15162
15172
|
@property
|
|
15163
15173
|
def SSLEnabled(self):
|
|
15164
|
-
"""开启或关闭SSL
|
|
15174
|
+
"""开启或关闭SSL。true - 开启 ;false - 关闭。
|
|
15165
15175
|
:rtype: bool
|
|
15166
15176
|
"""
|
|
15167
15177
|
return self._SSLEnabled
|
|
@@ -15344,11 +15354,11 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
|
|
|
15344
15354
|
|
|
15345
15355
|
def __init__(self):
|
|
15346
15356
|
r"""
|
|
15347
|
-
:param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3
|
|
15357
|
+
:param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
15348
15358
|
:type DBInstanceId: str
|
|
15349
15359
|
:param _Memory: 修改后的实例内存大小,单位GiB。
|
|
15350
15360
|
:type Memory: int
|
|
15351
|
-
:param _Storage: 修改后的实例磁盘大小,单位GiB。
|
|
15361
|
+
:param _Storage: 修改后的实例磁盘大小,单位GiB。该参数的设置步长为10。
|
|
15352
15362
|
:type Storage: int
|
|
15353
15363
|
:param _AutoVoucher: 是否自动使用代金券:
|
|
15354
15364
|
<li>0:否</li>
|
|
@@ -15369,7 +15379,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
|
|
|
15369
15379
|
:type SwitchStartTime: str
|
|
15370
15380
|
:param _SwitchEndTime: 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。
|
|
15371
15381
|
:type SwitchEndTime: str
|
|
15372
|
-
:param _Cpu: 修改后的实例CPU大小,单位Core。
|
|
15382
|
+
:param _Cpu: 修改后的实例CPU大小,单位Core。不填写该参数时,默认根据Memory确定Cpu大小。如Memory为2,支持的规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
|
|
15373
15383
|
:type Cpu: int
|
|
15374
15384
|
"""
|
|
15375
15385
|
self._DBInstanceId = None
|
|
@@ -15385,7 +15395,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
|
|
|
15385
15395
|
|
|
15386
15396
|
@property
|
|
15387
15397
|
def DBInstanceId(self):
|
|
15388
|
-
"""实例ID,形如:postgres-6bwgamo3
|
|
15398
|
+
"""实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
15389
15399
|
:rtype: str
|
|
15390
15400
|
"""
|
|
15391
15401
|
return self._DBInstanceId
|
|
@@ -15407,7 +15417,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
|
|
|
15407
15417
|
|
|
15408
15418
|
@property
|
|
15409
15419
|
def Storage(self):
|
|
15410
|
-
"""修改后的实例磁盘大小,单位GiB。
|
|
15420
|
+
"""修改后的实例磁盘大小,单位GiB。该参数的设置步长为10。
|
|
15411
15421
|
:rtype: int
|
|
15412
15422
|
"""
|
|
15413
15423
|
return self._Storage
|
|
@@ -15491,7 +15501,7 @@ class ModifyDBInstanceSpecRequest(AbstractModel):
|
|
|
15491
15501
|
|
|
15492
15502
|
@property
|
|
15493
15503
|
def Cpu(self):
|
|
15494
|
-
"""修改后的实例CPU大小,单位Core。
|
|
15504
|
+
"""修改后的实例CPU大小,单位Core。不填写该参数时,默认根据Memory确定Cpu大小。如Memory为2,支持的规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
|
|
15495
15505
|
:rtype: int
|
|
15496
15506
|
"""
|
|
15497
15507
|
return self._Cpu
|
|
@@ -15587,9 +15597,9 @@ class ModifyDBInstancesProjectRequest(AbstractModel):
|
|
|
15587
15597
|
|
|
15588
15598
|
def __init__(self):
|
|
15589
15599
|
r"""
|
|
15590
|
-
:param _DBInstanceIdSet: 实例ID
|
|
15600
|
+
:param _DBInstanceIdSet: 实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。支持同时操作多个实例。
|
|
15591
15601
|
:type DBInstanceIdSet: list of str
|
|
15592
|
-
:param _ProjectId: 所属新项目的ID
|
|
15602
|
+
:param _ProjectId: 所属新项目的ID。可通过[DescribeProject](https://cloud.tencent.com/document/api/651/78725)获取
|
|
15593
15603
|
:type ProjectId: str
|
|
15594
15604
|
"""
|
|
15595
15605
|
self._DBInstanceIdSet = None
|
|
@@ -15597,7 +15607,7 @@ class ModifyDBInstancesProjectRequest(AbstractModel):
|
|
|
15597
15607
|
|
|
15598
15608
|
@property
|
|
15599
15609
|
def DBInstanceIdSet(self):
|
|
15600
|
-
"""实例ID
|
|
15610
|
+
"""实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。支持同时操作多个实例。
|
|
15601
15611
|
:rtype: list of str
|
|
15602
15612
|
"""
|
|
15603
15613
|
return self._DBInstanceIdSet
|
|
@@ -15608,7 +15618,7 @@ class ModifyDBInstancesProjectRequest(AbstractModel):
|
|
|
15608
15618
|
|
|
15609
15619
|
@property
|
|
15610
15620
|
def ProjectId(self):
|
|
15611
|
-
"""所属新项目的ID
|
|
15621
|
+
"""所属新项目的ID。可通过[DescribeProject](https://cloud.tencent.com/document/api/651/78725)获取
|
|
15612
15622
|
:rtype: str
|
|
15613
15623
|
"""
|
|
15614
15624
|
return self._ProjectId
|
|
@@ -15681,11 +15691,11 @@ class ModifyDatabaseOwnerRequest(AbstractModel):
|
|
|
15681
15691
|
|
|
15682
15692
|
def __init__(self):
|
|
15683
15693
|
r"""
|
|
15684
|
-
:param _DBInstanceId: 实例ID
|
|
15694
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
15685
15695
|
:type DBInstanceId: str
|
|
15686
|
-
:param _DatabaseName:
|
|
15696
|
+
:param _DatabaseName: 数据库名称。可通过[DescribeDatabases](https://cloud.tencent.com/document/api/409/43353)接口获取
|
|
15687
15697
|
:type DatabaseName: str
|
|
15688
|
-
:param _DatabaseOwner:
|
|
15698
|
+
:param _DatabaseOwner: 数据库新所有者。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
15689
15699
|
:type DatabaseOwner: str
|
|
15690
15700
|
"""
|
|
15691
15701
|
self._DBInstanceId = None
|
|
@@ -15694,7 +15704,7 @@ class ModifyDatabaseOwnerRequest(AbstractModel):
|
|
|
15694
15704
|
|
|
15695
15705
|
@property
|
|
15696
15706
|
def DBInstanceId(self):
|
|
15697
|
-
"""实例ID
|
|
15707
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
15698
15708
|
:rtype: str
|
|
15699
15709
|
"""
|
|
15700
15710
|
return self._DBInstanceId
|
|
@@ -15705,7 +15715,7 @@ class ModifyDatabaseOwnerRequest(AbstractModel):
|
|
|
15705
15715
|
|
|
15706
15716
|
@property
|
|
15707
15717
|
def DatabaseName(self):
|
|
15708
|
-
"""
|
|
15718
|
+
"""数据库名称。可通过[DescribeDatabases](https://cloud.tencent.com/document/api/409/43353)接口获取
|
|
15709
15719
|
:rtype: str
|
|
15710
15720
|
"""
|
|
15711
15721
|
return self._DatabaseName
|
|
@@ -15716,7 +15726,7 @@ class ModifyDatabaseOwnerRequest(AbstractModel):
|
|
|
15716
15726
|
|
|
15717
15727
|
@property
|
|
15718
15728
|
def DatabaseOwner(self):
|
|
15719
|
-
"""
|
|
15729
|
+
"""数据库新所有者。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
15720
15730
|
:rtype: str
|
|
15721
15731
|
"""
|
|
15722
15732
|
return self._DatabaseOwner
|
|
@@ -15775,11 +15785,11 @@ class ModifyMaintainTimeWindowRequest(AbstractModel):
|
|
|
15775
15785
|
|
|
15776
15786
|
def __init__(self):
|
|
15777
15787
|
r"""
|
|
15778
|
-
:param _DBInstanceId: 实例ID
|
|
15788
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
15779
15789
|
:type DBInstanceId: str
|
|
15780
15790
|
:param _MaintainStartTime: 维护开始时间。时区为东八区(UTC+8)
|
|
15781
15791
|
:type MaintainStartTime: str
|
|
15782
|
-
:param _MaintainDuration:
|
|
15792
|
+
:param _MaintainDuration: 维护持续时间。单位:小时。取值范围:[1,4]
|
|
15783
15793
|
:type MaintainDuration: int
|
|
15784
15794
|
:param _MaintainWeekDays: 维护周期
|
|
15785
15795
|
:type MaintainWeekDays: list of str
|
|
@@ -15791,7 +15801,7 @@ class ModifyMaintainTimeWindowRequest(AbstractModel):
|
|
|
15791
15801
|
|
|
15792
15802
|
@property
|
|
15793
15803
|
def DBInstanceId(self):
|
|
15794
|
-
"""实例ID
|
|
15804
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
15795
15805
|
:rtype: str
|
|
15796
15806
|
"""
|
|
15797
15807
|
return self._DBInstanceId
|
|
@@ -15813,7 +15823,7 @@ class ModifyMaintainTimeWindowRequest(AbstractModel):
|
|
|
15813
15823
|
|
|
15814
15824
|
@property
|
|
15815
15825
|
def MaintainDuration(self):
|
|
15816
|
-
"""
|
|
15826
|
+
"""维护持续时间。单位:小时。取值范围:[1,4]
|
|
15817
15827
|
:rtype: int
|
|
15818
15828
|
"""
|
|
15819
15829
|
return self._MaintainDuration
|
|
@@ -16175,21 +16185,21 @@ class ModifyReadOnlyGroupConfigRequest(AbstractModel):
|
|
|
16175
16185
|
|
|
16176
16186
|
def __init__(self):
|
|
16177
16187
|
r"""
|
|
16178
|
-
:param _ReadOnlyGroupId: 只读组ID
|
|
16188
|
+
:param _ReadOnlyGroupId: 只读组ID。
|
|
16179
16189
|
:type ReadOnlyGroupId: str
|
|
16180
|
-
:param _ReadOnlyGroupName:
|
|
16190
|
+
:param _ReadOnlyGroupName: 只读组名称。仅支持长度小于60的中文/英文/数字/"_"/"-"
|
|
16181
16191
|
:type ReadOnlyGroupName: str
|
|
16182
16192
|
:param _ReplayLagEliminate: 延迟时间配置开关:0关、1开
|
|
16183
16193
|
:type ReplayLagEliminate: int
|
|
16184
16194
|
:param _ReplayLatencyEliminate: 延迟日志大小配置开关:0关、1开
|
|
16185
16195
|
:type ReplayLatencyEliminate: int
|
|
16186
|
-
:param _MaxReplayLatency: 延迟日志大小阈值,单位MB
|
|
16196
|
+
:param _MaxReplayLatency: 延迟日志大小阈值,单位MB。当开启延迟日志大小配置,应输入正整数
|
|
16187
16197
|
:type MaxReplayLatency: int
|
|
16188
|
-
:param _MaxReplayLag: 延迟时间大小阈值,单位
|
|
16198
|
+
:param _MaxReplayLag: 延迟时间大小阈值,单位s。当开启延迟时间配置时,应输入正整数。
|
|
16189
16199
|
:type MaxReplayLag: int
|
|
16190
16200
|
:param _Rebalance: 自动负载均衡开关:0关、1开
|
|
16191
16201
|
:type Rebalance: int
|
|
16192
|
-
:param _MinDelayEliminateReserve:
|
|
16202
|
+
:param _MinDelayEliminateReserve: 延迟剔除最小保留实例数。取值范围[0,100]
|
|
16193
16203
|
:type MinDelayEliminateReserve: int
|
|
16194
16204
|
"""
|
|
16195
16205
|
self._ReadOnlyGroupId = None
|
|
@@ -16203,7 +16213,7 @@ class ModifyReadOnlyGroupConfigRequest(AbstractModel):
|
|
|
16203
16213
|
|
|
16204
16214
|
@property
|
|
16205
16215
|
def ReadOnlyGroupId(self):
|
|
16206
|
-
"""只读组ID
|
|
16216
|
+
"""只读组ID。
|
|
16207
16217
|
:rtype: str
|
|
16208
16218
|
"""
|
|
16209
16219
|
return self._ReadOnlyGroupId
|
|
@@ -16214,7 +16224,7 @@ class ModifyReadOnlyGroupConfigRequest(AbstractModel):
|
|
|
16214
16224
|
|
|
16215
16225
|
@property
|
|
16216
16226
|
def ReadOnlyGroupName(self):
|
|
16217
|
-
"""
|
|
16227
|
+
"""只读组名称。仅支持长度小于60的中文/英文/数字/"_"/"-"
|
|
16218
16228
|
:rtype: str
|
|
16219
16229
|
"""
|
|
16220
16230
|
return self._ReadOnlyGroupName
|
|
@@ -16247,7 +16257,7 @@ class ModifyReadOnlyGroupConfigRequest(AbstractModel):
|
|
|
16247
16257
|
|
|
16248
16258
|
@property
|
|
16249
16259
|
def MaxReplayLatency(self):
|
|
16250
|
-
"""延迟日志大小阈值,单位MB
|
|
16260
|
+
"""延迟日志大小阈值,单位MB。当开启延迟日志大小配置,应输入正整数
|
|
16251
16261
|
:rtype: int
|
|
16252
16262
|
"""
|
|
16253
16263
|
return self._MaxReplayLatency
|
|
@@ -16258,7 +16268,7 @@ class ModifyReadOnlyGroupConfigRequest(AbstractModel):
|
|
|
16258
16268
|
|
|
16259
16269
|
@property
|
|
16260
16270
|
def MaxReplayLag(self):
|
|
16261
|
-
"""延迟时间大小阈值,单位
|
|
16271
|
+
"""延迟时间大小阈值,单位s。当开启延迟时间配置时,应输入正整数。
|
|
16262
16272
|
:rtype: int
|
|
16263
16273
|
"""
|
|
16264
16274
|
return self._MaxReplayLag
|
|
@@ -16280,7 +16290,7 @@ class ModifyReadOnlyGroupConfigRequest(AbstractModel):
|
|
|
16280
16290
|
|
|
16281
16291
|
@property
|
|
16282
16292
|
def MinDelayEliminateReserve(self):
|
|
16283
|
-
"""
|
|
16293
|
+
"""延迟剔除最小保留实例数。取值范围[0,100]
|
|
16284
16294
|
:rtype: int
|
|
16285
16295
|
"""
|
|
16286
16296
|
return self._MinDelayEliminateReserve
|
|
@@ -16344,7 +16354,7 @@ class ModifySwitchTimePeriodRequest(AbstractModel):
|
|
|
16344
16354
|
|
|
16345
16355
|
def __init__(self):
|
|
16346
16356
|
r"""
|
|
16347
|
-
:param _DBInstanceId: 处于等待切换状态中的实例ID
|
|
16357
|
+
:param _DBInstanceId: 处于等待切换状态中的实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
16348
16358
|
:type DBInstanceId: str
|
|
16349
16359
|
:param _SwitchTag: 入参取值为 0 ,代表立即切换。
|
|
16350
16360
|
:type SwitchTag: int
|
|
@@ -16354,7 +16364,7 @@ class ModifySwitchTimePeriodRequest(AbstractModel):
|
|
|
16354
16364
|
|
|
16355
16365
|
@property
|
|
16356
16366
|
def DBInstanceId(self):
|
|
16357
|
-
"""处于等待切换状态中的实例ID
|
|
16367
|
+
"""处于等待切换状态中的实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
16358
16368
|
:rtype: str
|
|
16359
16369
|
"""
|
|
16360
16370
|
return self._DBInstanceId
|
|
@@ -16810,9 +16820,10 @@ class OpenDBExtranetAccessRequest(AbstractModel):
|
|
|
16810
16820
|
|
|
16811
16821
|
def __init__(self):
|
|
16812
16822
|
r"""
|
|
16813
|
-
:param _DBInstanceId: 实例ID,形如postgres-hez4fh0v
|
|
16823
|
+
:param _DBInstanceId: 实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。
|
|
16814
16824
|
:type DBInstanceId: str
|
|
16815
16825
|
:param _IsIpv6: 是否开通Ipv6外网,1:是,0:否
|
|
16826
|
+
默认值:0
|
|
16816
16827
|
:type IsIpv6: int
|
|
16817
16828
|
"""
|
|
16818
16829
|
self._DBInstanceId = None
|
|
@@ -16820,7 +16831,7 @@ class OpenDBExtranetAccessRequest(AbstractModel):
|
|
|
16820
16831
|
|
|
16821
16832
|
@property
|
|
16822
16833
|
def DBInstanceId(self):
|
|
16823
|
-
"""实例ID,形如postgres-hez4fh0v
|
|
16834
|
+
"""实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。
|
|
16824
16835
|
:rtype: str
|
|
16825
16836
|
"""
|
|
16826
16837
|
return self._DBInstanceId
|
|
@@ -16832,6 +16843,7 @@ class OpenDBExtranetAccessRequest(AbstractModel):
|
|
|
16832
16843
|
@property
|
|
16833
16844
|
def IsIpv6(self):
|
|
16834
16845
|
"""是否开通Ipv6外网,1:是,0:否
|
|
16846
|
+
默认值:0
|
|
16835
16847
|
:rtype: int
|
|
16836
16848
|
"""
|
|
16837
16849
|
return self._IsIpv6
|
|
@@ -18436,9 +18448,9 @@ class RemoveDBInstanceFromReadOnlyGroupRequest(AbstractModel):
|
|
|
18436
18448
|
|
|
18437
18449
|
def __init__(self):
|
|
18438
18450
|
r"""
|
|
18439
|
-
:param _DBInstanceId: 实例ID
|
|
18451
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
18440
18452
|
:type DBInstanceId: str
|
|
18441
|
-
:param _ReadOnlyGroupId: 只读组ID
|
|
18453
|
+
:param _ReadOnlyGroupId: 只读组ID。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
|
|
18442
18454
|
:type ReadOnlyGroupId: str
|
|
18443
18455
|
"""
|
|
18444
18456
|
self._DBInstanceId = None
|
|
@@ -18446,7 +18458,7 @@ class RemoveDBInstanceFromReadOnlyGroupRequest(AbstractModel):
|
|
|
18446
18458
|
|
|
18447
18459
|
@property
|
|
18448
18460
|
def DBInstanceId(self):
|
|
18449
|
-
"""实例ID
|
|
18461
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
18450
18462
|
:rtype: str
|
|
18451
18463
|
"""
|
|
18452
18464
|
return self._DBInstanceId
|
|
@@ -18457,7 +18469,7 @@ class RemoveDBInstanceFromReadOnlyGroupRequest(AbstractModel):
|
|
|
18457
18469
|
|
|
18458
18470
|
@property
|
|
18459
18471
|
def ReadOnlyGroupId(self):
|
|
18460
|
-
"""只读组ID
|
|
18472
|
+
"""只读组ID。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
|
|
18461
18473
|
:rtype: str
|
|
18462
18474
|
"""
|
|
18463
18475
|
return self._ReadOnlyGroupId
|
|
@@ -18530,11 +18542,10 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
18530
18542
|
|
|
18531
18543
|
def __init__(self):
|
|
18532
18544
|
r"""
|
|
18533
|
-
:param _DBInstanceId: 实例ID,形如postgres-6fego161
|
|
18545
|
+
:param _DBInstanceId: 实例ID,形如postgres-6fego161。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。仅支持预付费(包年包月)实例。
|
|
18534
18546
|
:type DBInstanceId: str
|
|
18535
18547
|
:param _Period: 购买时长,单位:月。
|
|
18536
18548
|
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
|
|
18537
|
-
<li>后付费:只支持1</li>
|
|
18538
18549
|
:type Period: int
|
|
18539
18550
|
:param _AutoVoucher: 是否自动使用代金券:
|
|
18540
18551
|
<li>0:否</li>
|
|
@@ -18551,7 +18562,7 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
18551
18562
|
|
|
18552
18563
|
@property
|
|
18553
18564
|
def DBInstanceId(self):
|
|
18554
|
-
"""实例ID,形如postgres-6fego161
|
|
18565
|
+
"""实例ID,形如postgres-6fego161。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。仅支持预付费(包年包月)实例。
|
|
18555
18566
|
:rtype: str
|
|
18556
18567
|
"""
|
|
18557
18568
|
return self._DBInstanceId
|
|
@@ -18564,7 +18575,6 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
18564
18575
|
def Period(self):
|
|
18565
18576
|
"""购买时长,单位:月。
|
|
18566
18577
|
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
|
|
18567
|
-
<li>后付费:只支持1</li>
|
|
18568
18578
|
:rtype: int
|
|
18569
18579
|
"""
|
|
18570
18580
|
return self._Period
|
|
@@ -18664,11 +18674,19 @@ class ResetAccountPasswordRequest(AbstractModel):
|
|
|
18664
18674
|
|
|
18665
18675
|
def __init__(self):
|
|
18666
18676
|
r"""
|
|
18667
|
-
:param _DBInstanceId: 实例ID,形如postgres-4wdeb0zv
|
|
18677
|
+
:param _DBInstanceId: 实例ID,形如postgres-4wdeb0zv。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
18668
18678
|
:type DBInstanceId: str
|
|
18669
|
-
:param _UserName:
|
|
18679
|
+
:param _UserName: 实例账户名。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
18670
18680
|
:type UserName: str
|
|
18671
|
-
:param _Password: UserName
|
|
18681
|
+
:param _Password: UserName账户对应的新密码。
|
|
18682
|
+
密码设置规则如下:
|
|
18683
|
+
- 长度8~ 32位,推荐使用12位以上的密码
|
|
18684
|
+
- 不能以" / "开头
|
|
18685
|
+
- 必须包含以下四项:
|
|
18686
|
+
1. 小写字母a ~ z
|
|
18687
|
+
2. 大写字母 A ~ Z
|
|
18688
|
+
3. 数字 0 ~ 9
|
|
18689
|
+
4. 特殊字符 ()`~!@#$%^&*-+=_|{}[]:<>,.?/
|
|
18672
18690
|
:type Password: str
|
|
18673
18691
|
"""
|
|
18674
18692
|
self._DBInstanceId = None
|
|
@@ -18677,7 +18695,7 @@ class ResetAccountPasswordRequest(AbstractModel):
|
|
|
18677
18695
|
|
|
18678
18696
|
@property
|
|
18679
18697
|
def DBInstanceId(self):
|
|
18680
|
-
"""实例ID,形如postgres-4wdeb0zv
|
|
18698
|
+
"""实例ID,形如postgres-4wdeb0zv。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
18681
18699
|
:rtype: str
|
|
18682
18700
|
"""
|
|
18683
18701
|
return self._DBInstanceId
|
|
@@ -18688,7 +18706,7 @@ class ResetAccountPasswordRequest(AbstractModel):
|
|
|
18688
18706
|
|
|
18689
18707
|
@property
|
|
18690
18708
|
def UserName(self):
|
|
18691
|
-
"""
|
|
18709
|
+
"""实例账户名。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
18692
18710
|
:rtype: str
|
|
18693
18711
|
"""
|
|
18694
18712
|
return self._UserName
|
|
@@ -18699,7 +18717,15 @@ class ResetAccountPasswordRequest(AbstractModel):
|
|
|
18699
18717
|
|
|
18700
18718
|
@property
|
|
18701
18719
|
def Password(self):
|
|
18702
|
-
"""UserName
|
|
18720
|
+
"""UserName账户对应的新密码。
|
|
18721
|
+
密码设置规则如下:
|
|
18722
|
+
- 长度8~ 32位,推荐使用12位以上的密码
|
|
18723
|
+
- 不能以" / "开头
|
|
18724
|
+
- 必须包含以下四项:
|
|
18725
|
+
1. 小写字母a ~ z
|
|
18726
|
+
2. 大写字母 A ~ Z
|
|
18727
|
+
3. 数字 0 ~ 9
|
|
18728
|
+
4. 特殊字符 ()`~!@#$%^&*-+=_|{}[]:<>,.?/
|
|
18703
18729
|
:rtype: str
|
|
18704
18730
|
"""
|
|
18705
18731
|
return self._Password
|
|
@@ -18758,14 +18784,14 @@ class RestartDBInstanceRequest(AbstractModel):
|
|
|
18758
18784
|
|
|
18759
18785
|
def __init__(self):
|
|
18760
18786
|
r"""
|
|
18761
|
-
:param _DBInstanceId: 实例ID,形如postgres-6r233v55
|
|
18787
|
+
:param _DBInstanceId: 实例ID,形如postgres-6r233v55。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
18762
18788
|
:type DBInstanceId: str
|
|
18763
18789
|
"""
|
|
18764
18790
|
self._DBInstanceId = None
|
|
18765
18791
|
|
|
18766
18792
|
@property
|
|
18767
18793
|
def DBInstanceId(self):
|
|
18768
|
-
"""实例ID,形如postgres-6r233v55
|
|
18794
|
+
"""实例ID,形如postgres-6r233v55。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
18769
18795
|
:rtype: str
|
|
18770
18796
|
"""
|
|
18771
18797
|
return self._DBInstanceId
|
|
@@ -19535,7 +19561,7 @@ class SetAutoRenewFlagRequest(AbstractModel):
|
|
|
19535
19561
|
|
|
19536
19562
|
def __init__(self):
|
|
19537
19563
|
r"""
|
|
19538
|
-
:param _DBInstanceIdSet: 实例ID
|
|
19564
|
+
:param _DBInstanceIdSet: 实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。仅支持预付费(包年包月)的实例。支持同时操作多个实例。
|
|
19539
19565
|
:type DBInstanceIdSet: list of str
|
|
19540
19566
|
:param _AutoRenewFlag: 续费标记。0-正常续费;1-自动续费;2-到期不续费
|
|
19541
19567
|
:type AutoRenewFlag: int
|
|
@@ -19545,7 +19571,7 @@ class SetAutoRenewFlagRequest(AbstractModel):
|
|
|
19545
19571
|
|
|
19546
19572
|
@property
|
|
19547
19573
|
def DBInstanceIdSet(self):
|
|
19548
|
-
"""实例ID
|
|
19574
|
+
"""实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。仅支持预付费(包年包月)的实例。支持同时操作多个实例。
|
|
19549
19575
|
:rtype: list of str
|
|
19550
19576
|
"""
|
|
19551
19577
|
return self._DBInstanceIdSet
|
|
@@ -20002,16 +20028,16 @@ class SwitchDBInstancePrimaryRequest(AbstractModel):
|
|
|
20002
20028
|
|
|
20003
20029
|
def __init__(self):
|
|
20004
20030
|
r"""
|
|
20005
|
-
:param _DBInstanceId: 实例ID
|
|
20031
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
20006
20032
|
:type DBInstanceId: str
|
|
20007
20033
|
:param _Force: 是否强制切换。强制切换时只要备节点可访问,无论主备延迟多大都会发起切换。只有SwitchTag为0时,才可使用立即切换。
|
|
20008
|
-
<li>默认:false
|
|
20034
|
+
<li>默认:false</li>
|
|
20009
20035
|
:type Force: bool
|
|
20010
20036
|
:param _SwitchTag: 指定实例配置完成变更后的切换时间。
|
|
20011
|
-
<li>0:立即切换
|
|
20012
|
-
<li>1
|
|
20013
|
-
<li>2
|
|
20014
|
-
|
|
20037
|
+
<li>0:立即切换 </li>
|
|
20038
|
+
<li>1:指定时间切换</li>
|
|
20039
|
+
<li>2:维护时间窗口内切换</li>
|
|
20040
|
+
默认值:0
|
|
20015
20041
|
:type SwitchTag: int
|
|
20016
20042
|
:param _SwitchStartTime: 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
|
|
20017
20043
|
:type SwitchStartTime: str
|
|
@@ -20026,7 +20052,7 @@ class SwitchDBInstancePrimaryRequest(AbstractModel):
|
|
|
20026
20052
|
|
|
20027
20053
|
@property
|
|
20028
20054
|
def DBInstanceId(self):
|
|
20029
|
-
"""实例ID
|
|
20055
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
20030
20056
|
:rtype: str
|
|
20031
20057
|
"""
|
|
20032
20058
|
return self._DBInstanceId
|
|
@@ -20038,7 +20064,7 @@ class SwitchDBInstancePrimaryRequest(AbstractModel):
|
|
|
20038
20064
|
@property
|
|
20039
20065
|
def Force(self):
|
|
20040
20066
|
"""是否强制切换。强制切换时只要备节点可访问,无论主备延迟多大都会发起切换。只有SwitchTag为0时,才可使用立即切换。
|
|
20041
|
-
<li>默认:false
|
|
20067
|
+
<li>默认:false</li>
|
|
20042
20068
|
:rtype: bool
|
|
20043
20069
|
"""
|
|
20044
20070
|
return self._Force
|
|
@@ -20050,10 +20076,10 @@ class SwitchDBInstancePrimaryRequest(AbstractModel):
|
|
|
20050
20076
|
@property
|
|
20051
20077
|
def SwitchTag(self):
|
|
20052
20078
|
"""指定实例配置完成变更后的切换时间。
|
|
20053
|
-
<li>0:立即切换
|
|
20054
|
-
<li>1
|
|
20055
|
-
<li>2
|
|
20056
|
-
|
|
20079
|
+
<li>0:立即切换 </li>
|
|
20080
|
+
<li>1:指定时间切换</li>
|
|
20081
|
+
<li>2:维护时间窗口内切换</li>
|
|
20082
|
+
默认值:0
|
|
20057
20083
|
:rtype: int
|
|
20058
20084
|
"""
|
|
20059
20085
|
return self._SwitchTag
|
|
@@ -20543,15 +20569,15 @@ class UpgradeDBInstanceKernelVersionRequest(AbstractModel):
|
|
|
20543
20569
|
|
|
20544
20570
|
def __init__(self):
|
|
20545
20571
|
r"""
|
|
20546
|
-
:param _DBInstanceId: 实例ID
|
|
20572
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
20547
20573
|
:type DBInstanceId: str
|
|
20548
20574
|
:param _TargetDBKernelVersion: 升级的目标内核版本号。可以通过接口[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)的返回字段AvailableUpgradeTarget获取。
|
|
20549
20575
|
|
|
20550
20576
|
:type TargetDBKernelVersion: str
|
|
20551
20577
|
:param _SwitchTag: 指定实例升级内核版本号完成后的切换时间。可选值:
|
|
20552
|
-
<li>0
|
|
20553
|
-
<li>1
|
|
20554
|
-
<li>2
|
|
20578
|
+
<li>0:立即切换</li>
|
|
20579
|
+
<li>1:指定时间切换</li>
|
|
20580
|
+
<li>2:维护时间窗口内切换</li>
|
|
20555
20581
|
默认值:0
|
|
20556
20582
|
:type SwitchTag: int
|
|
20557
20583
|
:param _SwitchStartTime: 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
|
|
@@ -20559,8 +20585,8 @@ class UpgradeDBInstanceKernelVersionRequest(AbstractModel):
|
|
|
20559
20585
|
:param _SwitchEndTime: 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。SwitchStartTime和SwitchEndTime时间窗口不能小于30分钟。
|
|
20560
20586
|
:type SwitchEndTime: str
|
|
20561
20587
|
:param _DryRun: 是否对本次升级实例内核版本号操作执行预检查。
|
|
20562
|
-
<li>true
|
|
20563
|
-
<li>false
|
|
20588
|
+
<li>true:执行预检查操作,不升级内核版本号。检查项目包含请求参数、内核版本号兼容性、实例参数等。</li>
|
|
20589
|
+
<li>false:发送正常请求(默认值),通过检查后直接升级内核版本号。</li>
|
|
20564
20590
|
默认值:false
|
|
20565
20591
|
:type DryRun: bool
|
|
20566
20592
|
"""
|
|
@@ -20573,7 +20599,7 @@ class UpgradeDBInstanceKernelVersionRequest(AbstractModel):
|
|
|
20573
20599
|
|
|
20574
20600
|
@property
|
|
20575
20601
|
def DBInstanceId(self):
|
|
20576
|
-
"""实例ID
|
|
20602
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
20577
20603
|
:rtype: str
|
|
20578
20604
|
"""
|
|
20579
20605
|
return self._DBInstanceId
|
|
@@ -20597,9 +20623,9 @@ class UpgradeDBInstanceKernelVersionRequest(AbstractModel):
|
|
|
20597
20623
|
@property
|
|
20598
20624
|
def SwitchTag(self):
|
|
20599
20625
|
"""指定实例升级内核版本号完成后的切换时间。可选值:
|
|
20600
|
-
<li>0
|
|
20601
|
-
<li>1
|
|
20602
|
-
<li>2
|
|
20626
|
+
<li>0:立即切换</li>
|
|
20627
|
+
<li>1:指定时间切换</li>
|
|
20628
|
+
<li>2:维护时间窗口内切换</li>
|
|
20603
20629
|
默认值:0
|
|
20604
20630
|
:rtype: int
|
|
20605
20631
|
"""
|
|
@@ -20634,8 +20660,8 @@ class UpgradeDBInstanceKernelVersionRequest(AbstractModel):
|
|
|
20634
20660
|
@property
|
|
20635
20661
|
def DryRun(self):
|
|
20636
20662
|
"""是否对本次升级实例内核版本号操作执行预检查。
|
|
20637
|
-
<li>true
|
|
20638
|
-
<li>false
|
|
20663
|
+
<li>true:执行预检查操作,不升级内核版本号。检查项目包含请求参数、内核版本号兼容性、实例参数等。</li>
|
|
20664
|
+
<li>false:发送正常请求(默认值),通过检查后直接升级内核版本号。</li>
|
|
20639
20665
|
默认值:false
|
|
20640
20666
|
:rtype: bool
|
|
20641
20667
|
"""
|
|
@@ -20698,9 +20724,9 @@ class UpgradeDBInstanceMajorVersionRequest(AbstractModel):
|
|
|
20698
20724
|
|
|
20699
20725
|
def __init__(self):
|
|
20700
20726
|
r"""
|
|
20701
|
-
:param _DBInstanceId: 实例ID
|
|
20727
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
20702
20728
|
:type DBInstanceId: str
|
|
20703
|
-
:param _TargetDBKernelVersion: 目标内核版本号,可以通过API DescribeDBVersions获取可以升级的目标内核版本号。
|
|
20729
|
+
:param _TargetDBKernelVersion: 目标内核版本号,可以通过API [DescribeDBVersions](https://cloud.tencent.com/document/product/409/89018)获取可以升级的目标内核版本号。
|
|
20704
20730
|
:type TargetDBKernelVersion: str
|
|
20705
20731
|
:param _UpgradeCheck: 是否为校验模式,若UpgradeCheck为True,表示仅进行内核版本兼容性检查,不会进行实质性的升级操作,对原实例无影响。检查结果可以通过升级日志查看。
|
|
20706
20732
|
:type UpgradeCheck: bool
|
|
@@ -20743,7 +20769,7 @@ UpgradeCheck为True时,此参数无效。
|
|
|
20743
20769
|
|
|
20744
20770
|
@property
|
|
20745
20771
|
def DBInstanceId(self):
|
|
20746
|
-
"""实例ID
|
|
20772
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
20747
20773
|
:rtype: str
|
|
20748
20774
|
"""
|
|
20749
20775
|
return self._DBInstanceId
|
|
@@ -20754,7 +20780,7 @@ UpgradeCheck为True时,此参数无效。
|
|
|
20754
20780
|
|
|
20755
20781
|
@property
|
|
20756
20782
|
def TargetDBKernelVersion(self):
|
|
20757
|
-
"""目标内核版本号,可以通过API DescribeDBVersions获取可以升级的目标内核版本号。
|
|
20783
|
+
"""目标内核版本号,可以通过API [DescribeDBVersions](https://cloud.tencent.com/document/product/409/89018)获取可以升级的目标内核版本号。
|
|
20758
20784
|
:rtype: str
|
|
20759
20785
|
"""
|
|
20760
20786
|
return self._TargetDBKernelVersion
|