ConnectionProfileCloudsqlSettings

data class ConnectionProfileCloudsqlSettings(val activationPolicy: String? = null, val autoStorageIncrease: Boolean? = null, val cmekKeyName: String? = null, val collation: String? = null, val dataDiskSizeGb: String? = null, val dataDiskType: String? = null, val databaseFlags: Map<String, String>? = null, val databaseVersion: String? = null, val edition: String? = null, val ipConfig: ConnectionProfileCloudsqlSettingsIpConfig? = null, val rootPassword: String? = null, val rootPasswordSet: Boolean? = null, val sourceId: String, val storageAutoResizeLimit: String? = null, val tier: String? = null, val userLabels: Map<String, String>? = null, val zone: String? = null)

Constructors

Link copied to clipboard
constructor(activationPolicy: String? = null, autoStorageIncrease: Boolean? = null, cmekKeyName: String? = null, collation: String? = null, dataDiskSizeGb: String? = null, dataDiskType: String? = null, databaseFlags: Map<String, String>? = null, databaseVersion: String? = null, edition: String? = null, ipConfig: ConnectionProfileCloudsqlSettingsIpConfig? = null, rootPassword: String? = null, rootPasswordSet: Boolean? = null, sourceId: String, storageAutoResizeLimit: String? = null, tier: String? = null, userLabels: Map<String, String>? = null, zone: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Possible values are: ALWAYS, NEVER.

Link copied to clipboard

If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.

Link copied to clipboard
val cmekKeyName: String? = null

The KMS key name used for the csql instance.

Link copied to clipboard
val collation: String? = null

The Cloud SQL default instance level collation.

Link copied to clipboard

The database flags passed to the Cloud SQL instance at startup.

Link copied to clipboard
val databaseVersion: String? = null

The database engine type and version. Currently supported values located at https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.connectionProfiles#sqldatabaseversion

Link copied to clipboard
val dataDiskSizeGb: String? = null

The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.

Link copied to clipboard
val dataDiskType: String? = null

The type of storage. Possible values are: PD_SSD, PD_HDD.

Link copied to clipboard
val edition: String? = null

The edition of the given Cloud SQL instance. Possible values are: ENTERPRISE, ENTERPRISE_PLUS.

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. Structure is documented below.

Link copied to clipboard
val rootPassword: String? = null

Input only. Initial root password. Note: This property is sensitive and will not be displayed in the plan.

Link copied to clipboard

(Output) Output only. Indicates If this connection profile root password is stored.

Link copied to clipboard

The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID

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

The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances). For more information, see https://cloud.google.com/sql/docs/mysql/instance-settings

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

The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs.

Link copied to clipboard
val zone: String? = null

The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.