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

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.getLake

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

    Retrieves a lake resource.

    Using getLake

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLake(args: GetLakeArgs, opts?: InvokeOptions): Promise<GetLakeResult>
    function getLakeOutput(args: GetLakeOutputArgs, opts?: InvokeOptions): Output<GetLakeResult>
    def get_lake(lake_id: Optional[str] = None,
                 location: Optional[str] = None,
                 project: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetLakeResult
    def get_lake_output(lake_id: Optional[pulumi.Input[str]] = None,
                 location: Optional[pulumi.Input[str]] = None,
                 project: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetLakeResult]
    func LookupLake(ctx *Context, args *LookupLakeArgs, opts ...InvokeOption) (*LookupLakeResult, error)
    func LookupLakeOutput(ctx *Context, args *LookupLakeOutputArgs, opts ...InvokeOption) LookupLakeResultOutput

    > Note: This function is named LookupLake in the Go SDK.

    public static class GetLake 
    {
        public static Task<GetLakeResult> InvokeAsync(GetLakeArgs args, InvokeOptions? opts = null)
        public static Output<GetLakeResult> Invoke(GetLakeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLakeResult> getLake(GetLakeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:dataplex/v1:getLake
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LakeId string
    Location string
    Project string
    LakeId string
    Location string
    Project string
    lakeId String
    location String
    project String
    lakeId string
    location string
    project string
    lakeId String
    location String
    project String

    getLake Result

    The following output properties are available:

    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.
    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.
    Metastore Pulumi.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1LakeMetastoreResponse
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    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.
    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.
    Metastore GoogleCloudDataplexV1LakeMetastoreResponse
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    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.
    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.
    metastore GoogleCloudDataplexV1LakeMetastoreResponse
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    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.
    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.
    metastore GoogleCloudDataplexV1LakeMetastoreResponse
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    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.
    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.
    metastore GoogleCloudDataplexV1LakeMetastoreResponse
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    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.
    description String
    Optional. Description of the lake.
    displayName String
    Optional. User friendly display name.
    labels Map<String>
    Optional. User-defined labels for the lake.
    metastore Property Map
    Optional. Settings to manage lake and Dataproc Metastore service instance association.
    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

    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.

    GoogleCloudDataplexV1LakeMetastoreResponse

    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

    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