import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class SourceMysql extends pulumi.CustomResource { /** * Get an existing SourceMysql 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?: SourceMysqlState, opts?: pulumi.CustomResourceOptions): SourceMysql; /** * Returns true if the given object is an instance of SourceMysql. 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 SourceMysql; /** * The cluster to maintain this source. */ readonly clusterName: pulumi.Output; /** * Comment on an object in the database. */ readonly comment: pulumi.Output; /** * The identifier for the source database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ readonly databaseName: pulumi.Output; /** * The name of the progress collection for the source. If this is not specified, the collection will be named `_progress`. */ readonly exposeProgress: pulumi.Output; /** * Ignore specific columns when reading data from MySQL. Can only be updated in place when also updating a corresponding `table` attribute. */ readonly ignoreColumns: pulumi.Output; /** * The MySQL connection to use in the source. */ readonly mysqlConnection: pulumi.Output; /** * The identifier for the source. */ readonly name: pulumi.Output; /** * The owernship role of the object. */ readonly ownershipRole: pulumi.Output; /** * The fully qualified name of the source. */ readonly qualifiedSqlName: pulumi.Output; /** * The region to use for the resource connection. If not set, the default region is used. */ readonly region: pulumi.Output; /** * The identifier for the source schema in Materialize. Defaults to `public`. */ readonly schemaName: pulumi.Output; /** * The size of the cluster maintaining this source. */ readonly size: pulumi.Output; readonly sourceMysqlId: pulumi.Output; /** * Specify the tables to be included in the source. If not specified, all tables are included. */ readonly tables: pulumi.Output; /** * Decode data as text for specific columns that contain MySQL types that are unsupported in Materialize. Can only be updated in place when also updating a corresponding `table` attribute. */ readonly textColumns: pulumi.Output; /** * Create a SourceMysql 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: SourceMysqlArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SourceMysql resources. */ export interface SourceMysqlState { /** * The cluster to maintain this source. */ clusterName?: pulumi.Input; /** * Comment on an object in the database. */ comment?: pulumi.Input; /** * The identifier for the source database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ databaseName?: pulumi.Input; /** * The name of the progress collection for the source. If this is not specified, the collection will be named `_progress`. */ exposeProgress?: pulumi.Input; /** * Ignore specific columns when reading data from MySQL. Can only be updated in place when also updating a corresponding `table` attribute. */ ignoreColumns?: pulumi.Input[]>; /** * The MySQL connection to use in the source. */ mysqlConnection?: pulumi.Input; /** * The identifier for the source. */ name?: pulumi.Input; /** * The owernship role of the object. */ ownershipRole?: pulumi.Input; /** * The fully qualified name of the source. */ qualifiedSqlName?: pulumi.Input; /** * The region to use for the resource connection. If not set, the default region is used. */ region?: pulumi.Input; /** * The identifier for the source schema in Materialize. Defaults to `public`. */ schemaName?: pulumi.Input; /** * The size of the cluster maintaining this source. */ size?: pulumi.Input; sourceMysqlId?: pulumi.Input; /** * Specify the tables to be included in the source. If not specified, all tables are included. */ tables?: pulumi.Input[]>; /** * Decode data as text for specific columns that contain MySQL types that are unsupported in Materialize. Can only be updated in place when also updating a corresponding `table` attribute. */ textColumns?: pulumi.Input[]>; } /** * The set of arguments for constructing a SourceMysql resource. */ export interface SourceMysqlArgs { /** * The cluster to maintain this source. */ clusterName?: pulumi.Input; /** * Comment on an object in the database. */ comment?: pulumi.Input; /** * The identifier for the source database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ databaseName?: pulumi.Input; /** * The name of the progress collection for the source. If this is not specified, the collection will be named `_progress`. */ exposeProgress?: pulumi.Input; /** * Ignore specific columns when reading data from MySQL. Can only be updated in place when also updating a corresponding `table` attribute. */ ignoreColumns?: pulumi.Input[]>; /** * The MySQL connection to use in the source. */ mysqlConnection: pulumi.Input; /** * The identifier for the source. */ name?: pulumi.Input; /** * The owernship role of the object. */ ownershipRole?: pulumi.Input; /** * The region to use for the resource connection. If not set, the default region is used. */ region?: pulumi.Input; /** * The identifier for the source schema in Materialize. Defaults to `public`. */ schemaName?: pulumi.Input; sourceMysqlId?: pulumi.Input; /** * Specify the tables to be included in the source. If not specified, all tables are included. */ tables?: pulumi.Input[]>; /** * Decode data as text for specific columns that contain MySQL types that are unsupported in Materialize. Can only be updated in place when also updating a corresponding `table` attribute. */ textColumns?: pulumi.Input[]>; }