import * as pulumi from "@pulumi/pulumi"; /** * Continuous query resource (INSERT INTO ... SELECT ...) streaming data from source relations into a sink relation. */ export declare class Query extends pulumi.CustomResource { /** * Get an existing Query 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): Query; /** * Returns true if the given object is an instance of Query. 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 Query; readonly createdAt: pulumi.Output; readonly owner: pulumi.Output; /** * System-generated query identifier */ readonly queryId: pulumi.Output; readonly queryName: pulumi.Output; readonly queryVersion: pulumi.Output; readonly sinkRelationFqn: pulumi.Output; readonly sourceRelationFqns: pulumi.Output; readonly sql: pulumi.Output; /** * Lifecycle state of the query (starting|running|terminate_requested|terminated|errored) */ readonly state: pulumi.Output; readonly updatedAt: pulumi.Output; /** * Create a Query 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: QueryArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Query resource. */ export interface QueryArgs { owner?: pulumi.Input; sinkRelationFqn: pulumi.Input; sourceRelationFqns: pulumi.Input[]>; sql: pulumi.Input; } //# sourceMappingURL=query.d.ts.map