import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation. */ export declare class Database extends pulumi.CustomResource { /** * Get an existing Database 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): Database; /** * Returns true if the given object is an instance of Database. 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 Database; /** * The Cloud SQL charset value. */ readonly charset: pulumi.Output; /** * The Cloud SQL collation value. */ readonly collation: pulumi.Output; /** * This field is deprecated and will be removed from a future version of the API. * * @deprecated This field is deprecated and will be removed from a future version of the API. */ readonly etag: pulumi.Output; readonly instance: pulumi.Output; /** * This is always `sql#database`. */ readonly kind: pulumi.Output; /** * The name of the database in the Cloud SQL instance. This does not include the project ID or instance name. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The URI of this resource. */ readonly selfLink: pulumi.Output; readonly sqlserverDatabaseDetails: pulumi.Output; /** * Create a Database 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: DatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Database resource. */ export interface DatabaseArgs { /** * The Cloud SQL charset value. */ charset?: pulumi.Input; /** * The Cloud SQL collation value. */ collation?: pulumi.Input; /** * This field is deprecated and will be removed from a future version of the API. * * @deprecated This field is deprecated and will be removed from a future version of the API. */ etag?: pulumi.Input; /** * The name of the Cloud SQL instance. This does not include the project ID. */ instance: pulumi.Input; /** * This is always `sql#database`. */ kind?: pulumi.Input; /** * The name of the database in the Cloud SQL instance. This does not include the project ID or instance name. */ name?: pulumi.Input; /** * The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. */ project?: pulumi.Input; /** * The URI of this resource. */ selfLink?: pulumi.Input; sqlserverDatabaseDetails?: pulumi.Input; }