import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a DataScan resource. * Auto-naming is currently not supported for this resource. */ export declare class DataScan extends pulumi.CustomResource { /** * Get an existing DataScan 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): DataScan; /** * Returns true if the given object is an instance of DataScan. 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 DataScan; /** * The time when the scan was created. */ readonly createTime: pulumi.Output; /** * The data source for DataScan. */ readonly data: pulumi.Output; /** * The result of the data profile scan. */ readonly dataProfileResult: pulumi.Output; /** * DataProfileScan related setting. */ readonly dataProfileSpec: pulumi.Output; /** * The result of the data quality scan. */ readonly dataQualityResult: pulumi.Output; /** * DataQualityScan related setting. */ readonly dataQualitySpec: pulumi.Output; /** * Required. DataScan identifier. Must contain only lowercase letters, numbers and hyphens. Must start with a letter. Must end with a number or a letter. Must be between 1-63 characters. Must be unique within the customer project / location. */ readonly dataScanId: pulumi.Output; /** * Optional. Description of the scan. Must be between 1-1024 characters. */ readonly description: pulumi.Output; /** * Optional. User friendly display name. Must be between 1-256 characters. */ readonly displayName: pulumi.Output; /** * Optional. DataScan execution settings.If not specified, the fields in it will use their default values. */ readonly executionSpec: pulumi.Output; /** * Status of the data scan execution. */ readonly executionStatus: pulumi.Output; /** * Optional. User-defined labels for the scan. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Current state of the DataScan. */ readonly state: pulumi.Output; /** * The type of DataScan. */ readonly type: pulumi.Output; /** * System generated globally unique ID for the scan. This ID will be different if the scan is deleted and re-created with the same name. */ readonly uid: pulumi.Output; /** * The time when the scan was last updated. */ readonly updateTime: pulumi.Output; /** * Create a DataScan 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: DataScanArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DataScan resource. */ export interface DataScanArgs { /** * The data source for DataScan. */ data: pulumi.Input; /** * DataProfileScan related setting. */ dataProfileSpec?: pulumi.Input; /** * DataQualityScan related setting. */ dataQualitySpec?: pulumi.Input; /** * Required. DataScan identifier. Must contain only lowercase letters, numbers and hyphens. Must start with a letter. Must end with a number or a letter. Must be between 1-63 characters. Must be unique within the customer project / location. */ dataScanId: pulumi.Input; /** * Optional. Description of the scan. Must be between 1-1024 characters. */ description?: pulumi.Input; /** * Optional. User friendly display name. Must be between 1-256 characters. */ displayName?: pulumi.Input; /** * Optional. DataScan execution settings.If not specified, the fields in it will use their default values. */ executionSpec?: pulumi.Input; /** * Optional. User-defined labels for the scan. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; project?: pulumi.Input; }