1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dataplex
  5. dataplex/v1
  6. Lake

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.dataplex/v1.Lake

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a lake resource. Auto-naming is currently not supported for this resource.

    Create Lake Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Lake(name: string, args: LakeArgs, opts?: CustomResourceOptions);
    @overload
    def Lake(resource_name: str,
             args: LakeArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Lake(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             lake_id: Optional[str] = None,
             description: Optional[str] = None,
             display_name: Optional[str] = None,
             labels: Optional[Mapping[str, str]] = None,
             location: Optional[str] = None,
             metastore: Optional[GoogleCloudDataplexV1LakeMetastoreArgs] = None,
             project: Optional[str] = None)
    func NewLake(ctx *Context, name string, args LakeArgs, opts ...ResourceOption) (*Lake, error)
    public Lake(string name, LakeArgs args, CustomResourceOptions? opts = null)
    public Lake(String name, LakeArgs args)
    public Lake(String name, LakeArgs args, CustomResourceOptions options)
    
    type: google-native:dataplex/v1:Lake
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LakeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LakeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LakeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LakeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LakeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var lakeResource = new GoogleNative.Dataplex.V1.Lake("lakeResource", new()
    {
        LakeId = "string",
        Description = "string",
        DisplayName = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        Metastore = new GoogleNative.Dataplex.V1.Inputs.GoogleCloudDataplexV1LakeMetastoreArgs
        {
            Service = "string",
        },
        Project = "string",
    });
    
    example, err := dataplex.NewLake(ctx, "lakeResource", &dataplex.LakeArgs{
    LakeId: pulumi.String("string"),
    Description: pulumi.String("string"),
    DisplayName: pulumi.String("string"),
    Labels: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    Location: pulumi.String("string"),
    Metastore: &dataplex.GoogleCloudDataplexV1LakeMetastoreArgs{
    Service: pulumi.String("string"),
    },
    Project: pulumi.String("string"),
    })
    
    var lakeResource = new Lake("lakeResource", LakeArgs.builder()
        .lakeId("string")
        .description("string")
        .displayName("string")
        .labels(Map.of("string", "string"))
        .location("string")
        .metastore(GoogleCloudDataplexV1LakeMetastoreArgs.builder()
            .service("string")
            .build())
        .project("string")
        .build());
    
    lake_resource = google_native.dataplex.v1.Lake("lakeResource",
        lake_id="string",
        description="string",
        display_name="string",
        labels={
            "string": "string",
        },
        location="string",
        metastore=google_native.dataplex.v1.GoogleCloudDataplexV1LakeMetastoreArgs(
            service="string",
        ),
        project="string")
    
    const lakeResource = new google_native.dataplex.v1.Lake("lakeResource", {
        lakeId: "string",
        description: "string",
        displayName: "string",
        labels: {
            string: "string",
        },
        location: "string",
        metastore: {
            service: "string",
        },
        project: "string",
    });
    
    type: google-native:dataplex/v1:Lake
    properties:
        description: string
        displayName: string
        labels:
            string: string
        lakeId: string
        location: string
        metastore:
            service: string
        project: string
    

    Lake Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Lake resource accepts the following input properties:

    LakeId string
    Required. Lake identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * 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.
    Description string
    Optional. Description of the lake.
    DisplayName string
    Optional. User friendly display name.
    Labels Dictionary<string, string>
    Optional. User-defined labels for the lake.
    Location string
    Metastore Pulumi.GoogleNative.Dataplex.V1.Inputs.GoogleCloudDataplexV1LakeMetastore
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    Project string
    LakeId string
    Required. Lake identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * 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.
    Description string
    Optional. Description of the lake.
    DisplayName string
    Optional. User friendly display name.
    Labels map[string]string
    Optional. User-defined labels for the lake.
    Location string
    Metastore GoogleCloudDataplexV1LakeMetastoreArgs
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    Project string
    lakeId String
    Required. Lake identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * 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.
    description String
    Optional. Description of the lake.
    displayName String
    Optional. User friendly display name.
    labels Map<String,String>
    Optional. User-defined labels for the lake.
    location String
    metastore GoogleCloudDataplexV1LakeMetastore
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    project String
    lakeId string
    Required. Lake identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * 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.
    description string
    Optional. Description of the lake.
    displayName string
    Optional. User friendly display name.
    labels {[key: string]: string}
    Optional. User-defined labels for the lake.
    location string
    metastore GoogleCloudDataplexV1LakeMetastore
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    project string
    lake_id str
    Required. Lake identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * 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.
    description str
    Optional. Description of the lake.
    display_name str
    Optional. User friendly display name.
    labels Mapping[str, str]
    Optional. User-defined labels for the lake.
    location str
    metastore GoogleCloudDataplexV1LakeMetastoreArgs
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    project str
    lakeId String
    Required. Lake identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * 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.
    description String
    Optional. Description of the lake.
    displayName String
    Optional. User friendly display name.
    labels Map<String>
    Optional. User-defined labels for the lake.
    location String
    metastore Property Map
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    project String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Lake resource produces the following output properties:

    AssetStatus Pulumi.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1AssetStatusResponse
    Aggregated status of the underlying assets of the lake.
    CreateTime string
    The time when the lake was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    MetastoreStatus Pulumi.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1LakeMetastoreStatusResponse
    Metastore status of the lake.
    Name string
    The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
    ServiceAccount string
    Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
    State string
    Current state of the lake.
    Uid string
    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.
    UpdateTime string
    The time when the lake was last updated.
    AssetStatus GoogleCloudDataplexV1AssetStatusResponse
    Aggregated status of the underlying assets of the lake.
    CreateTime string
    The time when the lake was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    MetastoreStatus GoogleCloudDataplexV1LakeMetastoreStatusResponse
    Metastore status of the lake.
    Name string
    The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
    ServiceAccount string
    Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
    State string
    Current state of the lake.
    Uid string
    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.
    UpdateTime string
    The time when the lake was last updated.
    assetStatus GoogleCloudDataplexV1AssetStatusResponse
    Aggregated status of the underlying assets of the lake.
    createTime String
    The time when the lake was created.
    id String
    The provider-assigned unique ID for this managed resource.
    metastoreStatus GoogleCloudDataplexV1LakeMetastoreStatusResponse
    Metastore status of the lake.
    name String
    The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
    serviceAccount String
    Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
    state String
    Current state of the lake.
    uid String
    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.
    updateTime String
    The time when the lake was last updated.
    assetStatus GoogleCloudDataplexV1AssetStatusResponse
    Aggregated status of the underlying assets of the lake.
    createTime string
    The time when the lake was created.
    id string
    The provider-assigned unique ID for this managed resource.
    metastoreStatus GoogleCloudDataplexV1LakeMetastoreStatusResponse
    Metastore status of the lake.
    name string
    The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
    serviceAccount string
    Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
    state string
    Current state of the lake.
    uid string
    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.
    updateTime string
    The time when the lake was last updated.
    asset_status GoogleCloudDataplexV1AssetStatusResponse
    Aggregated status of the underlying assets of the lake.
    create_time str
    The time when the lake was created.
    id str
    The provider-assigned unique ID for this managed resource.
    metastore_status GoogleCloudDataplexV1LakeMetastoreStatusResponse
    Metastore status of the lake.
    name str
    The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
    service_account str
    Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
    state str
    Current state of the lake.
    uid str
    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.
    update_time str
    The time when the lake was last updated.
    assetStatus Property Map
    Aggregated status of the underlying assets of the lake.
    createTime String
    The time when the lake was created.
    id String
    The provider-assigned unique ID for this managed resource.
    metastoreStatus Property Map
    Metastore status of the lake.
    name String
    The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
    serviceAccount String
    Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
    state String
    Current state of the lake.
    uid String
    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.
    updateTime String
    The time when the lake was last updated.

    Supporting Types

    GoogleCloudDataplexV1AssetStatusResponse, GoogleCloudDataplexV1AssetStatusResponseArgs

    ActiveAssets int
    Number of active assets.
    SecurityPolicyApplyingAssets int
    Number of assets that are in process of updating the security policy on attached resources.
    UpdateTime string
    Last update time of the status.
    ActiveAssets int
    Number of active assets.
    SecurityPolicyApplyingAssets int
    Number of assets that are in process of updating the security policy on attached resources.
    UpdateTime string
    Last update time of the status.
    activeAssets Integer
    Number of active assets.
    securityPolicyApplyingAssets Integer
    Number of assets that are in process of updating the security policy on attached resources.
    updateTime String
    Last update time of the status.
    activeAssets number
    Number of active assets.
    securityPolicyApplyingAssets number
    Number of assets that are in process of updating the security policy on attached resources.
    updateTime string
    Last update time of the status.
    active_assets int
    Number of active assets.
    security_policy_applying_assets int
    Number of assets that are in process of updating the security policy on attached resources.
    update_time str
    Last update time of the status.
    activeAssets Number
    Number of active assets.
    securityPolicyApplyingAssets Number
    Number of assets that are in process of updating the security policy on attached resources.
    updateTime String
    Last update time of the status.

    GoogleCloudDataplexV1LakeMetastore, GoogleCloudDataplexV1LakeMetastoreArgs

    Service string
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
    Service string
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
    service String
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
    service string
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
    service str
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
    service String
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}

    GoogleCloudDataplexV1LakeMetastoreResponse, GoogleCloudDataplexV1LakeMetastoreResponseArgs

    Service string
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
    Service string
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
    service String
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
    service string
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
    service str
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}
    service String
    Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id}

    GoogleCloudDataplexV1LakeMetastoreStatusResponse, GoogleCloudDataplexV1LakeMetastoreStatusResponseArgs

    Endpoint string
    The URI of the endpoint used to access the Metastore service.
    Message string
    Additional information about the current status.
    State string
    Current state of association.
    UpdateTime string
    Last update time of the metastore status of the lake.
    Endpoint string
    The URI of the endpoint used to access the Metastore service.
    Message string
    Additional information about the current status.
    State string
    Current state of association.
    UpdateTime string
    Last update time of the metastore status of the lake.
    endpoint String
    The URI of the endpoint used to access the Metastore service.
    message String
    Additional information about the current status.
    state String
    Current state of association.
    updateTime String
    Last update time of the metastore status of the lake.
    endpoint string
    The URI of the endpoint used to access the Metastore service.
    message string
    Additional information about the current status.
    state string
    Current state of association.
    updateTime string
    Last update time of the metastore status of the lake.
    endpoint str
    The URI of the endpoint used to access the Metastore service.
    message str
    Additional information about the current status.
    state str
    Current state of association.
    update_time str
    Last update time of the metastore status of the lake.
    endpoint String
    The URI of the endpoint used to access the Metastore service.
    message String
    Additional information about the current status.
    state String
    Current state of association.
    updateTime String
    Last update time of the metastore status of the lake.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi