Database Instance Settings
Constructors
Properties
This specifies when the instance should be active. Can be either ALWAYS
, NEVER
or ON_DEMAND
.
The availability type of the Cloud SQL instance, high availability (REGIONAL
) or single zone (ZONAL
).' For all instances, ensure that settings.backup_configuration.enabled
is set to true
. For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled
is set to true
. For Postgres and SQL Server instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled
is set to true
. Defaults to ZONAL
.
Specifies if connections must use Cloud SQL connectors.
Enables auto-resizing of the storage size. Defaults to true
.
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
Pricing plan for this instance, can only be PER_USE
.
The machine type to use. See tiers for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312
. See the Custom Machine Type Documentation to learn about specifying custom machine types.
A set of key/value user label pairs to assign to the instance.