GetDatabaseInstancesPlainArgs

data class GetDatabaseInstancesPlainArgs(val databaseVersion: String? = null, val project: String? = null, val region: String? = null, val state: String? = null, val tier: String? = null, val zone: String? = null) : ConvertibleToJava<GetDatabaseInstancesPlainArgs>

A collection of arguments for invoking getDatabaseInstances.

Constructors

Link copied to clipboard
constructor(databaseVersion: String? = null, project: String? = null, region: String? = null, state: String? = null, tier: String? = null, zone: String? = null)

Properties

Link copied to clipboard
val databaseVersion: String? = null

To filter out the Cloud SQL instances which are of the specified database version.

Link copied to clipboard
val project: String? = null

The ID of the project in which the resources belong. If it is not provided, the provider project is used.

Link copied to clipboard
val region: String? = null

To filter out the Cloud SQL instances which are located in the specified region.

Link copied to clipboard
val state: String? = null

To filter out the Cloud SQL instances based on the current serving state of the database instance. Supported values include SQL_INSTANCE_STATE_UNSPECIFIED, RUNNABLE, SUSPENDED, PENDING_DELETE, PENDING_CREATE, MAINTENANCE, FAILED.

Link copied to clipboard
val tier: String? = null

To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.

Link copied to clipboard
val zone: String? = null

To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.

Functions

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