InstanceArgs

data class InstanceArgs(val databaseId: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val type: Output<InstanceType>? = null) : ConvertibleToJava<InstanceArgs>

Requests that a new DatabaseInstance be created. The state of a successfully created DatabaseInstance is ACTIVE. Only available for projects on the Blaze plan. Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo. Note that it might take a few minutes for billing enablement state to propagate to Firebase systems.

Constructors

Link copied to clipboard
fun InstanceArgs(databaseId: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, type: Output<InstanceType>? = null)

Functions

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

Properties

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

The globally unique identifier of the database instance.

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

The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val type: Output<InstanceType>? = null

Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.