SettingsArgs

data class SettingsArgs(val activationPolicy: Output<SettingsActivationPolicy>? = null, val activeDirectoryConfig: Output<SqlActiveDirectoryConfigArgs>? = null, val advancedMachineFeatures: Output<AdvancedMachineFeaturesArgs>? = null, val authorizedGaeApplications: Output<List<String>>? = null, val availabilityType: Output<SettingsAvailabilityType>? = null, val backupConfiguration: Output<BackupConfigurationArgs>? = null, val collation: Output<String>? = null, val connectorEnforcement: Output<SettingsConnectorEnforcement>? = null, val crashSafeReplicationEnabled: Output<Boolean>? = null, val dataDiskSizeGb: Output<String>? = null, val dataDiskType: Output<SettingsDataDiskType>? = null, val databaseFlags: Output<List<DatabaseFlagsArgs>>? = null, val databaseReplicationEnabled: Output<Boolean>? = null, val deletionProtectionEnabled: Output<Boolean>? = null, val denyMaintenancePeriods: Output<List<DenyMaintenancePeriodArgs>>? = null, val insightsConfig: Output<InsightsConfigArgs>? = null, val ipConfiguration: Output<IpConfigurationArgs>? = null, val kind: Output<String>? = null, val locationPreference: Output<LocationPreferenceArgs>? = null, val maintenanceWindow: Output<MaintenanceWindowArgs>? = null, val passwordValidationPolicy: Output<PasswordValidationPolicyArgs>? = null, val pricingPlan: Output<SettingsPricingPlan>? = null, val replicationType: Output<SettingsReplicationType>? = null, val settingsVersion: Output<String>? = null, val sqlServerAuditConfig: Output<SqlServerAuditConfigArgs>? = null, val storageAutoResize: Output<Boolean>? = null, val storageAutoResizeLimit: Output<String>? = null, val tier: Output<String>? = null, val timeZone: Output<String>? = null, val userLabels: Output<Map<String, String>>? = null) : ConvertibleToJava<SettingsArgs>

Database instance settings.

Constructors

Link copied to clipboard
fun SettingsArgs(activationPolicy: Output<SettingsActivationPolicy>? = null, activeDirectoryConfig: Output<SqlActiveDirectoryConfigArgs>? = null, advancedMachineFeatures: Output<AdvancedMachineFeaturesArgs>? = null, authorizedGaeApplications: Output<List<String>>? = null, availabilityType: Output<SettingsAvailabilityType>? = null, backupConfiguration: Output<BackupConfigurationArgs>? = null, collation: Output<String>? = null, connectorEnforcement: Output<SettingsConnectorEnforcement>? = null, crashSafeReplicationEnabled: Output<Boolean>? = null, dataDiskSizeGb: Output<String>? = null, dataDiskType: Output<SettingsDataDiskType>? = null, databaseFlags: Output<List<DatabaseFlagsArgs>>? = null, databaseReplicationEnabled: Output<Boolean>? = null, deletionProtectionEnabled: Output<Boolean>? = null, denyMaintenancePeriods: Output<List<DenyMaintenancePeriodArgs>>? = null, insightsConfig: Output<InsightsConfigArgs>? = null, ipConfiguration: Output<IpConfigurationArgs>? = null, kind: Output<String>? = null, locationPreference: Output<LocationPreferenceArgs>? = null, maintenanceWindow: Output<MaintenanceWindowArgs>? = null, passwordValidationPolicy: Output<PasswordValidationPolicyArgs>? = null, pricingPlan: Output<SettingsPricingPlan>? = null, replicationType: Output<SettingsReplicationType>? = null, settingsVersion: Output<String>? = null, sqlServerAuditConfig: Output<SqlServerAuditConfigArgs>? = null, storageAutoResize: Output<Boolean>? = null, storageAutoResizeLimit: Output<String>? = null, tier: Output<String>? = null, timeZone: Output<String>? = null, userLabels: Output<Map<String, String>>? = null)

Functions

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

Properties

Link copied to clipboard

The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * ALWAYS: The instance is on, and remains so even in the absence of connection requests. * NEVER: The instance is off; it is not activated, even if a connection request arrives.

Link copied to clipboard

Active Directory configuration, relevant only for Cloud SQL for SQL Server.

Link copied to clipboard

Specifies advance machine configuration for the instance relevant only for SQL Server.

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

The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.

Link copied to clipboard

Availability type. Potential values: * ZONAL: The instance serves data from only one zone. Outages in that zone affect data accessibility. * REGIONAL: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see Overview of the High Availability Configuration.

Link copied to clipboard

The daily backup configuration for the instance.

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

The name of server Instance collation.

Link copied to clipboard

Specifies if connections must use Cloud SQL connectors. Option values include the following: NOT_REQUIRED (Cloud SQL instances can be connected without Cloud SQL Connectors) and REQUIRED (Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.

Link copied to clipboard

Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.

Link copied to clipboard
val databaseFlags: Output<List<DatabaseFlagsArgs>>? = null

The database flags passed to the instance at startup.

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

Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.

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

The size of data disk, in GB. The data disk size minimum is 10GB.

Link copied to clipboard
val dataDiskType: Output<SettingsDataDiskType>? = null

The type of data disk: PD_SSD (default) or PD_HDD. Not used for First Generation instances.

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

Configuration to protect against accidental instance deletion.

Link copied to clipboard

Deny maintenance periods

Link copied to clipboard
val insightsConfig: Output<InsightsConfigArgs>? = null

Insights configuration, for now relevant only for Postgres.

Link copied to clipboard

The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.

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

This is always sql#settings.

Link copied to clipboard

The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.

Link copied to clipboard

The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.

Link copied to clipboard

The local user password validation policy of the instance.

Link copied to clipboard
val pricingPlan: Output<SettingsPricingPlan>? = null

The pricing plan for this instance. This can be either PER_USE or PACKAGE. Only PER_USE is supported for Second Generation instances.

Link copied to clipboard

The type of replication this instance uses. This can be either ASYNCHRONOUS or SYNCHRONOUS. (Deprecated) This property was only applicable to First Generation instances.

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

The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.

Link copied to clipboard

SQL Server specific audit configuration.

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

Configuration to increase storage size automatically. The default value is true.

Link copied to clipboard
val storageAutoResizeLimit: Output<String>? = 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 tier: Output<String>? = null

The tier (or machine type) for this instance, for example db-custom-1-3840. WARNING: Changing this restarts the instance.

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

Server timezone, relevant only for Cloud SQL for SQL Server.

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

User-provided labels, represented as a dictionary where each label is a single key value pair.