import * as pulumi from "@pulumi/pulumi"; /** * Provides a Vultr database connector resource. This can be used to create, read, modify, and delete connectors for a managed database on your Vultr account. Note: The managed database must be configured with `enableKafkaConnect = true`. * * ## Example Usage * * Create a new database connector: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vultr from "@ediri/vultr"; * * const myDatabaseConnector = new vultr.DatabaseConnector("myDatabaseConnector", { * databaseId: vultr_database.my_database.id, * name: "my_database_connector", * "class": "com.couchbase.connect.kafka.CouchbaseSinkConnector", * topics: "my_database_topic", * config: JSON.stringify({ * "couchbase.seed.nodes": "3", * "couchbase.username": "some_username", * "couchbase.password": "some_password", * }), * }); * ``` */ export declare class DatabaseConnector extends pulumi.CustomResource { /** * Get an existing DatabaseConnector 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DatabaseConnectorState, opts?: pulumi.CustomResourceOptions): DatabaseConnector; /** * Returns true if the given object is an instance of DatabaseConnector. 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 DatabaseConnector; /** * The class for the new managed database connector. */ readonly class: pulumi.Output; /** * A JSON string containing the configuration properties you wish to use with the new managed database connector. */ readonly config: pulumi.Output; /** * The managed database ID you want to attach this connector to. */ readonly databaseId: pulumi.Output; /** * The name for the new managed database connector. */ readonly name: pulumi.Output; /** * A comma-separated list of topics to use with the new managed database connector. */ readonly topics: pulumi.Output; /** * Create a DatabaseConnector 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: DatabaseConnectorArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DatabaseConnector resources. */ export interface DatabaseConnectorState { /** * The class for the new managed database connector. */ class?: pulumi.Input; /** * A JSON string containing the configuration properties you wish to use with the new managed database connector. */ config?: pulumi.Input; /** * The managed database ID you want to attach this connector to. */ databaseId?: pulumi.Input; /** * The name for the new managed database connector. */ name?: pulumi.Input; /** * A comma-separated list of topics to use with the new managed database connector. */ topics?: pulumi.Input; } /** * The set of arguments for constructing a DatabaseConnector resource. */ export interface DatabaseConnectorArgs { /** * The class for the new managed database connector. */ class: pulumi.Input; /** * A JSON string containing the configuration properties you wish to use with the new managed database connector. */ config?: pulumi.Input; /** * The managed database ID you want to attach this connector to. */ databaseId: pulumi.Input; /** * The name for the new managed database connector. */ name: pulumi.Input; /** * A comma-separated list of topics to use with the new managed database connector. */ topics: pulumi.Input; }