DatabaseInstanceSettings

data class DatabaseInstanceSettings(val activationPolicy: String? = null, val activeDirectoryConfig: DatabaseInstanceSettingsActiveDirectoryConfig? = null, val advancedMachineFeatures: DatabaseInstanceSettingsAdvancedMachineFeatures? = null, val availabilityType: String? = null, val backupConfiguration: DatabaseInstanceSettingsBackupConfiguration? = null, val collation: String? = null, val connectorEnforcement: String? = null, val dataCacheConfig: DatabaseInstanceSettingsDataCacheConfig? = null, val databaseFlags: List<DatabaseInstanceSettingsDatabaseFlag>? = null, val deletionProtectionEnabled: Boolean? = null, val denyMaintenancePeriod: DatabaseInstanceSettingsDenyMaintenancePeriod? = null, val diskAutoresize: Boolean? = null, val diskAutoresizeLimit: Int? = null, val diskSize: Int? = null, val diskType: String? = null, val edition: String? = null, val enableDataplexIntegration: Boolean? = null, val enableGoogleMlIntegration: Boolean? = null, val insightsConfig: DatabaseInstanceSettingsInsightsConfig? = null, val ipConfiguration: DatabaseInstanceSettingsIpConfiguration? = null, val locationPreference: DatabaseInstanceSettingsLocationPreference? = null, val maintenanceWindow: DatabaseInstanceSettingsMaintenanceWindow? = null, val passwordValidationPolicy: DatabaseInstanceSettingsPasswordValidationPolicy? = null, val pricingPlan: String? = null, val sqlServerAuditConfig: DatabaseInstanceSettingsSqlServerAuditConfig? = null, val tier: String, val timeZone: String? = null, val userLabels: Map<String, String>? = null, val version: Int? = null)

Constructors

Link copied to clipboard
constructor(activationPolicy: String? = null, activeDirectoryConfig: DatabaseInstanceSettingsActiveDirectoryConfig? = null, advancedMachineFeatures: DatabaseInstanceSettingsAdvancedMachineFeatures? = null, availabilityType: String? = null, backupConfiguration: DatabaseInstanceSettingsBackupConfiguration? = null, collation: String? = null, connectorEnforcement: String? = null, dataCacheConfig: DatabaseInstanceSettingsDataCacheConfig? = null, databaseFlags: List<DatabaseInstanceSettingsDatabaseFlag>? = null, deletionProtectionEnabled: Boolean? = null, denyMaintenancePeriod: DatabaseInstanceSettingsDenyMaintenancePeriod? = null, diskAutoresize: Boolean? = null, diskAutoresizeLimit: Int? = null, diskSize: Int? = null, diskType: String? = null, edition: String? = null, enableDataplexIntegration: Boolean? = null, enableGoogleMlIntegration: Boolean? = null, insightsConfig: DatabaseInstanceSettingsInsightsConfig? = null, ipConfiguration: DatabaseInstanceSettingsIpConfiguration? = null, locationPreference: DatabaseInstanceSettingsLocationPreference? = null, maintenanceWindow: DatabaseInstanceSettingsMaintenanceWindow? = null, passwordValidationPolicy: DatabaseInstanceSettingsPasswordValidationPolicy? = null, pricingPlan: String? = null, sqlServerAuditConfig: DatabaseInstanceSettingsSqlServerAuditConfig? = null, tier: String, timeZone: String? = null, userLabels: Map<String, String>? = null, version: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND.

Link copied to clipboard

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.

Link copied to clipboard
val collation: String? = null

The name of server instance collation.

Link copied to clipboard

Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.

Link copied to clipboard
Link copied to clipboard

Data cache configurations.

Link copied to clipboard

Configuration to protect against accidental instance deletion.

Link copied to clipboard
val diskAutoresize: Boolean? = null

Enables auto-resizing of the storage size. Defaults to true. Note that if disk_size is set, future pulumi up calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that lifecycle.ignore_changes is applied to disk_size.

Link copied to clipboard

The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.

Link copied to clipboard
val diskSize: Int? = null

The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from disk_autoresize if that feature is enabled. To avoid this, set lifecycle.ignore_changes on this field.

Link copied to clipboard
val diskType: String? = null

The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.

Link copied to clipboard
val edition: String? = null

The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.

Link copied to clipboard

Enables Cloud SQL instance integration with Dataplex. MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to false.

Link copied to clipboard

Enables Cloud SQL instances to connect to Vertex AI and pass requests for real-time predictions and insights. Defaults to false.

Link copied to clipboard

Configuration of Query Insights.

Link copied to clipboard

Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.

Link copied to clipboard
val pricingPlan: String? = null

Pricing plan for this instance, can only be PER_USE.

Link copied to clipboard

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.

Link copied to clipboard
val timeZone: String? = null

The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.

Link copied to clipboard
val userLabels: Map<String, String>? = null

A set of key/value user label pairs to assign to the instance.

Link copied to clipboard
val version: Int? = null

Used to make sure changes to the settings block are atomic.