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 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, 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

Specifies if connections must use Cloud SQL connectors.

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

Enables auto-resizing of the storage size. Defaults to true.

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.

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
Link copied to clipboard
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

Functions

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