DatabaseInstanceSettingsArgs

data class DatabaseInstanceSettingsArgs(val activationPolicy: Output<String>? = null, val activeDirectoryConfig: Output<DatabaseInstanceSettingsActiveDirectoryConfigArgs>? = null, val advancedMachineFeatures: Output<DatabaseInstanceSettingsAdvancedMachineFeaturesArgs>? = null, val availabilityType: Output<String>? = null, val backupConfiguration: Output<DatabaseInstanceSettingsBackupConfigurationArgs>? = null, val collation: Output<String>? = null, val connectorEnforcement: Output<String>? = null, val dataCacheConfig: Output<DatabaseInstanceSettingsDataCacheConfigArgs>? = null, val databaseFlags: Output<List<DatabaseInstanceSettingsDatabaseFlagArgs>>? = null, val deletionProtectionEnabled: Output<Boolean>? = null, val denyMaintenancePeriod: Output<DatabaseInstanceSettingsDenyMaintenancePeriodArgs>? = null, val diskAutoresize: Output<Boolean>? = null, val diskAutoresizeLimit: Output<Int>? = null, val diskSize: Output<Int>? = null, val diskType: Output<String>? = null, val edition: Output<String>? = null, val enableDataplexIntegration: Output<Boolean>? = null, val enableGoogleMlIntegration: Output<Boolean>? = null, val insightsConfig: Output<DatabaseInstanceSettingsInsightsConfigArgs>? = null, val ipConfiguration: Output<DatabaseInstanceSettingsIpConfigurationArgs>? = null, val locationPreference: Output<DatabaseInstanceSettingsLocationPreferenceArgs>? = null, val maintenanceWindow: Output<DatabaseInstanceSettingsMaintenanceWindowArgs>? = null, val passwordValidationPolicy: Output<DatabaseInstanceSettingsPasswordValidationPolicyArgs>? = null, val pricingPlan: Output<String>? = null, val sqlServerAuditConfig: Output<DatabaseInstanceSettingsSqlServerAuditConfigArgs>? = null, val tier: Output<String>, val timeZone: Output<String>? = null, val userLabels: Output<Map<String, String>>? = null, val version: Output<Int>? = null) : ConvertibleToJava<DatabaseInstanceSettingsArgs>

Constructors

Link copied to clipboard
constructor(activationPolicy: Output<String>? = null, activeDirectoryConfig: Output<DatabaseInstanceSettingsActiveDirectoryConfigArgs>? = null, advancedMachineFeatures: Output<DatabaseInstanceSettingsAdvancedMachineFeaturesArgs>? = null, availabilityType: Output<String>? = null, backupConfiguration: Output<DatabaseInstanceSettingsBackupConfigurationArgs>? = null, collation: Output<String>? = null, connectorEnforcement: Output<String>? = null, dataCacheConfig: Output<DatabaseInstanceSettingsDataCacheConfigArgs>? = null, databaseFlags: Output<List<DatabaseInstanceSettingsDatabaseFlagArgs>>? = null, deletionProtectionEnabled: Output<Boolean>? = null, denyMaintenancePeriod: Output<DatabaseInstanceSettingsDenyMaintenancePeriodArgs>? = null, diskAutoresize: Output<Boolean>? = null, diskAutoresizeLimit: Output<Int>? = null, diskSize: Output<Int>? = null, diskType: Output<String>? = null, edition: Output<String>? = null, enableDataplexIntegration: Output<Boolean>? = null, enableGoogleMlIntegration: Output<Boolean>? = null, insightsConfig: Output<DatabaseInstanceSettingsInsightsConfigArgs>? = null, ipConfiguration: Output<DatabaseInstanceSettingsIpConfigurationArgs>? = null, locationPreference: Output<DatabaseInstanceSettingsLocationPreferenceArgs>? = null, maintenanceWindow: Output<DatabaseInstanceSettingsMaintenanceWindowArgs>? = null, passwordValidationPolicy: Output<DatabaseInstanceSettingsPasswordValidationPolicyArgs>? = null, pricingPlan: Output<String>? = null, sqlServerAuditConfig: Output<DatabaseInstanceSettingsSqlServerAuditConfigArgs>? = null, tier: Output<String>, timeZone: Output<String>? = null, userLabels: Output<Map<String, String>>? = null, version: Output<Int>? = null)

Properties

Link copied to clipboard
val activationPolicy: Output<String>? = null

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

Link copied to clipboard
val availabilityType: Output<String>? = null

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: Output<String>? = null

The name of server instance collation.

Link copied to clipboard
val connectorEnforcement: Output<String>? = null

Control the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections, can be REQUIRED or NOT_REQUIRED. If enabled, all the direct connections are rejected.

Link copied to clipboard
Link copied to clipboard

Data cache configurations.

Link copied to clipboard
val deletionProtectionEnabled: Output<Boolean>? = null

Configuration to protect against accidental instance deletion.

Link copied to clipboard
val diskAutoresize: Output<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
val diskAutoresizeLimit: Output<Int>? = null

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: Output<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: Output<String>? = null

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

Link copied to clipboard
val edition: Output<String>? = null

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

Link copied to clipboard
val enableDataplexIntegration: Output<Boolean>? = null

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
val enableGoogleMlIntegration: Output<Boolean>? = null

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
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: Output<String>? = null

Pricing plan for this instance, can only be PER_USE.

Link copied to clipboard
val tier: Output<String>

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: Output<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: Output<Map<String, String>>? = null

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

Link copied to clipboard
val version: Output<Int>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): DatabaseInstanceSettingsArgs