tencentcloud-sdk-nodejs-postgres 4.1.188 → 4.1.190
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/package.json
CHANGED
|
@@ -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
|
}
|
|
@@ -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
|
/**
|
|
@@ -4196,108 +4139,92 @@ export interface DescribeBackupDownloadRestrictionResponse {
|
|
|
4196
4139
|
*/
|
|
4197
4140
|
export interface CreateReadOnlyDBInstanceRequest {
|
|
4198
4141
|
/**
|
|
4199
|
-
*
|
|
4200
|
-
可用区信息可以通过调用 [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>
|
|
4201
4143
|
*/
|
|
4202
4144
|
Zone: string;
|
|
4203
4145
|
/**
|
|
4204
|
-
*
|
|
4146
|
+
* <p>只读实例的主实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
4205
4147
|
*/
|
|
4206
4148
|
MasterDBInstanceId: string;
|
|
4207
4149
|
/**
|
|
4208
|
-
*
|
|
4150
|
+
* <p>售卖规格码。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/409/89019">DescribeClasses</a>的返回值中的SpecCode字段来获取。</p>
|
|
4209
4151
|
*/
|
|
4210
4152
|
SpecCode: string;
|
|
4211
4153
|
/**
|
|
4212
|
-
*
|
|
4154
|
+
* <p>实例硬盘容量大小,单位:GB。该参数的设置步长为10。</p>
|
|
4213
4155
|
*/
|
|
4214
4156
|
Storage: number;
|
|
4215
4157
|
/**
|
|
4216
|
-
*
|
|
4158
|
+
* <p>购买实例数量,取值范围:[1-6]。购买支持最大数量6个。</p>
|
|
4217
4159
|
*/
|
|
4218
4160
|
InstanceCount: number;
|
|
4219
4161
|
/**
|
|
4220
|
-
*
|
|
4221
|
-
<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
|
|
4222
|
-
<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>
|
|
4223
4163
|
*/
|
|
4224
4164
|
Period: number;
|
|
4225
4165
|
/**
|
|
4226
|
-
*
|
|
4166
|
+
* <p>私有网络ID,形如vpc-xxxxxxxx(该参数当前必传)。有效的VpcId可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/1372">DescribeVpcEx</a> ,从接口返回中的unVpcId字段获取。</p>
|
|
4227
4167
|
*/
|
|
4228
4168
|
VpcId?: string;
|
|
4229
4169
|
/**
|
|
4230
|
-
*
|
|
4170
|
+
* <p>私有网络子网ID,形如subnet-xxxxxxxx(该参数当前必传)。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15784">DescribeSubnets </a>,从接口返回中的unSubnetId字段获取。</p>
|
|
4231
4171
|
*/
|
|
4232
4172
|
SubnetId?: string;
|
|
4233
4173
|
/**
|
|
4234
|
-
*
|
|
4235
|
-
<li>PREPAID:预付费,即包年包月。</li>
|
|
4236
|
-
<li>POSTPAID_BY_HOUR:后付费,即按量计费。</li>
|
|
4237
|
-
默认值:PREPAID。如果主实例为后付费,只读实例必须也为后付费。
|
|
4174
|
+
* <p>实例计费类型,目前支持:</p><li>PREPAID:预付费,即包年包月。</li><li>POSTPAID_BY_HOUR:后付费,即按量计费。</li>默认值:PREPAID。如果主实例为后付费,只读实例必须也为后付费。
|
|
4238
4175
|
*/
|
|
4239
4176
|
InstanceChargeType?: string;
|
|
4240
4177
|
/**
|
|
4241
|
-
*
|
|
4242
|
-
<li>0:否</li>
|
|
4243
|
-
<li>1:是</li>
|
|
4244
|
-
默认值:0
|
|
4178
|
+
* <p>是否自动使用代金券:</p><li>0:否</li><li>1:是</li>默认值:0
|
|
4245
4179
|
*/
|
|
4246
4180
|
AutoVoucher?: number;
|
|
4247
4181
|
/**
|
|
4248
|
-
*
|
|
4182
|
+
* <p>代金券ID列表,目前仅支持指定一张代金券。</p>
|
|
4249
4183
|
*/
|
|
4250
4184
|
VoucherIds?: Array<string>;
|
|
4251
4185
|
/**
|
|
4252
|
-
*
|
|
4253
|
-
<li>0:手动续费</li>
|
|
4254
|
-
<li>1:自动续费</li>
|
|
4255
|
-
默认值:0
|
|
4186
|
+
* <p>续费标记:</p><li>0:手动续费</li><li>1:自动续费</li>默认值:0
|
|
4256
4187
|
*/
|
|
4257
4188
|
AutoRenewFlag?: number;
|
|
4258
4189
|
/**
|
|
4259
|
-
*
|
|
4190
|
+
* <p>项目ID。默认值为0,表示归属默认项目。</p>
|
|
4260
4191
|
*/
|
|
4261
4192
|
ProjectId?: number;
|
|
4262
4193
|
/**
|
|
4263
|
-
*
|
|
4194
|
+
* <p>优惠活动ID</p>
|
|
4264
4195
|
*/
|
|
4265
4196
|
ActivityId?: number;
|
|
4266
4197
|
/**
|
|
4267
|
-
*
|
|
4198
|
+
* <p>只读组ID。</p>
|
|
4268
4199
|
*/
|
|
4269
4200
|
ReadOnlyGroupId?: string;
|
|
4270
4201
|
/**
|
|
4271
|
-
*
|
|
4202
|
+
* <p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p>
|
|
4272
4203
|
*/
|
|
4273
4204
|
TagList?: Tag;
|
|
4274
4205
|
/**
|
|
4275
|
-
*
|
|
4276
|
-
|
|
4206
|
+
* <p>实例所属安全组,该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a> 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。</p>
|
|
4277
4207
|
*/
|
|
4278
4208
|
SecurityGroupIds?: Array<string>;
|
|
4279
4209
|
/**
|
|
4280
|
-
*
|
|
4281
|
-
<li>0:否</li>
|
|
4282
|
-
<li>1:是</li>
|
|
4283
|
-
默认值:0
|
|
4210
|
+
* <p>是否需要支持Ipv6:</p><li>0:否</li><li>1:是</li>默认值:0
|
|
4284
4211
|
*/
|
|
4285
4212
|
NeedSupportIpv6?: number;
|
|
4286
4213
|
/**
|
|
4287
|
-
*
|
|
4214
|
+
* <p>实例名。仅支持长度小于60的中文/英文/数字/"_"/"-"</p>
|
|
4288
4215
|
*/
|
|
4289
4216
|
Name?: string;
|
|
4290
4217
|
/**
|
|
4291
|
-
*
|
|
4218
|
+
* <p>不再需要指定,内核版本号与主实例保持一致</p>
|
|
4292
4219
|
* @deprecated
|
|
4293
4220
|
*/
|
|
4294
4221
|
DBVersion?: string;
|
|
4295
4222
|
/**
|
|
4296
|
-
*
|
|
4223
|
+
* <p>专属集群ID</p>
|
|
4297
4224
|
*/
|
|
4298
4225
|
DedicatedClusterId?: string;
|
|
4299
4226
|
/**
|
|
4300
|
-
*
|
|
4227
|
+
* <p>实例是否开启删除保护: true-开启删除保护;false-关闭删除保护。</p>
|
|
4301
4228
|
*/
|
|
4302
4229
|
DeletionProtection?: boolean;
|
|
4303
4230
|
}
|