import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets a DataScan resource. */ export declare function getDataScan(args: GetDataScanArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDataScanArgs { dataScanId: string; location: string; project?: string; view?: string; } export interface GetDataScanResult { /** * The time when the scan was created. */ readonly createTime: string; /** * The data source for DataScan. */ readonly data: outputs.dataplex.v1.GoogleCloudDataplexV1DataSourceResponse; /** * The result of the data profile scan. */ readonly dataProfileResult: outputs.dataplex.v1.GoogleCloudDataplexV1DataProfileResultResponse; /** * DataProfileScan related setting. */ readonly dataProfileSpec: outputs.dataplex.v1.GoogleCloudDataplexV1DataProfileSpecResponse; /** * The result of the data quality scan. */ readonly dataQualityResult: outputs.dataplex.v1.GoogleCloudDataplexV1DataQualityResultResponse; /** * DataQualityScan related setting. */ readonly dataQualitySpec: outputs.dataplex.v1.GoogleCloudDataplexV1DataQualitySpecResponse; /** * Optional. Description of the scan. Must be between 1-1024 characters. */ readonly description: string; /** * Optional. User friendly display name. Must be between 1-256 characters. */ readonly displayName: string; /** * Optional. DataScan execution settings.If not specified, the fields in it will use their default values. */ readonly executionSpec: outputs.dataplex.v1.GoogleCloudDataplexV1DataScanExecutionSpecResponse; /** * Status of the data scan execution. */ readonly executionStatus: outputs.dataplex.v1.GoogleCloudDataplexV1DataScanExecutionStatusResponse; /** * Optional. User-defined labels for the scan. */ readonly labels: { [key: string]: string; }; /** * 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: string; /** * Current state of the DataScan. */ readonly state: string; /** * The type of DataScan. */ readonly type: string; /** * 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: string; /** * The time when the scan was last updated. */ readonly updateTime: string; } /** * Gets a DataScan resource. */ export declare function getDataScanOutput(args: GetDataScanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetDataScanOutputArgs { dataScanId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; view?: pulumi.Input; }