tencentcloud-sdk-nodejs 4.1.187 → 4.1.189
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.
- package/es/common/sdk_version.js +1 -1
- package/es/services/apm/v20210622/apm_client.js +3 -0
- package/es/services/clb/v20180317/clb_client.js +6 -0
- package/es/services/emr/v20190103/emr_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +18 -14
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +8 -0
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +58 -0
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +2 -2
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +9 -1
- package/tencentcloud/services/clb/v20180317/clb_client.js +12 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +186 -121
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +13 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +11 -3
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +6 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +191 -112
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +5 -5
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +0 -16
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +133 -236
- package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +15 -7
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +10 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -1
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +10 -32
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -1
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +44 -101
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +1 -0
|
@@ -185,183 +185,131 @@ export interface OpenDBExtranetAccessRequest {
|
|
|
185
185
|
*/
|
|
186
186
|
export interface CreateInstancesRequest {
|
|
187
187
|
/**
|
|
188
|
-
*
|
|
189
|
-
可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
|
|
188
|
+
* <p>实例所属主可用区, 如:ap-guangzhou-3;若需要支持多可用区,在DBNodeSet.N字段中进行添加主可用区和备可用区信息;<br>可用区信息可以通过调用 <a href="https://cloud.tencent.com/document/api/409/16769">DescribeZones</a> 接口的返回值中的Zone字段来获取。</p>
|
|
190
189
|
*/
|
|
191
190
|
Zone: string;
|
|
192
191
|
/**
|
|
193
|
-
*
|
|
192
|
+
* <p>售卖规格码。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/409/89019">DescribeClasses</a>的返回值中的SpecCode字段来获取。</p>
|
|
194
193
|
*/
|
|
195
194
|
SpecCode: string;
|
|
196
195
|
/**
|
|
197
|
-
*
|
|
196
|
+
* <p>实例磁盘容量大小,单位:GB。该参数的设置步长为10。</p>
|
|
198
197
|
*/
|
|
199
198
|
Storage: number;
|
|
200
199
|
/**
|
|
201
|
-
*
|
|
200
|
+
* <p>购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。</p>
|
|
202
201
|
*/
|
|
203
202
|
InstanceCount: number;
|
|
204
203
|
/**
|
|
205
|
-
*
|
|
206
|
-
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
|
|
207
|
-
<li>后付费:只支持1</li>
|
|
204
|
+
* <p>购买时长,单位:月。</p><li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li><li>后付费:只支持1</li>
|
|
208
205
|
*/
|
|
209
206
|
Period: number;
|
|
210
207
|
/**
|
|
211
|
-
*
|
|
212
|
-
<li> UTF8</li>
|
|
213
|
-
<li> LATIN1</li>
|
|
208
|
+
* <p>实例字符集,目前只支持:</p><li> UTF8</li><li> LATIN1</li>
|
|
214
209
|
*/
|
|
215
210
|
Charset: string;
|
|
216
211
|
/**
|
|
217
|
-
*
|
|
218
|
-
<li>用户名需要1-16个字符,只能由字母、数字或下划线组成</li>
|
|
219
|
-
<li>不能为postgres</li>
|
|
220
|
-
<li>不能由数字和pg_开头</li>
|
|
221
|
-
<li>所有规则均不区分大小写</li>
|
|
212
|
+
* <p>实例根账号用户名,具体规范如下:</p><li>用户名需要1-16个字符,只能由字母、数字或下划线组成</li><li>不能为postgres</li><li>不能由数字和pg_开头</li><li>所有规则均不区分大小写</li>
|
|
222
213
|
*/
|
|
223
214
|
AdminName: string;
|
|
224
215
|
/**
|
|
225
|
-
*
|
|
226
|
-
必须包含以下四项,字符种类:
|
|
227
|
-
<li>小写字母: [a ~ z]</li>
|
|
228
|
-
<li>大写字母:[A ~ Z]</li>
|
|
229
|
-
<li>数字:0 - 9</li>
|
|
230
|
-
<li>特殊字符:()`~!@#$%^&*-+=_|{}[]:;'<>,.?/</li>
|
|
216
|
+
* <p>实例根账号用户名对应的密码,长度8 ~ 32位,推荐使用12位以上的密码;不能以" / "开头;<br>必须包含以下四项,字符种类:</p><li>小写字母: [a ~ z]</li><li>大写字母:[A ~ Z]</li><li>数字:0 - 9</li><li>特殊字符:()`~!@#$%^&*-+=_|{}[]:;'<>,.?/</li>
|
|
231
217
|
*/
|
|
232
218
|
AdminPassword: string;
|
|
233
219
|
/**
|
|
234
|
-
* PostgreSQL
|
|
235
|
-
输入该参数时,会基于此大版本号创建对应的最新小版本的最新内核版本号实例。
|
|
220
|
+
* <p>PostgreSQL大版本号(该参数当前必传),版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取。目前支持10,11,12,13,14,15这几个大版本,详情见<a href="https://cloud.tencent.com/document/product/409/67018">内核版本概述</a>。<br>输入该参数时,会基于此大版本号创建对应的最新小版本的最新内核版本号实例。</p>
|
|
236
221
|
*/
|
|
237
222
|
DBMajorVersion?: string;
|
|
238
223
|
/**
|
|
239
|
-
* PostgreSQL
|
|
240
|
-
一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新小版本号。
|
|
224
|
+
* <p>PostgreSQL社区大版本+小版本号。<br>一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新小版本号。</p>
|
|
241
225
|
*/
|
|
242
226
|
DBVersion?: string;
|
|
243
227
|
/**
|
|
244
|
-
* PostgreSQL
|
|
245
|
-
一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新内核版本号。
|
|
228
|
+
* <p>PostgreSQL内核版本号。<br>一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新内核版本号。</p>
|
|
246
229
|
*/
|
|
247
230
|
DBKernelVersion?: string;
|
|
248
231
|
/**
|
|
249
|
-
*
|
|
250
|
-
<li>PREPAID:预付费,即包年包月</li>
|
|
251
|
-
<li>POSTPAID_BY_HOUR:后付费,即按量计费</li>
|
|
252
|
-
默认值:PREPAID
|
|
232
|
+
* <p>实例计费类型,目前支持:</p><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:后付费,即按量计费</li>默认值:PREPAID
|
|
253
233
|
*/
|
|
254
234
|
InstanceChargeType?: string;
|
|
255
235
|
/**
|
|
256
|
-
*
|
|
236
|
+
* <p>私有网络ID,形如vpc-xxxxxxxx(该参数当前必传)。有效的VpcId可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/1372">DescribeVpcEx</a> ,从接口返回中的unVpcId字段获取。</p>
|
|
257
237
|
*/
|
|
258
238
|
VpcId?: string;
|
|
259
239
|
/**
|
|
260
|
-
*
|
|
240
|
+
* <p>私有网络子网ID,形如subnet-xxxxxxxx(该参数当前必传)。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15784">DescribeSubnets </a>,从接口返回中的unSubnetId字段获取。</p>
|
|
261
241
|
*/
|
|
262
242
|
SubnetId?: string;
|
|
263
243
|
/**
|
|
264
|
-
*
|
|
265
|
-
可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
|
|
244
|
+
* <p>实例节点部署信息,支持多可用区部署时需要指定每个节点的部署可用区信息。<br>可用区信息可以通过调用 <a href="https://cloud.tencent.com/document/api/409/16769">DescribeZones</a> 接口的返回值中的Zone字段来获取。</p>
|
|
266
245
|
*/
|
|
267
246
|
DBNodeSet?: Array<DBNode>;
|
|
268
247
|
/**
|
|
269
|
-
*
|
|
270
|
-
<li>0:手动续费</li>
|
|
271
|
-
<li>1:自动续费</li>
|
|
272
|
-
默认值:0
|
|
248
|
+
* <p>续费标记:</p><li>0:手动续费</li><li>1:自动续费</li>默认值:0
|
|
273
249
|
*/
|
|
274
250
|
AutoRenewFlag?: number;
|
|
275
251
|
/**
|
|
276
|
-
*
|
|
277
|
-
<li>0:否</li>
|
|
278
|
-
<li>1:是</li>
|
|
279
|
-
默认值:0
|
|
252
|
+
* <p>是否自动使用代金券:</p><li>0:否</li><li>1:是</li>默认值:0
|
|
280
253
|
*/
|
|
281
254
|
AutoVoucher?: number;
|
|
282
255
|
/**
|
|
283
|
-
*
|
|
256
|
+
* <p>代金券ID列表,目前仅支持指定一张代金券。</p>
|
|
284
257
|
*/
|
|
285
258
|
VoucherIds?: Array<string>;
|
|
286
259
|
/**
|
|
287
|
-
*
|
|
260
|
+
* <p>项目ID。默认取之为0,表示归属默认项目。</p>
|
|
288
261
|
*/
|
|
289
262
|
ProjectId?: number;
|
|
290
263
|
/**
|
|
291
|
-
*
|
|
264
|
+
* <p>活动ID。</p>
|
|
292
265
|
*/
|
|
293
266
|
ActivityId?: number;
|
|
294
267
|
/**
|
|
295
|
-
*
|
|
296
|
-
|
|
268
|
+
* <p>实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"未命名"。</p>
|
|
297
269
|
*/
|
|
298
270
|
Name?: string;
|
|
299
271
|
/**
|
|
300
|
-
*
|
|
272
|
+
* <p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p>
|
|
301
273
|
*/
|
|
302
274
|
TagList?: Array<Tag>;
|
|
303
275
|
/**
|
|
304
|
-
*
|
|
305
|
-
|
|
276
|
+
* <p>实例所属安全组,该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a> 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。</p>
|
|
306
277
|
*/
|
|
307
278
|
SecurityGroupIds?: Array<string>;
|
|
308
279
|
/**
|
|
309
|
-
*
|
|
310
|
-
<li>0:否</li>
|
|
311
|
-
<li>1:是</li>
|
|
312
|
-
默认值:0
|
|
313
|
-
参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
|
|
280
|
+
* <p>是否需要支持数据透明加密:</p><li>0:否</li><li>1:是</li>默认值:0参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
|
|
314
281
|
*/
|
|
315
282
|
NeedSupportTDE?: number;
|
|
316
283
|
/**
|
|
317
|
-
*
|
|
318
|
-
KeyId创建获取相关参考[开启透明数据加密](https://cloud.tencent.com/document/product/409/71749)
|
|
284
|
+
* <p>自定义密钥的KeyId,若选择自定义密匙加密,则需要传入自定义密匙的KeyId,KeyId是CMK的唯一标识。<br>KeyId创建获取相关参考<a href="https://cloud.tencent.com/document/product/409/71749">开启透明数据加密</a></p>
|
|
319
285
|
*/
|
|
320
286
|
KMSKeyId?: string;
|
|
321
287
|
/**
|
|
322
|
-
*
|
|
323
|
-
KMSRegion相关介绍参考[开启透明数据加密](https://cloud.tencent.com/document/product/409/71749)
|
|
288
|
+
* <p>使用KMS服务的地域,KMSRegion为空默认使用本地域的KMS,本地域不支持的情况下需自选其他KMS支持的地域。<br>KMSRegion相关介绍参考<a href="https://cloud.tencent.com/document/product/409/71749">开启透明数据加密</a></p>
|
|
324
289
|
*/
|
|
325
290
|
KMSRegion?: string;
|
|
326
291
|
/**
|
|
327
|
-
*
|
|
292
|
+
* <p>指定KMS服务的集群,KMSClusterId为空使用默认集群的KMS,若选择指定KMS集群,则需要传入KMSClusterId。 KMSClusterId相关介绍参考开启透明数据加密</p>
|
|
328
293
|
*/
|
|
329
294
|
KMSClusterId?: string;
|
|
330
295
|
/**
|
|
331
|
-
*
|
|
332
|
-
<li>postgresql:云数据库PostgreSQL</li>
|
|
333
|
-
<li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>
|
|
334
|
-
默认值:postgresql
|
|
296
|
+
* <p>数据库引擎,支持:</p><li>postgresql:云数据库PostgreSQL</li><li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>默认值:postgresql
|
|
335
297
|
*/
|
|
336
298
|
DBEngine?: string;
|
|
337
299
|
/**
|
|
338
|
-
*
|
|
339
|
-
{"$key1":"$value1", "$key2":"$value2"}
|
|
340
|
-
各引擎支持如下:
|
|
341
|
-
mssql_compatible引擎:
|
|
342
|
-
<li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li>
|
|
343
|
-
<li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
|
|
344
|
-
"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>
|
|
345
|
-
<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>
|
|
300
|
+
* <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>
|
|
346
301
|
*/
|
|
347
302
|
DBEngineConfig?: string;
|
|
348
303
|
/**
|
|
349
|
-
*
|
|
350
|
-
<li>Semi-sync:半同步</li>
|
|
351
|
-
<li>Async:异步</li>
|
|
352
|
-
主实例默认值:Semi-sync
|
|
353
|
-
只读实例默认值:Async
|
|
304
|
+
* <p>主从同步方式,支持: </p><li>Semi-sync:半同步</li><li>Async:异步</li>主实例默认值:Semi-sync只读实例默认值:Async
|
|
354
305
|
*/
|
|
355
306
|
SyncMode?: string;
|
|
356
307
|
/**
|
|
357
|
-
*
|
|
358
|
-
<li>0:否</li>
|
|
359
|
-
<li>1:是</li>
|
|
360
|
-
默认值:0
|
|
308
|
+
* <p>是否需要支持Ipv6:</p><li>0:否</li><li>1:是</li>默认值:0
|
|
361
309
|
*/
|
|
362
310
|
NeedSupportIpv6?: number;
|
|
363
311
|
/**
|
|
364
|
-
*
|
|
312
|
+
* <p>实例是否开启删除保护: true-开启删除保护;false-关闭删除保护。</p>
|
|
365
313
|
*/
|
|
366
314
|
DeletionProtection?: boolean;
|
|
367
315
|
}
|
|
@@ -370,55 +318,55 @@ export interface CreateInstancesRequest {
|
|
|
370
318
|
*/
|
|
371
319
|
export interface SpecItemInfo {
|
|
372
320
|
/**
|
|
373
|
-
*
|
|
321
|
+
* <p>规格ID</p>
|
|
374
322
|
*/
|
|
375
323
|
SpecCode?: string;
|
|
376
324
|
/**
|
|
377
|
-
* PostgreSQL
|
|
325
|
+
* <p>PostgreSQL的版本编号</p>
|
|
378
326
|
*/
|
|
379
327
|
Version?: string;
|
|
380
328
|
/**
|
|
381
|
-
*
|
|
329
|
+
* <p>内核编号对应的完整版本名称</p>
|
|
382
330
|
*/
|
|
383
331
|
VersionName?: string;
|
|
384
332
|
/**
|
|
385
|
-
* CPU
|
|
333
|
+
* <p>CPU核数</p>
|
|
386
334
|
*/
|
|
387
335
|
Cpu?: number;
|
|
388
336
|
/**
|
|
389
|
-
*
|
|
337
|
+
* <p>内存大小,单位:MB</p>
|
|
390
338
|
*/
|
|
391
339
|
Memory?: number;
|
|
392
340
|
/**
|
|
393
|
-
*
|
|
341
|
+
* <p>该规格所支持最大存储容量,单位:GB</p>
|
|
394
342
|
*/
|
|
395
343
|
MaxStorage?: number;
|
|
396
344
|
/**
|
|
397
|
-
*
|
|
345
|
+
* <p>该规格所支持最小存储容量,单位:GB</p>
|
|
398
346
|
*/
|
|
399
347
|
MinStorage?: number;
|
|
400
348
|
/**
|
|
401
|
-
*
|
|
349
|
+
* <p>该规格的预估QPS</p>
|
|
402
350
|
*/
|
|
403
351
|
Qps?: number;
|
|
404
352
|
/**
|
|
405
|
-
*
|
|
353
|
+
* <p>【该字段废弃】</p>
|
|
406
354
|
*/
|
|
407
355
|
Pid?: number;
|
|
408
356
|
/**
|
|
409
|
-
*
|
|
357
|
+
* <p>机器类型</p>
|
|
410
358
|
*/
|
|
411
359
|
Type?: string;
|
|
412
360
|
/**
|
|
413
|
-
* PostgreSQL
|
|
361
|
+
* <p>PostgreSQL的主要版本编号</p>
|
|
414
362
|
*/
|
|
415
363
|
MajorVersion?: string;
|
|
416
364
|
/**
|
|
417
|
-
* PostgreSQL
|
|
365
|
+
* <p>PostgreSQL的内核版本编号</p>
|
|
418
366
|
*/
|
|
419
367
|
KernelVersion?: string;
|
|
420
368
|
/**
|
|
421
|
-
*
|
|
369
|
+
* <p>是否支持TDE数据加密功能,0-不支持,1-支持</p>
|
|
422
370
|
*/
|
|
423
371
|
IsSupportTDE?: number;
|
|
424
372
|
}
|
|
@@ -512,27 +460,27 @@ export interface ModifyDBInstanceReadOnlyGroupResponse {
|
|
|
512
460
|
*/
|
|
513
461
|
export interface ClassInfo {
|
|
514
462
|
/**
|
|
515
|
-
*
|
|
463
|
+
* <p>规格ID</p>
|
|
516
464
|
*/
|
|
517
465
|
SpecCode?: string;
|
|
518
466
|
/**
|
|
519
|
-
* CPU
|
|
467
|
+
* <p>CPU核数</p>
|
|
520
468
|
*/
|
|
521
469
|
CPU?: number;
|
|
522
470
|
/**
|
|
523
|
-
*
|
|
471
|
+
* <p>内存大小,单位:MB</p>
|
|
524
472
|
*/
|
|
525
473
|
Memory?: number;
|
|
526
474
|
/**
|
|
527
|
-
*
|
|
475
|
+
* <p>该规格所支持最大存储容量,单位:GB</p>
|
|
528
476
|
*/
|
|
529
477
|
MaxStorage?: number;
|
|
530
478
|
/**
|
|
531
|
-
*
|
|
479
|
+
* <p>该规格所支持最小存储容量,单位:GB</p>
|
|
532
480
|
*/
|
|
533
481
|
MinStorage?: number;
|
|
534
482
|
/**
|
|
535
|
-
*
|
|
483
|
+
* <p>该规格的预估QPS</p>
|
|
536
484
|
*/
|
|
537
485
|
QPS?: number;
|
|
538
486
|
}
|
|
@@ -1402,19 +1350,19 @@ export interface BaseBackup {
|
|
|
1402
1350
|
*/
|
|
1403
1351
|
export interface CreateReadOnlyDBInstanceResponse {
|
|
1404
1352
|
/**
|
|
1405
|
-
*
|
|
1353
|
+
* <p>订单号列表。每个实例对应一个订单号</p>
|
|
1406
1354
|
*/
|
|
1407
1355
|
DealNames?: Array<string>;
|
|
1408
1356
|
/**
|
|
1409
|
-
*
|
|
1357
|
+
* <p>冻结流水号</p>
|
|
1410
1358
|
*/
|
|
1411
1359
|
BillId?: string;
|
|
1412
1360
|
/**
|
|
1413
|
-
*
|
|
1361
|
+
* <p>创建成功的实例ID集合,只在后付费情景下有返回值</p>
|
|
1414
1362
|
*/
|
|
1415
1363
|
DBInstanceIdSet?: Array<string>;
|
|
1416
1364
|
/**
|
|
1417
|
-
*
|
|
1365
|
+
* <p>入参有BillingParameters值时,出参才有值,值为商品下单的参数。</p>
|
|
1418
1366
|
*/
|
|
1419
1367
|
BillingParameters?: string;
|
|
1420
1368
|
/**
|
|
@@ -1546,15 +1494,15 @@ export interface ModifyMaintainTimeWindowResponse {
|
|
|
1546
1494
|
*/
|
|
1547
1495
|
export interface InquiryPriceCreateDBInstancesResponse {
|
|
1548
1496
|
/**
|
|
1549
|
-
*
|
|
1497
|
+
* <p>刊例价,单位:分</p>
|
|
1550
1498
|
*/
|
|
1551
1499
|
OriginalPrice?: number;
|
|
1552
1500
|
/**
|
|
1553
|
-
*
|
|
1501
|
+
* <p>折后实际付款金额,单位:分</p>
|
|
1554
1502
|
*/
|
|
1555
1503
|
Price?: number;
|
|
1556
1504
|
/**
|
|
1557
|
-
*
|
|
1505
|
+
* <p>币种。例如,CNY:人民币。</p>
|
|
1558
1506
|
*/
|
|
1559
1507
|
Currency?: string;
|
|
1560
1508
|
/**
|
|
@@ -1677,44 +1625,39 @@ export interface TaskSet {
|
|
|
1677
1625
|
*/
|
|
1678
1626
|
export interface InquiryPriceCreateDBInstancesRequest {
|
|
1679
1627
|
/**
|
|
1680
|
-
*
|
|
1628
|
+
* <p>可用区名称。该参数可以通过调用<a href="https://cloud.tencent.com/document/product/409/16769"> DescribeZones</a> 接口的返回值中的Zone字段来获取。</p>
|
|
1681
1629
|
*/
|
|
1682
1630
|
Zone: string;
|
|
1683
1631
|
/**
|
|
1684
|
-
*
|
|
1632
|
+
* <p>规格ID。该参数可以通过调用<a href="https://cloud.tencent.com/document/product/409/89019">DescribeClasses</a>接口的返回值中的SpecCode字段来获取。</p>
|
|
1685
1633
|
*/
|
|
1686
1634
|
SpecCode: string;
|
|
1687
1635
|
/**
|
|
1688
|
-
*
|
|
1636
|
+
* <p>存储容量大小,单位:GB。该参数的设置步长为10。</p>
|
|
1689
1637
|
*/
|
|
1690
1638
|
Storage: number;
|
|
1691
1639
|
/**
|
|
1692
|
-
*
|
|
1640
|
+
* <p>实例数量。目前最大数量不超过100,如需一次性创建更多实例,请联系客服支持。</p>
|
|
1693
1641
|
*/
|
|
1694
1642
|
InstanceCount: number;
|
|
1695
1643
|
/**
|
|
1696
|
-
*
|
|
1644
|
+
* <p>购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值。</p>
|
|
1697
1645
|
*/
|
|
1698
1646
|
Period: number;
|
|
1699
1647
|
/**
|
|
1700
|
-
*
|
|
1648
|
+
* <p>【弃字段,不再生效】,计费ID。该参数可以通过调用DescribeProductConfig接口的返回值中的Pid字段来获取。</p>
|
|
1701
1649
|
*/
|
|
1702
1650
|
Pid?: number;
|
|
1703
1651
|
/**
|
|
1704
|
-
*
|
|
1705
|
-
默认值:PREPAID
|
|
1652
|
+
* <p>实例计费类型。目前支持:PREPAID(预付费,即包年包月)和 POSTPAID(按量计费)。<br>默认值:PREPAID</p>
|
|
1706
1653
|
*/
|
|
1707
1654
|
InstanceChargeType?: string;
|
|
1708
1655
|
/**
|
|
1709
|
-
*
|
|
1710
|
-
primary(双机高可用(一主一从))
|
|
1711
|
-
readonly(只读实例)
|
|
1656
|
+
* <p>实例类型,默认primary,支持如下:<br>primary(双机高可用(一主一从))<br>readonly(只读实例)</p>
|
|
1712
1657
|
*/
|
|
1713
1658
|
InstanceType?: string;
|
|
1714
1659
|
/**
|
|
1715
|
-
* DB引擎,默认postgresql
|
|
1716
|
-
postgresql(云数据库PostgreSQL)
|
|
1717
|
-
mssql_compatible(MSSQL兼容-云数据库PostgreSQL)
|
|
1660
|
+
* <p>DB引擎,默认postgresql,支持如下:<br>postgresql(云数据库PostgreSQL)<br>mssql_compatible(MSSQL兼容-云数据库PostgreSQL)</p>
|
|
1718
1661
|
*/
|
|
1719
1662
|
DBEngine?: string;
|
|
1720
1663
|
}
|
|
@@ -2762,15 +2705,15 @@ export interface EventInfo {
|
|
|
2762
2705
|
*/
|
|
2763
2706
|
export interface CreateInstancesResponse {
|
|
2764
2707
|
/**
|
|
2765
|
-
*
|
|
2708
|
+
* <p>订单号列表。每个实例对应一个订单号。</p>
|
|
2766
2709
|
*/
|
|
2767
2710
|
DealNames?: Array<string>;
|
|
2768
2711
|
/**
|
|
2769
|
-
*
|
|
2712
|
+
* <p>冻结流水号。</p>
|
|
2770
2713
|
*/
|
|
2771
2714
|
BillId?: string;
|
|
2772
2715
|
/**
|
|
2773
|
-
*
|
|
2716
|
+
* <p>创建成功的实例ID集合,只在后付费情景下有返回值。</p>
|
|
2774
2717
|
*/
|
|
2775
2718
|
DBInstanceIdSet?: Array<string>;
|
|
2776
2719
|
/**
|
|
@@ -3678,199 +3621,169 @@ export interface UnlockAccountRequest {
|
|
|
3678
3621
|
*/
|
|
3679
3622
|
export interface DBInstance {
|
|
3680
3623
|
/**
|
|
3681
|
-
*
|
|
3624
|
+
* <p>实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段。</p>
|
|
3682
3625
|
*/
|
|
3683
3626
|
Region?: string;
|
|
3684
3627
|
/**
|
|
3685
|
-
*
|
|
3628
|
+
* <p>实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段。</p>
|
|
3686
3629
|
*/
|
|
3687
3630
|
Zone?: string;
|
|
3688
3631
|
/**
|
|
3689
|
-
*
|
|
3632
|
+
* <p>私有网络ID,形如vpc-e6w23k31。有效的VpcId可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15778">DescribeVpcs</a> ,从接口返回中的unVpcId字段获取。</p>
|
|
3690
3633
|
*/
|
|
3691
3634
|
VpcId?: string;
|
|
3692
3635
|
/**
|
|
3693
|
-
*
|
|
3636
|
+
* <p>私有网络子网ID,形如subnet-51lcif9y。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15784">DescribeSubnets </a>,从接口返回中的unSubnetId字段获取。</p>
|
|
3694
3637
|
*/
|
|
3695
3638
|
SubnetId?: string;
|
|
3696
3639
|
/**
|
|
3697
|
-
*
|
|
3640
|
+
* <p>实例ID。</p>
|
|
3698
3641
|
*/
|
|
3699
3642
|
DBInstanceId?: string;
|
|
3700
3643
|
/**
|
|
3701
|
-
*
|
|
3644
|
+
* <p>实例名称。</p>
|
|
3702
3645
|
*/
|
|
3703
3646
|
DBInstanceName?: string;
|
|
3704
3647
|
/**
|
|
3705
|
-
*
|
|
3648
|
+
* <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>
|
|
3706
3649
|
*/
|
|
3707
3650
|
DBInstanceStatus?: string;
|
|
3708
3651
|
/**
|
|
3709
|
-
*
|
|
3652
|
+
* <p>实例分配的内存大小,单位:GB</p>
|
|
3710
3653
|
*/
|
|
3711
3654
|
DBInstanceMemory?: number;
|
|
3712
3655
|
/**
|
|
3713
|
-
*
|
|
3656
|
+
* <p>实例分配的存储空间大小,单位:GB</p>
|
|
3714
3657
|
*/
|
|
3715
3658
|
DBInstanceStorage?: number;
|
|
3716
3659
|
/**
|
|
3717
|
-
*
|
|
3660
|
+
* <p>实例分配的CPU数量,单位:个</p>
|
|
3718
3661
|
*/
|
|
3719
3662
|
DBInstanceCpu?: number;
|
|
3720
3663
|
/**
|
|
3721
|
-
*
|
|
3664
|
+
* <p>售卖规格ID</p>
|
|
3722
3665
|
*/
|
|
3723
3666
|
DBInstanceClass?: string;
|
|
3724
3667
|
/**
|
|
3725
|
-
* PostgreSQL
|
|
3668
|
+
* <p>PostgreSQL大版本号,版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取,目前支持10,11,12,13,14,15这几个大版本。</p>
|
|
3726
3669
|
*/
|
|
3727
3670
|
DBMajorVersion?: string;
|
|
3728
3671
|
/**
|
|
3729
|
-
* PostgreSQL社区大版本+小版本号,如12.4
|
|
3672
|
+
* <p>PostgreSQL社区大版本+小版本号,如12.4,版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取。</p>
|
|
3730
3673
|
*/
|
|
3731
3674
|
DBVersion?: string;
|
|
3732
3675
|
/**
|
|
3733
|
-
* PostgreSQL内核版本号,如v12.7_r1.8
|
|
3676
|
+
* <p>PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取。</p>
|
|
3734
3677
|
*/
|
|
3735
3678
|
DBKernelVersion?: string;
|
|
3736
3679
|
/**
|
|
3737
|
-
*
|
|
3738
|
-
<li>primary:主实例</li>
|
|
3739
|
-
<li>readonly:只读实例</li>
|
|
3740
|
-
<li>guard:灾备实例</li>
|
|
3741
|
-
<li>temp:临时实例</li>
|
|
3680
|
+
* <p>实例类型,类型有:</p><li>primary:主实例</li><li>readonly:只读实例</li><li>guard:灾备实例</li><li>temp:临时实例</li>
|
|
3742
3681
|
*/
|
|
3743
3682
|
DBInstanceType?: string;
|
|
3744
3683
|
/**
|
|
3745
|
-
*
|
|
3684
|
+
* <p>实例版本,目前只支持standard(双机高可用版, 一主一从)。</p>
|
|
3746
3685
|
*/
|
|
3747
3686
|
DBInstanceVersion?: string;
|
|
3748
3687
|
/**
|
|
3749
|
-
*
|
|
3750
|
-
<li> UTF8</li>
|
|
3751
|
-
<li> LATIN1</li>
|
|
3688
|
+
* <p>实例字符集,目前只支持:</p><li> UTF8</li><li> LATIN1</li>
|
|
3752
3689
|
*/
|
|
3753
3690
|
DBCharset?: string;
|
|
3754
3691
|
/**
|
|
3755
|
-
*
|
|
3692
|
+
* <p>实例创建时间。</p>
|
|
3756
3693
|
*/
|
|
3757
3694
|
CreateTime?: string;
|
|
3758
3695
|
/**
|
|
3759
|
-
*
|
|
3696
|
+
* <p>实例执行最后一次更新的时间。</p>
|
|
3760
3697
|
*/
|
|
3761
3698
|
UpdateTime?: string;
|
|
3762
3699
|
/**
|
|
3763
|
-
*
|
|
3700
|
+
* <p>实例到期时间。</p>
|
|
3764
3701
|
*/
|
|
3765
3702
|
ExpireTime?: string;
|
|
3766
3703
|
/**
|
|
3767
|
-
*
|
|
3704
|
+
* <p>实例隔离时间。</p>
|
|
3768
3705
|
*/
|
|
3769
3706
|
IsolatedTime?: string;
|
|
3770
3707
|
/**
|
|
3771
|
-
*
|
|
3772
|
-
<li>prepaid:包年包月,预付费</li>
|
|
3773
|
-
<li>postpaid:按量计费,后付费</li>
|
|
3708
|
+
* <p>计费模式:</p><li>prepaid:包年包月,预付费</li><li>postpaid:按量计费,后付费</li>
|
|
3774
3709
|
*/
|
|
3775
3710
|
PayType?: string;
|
|
3776
3711
|
/**
|
|
3777
|
-
*
|
|
3778
|
-
<li>0:手动续费</li>
|
|
3779
|
-
<li>1:自动续费</li>
|
|
3780
|
-
默认值:0
|
|
3712
|
+
* <p>是否自动续费:</p><li>0:手动续费</li><li>1:自动续费</li>默认值:0
|
|
3781
3713
|
*/
|
|
3782
3714
|
AutoRenew?: number;
|
|
3783
3715
|
/**
|
|
3784
|
-
*
|
|
3716
|
+
* <p>实例网络连接信息。</p>
|
|
3785
3717
|
*/
|
|
3786
3718
|
DBInstanceNetInfo?: Array<DBInstanceNetInfo>;
|
|
3787
3719
|
/**
|
|
3788
|
-
*
|
|
3720
|
+
* <p>机器类型。</p>
|
|
3789
3721
|
*/
|
|
3790
3722
|
Type?: string;
|
|
3791
3723
|
/**
|
|
3792
|
-
*
|
|
3724
|
+
* <p>用户的AppId。</p>
|
|
3793
3725
|
*/
|
|
3794
3726
|
AppId?: number;
|
|
3795
3727
|
/**
|
|
3796
|
-
*
|
|
3728
|
+
* <p>实例的Uid。</p>
|
|
3797
3729
|
*/
|
|
3798
3730
|
Uid?: number;
|
|
3799
3731
|
/**
|
|
3800
|
-
*
|
|
3732
|
+
* <p>项目ID。</p>
|
|
3801
3733
|
*/
|
|
3802
3734
|
ProjectId?: number;
|
|
3803
3735
|
/**
|
|
3804
|
-
*
|
|
3736
|
+
* <p>实例绑定的标签信息。</p>
|
|
3805
3737
|
*/
|
|
3806
3738
|
TagList?: Array<Tag>;
|
|
3807
3739
|
/**
|
|
3808
|
-
*
|
|
3740
|
+
* <p>主实例信息,仅在实例为只读实例时返回。</p>
|
|
3809
3741
|
*/
|
|
3810
3742
|
MasterDBInstanceId?: string;
|
|
3811
3743
|
/**
|
|
3812
|
-
*
|
|
3744
|
+
* <p>只读实例数量。</p>
|
|
3813
3745
|
*/
|
|
3814
3746
|
ReadOnlyInstanceNum?: number;
|
|
3815
3747
|
/**
|
|
3816
|
-
*
|
|
3748
|
+
* <p>只读实例在只读组中的状态。</p>
|
|
3817
3749
|
*/
|
|
3818
3750
|
StatusInReadonlyGroup?: string;
|
|
3819
3751
|
/**
|
|
3820
|
-
*
|
|
3752
|
+
* <p>下线时间。</p>
|
|
3821
3753
|
*/
|
|
3822
3754
|
OfflineTime?: string;
|
|
3823
3755
|
/**
|
|
3824
|
-
*
|
|
3756
|
+
* <p>实例的节点信息。</p>
|
|
3825
3757
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3826
3758
|
*/
|
|
3827
3759
|
DBNodeSet?: Array<DBNode>;
|
|
3828
3760
|
/**
|
|
3829
|
-
*
|
|
3830
|
-
<li>0:不支持</li>
|
|
3831
|
-
<li>1:支持</li>
|
|
3832
|
-
默认值:0
|
|
3833
|
-
TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
|
|
3761
|
+
* <p>实例是否支持TDE数据加密:</p><li>0:不支持</li><li>1:支持</li>默认值:0TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
|
|
3834
3762
|
*/
|
|
3835
3763
|
IsSupportTDE?: number;
|
|
3836
3764
|
/**
|
|
3837
|
-
*
|
|
3838
|
-
<li>postgresql:云数据库PostgreSQL</li>
|
|
3839
|
-
<li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>
|
|
3840
|
-
默认值:postgresql
|
|
3765
|
+
* <p>数据库引擎,支持:</p><li>postgresql:云数据库PostgreSQL</li><li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li>默认值:postgresql
|
|
3841
3766
|
*/
|
|
3842
3767
|
DBEngine?: string;
|
|
3843
3768
|
/**
|
|
3844
|
-
*
|
|
3845
|
-
{"$key1":"$value1", "$key2":"$value2"}
|
|
3846
|
-
各引擎支持如下:
|
|
3847
|
-
mssql_compatible引擎:
|
|
3848
|
-
<li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li>
|
|
3849
|
-
<li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
|
|
3850
|
-
"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>
|
|
3851
|
-
<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>
|
|
3769
|
+
* <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>
|
|
3852
3770
|
*/
|
|
3853
3771
|
DBEngineConfig?: string;
|
|
3854
3772
|
/**
|
|
3855
|
-
*
|
|
3773
|
+
* <p>实例网络信息列表(此字段已废弃)</p>
|
|
3856
3774
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3857
3775
|
*/
|
|
3858
3776
|
NetworkAccessList?: Array<NetworkAccess>;
|
|
3859
3777
|
/**
|
|
3860
|
-
*
|
|
3861
|
-
<li>0:否</li>
|
|
3862
|
-
<li>1:是</li>
|
|
3863
|
-
默认值:0
|
|
3778
|
+
* <p>实例是否支持Ipv6:</p><li>0:否</li><li>1:是</li>默认值:0
|
|
3864
3779
|
*/
|
|
3865
3780
|
SupportIpv6?: number;
|
|
3866
3781
|
/**
|
|
3867
|
-
*
|
|
3782
|
+
* <p>实例已经弹性扩容的cpu核数</p>
|
|
3868
3783
|
*/
|
|
3869
3784
|
ExpandedCpu?: number;
|
|
3870
3785
|
/**
|
|
3871
|
-
*
|
|
3872
|
-
- true:开启删除保护
|
|
3873
|
-
- false:关闭删除保护
|
|
3786
|
+
* <p>实例是否开启删除保护,取值如下:</p><ul><li>true:开启删除保护</li><li>false:关闭删除保护</li></ul>
|
|
3874
3787
|
*/
|
|
3875
3788
|
DeletionProtection?: boolean;
|
|
3876
3789
|
}
|
|
@@ -4226,108 +4139,92 @@ export interface DescribeBackupDownloadRestrictionResponse {
|
|
|
4226
4139
|
*/
|
|
4227
4140
|
export interface CreateReadOnlyDBInstanceRequest {
|
|
4228
4141
|
/**
|
|
4229
|
-
*
|
|
4230
|
-
可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
|
|
4142
|
+
* <p>实例所属主可用区, 如:ap-guangzhou-3;<br>可用区信息可以通过调用 <a href="https://cloud.tencent.com/document/api/409/16769">DescribeZones</a> 接口的返回值中的Zone字段来获取。</p>
|
|
4231
4143
|
*/
|
|
4232
4144
|
Zone: string;
|
|
4233
4145
|
/**
|
|
4234
|
-
*
|
|
4146
|
+
* <p>只读实例的主实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
4235
4147
|
*/
|
|
4236
4148
|
MasterDBInstanceId: string;
|
|
4237
4149
|
/**
|
|
4238
|
-
*
|
|
4150
|
+
* <p>售卖规格码。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/409/89019">DescribeClasses</a>的返回值中的SpecCode字段来获取。</p>
|
|
4239
4151
|
*/
|
|
4240
4152
|
SpecCode: string;
|
|
4241
4153
|
/**
|
|
4242
|
-
*
|
|
4154
|
+
* <p>实例硬盘容量大小,单位:GB。该参数的设置步长为10。</p>
|
|
4243
4155
|
*/
|
|
4244
4156
|
Storage: number;
|
|
4245
4157
|
/**
|
|
4246
|
-
*
|
|
4158
|
+
* <p>购买实例数量,取值范围:[1-6]。购买支持最大数量6个。</p>
|
|
4247
4159
|
*/
|
|
4248
4160
|
InstanceCount: number;
|
|
4249
4161
|
/**
|
|
4250
|
-
*
|
|
4251
|
-
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
|
|
4252
|
-
<li>后付费:只支持1</li>
|
|
4162
|
+
* <p>购买时长,单位:月。</p><li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li><li>后付费:只支持1</li>
|
|
4253
4163
|
*/
|
|
4254
4164
|
Period: number;
|
|
4255
4165
|
/**
|
|
4256
|
-
*
|
|
4166
|
+
* <p>私有网络ID,形如vpc-xxxxxxxx(该参数当前必传)。有效的VpcId可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/1372">DescribeVpcEx</a> ,从接口返回中的unVpcId字段获取。</p>
|
|
4257
4167
|
*/
|
|
4258
4168
|
VpcId?: string;
|
|
4259
4169
|
/**
|
|
4260
|
-
*
|
|
4170
|
+
* <p>私有网络子网ID,形如subnet-xxxxxxxx(该参数当前必传)。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15784">DescribeSubnets </a>,从接口返回中的unSubnetId字段获取。</p>
|
|
4261
4171
|
*/
|
|
4262
4172
|
SubnetId?: string;
|
|
4263
4173
|
/**
|
|
4264
|
-
*
|
|
4265
|
-
<li>PREPAID:预付费,即包年包月。</li>
|
|
4266
|
-
<li>POSTPAID_BY_HOUR:后付费,即按量计费。</li>
|
|
4267
|
-
默认值:PREPAID。如果主实例为后付费,只读实例必须也为后付费。
|
|
4174
|
+
* <p>实例计费类型,目前支持:</p><li>PREPAID:预付费,即包年包月。</li><li>POSTPAID_BY_HOUR:后付费,即按量计费。</li>默认值:PREPAID。如果主实例为后付费,只读实例必须也为后付费。
|
|
4268
4175
|
*/
|
|
4269
4176
|
InstanceChargeType?: string;
|
|
4270
4177
|
/**
|
|
4271
|
-
*
|
|
4272
|
-
<li>0:否</li>
|
|
4273
|
-
<li>1:是</li>
|
|
4274
|
-
默认值:0
|
|
4178
|
+
* <p>是否自动使用代金券:</p><li>0:否</li><li>1:是</li>默认值:0
|
|
4275
4179
|
*/
|
|
4276
4180
|
AutoVoucher?: number;
|
|
4277
4181
|
/**
|
|
4278
|
-
*
|
|
4182
|
+
* <p>代金券ID列表,目前仅支持指定一张代金券。</p>
|
|
4279
4183
|
*/
|
|
4280
4184
|
VoucherIds?: Array<string>;
|
|
4281
4185
|
/**
|
|
4282
|
-
*
|
|
4283
|
-
<li>0:手动续费</li>
|
|
4284
|
-
<li>1:自动续费</li>
|
|
4285
|
-
默认值:0
|
|
4186
|
+
* <p>续费标记:</p><li>0:手动续费</li><li>1:自动续费</li>默认值:0
|
|
4286
4187
|
*/
|
|
4287
4188
|
AutoRenewFlag?: number;
|
|
4288
4189
|
/**
|
|
4289
|
-
*
|
|
4190
|
+
* <p>项目ID。默认值为0,表示归属默认项目。</p>
|
|
4290
4191
|
*/
|
|
4291
4192
|
ProjectId?: number;
|
|
4292
4193
|
/**
|
|
4293
|
-
*
|
|
4194
|
+
* <p>优惠活动ID</p>
|
|
4294
4195
|
*/
|
|
4295
4196
|
ActivityId?: number;
|
|
4296
4197
|
/**
|
|
4297
|
-
*
|
|
4198
|
+
* <p>只读组ID。</p>
|
|
4298
4199
|
*/
|
|
4299
4200
|
ReadOnlyGroupId?: string;
|
|
4300
4201
|
/**
|
|
4301
|
-
*
|
|
4202
|
+
* <p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p>
|
|
4302
4203
|
*/
|
|
4303
4204
|
TagList?: Tag;
|
|
4304
4205
|
/**
|
|
4305
|
-
*
|
|
4306
|
-
|
|
4206
|
+
* <p>实例所属安全组,该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a> 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。</p>
|
|
4307
4207
|
*/
|
|
4308
4208
|
SecurityGroupIds?: Array<string>;
|
|
4309
4209
|
/**
|
|
4310
|
-
*
|
|
4311
|
-
<li>0:否</li>
|
|
4312
|
-
<li>1:是</li>
|
|
4313
|
-
默认值:0
|
|
4210
|
+
* <p>是否需要支持Ipv6:</p><li>0:否</li><li>1:是</li>默认值:0
|
|
4314
4211
|
*/
|
|
4315
4212
|
NeedSupportIpv6?: number;
|
|
4316
4213
|
/**
|
|
4317
|
-
*
|
|
4214
|
+
* <p>实例名。仅支持长度小于60的中文/英文/数字/"_"/"-"</p>
|
|
4318
4215
|
*/
|
|
4319
4216
|
Name?: string;
|
|
4320
4217
|
/**
|
|
4321
|
-
*
|
|
4218
|
+
* <p>不再需要指定,内核版本号与主实例保持一致</p>
|
|
4322
4219
|
* @deprecated
|
|
4323
4220
|
*/
|
|
4324
4221
|
DBVersion?: string;
|
|
4325
4222
|
/**
|
|
4326
|
-
*
|
|
4223
|
+
* <p>专属集群ID</p>
|
|
4327
4224
|
*/
|
|
4328
4225
|
DedicatedClusterId?: string;
|
|
4329
4226
|
/**
|
|
4330
|
-
*
|
|
4227
|
+
* <p>实例是否开启删除保护: true-开启删除保护;false-关闭删除保护。</p>
|
|
4331
4228
|
*/
|
|
4332
4229
|
DeletionProtection?: boolean;
|
|
4333
4230
|
}
|