GetDatabaseInstanceSetting

data class GetDatabaseInstanceSetting(val activationPolicy: String, val activeDirectoryConfigs: List<GetDatabaseInstanceSettingActiveDirectoryConfig>, val advancedMachineFeatures: List<GetDatabaseInstanceSettingAdvancedMachineFeature>, val availabilityType: String, val backupConfigurations: List<GetDatabaseInstanceSettingBackupConfiguration>, val collation: String, val connectorEnforcement: String, val dataCacheConfigs: List<GetDatabaseInstanceSettingDataCacheConfig>, val databaseFlags: List<GetDatabaseInstanceSettingDatabaseFlag>, val deletionProtectionEnabled: Boolean, val denyMaintenancePeriods: List<GetDatabaseInstanceSettingDenyMaintenancePeriod>, val diskAutoresize: Boolean, val diskAutoresizeLimit: Int, val diskSize: Int, val diskType: String, val edition: String, val enableDataplexIntegration: Boolean, val enableGoogleMlIntegration: Boolean, val insightsConfigs: List<GetDatabaseInstanceSettingInsightsConfig>, val ipConfigurations: List<GetDatabaseInstanceSettingIpConfiguration>, val locationPreferences: List<GetDatabaseInstanceSettingLocationPreference>, val maintenanceWindows: List<GetDatabaseInstanceSettingMaintenanceWindow>, val passwordValidationPolicies: List<GetDatabaseInstanceSettingPasswordValidationPolicy>, val pricingPlan: String, val sqlServerAuditConfigs: List<GetDatabaseInstanceSettingSqlServerAuditConfig>, val tier: String, val timeZone: String, val userLabels: Map<String, String>, val version: Int)

Constructors

Link copied to clipboard
constructor(activationPolicy: String, activeDirectoryConfigs: List<GetDatabaseInstanceSettingActiveDirectoryConfig>, advancedMachineFeatures: List<GetDatabaseInstanceSettingAdvancedMachineFeature>, availabilityType: String, backupConfigurations: List<GetDatabaseInstanceSettingBackupConfiguration>, collation: String, connectorEnforcement: String, dataCacheConfigs: List<GetDatabaseInstanceSettingDataCacheConfig>, databaseFlags: List<GetDatabaseInstanceSettingDatabaseFlag>, deletionProtectionEnabled: Boolean, denyMaintenancePeriods: List<GetDatabaseInstanceSettingDenyMaintenancePeriod>, diskAutoresize: Boolean, diskAutoresizeLimit: Int, diskSize: Int, diskType: String, edition: String, enableDataplexIntegration: Boolean, enableGoogleMlIntegration: Boolean, insightsConfigs: List<GetDatabaseInstanceSettingInsightsConfig>, ipConfigurations: List<GetDatabaseInstanceSettingIpConfiguration>, locationPreferences: List<GetDatabaseInstanceSettingLocationPreference>, maintenanceWindows: List<GetDatabaseInstanceSettingMaintenanceWindow>, passwordValidationPolicies: List<GetDatabaseInstanceSettingPasswordValidationPolicy>, pricingPlan: String, sqlServerAuditConfigs: List<GetDatabaseInstanceSettingSqlServerAuditConfig>, tier: String, timeZone: String, userLabels: Map<String, String>, version: Int)

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 instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled is set to true. Defaults to ZONAL.

Link copied to clipboard

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

Configuration to protect against accidental instance deletion.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

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

Link copied to clipboard

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

Link copied to clipboard

Enables Dataplex Integration.

Link copied to clipboard

Enables Vertex AI Integration.

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

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

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

Link copied to clipboard

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

Link copied to clipboard

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