instanceType

@JvmName(name = "kirsuyqorqfpcghl")
suspend fun instanceType(value: Output<String>)
@JvmName(name = "aueqjtxatgtwthbf")
suspend fun instanceType(value: String?)

Parameters

value

DB Instance type. For details, see Instance type table.

  • To create a serverless instance, please pass the following values:

  • MySQL basic: mysql.n2.serverless.1c

  • MySQL high availability: mysql.n2.serverless.2c

  • SQLServer high availability: mssql.mem2.serverless.s2

  • PostgreSQL basic: pg.n2.serverless.1c

NOTE: When storage_auto_scale="Enable", do not perform instance_storage check. when storage_auto_scale="Disable", if the instance itself instance_storagehas changed. You need to manually revise the instance_storage in the template value. When payment_type="Serverless" and when modifying, do not perform instance_storage check. Otherwise, check.