Instance

Creates a new Cloud SQL instance.

Properties

Link copied to clipboard

List all maintenance versions applicable on the instance

Link copied to clipboard
val backendType: Output<String>

The backend type. SECOND_GEN: Cloud SQL database instance. EXTERNAL: A database server that is not managed by Google. This property is read-only; use the tier property in the settings object to determine the database type.

Link copied to clipboard
val connectionName: Output<String>

Connection name of the Cloud SQL instance used in connection strings.

Link copied to clipboard
val createTime: Output<String>

The time when the instance was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Link copied to clipboard
val currentDiskSize: Output<String>

The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.

Link copied to clipboard

Stores the current database version running on the instance including minor version such as MYSQL_8_0_18.

Link copied to clipboard
val databaseVersion: Output<String>

The database engine type and version. The databaseVersion field cannot be changed after instance creation.

Link copied to clipboard

Disk encryption configuration specific to an instance.

Link copied to clipboard

Disk encryption status specific to an instance.

Link copied to clipboard
val etag: Output<String>

This field is deprecated and will be removed from a future version of the API. Use the settings.settingsVersion field instead.

Link copied to clipboard

The name and status of the failover replica.

Link copied to clipboard
val gceZone: Output<String>

The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceType: Output<String>

The instance type.

Link copied to clipboard

The assigned IP addresses for the instance.

Link copied to clipboard
val ipv6Address: Output<String>

The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.

Link copied to clipboard
val kind: Output<String>

This is always sql#instance.

Link copied to clipboard

The current software version on the instance.

Link copied to clipboard

The name of the instance which will act as primary in the replication setup.

Link copied to clipboard
val maxDiskSize: Output<String>

The maximum disk size of the instance in bytes.

Link copied to clipboard
val name: Output<String>

Name of the Cloud SQL instance. This does not include the project ID.

Link copied to clipboard

Configuration specific to on-premises instances.

Link copied to clipboard

This field represents the report generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>

The geographical region. Can be: * us-central (FIRST_GEN instances only) * us-central1 (SECOND_GEN instances only) * asia-east1 or europe-west1. Defaults to us-central or us-central1 depending on the instance type. The region cannot be changed after instance creation.

Link copied to clipboard

Configuration specific to failover replicas and read replicas.

Link copied to clipboard
val replicaNames: Output<List<String>>

The replicas of the instance.

Link copied to clipboard
val rootPassword: Output<String>

Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.

Link copied to clipboard
val satisfiesPzs: Output<Boolean>

The status indicating if instance satisfiesPzs. Reserved for future use.

Link copied to clipboard

The start time of any upcoming scheduled maintenance for this instance.

Link copied to clipboard

The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.

Link copied to clipboard
val selfLink: Output<String>

The URI of this resource.

Link copied to clipboard

SSL configuration.

Link copied to clipboard

The service account email address assigned to the instance.\This property is read-only.

Link copied to clipboard

The user settings.

Link copied to clipboard
val state: Output<String>

The current serving state of the Cloud SQL instance.

Link copied to clipboard

If the instance state is SUSPENDED, the reason for the suspension.

Link copied to clipboard
val urn: Output<String>