tencentcloud-sdk-python-postgres 3.1.4__tar.gz → 3.1.49__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/setup.py +1 -1
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud/postgres/v20170312/models.py +120 -180
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_postgres-3.1.49/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_postgres-3.1.4/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/README.rst +0 -0
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/setup.cfg +0 -0
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud/postgres/__init__.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud/postgres/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud/postgres/v20170312/postgres_client_async.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-postgres
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.49
|
|
4
4
|
Summary: Tencent Cloud Postgres SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.49
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-postgres',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.49,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Postgres SDK for Python',
|
|
@@ -1121,17 +1121,17 @@ class ClassInfo(AbstractModel):
|
|
|
1121
1121
|
|
|
1122
1122
|
def __init__(self):
|
|
1123
1123
|
r"""
|
|
1124
|
-
:param _SpecCode:
|
|
1124
|
+
:param _SpecCode: <p>规格ID</p>
|
|
1125
1125
|
:type SpecCode: str
|
|
1126
|
-
:param _CPU: CPU
|
|
1126
|
+
:param _CPU: <p>CPU核数</p>
|
|
1127
1127
|
:type CPU: int
|
|
1128
|
-
:param _Memory:
|
|
1128
|
+
:param _Memory: <p>内存大小,单位:MB</p>
|
|
1129
1129
|
:type Memory: int
|
|
1130
|
-
:param _MaxStorage:
|
|
1130
|
+
:param _MaxStorage: <p>该规格所支持最大存储容量,单位:GB</p>
|
|
1131
1131
|
:type MaxStorage: int
|
|
1132
|
-
:param _MinStorage:
|
|
1132
|
+
:param _MinStorage: <p>该规格所支持最小存储容量,单位:GB</p>
|
|
1133
1133
|
:type MinStorage: int
|
|
1134
|
-
:param _QPS:
|
|
1134
|
+
:param _QPS: <p>该规格的预估QPS</p>
|
|
1135
1135
|
:type QPS: int
|
|
1136
1136
|
"""
|
|
1137
1137
|
self._SpecCode = None
|
|
@@ -1143,7 +1143,7 @@ class ClassInfo(AbstractModel):
|
|
|
1143
1143
|
|
|
1144
1144
|
@property
|
|
1145
1145
|
def SpecCode(self):
|
|
1146
|
-
r"""
|
|
1146
|
+
r"""<p>规格ID</p>
|
|
1147
1147
|
:rtype: str
|
|
1148
1148
|
"""
|
|
1149
1149
|
return self._SpecCode
|
|
@@ -1154,7 +1154,7 @@ class ClassInfo(AbstractModel):
|
|
|
1154
1154
|
|
|
1155
1155
|
@property
|
|
1156
1156
|
def CPU(self):
|
|
1157
|
-
r"""CPU
|
|
1157
|
+
r"""<p>CPU核数</p>
|
|
1158
1158
|
:rtype: int
|
|
1159
1159
|
"""
|
|
1160
1160
|
return self._CPU
|
|
@@ -1165,7 +1165,7 @@ class ClassInfo(AbstractModel):
|
|
|
1165
1165
|
|
|
1166
1166
|
@property
|
|
1167
1167
|
def Memory(self):
|
|
1168
|
-
r"""
|
|
1168
|
+
r"""<p>内存大小,单位:MB</p>
|
|
1169
1169
|
:rtype: int
|
|
1170
1170
|
"""
|
|
1171
1171
|
return self._Memory
|
|
@@ -1176,7 +1176,7 @@ class ClassInfo(AbstractModel):
|
|
|
1176
1176
|
|
|
1177
1177
|
@property
|
|
1178
1178
|
def MaxStorage(self):
|
|
1179
|
-
r"""
|
|
1179
|
+
r"""<p>该规格所支持最大存储容量,单位:GB</p>
|
|
1180
1180
|
:rtype: int
|
|
1181
1181
|
"""
|
|
1182
1182
|
return self._MaxStorage
|
|
@@ -1187,7 +1187,7 @@ class ClassInfo(AbstractModel):
|
|
|
1187
1187
|
|
|
1188
1188
|
@property
|
|
1189
1189
|
def MinStorage(self):
|
|
1190
|
-
r"""
|
|
1190
|
+
r"""<p>该规格所支持最小存储容量,单位:GB</p>
|
|
1191
1191
|
:rtype: int
|
|
1192
1192
|
"""
|
|
1193
1193
|
return self._MinStorage
|
|
@@ -1198,7 +1198,7 @@ class ClassInfo(AbstractModel):
|
|
|
1198
1198
|
|
|
1199
1199
|
@property
|
|
1200
1200
|
def QPS(self):
|
|
1201
|
-
r"""
|
|
1201
|
+
r"""<p>该规格的预估QPS</p>
|
|
1202
1202
|
:rtype: int
|
|
1203
1203
|
"""
|
|
1204
1204
|
return self._QPS
|
|
@@ -4515,119 +4515,89 @@ class DBInstance(AbstractModel):
|
|
|
4515
4515
|
|
|
4516
4516
|
def __init__(self):
|
|
4517
4517
|
r"""
|
|
4518
|
-
:param _Region:
|
|
4518
|
+
:param _Region: <p>实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段。</p>
|
|
4519
4519
|
:type Region: str
|
|
4520
|
-
:param _Zone:
|
|
4520
|
+
:param _Zone: <p>实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段。</p>
|
|
4521
4521
|
:type Zone: str
|
|
4522
|
-
:param _VpcId:
|
|
4522
|
+
:param _VpcId: <p>私有网络ID,形如vpc-e6w23k31。有效的VpcId可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15778">DescribeVpcs</a> ,从接口返回中的unVpcId字段获取。</p>
|
|
4523
4523
|
:type VpcId: str
|
|
4524
|
-
:param _SubnetId:
|
|
4524
|
+
:param _SubnetId: <p>私有网络子网ID,形如subnet-51lcif9y。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15784">DescribeSubnets </a>,从接口返回中的unSubnetId字段获取。</p>
|
|
4525
4525
|
:type SubnetId: str
|
|
4526
|
-
:param _DBInstanceId:
|
|
4526
|
+
:param _DBInstanceId: <p>实例ID。</p>
|
|
4527
4527
|
:type DBInstanceId: str
|
|
4528
|
-
:param _DBInstanceName:
|
|
4528
|
+
:param _DBInstanceName: <p>实例名称。</p>
|
|
4529
4529
|
:type DBInstanceName: str
|
|
4530
|
-
:param _DBInstanceStatus:
|
|
4530
|
+
:param _DBInstanceStatus: <p>实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、disisolating(解隔离中)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)、audit-switching(审计状态变更中)、primary-switching(主备切换中)、offlining(下线中)、deployment changing(可用区变更中)、cloning(恢复数据中)、parameter modifying(参数修改中)、log-switching(日志状态变更中)、restoring(恢复中)、expanding(变配中)</p>
|
|
4531
4531
|
:type DBInstanceStatus: str
|
|
4532
|
-
:param _DBInstanceMemory:
|
|
4532
|
+
:param _DBInstanceMemory: <p>实例分配的内存大小,单位:GB</p>
|
|
4533
4533
|
:type DBInstanceMemory: int
|
|
4534
|
-
:param _DBInstanceStorage:
|
|
4534
|
+
:param _DBInstanceStorage: <p>实例分配的存储空间大小,单位:GB</p>
|
|
4535
4535
|
:type DBInstanceStorage: int
|
|
4536
|
-
:param _DBInstanceCpu:
|
|
4536
|
+
:param _DBInstanceCpu: <p>实例分配的CPU数量,单位:个</p>
|
|
4537
4537
|
:type DBInstanceCpu: int
|
|
4538
|
-
:param _DBInstanceClass:
|
|
4538
|
+
:param _DBInstanceClass: <p>售卖规格ID</p>
|
|
4539
4539
|
:type DBInstanceClass: str
|
|
4540
|
-
:param _DBMajorVersion: PostgreSQL
|
|
4540
|
+
:param _DBMajorVersion: <p>PostgreSQL大版本号,版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取,目前支持10,11,12,13,14,15这几个大版本。</p>
|
|
4541
4541
|
:type DBMajorVersion: str
|
|
4542
|
-
:param _DBVersion: PostgreSQL社区大版本+小版本号,如12.4
|
|
4542
|
+
:param _DBVersion: <p>PostgreSQL社区大版本+小版本号,如12.4,版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取。</p>
|
|
4543
4543
|
:type DBVersion: str
|
|
4544
|
-
:param _DBKernelVersion: PostgreSQL内核版本号,如v12.7_r1.8
|
|
4544
|
+
:param _DBKernelVersion: <p>PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取。</p>
|
|
4545
4545
|
:type DBKernelVersion: str
|
|
4546
|
-
:param _DBInstanceType:
|
|
4547
|
-
<li>primary:主实例</li>
|
|
4548
|
-
<li>readonly:只读实例</li>
|
|
4549
|
-
<li>guard:灾备实例</li>
|
|
4550
|
-
<li>temp:临时实例</li>
|
|
4546
|
+
:param _DBInstanceType: <p>实例类型,类型有:</p><li>primary:主实例</li><li>readonly:只读实例</li><li>guard:灾备实例</li><li>temp:临时实例</li>
|
|
4551
4547
|
:type DBInstanceType: str
|
|
4552
|
-
:param _DBInstanceVersion:
|
|
4548
|
+
:param _DBInstanceVersion: <p>实例版本,目前只支持standard(双机高可用版, 一主一从)。</p>
|
|
4553
4549
|
:type DBInstanceVersion: str
|
|
4554
|
-
:param _DBCharset:
|
|
4555
|
-
<li> UTF8</li>
|
|
4556
|
-
<li> LATIN1</li>
|
|
4550
|
+
:param _DBCharset: <p>实例字符集,目前只支持:</p><li> UTF8</li><li> LATIN1</li>
|
|
4557
4551
|
:type DBCharset: str
|
|
4558
|
-
:param _CreateTime:
|
|
4552
|
+
:param _CreateTime: <p>实例创建时间。</p>
|
|
4559
4553
|
:type CreateTime: str
|
|
4560
|
-
:param _UpdateTime:
|
|
4554
|
+
:param _UpdateTime: <p>实例执行最后一次更新的时间。</p>
|
|
4561
4555
|
:type UpdateTime: str
|
|
4562
|
-
:param _ExpireTime:
|
|
4556
|
+
:param _ExpireTime: <p>实例到期时间。</p>
|
|
4563
4557
|
:type ExpireTime: str
|
|
4564
|
-
:param _IsolatedTime:
|
|
4558
|
+
:param _IsolatedTime: <p>实例隔离时间。</p>
|
|
4565
4559
|
:type IsolatedTime: str
|
|
4566
|
-
:param _PayType:
|
|
4567
|
-
<li>prepaid:包年包月,预付费</li>
|
|
4568
|
-
<li>postpaid:按量计费,后付费</li>
|
|
4560
|
+
:param _PayType: <p>计费模式:</p><li>prepaid:包年包月,预付费</li><li>postpaid:按量计费,后付费</li>
|
|
4569
4561
|
:type PayType: str
|
|
4570
|
-
:param _AutoRenew:
|
|
4571
|
-
<li>0:手动续费</li>
|
|
4572
|
-
<li>1:自动续费</li>
|
|
4573
|
-
默认值:0
|
|
4562
|
+
:param _AutoRenew: <p>是否自动续费:</p><li>0:手动续费</li><li>1:自动续费</li>默认值:0
|
|
4574
4563
|
:type AutoRenew: int
|
|
4575
|
-
:param _DBInstanceNetInfo:
|
|
4564
|
+
:param _DBInstanceNetInfo: <p>实例网络连接信息。</p>
|
|
4576
4565
|
:type DBInstanceNetInfo: list of DBInstanceNetInfo
|
|
4577
|
-
:param _Type:
|
|
4566
|
+
:param _Type: <p>机器类型。</p>
|
|
4578
4567
|
:type Type: str
|
|
4579
|
-
:param _AppId:
|
|
4568
|
+
:param _AppId: <p>用户的AppId。</p>
|
|
4580
4569
|
:type AppId: int
|
|
4581
|
-
:param _Uid:
|
|
4570
|
+
:param _Uid: <p>实例的Uid。</p>
|
|
4582
4571
|
:type Uid: int
|
|
4583
|
-
:param _ProjectId:
|
|
4572
|
+
:param _ProjectId: <p>项目ID。</p>
|
|
4584
4573
|
:type ProjectId: int
|
|
4585
|
-
:param _TagList:
|
|
4574
|
+
:param _TagList: <p>实例绑定的标签信息。</p>
|
|
4586
4575
|
:type TagList: list of Tag
|
|
4587
|
-
:param _MasterDBInstanceId:
|
|
4576
|
+
:param _MasterDBInstanceId: <p>主实例信息,仅在实例为只读实例时返回。</p>
|
|
4588
4577
|
:type MasterDBInstanceId: str
|
|
4589
|
-
:param _ReadOnlyInstanceNum:
|
|
4578
|
+
:param _ReadOnlyInstanceNum: <p>只读实例数量。</p>
|
|
4590
4579
|
:type ReadOnlyInstanceNum: int
|
|
4591
|
-
:param _StatusInReadonlyGroup:
|
|
4580
|
+
:param _StatusInReadonlyGroup: <p>只读实例在只读组中的状态。</p>
|
|
4592
4581
|
:type StatusInReadonlyGroup: str
|
|
4593
|
-
:param _OfflineTime:
|
|
4582
|
+
:param _OfflineTime: <p>下线时间。</p>
|
|
4594
4583
|
:type OfflineTime: str
|
|
4595
|
-
:param _DBNodeSet:
|
|
4584
|
+
:param _DBNodeSet: <p>实例的节点信息。</p>
|
|
4596
4585
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4597
4586
|
:type DBNodeSet: list of DBNode
|
|
4598
|
-
:param _IsSupportTDE:
|
|
4599
|
-
<li>0:不支持</li>
|
|
4600
|
-
<li>1:支持</li>
|
|
4601
|
-
默认值:0
|
|
4602
|
-
TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
|
|
4587
|
+
:param _IsSupportTDE: <p>实例是否支持TDE数据加密:</p><li>0:不支持</li><li>1:支持</li>默认值:0TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
|
|
4603
4588
|
:type IsSupportTDE: int
|
|
4604
|
-
:param _DBEngine:
|
|
4605
|
-
<li>postgresql:云数据库PostgreSQL</li>
|
|
4606
|
-
<li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>
|
|
4607
|
-
默认值:postgresql
|
|
4589
|
+
:param _DBEngine: <p>数据库引擎,支持:</p><li>postgresql:云数据库PostgreSQL</li><li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>默认值:postgresql
|
|
4608
4590
|
:type DBEngine: str
|
|
4609
|
-
:param _DBEngineConfig:
|
|
4610
|
-
{"$key1":"$value1", "$key2":"$value2"}
|
|
4611
|
-
各引擎支持如下:
|
|
4612
|
-
mssql_compatible引擎:
|
|
4613
|
-
<li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li>
|
|
4614
|
-
<li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
|
|
4615
|
-
"af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。</li>
|
|
4616
|
-
<li>serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。</li>
|
|
4591
|
+
:param _DBEngineConfig: <p>数据库引擎的配置信息,配置格式如下:<br>{"$key1":"$value1", "$key2":"$value2"}<br>各引擎支持如下:<br>mssql_compatible引擎:</p><li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li><li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:"af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。</li><li>serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。</li>
|
|
4617
4592
|
:type DBEngineConfig: str
|
|
4618
|
-
:param _NetworkAccessList:
|
|
4593
|
+
:param _NetworkAccessList: <p>实例网络信息列表(此字段已废弃)</p>
|
|
4619
4594
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4620
4595
|
:type NetworkAccessList: list of NetworkAccess
|
|
4621
|
-
:param _SupportIpv6:
|
|
4622
|
-
<li>0:否</li>
|
|
4623
|
-
<li>1:是</li>
|
|
4624
|
-
默认值:0
|
|
4596
|
+
:param _SupportIpv6: <p>实例是否支持Ipv6:</p><li>0:否</li><li>1:是</li>默认值:0
|
|
4625
4597
|
:type SupportIpv6: int
|
|
4626
|
-
:param _ExpandedCpu:
|
|
4598
|
+
:param _ExpandedCpu: <p>实例已经弹性扩容的cpu核数</p>
|
|
4627
4599
|
:type ExpandedCpu: int
|
|
4628
|
-
:param _DeletionProtection:
|
|
4629
|
-
- true:开启删除保护
|
|
4630
|
-
- false:关闭删除保护
|
|
4600
|
+
:param _DeletionProtection: <p>实例是否开启删除保护,取值如下:</p><ul><li>true:开启删除保护</li><li>false:关闭删除保护</li></ul>
|
|
4631
4601
|
:type DeletionProtection: bool
|
|
4632
4602
|
"""
|
|
4633
4603
|
self._Region = None
|
|
@@ -4674,7 +4644,7 @@ mssql_compatible引擎:
|
|
|
4674
4644
|
|
|
4675
4645
|
@property
|
|
4676
4646
|
def Region(self):
|
|
4677
|
-
r"""
|
|
4647
|
+
r"""<p>实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段。</p>
|
|
4678
4648
|
:rtype: str
|
|
4679
4649
|
"""
|
|
4680
4650
|
return self._Region
|
|
@@ -4685,7 +4655,7 @@ mssql_compatible引擎:
|
|
|
4685
4655
|
|
|
4686
4656
|
@property
|
|
4687
4657
|
def Zone(self):
|
|
4688
|
-
r"""
|
|
4658
|
+
r"""<p>实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段。</p>
|
|
4689
4659
|
:rtype: str
|
|
4690
4660
|
"""
|
|
4691
4661
|
return self._Zone
|
|
@@ -4696,7 +4666,7 @@ mssql_compatible引擎:
|
|
|
4696
4666
|
|
|
4697
4667
|
@property
|
|
4698
4668
|
def VpcId(self):
|
|
4699
|
-
r"""
|
|
4669
|
+
r"""<p>私有网络ID,形如vpc-e6w23k31。有效的VpcId可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15778">DescribeVpcs</a> ,从接口返回中的unVpcId字段获取。</p>
|
|
4700
4670
|
:rtype: str
|
|
4701
4671
|
"""
|
|
4702
4672
|
return self._VpcId
|
|
@@ -4707,7 +4677,7 @@ mssql_compatible引擎:
|
|
|
4707
4677
|
|
|
4708
4678
|
@property
|
|
4709
4679
|
def SubnetId(self):
|
|
4710
|
-
r"""
|
|
4680
|
+
r"""<p>私有网络子网ID,形如subnet-51lcif9y。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15784">DescribeSubnets </a>,从接口返回中的unSubnetId字段获取。</p>
|
|
4711
4681
|
:rtype: str
|
|
4712
4682
|
"""
|
|
4713
4683
|
return self._SubnetId
|
|
@@ -4718,7 +4688,7 @@ mssql_compatible引擎:
|
|
|
4718
4688
|
|
|
4719
4689
|
@property
|
|
4720
4690
|
def DBInstanceId(self):
|
|
4721
|
-
r"""
|
|
4691
|
+
r"""<p>实例ID。</p>
|
|
4722
4692
|
:rtype: str
|
|
4723
4693
|
"""
|
|
4724
4694
|
return self._DBInstanceId
|
|
@@ -4729,7 +4699,7 @@ mssql_compatible引擎:
|
|
|
4729
4699
|
|
|
4730
4700
|
@property
|
|
4731
4701
|
def DBInstanceName(self):
|
|
4732
|
-
r"""
|
|
4702
|
+
r"""<p>实例名称。</p>
|
|
4733
4703
|
:rtype: str
|
|
4734
4704
|
"""
|
|
4735
4705
|
return self._DBInstanceName
|
|
@@ -4740,7 +4710,7 @@ mssql_compatible引擎:
|
|
|
4740
4710
|
|
|
4741
4711
|
@property
|
|
4742
4712
|
def DBInstanceStatus(self):
|
|
4743
|
-
r"""
|
|
4713
|
+
r"""<p>实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、disisolating(解隔离中)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)、audit-switching(审计状态变更中)、primary-switching(主备切换中)、offlining(下线中)、deployment changing(可用区变更中)、cloning(恢复数据中)、parameter modifying(参数修改中)、log-switching(日志状态变更中)、restoring(恢复中)、expanding(变配中)</p>
|
|
4744
4714
|
:rtype: str
|
|
4745
4715
|
"""
|
|
4746
4716
|
return self._DBInstanceStatus
|
|
@@ -4751,7 +4721,7 @@ mssql_compatible引擎:
|
|
|
4751
4721
|
|
|
4752
4722
|
@property
|
|
4753
4723
|
def DBInstanceMemory(self):
|
|
4754
|
-
r"""
|
|
4724
|
+
r"""<p>实例分配的内存大小,单位:GB</p>
|
|
4755
4725
|
:rtype: int
|
|
4756
4726
|
"""
|
|
4757
4727
|
return self._DBInstanceMemory
|
|
@@ -4762,7 +4732,7 @@ mssql_compatible引擎:
|
|
|
4762
4732
|
|
|
4763
4733
|
@property
|
|
4764
4734
|
def DBInstanceStorage(self):
|
|
4765
|
-
r"""
|
|
4735
|
+
r"""<p>实例分配的存储空间大小,单位:GB</p>
|
|
4766
4736
|
:rtype: int
|
|
4767
4737
|
"""
|
|
4768
4738
|
return self._DBInstanceStorage
|
|
@@ -4773,7 +4743,7 @@ mssql_compatible引擎:
|
|
|
4773
4743
|
|
|
4774
4744
|
@property
|
|
4775
4745
|
def DBInstanceCpu(self):
|
|
4776
|
-
r"""
|
|
4746
|
+
r"""<p>实例分配的CPU数量,单位:个</p>
|
|
4777
4747
|
:rtype: int
|
|
4778
4748
|
"""
|
|
4779
4749
|
return self._DBInstanceCpu
|
|
@@ -4784,7 +4754,7 @@ mssql_compatible引擎:
|
|
|
4784
4754
|
|
|
4785
4755
|
@property
|
|
4786
4756
|
def DBInstanceClass(self):
|
|
4787
|
-
r"""
|
|
4757
|
+
r"""<p>售卖规格ID</p>
|
|
4788
4758
|
:rtype: str
|
|
4789
4759
|
"""
|
|
4790
4760
|
return self._DBInstanceClass
|
|
@@ -4795,7 +4765,7 @@ mssql_compatible引擎:
|
|
|
4795
4765
|
|
|
4796
4766
|
@property
|
|
4797
4767
|
def DBMajorVersion(self):
|
|
4798
|
-
r"""PostgreSQL
|
|
4768
|
+
r"""<p>PostgreSQL大版本号,版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取,目前支持10,11,12,13,14,15这几个大版本。</p>
|
|
4799
4769
|
:rtype: str
|
|
4800
4770
|
"""
|
|
4801
4771
|
return self._DBMajorVersion
|
|
@@ -4806,7 +4776,7 @@ mssql_compatible引擎:
|
|
|
4806
4776
|
|
|
4807
4777
|
@property
|
|
4808
4778
|
def DBVersion(self):
|
|
4809
|
-
r"""PostgreSQL社区大版本+小版本号,如12.4
|
|
4779
|
+
r"""<p>PostgreSQL社区大版本+小版本号,如12.4,版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取。</p>
|
|
4810
4780
|
:rtype: str
|
|
4811
4781
|
"""
|
|
4812
4782
|
return self._DBVersion
|
|
@@ -4817,7 +4787,7 @@ mssql_compatible引擎:
|
|
|
4817
4787
|
|
|
4818
4788
|
@property
|
|
4819
4789
|
def DBKernelVersion(self):
|
|
4820
|
-
r"""PostgreSQL内核版本号,如v12.7_r1.8
|
|
4790
|
+
r"""<p>PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取。</p>
|
|
4821
4791
|
:rtype: str
|
|
4822
4792
|
"""
|
|
4823
4793
|
return self._DBKernelVersion
|
|
@@ -4828,11 +4798,7 @@ mssql_compatible引擎:
|
|
|
4828
4798
|
|
|
4829
4799
|
@property
|
|
4830
4800
|
def DBInstanceType(self):
|
|
4831
|
-
r"""
|
|
4832
|
-
<li>primary:主实例</li>
|
|
4833
|
-
<li>readonly:只读实例</li>
|
|
4834
|
-
<li>guard:灾备实例</li>
|
|
4835
|
-
<li>temp:临时实例</li>
|
|
4801
|
+
r"""<p>实例类型,类型有:</p><li>primary:主实例</li><li>readonly:只读实例</li><li>guard:灾备实例</li><li>temp:临时实例</li>
|
|
4836
4802
|
:rtype: str
|
|
4837
4803
|
"""
|
|
4838
4804
|
return self._DBInstanceType
|
|
@@ -4843,7 +4809,7 @@ mssql_compatible引擎:
|
|
|
4843
4809
|
|
|
4844
4810
|
@property
|
|
4845
4811
|
def DBInstanceVersion(self):
|
|
4846
|
-
r"""
|
|
4812
|
+
r"""<p>实例版本,目前只支持standard(双机高可用版, 一主一从)。</p>
|
|
4847
4813
|
:rtype: str
|
|
4848
4814
|
"""
|
|
4849
4815
|
return self._DBInstanceVersion
|
|
@@ -4854,9 +4820,7 @@ mssql_compatible引擎:
|
|
|
4854
4820
|
|
|
4855
4821
|
@property
|
|
4856
4822
|
def DBCharset(self):
|
|
4857
|
-
r"""
|
|
4858
|
-
<li> UTF8</li>
|
|
4859
|
-
<li> LATIN1</li>
|
|
4823
|
+
r"""<p>实例字符集,目前只支持:</p><li> UTF8</li><li> LATIN1</li>
|
|
4860
4824
|
:rtype: str
|
|
4861
4825
|
"""
|
|
4862
4826
|
return self._DBCharset
|
|
@@ -4867,7 +4831,7 @@ mssql_compatible引擎:
|
|
|
4867
4831
|
|
|
4868
4832
|
@property
|
|
4869
4833
|
def CreateTime(self):
|
|
4870
|
-
r"""
|
|
4834
|
+
r"""<p>实例创建时间。</p>
|
|
4871
4835
|
:rtype: str
|
|
4872
4836
|
"""
|
|
4873
4837
|
return self._CreateTime
|
|
@@ -4878,7 +4842,7 @@ mssql_compatible引擎:
|
|
|
4878
4842
|
|
|
4879
4843
|
@property
|
|
4880
4844
|
def UpdateTime(self):
|
|
4881
|
-
r"""
|
|
4845
|
+
r"""<p>实例执行最后一次更新的时间。</p>
|
|
4882
4846
|
:rtype: str
|
|
4883
4847
|
"""
|
|
4884
4848
|
return self._UpdateTime
|
|
@@ -4889,7 +4853,7 @@ mssql_compatible引擎:
|
|
|
4889
4853
|
|
|
4890
4854
|
@property
|
|
4891
4855
|
def ExpireTime(self):
|
|
4892
|
-
r"""
|
|
4856
|
+
r"""<p>实例到期时间。</p>
|
|
4893
4857
|
:rtype: str
|
|
4894
4858
|
"""
|
|
4895
4859
|
return self._ExpireTime
|
|
@@ -4900,7 +4864,7 @@ mssql_compatible引擎:
|
|
|
4900
4864
|
|
|
4901
4865
|
@property
|
|
4902
4866
|
def IsolatedTime(self):
|
|
4903
|
-
r"""
|
|
4867
|
+
r"""<p>实例隔离时间。</p>
|
|
4904
4868
|
:rtype: str
|
|
4905
4869
|
"""
|
|
4906
4870
|
return self._IsolatedTime
|
|
@@ -4911,9 +4875,7 @@ mssql_compatible引擎:
|
|
|
4911
4875
|
|
|
4912
4876
|
@property
|
|
4913
4877
|
def PayType(self):
|
|
4914
|
-
r"""
|
|
4915
|
-
<li>prepaid:包年包月,预付费</li>
|
|
4916
|
-
<li>postpaid:按量计费,后付费</li>
|
|
4878
|
+
r"""<p>计费模式:</p><li>prepaid:包年包月,预付费</li><li>postpaid:按量计费,后付费</li>
|
|
4917
4879
|
:rtype: str
|
|
4918
4880
|
"""
|
|
4919
4881
|
return self._PayType
|
|
@@ -4924,10 +4886,7 @@ mssql_compatible引擎:
|
|
|
4924
4886
|
|
|
4925
4887
|
@property
|
|
4926
4888
|
def AutoRenew(self):
|
|
4927
|
-
r"""
|
|
4928
|
-
<li>0:手动续费</li>
|
|
4929
|
-
<li>1:自动续费</li>
|
|
4930
|
-
默认值:0
|
|
4889
|
+
r"""<p>是否自动续费:</p><li>0:手动续费</li><li>1:自动续费</li>默认值:0
|
|
4931
4890
|
:rtype: int
|
|
4932
4891
|
"""
|
|
4933
4892
|
return self._AutoRenew
|
|
@@ -4938,7 +4897,7 @@ mssql_compatible引擎:
|
|
|
4938
4897
|
|
|
4939
4898
|
@property
|
|
4940
4899
|
def DBInstanceNetInfo(self):
|
|
4941
|
-
r"""
|
|
4900
|
+
r"""<p>实例网络连接信息。</p>
|
|
4942
4901
|
:rtype: list of DBInstanceNetInfo
|
|
4943
4902
|
"""
|
|
4944
4903
|
return self._DBInstanceNetInfo
|
|
@@ -4949,7 +4908,7 @@ mssql_compatible引擎:
|
|
|
4949
4908
|
|
|
4950
4909
|
@property
|
|
4951
4910
|
def Type(self):
|
|
4952
|
-
r"""
|
|
4911
|
+
r"""<p>机器类型。</p>
|
|
4953
4912
|
:rtype: str
|
|
4954
4913
|
"""
|
|
4955
4914
|
return self._Type
|
|
@@ -4960,7 +4919,7 @@ mssql_compatible引擎:
|
|
|
4960
4919
|
|
|
4961
4920
|
@property
|
|
4962
4921
|
def AppId(self):
|
|
4963
|
-
r"""
|
|
4922
|
+
r"""<p>用户的AppId。</p>
|
|
4964
4923
|
:rtype: int
|
|
4965
4924
|
"""
|
|
4966
4925
|
return self._AppId
|
|
@@ -4971,7 +4930,7 @@ mssql_compatible引擎:
|
|
|
4971
4930
|
|
|
4972
4931
|
@property
|
|
4973
4932
|
def Uid(self):
|
|
4974
|
-
r"""
|
|
4933
|
+
r"""<p>实例的Uid。</p>
|
|
4975
4934
|
:rtype: int
|
|
4976
4935
|
"""
|
|
4977
4936
|
return self._Uid
|
|
@@ -4982,7 +4941,7 @@ mssql_compatible引擎:
|
|
|
4982
4941
|
|
|
4983
4942
|
@property
|
|
4984
4943
|
def ProjectId(self):
|
|
4985
|
-
r"""
|
|
4944
|
+
r"""<p>项目ID。</p>
|
|
4986
4945
|
:rtype: int
|
|
4987
4946
|
"""
|
|
4988
4947
|
return self._ProjectId
|
|
@@ -4993,7 +4952,7 @@ mssql_compatible引擎:
|
|
|
4993
4952
|
|
|
4994
4953
|
@property
|
|
4995
4954
|
def TagList(self):
|
|
4996
|
-
r"""
|
|
4955
|
+
r"""<p>实例绑定的标签信息。</p>
|
|
4997
4956
|
:rtype: list of Tag
|
|
4998
4957
|
"""
|
|
4999
4958
|
return self._TagList
|
|
@@ -5004,7 +4963,7 @@ mssql_compatible引擎:
|
|
|
5004
4963
|
|
|
5005
4964
|
@property
|
|
5006
4965
|
def MasterDBInstanceId(self):
|
|
5007
|
-
r"""
|
|
4966
|
+
r"""<p>主实例信息,仅在实例为只读实例时返回。</p>
|
|
5008
4967
|
:rtype: str
|
|
5009
4968
|
"""
|
|
5010
4969
|
return self._MasterDBInstanceId
|
|
@@ -5015,7 +4974,7 @@ mssql_compatible引擎:
|
|
|
5015
4974
|
|
|
5016
4975
|
@property
|
|
5017
4976
|
def ReadOnlyInstanceNum(self):
|
|
5018
|
-
r"""
|
|
4977
|
+
r"""<p>只读实例数量。</p>
|
|
5019
4978
|
:rtype: int
|
|
5020
4979
|
"""
|
|
5021
4980
|
return self._ReadOnlyInstanceNum
|
|
@@ -5026,7 +4985,7 @@ mssql_compatible引擎:
|
|
|
5026
4985
|
|
|
5027
4986
|
@property
|
|
5028
4987
|
def StatusInReadonlyGroup(self):
|
|
5029
|
-
r"""
|
|
4988
|
+
r"""<p>只读实例在只读组中的状态。</p>
|
|
5030
4989
|
:rtype: str
|
|
5031
4990
|
"""
|
|
5032
4991
|
return self._StatusInReadonlyGroup
|
|
@@ -5037,7 +4996,7 @@ mssql_compatible引擎:
|
|
|
5037
4996
|
|
|
5038
4997
|
@property
|
|
5039
4998
|
def OfflineTime(self):
|
|
5040
|
-
r"""
|
|
4999
|
+
r"""<p>下线时间。</p>
|
|
5041
5000
|
:rtype: str
|
|
5042
5001
|
"""
|
|
5043
5002
|
return self._OfflineTime
|
|
@@ -5048,7 +5007,7 @@ mssql_compatible引擎:
|
|
|
5048
5007
|
|
|
5049
5008
|
@property
|
|
5050
5009
|
def DBNodeSet(self):
|
|
5051
|
-
r"""
|
|
5010
|
+
r"""<p>实例的节点信息。</p>
|
|
5052
5011
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5053
5012
|
:rtype: list of DBNode
|
|
5054
5013
|
"""
|
|
@@ -5060,11 +5019,7 @@ mssql_compatible引擎:
|
|
|
5060
5019
|
|
|
5061
5020
|
@property
|
|
5062
5021
|
def IsSupportTDE(self):
|
|
5063
|
-
r"""
|
|
5064
|
-
<li>0:不支持</li>
|
|
5065
|
-
<li>1:支持</li>
|
|
5066
|
-
默认值:0
|
|
5067
|
-
TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
|
|
5022
|
+
r"""<p>实例是否支持TDE数据加密:</p><li>0:不支持</li><li>1:支持</li>默认值:0TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
|
|
5068
5023
|
:rtype: int
|
|
5069
5024
|
"""
|
|
5070
5025
|
return self._IsSupportTDE
|
|
@@ -5075,10 +5030,7 @@ TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/doc
|
|
|
5075
5030
|
|
|
5076
5031
|
@property
|
|
5077
5032
|
def DBEngine(self):
|
|
5078
|
-
r"""
|
|
5079
|
-
<li>postgresql:云数据库PostgreSQL</li>
|
|
5080
|
-
<li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>
|
|
5081
|
-
默认值:postgresql
|
|
5033
|
+
r"""<p>数据库引擎,支持:</p><li>postgresql:云数据库PostgreSQL</li><li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>默认值:postgresql
|
|
5082
5034
|
:rtype: str
|
|
5083
5035
|
"""
|
|
5084
5036
|
return self._DBEngine
|
|
@@ -5089,14 +5041,7 @@ TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/doc
|
|
|
5089
5041
|
|
|
5090
5042
|
@property
|
|
5091
5043
|
def DBEngineConfig(self):
|
|
5092
|
-
r"""
|
|
5093
|
-
{"$key1":"$value1", "$key2":"$value2"}
|
|
5094
|
-
各引擎支持如下:
|
|
5095
|
-
mssql_compatible引擎:
|
|
5096
|
-
<li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li>
|
|
5097
|
-
<li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
|
|
5098
|
-
"af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。</li>
|
|
5099
|
-
<li>serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。</li>
|
|
5044
|
+
r"""<p>数据库引擎的配置信息,配置格式如下:<br>{"$key1":"$value1", "$key2":"$value2"}<br>各引擎支持如下:<br>mssql_compatible引擎:</p><li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li><li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:"af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。</li><li>serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。</li>
|
|
5100
5045
|
:rtype: str
|
|
5101
5046
|
"""
|
|
5102
5047
|
return self._DBEngineConfig
|
|
@@ -5107,7 +5052,7 @@ mssql_compatible引擎:
|
|
|
5107
5052
|
|
|
5108
5053
|
@property
|
|
5109
5054
|
def NetworkAccessList(self):
|
|
5110
|
-
r"""
|
|
5055
|
+
r"""<p>实例网络信息列表(此字段已废弃)</p>
|
|
5111
5056
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5112
5057
|
:rtype: list of NetworkAccess
|
|
5113
5058
|
"""
|
|
@@ -5119,10 +5064,7 @@ mssql_compatible引擎:
|
|
|
5119
5064
|
|
|
5120
5065
|
@property
|
|
5121
5066
|
def SupportIpv6(self):
|
|
5122
|
-
r"""
|
|
5123
|
-
<li>0:否</li>
|
|
5124
|
-
<li>1:是</li>
|
|
5125
|
-
默认值:0
|
|
5067
|
+
r"""<p>实例是否支持Ipv6:</p><li>0:否</li><li>1:是</li>默认值:0
|
|
5126
5068
|
:rtype: int
|
|
5127
5069
|
"""
|
|
5128
5070
|
return self._SupportIpv6
|
|
@@ -5133,7 +5075,7 @@ mssql_compatible引擎:
|
|
|
5133
5075
|
|
|
5134
5076
|
@property
|
|
5135
5077
|
def ExpandedCpu(self):
|
|
5136
|
-
r"""
|
|
5078
|
+
r"""<p>实例已经弹性扩容的cpu核数</p>
|
|
5137
5079
|
:rtype: int
|
|
5138
5080
|
"""
|
|
5139
5081
|
return self._ExpandedCpu
|
|
@@ -5144,9 +5086,7 @@ mssql_compatible引擎:
|
|
|
5144
5086
|
|
|
5145
5087
|
@property
|
|
5146
5088
|
def DeletionProtection(self):
|
|
5147
|
-
r"""
|
|
5148
|
-
- true:开启删除保护
|
|
5149
|
-
- false:关闭删除保护
|
|
5089
|
+
r"""<p>实例是否开启删除保护,取值如下:</p><ul><li>true:开启删除保护</li><li>false:关闭删除保护</li></ul>
|
|
5150
5090
|
:rtype: bool
|
|
5151
5091
|
"""
|
|
5152
5092
|
return self._DeletionProtection
|
|
@@ -19209,31 +19149,31 @@ class SpecItemInfo(AbstractModel):
|
|
|
19209
19149
|
|
|
19210
19150
|
def __init__(self):
|
|
19211
19151
|
r"""
|
|
19212
|
-
:param _SpecCode:
|
|
19152
|
+
:param _SpecCode: <p>规格ID</p>
|
|
19213
19153
|
:type SpecCode: str
|
|
19214
|
-
:param _Version: PostgreSQL
|
|
19154
|
+
:param _Version: <p>PostgreSQL的版本编号</p>
|
|
19215
19155
|
:type Version: str
|
|
19216
|
-
:param _VersionName:
|
|
19156
|
+
:param _VersionName: <p>内核编号对应的完整版本名称</p>
|
|
19217
19157
|
:type VersionName: str
|
|
19218
|
-
:param _Cpu: CPU
|
|
19158
|
+
:param _Cpu: <p>CPU核数</p>
|
|
19219
19159
|
:type Cpu: int
|
|
19220
|
-
:param _Memory:
|
|
19160
|
+
:param _Memory: <p>内存大小,单位:MB</p>
|
|
19221
19161
|
:type Memory: int
|
|
19222
|
-
:param _MaxStorage:
|
|
19162
|
+
:param _MaxStorage: <p>该规格所支持最大存储容量,单位:GB</p>
|
|
19223
19163
|
:type MaxStorage: int
|
|
19224
|
-
:param _MinStorage:
|
|
19164
|
+
:param _MinStorage: <p>该规格所支持最小存储容量,单位:GB</p>
|
|
19225
19165
|
:type MinStorage: int
|
|
19226
|
-
:param _Qps:
|
|
19166
|
+
:param _Qps: <p>该规格的预估QPS</p>
|
|
19227
19167
|
:type Qps: int
|
|
19228
|
-
:param _Pid:
|
|
19168
|
+
:param _Pid: <p>【该字段废弃】</p>
|
|
19229
19169
|
:type Pid: int
|
|
19230
|
-
:param _Type:
|
|
19170
|
+
:param _Type: <p>机器类型</p>
|
|
19231
19171
|
:type Type: str
|
|
19232
|
-
:param _MajorVersion: PostgreSQL
|
|
19172
|
+
:param _MajorVersion: <p>PostgreSQL的主要版本编号</p>
|
|
19233
19173
|
:type MajorVersion: str
|
|
19234
|
-
:param _KernelVersion: PostgreSQL
|
|
19174
|
+
:param _KernelVersion: <p>PostgreSQL的内核版本编号</p>
|
|
19235
19175
|
:type KernelVersion: str
|
|
19236
|
-
:param _IsSupportTDE:
|
|
19176
|
+
:param _IsSupportTDE: <p>是否支持TDE数据加密功能,0-不支持,1-支持</p>
|
|
19237
19177
|
:type IsSupportTDE: int
|
|
19238
19178
|
"""
|
|
19239
19179
|
self._SpecCode = None
|
|
@@ -19252,7 +19192,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19252
19192
|
|
|
19253
19193
|
@property
|
|
19254
19194
|
def SpecCode(self):
|
|
19255
|
-
r"""
|
|
19195
|
+
r"""<p>规格ID</p>
|
|
19256
19196
|
:rtype: str
|
|
19257
19197
|
"""
|
|
19258
19198
|
return self._SpecCode
|
|
@@ -19263,7 +19203,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19263
19203
|
|
|
19264
19204
|
@property
|
|
19265
19205
|
def Version(self):
|
|
19266
|
-
r"""PostgreSQL
|
|
19206
|
+
r"""<p>PostgreSQL的版本编号</p>
|
|
19267
19207
|
:rtype: str
|
|
19268
19208
|
"""
|
|
19269
19209
|
return self._Version
|
|
@@ -19274,7 +19214,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19274
19214
|
|
|
19275
19215
|
@property
|
|
19276
19216
|
def VersionName(self):
|
|
19277
|
-
r"""
|
|
19217
|
+
r"""<p>内核编号对应的完整版本名称</p>
|
|
19278
19218
|
:rtype: str
|
|
19279
19219
|
"""
|
|
19280
19220
|
return self._VersionName
|
|
@@ -19285,7 +19225,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19285
19225
|
|
|
19286
19226
|
@property
|
|
19287
19227
|
def Cpu(self):
|
|
19288
|
-
r"""CPU
|
|
19228
|
+
r"""<p>CPU核数</p>
|
|
19289
19229
|
:rtype: int
|
|
19290
19230
|
"""
|
|
19291
19231
|
return self._Cpu
|
|
@@ -19296,7 +19236,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19296
19236
|
|
|
19297
19237
|
@property
|
|
19298
19238
|
def Memory(self):
|
|
19299
|
-
r"""
|
|
19239
|
+
r"""<p>内存大小,单位:MB</p>
|
|
19300
19240
|
:rtype: int
|
|
19301
19241
|
"""
|
|
19302
19242
|
return self._Memory
|
|
@@ -19307,7 +19247,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19307
19247
|
|
|
19308
19248
|
@property
|
|
19309
19249
|
def MaxStorage(self):
|
|
19310
|
-
r"""
|
|
19250
|
+
r"""<p>该规格所支持最大存储容量,单位:GB</p>
|
|
19311
19251
|
:rtype: int
|
|
19312
19252
|
"""
|
|
19313
19253
|
return self._MaxStorage
|
|
@@ -19318,7 +19258,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19318
19258
|
|
|
19319
19259
|
@property
|
|
19320
19260
|
def MinStorage(self):
|
|
19321
|
-
r"""
|
|
19261
|
+
r"""<p>该规格所支持最小存储容量,单位:GB</p>
|
|
19322
19262
|
:rtype: int
|
|
19323
19263
|
"""
|
|
19324
19264
|
return self._MinStorage
|
|
@@ -19329,7 +19269,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19329
19269
|
|
|
19330
19270
|
@property
|
|
19331
19271
|
def Qps(self):
|
|
19332
|
-
r"""
|
|
19272
|
+
r"""<p>该规格的预估QPS</p>
|
|
19333
19273
|
:rtype: int
|
|
19334
19274
|
"""
|
|
19335
19275
|
return self._Qps
|
|
@@ -19340,7 +19280,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19340
19280
|
|
|
19341
19281
|
@property
|
|
19342
19282
|
def Pid(self):
|
|
19343
|
-
r"""
|
|
19283
|
+
r"""<p>【该字段废弃】</p>
|
|
19344
19284
|
:rtype: int
|
|
19345
19285
|
"""
|
|
19346
19286
|
return self._Pid
|
|
@@ -19351,7 +19291,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19351
19291
|
|
|
19352
19292
|
@property
|
|
19353
19293
|
def Type(self):
|
|
19354
|
-
r"""
|
|
19294
|
+
r"""<p>机器类型</p>
|
|
19355
19295
|
:rtype: str
|
|
19356
19296
|
"""
|
|
19357
19297
|
return self._Type
|
|
@@ -19362,7 +19302,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19362
19302
|
|
|
19363
19303
|
@property
|
|
19364
19304
|
def MajorVersion(self):
|
|
19365
|
-
r"""PostgreSQL
|
|
19305
|
+
r"""<p>PostgreSQL的主要版本编号</p>
|
|
19366
19306
|
:rtype: str
|
|
19367
19307
|
"""
|
|
19368
19308
|
return self._MajorVersion
|
|
@@ -19373,7 +19313,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19373
19313
|
|
|
19374
19314
|
@property
|
|
19375
19315
|
def KernelVersion(self):
|
|
19376
|
-
r"""PostgreSQL
|
|
19316
|
+
r"""<p>PostgreSQL的内核版本编号</p>
|
|
19377
19317
|
:rtype: str
|
|
19378
19318
|
"""
|
|
19379
19319
|
return self._KernelVersion
|
|
@@ -19384,7 +19324,7 @@ class SpecItemInfo(AbstractModel):
|
|
|
19384
19324
|
|
|
19385
19325
|
@property
|
|
19386
19326
|
def IsSupportTDE(self):
|
|
19387
|
-
r"""
|
|
19327
|
+
r"""<p>是否支持TDE数据加密功能,0-不支持,1-支持</p>
|
|
19388
19328
|
:rtype: int
|
|
19389
19329
|
"""
|
|
19390
19330
|
return self._IsSupportTDE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-postgres
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.49
|
|
4
4
|
Summary: Tencent Cloud Postgres SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.49
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
tencentcloud_sdk_python_postgres-3.1.49/tencentcloud_sdk_python_postgres.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.49
|
tencentcloud_sdk_python_postgres-3.1.4/tencentcloud_sdk_python_postgres.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.4
|
{tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_postgres-3.1.4 → tencentcloud_sdk_python_postgres-3.1.49}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|