import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The Dataplex Lake resource * * ## Example Usage * * ### Basic_lake * A basic example of a dataplex lake * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const primary = new gcp.dataplex.Lake("primary", { * location: "us-west1", * name: "lake", * description: "Lake for DCL", * displayName: "Lake for DCL", * project: "my-project-name", * labels: { * "my-lake": "exists", * }, * }); * ``` * * ## Import * * Lake can be imported using any of these accepted formats: * * * `projects/{{project}}/locations/{{location}}/lakes/{{name}}` * * * `{{project}}/{{location}}/{{name}}` * * * `{{location}}/{{name}}` * * When using the `pulumi import` command, Lake can be imported using one of the formats above. For example: * * ```sh * $ pulumi import gcp:dataplex/lake:Lake default projects/{{project}}/locations/{{location}}/lakes/{{name}} * ``` * * ```sh * $ pulumi import gcp:dataplex/lake:Lake default {{project}}/{{location}}/{{name}} * ``` * * ```sh * $ pulumi import gcp:dataplex/lake:Lake default {{location}}/{{name}} * ``` */ export declare class Lake extends pulumi.CustomResource { /** * Get an existing Lake 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: LakeState, opts?: pulumi.CustomResourceOptions): Lake; /** * Returns true if the given object is an instance of Lake. 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 Lake; /** * Output only. Aggregated status of the underlying assets of the lake. */ readonly assetStatuses: pulumi.Output; /** * Output only. The time when the lake was created. */ readonly createTime: pulumi.Output; /** * Optional. Description of the lake. */ readonly description: pulumi.Output; /** * Optional. User friendly display name. */ readonly displayName: pulumi.Output; /** * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. */ readonly effectiveLabels: pulumi.Output<{ [key: string]: string; }>; /** * Optional. User-defined labels for the lake. * * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. * Please refer to the field `effectiveLabels` for all of the labels present on the resource. */ readonly labels: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The location for the resource */ readonly location: pulumi.Output; /** * Optional. Settings to manage lake and Dataproc Metastore service instance association. */ readonly metastore: pulumi.Output; /** * Output only. Metastore status of the lake. */ readonly metastoreStatuses: pulumi.Output; /** * The name of the lake. * * * * - - - */ readonly name: pulumi.Output; /** * The project for the resource */ readonly project: pulumi.Output; /** * The combination of labels configured directly on the resource and default labels configured on the provider. */ readonly pulumiLabels: pulumi.Output<{ [key: string]: string; }>; /** * Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake. */ readonly serviceAccount: pulumi.Output; /** * Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED */ readonly state: pulumi.Output; /** * Output only. System generated globally unique ID for the lake. This ID will be different if the lake is deleted and re-created with the same name. */ readonly uid: pulumi.Output; /** * Output only. The time when the lake was last updated. */ readonly updateTime: pulumi.Output; /** * Create a Lake 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: LakeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Lake resources. */ export interface LakeState { /** * Output only. Aggregated status of the underlying assets of the lake. */ assetStatuses?: pulumi.Input[]>; /** * Output only. The time when the lake was created. */ createTime?: pulumi.Input; /** * Optional. Description of the lake. */ description?: pulumi.Input; /** * Optional. User friendly display name. */ displayName?: pulumi.Input; /** * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. */ effectiveLabels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Optional. User-defined labels for the lake. * * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. * Please refer to the field `effectiveLabels` for all of the labels present on the resource. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The location for the resource */ location?: pulumi.Input; /** * Optional. Settings to manage lake and Dataproc Metastore service instance association. */ metastore?: pulumi.Input; /** * Output only. Metastore status of the lake. */ metastoreStatuses?: pulumi.Input[]>; /** * The name of the lake. * * * * - - - */ name?: pulumi.Input; /** * The project for the resource */ project?: pulumi.Input; /** * The combination of labels configured directly on the resource and default labels configured on the provider. */ pulumiLabels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake. */ serviceAccount?: pulumi.Input; /** * Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED */ state?: pulumi.Input; /** * Output only. System generated globally unique ID for the lake. This ID will be different if the lake is deleted and re-created with the same name. */ uid?: pulumi.Input; /** * Output only. The time when the lake was last updated. */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a Lake resource. */ export interface LakeArgs { /** * Optional. Description of the lake. */ description?: pulumi.Input; /** * Optional. User friendly display name. */ displayName?: pulumi.Input; /** * Optional. User-defined labels for the lake. * * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. * Please refer to the field `effectiveLabels` for all of the labels present on the resource. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The location for the resource */ location: pulumi.Input; /** * Optional. Settings to manage lake and Dataproc Metastore service instance association. */ metastore?: pulumi.Input; /** * The name of the lake. * * * * - - - */ name?: pulumi.Input; /** * The project for the resource */ project?: pulumi.Input; }