import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new conversion workspace in a given project and location. */ export declare class ConversionWorkspace extends pulumi.CustomResource { /** * Get an existing ConversionWorkspace 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): ConversionWorkspace; /** * Returns true if the given object is an instance of ConversionWorkspace. 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 ConversionWorkspace; /** * Required. The ID of the conversion workspace to create. */ readonly conversionWorkspaceId: pulumi.Output; /** * The timestamp when the workspace resource was created. */ readonly createTime: pulumi.Output; /** * The destination engine details. */ readonly destination: pulumi.Output; /** * Optional. The display name for the workspace. */ readonly displayName: pulumi.Output; /** * Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true */ readonly globalSettings: pulumi.Output<{ [key: string]: string; }>; /** * Whether the workspace has uncommitted changes (changes which were made after the workspace was committed). */ readonly hasUncommittedChanges: pulumi.Output; /** * The latest commit ID. */ readonly latestCommitId: pulumi.Output; /** * The timestamp when the workspace was committed. */ readonly latestCommitTime: pulumi.Output; readonly location: pulumi.Output; /** * Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */ readonly requestId: pulumi.Output; /** * The source engine details. */ readonly source: pulumi.Output; /** * The timestamp when the workspace resource was last updated. */ readonly updateTime: pulumi.Output; /** * Create a ConversionWorkspace 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: ConversionWorkspaceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ConversionWorkspace resource. */ export interface ConversionWorkspaceArgs { /** * Required. The ID of the conversion workspace to create. */ conversionWorkspaceId: pulumi.Input; /** * The destination engine details. */ destination: pulumi.Input; /** * Optional. The display name for the workspace. */ displayName?: pulumi.Input; /** * Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true */ globalSettings?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */ name?: pulumi.Input; project?: pulumi.Input; /** * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */ requestId?: pulumi.Input; /** * The source engine details. */ source: pulumi.Input; }