import * as pulumi from "@pulumi/pulumi"; import * as enums from "../../types/enums"; /** * 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. */ export declare class Instance extends pulumi.CustomResource { /** * Get an existing Instance resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Instance; /** * Returns true if the given object is an instance of Instance. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Instance; /** * The globally unique identifier of the database instance. */ readonly databaseId: pulumi.Output; /** * Output Only. The globally unique hostname of the database. */ readonly databaseUrl: pulumi.Output; readonly location: pulumi.Output; /** * The fully qualified resource name of the database instance, in the form: `projects/{project-number}/locations/{location-id}/instances/{database-id}`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The database's lifecycle state. Read-only. */ readonly state: pulumi.Output; /** * Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted. */ readonly type: pulumi.Output; /** * Create a Instance resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: InstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Instance resource. */ export interface InstanceArgs { /** * The globally unique identifier of the database instance. */ databaseId?: pulumi.Input; location?: pulumi.Input; /** * The fully qualified resource name of the database instance, in the form: `projects/{project-number}/locations/{location-id}/instances/{database-id}`. */ name?: pulumi.Input; project?: pulumi.Input; /** * Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted. */ type?: pulumi.Input; }