import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Get task resource. */ export declare function getTask(args: GetTaskArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetTaskArgs { lakeId: string; location: string; project?: string; taskId: string; } export interface GetTaskResult { /** * The time when the task was created. */ readonly createTime: string; /** * Optional. Description of the task. */ readonly description: string; /** * Optional. User friendly display name. */ readonly displayName: string; /** * Spec related to how a task is executed. */ readonly executionSpec: outputs.dataplex.v1.GoogleCloudDataplexV1TaskExecutionSpecResponse; /** * Status of the latest task executions. */ readonly executionStatus: outputs.dataplex.v1.GoogleCloudDataplexV1TaskExecutionStatusResponse; /** * Optional. User-defined labels for the task. */ readonly labels: { [key: string]: string; }; /** * The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}. */ readonly name: string; /** * Config related to running scheduled Notebooks. */ readonly notebook: outputs.dataplex.v1.GoogleCloudDataplexV1TaskNotebookTaskConfigResponse; /** * Config related to running custom Spark tasks. */ readonly spark: outputs.dataplex.v1.GoogleCloudDataplexV1TaskSparkTaskConfigResponse; /** * Current state of the task. */ readonly state: string; /** * Spec related to how often and when a task should be triggered. */ readonly triggerSpec: outputs.dataplex.v1.GoogleCloudDataplexV1TaskTriggerSpecResponse; /** * System generated globally unique ID for the task. This ID will be different if the task is deleted and re-created with the same name. */ readonly uid: string; /** * The time when the task was last updated. */ readonly updateTime: string; } /** * Get task resource. */ export declare function getTaskOutput(args: GetTaskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetTaskOutputArgs { lakeId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; taskId: pulumi.Input; }